摘 要: 利用单片机和超声波传感器可以方便准确的实现非接触距离测量,系统以STC89C52为核,选用HC- SR04超声波模块进行超声波发送和接收,采用时差法测距,结合LabVIEW强大的数据采集、测量分析和存储显示等功 能,可以实现对测量过程的实时记录存储和显示,还可根据用户需求选定测速区间,设定超限报警等功能,可以有效实 现短距离、中低速环境下距离和速度的数字化测量,提高了测量效率和精度。 |
关键词: LabVIEW;超声波;单片机;测速 |
中图分类号: TP319
文献标识码: A
|
基金项目: 青海民族大学本科教学研究项目:基于虚拟仪器技术的《微机原理与接口技术》课程学生创新能力培养研究与实践(2016-BKJXZD-02). |
|
The Ultrasonic Velocity Measurement System Based on LabVIEW |
WANG Yongning,LI Ziqing
|
( College of Physical and Electronic Information Engineering, Qinghai Nationalities University, Xining 810007, China)
|
Abstract: The single-chip microcomputer and the ultrasonic sensor can be applied to accurately implement the noncontact distance measurement.Based on STC89C52,the system uses the hc-sr04 module to transmit and receive ultrasonic waves.By measuring the distance through the time-difference method and combining LabVIEW' s powerful functions of data acquisition,measurement analysis and storage display,the real-time recording,storing and displaying of the measurement process are achieved.Additionally,the system can select the velocity measurement area according to users' requirements and set the over-limit alarm,which can effectively achieve the digital measurement in the short distance and low speed environment,and improve the measurement efficiency and accuracy. |
Keywords: LabVIEW;ultrasonic;single-chip;measuring speed |