机电工程技术
機電工程技術
궤전공정기술
MACHANICAL & ELECTRICAL ENGINEERING TECHNOLOGY
2014年
8期
13-16,35
,共5页
液位检测%超声波%单片机
液位檢測%超聲波%單片機
액위검측%초성파%단편궤
liquid level measurement%ultrasonic%MCU
为解决腐蚀性液体的液位测量中电极特别容易被电解腐蚀的问题,将超声波技术应用到工业生产液位或物料的检测中。以AT89S52单片机为核心,建立超声波测得距离和声速与传输时间之间的关系,提出通过硬件电路设计和软件编程实现对液位高度的检测的方法,进行了超声波测距在20 cm和80 cm两种距离的试验。由于超声波受温度的影响较大,采用温度传感器对温度进行测量,根据公式进行温度补偿,并设计了报警模块,当温度过高时进行报警。结果表明,超声波测距的相对误差分别为2.5%和1.25%,这样的精度能够满足实际需求,达到了预期目标。该系统具有测量准确、功耗低、使用寿命长等特点,可以满足一般的工业需要。
為解決腐蝕性液體的液位測量中電極特彆容易被電解腐蝕的問題,將超聲波技術應用到工業生產液位或物料的檢測中。以AT89S52單片機為覈心,建立超聲波測得距離和聲速與傳輸時間之間的關繫,提齣通過硬件電路設計和軟件編程實現對液位高度的檢測的方法,進行瞭超聲波測距在20 cm和80 cm兩種距離的試驗。由于超聲波受溫度的影響較大,採用溫度傳感器對溫度進行測量,根據公式進行溫度補償,併設計瞭報警模塊,噹溫度過高時進行報警。結果錶明,超聲波測距的相對誤差分彆為2.5%和1.25%,這樣的精度能夠滿足實際需求,達到瞭預期目標。該繫統具有測量準確、功耗低、使用壽命長等特點,可以滿足一般的工業需要。
위해결부식성액체적액위측량중전겁특별용역피전해부식적문제,장초성파기술응용도공업생산액위혹물료적검측중。이AT89S52단편궤위핵심,건립초성파측득거리화성속여전수시간지간적관계,제출통과경건전로설계화연건편정실현대액위고도적검측적방법,진행료초성파측거재20 cm화80 cm량충거리적시험。유우초성파수온도적영향교대,채용온도전감기대온도진행측량,근거공식진행온도보상,병설계료보경모괴,당온도과고시진행보경。결과표명,초성파측거적상대오차분별위2.5%화1.25%,저양적정도능구만족실제수구,체도료예기목표。해계통구유측량준학、공모저、사용수명장등특점,가이만족일반적공업수요。
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.