超声波测距毕业设计.doc

  1. 1、本文档共47页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 本设计介绍了基于单片机控制的超声测距仪的原理:由AT89C51控制定时器产生超声波脉冲并计时,计算超声波自发射至接收的往返时间,从而得到实测距离。并且在数据处理中采用了温度补偿的调整,用四位LED数码管切换显示距离和温度。 整个硬件电路由超声波发射电路、超声波接收电路、电源电路、显示电路等模块组成。各探头的信号经单片机综合分析处理,实现超声波测距仪 ABSTRACT The design introduces the principle of the ultrasonic distance measurement instrument based on SCMC-controlled: AT89C51 controls timers to produce the ultrasonic wave pulse and time,count the time of ultrasonic wave spontaneous emission to receive round-trip,thus obtains the measured distance.And the temperature compensation adjustment is used in the data processing, with four LED nixie tubes display distance or temperature by switching. The entire hardware circuit is composed by ultrasonic transmitter circuit, ultrasonic receiver circuit, the power circuit, display circuit, and other modules. The probe signals are integrated analysised by SCMC to achieve the various functions of ultrasonic distance measurement instrument. Based on this has designed system's overall concept, final adoption of hardware and software to achieve the various functional modules. The relevant parts have the hardware schematics and process flow chart.It has given the system constitution, the circuitry and the programming. The instrument system has features: ease of control, stability of operation, highness of precision and distinctness of programme process ,etc. After the realization of the works can be used for needs of the various parameters measured distance applications. Keywords: Ultrasonic wave, Temperature compensation, Measure distance 目 录 摘 要 I ABSTRACT II 1 绪论 1 1.1 课题研究的背景 1 1.2 课题研究的意义 1 1.3 论文结构 2 2 超声波测距原理 3 2.1 超声波简介 3 2.2 超声波测距原理 3 3 方案论证 5 3.1 设计思路 5 3.2 系统结构设计 6 4 主要元件介绍 7 4.1 单片机AT89C51 7 4.2 超声波传感器T40、R40 9 4.3 温度传感器DS18B20 10 5 硬件电路设计 11 5.1 超声波发射电路 11 5.2 超声波接收电路 11 5.3 显示电路 12 5.4 电源电路 12 5.5 复位电路 13 6 软件设计 14 6.1 主程序流程 14 6.2 子程序设计 17 7 软件调试及系统仿真 20 7.1 软件编译调试环境——Keil 20 7.2 Keil工程文件的建立、设置与目标文件的获得 20 7.3 系统仿真环境——Proteus 24 7.4 系统仿真 25 7.5 误差及特性分析 2

您可能关注的文档

文档评论(0)

lxAPkYQojM + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档