摘要
传统的超声波测距系统只是对系统进行简单的滤波,即简单地进行多次测量后取平均值,这样难免会出现传感器误测的情况,导致最终的测量误差很大,引发误判。针对以上问题,本文对传统的超声波测量方法进行了改进,设计了基于SSAL算法的超声波测距系统。实验结果表明,经SSAL算法对返回的信号进行处理,大大减少误判情况的发生,从而得到精确的返回数值,提高了测量精度。
The traditional ultrasonic ranging system only simply filter the system, which simply takes the average after multiple measure- ments.This approach will occur sensor error situation and result in large final measurement error,thus triggers a false judgment.Aiming at the above problems, the traditional ultrasonic measurement method is improved and an ultrasonic ranging system based on SSAL algo- rithm is designed in this paper.The experiment results show that the probability of wrong judgment is greatly reduced after the return signal is handled by SSAL algorithm,and it can get exactly return values.It is greatly improve the accuracy of the measurement.
出处
《单片机与嵌入式系统应用》
2017年第8期65-68,共4页
Microcontrollers & Embedded Systems
关键词
滤波
超声波测距
SSAL算法
精度
wave filtering
ultrasonic distance measurement,the algorithm of SSAL
accuracy