超声波测距仪的设计.doc

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

超声波测距仪的设计,1.6万字34页包括开题报告,超声波测距电路原理图,超声波测距电路版图,程序清单 摘要本设计采用以at89c51单片机为核心的低成本、高精度、微型化数字显示超声波测距仪的硬件电路和软件设计方法。整个电路采用模块化设计,由主程序、预置子程序、发射子程序、接收子程序、显示子程序等模块组成。各探头的信号经单...
编号:10-33351大小:359.00K
分类: 论文>通信/电子论文

内容介绍

此文档由会员 20023286 发布

超声波测距仪的设计
1.6万字 34页
包括开题报告,超声波测距电路原理图,超声波测距电路版图,程序清单



摘 要

本设计采用以AT89C51单片机为核心的低成本、高精度、微型化数字显示超声波测距仪的硬件电路和软件设计方法。整个电路采用模块化设计,由主程序、预置子程序、发射子程序、接收子程序、显示子程序等模块组成。各探头的信号经单片机综合分析处理,实现超声波测距仪的各种功能。在此基础上设计了系统的总体方案,最后通过硬件和软件实现了各个功能模块。相关部分附有硬件电路图、程序流程图。
经实验证明,这套系统软硬件设计合理、抗干扰能力强、实时性良好,经过系统扩展和升级,可以有效地解决汽车倒车、建筑施工工地以及一些工业现场的位置监控。

关键词:AT89c51; 超声波;测距


Abstract

With the development of science and technology, the improvement of people's standard of living, speeding up the development and construction of the city. urban drainage system have greatly developed their situation is constantly improving. 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 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 people's lives. Mobile robots designed to clear the drainage culvert and the automatic control system Free sewage culvert clear guarantee 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 ......

Key words:AT89S52; Silent Wave;Measure Distance



目 录

摘 要•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••I
Abstract••••••••••••••••••••••••••••••••••••••••••••••••••••••••••II
绪论•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••1
I.1 课题设计的目的及其意义•••••••••••••••••••••••••••••••••1
I.2 超声波测距仪的设计思路•••••••••••••••••••••••••••••••••1
I.3 课题设计的任务和要求•••••••••••••••••••••••••••••••••••2
1 课题的方案设计与论证•••••••••••••••••••••••••••••••••••••••••••3
1.1 系统整体方案的设计•••••••••••••••••••••••••••••••••••••3
1.2 系统整体方案的论证•••••••••••••••••••••••••••••••••••••3
2 系统的硬件结构设计•••••••••••••••••••••••••••••••••••••••••••••4
2.1 单片机的功能特点及测距原理•••••••••••••••••••••••••••••4
2.2 超声波发射电路•••••••••••••••••••••••••••••••••••••••••6
2.3 超声波检测接收电路•••••••••••••••••••••••••••••••••••••7
2.4 超声波测距系统的硬件电路设计•••••••••••••••••••••••••••7
3 系统软件的设计•••••••••••••••••••••••••••••••••••••••••••••••••9
3.1 超声波测距仪的算法设计•••••••••••••••••••••••••••••••••9
3.2 主程序流程图•••••••••••••••••••••••••••••••••••••••••••10
3.3 超声波发生子程序与超声波接受中断程序•••••••••••••••••••11
3.4 系统的软硬件的调试•••••••••••••••••••••••••••••••••••••12
总 结••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••13
致 谢••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••15
参考文献••••••••••••••••••••••••••••••••••••••••••••••••••••••••••16
附 录 一 超声波测距电路原理图••••••••••••••••••••••••••••••••••18
附 录 二 超声波测距电路版图••••••••••••••••••••••••••••••••••••19
附 录 三 程序清单••••••••••••••••••••••••••••••••••••••••••••••20




参考文献

[1] 胡萍.超声波测距仪的研制.计算机与现代化
[2] 时德刚,刘哗.超声波测距的研究.计算机测量与控制
[3] 华兵.MCS-51单片机原理应用.武汉:武汉华中科技大学出版社