Design of digital filter in laser gas analyzer
-
摘要:由于基于可调谐二极管 吸收光谱(TDLAS)技术的 气体分析仪的二次谐波信号中存在较大的系统噪声,本文利用有限长单位冲激响应(FIR),提出了 气体分析仪的二次谐波在线滤波方法。在分析FIR数字滤波器原理的基础上,利用MATLAB窗函数设计了适合本 气体分析仪的数字滤波器。然后,将仿真的FIR数字滤波算法移植到 气体分析仪嵌入式系统中。最后,比较了滤波前后二次谐波信号波形,说明了在 气体分析仪嵌入式系统中采用基于FIR数字滤波器滤波算法的可行性。实验结果表明:FIR数字滤波器对一组二次谐波信号进行滤波的运算时间为230 ms,滤波后的二次谐波信号波形获得了较好的去噪效果,能够满足 气体分析仪对含有噪声的二次谐波信号进行平滑去噪的要求,且滤波算法结构简单、运算时间短、可移植性强。Abstract:Due to the presence of system noises in second harmonic signals of a laser gas analyzer based on Tunable Diode Laser Absorption Spectroscopy(TDLAS), this paper designs an Finite Impulse Response(FIR) based filtering scheme to realize the online filtering of second harmonic of the laser gas analyzer. First, based on the theory of FIR digital filting, a FIR digital filter is designed with window functions based on a MATLAB(Matrix laboratory) software platform. Then, the corresponding algorithm is transplanted to the embedded system of laser gas analyzer. Finally, on the basis of waveform analysis of the second harmonic signals before and after filterings, it proves the feasibility of the proposed filter algorithm that the FIR digital filter is embedded system to realize the online filtering of second harmonic in the laser gas analyzer. Experimental results indicate that algorithm computation time for one set of second harmonic signal is 230 ms. The FIR filter can effectively filter out the interference signals of second harmonic by comparing the waveforms of the second harmonic signals before and after filterings. The FIR digital filter can basically meet the requirements of laser gas analyzer for denoising, smoothing the second harmonic signals with noises, lowering computational complexity as well as enhancing the performance of transplanting.
-
[1] HINKLY E D. High-resolution infrared spectroscopy with a tunable diode laser[J].Appl. Phys. Lett.,1970,16(9):351-354. [2] REID J,SHEWCHUN J,GARSIDE B K,et al.. High sensitivity pollution detection employing tunable diode lasers[J].Appl. Opt.,1978,17(2):300-307. [3] 陈星旦,高静,丁海泉. 论无创血糖监测的红外光谱方法[J]. 中国光学,2012,5(4):317-326. CHEN X D,GAO J,DING H Q. Infrared spectroscopy for non-invasive blood glucose monitoring[J].Chinese Optics,2012,5(4):317-326.(in Chinese) [4] 郑玉权. 温室气体遥感探测仪器发展现状[J]. 中国光学,2011,4(6):546-561. ZHENG Y Q. Development status of remote sensing instruments for greenhouse gases[J].Chinese Optics,2011,4(6):546-561.(in Chinese) [5] 潘卫东,张佳薇,戴景民,等. 可调谐半导体 吸收光谱技术检测痕量乙烯气体的系统研制[J]. 光谱学与光谱分析,2012,32(10):2875-2878. PAN W D,ZHANG J W,DAI J M,et al.. Tunable diode laser absorption spectroscopy system for trace ethylene detection[J].Spectroscopy and Spectral Anal.,2012,32(10):2875-2878.(in Chinese) [6] 周海金,刘文清,司福祺,等. 星载大气痕量气体差分吸收光谱仪杂散光抑制[J]. 光学 精密工程,2012,20(11):2331-2337. ZHOU H J,LIU W Q,SI F Q,et al.. Stray light suppression of space-borne differential optical absorption spectrometer for monitoring atmospheric trace gas[J].Opt. Precision Eng.,2012,20(11):2331-2337.(in Chinese) [7] 朱君, 李志全, 孙宇超. 大运动量后呼出气体主要成分检测系统的设计与研究[J]. 光学与光电技术,2012,10(2):42-46. ZHU J,LI ZH Q,SUN Y CH. Main ingredients of breath gas detection system design and research after great exercise[J].Opt. Optoelectronic Technol.,2012,10(2):42-46.(in Chinese) [8] 涂兴华,刘文清,王铁栋,等. 基于可调谐二极管 吸收光谱学对二次谐波检测噪声分析研究[J]. 量子电子学报,2006,23(4):522-526. TU X H,LIU W Q,WANG T D,et al.. Noise analysis of second-harmonic detection with tunable diode laser absorption spectroscopy[J].Chinese J. Quantum Electronics,2006,23(4):522-526.(in Chinese) [9] LELEUX D P,CLAPS R,CHEN C,et al.. Applications of Kalman filtering to real-time trace gas concentration measurements[J].Appl. Phys. B,2002,74(1):85-93. [10] 张帅,刘文清,张玉钧,等. 数字滤波方法在TDLAS气体检测中的应用[J]. 光学学报,2010,30(5):1362-1367. ZHANG SH,LIU W Q,ZHANG Y J,et al.. Application of digital filtering to the gas monitoring with TDLAS[J].Acta Optica Sinica,2010,30(5):1362-1367.(in Chinese) [11] KAN R F,LIU W Q,ZHANG Y J,et al.. Application ofα-β-γfiltering to real-time atmosphere methane concentration measurement[J].Chinese Phys.,2006,15(6):1379-1385. [12] 邹得宝,陈文亮,杜振辉,等. 数字滤波方法在TDLAS逃逸氨检测中的选用[J]. 光谱学与光谱分析,2012,32(9):2322-2336. ZOU D B,CHEN W L,DU ZH H,et al.. Selection of digital filtering in the escaping ammonia monitoring with TDLAS[J].Spectroscopy and Spectral Anal.,2012, 32 (9):2322-2336.(in Chinese) [13] PETER W. A review of recent advances in semiconductor laser based gas monitors[J].Spectrochimica Acta Part A,1998(54):197-236. [14] MITRA S K. 数字信号处理 [M].北京:电子工业出版社,2006. MITRA S K.Digital Signal Processing[M]. Beijing:Publishing House of Electronics Industry,2006.(in Chinese) [15] 尹传历,李嘉全. 基于位平面的嵌入式超光谱图像压缩系统[J]. 液晶与显示,2012,27(2):245-249. YIN CH L,LI J Q. Embedded hyper-spectral image compression system based on bit-plane[J].Chinese J. Liquid Crystals and Displays,2012,27(2):245-249.(in Chinese) [16] 刘陵顺,高艳丽,张树团,等.TMS320F28335 DSP原理及开发编程 [M].北京:北京航空航天大学出版社,2011. LIU L SH,GAO Y L,ZHANG SH T,et al.. The Principle and Development Programming of TMS320F28335 DSP[M]. Beijing:Beihang University Press,2011.(in Chinese)
点击查看大图
计量
- 文章访问数:2071
- HTML全文浏览量:208
- PDF下载量:732
- 被引次数:0