首页 | 本学科首页   官方微博 | 高级检索  
     

基于单片机的超声波液位检测系统设计
引用本文:鲁可,张晓东,马宏旭.基于单片机的超声波液位检测系统设计[J].机电工程技术,2014(8):13-16.
作者姓名:鲁可  张晓东  马宏旭
作者单位:河南工业大学电气工程学院,河南郑州450007
摘    要:为解决腐蚀性液体的液位测量中电极特别容易被电解腐蚀的问题,将超声波技术应用到工业生产液位或物料的检测中。以AT89S52单片机为核心,建立超声波测得距离和声速与传输时间之间的关系,提出通过硬件电路设计和软件编程实现对液位高度的检测的方法,进行了超声波测距在20 cm和80 cm两种距离的试验。由于超声波受温度的影响较大,采用温度传感器对温度进行测量,根据公式进行温度补偿,并设计了报警模块,当温度过高时进行报警。结果表明,超声波测距的相对误差分别为2.5%和1.25%,这样的精度能够满足实际需求,达到了预期目标。该系统具有测量准确、功耗低、使用寿命长等特点,可以满足一般的工业需要。

关 键 词:液位检测  超声波  单片机

Design of Ultrasonic Liquid Level Control System Based on MCU
LU Ke,ZHANG Xiao-dong,MA Hong-xu.Design of Ultrasonic Liquid Level Control System Based on MCU[J].Mechanical & Electrical Engineering Technology,2014(8):13-16.
Authors:LU Ke  ZHANG Xiao-dong  MA Hong-xu
Affiliation:(HenanUniversityofTechnology, College of Electrical Engineering, Zhengzhou450001, China)
Abstract:To solve the problem of the electrode especially vulnerable to electrolytic corrosion in corrosive liquid level measurement, the detection of ultrasonic technology is applied to the industrial production level or materials. Carries out AT89S52 MCU as the core, establishes ultrasonic measurement of relationship between distance and speed and the transmission time, the method of detecting the height of the liquid level is realized by hardware circuit design and software programming, the ultrasonic ranging in the test of 20cm and 80cm two kinds of distance. The ultrasonic influenced by temperature, measure the temperature by temperature sensor, according to the temperature compensation formula, and the design of alarm module, when the temperature is too high. The results show that, the relative error of ultrasonic distance measurement was 2.5%and 1.25% respectively, the accuracy can meet the actual demand, to achieve the expected goal. The system has the characteristics of accurate measurement, low power consumption, long service life, can meet the general needs of industry.
Keywords:liquid level measurement  ultrasonic  MCU
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号