摘要随着汽车数量的不断增多,车辆被盗的数量也逐年上升,担心车辆被盗,成为每一位汽车用户关心的问题。
因此,研制出高性能的汽车防盗报警系统具有重要的应用价值。
目前,滚动码加密技术和无线遥控技术已经有了长足的发展,将该技术融入汽车防盗系统,是汽车防盗系统新的发展方向之一。
本课题设计一种可以远程遥控汽车车门的开关。
这种设计通过钥匙上发出的信号,来控制车门锁上的电动机,车门就可以打开或者关闭。
要实现该功能,采用了HCS301滚动码编码器作为钥匙发射模块核心,且配对解码芯片TDH6301,从而设计了一种可靠性和安全性较高的汽车车门控制电路系统。
在车载电路中采用了MC9S128单片机作为主控制模块,连接驱动电路的电动机工作,电动机的正反转对应车门的开关。
关键词:HCS301编码芯片;TDH6301 解码芯片;MC9S128单片机AbstractWith the improvement of people's living standard, cars have increasingly become a part of the common people's lives. The number of cars increased, the number of vehicle thefts increased year by year. Fearing theft of vehicles has become a concern for every vehicle owner. Therefore, study on high-performance automotive anti-theft alarm system has an important application value. At present, the rolling code encryption technology and wireless remote control technology are already very mature. Those technologies have been introduced into car anti-theft system. It is a new development direction.This topic design a car that can remote control the switch. This design on the key signals to control vehicles door motor, the doors can be opened or closed. HCS301 encoding chip rolling was adopted to achieve the function as the core module, key code encoder and matching TDH6301 decoding chip, so as to design a high reliability and safety of the car door control circuit system. In automotive circuit adoptedMC9S128 single-chip microcomputer as the main control module, connection work power circuit of the motor, motor and reversing switch for the door.Key words: HCS301 encoding chip;TDH6301 decoding chip;MC9S128 single-chip目录引言............................................................................................................................ - 1 - 第1章绪论 ............................................................................................................................. - 2 -1.1 课题背景和意义 ................................................................................................... - 3 -1.2 国内外发展现状 ................................................................................................... - 4 -1.3 发展现状分析........................................................................................................ - 6 -1.4课题研究的意义....................................................................................................... - 7 - 第2章钥匙模块系统 ........................................................................................................... - 8 -2.1 汽车遥控门锁控制系统的总体结构 ................................................................. - 8 -2.2 钥匙模块 ................................................................................................................... - 9 -2.21 遥控发射器、接收器原理图..................................................................... - 9 -2.3 方案选择 ................................................................................................................. - 10 -2.3. 1 滚动码技术实现的选择 ....................................................................... - 10 -2.3.2 滚动码芯片的选择................................................................................... - 10 -2.3.3驱动电路的方案选择 ............................................................................... - 10 -2.3.4 KEEKOQ滚动加密技术........................................................................... - 10 -3.1 编码芯片HCS301 .................................................................................................. - 11 -3.1.1 HCS301的管脚及其功能 ........................................................................ - 11 -3.1.2 HCS301编码原理...................................................................................... - 12 -3.1.3 HCS301的编码过程 ................................................................................. - 13 -3.1.4 片内EEPR0M ............................................................................................... - 13 -3.1.5 HCS301发码格式...................................................................................... - 13 -3.2 滚动码解码芯片TDH6301................................................................................... - 15 -3.2.1 TDH6301跳码译码器的管脚及其功能 ............................................... - 15 -3.2.2 解码原理..................................................................................................... - 16 -3.2.3 同步值识别 ................................................................................................ - 17 -3.3 车载电路单片机MC9S12XS128介绍 ............................................................... - 18 -3.4 无线收发芯片NRF905的管脚及其功能.......................................................... - 20 -3.4.1 NRF905的引脚排列 ................................................................................. - 20 - 第4章电路的设计.............................................................................................................. - 23 -4.1 无线发射系统电路设计...................................................................................... - 23 -4.2 信号接受系统电路设计...................................................................................... - 23 -4.3 驱动电路系统设计 ............................................................................................... - 24 -4.4 接受系统设计 ........................................................................................................ - 26 - 第5章控制系统软件设计................................................................................................ - 27 -5.1 概述 .......................................................................................................................... - 27 -5.2 钥匙模块控制程序设计...................................................................................... - 27 -5.3 车载模块电动机控制设计 ................................................................................. - 28 -5.4 Codewarrior软件的应用概述 ......................................................................... - 28 - 第六章系统的性能析 ......................................................................................................... - 30 -6.1系统调试方法 ......................................................................................................... - 30 -6.1.1发射电路的调试 ........................................................................................ - 30 -6.1.2接收电路的调试 ........................................................................................ - 30 -6.1.3驱动电路的调试 ........................................................................................ - 30 -6.2 系统可靠性测试.................................................................................................... - 30 -6.3 系统的授权控制测试 .......................................................................................... - 30 -6.4 常见故障及排除方法 .......................................................................................... - 31 - 结论与展望.............................................................................................................................. - 34 - 参考文献 .................................................................................................................................. - 37 - 附录一:电路图 .................................................................................................................... - 38 - 图4-4 ................................................................................................................................ - 38 - 图3-10.............................................................................................................................. - 38 - 图4-1 ................................................................................................................................ - 39 - 图4-2 ................................................................................................................................ - 39 - 图4-3 ................................................................................................................................ - 40 - 附录二图................................................................................................................................ - 41 - 图2-1 ................................................................................................................................ - 41 - 图2-2 ................................................................................................................................ - 41 - 图2-3 ................................................................................................................................ - 41 - 图3-2 ................................................................................................................................ - 42 - 图3-3 ................................................................................................................................ - 42 - 图3-4 ................................................................................................................................ - 42 - 图3-6 ................................................................................................................................ - 42 - 图3-7 ................................................................................................................................ - 43 - 附录三表格 ........................................................................................................................... - 44 - 表3-1 ................................................................................................................................ - 44 - 表3-2 ................................................................................................................................ - 44 - 附录四流程图....................................................................................................................... - 45 - 图5-2 ................................................................................................................................ - 45 - 附录五引用的外文文献及论文....................................................................................... - 46 -引言现阶段,应用最广泛的是电子式防盗锁。