1. Introduction
In situ measurements of CO
2 emissions at industrial sites is of great significance in controlling carbon emissions and realizing the low-carbon operation of the process industry [
1,
2,
3,
4]. Spectrometry-based techniques have been widely used for gas monitoring due to the properties of non-contact, fast response, and so on [
5,
6,
7,
8], of which the tunable diode laser absorption spectroscopy combined with wavelength modulation spectroscopy (TDLAS-WMS) is one of the most popular technologies applied in the field measurement [
9,
10,
11,
12,
13]. The tunable diode laser scans across the absorption line at an extremely small bandwidth and the emitted wavelength is modulated by a frequency of kilohertz or even a megahertz sinusoidal signal. The gas parameters of the absorption line can then be acquired by analyzing the demodulated harmonics. Therefore, TDLAS-WMS achieves a higher signal-to-noise ratio (SNR) than other methodologies [
14,
15].
Traditional TDLAS-WMS, which is referred to as WMS-2f, uses the second harmonic to obtain the concentration [
16,
17]. However, this method needs to calibrate the second harmonic to the known gas concentrations. To obtain the absolute concentration using the second harmonic directly, some methods are developed to remove factors from the second harmonic, which could interfere with the concentration calculations (the so-called “calibration-free” methods). However, WMS-2f is only available for weak absorption with an absorbance of less than 5% [
18]. The calibration-free methods mainly include “
”, “
”, “
”, and so on. Nonetheless, no matter which calibration-free method is used, its application is always limited by the absorbance range. For example, the calibration-free “
” method can ensure the measurement accuracy with absorbance below 2% [
19,
20]. The calibration-free “
” is used for gas detection with absorbance below 10% when the first-order Fourier Expansion is used to approximate the Beer–Lambert law [
21,
22]. The absorbance can be extended to 30% when using the second-order Fourier Expansion [
23]. Even so, the calibration-free methods still cannot meet the needs of CO
2 emission detection at industrial sites, due to the large varying CO
2 concentrations in the open air of the process industry [
24,
25]. Additionally, in field applications, the laser light intensity, a parameter of harmonics, is easily disturbed by harsh environments, such as dust and mechanical vibrations, which renders the calibration-free methods ineffective.
The long-tune spectrum allows for the simultaneous detection of multiple gases or multiple absorption lines of the same gas; thus, it can enhance the measurement precision and anti-interference ability [
19,
26]. Moreover, the multiple absorption lines enable us to determine the laser-tuning parameters and the scanning wavelength using the positions of absorption lines. Natural logarithmic WMS (ln-WMS) is proposed for operating WMS-2f in any absorbance since the laser light intensity is filtered out in the demodulation process [
27]. Therefore, when ln-WMS is combined with the long-tune spectrum, it is expected to conduct calibration-free measurements of the gas concentration in any absorbance. However, according to our explorations, in long-tune ln-WMS, the background signal induced by the residual amplitude modulation (RAM) is different from traditional WMS in that the background signal would be enhanced to a nonlinear curve. It cannot be neglected and is required to be eliminated, especially for weak absorbance or over-modulations. Currently, there is limited research on removing the background from the harmonic. Li et al. [
27] used a separated non-absorbance laser beam to search the laser light phase and set the background of the first harmonic to zero. However, the method can only zeroize the background of odd harmonics, while the even harmonics still retain the background signal at its maximum. Moreover, the harmonic amplitudes are restricted by the sin/cos phase shift, resulting in poor measurement precision. Upadhyay et al. proposed a calibration-free second harmonic extraction technique to eliminate RAM signals unrelated to absorption [
28]. However, it is used for conventional WMS with a single absorption line. We used an FFT algorithm to detect the phase shift between the wavelength and intensity modulation and used the detected phase shift for RAM elimination in the long-tune spectrum [
20], which is also only promoted for traditional WMS.
Based on previous studies, this article focuses on the long-tune ln-WMS method for gas sensing and studies the way to enhance measurement accuracy by eliminating the background signal in harmonics. Three CO
2 absorption lines and one H
2O absorption line near 2004 nm are utilized for simulating and testing the harmonics. The influences of light intensity, modulation depth, gas concentration, and modulation frequency (phase shift) on the background and amplitude of harmonics are investigated in both simulations and experiments. The rest of this article is organized in the following sections.
Section 2 presents the formula of harmonics based on ln-WMS.
Section 3 simulates the impacts of light intensity, modulation depth, and gas concentration on the harmonic.
Section 4 introduces the experimental setup. Afterward, the verification experiments and gas sensing are taken in
Section 5. Conclusions are finally given in
Section 6.
2. Theory of ln-WMS
According to the Beer–Lambert law, a laser light with light intensity
will be absorbed by gas molecules at a specific wavelength after passing through the measured medium, and the light intensity
of the transmitted laser can be described as
where
P [atm],
[cm
−2/atm],
C,
L [cm],
v [cm
−1], and
[cm] are the gas pressure, absorption line strength, concentration, absorbing light path length, wavenumber, and absorption line profile, respectively. Wavelength modulation spectroscopy (WMS) uses a low-frequency ramp signal and a high-frequency sinusoidal signal to modulate the laser simultaneously, and the instantaneous wavenumber
and original light intensity
can be expressed as [
27,
29]
where
[cm
−1] is the central wavenumber, which is the wavenumber of the central laser emission implemented by the ramp signal;
a [cm
−1] is the modulation depth;
[rad] is the radian;
[rad/s] is the modulation angular frequency;
is the central light intensity, which is also determined by the ramp signal;
is the
k-th order sinusoidal modulation light intensity; and
is the phase shift between wavelength modulation and the
k-th order light intensity modulation. Defined:
, which can be considered the relative light intensities of the orders of modulation light intensity to the central light intensity. Specially,
is only determined by the modulation depth
a. Thus, they would be constant items at a fixed wavelength when
a is fixed. We will discuss
in the following subsections (
Section 3.2 and
Section 5.2).
Substituting Equation (
2) into Equation (
1) and taking the natural logarithm of both sides of Equation (
1),
where
is the
k-th order Fourier coefficient of
. Since the higher order (
) sinusoidal modulation strength is too small to consider compared to the first two orders,
can be simplified as
Since
and
are sufficiently smaller than one, we can further simplify Equation (
4) according to Taylor Expansion:
Then, substituting Equation (
5) into Equation (
3) and multiplying
with the corresponding reference signals, the harmonic signals can be obtained through a low-pass filter. The following will discuss the influence of the reference signal phase on the harmonics. As described in Ref. [
27], a non-absorbance light path is installed to seek the reference signal phase to make the first harmonic of non-absorbance minimum, which is equivalent to setting the reference signal as
and
for the first and second harmonics, and then the harmonics can be obtained:
The above theory is known as the natural logarithmic WMS (ln-WMS) method. It can be seen that the derived results contain two parts: the
items are considered the background signal and the
items are the harmonics associated with gas concentration. Since the harmonic signal is linear to gas concentration, the ln-WMS method can be used for gas concentration monitoring at any large absorbance. However, we can learn from Equation (
6) that although the reference signal phase can help the odd harmonics eliminate the background signal, the even harmonics always maintain the maximum background signal. Meanwhile, the target harmonic signals are constrained by the sine/cosine phase shift (
) and thus cannot keep the optimum. The influence of the phase shift (
) will be discussed in
Section 5.3.
On the other hand, when the reference signals are set as
and
, the first and second harmonics can be
Unlike Equation (
6), Equation (
7) maximizes the harmonic signals; thus, the optimal harmonics can be applied for high-precision gas sensing. We will use the reference signal and demodulation method as expressed in Equation (
7). In measurement, the background signal is usually treated as a constant value or ignored. Nevertheless, in the long-tune spectrum, the
items would vary with the wavelength scanning. Specially, the strong first-order light intensity,
, is contained in the second harmonic as a square component (
), resulting in a powerful and nonlinear background signal of the second harmonic, which makes the removal of the background signal and the concentration calculation difficult.
3. Simulation of Long-Tune ln-WMS
In this section, the harmonic and its background obtained by long-tune ln-WMS is simulated. The long-tune spectrum is applied for gas sensing since it scans across several absorption lines and can determine the tuning parameters and detect multiple gas concentrations simultaneously. Meanwhile, with more spectral lines used for detection, it can effectively reduce noise interference and improve accuracy. However, the background signal in long-tune harmonics will be enhanced and cannot be neglected due to the RAM becoming distinct, especially for the ln-WMS method. The CO
2 and H
2O absorption lines near 2004 nm are utilized for simulating long-tune ln-WMS. The absorption spectroscopic parameters of the selected transitions are downloaded from the HITRAN Databases [
30] and listed in
Table 1. For the simulation, the atmosphere conditions are set as a pressure of 1 atm, a temperature of 296 K, and an absorbing light path length of 30 cm, respectively. The environmental parameters, Lorentz broadening and Gaussian broadening, and the discrete spectral data will be combined to calculate a continuous absorption spectrum. Then, the high-frequency sinusoidal signal is added in wavelength scanning and the transmitted light intensity signal is converted according to Equation (
1). Finally, the transmitted light intensity signal is applied for harmonic demodulation, and the harmonic signals of consecutive multiple absorption spectra are obtained. In the following subsections, we will investigate the influences of laser light intensity, modulation depth, and gas concentration on the second harmonic, respectively.
3.1. Light Intensity Attenuation
In field measurements, affected by dust interference and optical path drift, the transmitted laser light intensity received by the PD is frequently fluctuating or time-varying. Since the harmonic signals demodulated by conventional WMS contain the laser light intensities, the harmonic amplitudes are strongly affected by the light fluctuation, which results in calibration failure in applications. For the ln-WMS method, we simulate the light intensity fluctuating by adding an attenuation index, and the attenuated spectrum signals are shown in
Figure 1, where the attenuation indices are set as 1.0, 0.5, and 0.1, respectively. The gas concentrations of CO
2 and H
2O are 0.001 (1000 ppm) and 0.03, respectively. The modulation depth is set at 0.168 cm
−1 (modulation index,
), while the other gas parameters remain the same. The second harmonics demodulated by the ln-WMS method are demonstrated in
Figure 2.
Different from what was expected in conventional WMS, as shown in
Figure 2, the harmonic signals obtained from the ln-WMS method are highly consistent. The amplitudes of the demodulated signals remain the same when the laser light intensity is attenuating. The simulation results easily prove the conclusion in Equation (
7); that is, the harmonic signal demodulated by the ln-WMS method can exclude the central light intensity (
). Therefore, ln-WMS can effectively overcome the problem of light intensity fluctuations without the process of calibrating the second harmonic signal by the zeroth harmonic (
) or the first harmonic (
). The advantage makes it especially suitable for gas monitoring in harsh environments where the light intensity usually fluctuates violently. However, it should be noticed that the background signal of the second harmonic varies in the long tune, and we will discuss this phenomenon in the following subsections.
3.2. Modulation Depth
Subsequently, the modulation depth gradually increases while the gas concentrations of CO
2 and H
2O are fixed at 0.001 and 0.03, respectively, and the laser light intensity also remains the same. Three modulation depths, low modulation with 0.105 cm
−1 (
), medium modulation with 0.168 cm
−1 (
), and high modulation with 0.230 cm
−1 (
), are computed separately, and the demodulated second harmonics according to ln-WMS are demonstrated in
Figure 3. For comparison, the situations with no gas absorption with the corresponding modulation depths are added as dotted curves in the graph.
From
Figure 3, we can find that at a specific modulation depth, the baseline of the second harmonic is a distinct curve rather than a definite value or a straight line as in traditional WMS. The background at the beginning of the scanning (left part) is larger than the ending edge, making the harmonic at the left side deformed. In the background of the second harmonic, the square of the first-order relative intensity (
) (Equation (
7)) is dominant in the signal, leading to the harmonic deformity. The background signal is enhanced when the modulation depth (
a) increases, even causing serious distortion of the harmonics. This is because the relative intensities are positively correlated with the modulation depth. When the modulation depth increases,
increases and the background strengthens. The results can be observed more obviously when there is no gas absorption (dotted curves). When the harmonics (solid lines) subtract the corresponding curves without gas absorption (dotted lines), the corrected signals are obtained as in
Figure 4. It can be seen that the curves restore the harmonic waveform in a high quality. The revised harmonics exclude the background signal as the harmonic amplitude at the gas-free absorption band remains at zero. Thus, the curves without absorption can be regarded as the background signal.
3.3. Gas Concentration
Finally, the effect of gas concentration on the ln-WMS harmonic is explored. In the simulation, the modulation depth is fixed at 0.230 cm
−1 (
) while the CO
2 concentration is increased from 0 ppm to 5000 ppm (0.5%). The other parameters and conditions remain the same. The demodulation results are demonstrated in
Figure 5.
Different from
Figure 3, where the background changes as the modulation depth varies, the background signals in
Figure 5 stay the same when the CO
2 concentration increases. That is to say, the gas concentration has no effect on the background signal, which is consistent with the theoretical analysis in Equation (
7). However, it should be noted that compared to the theoretical harmonic or second harmonic extracted using traditional methods (as the purple dash–dotted line shown in the graph), which have relatively flat baselines (stable around 0), the second harmonics obtained using the ln-WMS method exhibit sloped baselines at different concentrations. Therefore, it can be considered that the background signal has a more significant impact on the second harmonics extracted by the ln-WMS method, especially in long-tune situations. When in the trace gas monitoring or in the over-modulation, the background signal becomes too strong to be ignored. The good news is that it does not change with concentration, so we can determine the background signal at a known modulation depth. Then, the modulation depth should be fixed to follow gas detection. The previously determined background signal is applied for background elimination. Moreover, we should find that as the concentration increases, the amplitude of the second harmonic increases while the influence of the background decreases. For example, at 5000 ppm, the background of Line A is about one-seventh of the harmonic peak, and the proportions of the other lines are much smaller. Therefore, in the following discussions and experiments, we will only consider a CO
2 concentration of below 5000 ppm.
In summary, unlike traditional WMS, the harmonic signals of long-tune ln-WMS have stronger backgrounds with a nonlinear curve. Fortunately, we can learn that the background signal in the ln-WMS method can only be affected by the modulation depth, not the gas parameters or the light intensities, although its formula is expressed by the variables of light intensities. In applications, the background signal can be eliminated according to this feature: determine the background at a specific modulation depth prior to the measurement and then apply it for the background subtraction in the actual measurement. The background elimination method can be useful when the background is too strong to be neglected, especially when the gas concentration is low (weak absorbance) or in over-modulation situations.
4. Experimental Foundation
To confirm the gas sensing method based on long-tune ln-WMS, experiments are carried out using three CO
2 absorption lines and one H
2O line near 2004 nm. The schematic diagram of the ln-WMS measurement system is shown in
Figure 6. A steel-sealed gas cell is evacuated by a vacuum gas pump with an ultimate pressure of 20 Pa and then filled with a CO
2/N
2 mixture. The standard gases of CO
2 and pure N
2 with concentrations of 0.5% (5000 ppm) and 99.99%, respectively, running into the gas cell are controlled by flow controllers (MFCs) to ensure the concentration of the mixture. A pressure gauge (PVG 550, Infitech, Shanghai, China) is set to measure the gas pressure inside the cell, which is used to determine whether the gas cell has reached a vacuum state (the gas has been almost completely evacuated) or is filled with gas at 1.0 atm. After the gas cell is pumped to the ultimate pressure, the pressure inside can be maintained below 100 ± 2 Pa within 30 h. The whole detection light path, including the laser, photodetector (PD, PDA10DTEC, Thorlabs, Newton, MA, USA), and concave reflector (Mirror, CM254-075-G01, Thorlabs), is arranged in the gas cell. As the optical system shown in the enlarged image in the lower left corner, a VCSEL (vertical cavity surface emitting laser, Vertilas GmbH, Munich, Germany ) laser, whose temperature and current are controlled by a laser driver (Arroyo Instruments 6301, San Luis Obispo, CA, USA), works as the laser source. The emitted laser travels through the measured gas medium and is reflected by the mirror with a focus length of 75 mm. The absorbing light path length is 30 cm. The absorbed light signal is received by the PD and then converted into an electrical signal. Afterward, the detected signal is recorded by a high-speed data acquisition card (DAQ, NI USB-6361, Austin, TX, USA) and sent to the computer for data processing. Moreover, the DAQ also serves as a signal generator to produce a low-frequency ramp signal and a high-frequency sine signal to modulate the laser wavelength. The aviation connectors are utilized to connect signals of controlling and receiving inside and outside the gas cell.
A data processing system is built in LabVIEW software, (2020 SP1). It contains three parts: signal control, harmonic demodulation, and concentration calculation. In signal control, a low-frequency ramp signal (520 mV, 10 Hz) is applied to scan the light wavelength in long tune, a high-frequency sinusoidal signal (e.g., 6.0 kHz) is used to modulate the laser wavelength, and the amplitude of the sine signal (the modulation voltage) can be adjusted. The received signal is demodulated by a digital lock-in amplifier (LIA) in the demodulation unit. In LIA, an FFT unit is set to detect the phase shift between the wavelength and intensity modulation, and then the detected phase shift is utilized to set the reference signal phase as expressed in Equation (
7). For the ln-WMS method, the received signal (transmitted laser intensity) is taken as the natural logarithm before demodulation. The gas concentration is finally calculated based on the demodulated harmonics [
19].
6. Conclusions
This paper investigates the gas sensing approach based on long-tune ln-WMS and searches the means to improve measurement accuracy by eliminating the background signal in harmonics. Three CO2 absorption lines and one H2O absorption line near 2004 nm are used for the simulation and validation of the harmonic signals of the proposed method. A measurement system with a sealed gas cell and a fixed optical path is built for experimental verification. The impacts of light intensity, modulation depth, gas concentration, and phase shift (modulation frequency) on the harmonic signal are tested separately in both simulations and experiments. The outcomes demonstrate that the proposed method is able to maintain all harmonics at their highest amplitudes, which can further guarantee a high precision in gas detection. In addition, the simulation and experimental results reveal that the background of the harmonics would be enhanced and become a distinct nonlinear curve in the long-tune spectrum when compared to conventional WMS. However, the background signal can only be strengthened by increasing the modulation depth, while the variation in light intensity and gas concentration plays no role in the background. Due to the natural logarithm algorithm, even the distortion of transmitted laser signals caused by mechanical vibrations cannot disturb the background and the harmonic signals. Therefore, long-tune ln-WMS has a superior anti-interference ability and is suitable for gas detection in harsh environments, especially for areas with heavy dust and severe mechanical vibrations. According to these, the background signal can be determined before measurements and eliminated in the subsequent measurement. The concentration detection results indicate that when the background signal is eliminated, it can achieve a significant improvement in accuracy with a relative error of below 0.5% when the CO2 concentration is under 5000 ppm. The gas sensing method based on long-tune ln-WMS is valid for trace gas monitoring (weak absorbance) or in over-modulation situations.