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

基于AVR单片机的超声波测距系统构建
引用本文:王晓雷,赵向阳,曹玲芝,张吉涛,郑晓婉.基于AVR单片机的超声波测距系统构建[J].计算机测量与控制,2015,23(12):19-19.
作者姓名:王晓雷  赵向阳  曹玲芝  张吉涛  郑晓婉
作者单位:郑州轻工业学院 电气信息工程学院,河南机电高等专科学校 汽车工程系,郑州轻工业学院 电气信息工程学院,郑州轻工业学院 电气信息工程学院,郑州轻工业学院 电气信息工程学院
基金项目:博士科研基金资助项目(2014BSJJ046)
摘    要:为了提高超声波测距精度,构建了基于AVR单片机的测距及数据处理系统。分析了超声波测距的原理,以AVR单片机为处理器设计了超声波产生和发射电路、超声波接收和信号处理电路以及温度测量和补偿电路等。针对温度对超声波速度的影响,根据超声波速度与温度的关系,设计了超声波速度补偿算法。为了提高回波时间测量准确性,减小随机噪声及空气中其他杂散播干扰的影响,采用均值数字滤波方法,对计数时间进行处理。实测结果表明,在3cm~400cm范围内,超声波测距系统测量数据准确,最大误差为0.66cm。

关 键 词:超声波测距  系统构建  AVR单片机  信号处理
收稿时间:2015/6/23 0:00:00
修稿时间:2015/6/23 0:00:00

System Construction on Ultrasonic Distance Measuring Based on AVR Microcontroller
Zhao Xiangyang,Cao Lingzhi,Zhang Jitao and Zheng Xiaowan.System Construction on Ultrasonic Distance Measuring Based on AVR Microcontroller[J].Computer Measurement & Control,2015,23(12):19-19.
Authors:Zhao Xiangyang  Cao Lingzhi  Zhang Jitao and Zheng Xiaowan
Affiliation:College of Electric and Information Engineering,Zhengzhou University of Light Industry;China Department of Automobile,Henan Mechanical and Electrical Engineering College;China,Department of Automobile, Henan Mechanical and Electrical Engineering College,College of Electric and Information Engineering,Zhengzhou University of Light Industry,College of Electric and Information Engineering,Zhengzhou University of Light Industry,College of Electric and Information Engineering,Zhengzhou University of Light Industry
Abstract:In order to improve the distance measuring precision, a distance measuring and data processing system based on AVR microcontroller is constructed. The ultrasonic distance measuring principle is analyzed, using AVR microcontroller as processor, some circuits are designed including ultrasonic generating and transmitting circuit, ultrasonic receiver and signal processing circuit, temperature measuring and compensating circuit, and so on. In view of the influence of temperature on ultrasonic velocity, according to the relationship of ultrasonic velocity and temperature, the ultrasonic velocity compensating algorithm is designed. In order to increase the echo time measuring accuracy, and decrease the interference of random noise and the other spurious noise from the air, the mean value digital filter method is put forward to deal with the counting time. The measured results show that within the scope of 3cm to 400cm, the measure data is accuracy using the ultrasonic distance measuring system, the most error is 0.66cm.
Keywords:ultrasonic distance measuring  system construction  AVR microcontroller  signal processing
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机测量与控制》浏览原始摘要信息
点击此处可从《计算机测量与控制》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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