In the quantitative analysis of mixed gases by tunable diode laser absorption spectroscopy, the overlapping of absorption spectra and mutual interference of multi-component gases can lead to problems of large measurement errors and low analysis accuracy. In this paper, an improved firefly algorithm is proposed and applied to the support vector machine regression model to solve this problem. The specific method includes introducing an adaptive step size to balance the local and global searches and using the gradient descent method to accelerate the parameter optimization process so as to improve the model’s generalization ability and prediction accuracy. The experimental results show that the maximum errors of the improved algorithm in the prediction of CH4 and CO gas concentrations are no more than 0.0443 % and 2 ppm, with coefficients of determination, R2, of 0.9994 and 0.99815. The promising results obtained by the system provide theoretical support for the realization of high-precision detection of multicomponent gases with a single source of light, and also demonstrate the high efficiency and feasibility of the method in practical detection.
Read full abstract