期刊文献+

基于单片机控制的超声测距系统设计 被引量:8

Design of Ultrasonic Distance Measurement System Based on MCU
在线阅读 下载PDF
导出
摘要 为使测距系统在动态测量中更加简单、迅速和高效,提出了一种以STC89C52RC单片机为核心控制器的超声波测距系统。该系统利用声波在空气中遇障碍物而反射的特点,根据发射与接收的时间差,通过单片机内部运算得到动态距离。运算结果与单片机内部设定的最大距离比较,若在测量范围内,数码显示模块中显示距离大小,若运算后距离超出设定范围,单片机会通过超距报警模块发出声响。为了提升测量精度,系统对超声波在空气中传播速度进行温度补偿,利用DS18B20温度补偿模块对环境温度进行实测。对超声波测距系统的测试表明,该超声波测距系统测量数据稳定、精度高、拟合度较好,具有测量高效、便捷、经济等特点。 In order to make the measurement system more simple, rapid and efficient in dynamic measure-ment ,this paper presents a distance measurement system based on STC89C52RC microcontroller as the core controller. The system uses the characteristics of the acoustic wave in the air to reflect the obstacles, according to the time difference between the launch and acceptance, through the internal operation of the microcontroller to obtain the dynamic distance. The operation results are compared with the maximum distance of MCU inter-nal set, if the measurement is in the range, the digital display shows the distance module, when the operation distance exceeds the set range, the microcontroller will distance by controlling the ultra audible alarm module. When the ambient temperature changes, the controller controls the temperature compensation module DS18B20 in the system, so as to improve the measurement accuracy. The experimental results show that the measure-ment data of the acoustic ranging system is stable, and the fitting degree is higher in the measurement range.
出处 《中原工学院学报》 CAS 2017年第3期7-9,13,共4页 Journal of Zhongyuan University of Technology
基金 国家自然科学基金项目(51505506) 河南省重点科技攻关项目(152102210362) 郑州市普通科技攻关项目(131PPTGG416-1) 河南省教育厅科学技术研究重点项目(14B460011)
关键词 超声波测距 STC89C52 DS18B20 HC-SR04 ultrasonic ranging STC89C52 DS18B20 HC-SR04
作者简介 杜新法C1980-),男,山西长治人,工程师,硕士,主要研究方向为机电-体化.
  • 相关文献

参考文献5

二级参考文献36

共引文献220

同被引文献62

引证文献8

二级引证文献49

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部