菜单
  
    摘要:本文介绍了一种基于数字式温度传感器文介绍了一种DS18B20的STC89C52单片机超声波测距系统。在分析超声波测距原理的基础上,设计了超声波测距系统,但是由于超声波的传播速度受到温度的影响,所以同时阐述了DS18B20在测距时的温度补偿方法。该系统实现的功能是由超声波从发射到返回的时间间隔,再结合当前环境温度下的声速,从而得到测量的距离并实时的显示在液晶显示器上。在中,其中超声波发出至接收的时间间隔由单片机的定时器来计时,环境的温度由DS18B20温度传感器测得。测得的时间和温度数据经单片机处理,结果显示在1602LCD液晶显示器上。采用温度补偿后的超声波测距系统明显提高了测量精度和稳定性。本系统测量盲区为30cm,测量范围为30~300cm,精度可达5mm。26562
    毕业论文关键字:温度补偿 单片机 超声波测距 LCD显示
    Ultrasonic ranging system which has the function of temperature compensation
    Abstract:This article introduced an ultrasonic ranging system based on the digital temperature sensor DS18B20 and STC89C52 single chip. In the analysis of the principle of ultrasonic distance measurement based on single chip microcomputer control, the article designed the measuring system based on single chip control; considering the effect of temperature on ultrasonic velocity influence, the article elaborated the DS18B20 in the range of temperature compensation method. The function of the system realized is composed of ultrasonic wave from the transmitter to the time interval and then combined with the current ambient temperature velocity, to obtain a measured distance and real time display on the LCD. In the design, the article used the temperature compensation method of ultrasonic ranging, which sent to the receiving time intervals by the timer to time, environmental temperature by DS18B20 temperature sensor. The measured time and temperature data processed by the computer, the results displayed in 1602LCD. Using the temperature compensation of ultrasonic ranging system significantly improves the measuring precision and stability. The measuring blind zone is 30cm, the measurement range is 30 ~ 300cm, the accuracy is 5mm.
     Keywords: temperature compensation  single chip  ultrasonic ranging  LCD display
     目  录
    1 绪论    1
    1.1 选题的来源及意义    1
    1.2 国内外超声波测距的研究现状    1
    1.3 本文主要安排    2
    2 硬件电路的实现     3
    2.1 总体设计方案    3
    2.2 单片机控制模块    4
    2.2.1 STC89C52单片机主要功能特性    4
    2.2.2单片机系统电路    5
    2.3 超声波收发模块    7
    2.4 DS18B20温度检测模块    9
    2.4.1 DS18B20简介    9
    2.4.2 DS18B20检测的实现    10
    2.5 1602LCD液晶显示模块    11
    3 软件实现设计    13
    3.1 软件设计思路    13
    3.2 各显示子程序    13
    4 系统电路PCB板.....18
    5 系统调试    19
    6 实验结果分析    20
    6.1 实验过程及分析    20
    6.2 误差来源及改进措施    21
    7 总结与展望    22
    7.1 超声波测距的总结    22
    7.2 对超声波测距的展望    22
    致谢    24
    参考文献    25
    1 绪论
    1.1 选题的来源及意义
    声波测距应用于很多场合,诸如汽车停车测量车距,机器人避障、机械加工自动化装配及检测、超声定位、水库液位测量等方面得到了广泛的应用[1]。初中的时候我们就开始接触声波,对于声波在各个介质中的传播速度我们都有一定的了解。蝙蝠没有眼睛但是可以再空中自由飞翔,这是因为蝙蝠能发出超声波找到食物和避免障碍物,现在我们就是利用了这个原理来研究汽车测量车距,机器人避障等等。并且超声波指向性强,能量衰减较慢这能让我们更好地利用它,当然事物都有相对性,超声波的利用还有一定的局限性。例如:超声波在空气中衰减较大,温度因素等等。所以如何解决这类问题使超声波利用进一步提高,就有了很大的现实意义!
  1. 上一篇:基于单片机的语音电子秤设计+电路图
  2. 下一篇:基于51单片机智能火灾烟雾报警系统设计
  1. stc15单片机水温水压无线监...

  2. PIC16F73单片机逆变电源硬件电路设计+电路图

  3. PLC加热炉温度监控系统设计

  4. 51单片机永磁直流无刷电动机驱动控制器设计

  5. Arduino单片机车载太阳能空气净化器设计

  6. AT89C51单片机的无线环境监测装置设计+程序

  7. STC15W404AS单片机太阳能自动浇花器的设计

  8. 现代简约美式风格在室内家装中的运用

  9. 中国传统元素在游戏角色...

  10. 高警觉工作人群的元情绪...

  11. 江苏省某高中学生体质现状的调查研究

  12. 上市公司股权结构对经营绩效的影响研究

  13. 浅析中国古代宗法制度

  14. C++最短路径算法研究和程序设计

  15. g-C3N4光催化剂的制备和光催化性能研究

  16. 巴金《激流三部曲》高觉新的悲剧命运

  17. NFC协议物理层的软件实现+文献综述

  

About

优尔论文网手机版...

主页:http://www.youerw.com

关闭返回