摘要
对于在传感器信号检测中出现的外界环境的影响而产生的误差,过于复杂的滤波算法不适合在单片机上运行.提出一种算法通过对湿度传感器的实验的15个数据的分析,并与算术平均滤波算法和去极值平均滤波算法的比较,结果表明:该算法能够更好地去除误差数据的影响.通过对湿度信号的滤波效果良好,其变异系数0.136 3%和平均相对误差0.001 52,均明显好于对照的2种算法.
There are some errors in the signal detecting sensors,because of the influences of the environment.Many complex digital filtering algorithms suggested in some paper don't fit the performing on Microprocessor Unit.A new digital filtering algorithm suggested in this paper shows that,the effect of this algorithm is much better than the others.The coefficient of variation is 0.136 3%,and the relative of this program is 0.001 52.
出处
《武汉工程大学学报》
CAS
2010年第12期102-104,共3页
Journal of Wuhan Institute of Technology
关键词
数字滤波
单片机
传感器
digital filtering
single chip
sensor