4.1. Optical Absorption Spectroscopy Analysis
To improve the accuracy of optical absorption spectroscopy analysis, which is often frustrated by imperfect response, interference, and electronic noise [
24,
25,
36,
37,
38] in signal acquisition and processing, we applied the MFW-LM algorithm to molecular absorption line modeling of H
2O and compared the measurement uncertainty of the temperature and pressure calculated by the fitting results of the MFW-LM and the LM algorithms.
H
2O spectral intensity and line shape were used to calculate temperature, and pressure by the LM algorithm based on wavelength-modulation spectroscopy (WMS) [
39]. The fitted mathematical expression was determined by the center absorption wavenumber
ν0, integral absorbance
Ai, and Lorentzian broadening Δ
νL [
40]. The molecular absorption line modeling
M that was used for the fitting is introduced by Equations (8)–(10):
where
M is the molecular absorption line modeling;
A is integral absorbance;
i0 = 0.036 and
ψ = 1.12π are parameters of the laser;
Hi is the
ith harmonic signal;
φv is the Voigt profile;
GHz is the center frequency of the laser;
a = 0.065 cm
−1 is the modulation amplitude;
θ∈[−π, π];
ν is absorption wavenumber; ν
0 is the center absorption wavenumber; Δ
νL is the Lorentzian broadening; Δ
νG is the Gaussian broadening;
is the half width at half maximum (HWHM) of Voigt;
cL and
cG are weights, which are related to the absorption lineshape [
41].
Gas temperature T was calculated according to the line-strength ratio R =
Ai/
Aj [Equation (11)], which is a fourth-order polynomial obtained by fitting the data provided by the HITRAN database [
42]. Pressure P can be inferred by combining Equations (12) to (13):
where
T is the gas temperature;
k1,
k2,
k3,
k4, and
k5 are polynomial coefficients (
Table 3);
R is the line-strength ratio; Δ
νL is Lorentzian broadening;
is the concentration of H
2O;
γself and
γmix, calculated by
, are the self-broadening coefficient of H
2O and the mix-broadening coefficient of H
2O with other gas compounds, respectively;
is the broadening factor at the reference temperature;
nj is the temperature index, which is typically 0.5; A is integral absorbance;
S is the line strength; and
L is the optical path length.
The temperature of the experimental environment measured by a thermocouple was T = 350 K. Then, the pressure calculated according to the ideal gas law was P = 1.18 atm. The temperature and pressure measurement uncertainties obtained by the LM algorithm were 2.6% and 6.8%, respectively.
To weaken the roles of outliers and distorted signals on curve fitting, we used the proposed MFW-LM algorithm to refit the raw observations. The empirical estimates of
ν0,
Ai and Δ
νL were regarded as initial parameters. The parameters and weighting functions (the membership functions) were set for the LM fitting program by Labview software. By repeating multiple iterations, once the sum of squared residuals
R(
) minimizing, the fitting process will converge to the unique solution, the optimal parameters, and the molecular absorption lineshape of H
2O was obtained by the MFW-LM fit. Based on the robustness of the MFW-LM algorithm, the observed signals obtained by sensors with different responsivity can be fitted. Observations and sensor responsivity are one-to-one corresponding, so the limit values and critical values of the observations can be taken as the key parameters of the membership function (see
Table 4), so that the responsivity of the photodetector (PDA10CS-EC, Thorlabs Inc., Newton, NJ, USA) used in the experiment is not needed to be tested or corrected. The parameters of the membership function, following Equation (1), were set based on the molecular absorption lineshape of H
2O collected by this photodetector as shown in
Table 4. The
ymax and
ymin are limited values of the observations’ amplitude.
y1 and
y2 are the two thirds of the observations’ amplitude. The variables of the molecular absorption line modeling of H
2O are continually updated and iterated until a set of variables is found to minimize the
R(
) (Equation (4)).
The molecular absorption lineshape of H
2O and the fitting results of the LM and the MFW-LM algorithms are shown in
Figure 4 and
Table 5.
The integral absorbance ratio (i.e., R) was obtained from the two absorption peaks 1 and 2 of H
2O. Substituting it into Equation (11), we can calculate the gas temperature T. In Equations (12) and (13), the parameters other than the pressure P and H
2O concentration
are constants or the known parameters obtained by the fitting signal. Therefore, the pressure P and H
2O concentration
can be obtained by combining Equations (12) and (13). The calculated results and uncertainty analysis of the gas temperature T and pressure P are shown in
Table 5.
We then took the measurement results from 50 repeated experiments under the same experimental conditions to compare them with the truth values, as shown in
Figure 5.
The relative standard deviation (RSD) was used to represent the calculation error of key parameters:
where
vi is the calculated value,
vb the truth value, and
N the number of data points.
It can be seen that while the MFW-LM algorithm resulted in a slightly lower NRMSD of the signal line profile, it reduced the relative error of the gas temperature and pressure calculated from the fitting result by 42.9% and 61.8%, respectively. The RSDs of the temperature and pressure of the 50 repeated experiments calculated by the LM and the MFW-LM algorithms were reduced from 2.4% to 1.1% and from 3.4% to 1.7%, respectively; that is, the measurement uncertainties of temperature and pressure calculated by the MFW-LM algorithm were dramatically reduced by 53.3% and 43.5%, respectively, compared with that calculated by the LM algorithm.
4.2. Reconstruction of Laser-Beam Profile
We used the MFW-LM algorithm to reconstruct a laser-beam profile from heavily distorted observations to capture more optical signal details lost in the unsaturated laser-beam profile obtained with a neutral density filter or a beam splitter in front of the image sensors.
Laser-beam profile is usually measured by image sensors to improve detection efficiency. At present, the analog-to-digital converter of an image sensor is mostly 8- or 10-bit, which means that the dynamic range (DNR) of a sensor is only 256 or 1024. In order to avoid image sensor saturation, the usual practice is to pick off a small fraction of the beam with a neutral density filter or a beam splitter in front of the image sensors, resulting in the serious loss of laser-beam profile details and the inaccurate reflection of laser-beam spatial characteristics. For example, due to the pixel resolution of the image sensor, only a few intensity points can be resolved within the dramatically changing range of the laser-beam profile, and the analysis of the laser-beam profile based on a small amount of data is considered to be unreliable. If we do not do this, even if it causes slight saturation on the laser-beam profile, the MFW-LM algorithm has been simulated and verified to accurately reconstruct the laser-beam profile, so that more intensity points of the laser-beam profile can be distinguished, giving us a chance to mine hidden information (as shown in
Figure 6).
When measuring the laser-beam profile, we increased the incident-laser intensity (or the integration time) beyond the DNR but below the damage threshold of the image sensor to reflect the low intensity in details, which inevitably results in saturation and distortion. We then completed a high-precision reconstruction of the laser-beam profile by using the MFW-LM algorithm, which was proved to solve these problems.
The experimental setup was part of the research on mid-infrared laser-transmission characteristics in hollow waveguides (HWGs). The laser beam emitted from an interband cascade laser was collimated with an aspheric lens and coupled into a HWG by an off-axis parabolic mirror. An infrared camera (FLIR ThermoVision A40, Wilsonville, OR, USA) was used to measure the laser-beam profile near the waist.
To ensure that the laser-beam profile in the experiment could be described by a Gaussian function, we obtained the intact laser-beam profile with a neutral density filter or a beam splitter in front of the infrared camera and described it with two- and three-dimensional images, as shown in
Figure 7. In our numerous verification experiments, fitting degrees of the laser-beam profile and Gaussian function were all greater than 95.3%. Therefore, a Gaussian function was used to fit the laser-beam profile.
We increased the DNR of the infrared camera equivalently by reducing the attenuation of laser intensity via an attenuation device and used the proposed MFW-LM algorithm to fit the observations, as shown in
Figure 8. The dotted solid curve in the upper panel of
Figure 8 is the raw data and the dashed blue curve is the curve fitted by the MFW-LM algorithm. The parameters of the membership function, following Equation (1), were set as in
Table 6.
The bottom panel of
Figure 8 shows the fitting residuals. The data in the areas marked by the red rectangles have the highest fidelity. The relative NRMSD of the MFW-LM algorithm in the red rectangular areas was as low as 4.1% [Equation (7)].
The laser-beam profiles measured and reconstructed in the case in which the DNR of the infrared camera was increased equivalently were compared using a neutral density filter or a beam splitter in front of the image sensors for signal measuring, as shown in
Figure 7. The larger points represent the data with high quality and credibility, while the smaller points indicate that the data had low quality in the purple area. From
Figure 6, we note the following clarifications:
After reconstructing the heavily distorted laser-beam profiles, the detected laser intensity at the edge of the spot was closer to 0, while the detected laser intensity in other areas was significantly increased, resulting in a significant improvement of the data’s quality.
The number of high-quality points used to study the laser-beam profile increased from 5 (larger points on the black fitted curve) to 23 (larger points on the red fitted curve), making the detail resolution of the laser-beam profile study significantly improved by 360% and the fitting results more accurate, which can provide more extracted information for the study of the spatial characteristics of the laser beam.
As the DNR of the infrared camera increased from 256 to 415 with the proposed MFW-LM algorithm, the detail resolution of the laser-beam profiles increased by an amazing 360%. Moreover, the MFW-LW algorithm ensured that the deviation between the fitting result and the raw data in the most reliable region was as low as 4.1%. Therefore, the MFW-LM algorithm achieved high-precision measurement and high dynamic-range imaging (HDRI) to capture optical signal details.