文档介绍:基于超声波测倒车雷达系统设计
摘要
本论文阐述的是基于超声波检测的倒车雷达的设计。本课题利用超声波检测、单片机系统设计出一种汽车倒车雷达,并能将汽车与障碍物的距离用LED实时显示,同时对特定的距离进行声光报警。本系统由两部分组成,硬件系统和软件系统。硬件系统利用超声波发生电路驱动超声波发射探头发射超声波信号,再由超声波接收探头接收经障碍物反射回的超声波信号,并通过接收电路对信号进行调理,再将调理后的信号传入单片机系统,然后单片机系统将信号经过处理送显示,并且在规定的距离进行声光报警。软件系统用汇编语言进行编程,采用模块化设计思想。该系统通过联调后,实现了预期各种功能,符合设计要求。
关键词:倒车雷达超声波传感器单片机 LED显示
Abstract
This paper introduces the design of car reversing radar based on the ultrasonic testing .The task uses ultrasonic testing andSingle Chip Micyoco(SCM) syetem to design a kind of car reversing radar .The distance between car and barrier can be displayed on LED real time ,and at the same time ,the sound ang light alarming can be given at appointed distance. The syetem consist of two parts: hardware system and software system. In the hardware system , ultrasonic sound generating circuit drives emitting probe to send out ultrasonic signal and the receiving probe receives ultrasonic signal that is reflected from barrier . The received electrical signl is conditioned by the receiving circuit and put into SCM system after conditioning , where the signal is processed , then displayed , and the sound and light alarming will be given at the appointed distance. Assemble language is used in the software system and modularization design idea is adopted. This system realizes all desired functions and coincides with demand after system debugging.
Keywords: Reversing radar Ultrasonic sensor Single Chip Micyoco LED display
目录
第一章绪言 1
第二章总体方案 2
第一节模块构建 2
第二节超声波测距的原理 2
第三节超声波传感器 3
第三章系统硬件设计 6
第一节系统总体方案设计 6
第二节 AT89C51单片机简介 6
第三节电源电路 9
第四节控制电路 10
第五节超声波发射和接收电路 11
第六节 LED显示电路 15
第七节报警电路 16
第四章系统软件设计 18
第一节软件设计要求 18
第二节超声波测距仪的算法设计 18
第三节主程序 18
第四节超声波发送、接收中断程序 19
第五节显示程序、报警程序 20
结论 22
致谢 23
参考文献 24
第一章绪言
随着社会的进步和生活的需求,越来越多的家庭拥有了汽车。交通拥挤状况也随之出现,撞车事件也是经常发生,人们在享受汽车带来的乐趣和方便的同时,更加注重的是汽车的安全性,许多“追尾”事故都与车距有着密切的关系。为了解决这个安全问题,设计一种汽车测距防撞报警系统势在必行。
由于超声波指向性强,能量消耗缓慢,在介质中传播的距离较远,因而超声经常用于距离的测量,如测距仪和物位测量仪等都可以通过超声波来实现。利用超声波检测往往比较迅速、方便、计算简单。所以超声波测距法是一种非常简单