毕业设计论文
论文题目:基于51单片机汽车红外遥控门锁防盗报警器设计
作者姓名
学院名称
专业名称电气自动化技术
指导教师
合作导师
摘要
系统采用了红外传感器,它的制作简单、成本低,安装比较方便,而且防盗性能比较稳定,抗干扰能力强、灵敏度高、安全可靠。这种防盗器安装隐蔽,不易被盗贼发现。同时它的信号经过单片机系统处理后方便和PC机通信,便于多用户统一管理。
本设计主要包括硬件和软件设计两个部分。硬件部分包括单片机控制电路、红外主从机电路、驱动执行报警电路、LED控制电路等部分组成。处理器采用51系列单片机STC89C52。整个系统是在系统软件控制下工作的。软件部分可以划分为以下几个模块:数据采集、键盘控制、报警等子函数。
关键字:单片机;红外;主从及;电源设计
Abstract: Science and technology create people's life, science and technology lead people's lives, science and technology to enrich people's lives. Since the reform and
opening up, our side of the speed of technological development can be said to be dazzled by leaps and bounds, too busy to attend to all. With the development of science and technology, there is a great
development of economy. In this thesis, we will design a very suitable for automobile anti-theft alarm system, we design the study to determine the use of pyroelectric infrared detectors, because of its relatively price is very good, anti-theft alarm effect, can be said to be high quality and inexpensive. Currently on the market mainly pressure triggered anti-theft alarm, electronic anti-theft alarm switch and pressure shading triggered burglar alarm and alarm, but this several common alarm have some shortcomings. The pyroelectric infrared sensor is used in this system, which is easy to produce, low cost, convenient installation, stable performance, strong anti-interference ability, high sensitivity, safety and reliability. This anti-theft device installation hidden, not easy to be found. At the same time its signal through the single-chip microcomputer system to facilitate the processing and PC communication, to facilitate the unified management of multi user.
This design mainly includes two parts of hardware and software design. The hardware part includes single chip microcomputer control circuit, infrared master / slave circuit, driving circuit, LED control circuit and so on. The processor uses 51 series single chip microcomputer STC89C52. The whole system is under the control of the system software. The software can be divided into the following modules: data acquisition, keyboard control, alarm and other functions.
Key words: single chip microcomputer; infrared; master slave; power supply design
目录
摘要 (2)
1 绪论 (4)
1.1课题研究背景 (5)
1.2 汽车防盗报警器的发展趋势 (6)
1.3本文主要研究内容 (7)
2 系统方案论证 (8)
2.1 控制芯片的选择方案 (8)
2.1.1 STC89C52RC (8)
2.1.2 AVR单片机 (8)
2.1.3 FPGA (9)
2.2 主控制芯片的确定 (10)
3 系统硬件设计 (11)
3.1 系统设计要求 (11)
3.2 系统模块设计 (11)
3.2.1中央控制模块 (11)
3.2.2复位电路 (15)
3.2.3时钟电路 (15)
3.3 红外模块 (16)
3.4 系统原理图 (17)
4软件设计 (18)
4.1  Keil C51 (18)
4.2  Protel99SE (18)
4.3系统源程序设计 (19)
5 焊接与系统调试 (20)
5.1 电路焊接 (20)
5.2 系统调试 (21)
总结 (21)
参考文献 (23)
1 绪论
1.1课题研究背景
一.汽车防盗器的定义和种类
1.机械式防盗器。早期的汽车防盗器材主要是机械式的防盗锁。机械锁发展至今经过了数次技术升级,
钩锁、转向盘锁和变速档锁等基本属于机械式防盗器,它主要是通过锁定离合、制动、油门或转向盘、变速档来达到防盗的目的,只防盗不报警。其优点是价格便宜,只需几十元至几百元,且安装简便,可以在一定程度上吓阻盗车贼,或增加盗贼被发现的可能性。缺点是防盗不彻底,每次拆装比较麻烦,不用时还得地方放置。
2.机电式防盗装置。随着科学的进步,出现了机电一体的防盗装置中央门锁)。中央门锁是以电来控制门锁的开启或锁止,并由驾驶员集中控制所有车门门锁的锁止或开启。中央门锁系统具有下列功能:当锁住(或打开)驾驶员侧车门门锁时,其它几个车门及行李厢都能锁止(或打开);如钥匙锁门也可锁好(或打开)其它车门和行李厢;在车内个别门锁需要打开时,可分别拉开各自门锁的按钮。
3.电子式防盗器。为了克服机械锁只防盗不报警的缺点,电子报警防盗器应运而生。汽车电子防盗系统是在原有中央门锁的基础上加设了防盗系统的控制电路,以控制汽车移动的同时并报警。电子防盗是目前较为理想的防盗装置。如果有行窃者盗窃汽车或汽车上的物品,防盗系统不仅具有切断起动电路、点火电路、喷油电路、供油电路和变速电路、将制动锁死等功能,同时,还会发出不同的求救的声光信号进行报警,给窃贼予以精神上的震慑,以阻止窃贼实施行窃。插片式、按键式和遥控式等都属于电子式防盗器。遥控式汽车防盗器的特点是可遥控防盗器的全部功能,可靠方便,可带有振动侦测门控保护及微波或红外探头等控中控门锁、遥控送放冷暖风、遥控电动门窗及遥控开行李舱等。现在市场上已有双向功能的电子防盗器,这种防盗器不仅能由车主遥控车辆,还能将自身状态传送给车主,例如车门被开
汽车防盗系统启或车窗玻璃被破坏等。但是电子防盗器普遍存在误报警现象,而且也没有根本上解决车辆丢失问题。
4.GPS卫星定位汽车防盗系统。GPS卫星定位汽车防盗系统(或其他网络系统)可以将报警信息和报警车辆所在位置无声地传送到报警中心,具有车辆定位、遥控熄火、网络查询及跟踪、车内监听、路况信息查询、人工导航等多种功能,