摘要
为了克服超声波液位测量系统中环境温度波动对系统测距造成的误差,提高超声波液位测量的精度,系统以单片机AT89C52为主制核心,以DS18820为温度测量模块来补偿超声波随温度变化而引起的波速变化,将测得的温度与时间代人相应公式,即可求得当前液位,最后通过LCD显示出来。系统主要包括硬件和软件2部分。经实验表明:系统测量范围在0.02~4m,测量精度0.01m,符合实际需要。
In order to overcome the error of environmental temperature fluctuation of ultrasonic liquid level measurement system on ranging from,improve the ultrasonic level measurement accuracy, system to AT89C52 microcontroller as the core,taking DSI8B20 as the temperature measurement module to compensate the ultrasonic wave caused by the wave speed changes with temperature, the temperature and time of the measured into the corresponding formula, can be ob tained the current level, finally displayed by LCD. The system mainly includes two parts:hardware and software. The ex- perimental results show: the measurement system in the range of 0. 02~4 m, measurement accuracy of 0. 01 m, in line with the actual needs.
出处
《国外电子测量技术》
2013年第10期30-33,共4页
Foreign Electronic Measurement Technology
基金
陕西工业职业技术学院科研项目(ZK12-18)