基于ResNet和Transformer深度联合网络的TDLAS气体检测信号降噪算法研究
Research on Denoising Algorithm for TDLAS Gas Detection Signals Based on ResNet and Transformer Deep Joint Network
摘要: TDLAS技术的核心在于利用吸收谱线的峰形、峰位和线宽等特征来反演气体浓度等关键信息。然而,实际探测中不可避免地会受到光源不稳定、热噪声及干涉条纹等复杂噪声的干扰。这些噪声会淹没信号细节、扭曲峰形,严重影响测量精度,尤其是在低浓度检测场景下。传统的去噪方法往往难以在有效抑制噪声的同时保持谱线关键形状特征的完整性。为解决这一难题,本文提出了一种结合ResNet-1D与Transformer优势的混合神经网络框架(RTDNet)。该模型利用ResNet-1D强大的局部特征提取能力作为编码器,捕捉谱线的多尺度局部结构。同时,在瓶颈层引入集成了卷积前馈网络的Transformer模块,借助其自注意力机制来建模全局长程依赖关系,从而更好地识别和剔除复杂背景噪声。随后通过解码器和跳跃连接恢复信号细节。此外,针对处理长光谱数据的工程需求,模型还引入了窗口化滑动推理与重叠相加策略以满足计算约束。实验验证表明,RTDNet在不同信噪比条件下均能显著提升信号质量,有效降低误差,并在强噪声背景下稳定保持谱线的峰形与峰位特征。
Abstract: The core of TDLAS technology lies in utilizing characteristics such as the peak shape, peak position, and linewidth of absorption spectra to invert critical information like gas concentration. However, practical detection inevitably suffers from interference caused by complex noise sources such as light source fluctuation, detector thermal noise, and interference fringes. These noises obscure signal details, distort peak shapes, and severely degrade measurement accuracy, particularly in low-concentration detection scenarios. Traditional denoising methods often struggle to balance effective noise suppression with preserving the integrity of critical spectral shape features. To address this challenge, this paper proposes RTDNet, a hybrid neural network framework that combines the strengths of ResNet-1D and Transformer. The model leverages the powerful local feature extraction capability of ResNet-1D as an encoder to capture multi-scale local structures of the spectra. Meanwhile, a Transformer module integrated with a convolutional feed-forward network is introduced at the bottleneck layer, using its self-attention mechanism to model global long-range dependencies to better identify and eliminate complex background noise. Subsequently, signal details are recovered through a decoder and skip connections. Furthermore, to address engineering requirements for processing long spectral data, the model incorporates windowed sliding inference and overlap-add strategies to meet computational constraints. Experimental validation demonstrates that RTDNet significantly improves signal quality and effectively reduces errors across varying signal-to-noise ratios (SNRs), while stably preserving peak shape and position features under strong noise conditions.
文章引用:彭彦锴, 李野, 赵鹏. 基于ResNet和Transformer深度联合网络的TDLAS气体检测信号降噪算法研究[J]. 物理化学进展, 2026, 15(1): 28-38. https://doi.org/10.12677/japc.2026.151004

参考文献

[1] Wang, Y., Jiang, T., Wei, Y., Liu, T., Sun, T. and Grattan, K.T.V. (2018) TDLAS Detection of Propane and Butane Gas over the Near-Infrared Wavelength Range from 1678nm to 1686nm. Journal of Physics: Conference Series, 1065, Article 252006. [Google Scholar] [CrossRef
[2] 田川, 邹丽昌, 阮斌, 等. 基于EMD的中红外TDLAS检测低浓度NO优化方法研究[J]. 量子电子学报, 2021, 38(5): 661-668.
[3] 曹旺, 万元, 刘章进, 等. 基于TDLAS技术的变压器油中C2H4测量[J]. 电工技术, 2025(18): 250-253.
[4] 邵昊, 李博冉, 王凯, 等. 自适应滤波算法在二次谐波信号降噪中的应用[J]. 安全与环境学报, 2025, 25(4): 1534-1543.
[5] 赵成伟, 刘琨, 井建迎, 等. 基于小波优化神经网络的光谱气体浓度检测(特邀) [J]. 激光与光电子学进展, 2025, 62(19): 333-340.
[6] 方启明, 于庆, 张书林. 基于改进小波阈值的TDLAS系统一次谐波降噪算法研究[J]. 工矿自动化, 2025, 51(10): 78-84+103.
[7] 赵玉莹, 王乐, 黄天鹤, 等. 用于TDLAS二氧化碳气体检测的神经网络滤波方法[J]. 光谱学与光谱分析, 2025, 45(6): 1514-1520.
[8] Zhao, P., Ding, D., Li, K., Li, Y. and Jin, G. (2024) A Tunable Diode Laser Absorption Spectroscopy (TDLAS) Signal Denoising Method Based on LSTM-DAE. Optics Communications, 567, Article 130327. [Google Scholar] [CrossRef
[9] 张悦, 李勇, 李泽兵, 等. BP神经网络和PLS方法在TDLAS定量分析混合气体中的对比研究[J]. 量子光学学报, 2024, 30(3): 90-99.
[10] 朱永炳, 蔡玉琴, 蒋力耀, 等. 基于ECA-1D-CNN的TDLAS的静脉用药浓度定量分析方法研究[J]. 光谱学与光谱分析, 2025, 45(5): 1341-1347.
[11] Zakynthinos, A., Michalakopoulos, V., Sarmas, E. and Marinakis, V. (2026) Transfer Learning Techniques on Temporal Fusion Transformers for Short-Term Building Load Forecasting under Limited Data Conditions. Energy and Buildings, 354, Article 116935. [Google Scholar] [CrossRef
[12] Fan, Y., Chen, S., Feng, J., Shi, Y., Pan, Y., Ma, R., et al. (2025) A Variable Channels Multi-Pass Cell TDLAS-Based Trace Gas Sensor with Convolution Neural Network and Empirical Modal Decomposition Algorithm. Optics & Laser Technology, 192, Article 113700. [Google Scholar] [CrossRef