基于超声波的车辆倒车测距与报警装置设计.doc
约43页DOC格式手机打开展开
基于超声波的车辆倒车测距与报警装置设计,包括电路图,程序代码及proteus仿真我自己原创的毕业设计,今年最新的,仅在本站独家提交,大家放心使用摘要随着我国经济的发展和路上交通的日渐便利,汽车的数量在大幅攀升。越来越多的人拥有了自己的汽车,但在泊车和起动车辆时前后左右探视,以及视野死角和视线模糊等种种问题给驾驶员很多烦恼...
内容介绍
此文档由会员 jiji888 发布
基于超声波的车辆倒车测距与报警装置设计
包括电路图,程序代码及proteus仿真
我自己原创的毕业设计,今年最新的,仅在本站独家提交,大家放心使用
摘要
随着我国经济的发展和路上交通的日渐便利,汽车的数量在大幅攀升。越来越多的人拥有了自己的汽车,但在泊车和起动车辆时前后左右探视,以及视野死角和视线模糊等种种问题给驾驶员很多烦恼。针对这种情况,有必要设计一种较为经济的汽车防撞预警系统。因此,有助于司机泊车和倒车的超声波报警器应运而生。
本设计是一种基于AT89S51单片机的脉冲反射超声波测距和报警系统。主要是运用了AT89S51单片机芯片作为核心,利用超声波性能、特点和优势,将超声波测距和AT89S51单片机融合为一体。整个电路采用模块化设计,由超声波发射和接收模块、AT89S51单片机处理模块、距离显示模块、近距离报警模块组成。软件部分主要是由主程序、超声波发射接收、距离计算及显示子程序等部分组成。本设计由AT89S51单片机控制时间计数,计算声波自发射至接收的往返时间,用超声波在空气中的传输速度,从而计算得到实测距离。本设计制作的倒车雷达要求通过数码管显示汽车与障碍物之间的距离,测量距离要小于6M,当距离小于50cm时有报警信号。经过Proteus仿真测试,本设计基本能达到要求。
关键词: AT89S51 超声波 测距 报警 汽车倒车
Ultrasonic Ranging and vehicle reversing alarms based design
Abstract
As China's economic development and the growing road transport facilitation, a sharp rise in the number of cars. More and more people have their own car, but after starting the vehicle when parking and about to visit, as well as dead and blurred vision and other problems to the driver a lot of trouble. In view of this situation, it is necessary to design a more economical vehicle collision avoidance warning system. Therefore, to help drivers parking and reversing ultrasonic alarm came into being.
The design is based on AT89S51 ultrasonic pulse echo ranging and alarm system. Mainly the use of the AT89S51 single chip as the core, the use of ultrasound performance, features and advantages of the ultrasonic ranging and AT89S51 microcontroller together as one. The entire circuit is modular in design, the ultrasonic transmitter and receiver modules, AT89S51 single-chip processing module from the display module, close the alarm module. Software part is dominated by the main program, transmitting and receiving ultrasonic distance calculation and display routines and other components. Designed by the time counting AT89S51 microcontroller calculates the acoustic round trip time from the transmitter to the receiver, with the ultrasonic wave transmission speed in the air, to calculate the measured distance. The design of the car reversing radar required to display the distance between the obstacle via digital tube, measuring the distance is less than 6M, an alarm signal when the distance is less than 50cm. After Proteus simulation testing, the design can basically meet the requirements.
Key words: AT89S51 Ultrasonic-wave Ranging Alarm Car parking
目录
第1章 绪论 3
1.1 设计背景 3
1.2 研发现状 3
第2章 方案设计 3
2.1 方案比较 3
2.2 方案选择及设计目标 3
2.2.1 超声波测距原理 3
2.2.2 设计目标 3
第3章 硬件设计 3
3.1 总体电路设计 3
3.2 单片机及其外围电路 3
3.2.1 AT89S51单片机 3
3.2.2 AT89S51外围电路 3
3.3 超声波发送、接收模块 3
3.3.1 超声波探头的中心频率及主要参数 3
3.3.2 超声波发送模块 3
3.3.3 超声波接受模块 3
3.5 测距LED显示模块 3
3.6 报警模块 3
3.7 电源电路 3
第四章 系统软件设计 3
4.1 系统譆@绦蛏杓� 3
4.2 超声波测距子程序 3
4.2.1 距离计算子程序: 3
4.2.2 产生超声波的子程序: 3
第五章 模拟仿真 3
结论 3
致谢 3
参考文献: 3
附录一 基于AT89S51单片机超声波测距系统电原理图 3
附录二 基于AT89S51单片机超声波测距系统C语言原程序 3
附录三 proteus仿真 3
包括电路图,程序代码及proteus仿真
我自己原创的毕业设计,今年最新的,仅在本站独家提交,大家放心使用
摘要
随着我国经济的发展和路上交通的日渐便利,汽车的数量在大幅攀升。越来越多的人拥有了自己的汽车,但在泊车和起动车辆时前后左右探视,以及视野死角和视线模糊等种种问题给驾驶员很多烦恼。针对这种情况,有必要设计一种较为经济的汽车防撞预警系统。因此,有助于司机泊车和倒车的超声波报警器应运而生。
本设计是一种基于AT89S51单片机的脉冲反射超声波测距和报警系统。主要是运用了AT89S51单片机芯片作为核心,利用超声波性能、特点和优势,将超声波测距和AT89S51单片机融合为一体。整个电路采用模块化设计,由超声波发射和接收模块、AT89S51单片机处理模块、距离显示模块、近距离报警模块组成。软件部分主要是由主程序、超声波发射接收、距离计算及显示子程序等部分组成。本设计由AT89S51单片机控制时间计数,计算声波自发射至接收的往返时间,用超声波在空气中的传输速度,从而计算得到实测距离。本设计制作的倒车雷达要求通过数码管显示汽车与障碍物之间的距离,测量距离要小于6M,当距离小于50cm时有报警信号。经过Proteus仿真测试,本设计基本能达到要求。
关键词: AT89S51 超声波 测距 报警 汽车倒车
Ultrasonic Ranging and vehicle reversing alarms based design
Abstract
As China's economic development and the growing road transport facilitation, a sharp rise in the number of cars. More and more people have their own car, but after starting the vehicle when parking and about to visit, as well as dead and blurred vision and other problems to the driver a lot of trouble. In view of this situation, it is necessary to design a more economical vehicle collision avoidance warning system. Therefore, to help drivers parking and reversing ultrasonic alarm came into being.
The design is based on AT89S51 ultrasonic pulse echo ranging and alarm system. Mainly the use of the AT89S51 single chip as the core, the use of ultrasound performance, features and advantages of the ultrasonic ranging and AT89S51 microcontroller together as one. The entire circuit is modular in design, the ultrasonic transmitter and receiver modules, AT89S51 single-chip processing module from the display module, close the alarm module. Software part is dominated by the main program, transmitting and receiving ultrasonic distance calculation and display routines and other components. Designed by the time counting AT89S51 microcontroller calculates the acoustic round trip time from the transmitter to the receiver, with the ultrasonic wave transmission speed in the air, to calculate the measured distance. The design of the car reversing radar required to display the distance between the obstacle via digital tube, measuring the distance is less than 6M, an alarm signal when the distance is less than 50cm. After Proteus simulation testing, the design can basically meet the requirements.
Key words: AT89S51 Ultrasonic-wave Ranging Alarm Car parking
目录
第1章 绪论 3
1.1 设计背景 3
1.2 研发现状 3
第2章 方案设计 3
2.1 方案比较 3
2.2 方案选择及设计目标 3
2.2.1 超声波测距原理 3
2.2.2 设计目标 3
第3章 硬件设计 3
3.1 总体电路设计 3
3.2 单片机及其外围电路 3
3.2.1 AT89S51单片机 3
3.2.2 AT89S51外围电路 3
3.3 超声波发送、接收模块 3
3.3.1 超声波探头的中心频率及主要参数 3
3.3.2 超声波发送模块 3
3.3.3 超声波接受模块 3
3.5 测距LED显示模块 3
3.6 报警模块 3
3.7 电源电路 3
第四章 系统软件设计 3
4.1 系统譆@绦蛏杓� 3
4.2 超声波测距子程序 3
4.2.1 距离计算子程序: 3
4.2.2 产生超声波的子程序: 3
第五章 模拟仿真 3
结论 3
致谢 3
参考文献: 3
附录一 基于AT89S51单片机超声波测距系统电原理图 3
附录二 基于AT89S51单片机超声波测距系统C语言原程序 3
附录三 proteus仿真 3