摘要
传统电磁流量计采用硬件滤波方式去除噪声,但由于采用硬件滤波消噪的能力与器件的动态调节相互矛盾,且硬件电路元件的非理想化必然会混入其他噪声.为了弥补硬件滤波的缺点,采用了软件去噪算法,该算法基于小波消噪原理.为有效去除电磁流量计输出信号中的干扰信号,提高数据处理的稳定性和数据的精确度,在结合传统软、硬阈值函数的不足的基础上,引入了一种新阈值函数,且在传统信噪比、均方误差等单一评价标准的基础上引入了一种综合评价标准对去噪效果进行评估,采用MATLAB工具箱对去噪结果进行了仿真.结果表明,相比传统小波消噪方法,改进的小波阈值去噪方法对抑制电磁流量计信号中的各种噪声干扰有更好效果.
The traditional electromagnetic flowmeter uses hardware filtering to remove noise.However,the ability to eliminate noise by hardware filtering is in contradiction with the dynamic adjustment of the device,and the non-idealization of hardware circuit components will inevitably be mixed with other noise.In order to compensate for the shortcomings of hardware filtering,this paper adopts software de-noising algorithm based on wavelet de-noising principle.In order to effectively remove the interference signal in the output signal of the electromagnetic flowmeter and improve the stability of data processing and accuracy,this paper introduces a new threshold function based on the deficiency of the traditional soft and hard threshold functions and a comprehensive evaluation standard was introduced to evaluate the de-noising effect on the basis of the traditional evaluation criteria such as SNR and mean square error.The MATLAB toolbox was used to simulate the de-noising results.The simulation results show that compared with the traditional wavelet de-noising method,the improved wavelet threshold de-noising method has better effect on suppressing various noise interferences in the electromagnetic flowmeter signal.
引文
[1]梁利平,徐科军,朱志海,等.基于小波变换的电磁流量计信号的去噪研究[C]//PCC2009-第20届中国过程控制会议论文集中国自动化学会过程控制专业委员会,2009:339-342.
[2]张晶晶,刘铁军.小波变换在电磁流量信号处理中的应用[J].自动化仪表,2012,33(1):21-23.
[3]张欣,李斌,费琼.基于Matlab对浆液噪声的分析[J].工业控制计算机,2016,29(4):113-114.
[4]梁利平,徐科军,许伟.基于静态Haar小波变换的电磁流量传感器非平稳浆液流量信号分离方法[J].仪器仪表学报,2013,34(11):2626-2633.
[5]刘海波,王炼红.基于Matlab的电磁流量计的仿真分析[J].软件导刊,2010,9(11):31-33.
[6]田猛,梁前超,王先培,等.新型双向电磁流量计信号特征提取及去噪实验研究[J].海军工程大学学报,2015,27(3):47-52.
[7]WU G W,WANG C M.Wavelet de-noising based on genetic adaptive threshold algorithm[J].Advanced Materials Research,2014,989-994:3595-3598.
[8]LIU H,WSNG W D,XIANG C L,et al.A de-noising method using the improved wavelet threshold function based on noise variance estimation[J].Mechanical Systems and Signal Processing,2018,99:30-46.
[9]周真,王强,秦勇.电磁流量计极间信号干扰的建模与分析[J].测控技术,2012,31(1):132-134.
[10]黄志尧,李飞,王保良.对电磁流量计中干扰问题的讨论[J].仪器仪表学报,2005(S2):727-729.
[11]谢仕宏,朱晓聪,姜丽波.电磁流量计的使用及电磁兼容性分析[J].工业仪表与自动化装置,2008(1):63-66.
[12]李斌,姜世金.恒磁式电磁流量计极化电压控制方法的研究[J].传感器世界,2007(7):14-18.
[13]LI H L,TUO X G,SHI R,et al.A de-noising algorithm to improve SNR of segmented gamma scanner for spectrum analysis[J].Nuclear Instruments and Methods in Physics Research Section A:Accelerators,Spectrometers,Detectors and Associated Equipment,2016,818:68-75.
[14]韩震,王红斌,余正涛.双边非局部均值滤波图像去噪算法[J].传感器与微系统,2016,35(6):124-127.
[15]田丰,孙剑,邵山,等.小波阈值去噪在传感器性能试验数据处理中的应用[J].传感器与微系统,2014,33(6):143-146.
[16]BRUCE A G,GAO H G.Wave shrink with firm shrinkage[J].Statistica Sinica,1997,7(4):855-874.
[17]卢广森,黎英,毛敏.基于新阈值函数的小波阈值去噪算法[J].传感器与微系统,2017,36(12):141-144,148.
[18]BERKNER K,WELLS R O.Wavelet transforms and denoising algorithm[C]//Signal,System&Computers,Conference Record of the Thirty-Second Asilomar Conference,1998:1639-1643.
[19]KATUTIS R,VIRBALIS J A.Development of battery-driven electromagnetic flow converter[J].Electronics and Electrical Engineering,2007,76(4):79-82.
[20]高成.Matlab小波分析及应用[M].北京:国防工业出版社,2007.