摘要
介绍了超声波测距的原理,利用超声波传感器作为核心器件,采用温度补偿的方法实现了对5 cm^4 m距离的准确测量。系统由STC89C52单片机、DS18B20温度传感器、超声波传感器HC-SR04以及数码管显示电路组成。测量结果表明,该系统误差不超过3 cm,系统硬件结构简单、成本低、性能可靠,有一定的实用价值。
The principle of ultrasonic distance measurement is presented. Ultrasonic sensors is used as the core device, and method of temperature compensation is introduced to realize the accurate measurement of distance from 5 centimeters to 4 meters. The system consists of STC89C52 single chip, DSI8B20 temperature sensor, HC -SR04 ultrasonic sensor and digit- al display circuit. Test results show that the measurement error of the system is less than 3 centimeters. Because of its simple structure of hardware,low cost and reliable performance, the system has certain practical value .
出处
《电声技术》
2014年第2期35-37,59,共4页
Audio Engineering
基金
教育部科学技术研究重点资助项目(211027)