首页|基于改进的粒子群优化-反向传播神经网络的CO2红外吸收光谱定量分析

基于改进的粒子群优化-反向传播神经网络的CO2红外吸收光谱定量分析

扫码查看
在吸收光谱气体传感领域,实测光谱存在信噪比低和由光谱失真带来的线性度低的问题,使得传统的线性分析方法难以实现高准确度的气体体积分数反演。为此,本文提出了一种基于进化策略、参数调整策略双重改进的粒子群优化(IPSO)算法,并结合误差反向传播神经网络(BPNN),建立了网络初始连接权值和阈值优化的反向传播(BP)神经网络(IPSO-BPNN)气体体积分数反演模型。基于光频梳直接吸收光谱技术测量CO2 红外吸收光谱,构建了由训练集、验证集和测试集构成的多体积分数光谱数据集,用于IPSO-BPNN模型的气体体积分数反演性能测试。利用IPSO-BPNN模型对 14 种体积分数的CO2 气体进行了反演,结果表明,与粒子群优化算法优化的BP神经网络(PSO-BPNN)、BPNN、极限学习机(ELM)、支持向量机(SVM)、最大吸光度提取(MAE)法五种气体体积分数的反演方法相比,IPSO-BPNN模型的均方误差最小(1。95×10-6),相对误差绝对值的平均值最低(0。0112),决定系数最大(0。9997)。上述结果验证了IPSO-BPNN模型优异的鲁棒性以及在高准确度分子吸收光谱分析中重要的应用潜力。
Quantitative Analysis of CO2 Infrared Absorption Spectrum Based on Improved Particle Swarm Optimization-Back Propagation Neural Network
Objective In absorption spectroscopy for gas sensing,there are problems with low signal-to-noise ratio and low linearity caused by spectral distortion in measured spectra,which makes it difficult for traditional linear analysis methods to achieve high-precision gas concentration inversion.Artificial back propagation neural networks(BPNNs)are suitable for solving nonlinear problems.However,in the optimization problem of multiple local extrema,the final convergence value of the gradient descent algorithm which is usually employed as the training algorithm of artificial BPNNs is related to the initial value.Thus,traditional BPNNs may converge to the local optimal value due to the random initial connection weights and thresholds between neural nodes.Traditional particle swarm optimization(PSO)algorithms are prone to converge to local optima,thereby reducing the optimization effect.Therefore,we adopt an improved particle swarm optimization(IPSO)algorithm to optimize the initial connection weights and thresholds of the artificial BPNN and build an IPSO-BPNN gas concentration inversion model which has been proven to be high-precision and robust.Methods To enhance the local and global search capabilities of PSO algorithms,we conduct improvements on traditional PSO algorithms in terms of evolutionary strategy and parameter settings.Meanwhile,mutation operations are introduced into the PSO algorithm to increase the diversity of particles and enable them to jump out of local optima.In each iteration,each particle has a certain probability of mutation,and the position and velocity of the mutated particles will be randomly initialized again.To better balance the local and global search capabilities of PSO algorithms,we carry out dynamic adjustments to inertia weights,individual learning factors,group learning factors,and maximum speed.Then the IPSO algorithm is constructed.Additionally,we optimize the initial connection weights and thresholds of the BPNN using the IPSO algorithm to enhance the prediction accuracy of the BPNN.Then the IPSO-BPNN gas concentration inversion model is built.Results and Discussions A near-infrared CO2 gas sensing system is established based on direct absorption spectroscopy technology using a self-developed Er-doped fiber laser frequency comb.Meanwhile,this is combined with two tunable narrowband optical filters,an Er-Yb co-doped fiber amplifier,a multi-pass gas cell,and a grating spectral analyzer.This sensing system can be utilized for CO2 gas concentration detection in cellars,and can also be further adopted for the quantitative analysis of gases such as ammonia and acetylene by changing the optical filter wavelength.In the experiment,70 sets of CO2 gas samples with concentrations of 2%,4%,6%,8%,10%,12%,14%,16%,18%,20%,22%,24%,26%,and 28%are prepared by employing a gas distributor as training and validation samples.Among them,CO2 gas samples with concentrations of 2%,4%,6%,8%,10%,14%,16%,20%,22%,26%,and 28%are training set samples,and CO2 gas samples with concentrations of 12%,18%,and 24%are validation set samples.Then,14 sets of CO2 gas samples with different concentrations are prepared as testing set samples.Then we collect the background spectrum and the absorption spectrum of each gas sample with the wavelength range from 1572.23 to 1572.43 nm.After the spectrum collection,we calculate the absorbance spectrum of each gas sample based on the background spectrum and absorption spectrum of each collected gas sample.To eliminate the influence of baseline drift on spectral quantitative analysis,we adopt an iterative polynomial fitting baseline correction algorithm to perform baseline correction on the absorbance spectra.Additionally,we input the testing set data into the trained IPSO-BPNN gas concentration inversion model and predict the gas sample concentration of the testing set using a neural network.Meanwhile,five additional methods including PSO-BPNN,BPNN,extreme learning machine(ELM),support vector machine(SVM),and maximum absorbance extraction(MAE)are utilized for concentration inversion of the testing set data.The results are compared with the inversion results of the IPSO-BPNN model,and the mean square error,average absolute percentage error,determination coefficient,and program running time are evaluation indicators for algorithms.The IPSO-BPNN model obtains a minimum mean square error of 0.0195,a minimum average absolute percentage error of 0.0112,and a maximum determination coefficient of 0.9997 in concentration inversion.The results validate the sound robustness of the IPSO-BPNN model and its application potential in high-precision molecular absorption spectroscopy analysis.Conclusions We employ an IPSO algorithm to optimize the initial connection weights and thresholds of the BPNN,build an IPSO-BPNN gas concentration inversion model,and implement an optimized BPNN for precise gas concentration inversion from measured gas absorption spectra.A CO2 sensing system is established based on optical frequency comb direct absorption spectroscopy technology,with the CO2 absorbance spectra obtained.The training set,validation set,and testing set of the algorithm model are constructed,and the gas concentration inversion validation experiment of the model is carried out.The inversion performance of the IPSO-BPNN model is compared with that of five gas concentration inversion methods,including PSO-BPNN,BPNN,SVM,ELM,and MAE to verify the high accuracy of the IPSO-BPNN model in molecular absorption spectroscopy analysis and its application feasibility.In the future,we will further analyze the characteristic differences between the measured infrared absorption spectra and the standard infrared absorption spectra database.Meanwhile,the preprocessed standard infrared absorption spectra should be adopted as the training set and validation set to improve the efficiency of building the gas concentration inversion model.We will also apply this gas concentration inversion model to high-sensitivity gas sensing systems,and fully leverage the long optical path of the multi-pass cell/kilometer level resonant cavity and high-precision gas concentration inversion of the model to achieve lower detection limits and wider detection field applicability.

spectroscopy technologyinfrared gas detectiongas concentration inversionparticle swarm optimization algorithmback propagation neural network

吴旭阳、管港云、刘志伟、朱冰洁、耿子迅、郑传涛、严国锋、张宇、王一丁

展开 >

吉林大学电子科学与工程学院集成光电子学国家重点联合实验室,吉林 长春 130012

之江实验室光纤传感中心,浙江 杭州 311100

光谱技术 红外气体检测 气体体积分数反演 粒子群优化算法 反向传播神经网络

国家自然科学基金国家自然科学基金国家自然科学基金国家自然科学基金国家自然科学基金吉林省科技发展计划浙江省自然科学基金长春市重点研发项目

621750876223501662205301619602060046210511820230201054GXLTGY24F05000121ZGN24

2024

光学学报
中国光学学会 中国科学院上海光学精密机械研究所

光学学报

CSTPCD北大核心
影响因子:1.931
ISSN:0253-2239
年,卷(期):2024.44(11)