基于单片机控制的超声测距系统的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
在空气介质中,超声测距传感器因其性能好,价格低廉、使用方便,在现场机器人定位系统、车辆自动导航、车辆安全行驶辅助系统、城市交通管理和高速公路管理监测系统,以及河道、油井和仓库及料位的探测中都有应用。由于超声波传播不易受干扰,能量消耗缓慢,在介质中传播的距离较远,因而超声波经常用于距离的测量,如测距仪和物位测量仪等都可以通过超声波来实现。为此,深入研究超声波的产生与传播规律、开发高性能超声波换能器及其收发电路,对于超声波检测技术的发展具有十分重要的现实意义。
     本文详细介绍了一种利用单片机设计的软件控制的,由CX20106A、DS18820等集成元件组成硬件电路的超声波非接触式测距系统。该系统以空气中超声波的传播速度为确定条件,利用反射超声波测量待测距离。在本文中,描述了本系统研制的理论基础,概述了超声检测的发展及基本原理;在介绍超声测距系统功能的基础上,提出了系统的总体构成;介绍了超声传感器的原理及特性,研究了超声传感器的发射及接收电路,其中检波接收电路和温度补偿电路分别使用了两款集成芯片,减少了电路之间的相互干扰,减小电噪声。最后利用测距系统进行验证。
     在论文研究过程中对各部分电路及系统进行了实验,实验表明,各主要波形及技术指标均达到设计要求。该系统具有硬件结构简单、成本低、工作可靠、流程清晰、精度高等优点,并能实现距离的实时显示,在有限范围的距离测量具有较高的精度和可靠性。最后文中分析了误差产生的原因及如何对系统进行完善。
The features of the good performance, low cost, easy use are incarnated in the ultrasonic distance measurement sensor. The ultrasonic distance measurement sensor is usually used at the scene robot positioning system, automatic vehicle navigation, the safety of vehicles traveling support system, the urban traffic management and the highway management monitoring system, as well as the detect in rivers, oil wells, storages and materials. The ultrasonic wave transmission is not easy to disturb, its energy consumption is slowly and it can be transmitted distantly in the medium, so it is frequently used in ultrasonic distance measurement. For example, the range finder and the material level finder can be achieved by ultrasonic wave. Therefore, the in-depth study of the generation and transmission law of ultrasonic and the development of high-performance ultrasonic sensor and transmit and receive circuits is of great practical significance in the development of ultrasonic detection technology.
     An non-contact ultrasonic distance measurement system based on microprocessor is presented, and the software and hardware are introduced in this paper. The integrated chips of CX20106A and DS18B20 are separately used in the detection accepting circuit and in the temperature compensation circuit in the system. The system could measure certain distance with the reflected wave on condition in which the speed of transmitting wave is fixed. This paper generally specifies the theoretical foundation of the system and summarizes the development and fundamental principle of ultrasonic detection. The paper proposes the whole structure of the system by introducing the function of ultrasonic distance measurement. Moreover, it presents the theory and characters of ultrasonic sensor and studies the transmit and receive circuits of the ultrasonic sensor. The integrated chips are separately used in the detection accepting circuit and in the temperature compensation circuit in the system, reducting the mutual disturbance between circuits and the eletrical noise. At last, the result and error analysis of the experiment is presented.
     The various parts of the circuit and the whole system are tested in the process of the paper researched. It is proved by experiments that the main waveform and technical indexes are achieved the design requirements. The features of the simple hardware, stable operation, distinct programme flow and high accuracy are incarnated in the proposed system. The results can also be displayed in real-time. The design of the system is provided with high accuracy and reliability in the limited range of distance measurement. Finally, the causes of the error are analysised and the improvements of the system are also presented in the paper.
引文
[1]苏长赞,邹殿贵.红外线与超声波遥控[M].人民邮电出版社,2001.
    [2]戴曰章,吴志勇.基于AT89C51单片机的超声波测距系统设计[J].计量与测试技术,2005,32(2):17-19.
    [3]董胜林,董晓宁.气介超声检测换能器应用研究[J].陕西师范大学学报(自然科学版),1998,26(3):39-41.
    [4]Kimiyuki Mitsui,Makoto Koike,Hidehiko Tsukamoto,Development of a new displacement-measuring ultrasonic sensor based on astigmatic focus error detection-measuring principle and its demonstration[J],Precision Engineering,1997.20.1-4.
    [5]李茂山.超声测距原理及实践技术[J].实用测试技术,1994年第一期.
    [6]郑丰隆,王晓宁,乔志刚.高精度超声测距仪的电路设计[J].仪表技术与传感器,1997年第一期,28-31.
    [7]葛万成.相关法高抗干扰超声波距离测量中的信号处理[J].同济大学学报(自然科学版),2002,30(1):71-76.
    [8]Figneroa J.F.,Lamancuse J.S.A method for accurate detection of time of arrival:Analysis and design of ultrasonic ranging system[J].J.Acoust.soc.AM.,1992,91(1):468-494.
    [9]卜英勇,何永强,赵海鸣等.一种高精度超声波测距仪测量精度的研究[J].郑州大学学报(工学版),2006,27(1):86-90.
    [10]韩宝亮,孙伟.单片机在超声波测距中的应用[J].东北电力学院学报,1996,16(4):50-53.
    [11]牛余朋,成曙.基于单片机的超声波测距系统[J].测控技术,2005,24(4):77-79.
    [12]樊忠良,杨雷.液位测量中的温度补偿[J].东莞理工学院学报,2005,12(3):77-80.
    [13]赵珂.时差法超声测距仪的研制[J].国外电子元器件,2005年第1期:65-67.
    [14]马大猷,沈豪.超声手册[M].北京:科学出版社,1983.
    [15]R.Demirli,J.Saniie.Model-Based Estimation of Ultrasonic Echoes-PartⅠ:Analysis and Algorithms.IEEE Trans.Ultrasonic.Ferroelect,Freq.Contr.2001,48(3):332-335.
    [16]罗亚非.凌阳十六位单片机应用基础[M].北京:北京航空航天大学出版社,2003.
    [17]薛钧义,张彦斌,虞鹤松,樊波.凌阳十六位单片机原理及应用[M].北京:北京航空航天大学出版社,2003.
    [18]冯若.超声手册[M].南京:南京大学出版社,1999.
    [19]周玲,张记龙,洪志刚.基于单片机的液位超声检测电路设计[J].科技情报开发与经济,2006,16(2):230-232.
    [20]韩志军,刘新民.数字温度传感器DS18820及其应用[J].南京工程学院学报(自然科学版),2003,1(1):9-14.
    [21]王幸之,钟爱琴等.AT89系列单片机原理与接口技术[M].北京:北京航空航天大学出版社,2004.
    [22]魏海明,杨兴瑶.实用电子电路500例[M].北京:化学工业出版社,1996.
    [23]赵珂.时差法超声测距仪的研制[J].国外电子器件,2005年第1期:65-67.
    [24]赵广涛,程荫杭.基于超声波传感器的测距系统设计[J].传感器与仪器仪表,2006,22(1),129-131.
    [25]项绮明.具有强代换功能的红外遥控接收电路CX20106A[J].音响与电视,1994年第1期:7-8.
    [26]周玲,张记龙,洪志刚.基于单片机的液位超声检测电路设计[J].科技情报开发与经济,2006,16(2):230-232.
    [27]韩志军,刘新民.数字温度传感器DS18820及其应用[J].南京工程学院学报(自然科学版),2003,1(1):9-14.
    [28]孙传铮,蔡玉良.单片微机超声波汽车倒车测距仪[J].微型机与应用,1996,23(4):24-26.
    [29]金篆芷,王明时.现代传感器技术[M].北京:电子工业出版社,2000:78-96.
    [30]李茂山.超声波测距原理及实践技术[J].使用测试技术,1994:12-20.
    [31]张和生.提高超声测距精度的研究[J].电子产品世界,2004,(7):86-89.
    [32]毛剑波.压电陶瓷换能器在超声波测距仪中的应用[J].合肥工业大学学报(自然科学版),2005,28(6):696-698.
    [33]简盈.大作用距离超声测距技术研究[D].国防科学技术大学研究生院,2004.
    [34]周福洪.水声换能器及基阵[M].北京:国防工业出版社,1984.109-128.
    [35]栾桂冬,张金铎,王仁乾.压电换能器和换能器阵(上)[M].北京:北京大学出版社,1990.231-248.
    [36]穆廷荣.金属和压电陶瓷构成的两层复合薄圆板的强迫振动[J].声学学报,1984,9(5):298-309.
    [37]贾志富.采用双迭片压电敏感元件的声压梯度水听器[J].传感器技术,1997,16(1):22-24.
    [38]王忠民.一种新型高灵敏度双迭片式流体声发射传感器的研制[J].传感技术学报,2006,19(3):851-853.
    [39]杜功焕,朱哲民,龚秀芬.声学基础[M].第二版.南京:南京大学出版社,2001:356-362.
    [40]林书玉.超声换能器的原理及设计[M].北京:科学出版社.
    [41]高锋.单片微型计算机原理与接口技术[M].北京:科学出版社,2003.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700