基于单片机的车载防撞预警器设计与实现.doc

   
约46页DOC格式手机打开展开

基于单片机的车载防撞预警器设计与实现,1.8万字我自己的毕业论文,原创的,已经通过校内系统检测,仅在本站独家出售,重复率低,大家放心下载使用摘要: 本设计用来实现一种车载防撞预警系统。该系统采用单片机相关技术,实时显示车外温度值,同时显示汽车与障碍物的距离,并且根据这个距离的远近对司机实时地发出语音提醒或报警,解除因后视...
编号:150-423045大小:1.18M
分类: 论文>通信/电子论文

内容介绍

此文档由会员 淘宝大梦 发布

基于单片机的车载防撞预警器设计与实现

1.8万字
我自己的毕业论文,原创的,已经通过校内系统检测,仅在本站独家出售,重复率低,大家放心下载使用

摘要: 本设计用来实现一种车载防撞预警系统。该系统采用单片机相关技术,实时显示车外温度值,同时显示汽车与障碍物的距离,并且根据这个距离的远近对司机实时地发出语音提醒或报警,解除因后视镜的盲区或夜晚行车给司机带来的不便,提高车辆驾驶安全性。
本系统包含硬件系统和软件系统。硬件系统以STC89C52单片机为核心,其I/O端口分别与超声波模块、温度补偿模块、LCD液晶显示模块、语音播报模块相连接,完成了对温度、距离测量和语音报警的功能。软件方面,单片机通过发送脉冲控制超声波的发射,并计算回波与发射时的时间间隔来计算距离,然后由LCD12864显示该距离,并判断这个距离的大小,以决定是否发送命令给语音芯片使其产生报警功能。
本文对每个模块的硬件和软件进行了详细介绍,对于硬件电路介绍了其工作的原理,进行了电路图分析;对于软件程序每个模块的画出了流程图,并介绍部分代码语句,程序设计思想。
关键词: 单片机 防撞 LCD12864

Design and Implementation of Vehicle Collision Warning System
Based on Single-Chip Microcomputer
Abstract: This design is used to achieve a vehicle collision avoidance warning system. The system with single chip computer related technology, real-time display temperature outside the car, shows the distance between vehicles and obstacles. Depending on the length of this, near-real-time voice reminder or alarm are issued to the driver, lifted as a result of the rear-view mirror blind spot or night driving inconvenience to drivers, to improve driving safety.
This system includes hardware and software systems. Hardware system with stc89c52 single ship at the core, the I/O ports and ultrasonic module separately, temperature compensation, LCD liquid crystal display modules connected, voice broadcast module, completed a function of temperature, distance measurement and voice alarm system. The software side, controlled by single chip computer by sending a pulse ultrasonic emission, and calculation of echo and transmit time interval to calculate the distance, the distance is then displayed by the LCD12864, and to investigate the length of this size, to decide whether to send commands to the voice chip that the alarm function.
This article details the hardware and software for each module, for hardware circuit described their working principle, circuit diagram is carried out; for software programs that draw a flowchart for each module, and describes part of the code statement, programming ideas.
Key words: single chip microcomputer anti-collision LCD12864

目 录
第一章 绪论 1
1.1 课题背景 1
1.2 汽车防撞系统的原理 1
1.3 世界其他国家防撞预警系统的最新研究成果 2
1.4 我国汽车防撞预警系统的研究现状与存在问题 3
1.5 我国智能防撞预警系统的发展前景 3
1.6 本题的现实意义 4
1.7 论文思路 4
第二章 总体方案设计与实现 5
2.1 设计思路 5
2.2 系统结构图 5
2.3 系统应用原理 5
2.3.1 超声波测距原理 5
2.3.2 温度补偿原理 6
2.3.3 报警电路原理 7
2.3.4 测温电路原理 7
2.4 元器件芯片介绍 7
2.4.1 单片机芯片选择 7
2.4.2 显示模块芯片选择 9
2.4.3 温度补偿模块芯片选择 9
2.4.4 报警电路芯片选择 10
2.4.5 超声波模块芯片选择 11
2.5 可靠性设计 13
第三章 系统硬件电路设计 14
3.1 单片机控制单元 14
3.1.1 复位电路 14
3.1.2 晶振电路 15
3.1.3 电源电路 15
3.2 LCD显示电路 15
3.3 温度补偿模块 16
3.4 报警电路 17
3.5 超声波发射和接受电路 18
3.5.1 超声波发射电路 18
3.5.2 超声波接收电路 18
第四章 系统软件设计 20
4.1 开发工具及软件的使用 20
4.1.1 Altium Designer 20
4.1.2 Keil Vision4和STC-ISP 20
4.2 程序设计与流程图 21
4.2.1 主程序 21
4.2.2 超声波测距程序设计 21
4.2.3 报警模块 23
4.2.4 温度补偿模块程序设计 28
4.2.5 LCD显示模块程序设计 30
第五章 系统实验与误差分析 35
5.1 实验结果 35
5.2 误差分析及改进 35
5.2.1 误差分析 35
5.2.2 误差改进 36
第六章 总结 37
6.1 总结 37
6.2 改进 37
致谢 38
参考文献 39