Denoising of Second Harmonic Signals of the Absorption Spectrum
Using the Frequency Decomposition Combined With the
Savitzky-Golay Filtering
TU Xing-hua, LUAN Xiao-chen, WANG Zhan
College of Electronic and Optical Engineering & College of Flexible Electronics(Future Technology), Nanjing University of Posts and Telecommunications, Nanjing 210023, China
Abstract:To address the issue of noise interference in the detection of second harmonic signals from weak gas absorption spectral lines, this paper proposes a method combining frequency decomposition (FD) and Savitzky-Golay filtering (SG filtering), referred to as FD-SG filtering, to denoise noisy signals. Frequency decomposition is a mathematical method used to decompose complex signals, with the advantage of independently selecting the number of decompositions or solving non-recursively. SG filtering processes groups of data, improving data accuracy while maintaining signal trend and width. The proposed method first applies frequency decomposition to the noisy signal, followed by SG filtering for secondary denoising. Then, it reconstructs the denoised second harmonic signal from the filtered effective components. After frequency decomposition, the distribution of each component is analyzed, confirming that the effective signal mainly resides in the first component but still contains residual noise. By constructing an adjustment factor P to select the optimal SG filter length, the residual noise in the effective component is effectively removed. In experiments with CO2 in the air using an absorption spectral line at 1 578.222 nm, significant noise was found in the second harmonic signal, especially with large spike noise at scan cycle junctions. Fitting curve subtraction and frequency decomposition showed limited noise reduction for large spikes. The combination of SG filtering and the relationship between the second harmonic and spike peak values demonstrated that SG filtering effectively reduces spike noise, achieving ideal denoising with the appropriate filter length. When detecting the second harmonic signal of exhaled CO2, the turbulence caused by exhalation increased and jittered the signal amplitude. FD-SG filtering successfully suppressed the noise, yielding a smoother second harmonic signal. This verifies the algorithm's effectiveness in denoising second harmonic signals for practical weak gas detection, showing significant advantages in noise suppression and large spike noise reduction. This has positive implications for improving signal quality and system accuracy in weak gas detection.
涂兴华,栾小晨,王 战. 吸收光谱线二次谐波的频率分解和SG滤波复合降噪[J]. 光谱学与光谱分析, 2025, 45(05): 1209-1216.
TU Xing-hua, LUAN Xiao-chen, WANG Zhan. Denoising of Second Harmonic Signals of the Absorption Spectrum
Using the Frequency Decomposition Combined With the
Savitzky-Golay Filtering. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(05): 1209-1216.
[1] XIA Hua, DONG Feng-zhong, ZHANG Zhi-rong, et al(夏 滑,董凤忠,张志荣,等). Improvement of TDLAS Signal Detection Based on Wavelet Transform(基于小波变换的TDLAS信号检测的改进). Optical Conference of the Chinese Optical Society(中国光学学会光学大会), 2010.
[2] Dragomiretskiy K, Zosso D. IEEE Transactions on Signal Processing, 2014, 62(3): 531.
[3] Shabani Z, Ghavami Sabouri S, Khorsandi A. Optical and Quantum Electronics, 2016, 48(12): 526.
[4] CHEN Zhen-cheng, WU Xian-liang, ZHAO Fei-jun(陈真诚,吴贤亮,赵飞骏). Optics and Precision Engineering(光学精密工程), 2019, 27(6): 1327.
[5] ZHANG Rui-lin, TU Xing-hua(张瑞林,涂兴华). Acta Optica Sinica(光学学报), 2022, 42(2): 80.
[6] ZHANG Bo-han, YANG Jun, XIE Xing-juan, et al(张博涵,杨 军,谢兴娟,等). Journal of Applied Optics(应用光学), 2022, 43(1): 106.
[7] ZHANG Le-wen, WANG Qian-jin, SUN Peng-shuai, et al(张乐文,王前进,孙鹏帅,等). Spectroscopy and Spectral Analysis(光谱学与光谱分析), 2023, 43(3): 767.
[8] WANG Zhan, TU Xing-hua(王 战,涂兴华). Optoelectronic Technology(光电子技术), 2024, 44(2): 152.
[9] Zhao P, Ding D, Li K T, et al. Optics Communications, 2024, 567: 130327.
[10] Qiu H F, Lan J Q, Hu H, et al. Infrared Physics and Technology, 2024, 141: 105466.
[11] Wang Y S, Chen S X, Kong Q M, et al. Optics and Lasers in Engineering, 2024, 181: 108420.
[12] Lorbeer R A, Bittner M, Kliebisch O, et al. IEEE Open Journal of Instrumentation and Measurement, 2024, 3: 70002.
[13] Tosi D. Sensors, 2017, 17(10): 2368.