单片机的超声波测距系统的毕业设计方案(刘军).pdf
《单片机的超声波测距系统的毕业设计方案(刘军).pdf》由会员分享,可在线阅读,更多相关《单片机的超声波测距系统的毕业设计方案(刘军).pdf(35页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、学 科 类:工科学 号:100703050115 学校代码:12795 密 级:公开2018 届本科生毕业论文超声波测距系统的设计院系:电子与信息学院专业:通 信 工程姓名:刘军指导教师:尹建平答辩日期:二一四年五月毕业论文诚信声明本人郑重声明:所呈交的毕业论文超声波测距系统的设计是本人在指导老师的指导下,独立研究、写作的成果。论文中所引用是他人的无论以何种方式发布的文字、研究成果,均在论文中以明确方式标明。本声明的法律结果由本人独自承担。作者 签 名:指导教师签名:年月日文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4
2、D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P
3、2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:
4、CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 H
5、Y4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX
6、6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编
7、码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2
8、 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2I/35 摘要超声波是指频率在20kHz 以上的声波,它属于机械波。超声波也遵循一般机械波在弹性介质中的传播规律,如在介质的分界面处发生反射和折射现象,在进入介质后被介质吸收而发生衰减等。正是因为具有这些性质,使得超声波可以用于距离的测量中。随着科技水平的不断提高,超声波测距技术被广泛应用于人们日常工作和生活之中。系统的设计主要包括两部分,即硬件电路和软件程序。硬件电路主要包括发射电
9、路、接收电路、单片机电路、电源电路和显示电路,另外还有LCD 控制电路和复位电路等。我采用以AT89S51 单片机为核心的低成本、高精度、微型化数字显示超声波测距仪的硬件电路。整个电路采用模块化设计,由信号发射和接收、供电、温度测量、显示等模块组成。发射探头的信号经放大和检波后发射出去,单片机的计时器开始计时,超声波被发射后按原路返回,在经过放大带通滤波整形等环节,然后被单片机接收,计数器停止工作并得到时间。温度测量后送到单片机,通过程序对速度进行校正,结合两者实现超声波测距的功能。软件程序由主程序、发射子程序、接收子程序、预置子程序、显示子程序等模块组成。它控制单片机进行数据发送与接收,在一
10、定温度下对超声波速度的校正,还有实现数据正确显示在LCD 上。另外程序控制单片机消除各探头对发射和接收超声波的影响。相关部分附有硬件电路图、程序流程图。实际的环境对超声波有很大的影响,如外部电磁干扰电源干扰信道干扰等等,空气的温度对超声波的速度影响也很大。此外供电电源也会使测量差生很大的误差。在设计的过程中考虑了这些因素,并给出了一些解决方案。【关键词】:AT89S51 超声波测距文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7
11、M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10
12、F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J
13、6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6
14、P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P
15、10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B
16、6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4
17、X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2II/35 Abstract Is the frequency at 20kHz ultrasonic sound waves above,it is a mechanical wave.Also follow the general mechanical ultrasonic wave propagation in elastic media,such as reflection and refraction at the interface media into the
18、media after the decay occurs,such as dielectric absorption.It is because of these properties,so that ultrasound can be used to measure the distance.With increasing levels of technology,ultrasonic ranging technology is widely used among peoples daily work and life.Design of the system consists of two
19、 parts,namely hardware and software programs.The hardware circuit includes a transmitter circuit,a receiver circuit,the microcontroller circuit,a power supply circuit and a display circuit,in addition to the LCD control circuit and a reset circuit.I used to AT89S51 core,low-cost,high-precision,minia
20、turized ultrasonic rangefinder digital display hardware circuits.The entire circuit is modular in design,the signal transmission and reception,power,temperature measurement and display module.Signal amplification and detection probe launch after launch out MCU timer is started,the original way back
21、after the ultrasound was launched,after amplification bandpass filtering plastic and other sectors,then the microcontroller receives the counter to stop working and get the time.After the temperature measurement to the microcontroller,the speed through the process of correcting a combination of both
22、 to achieve Ultrasonic Ranging function.Software program from the main program,launch subroutine receives subroutine,preset routines,subroutines and other display modules.It controls the microcontroller for data transmission and reception,at a certain temperature correction of ultrasonic velocity,as
23、 well as data on the LCD display correctly.Another procedure controls the microcontroller to eliminate the influence of the probe for transmitting and receiving ultrasonic waves.Accompanied by the relevant part of the hardware schematics,program flow.The actual environment of great influence on the
24、ultrasonic wave,such as an external electromagnetic interference power interference channel interference,etc.,the temperature of the air is also a great influence on the speed of the ultrasonic wave.Besides measuring the power supply also make great error of poor students.Redesign process to conside
25、r these factors,and gives some solutions.【Key words】:AT89S51 Ultrasonic wave Ranging 目录一、绪论 1文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档编码:CG8B6J6O3A2 HY4D4X6P7M2 ZX6P2E7P10F2文档
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 单片机 超声波 测距 系统 毕业设计 方案 刘军
限制150内