毕业设计-基于AT89C51单片机超声波测距仪的设计

上传人:hs****ma 文档编号:564982157 上传时间:2023-05-26 格式:DOC 页数:38 大小:340.50KB
返回 下载 相关 举报
毕业设计-基于AT89C51单片机超声波测距仪的设计_第1页
第1页 / 共38页
毕业设计-基于AT89C51单片机超声波测距仪的设计_第2页
第2页 / 共38页
毕业设计-基于AT89C51单片机超声波测距仪的设计_第3页
第3页 / 共38页
毕业设计-基于AT89C51单片机超声波测距仪的设计_第4页
第4页 / 共38页
毕业设计-基于AT89C51单片机超声波测距仪的设计_第5页
第5页 / 共38页
点击查看更多>>
资源描述

《毕业设计-基于AT89C51单片机超声波测距仪的设计》由会员分享,可在线阅读,更多相关《毕业设计-基于AT89C51单片机超声波测距仪的设计(38页珍藏版)》请在金锄头文库上搜索。

1、题 目:基于单片机超声波测距仪的设计系 部:电气系专 业 班:姓 名: 学 号:指导教师: 年 月 日超声波测距仪的设计The design of a Silent WaveMeasure Distance摘 要随着科技的开展,人们生活水平的提高,城市开展建设加快,城市给排水系统也有较大开展,其状况不断改善。但是,由于历史原因合成时间住的许多不可预见因素,城市给排水系统,特别是排水系统往往落后于城市建设。因此,经常出现开挖已经建设好的建筑设施来改造排水系统的现象。城市污水给人们带来了困扰,因此箱涵的排污疏通对大城市给排水系统污水处理,人们生活舒适显得非常重要。而设计研制箱涵排水疏通移动机器人的

2、自动控制系统,保证机器人在箱涵中自由排污疏通,是箱涵排污疏通机器人的设计研制的核心局部。控制系统核心局部就是超声波测距仪的研制。因此,设计好的超声波测距仪就显得非常重要了。本设计采用以AT89C51单片机为核心的低本钱、高精度、微型化数字显示超声波测距仪的硬件电路和软件设计方法。整个电路采用模块化设计,由主程序、预置子程序、发射子程序、接收子程序、显示子程序等模块组成。各探头的信号经单片机综合分析处理,实现超声波测距仪的各种功能。在此根底上设计了系统的总体方案,最后通过硬件和软件实现了各个功能模块。相关局部附有硬件电路图、程序流程图。经实验证明,这套系统软硬件设计合理、抗干扰能力强、实时性良好

3、,经过系统扩展和升级,可以有效地解决汽车倒车、建筑施工工地以及一些工业现场的位置监控。关键词:AT89c51; 超声波;测距AbstractWith the development of science and technology, the improvement of peoples standard of living, speeding up the development and construction of the city. urban drainage system have greatly developed their situation is constantly im

4、proving. However, due to historical reasons many unpredictable factors in the synthesis of her time, the city drainage system. In particular drainage system often lags behind urban construction. Therefore, there are often good building excavation has been building facilities to upgrade the drainage

5、system phenomenon. It brought to the city sewage, and it is clear to the city sewage and drainage culvert in the sewage treatment system. comfort is very important to peoples lives. Mobile robots designed to clear the drainage culvert and the automatic control system Free sewage culvert clear guaran

6、tee robot, the robot is designed to clear the culvert sewage to the core. Control System is the core component of the development of ultrasonic range finder. Therefore, it is very important to design a good ultrasonic range finder. At the core of the design using AT89C51 low-cost, high accuracy, Mic

7、ro figures show that the ultrasonic range finder hardware and software design methods. Modular design of the whole circuit from the main program, pre subroutine fired subroutine receive subroutine. display subroutine modules form. SCM comprehensive analysis of the probe signal processing, and the ul

8、trasonic range finder function. On the basis of the overall system design, hardware and software by the end of each module. The research has led to the discovery that the software and hardware designing is justified, the anti-disturbance competence is powerful and the real-time capability is satisfa

9、ctory and by extension and upgrade, this system can resolve the problem of the car availably, building construction the position of the workplace and some industries spot supervision.Key words:AT89S52; Silent Wave;Measure Distance 目 录摘 要I AbstractII 绪论1 I.1 课题设计的目的及其意义1 I.2 超声波测距仪的设计思路1I.3 课题设计的任务和要

10、求21 课题的方案设计与论证3 1.1 系统整体方案的设计3 1.2 系统整体方案的论证32 系统的硬件结构设计4 2.1 单片机的功能特点及测距原理4 2.2 超声波发射电路6 2.3 超声波检测接收电路7 2.4 超声波测距系统的硬件电路设计73 系统软件的设计9 3.1 超声波测距仪的算法设计9 3.2 主程序流程图10 3.3 超声波发生子程序与超声波接受中断程序113.4 系统的软硬件的调试12总 结13致 谢15参考文献16附 录 一 超声波测距电路原理图18附 录 二 超声波测距电路幅员19附 录 三 程序清单20 绪 论.1课题设计目的及意义.1.1设计的目的随着科学技术的快速

11、开展,超声波将在测距仪中的应用越来越广。但就目前技术水平来说,人们可以具体利用的测距技术还十分有限,因此,这是一个正在蓬勃开展而又有无限前景的技术及产业领域。展望未来,超声波测距仪作为一种新型的非常重要有用的工具在各方面都将有很大的开展空间,它将朝着更加高定位高精度的方向开展,以满足日益开展的社会需求,如声纳的开展趋势根本为:研制具有更高定位精度的被动测距声纳,以满足水中武器实施全隐蔽攻击的需要;继续开展采用低频线谱检测的潜艇拖曳线列阵声纳,实现超远程的被动探测和识别;研制更适合于浅海工作的潜艇声纳,特别是解决浅海水中目标识别问题;大力降低潜艇自噪声,改善潜艇声纳的工作环境。无庸置疑,未来的超

12、声波测距仪将与自动化智能化接轨,与其他的测距仪集成和融合,形成多测距仪。随着测距仪的技术进步,测距仪将从具有单纯判断功能开展到具有学习功能,最终开展到具有创造力。在新的世纪里,面貌一新的测距仪将发挥更大的作用。.1.2设计的意义随着科技的开展,人们生活水平的提高,城市开展建设加快,城市给排水系统也有较大开展,其状况不断改善。但是,由于历史原因合成时间住的许多不可预见因素,城市给排水系统,特别是排水系统往往落后于城市建设。因此,经常出现开挖已经建设好的建筑设施来改造排水系统的现象。城市污水给人们带来了困扰,因此箱涵的排污疏通对大城市给排水系统污水处理,人们生活舒适显得非常重要。而设计研制箱涵排水疏通移动机器人的自动控制系统,保证机器人在箱涵中自

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 商业/管理/HR > 商业计划书

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号