Next Article in Journal
Spectral Broadening of Chirped Laser Pulse Caused by Four-Wave Mixing in BaWO4 Crystals
Next Article in Special Issue
A Fiber-Coupled Quartz-Enhanced Photoacoustic Sensor for Dissolved Gas Detection
Previous Article in Journal
Manipulation of Energy Flow with X-Type Vortex
Previous Article in Special Issue
Spectral Camouflage Characteristics and Recognition Ability of Targets Based on Visible/Near-Infrared Hyperspectral Images
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Principle and Performance Analysis of the Levenberg–Marquardt Algorithm in WMS Spectral Line Fitting

1
School of Physical Science and Information Technology, Liaocheng University, Liaocheng 252000, China
2
School of Physical Science and Technology, University of Jinan, Jinan 250022, China
*
Authors to whom correspondence should be addressed.
Photonics 2022, 9(12), 999; https://doi.org/10.3390/photonics9120999
Submission received: 27 November 2022 / Revised: 11 December 2022 / Accepted: 15 December 2022 / Published: 18 December 2022
(This article belongs to the Special Issue Applications of Laser Spectroscopy)

Abstract

:
Calibration-free wavelength modulation spectroscopy (WMS) is an efficient technique for trace gas monitoring. It is widely used due to its resistance to light intensity fluctuations, strong suppression of low-frequency noise, fast response time, and excellent environmental adaptability. The calibration-free WMS often employs the Levenberg–Marquardt algorithm for spectral fitting to retrieve gas characteristics. However, to the best of our knowledge, an analysis of the main factors affecting the operational effectiveness of the Levenberg–Marquardt algorithm in calibration-free WMS has merely been reported. In this paper, we have systematically analyzed the Levenberg–Marquardt algorithm’s operating mechanism in WMS-2f/1f. The results show that the number of parameters and the estimation errors of the initial parameters are the main factors limiting the retrieval accuracy of the algorithm, which provides some important guidelines for the subsequent optimization of the spectral fitting scheme.

1. Introduction

Wavelength modulation spectroscopy (WMS) is a non-contact technique for trace gas monitoring which is widely used due to its high sensitivity and fast dynamic response [1,2,3,4,5]. In conventional WMS, the measurement signal requires calibration with a gas mixture of known concentrations, which limits the application of WMS technology in harsh environments (high temperature or pressure) or where the relevant gas conditions are poorly known.
Researchers have recently developed numerous calibration-free techniques to address this issue [6,7,8,9,10,11,12]. Li et al. created a WMS analytical model that can be simulated using readily available laser parameters and an absorption spectrum [13]. This method can eliminate the majority of calibration factors and infer gas parameters. Rieker et al. utilized the first harmonics to normalize the second harmonics (WMS-2f/1f) and extended the WMS analysis model to the field of combustion monitoring to retrieve the temperature and concentration of water vapor simultaneously [14]. Our research group has proposed a sensitive second harmonic phase angle measurement method capable of background-free gas monitoring [15]. However, the retrieval accuracy of gas parameters using these techniques generally depends on the comprehensive characterization of the target transition’s line shape parameters (such as collisional broadening coefficients) and the laser parameters, which typically require extensive laboratory work. This challenge can be avoided by using the methodology of Christopher et al. [16]. They set the target transition’s line shape parameters and the gas concentration as parameters to be estimated and used the Levenberg–Marquardt (LM) algorithm to perform spectral line fitting to retrieve the gas’s condition. Due to its lower requirements for line shape and laser parameter characterization, this LM methodology has been extensively used for highly sensitive and robust measurements of gas conditions. Combining the LM algorithm with dual-spectroscopy techniques, Li et al. developed a mid-infrared laser-trace gas sensor capable of online monitoring the concentration of multi-component gases [17]. Zang et al. proposed a method to retrieve high-temperature spectral line parameters using the LM algorithm for least-squares fitting absorption spectra in the combustion flow field [18]. Raza et al. developed a dual-species (CO/NH3) sensor based on the LM methodology for high-temperature measurements [19]. However, an analysis of the main factors affecting the operational effectiveness of the LM algorithm in calibration-free WMS has merely been reported. In this paper, we have systematically analyzed the Levenberg–Marquardt algorithm’s operating mechanism in WMS-2f/1f.

2. Methodology

2.1. WMS-2f/1f Theoretical Model

The injected current of the laser diode is periodically modulated by a high-frequency sinusoidal signal to produce an instantaneous optical frequency v(t) and light intensity I0(t):
ν ( t ) = ν + Δ ν cos ( ω t )
I 0 ( t ) = I ¯ 0 [ 1 + i 1 cos ( ω t + ψ 1 ) + i 2 cos ( 2 ω t + ψ 2 ) ]
where v is the laser center frequency, Δv is the modulation depth, I 0 ¯ is the average light intensity, i1 and i2 are the intensity amplitudes of the first- and second-order (normalized by I 0 ¯ ), ψ1 is the FM/IM phase shift, and ψ2 is the phase shift between the FM and the nonlinear IM.
According to the Beer–Lambert law, the spectroscopic absorbance can be written as:
τ ( v ( t ) ) = I ( t ) I 0 ( t ) = exp [ P C L S ( T ) ϕ ν ] = exp [ A ϕ ν ]
where I(t) and I0(t) are the transmitted and incident laser intensities, P is the total gas pressure, S(T) is the strength of the absorption line at T temperature, Φv is a line-shape function of the absorption spectrum of the gas, C is the concentration of the gas to be measured, L is the length of the optical range, and A is the integrated absorbance.
The τ(v(t)) can be expanded in a Fourier cosine series, with the H term as follows:
H 0 ( v ( t ) ) = 1 2 π π π τ ( v ( t ) ) d θ
H k ( v ( t ) ) = 1 π π π τ ( v ( t ) ) cos ( k θ ) d θ
the I(t) signal is input into the lock-in amplifier (LIA) to extract the Xnf and Ynf to determine WMS-2f/1f, given by Equation (6):
WMS - 2 f / 1 f = ( X 2 f X 1 f ) 2 +   ( Y 2 f Y 1 f ) 2 = ( H 2   +   i 1 2 ( H 1   +   H 3 ) cos ψ 1   +   i 2 H 0 cos ψ 2 H 1   +   i 1 ( H 0   +   H 2 2 ) cos ψ 1   +   i 2 2 ( H 1   +   H 3 ) cos ψ 2 ) 2   +   ( i 1 2 ( H 1     H 3 ) sin ψ 1   +   i 2 H 0 sin ψ 2 i 1 ( H 0     H 2 2 ) sin ψ 1   +   i 2 2 ( H 1     H 3 ) sin ψ 2 ) 2 = F ( A , m , i 1 , i 2 , ψ 1 , ψ 2 )
from Equation (6), it is clear that the WMS-2f/1f spectral model is a function of transition integrated absorbance and laser tuning parameters. For an isolated absorption line, the modulation index m is defined by 2Δvvc, where Δvc is the full width at half maximum (FWHM) of the gas absorption line.

2.2. LM Algorithm Overview

The LM algorithm is a classical optimization algorithm between the steepest gradient descent method and the Gauss–Newton method. Its fundamental concept is to optimize the nonlinear least squares problems by performing differentiation operations on the artificial initialization parameters [20].
The LM-based spectral fitting technique aims to find the optimal solution β to minimize the error function between the simulated and measured spectra. The expression of the error function z is described as follows:
z = min β R i = 1 N F i ( β ) - y i 2   ,
where i = 1, 2, 3, ..., N (given a spectral data set), F(β) is the simulated WMS-2f/1f spectrum given by Equation (6), and y is the measured spectrum. The LM algorithm updates the parameter β with the coefficient matrix (JTJ + μI) along the negative gradient direction, and the parameter update equation can be described as:
β t d + 1 = β d t ( J T J + μ I ) 1 J T z
where d = 1, 2, 3, ..., D (estimated parameters), t + 1 denotes the t + 1th iteration, I denotes the unit matrix, μ is the damping coefficient, and μ is sensitive to the initial parameter’s estimated values. If the initial parameter estimates are appropriately chosen, the damping coefficient μ will be infinitely small. Equation (8) is transformed into the Gauss–Newton equation,
β t d + 1 = β d t ( J T J ) 1 J T z
where JTz is the gradient, JTJ approximates the Hessian matrix, and the Hessian is the matrix of its second partial derivatives associated with the estimated parameters D.
H e s s i a n ( z ) = [ 2 z β 1 2 2 z β 1 β 2 2 z β 1 β D 2 z β 2 β 1 2 z β 2 2 2 z β 2 β D 2 z β D β 1 2 z β D β 2 2 z β D 2 ] i = 1 N [ F i β 1 F i β 1 F i β 1 F i β 2 F i β 1 F i β D F i β 2 F i β 1 F i β 2 F i β 2 F i β 2 F i β D F i β D F i β 1 F i β D F i β 2 F i β D F i β D ]
If the initial parameter estimates are not appropriately chosen, the damping coefficient μ will keep increasing. Equation (8) is reduced to the steepest gradient descent method equation,
β t d + 1 = β d t ( μ I ) 1 J T z
where J ∈ RN×D is the Jacobian. This is a matrix containing the first partial derivatives associated with the estimated parameters D. JT is the transposed J matrix, which specifically states that Equation (8) is a function of the Jacobian J.
J = [ F 1 β 1 F 1 β 2 F 1 β D F 2 β 1 F 2 β 2 F 2 β D F N β 1 F N β 2 F N β D ]

2.3. The Design Process of the LM-Based Spectral Fitting Technique

The laser tuning parameter F(β) can be characterized in the laboratory according to the procedures in [13], or the laser tuning parameter and the integrated absorbance can be set together as estimated parameters, and the absorption information of gas can be obtained by the LM fit between the measured and simulated spectra. In the optimization process, β is defined as β = [ m , A , i 1 , i 2 , ψ 1 , ψ 2 ] :
Step 1:
Initial weights. Let the number of iterations t = 0, the adjustment of the appropriate coefficient, μ, initial parameter, β, and the error tolerance, ε, be set;
Step 2:
The Jacobian matrix J is calculated according to the current parameters;
Step 3:
During iterative optimization, the parameter βt+1 is updated by Equation (8);
Step 4:
Based on the updated parameters, the error between the simulated and measured spectra is recalculated. If z > ε, adjust the damping factor μ and return to Step 2. Otherwise, the iteration is terminated, and the results are output.
The flow chart of LM-based spectral fitting for extracting gas absorption information is shown in Figure 1. Once the fitting routine has converged, the best-fit integrated absorbance A is used to calculate the gas concentration:
C Sim = A P S ( T ) L

3. Simulation Results and Analysis

This section analyzes the main factors affecting the operational effectiveness of the LM algorithm in the WMS-2f/1f system using the MATLAB R2019b simulation software. In this case, the computer has the following specifications: CPU: i5-10400F; RAM: 8 GB.
The P (13) spectral line of acetylene gas at 1532.83 nm was selected as the simulation target spectral line and periodically scanned to collect a set of reference data, recorded as y. The main parameters used in the simulation are listed in Table 1.
In order to better analyze and evaluate the main factors affecting the operational effectiveness of the LM algorithm in the WMS-2f/1f system, the relative error of concentration Cδ, the fitting degree H, and convergence time are introduced. The calculation equations are shown in Equations (14) and (15), respectively. It can be seen from the equation that the smaller the relative error of concentration and the fitting degree, the closer the fitted value is to the accurate value, and the better the operational effectiveness of the LM algorithm.
H = i = 1 N ( F i y i ) 2
C δ = | C Sim - C | C × 100 %

3.1. Effect of the Number of Estimated Parameters

The effect of the number of estimated parameters in the WMS-2f/1f model on the operational effectiveness of the LM algorithm for concentration retrieval is analyzed. Figure 2 shows that when the number of estimated parameters in the WMS-2f/1f model increases from two to six (the integrated absorbance A is fixed as the estimated parameter), the relative error curve of concentration increases nonlinearly. The specific comparison results are shown in Table 2.
According to Table 2, for two estimated parameters (other parameters not listed are accurate values), Cδ is 1.5%, H is 3.2 × 10−8, and the convergence time is 104 s. With the increase in the number of estimated parameters, the retrieval results in Table 2 become worse. In the case of six estimated parameters, Cδ is 6.0%, H is 3.0 × 10−3, and the convergence time is 236 s. In summary, there is a negative correlation between the operational performance of the LM algorithm and the number of estimated parameters in the WMS-2f/1f model.
In Section 3.1, we conclude that the accuracy of the retrieval of gas concentration decreases as the number of estimated parameters increasing. We further analyze the reasons for this phenomenon. As mentioned in Section 2.2, the Jacobian J is the matrix that is the first partial derivative of the estimated parameters. As the number of estimated parameters used for the calculation increases, the size of the J matrix will increase. Additionally, the primary parameter update equation, Equation (8), in the LM algorithm is a function of the Jacobian J. The variation in the matrix size of J directly leads to an increase in its computational dimensionality, which ultimately affects the operational performance of the LM algorithm for concentration monitoring.

3.2. Effect of Estimation Errors of the Initial Parameters

The operational effectiveness of the LM algorithm for concentration retrieval under different estimation errors of the initial parameters (absolute error between the initial parameter, the estimated value, and the accurate value) is analyzed. Figure 3 shows that the relative error curve of concentration increases with the estimation errors of the initial parameters.
According to Table 3, we analyzed the changes in retrieval accuracy during similar convergence times, using the relative error of concentration and fitting degree as evaluation indicators. In the case of 1% estimation errors, Cδ is 1.2%, and H is 3.6 × 10−12. The overall operating performance of the LM algorithm is good. In the case of 5% estimation errors, Cδ is 5.8%, and H is 1.4 × 10−9. Compared with the 1% estimation error case, Cδ increases about five times, and H decreases by three orders of magnitude. The overall operating performance of the LM algorithm is poor. In short, a negative correlation exists between the operational performance of the LM algorithm and the estimation errors of the initial parameters.
Section 3.2 concludes that the accuracy of gas concentration and effectiveness decreases as the estimation errors of the initial parameters increasing. We analyze the reasons for this situation. The LM algorithm is sensitive to the initial parameter estimates used for selection. When the estimation errors of the initial parameters are small, the initial parameter estimated values are sufficiently close to the accurate values. As mentioned in Section 2.2, the damping coefficient μ will be infinitely small, and Equation (8) is transformed into the Gauss–Newton equation (9). The Gauss–Newton algorithm with second-order convergence performance dominates the LM algorithm. The Taylor expansion of the function F ignores the higher-order derivatives of the estimation errors, making a linear approximation in the neighborhood of the initial parameter estimated values, and converting the nonlinear least squares problem into a linear least squares problem for the optimal solution β. The comparison results in Table 3 (estimation errors ≤ 4%) show that the overall operating performance of the LM algorithm is good. In the opposite case, when the estimation errors of the initial parameters are large, the initial estimated parameter values are far from the accurate values. The damping coefficient μ will keep increasing, so Equation (8) is reduced to the steepest gradient descent method, Equation (11). The steepest gradient descent algorithm with first-order convergence performance dominates the LM algorithm. The comparison results in Table 3 show that the LM algorithm performs poorly in the operation of concentration monitoring.
From the analysis in Section 3, we know that both the number of parameters and the estimation errors of the initial parameters are negatively related to the operational performance of the LM algorithm. For cases where the accuracy of the gas concentration retrieval decreases with the increase in the estimated parameters used for calculations, we generally pre-characterize the laser tuning parameters in all estimated parameters to address it, which typically requires extensive laboratory work. This workload problem can be well avoided if the reference signal without gas absorption is employed for normalization. During normalization, their common variations, such as the laser’s intensity fluctuation and phase shift, are eliminated, and the linearity of the spectral model is effectively improved. For example, the authors of [21] described a logarithmically transformed two-beam scheme in which F is a function of the absorption line shape. It is not necessary to consider the laser tuning parameters.
For this situation, the LM algorithm is sensitive to the choice of the initial parameter estimates and generally requires continuous debugging to determine the optimal parameters. However, this method is greatly affected by human factors and has lower efficiency. Swarm intelligence algorithms such as the particle swarm optimization algorithm, the artificial fish swarm algorithm, and the ant colony optimization algorithm, which have become more popular non-linear optimization algorithms in recent years, have been widely recognized for their effectiveness and accuracy. Compared with classical LM algorithms, swarm intelligence algorithms can effectively realize the automatic selection of optimal parameters through information interaction between populations. Therefore, the spectral fitting technique based on the swarm intelligence algorithm may help to improve the convergence efficiency and reduce the estimation errors of the initial parameters.

4. Conclusions

This paper analyzes the operational principle of the LM algorithm for spectral line fitting in WMS-2f/1f and further discusses the main factors affecting the retrieval effect of the LM algorithm. The results show that both the number of parameters and the estimation errors of the initial parameters are negatively related to the operational performance of the LM algorithm. In addition, this paper focuses on analyzing the reasons for this phenomenon based on the theoretical formulation derivation and provides targeted solutions for the issues presented in the LM algorithm. For example, pre-characterization processing and reference signal normalization are employed to reduce the number of estimated parameters. A swarm intelligence algorithm is used to reduce the estimation errors effectively.
Finally, as there are more estimated parameters in the fitting routine, the LM algorithm will perform worse. Currently, the characterization workload will be reduced. On the contrary, there are fewer estimated parameters in the fitting routine, which means that the characterization workload will increase, and the overall performance of the LM algorithm will improve. Therefore, the number of estimated parameters and the estimation errors of the initial parameters need to compromise the operational effectiveness of this algorithm and the characterization workload. This paper provides some important guidelines for the subsequent improvement and optimization of the spectral fitting scheme.

Author Contributions

Conceptualization, C.Z., Y.S., and T.Z.; methodology, Y.S.; software, Y.S. and T.Z.; investigation, Y.S., T.Z., and K.L.; data curation, Y.S. and P.W.; writing—original draft preparation, Y.S.; writing—review and editing, C.Z., Y.S., P.W., and F.P.; funding acquisition, C.Z. and F.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (No. 61705080), the Promotive Research Fund for Excellent Young and Middle-aged Scientists of Shandong Province (Nos. ZR2016FB17 and BS2015DX005), the Youth Innovation Technology Support Program of Shandong Province Colleges and Universities under Grant (No. 2019KJJ011), the Scientific Research Foundation of Liaocheng University (No. 318012101), and the Startup Foundation for Advanced Talents of Liaocheng University (Nos. 318052156 and 318052157).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data underlying the results presented in this paper are not publicly available at this time but may be obtained from the authors upon reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Du, Y.; Lan, L.; Ding, Y.; Peng, Z. Measurement of the absolute absorbance based on wavelength modulation spectroscopy. Appl. Phys. B-Lasers Opt. 2017, 123, 1–11. [Google Scholar] [CrossRef]
  2. Du, Y.; Peng, Z.; Ding, Y. Wavelength modulation spectroscopy for recovering absolute absorbance. Opt. Express 2018, 26, 9263–9272. [Google Scholar] [CrossRef] [PubMed]
  3. Cui, R.; Dong, L.; Wu, H.; Li, S.; Zhang, L.; Ma, W.; Yin, W.; Xiao, L.; Jia, L.; Tittel, F.K. Highly sensitive and selective CO sensor using a 2.33 μm diode laser and wavelength modulation spectroscopy. Opt. Express 2018, 26, 24318–24328. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Zhu, C.; Chu, T.; Liu, Y.; Wang, P. Modeling of Scanned Wavelength Modulation Spectroscopy Considering Nonlinear Behavior of Intensity Response. IEEE Sens. J. 2021, 22, 2301–2308. [Google Scholar] [CrossRef]
  5. Xia, J.; Zhu, F.; Bounds, J.; Aluauee, E.; Kolomenskii, A.; Dong, Q.; He, J.; Meadows, C.; Zhang, S.; Schuessler, H. Spectroscopic trace gas detection in air-based gas mixtures: Some methods and applications for breath analysis and environmental monitoring. J. Appl. Phys. 2022, 131, 220901–220925. [Google Scholar] [CrossRef]
  6. Duffin, K.; McGettrick, A.J.; Johnstone, W.; Stewart, G.; Moodie, D.G. Tunable diode-laser spectroscopy with wavelength modulation: A calibration-free approach to the recovery of absolute gas absorption line shapes. J. Lightwave Technol. 2007, 25, 3114–3125. [Google Scholar] [CrossRef]
  7. Qu, Z.; Ghorbani, R.; Valiev, D.; Schmidt, F.M. Calibration-free scanned wavelength modulation spectroscopy–application to H2O and temperature sensing in flames. Opt. Express 2015, 23, 16492–16499. [Google Scholar] [CrossRef] [PubMed]
  8. Behera, A.; Wang, A. Calibration-free wavelength modulation spectroscopy: Symmetry approach and residual amplitude modulation normalization. Appl. Optics 2016, 55, 4446–4455. [Google Scholar] [CrossRef] [PubMed]
  9. Upadhyay, A.; Wilson, D.; Lengden, M.; Chakraborty, A.L.; Stewart, G.; Johnstone, W. Calibration-free WMS using a CW-DFB-QCL, a VCSEL, and an edge-emitting DFB laser with in-situ real-time laser parameter characterization. IEEE Photonics J. 2017, 9, 1–17. [Google Scholar] [CrossRef] [Green Version]
  10. Yang, C.; Mei, L.; Deng, H.; Xu, Z.; Chen, B.; Kan, R. Wavelength modulation spectroscopy by employing the first harmonic phase angle method. Opt. Express 2019, 27, 12137–12146. [Google Scholar] [CrossRef]
  11. Roy, A.; Chakraborty, A.L. Intensity modulation-normalized calibration-free 1f and 2f wavelength modulation spectroscopy. IEEE Sens. J. 2020, 20, 12691–12701. [Google Scholar] [CrossRef]
  12. Li, R.; Li, F.; Lin, X.; Yu, X. Linear calibration-free wavelength modulation spectroscopy. Microw. Opt. Technol. Lett. 2021, 4, 1–7. [Google Scholar] [CrossRef]
  13. Li, H.; Rieker, G.B.; Liu, X.; Jeffries, J.B.; Hanson, R.K. Extension of wavelength-modulation spectroscopy to large modulation depth for diode laser absorption measurements in high-pressure gases. Appl. Optics 2006, 45, 1052–1061. [Google Scholar] [CrossRef] [PubMed]
  14. Rieker, G.B.; Jeffries, J.B.; Hanson, R.K. Calibration-free wavelength-modulation spectroscopy for measurements of gas temperature and concentration in harsh environments. Appl. Optics 2009, 48, 5546–5560. [Google Scholar] [CrossRef] [PubMed]
  15. Zhu, C.; Wang, P.; Chu, T.; Peng, F.; Sun, Y. Second Harmonic Phase Angle Method Based on WMS for Background-Free Gas Detection. IEEE Sens. J. 2021, 13, 1–6. [Google Scholar] [CrossRef]
  16. Goldenstein, C.S.; Strand, C.L.; Schultz, I.A.; Sun, K.; Jeffries, J.B.; Hanson, R.K. Fitting of calibration-free scanned-wavelength-modulation spectroscopy spectra for determination of gas properties and absorption line shapes. Appl. Optics 2014, 53, 356–367. [Google Scholar] [CrossRef]
  17. Li, J.; Deng, H.; Sun, J.; Yu, B.; Fischer, H. Simultaneous atmospheric CO, N2O and H2O detection using a single quantum cascade laser sensor based on dual-spectroscopy techniques. Sens Actuators B-Chem. 2016, 231, 723–732. [Google Scholar] [CrossRef]
  18. Zang, Y.; Xu, Z.; Xia, H.; Huang, A.; He, Y.; Kan, R. Method for Measuring High Temperature Spectral Line Parameters Based on Calibration-Free Wavelength Modulation Technology. Chin. J. Lasers 2020, 47, 278–285. [Google Scholar]
  19. Raza, M.; Ma, L.; Yao, S.; Chen, L.; Ren, W. High-temperature dual-species (CO/NH3) detection using calibration-free scanned-wavelength-modulation spectroscopy at 2.3 μm. Fuel 2021, 305, 1–8. [Google Scholar] [CrossRef]
  20. Levenberg, K. A method for the solution of certain non-linear problems in least squares. Q. Appl. Math. 1944, 2, 164–168. [Google Scholar] [CrossRef] [Green Version]
  21. Liger, V.; Mironenko, V.; Kuritsyn, Y.; Bolshov, M. Advanced Fiber-Coupled Diode Laser Sensor for Calibration-Free 1f-WMS Determination of an Absorption Line Intensity. Sensors 2020, 20, 6286. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Flow chart of LM-based spectral fitting.
Figure 1. Flow chart of LM-based spectral fitting.
Photonics 09 00999 g001
Figure 2. The relative error of concentration under different numbers of parameters in the model.
Figure 2. The relative error of concentration under different numbers of parameters in the model.
Photonics 09 00999 g002
Figure 3. The relative error of concentration under the different estimation errors of the initial parameters.
Figure 3. The relative error of concentration under the different estimation errors of the initial parameters.
Photonics 09 00999 g003
Table 1. List of model parameters.
Table 1. List of model parameters.
ParametersAccurate Value
C [ppmv]296
i10.20
i23 × 10−3
ψ1[π]1.60
ψ2[π]1.50
m[cm−1]1.43
Δvc/2[cm−1/atm]0.0777
Table 2. Comparison results under a different number of estimated parameters.
Table 2. Comparison results under a different number of estimated parameters.
Estimated ParametersRelative Error of Concentration Cδ (%)Fitting Degree HConvergence
Time (s)
2 [m, A]1.53.2 × 10−8104
3 [m, i1, A]2.98.7 × 10−7140
4[m, i1, i2, A]3.45.4 × 10−6173
5[m, i1, i2, ψ1, A]4.81.9 × 10−5201
6[m, i1, i2, ψ1, ψ2, A]6.03.0 × 10−3236
Table 3. Comparison results under the different estimation errors of the initial parameters.
Table 3. Comparison results under the different estimation errors of the initial parameters.
Estimation Errors of the Initial Parameters (%)Relative Error of Concentration Cδ (%)Fitting Degree HConvergence
Time (s)
11.23.6 × 10−12243
21.61.6 × 10−11241
32.74.2 × 10−11239
43.58.2 × 10−11238
55.81.4 × 10−9244
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sun, Y.; Wang, P.; Zhang, T.; Li, K.; Peng, F.; Zhu, C. Principle and Performance Analysis of the Levenberg–Marquardt Algorithm in WMS Spectral Line Fitting. Photonics 2022, 9, 999. https://doi.org/10.3390/photonics9120999

AMA Style

Sun Y, Wang P, Zhang T, Li K, Peng F, Zhu C. Principle and Performance Analysis of the Levenberg–Marquardt Algorithm in WMS Spectral Line Fitting. Photonics. 2022; 9(12):999. https://doi.org/10.3390/photonics9120999

Chicago/Turabian Style

Sun, Yongjie, Pengpeng Wang, Tingting Zhang, Kun Li, Feng Peng, and Cunguang Zhu. 2022. "Principle and Performance Analysis of the Levenberg–Marquardt Algorithm in WMS Spectral Line Fitting" Photonics 9, no. 12: 999. https://doi.org/10.3390/photonics9120999

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop