Spectrum line correction method for trace moisture of high-purity gas and related device
By combining a multi-component coupled absorption model and an extreme learning machine neural network, the problems of weak signal and multi-component coupling in the detection of trace moisture in high-purity gases are solved, achieving high-precision and stable moisture detection.
Patent Information
- Application Number
- CN202611253059.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-18
- Publication Date
- 2026-11-24
AI Technical Summary
Existing methods for detecting trace moisture in high-purity gases produce weak signals at the ppb level, are susceptible to noise interference, have complex multi-component coupled absorption spectra, and are affected by laser wavelength drift and environmental fluctuations, which impact measurement stability and accuracy.
A multi-component coupled absorption model is used to strip the interference components, and a nonlinear mapping relationship is established by combining an extreme learning machine neural network to perform pressure and temperature compensation, thus constructing a complete spectral correction method and device.
Accurately separate the net absorption intensity of target moisture in complex environments, achieve high-precision and stable moisture detection in the range of ppb to ppm, eliminate the influence of environmental fluctuations, and improve measurement accuracy and stability.
Smart Images

Figure CN123155481A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of high-purity gas trace moisture detection technology, specifically to a spectral correction method and related apparatus for high-purity gas trace moisture. Background Technology
[0002] High-purity gases are widely used in semiconductor integrated circuit manufacturing, fiber optic communication, aerospace, pharmaceuticals, and scientific research. In these applications, the purity of high-purity gases directly affects product quality and process stability, and trace moisture in the gas is one of the key impurities affecting its quality. Excessive moisture content can lead to serious consequences such as semiconductor device performance degradation, increased hydroxide absorption loss in optical fiber preforms, and catalyst poisoning failure. Therefore, accurate detection and control of trace moisture in high-purity gases has extremely important technical and economic significance.
[0003] Currently, methods for detecting trace moisture in high-purity gases mainly include dew point methods, electrolysis methods, spectroscopic methods, and piezoelectric crystal oscillation methods. Among these, the detection method based on tunable diode laser absorption spectroscopy has become the mainstream technology for online monitoring of trace moisture in high-purity gases due to its advantages such as high sensitivity, strong selectivity, and fast response. Tunable diode laser absorption spectroscopy can detect trace moisture at the ppm or even ppb level by scanning the characteristic absorption lines of specific gas molecules and using Beer-Lambert's law to invert the gas concentration. However, in practical industrial applications, the spectroscopic detection of trace moisture in high-purity gases faces a series of unresolved technical challenges: Firstly, the absorption signal of trace moisture in high-purity gases is extremely weak, especially under ultra-low concentration conditions at the ppb level. The intensity of the vibration-rotation absorption line of water molecules is extremely low, and the signal is easily drowned out by electronic noise and environmental interference in the detection system.
[0004] Secondly, the preparation of high-purity gases usually contains a certain amount of impurity components such as CO2, CH4, NH3, and H2S. The absorption lines of these components overlap with the absorption lines of water molecules to a certain extent in the near-infrared band, forming a complex multi-component coupled absorption spectrum, which makes it difficult to accurately extract the true intensity of the target water absorption peak.
[0005] Third, the output wavelength of the laser is affected by the modulation of the operating temperature and the injection current, which causes the center position of the absorption line to shift over time, affecting the long-term stability and accuracy of the measurement. In addition, environmental fluctuations in gas pressure and temperature will cause nonlinear changes in the intensity and linewidth of the absorption line, requiring complex pressure and temperature compensation correction. Summary of the Invention
[0006] This disclosure proposes a method and related apparatus for spectral correction of trace moisture in high-purity gases, aiming to overcome at least one defect in the prior art.
[0007] To achieve the above objectives, the technical solution disclosed in this invention is as follows: According to one aspect of this disclosure, a method for spectral correction of trace moisture in high-purity gases is provided, comprising the following steps: The absorption spectrum signal of moisture in the high-purity gas to be tested is acquired by a tunable diode laser absorption spectroscopy acquisition system. Determine the center wavenumber position of the target moisture absorption peak in the absorption spectrum signal and extract the original absorption intensity of the target moisture absorption peak; A multi-component coupled absorption model is constructed, and the interference component of the target moisture absorption peak is stripped off based on the multi-component coupled absorption model to obtain the net absorption intensity of the target moisture after interference removal. Based on the target net water absorption intensity and combined with historical calibration data, a nonlinear correction mapping relationship between water concentration and net absorption intensity is established. The corrected moisture concentration value was calculated based on the nonlinear correction mapping relationship. Based on real-time monitoring of gas pressure and temperature signals, pressure and temperature compensation is applied to the moisture concentration value to obtain the final moisture concentration measurement result.
[0008] Furthermore, the tunable diode laser absorption spectroscopy acquisition system uses a near-infrared distributed feedback laser with a working wavelength in the range of 1.3μm to 2.0μm as the light source. The laser's linewidth is better than 100kHz, and the scanning frequency range is 1Hz to 10kHz.
[0009] Furthermore, the mathematical expression for the multi-component coupled absorption model is: ,in, Where P is the total absorption coefficient and P is the total gas pressure. Let i be the mole fraction of the i-th gas component. Let L be the linear intensity of the i-th gas component at temperature T, and L be the optical path length. The laser wavenumber, Let be the center wavenumber of the absorption line of the i-th gas component. Let be the pressure broadening factor of the full width at half maximum (FWHM) of the i-th gas component. Let be the pressure frequency shift coefficient of the i-th gas component, i be the index of the gas component involved in the absorption, and N be the total number of gas components involved in the absorption.
[0010] Furthermore, the interferometric component stripping employs an adaptive iterative fitting algorithm, the steps of which include: Center wavenumber of the target moisture absorption peak Based on this, the width is set to... The fitting analysis window; The measured spectral data within the fitting analysis window are preprocessed with wavelet noise reduction to obtain the preprocessed spectral data. Build with The composite objective function centered on the target water is solved iteratively using the Levenberg-Marquardt optimization algorithm to separate the net absorption component of the target water and the interference component of at least one interfering component. The composite objective function is represented as the sum of squared residuals between the measured absorption coefficient and the predicted absorption coefficient of the multi-component coupled absorption model.
[0011] Furthermore, the nonlinear correction mapping relationship is established using an extreme learning machine neural network. The input layer nodes of the extreme learning machine neural network include the net absorption intensity of the target moisture after interference removal, gas temperature, gas pressure, and optical path length, while the output layer nodes are the corrected moisture concentration values. Extreme Learning Machine Neural Networks utilize historical calibration data for offline training of input weights and hidden layer biases during the training phase, and employ incremental learning methods to update the model during the online application phase.
[0012] Furthermore, pressure and temperature compensation is achieved using a bidirectional piecewise linear interpolation algorithm, the steps of which include: A pre-constructed two-dimensional calibration grid for pressure and temperature is used, with the pressure dimension of the calibration grid covering 0.1 MPa to 10 MPa and the temperature dimension covering -20°C to 80°C. In actual measurement, based on the real-time gas pressure and temperature values, bidirectional piecewise linear interpolation is performed in the calibration grid to calculate the corresponding compensation coefficient; Multiply the compensation coefficient by the corrected moisture concentration value to obtain the final moisture concentration measurement result after pressure and temperature compensation.
[0013] Furthermore, after acquiring the absorption spectral signal and before determining the target moisture absorption peak, the process also includes: performing baseline correction processing on the absorption spectral signal, specifically including fitting the continuous background of the absorption spectral signal using the penalized least squares method, subtracting the fitted baseline from the original spectral signal, and obtaining the baseline-corrected absorption spectral signal.
[0014] Furthermore, before acquiring the absorption spectrum signal of moisture in the high-purity gas to be tested, the process also includes: periodically acquiring the reference spectrum signal in the built-in reference cell, which is filled with a standard humidity gas of known concentration; and performing online self-calibration of the laser's wavelength tuning characteristics based on the correspondence between the reference spectrum signal and the known concentration.
[0015] Furthermore, the target moisture absorption peak is selected from the most intense P-branch or R-branch rotational absorption lines in the ultrafine absorption line cluster of water molecules, and the absolute value of the difference between the center wavenumber of adjacent interference components and the center wavenumber of the target moisture absorption peak is not less than 0.5 cm⁻¹. -1 .
[0016] Furthermore, it also includes: assessing the uncertainty of the final moisture concentration measurement result, and comprehensively calculating the expanded uncertainty of the final moisture concentration measurement result based on the fitting residual of the multi-component coupled absorption model, the spectral signal-to-noise ratio, and the pressure and temperature measurement errors.
[0017] According to another aspect of this disclosure, a spectral correction system for trace moisture in high-purity gases is provided, for performing the above-described spectral correction method for trace moisture in high-purity gases, comprising: The spectral acquisition module is used to emit laser signals to the high-purity gas to be measured and receive the transmitted light signals after being absorbed by the high-purity gas to be measured, and output the absorption spectrum data to be measured. The branch optical path module, connected to the spectrum acquisition module, is used to split the transmitted light signal into two outputs: a measurement optical path and a reference optical path. The detector module, connected to the branch optical path module, is used to convert the optical signals of the measurement optical path and the reference optical path into corresponding electrical signals, respectively. The signal processing module, connected to the detector module, is used to amplify, filter, and perform analog-to-digital conversion on the electrical signals. The correction unit, connected to the signal processing module, is used to execute the spectral correction method described above to obtain the final moisture concentration measurement result. The environmental parameter acquisition unit, connected to the correction and calculation unit, is used to acquire the pressure and temperature signals of the high-purity gas to be measured in real time. The correction unit also includes an adaptive stripping subunit for interferometric components, which is used to iteratively fit overlapping absorption peaks and strip interferometric components based on a multi-component coupled absorption model. The correction calculation unit also includes a self-calibration subunit, which is used to calibrate the laser wavelength tuning characteristics in real time based on the reference spectral signal of the built-in reference cell.
[0018] According to another aspect of this disclosure, a spectral correction device for trace moisture in high-purity gases is provided, comprising: Main body of the casing; An optical measurement cavity is located inside the main body of the housing, with a laser input window and an optical signal output window at each end of the optical measurement cavity; The tunable diode laser module is located inside the main body of the casing. The output of the tunable diode laser module is connected to the laser input window via an optical fiber. The detector module is located inside the main body of the casing, and its input end is connected to the optical signal output window. The signal processing circuit board is located inside the main body of the casing. The signal processing circuit board integrates analog front-end circuit, analog-to-digital converter and embedded microprocessor. An environmental parameter sensor module is installed inside the main body of the casing. The environmental parameter sensor module includes a temperature sensor and a pressure sensor. The reference gas chamber, located inside the main body of the housing, is positioned on the optical path branch of the optical measurement cavity and is used to provide a wavelength calibration reference signal. An embedded microprocessor is used to execute a computer program stored in memory to implement the above-mentioned method for spectral correction of trace moisture in high-purity gases. The device also includes a metal housing sealing structure to achieve a full Venturi seal of the optical measurement cavity, in order to meet the requirements for online dew point monitoring of high-purity gases.
[0019] According to another aspect of this disclosure, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the above-described method for spectral correction of trace moisture in high-purity gases.
[0020] According to another aspect of this disclosure, an electronic product is provided, comprising: case; An embedded processor module located inside the housing; The memory module is located inside the casing; The display module, located inside the housing, is used to display the moisture concentration measurement results and the equipment operating status. The data communication interface module, located inside the housing, is used for data interaction with a host computer or industrial control system. The spectral signal acquisition front end is located inside the housing and is connected to an external spectral sensor; An optical measurement chamber embedded inside the housing; The embedded processor module executes the above-mentioned spectral correction method for trace moisture in high-purity gas by running a computer program stored in the memory module; The electronic product also includes an adaptive range switching module, which automatically switches between high sensitivity and standard range according to the range of moisture concentration in the gas to be measured, so as to extend the dynamic measurement range of the device from ppb level to the full range of 100%. The electronic product also includes an anomaly diagnostic module, which is used to monitor the optical path attenuation status and detector response characteristics in the optical measurement chamber in real time, and output early warning information when optical path contamination or detector aging causes signal quality degradation.
[0021] The beneficial effects of this invention are: This invention constructs a multi-component coupled absorption model to separate the interference components of the target moisture absorption peak. In complex spectral environments where the absorption lines of impurity components such as CO2, CH4, and NH3 overlap with the absorption lines of target water molecules, it can accurately separate the true net absorption intensity of the target moisture. This overcomes the systematic bias of the traditional single-peak fitting method, which ignores the superposition of the superposition of adjacent interfering components, and significantly improves the accuracy of trace moisture detection under multi-component coupled absorption conditions.
[0022] Furthermore, based on the target net absorption intensity of moisture after interference removal, this invention establishes a nonlinear correction mapping relationship between moisture concentration and net absorption intensity by combining historical calibration data. This can accurately reflect the nonlinear mapping relationship between absorption signal and moisture concentration in a wide concentration range from ppb to ppm, avoiding the problem of insufficient correction accuracy of traditional linear correction models at low and high concentration ends, and realizing high-precision measurement across the entire range.
[0023] Furthermore, this invention performs pressure and temperature compensation on the corrected moisture concentration value based on real-time monitored gas pressure and temperature signals. This effectively corrects the nonlinear effects of gas state fluctuations on the absorption signal intensity and linewidth, effectively eliminates measurement deviations caused by changes in ambient temperature and gas pressure fluctuations, and significantly improves the stability and reliability of measurement results under complex working conditions.
[0024] Furthermore, this invention organically combines a multi-component coupled absorption model, a nonlinear correction mapping relationship, and pressure and temperature compensation to form a complete correction chain from the original spectral signal to the final moisture concentration measurement result, achieving a highly sensitive, accurate, and stable online monitoring effect for trace moisture.
[0025] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, the preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings. Attached Figure Description
[0026] Figure 1 This is a flowchart of a high-purity gas trace moisture spectral correction method according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the time domain of the original mixed signal of the sensor according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the spectrum analysis of the original mixed signal of a sensor according to an embodiment of the present invention; Figure 4 This is a schematic diagram illustrating the signal separation effect of ICA adaptive filtering according to an embodiment of the present invention; Figure 5 This is a schematic diagram illustrating the effect of ICA temperature drift extraction error analysis according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the effect of ICA-corrected moisture concentration signal according to an embodiment of the present invention; Figure 7 This is a schematic diagram of the training of an extreme learning machine neural network nonlinear correction mapping model according to an embodiment of the present invention; Figure 8 This is a schematic diagram of a two-dimensional calibration grid and interpolation for pressure and temperature compensation according to an embodiment of the present invention; Figure 9 This is a schematic diagram comparing the measurement errors before and after correction according to an embodiment of the present invention; Figure 10 This is a schematic diagram illustrating the uncertainty assessment of high-purity gas trace moisture measurement according to an embodiment of the present invention. Figure 11 This is an SEM image of the sensitive element of a spectral line correction device according to an embodiment of the present invention. Figure 12 This is a schematic diagram of an electronic product of a trace moisture analyzer according to an embodiment of the present invention; Figure 13 This is a block diagram of a high-purity gas trace moisture spectral correction system according to an embodiment of the present invention. Detailed Implementation
[0027] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] The term "comprising" and any variations thereof in the specification and claims of this application are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product or device.
[0029] In embodiments of the present invention, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in embodiments of the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Rather, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0030] The present invention provides the following preferred embodiments: In one embodiment, reference Figure 1As shown, the high-purity gas trace moisture spectral line correction method of the present invention includes the following complete processing flow, with each step executed sequentially according to the data processing order, forming a complete closed loop from spectral signal acquisition to final result output.
[0031] Specifically, step S100 is executed to acquire the absorption spectrum signal of water in the high-purity gas to be tested using a tunable diode laser absorption spectroscopy acquisition system. In this embodiment, a near-infrared distributed feedback laser diode with a working wavelength of 1.392 μm is selected as the laser. This wavelength corresponds to one of the high-sensitivity absorption lines of water molecules in the near-infrared band, and its line intensity is suitable for ultra-low concentration detection at the ppb level. The laser's output linewidth is better than 100 kHz, and its side-mode rejection ratio is greater than 40 dB, ensuring that the laser wavelength is accurately tuned to the center position of the target absorption line. The transmitted light signal is received by an indium gallium arsenide photodetector with a response wavelength range covering 1.2 μm to 1.7 μm and a response time better than 1 ns. The detector output electrical signal is amplified by a low-noise preamplifier and then digitally sampled by a 16-bit high-speed analog-to-digital converter at a sampling rate of 500 kSa / s to ensure distortion-free digitization of the absorption signal during laser scanning.
[0032] Further, step S200 is executed to determine the center wavenumber position of the target moisture absorption peak in the absorption spectrum signal and extract the original absorption intensity of the target moisture absorption peak. In this embodiment, a direct peak-finding algorithm combined with Gaussian line shape fine fitting is used to determine the peak position: the first derivative of the spectral data is calculated and the zero-crossing point is searched as a preliminary peak position estimate, and then a width of 0.2 cm is set with this peak position as the center. -1 The analysis window is used to perform fine fitting with a Gaussian linear function. The center of the fitted peak is the final target water absorption peak center wavenumber. This peak position determination method has an accuracy better than 0.001 cm⁻¹. -1 It can meet the requirements of high-resolution spectral analysis.
[0033] Further, step S300 is executed to construct a multi-component coupled absorption model and perform interference component stripping. In this embodiment, the absorbing components involved in the high-purity gas to be measured include three types: H2O, CO2, and CH4. The absorption peaks of each component exhibit Lorentz linear responses at different frequency positions in the frequency domain. By constructing a composite Lorentz linear objective function and using the Levenberg-Marquardt optimization algorithm for iterative solution, the contributions of the target moisture absorption peak and the absorption peaks of each interfering component can be accurately separated, yielding the net absorption intensity of the target moisture after interference removal. The Levenberg-Marquardt algorithm, through adaptive switching between gradient descent and the Gauss-Newton method, effectively avoids local minima while ensuring convergence speed.
[0034] Further, step S400 is executed, establishing a nonlinear corrected mapping relationship between moisture concentration and net absorption intensity based on the target net moisture absorption intensity after interference removal and in conjunction with historical calibration data. In this embodiment, an Extreme Learning Machine (ELM) neural network is used to establish this nonlinear corrected mapping relationship. The input layer nodes of the ELM include four input variables: the target net moisture absorption intensity after interference removal, gas temperature, gas pressure, and optical path length. The output layer is the corrected moisture concentration value. The hidden layers use radial basis functions as activation functions, enabling a highly nonlinear mapping of the input parameter space.
[0035] Further, step S500 is executed to calculate the corrected moisture concentration value based on the nonlinear correction mapping relationship. The corrected moisture concentration value has undergone dual correction through interference component stripping and nonlinear mapping, eliminating the influence of multi-component coupling absorption interference and wide-range nonlinear response.
[0036] Further, step S600 is executed, whereby pressure and temperature compensation is performed on the corrected moisture concentration value based on the real-time monitored gas pressure and temperature signals to obtain the final moisture concentration measurement result. The compensation uses a pre-constructed 231-node pressure and temperature two-dimensional calibration grid, and calculates the compensation coefficient corresponding to the measured operating point through a bidirectional piecewise linear interpolation algorithm. Multiplying this coefficient by the corrected moisture concentration value yields the final measurement result.
[0037] refer to Figure 2 and Figure 3 The joint time-domain and frequency-domain analysis results show that under ultra-low concentration conditions at the ppb level, the amplitude of the true moisture concentration signal is much lower than that of various interference components. The frequency-domain FFT analysis results clearly reveal the energy distribution of temperature drift, EMI power frequency interference, and laser intensity noise in each frequency band, providing a basis for the parameter setting of the subsequent adaptive iterative fitting algorithm. It also verifies the necessity of implementing interference component stripping and signal correction under ultra-low concentration conditions.
[0038] In one embodiment, the tunable diode laser absorption spectroscopy acquisition system of the present invention uses a near-infrared distributed feedback laser with a working wavelength in the range of 1.3 μm to 2.0 μm as the light source.
[0039] Furthermore, the technical specifications of this laser directly determine the upper limits of sensitivity and stability for trace moisture detection, forming the hardware foundation for achieving ultra-low concentration detection at the ppb level. Specifically, the output power of the distributed feedback laser is designed to be in the 10mW range, ensuring sufficient light intensity while avoiding heating effects on gas samples. This is because the absorption coefficient of gas molecules is temperature-sensitive, and excessively high light power can cause local temperature increases, thus affecting measurement accuracy. The side-mode suppression ratio is greater than 40dB, ensuring sufficient laser monochromaticity to distinguish samples spaced 0.5cm apart. -1The adjacent absorption lines shown above are crucial for the accurate extraction of target moisture absorption peaks in multi-component coupled absorption environments. The output linewidth is better than 100 kHz, significantly smaller than the natural broadening width of gas absorption lines (typically around 0.1 cm). -1 (on a scale of magnitude) to ensure that the laser spectrum and the gas absorption line meet the narrowband absorption condition, thus avoiding the decrease in sensitivity caused by linewidth broadening.
[0040] Furthermore, the laser's driving circuit employs a low-noise current source design. This low-noise driving design ensures that even under ultra-low concentration measurement conditions at the ppb level, minute fluctuations in the injected current will not introduce significant system noise into the detection signal, thus guaranteeing full utilization of the detection sensitivity. The temperature control system of the current source uses a semiconductor cooler combined with a high-precision negative temperature coefficient thermistor, enabling the laser's operating temperature to be controlled within an accuracy range of ±0.01°C, ensuring long-term stability of the laser wavelength. The TEC control loop uses a digital PID algorithm combined with an adaptive parameter tuning strategy, enabling it to quickly establish thermal equilibrium and maintain stability under different ambient temperature conditions.
[0041] Furthermore, the wavelength tuning characteristics of the laser are achieved through scanning of the injected current, with the scanning range covering the target absorption line and its adjacent regions. The scanning waveform uses a triangular or sawtooth wave, and the scanning frequency is set to 5Hz to ensure a sufficient number of sampling points while avoiding excessive response delay. The amplitude and bias of the scanning current are precisely set using the calibration results of the laser's wavelength-current characteristic curve, ensuring that the target absorption line is located at the center of the linear rising or falling segment of the scanning range, thereby obtaining optimal absorption signal linearity. (Reference) Figure 2 The time-domain signal analysis results show that the amplitude of the ppb-level ultra-low concentration moisture signal is much lower than that of various interference components. The high stability and low noise design of the laser is an important hardware prerequisite for achieving high-precision detection.
[0042] In practical applications, the parameters of the composite Lorentz line function are determined through the following steps: First, based on the component list of the gas to be measured, query all absorption line data of each component in the target band from molecular spectroscopy databases such as HITRAN (High Resolution Transmission Molecular Absorption Spectroscopy), including center wavenumber, line intensity, air broadening factor, and self-broadening factor; second, based on the measured gas pressure and temperature conditions, calculate the line intensity, effective broadening, and pressure frequency shift of each absorption line under the current operating conditions; then, using the concentration of each component as the parameter to be solved, construct the composite Lorentz line function and fit it with the measured spectrum. The initial estimated values of the component concentrations can be set based on the process parameters of the inlet gas components or historical measurement data, gradually converging to the optimal solution during the iterative fitting process. When a coefficient in the multi-component coupled absorption model tends to zero during the fitting process, it indicates that the component has no significant absorption contribution in the current spectrum and can be removed from the model to reduce computational complexity. (Reference) Figure 3 The FFT spectral analysis results revealed the frequency domain characteristics of multi-component coupled absorption. The absorption lines of each component exhibit characteristic peaks at different frequency positions. The degree of overlap between adjacent absorption lines can be quantitatively evaluated by superposition calculation of linear functions, thus providing a basis for subsequent interference component stripping algorithms.
[0043] In one embodiment, reference Figure 3 As shown, the multi-component coupled absorption model of this invention is constructed using a composite Lorentz linear function.
[0044] In the vicinity of 1.392 μm, the high-purity gas being measured contains three absorbing components: H₂O, CO₂, and CH₄. Each gas component exhibits a characteristic absorption line at a specific wavenumber position, and its absorption intensity is proportional to the gas concentration, conforming to the Beer-Lambert law. When the target absorption lines of multiple components are close to each other spectrally, the absorption peaks of each component superimpose to form a complex coupled absorption spectrum. In this case, the Beer-Lambert model for a single component will produce significant systematic errors. For example, when the difference in center wavenumber between the overtone absorption line of CO₂ and the target absorption line of H₂O is less than the sum of the full width at half maximum (FWHM) of the two absorption lines, the absorption signals of the two components overlap in the frequency domain, leading to a systematic overestimation or underestimation bias when measuring the concentration of H₂O alone.
[0045] The mathematical expression for the composite Lorentz linear function is: ,in, The total absorption coefficient is expressed in cm. -1 P represents the total gas pressure, in atm. Let be the mole fraction of the i-th gaseous component, which is dimensionless; The linear intensity of the i-th gas component at temperature T is given in cm. -2 ·atm -1 This parameter changes with temperature according to the Köringney formula; L is the optical path length, in cm; Laser wavenumber, unit: cm -1 ; The central wavenumber of the absorption line for the i-th gas component is given in cm. -1 This parameter is affected by pressure frequency shift; The pressure broadening factor of the full width at half maximum (FWHM) of the i-th gas component, in cm. -1 ·atm -1 It is directly proportional to the total gas pressure; Let be the pressure frequency shift coefficient of the i-th gas component, in cm. -1 ·atm -1 , describes the modulation effect of pressure on the center frequency of the absorption line; i is the index of the gas component involved in the absorption, and N is the total number of gas components involved in the absorption.
[0046] In the formula, the effect of temperature on line intensity is described by the Köringne formula, pressure broadening is described by the Lorentz line shape function, and pressure frequency shift is described by a linear frequency shift term. This model can accurately describe the line shape characteristics of multi-component coupled absorption spectra over a wide pressure and temperature range, providing a solid physical basis for the subsequent accurate separation of interference components. (Reference) Figure 3 The FFT spectral analysis results revealed the frequency domain characteristics of multi-component coupled absorption. The absorption lines of each component exhibit characteristic peaks at different frequency positions. The degree of overlap between adjacent absorption lines can be quantitatively evaluated by superposition calculation of linear functions, thus providing a basis for subsequent interference component stripping algorithms.
[0047] In another embodiment, reference Figure 3 , Figure 4 , Figure 5 and Figure 6 As shown, the interference component stripping of the present invention is achieved using an adaptive iterative fitting algorithm, and the specific process includes the following steps.
[0048] The first step is to set the width of the fitting analysis window based on the center wavenumber of the target moisture absorption peak. This window width is sufficient to cover the main peak of the target moisture absorption peak and the accompanying absorption lines of all adjacent interfering components. The selection of the window width takes into account both the linewidth of the absorption lines and the maximum interval between adjacent interference lines, and is usually set to 3 to 5 times the full width at half maximum (FWHM) of the target absorption line to ensure that all relevant absorption lines are included in the fitting analysis range.
[0049] The second step involves preprocessing the measured spectral data within the fitting analysis window using wavelet denoising. In this embodiment, the Daubechies wavelet db4 is used for multi-level decomposition, dividing the spectral signal into low-frequency approximate components and high-frequency detail components. A soft threshold is applied to the high-frequency detail components, effectively suppressing high-frequency electronic noise while preserving the true linear characteristics of the absorption lines. Wavelet denoising preprocessing significantly improves the signal-to-noise ratio, providing high-quality input data for subsequent fine fitting. The choice of the number of wavelet decomposition levels requires a trade-off between denoising effectiveness and signal detail preservation; too few levels result in insufficient denoising, while too many levels smooth out the true edge features of the absorption lines.
[0050] The third step involves constructing a composite objective function centered on the central wavenumber of the target moisture absorption peak. This composite objective function comprises two parts: the first part is the weighted sum of squared residuals between the predicted and measured values from the multi-component coupled absorption model, used to ensure the model's fitting accuracy to the measured spectrum; the second part is a regularization term, used to constrain the linewidth and intensity of the interfering component absorption lines within a physically reasonable range, preventing overfitting. The introduction of the regularization term effectively suppresses overfitting and improves the model's generalization ability to unseen spectra. The regularization parameter is determined using the Bayesian information criterion.
[0051] The fourth step involves iteratively solving the composite objective function using the Levenberg-Marquardt algorithm. In the initial stages of parameter updates, the Levenberg-Marquardt algorithm employs a large damping factor to make the update step size approach that of gradient descent, ensuring global convergence. As the optimal solution approaches, it automatically reduces the damping factor to make the update step size approach that of Gauss-Newton, accelerating local convergence. When the relative change in the objective function value between two consecutive iterations is less than a set threshold, the iteration converges, and the estimated absorption line intensities of each component are output. The selection of the iteration termination criterion requires a balance between fitting accuracy and computational efficiency.
[0052] refer to Figure 4 This paper demonstrates the process of interferometric component removal using ICA adaptive filtering. Multiple curves are presented to show the original mixed signal, the true concentration reference value, and the temperature drift component estimated by ICA, clearly illustrating the complete process of the ICA algorithm separating the temperature drift interferometric component from the complex mixed signal. (Reference) Figure 5 The results of drift extraction error analysis are presented. The deviation between the actual temperature drift reference value and the ICA estimated drift value is marked with a filled area. The precision text box in the figure has been adjusted to an appropriate position below the coordinate axis to avoid overlapping with the curve. Reference Figure 6 The time-domain comparison between the corrected moisture concentration signal and the true reference concentration value is shown, and the consistency between the corrected signal and the true reference value is significantly improved. Experimental results show that the extraction accuracy of the interference components is greater than 90%, the MAE of the corrected signal is better than 39 a.u., and the correlation coefficient R² is greater than 0.999.
[0053] In another specific embodiment, reference Figure 7 As shown, this invention uses an extreme learning machine neural network to establish a nonlinear corrected mapping relationship between moisture concentration and net absorption intensity.
[0054] Specifically, the network structure of the Extreme Learning Machine (ELM) includes an input layer, a hidden layer, and an output layer. The input layer has four nodes representing four input variables: the net absorption intensity of the target moisture after interference removal, gas temperature, gas pressure, and optical path length. These variables cover the main factors affecting the accuracy of moisture concentration measurement: net absorption intensity directly reflects the amount of light absorbed by the gas; temperature and pressure affect the energy level population and collision broadening coefficient of molecules, thus affecting the absorption line intensity; and optical path length determines the optical path length of the absorption signal. The hidden layer neurons use radial basis functions (RBFs) as activation functions. The center of the RBF is determined from historical calibration data using a K-means clustering algorithm, and the width parameter is optimized using gradient descent. RBFs enable highly nonlinear mapping of the input parameter space, making them particularly suitable for nonlinear correction over a wide measurement range from ppb to ppm, as the relationship between absorption signal and concentration exhibits significant nonlinear characteristics over this range. The output layer is a single node that outputs the corrected moisture concentration value.
[0055] Furthermore, the core advantage of the Extreme Learning Machine (ELM) lies in the random initialization of hidden layer parameters and the analytical solution of output weights. Unlike traditional backpropagation neural networks, which require iterative updates of all network parameters using gradient descent, the hidden layer parameters of the ELM are randomly generated before network training and remain fixed during training. The output weights are calculated in one step by solving a system of linear equations. This design makes training much faster than conventional backpropagation neural networks, while avoiding the local minima and convergence oscillation problems common in gradient descent algorithms. The output weights are solved using an orthogonal decomposition method, ensuring the stability of numerical computation.
[0056] This embodiment also introduces an incremental learning method to adapt to changes in the gas environment. When the deviation between newly acquired calibration data and historical data exceeds a preset threshold, the Extreme Learning Machine (ELM) adds new hidden layer nodes or adjusts the radial basis function centers of existing nodes based on the original network parameters using an incremental update algorithm, without retraining the entire network from scratch. The incremental learning method enables the ELM to continuously adapt to changes in the gas environment, maintaining the model's prediction accuracy over long-term operation. (Reference) Figure 7 The dual-panel diagram demonstrates the training performance of the Extreme Learning Machine neural network: the convergence curve of the loss function with training rounds shows fast and stable convergence characteristics, and the full-range scatter regression comparison of predicted concentration and reference concentration shows high-precision modeling capability with R² better than 0.999.
[0057] In another embodiment, reference Figure 8As shown, this invention employs a bidirectional piecewise linear interpolation algorithm to achieve accurate pressure-temperature compensation. The intensity and linewidth of the absorption line of gas molecules are jointly affected by pressure and temperature, exhibiting a complex nonlinear dependence. Under pressure variations, the collision frequency between gas molecules changes, leading to a change in the collision broadening coefficient, which in turn affects the line shape and intensity of the absorption line. Under temperature variations, the energy level population and collision parameters of gas molecules change, causing thermal drift in the absorption line intensity and center position. The purpose of pressure-temperature compensation is to establish an accurate mathematical model to describe the influence of pressure and temperature changes on the absorption signal, and to correct the measurement results based on real-time monitored pressure and temperature values during actual measurements.
[0058] In this embodiment, a pre-constructed two-dimensional pressure-temperature calibration grid covers a wide pressure range (0.1 MPa to 10 MPa) and temperature range (-20°C to 80°C). Measurements are performed at each calibration node using standard concentration gas, and the corresponding absorption signal response values are recorded, constructing a three-dimensional calibration data space of pressure-temperature-response value. The calibration nodes are distributed using a uniform grid design, with a grid spacing of 50 pressure nodes and corresponding temperature nodes, totaling 231 calibration nodes. During actual measurement, bidirectional piecewise linear interpolation is performed on the two-dimensional calibration grid based on the real-time acquired gas pressure and temperature values. The specific steps of the bidirectional piecewise linear interpolation algorithm are as follows: First, in the temperature dimension, one-dimensional linear interpolation is performed between two adjacent calibration temperature nodes to obtain the compensation coefficient for the corresponding measured temperature at each calibration pressure node; then, in the pressure dimension, one-dimensional linear interpolation is performed between two adjacent calibration pressure nodes, and the final compensation coefficient is calculated by combining the temperature interpolation results. This method offers higher computational efficiency than two-dimensional bilinear interpolation, while ensuring interpolation accuracy meets the real-time requirements of industrial online monitoring. (Reference) Figure 8 The 3D surface plot and contour plot illustrate the spatial distribution of the pressure-temperature compensation coefficients. The plot presents the nonlinear variation trend of the compensation coefficients in the two-dimensional pressure-temperature space as a 3D surface, with the curvature variations in different regions reflecting the differences in the sensitivity of the compensation coefficients to pressure and temperature changes. The contour lines indicate the distribution of the contours; the density of the contour lines reflects the drastic changes in the compensation coefficients, with denser areas indicating higher sensitivity requiring finer calibration density. All calibration nodes are fully displayed in the plot without clipping or obstruction, clearly showing the regular distribution of the 231 calibration nodes on the pressure-temperature plane.
[0059] In practical industrial applications, baseline correction algorithms need to handle more complex baseline drift scenarios. For example, when mode noise or interference fringes exist in the optical system, the baseline may exhibit periodic fluctuations rather than monotonically drifting; when strong absorbing components are present in the gas, the wide absorption effect of the absorption line wings may be confused with baseline drift. The penalized least squares method, through flexible selection of regularization parameters and iterative strategies, can effectively address these complex baseline scenarios. Furthermore, when optical components age or become contaminated after prolonged instrument operation, the baseline characteristics may slowly change. In such cases, it is necessary to periodically update the parameters of the baseline correction model to adapt to the new baseline characteristics. This invention uses a built-in baseline monitoring module to evaluate the spectral quality after baseline correction in real time, and automatically triggers a model parameter update process when a decline in baseline correction effectiveness is detected.
[0060] In another specific embodiment, reference Figure 2 and Figure 3 As shown, after acquiring the absorption spectrum signal and before determining the target moisture absorption peak, this invention also includes baseline correction processing of the absorption spectrum signal. Baseline correction processing is implemented using penalized least squares, the core idea of which is to decompose the observed spectrum into a superposition of a smooth baseline and local absorption peaks, and to constrain the smoothness of the baseline through a penalty term. In the objective function of penalized least squares, the first term is the sum of squared residuals between the fitted value and the observed value, used to ensure the accuracy of the baseline fitting the observed spectrum; the second term is the second derivative norm of the baseline curve, used to constrain the smoothness of the baseline. A balance factor is used to achieve the optimal balance between fitting accuracy and baseline smoothness, and its value is determined by cross-validation. An excessively large balance factor will lead to over-smoothing of the baseline and loss of true spectral characteristics, while an excessively small balance factor will lead to underfitting of the baseline and residual baseline fluctuations.
[0061] The penalized least squares method employs a weighted iterative strategy. In each iteration, the weight of each data point is calculated based on the current residual, with data points having larger residuals receiving smaller weights, thus suppressing the interference of outliers on the baseline estimation. The weighted strategy effectively improves the algorithm's robustness to anomalous spectral features (such as sudden noise spikes). After iterative solving, a smooth baseline estimate is obtained, and dividing the observed spectrum by the baseline yields the baseline-corrected spectrum. Baseline correction effectively eliminates low-frequency baseline drift caused by factors such as light source power fluctuations, changes in fiber transmission loss, and detector response drift. (Reference) Figure 2 Time-domain analysis and Figure 3Spectral analysis revealed the distribution characteristics of baseline noise across various frequency bands. In the time domain, baseline drift mainly manifests as a low-frequency, slowly varying component, with a typical time constant of several to tens of seconds, similar to the time scale of temperature drift and light source power fluctuations. In the frequency domain, the energy of baseline noise is mainly concentrated in the low-frequency region (less than 1 Hz), overlapping with the frequency band of temperature drift interference. This provides a basis for selecting baseline correction algorithm parameters and also indicates that baseline correction and interference component stripping need to be performed in tandem to achieve the best correction effect.
[0062] In another specific embodiment, reference Figure 9 As shown, this invention achieves online calibration of the laser wavelength tuning characteristics through a built-in reference cell, and conducts a systematic comparative test on the measurement errors before and after correction. The output wavelength of a tunable diode laser is modulated by both operating temperature and injection current, resulting in cumulative wavelength drift during long-term continuous operation. Wavelength drift causes the center position of the target absorption line to shift relative to the laser scanning interval, making the amplitude of the absorption signal measured at different times incomparable and seriously affecting the long-term stability of the measurement. The sources of wavelength drift mainly include the refractive index change caused by the temperature rise of the laser chip junction, the accuracy limitations of the TEC temperature control system, and small fluctuations in the drive current. In this embodiment, a sealed reference gas chamber is integrated into the optical measurement cavity. The reference gas chamber is filled with a standard humidity gas of known concentration (100ppm H2O / N2). The optical window of the reference gas chamber is made of ultraviolet fused silica, which is the same material as the measurement optical path, and has consistent light transmission characteristics. In each complete scan cycle, the reference spectrum of the reference gas chamber is acquired in the first half of the cycle, and the measurement spectrum of the gas chamber under test is acquired in the second half of the cycle. The reference spectrum contains known absorption line information for a standard concentration of gas. By comparing the actual and nominal positions of the target absorption lines in the reference spectrum, the wavelength shift of the laser can be calculated in real time, and the peak position extraction results of the measured spectrum can be calibrated online based on this shift. The self-calibration cycle is set to be synchronized with the spectral scanning cycle, so that the latest wavelength shift calibration results can be obtained for each scan.
[0063] refer to Figure 9 A bar chart comparing the relative errors before and after correction under different concentration and interference component conditions is presented. The test concentration range covers a wide range from 1 ppb to 1000 ppm, and the test conditions include typical operating conditions such as pure water, CO2 interference, CH4 interference, and multi-component coupling. The test results show that after correction using the method of this invention, the relative error is significantly reduced under all test conditions, from an average of 2.18 ppb before correction to 0.54 ppb after correction. The correction effect remains stable under different concentrations and interference conditions, demonstrating the broad adaptability of the method of this invention to various operating conditions. (Reference) Figure 9The stability time-series curves for continuous 8-hour measurements are shown. The standard deviation of the corrected measurements is significantly better than that before correction, indicating that the method of the present invention can effectively suppress drift during long-term operation and achieve high-stability continuous online monitoring.
[0064] Furthermore, the P-branch and R-branch selection strategy needs to be optimized in conjunction with the laser's own wavelength tuning characteristics. The output wavelength of a distributed feedback laser increases approximately linearly with increasing injection current, but the tuning sensitivity may differ across different current ranges. Therefore, after selecting the target absorption line, it is necessary to determine the optimal scanning current range based on the laser's wavelength-current characteristic curve to ensure the target absorption line is located at the center of the linear segment of the scanning range. Simultaneously, the selection of the scanning frequency also requires a trade-off between time resolution and frequency resolution requirements: a higher scanning frequency provides faster time resolution, but reduces the number of sampling points per scan, leading to a decrease in frequency resolution; a lower scanning frequency has the opposite effect. This invention employs a 5Hz scanning frequency, achieving the optimal balance between time resolution and frequency resolution, meeting the real-time requirements of industrial online monitoring while ensuring sufficient spectral resolution.
[0065] In another specific embodiment, reference Figure 3 As shown, the target water absorption peak of this invention is selected from the P-branch or R-branch rotational absorption lines, which are the most intense in the vibrational-rotational absorption line clusters of water molecules. The vibrational-rotational absorption spectrum of water molecules in the near-infrared band consists of two sets of rotational line clusters: the P-branch and the R-branch. The P-branch corresponds to transitions where the rotational quantum number of the lower energy level decreases, while the R-branch corresponds to transitions where the rotational quantum number of the lower energy level increases. In the same vibrational transition, the line intensity distributions of the P-branch and R-branch are symmetrical about the vibrational band center. However, because the population of different rotational energy levels under thermodynamic equilibrium conditions follows a Boltzmann distribution, the relative intensities of the rotational lines in the P-branch and R-branch are not completely symmetrical. The intensity of the P-branch absorption line typically reaches its peak at a low to medium rotational quantum number, while the intensity of the R-branch absorption line typically reaches its peak at a medium to high rotational quantum number.
[0066] Furthermore, when selecting the target absorption line, this invention preferentially chooses an absorption line with a moderate rotation quantum number from the P-branch or R-branch. This absorption line has high line intensity and a moderate linewidth, which can reduce overlap with adjacent rotation lines while ensuring detection sensitivity. For the interference lines adjacent to the target absorption line, the difference between their center wavenumbers and the center wavenumber of the target absorption line must be greater than or equal to 0.5 cm. -1 The spacing condition effectively ensures that, under the existing laser linewidth and spectrometer resolution, there is no significant spectral overlap between adjacent absorption lines. When the target absorption line is at the center wavenumber ν0, its first adjacent P branch on the left is located at the wavenumber position corresponding to ν0 minus the rotation quantum number difference, and its first adjacent R branch on the right is located at the wavenumber position corresponding to ν0 plus the rotation quantum number difference. refer to Figure 3 The FFT spectral analysis results provide a basis for the P-branch and R-branch selection strategy and the parameter settings of the subsequent interferometric component stripping algorithm. The FFT spectrum reveals the energy distribution characteristics of multi-component coupled absorption in different frequency bands. By analyzing the amplitude and phase information of each frequency component in the FFT spectrum, the location of the target absorption line least affected by interference can be identified, thereby optimizing the P-branch and R-branch selection strategy. Simultaneously, FFT spectral analysis can also help determine the width setting of the fitting analysis window, ensuring that the window can cover all relevant interferometric absorption lines.
[0067] The uncertainty assessment function of this invention can also output quality indicators for measurement results. After each measurement, the system automatically calculates and outputs the expanded uncertainty U and the coverage factor k, allowing users to directly assess the reliability of the current measurement results. When the expanded uncertainty exceeds a preset threshold, the system automatically outputs a warning message, prompting operators to check factors that may affect measurement accuracy, such as the gas path tightness, optical path cleanliness, and instrument calibration status. This warning mechanism can promptly detect and address problems before measurement result deviations exceed allowable limits, effectively preventing the generation of unqualified measurement data. The system also supports storing the uncertainty assessment results along with the measurement data in the historical record, facilitating subsequent data traceability and quality auditing.
[0068] Further, refer to Figure 5 , Figure 6 and Figure 7 The analysis of the sources of uncertainty assessment results is presented from multiple perspectives. Figure 5 The ICA drift error analysis results reveal the uncertainty contribution of the interferometric component stripping algorithm. Figure 6 The residual distribution between the corrected signal and the true reference value reflects the inherent accuracy of the correction algorithm. Figure 7 The error distribution predicted by the ELM neural network reveals the uncertainty components of the nonlinear correction model. These analytical results together constitute a complete uncertainty assessment system, providing users with transparent measurement quality information.
[0069] In another specific embodiment, reference Figure 5 , Figure 6 , Figure 7 and Figure 10 As shown, the present invention also includes a function for uncertainty assessment of the final moisture concentration measurement result.
[0070] Measurement uncertainty is a parameter characterizing dispersion and used to reasonably evaluate the reliability of measurement results. The uncertainty assessment in this invention is based on a comprehensive calculation of the following main uncertainty components: Type A uncertainty components originate from the statistical analysis of the fitting residuals of a multi-component coupled absorption model, reflecting the model's inherent random errors. These are obtained by performing multiple repeated measurements under the same conditions and calculating the experimental standard deviation of the measurement results. Type B uncertainty components include noise errors introduced by the spectral signal-to-noise ratio, errors introduced by the pressure sensor's measurement accuracy, errors introduced by the temperature sensor's measurement accuracy, and errors introduced by the optical path length calibration accuracy. These components are calculated using the error propagation formula based on the instrument's measurement accuracy specifications and the model parameter calibration accuracy.
[0071] Furthermore, the magnitude of the Type A uncertainty component is negatively correlated with the spectral signal-to-noise ratio (SNR); the higher the SNR, the smaller the Type A uncertainty component. The accuracy of the pressure sensor in the Type B uncertainty component is typically ±0.1%FS, the accuracy of the temperature sensor is typically ±0.1°C, and the accuracy of the optical path length calibration is typically ±0.5%. The total Type B uncertainty is obtained by combining the various Type B uncertainty components using the error propagation formula. The expanded uncertainty is obtained by multiplying the combined components using the root-square method by the coverage factor k (k=2, corresponding to a 95% confidence level).
[0072] Further, refer to Figure 10 The chart presents the numerical distribution of each uncertainty component in a grouped bar chart. The title text box has been moved to the right to avoid obscuring the coordinate axes, clearly showing the proportion of each component in the total uncertainty. The bar chart shows that noise error introduced by the spectral signal-to-noise ratio and error introduced by the model fitting residuals are the main sources of uncertainty, with these two components being particularly significant at low concentrations. (Reference) Figure 10 The trend of expanded uncertainty with moisture concentration is shown using logarithmic coordinate curves. The uncertainty increases significantly at low concentrations, due to the reduced signal-to-noise ratio (SNR) of the absorbed signal and increased noise error components under these conditions. At high concentrations, the uncertainty approaches a constant, because the SNR is sufficiently high, and systematic error becomes the dominant factor. Test results indicate that at ppb-level low concentrations, the expanded uncertainty is less than a specific indicator, meeting the requirements for industrial online monitoring.
[0073] In another specific embodiment, reference Figure 13 As shown, the high-purity gas trace moisture spectral line correction system of the present invention includes a spectral acquisition module, a branch optical path module, a signal processing module, a correction calculation unit, an environmental parameter acquisition unit, an interference component adaptive stripping subunit, and a self-calibration subunit. The modules work together to realize a complete processing flow from spectral acquisition to result output.
[0074] Furthermore, the spectral acquisition module includes a tunable diode laser and a photodetector. The distributed feedback laser operates at a wavelength of 1.392 μm, with an output power in the 10 mW range, a side-mode rejection ratio greater than 40 dB, and an output linewidth better than 100 kHz. The photodetector uses an indium gallium arsenide PIN photodiode with a response wavelength range covering 1.2 μm to 1.7 μm and a response time better than 1 ns. The laser's drive current and temperature control signals are generated by the control unit in the signal processing module, enabling precise modulation of the laser scanning waveform and output power.
[0075] Furthermore, the branch optical path module splits the transmitted light signal into two outputs: a measurement optical path and a reference optical path. The branch optical path module uses a 50:50 fiber coupler; the measurement channel optical signal is sent to the measurement detector, and the reference channel optical signal is sent to the reference detector. This dual-channel design can eliminate the influence of light source power fluctuations on the measurement results in real time, because any change in light source power will be reflected in the detection signals of both the measurement and reference channels simultaneously. The measurement error introduced by the change in light source power can be eliminated by quotienting the two channel signals. The signal processing module integrates a low-noise preamplifier, a programmable filter, and a high-speed analog-to-digital converter. The low-noise preamplifier has an equivalent input noise current density lower than a specific specification; the programmable filter supports adjustable bandwidth to adapt to measurement requirements of different concentration ranges; and the high-speed analog-to-digital converter has 16-bit resolution and a 500 kSa / s sampling rate. The signal processing module is also responsible for preprocessing the acquired digital spectral data, including digital filtering, outlier removal, and data compression.
[0076] Furthermore, the spectral line correction algorithm of this invention is run within the correction arithmetic unit, including a multi-component coupled absorption model, an adaptive iterative fitting algorithm, an extreme learning machine neural network, and a bidirectional piecewise linear interpolation pressure-temperature compensation algorithm. The correction arithmetic unit uses an ARM Cortex-A72 processor as its core, and its arithmetic logic unit supports double-precision floating-point operations, enabling it to complete the correction calculation of a single spectral data within milliseconds, meeting the real-time requirements of industrial online monitoring.
[0077] Furthermore, the environmental parameter acquisition unit includes high-precision temperature and pressure sensors. The temperature sensor uses a Pt1000 platinum resistance thermometer with a measurement accuracy of ±0.1°C; the pressure sensor uses a silicon piezoresistive pressure sensor with a measurement accuracy of ±0.1%FS. The sampling frequency of the environmental parameters is synchronized with the spectral acquisition frequency to ensure strict time alignment between pressure and temperature data and spectral data.
[0078] Furthermore, the interferometric component adaptive stripping subunit invokes the Levenberg-Marquardt optimization algorithm to perform iterative fitting of the multi-component coupled absorption model, achieving rapid convergence and global optimum by adaptively adjusting the damping factor and iteration step size. The self-calibration subunit calculates the laser wavelength offset in real time based on the reference spectral signal from the reference gas cell and outputs a calibration control signal to achieve online compensation of the laser wavelength tuning characteristics.
[0079] refer to Figure 13 The diagram illustrates the interaction between the various modules of the system and the signal processing flow. The functional descriptions and data flow of each module are labeled in simplified Chinese, clearly showing the complete signal chain: the optical signal output from the laser module passes through the optical measurement cavity and photodetector, enters the signal processing module for pre-processing, is transmitted to the correction calculation unit to execute the core correction algorithm, undergoes compensation by combining pressure and temperature data from the environmental parameter acquisition unit, and finally outputs the measurement result through the display and communication module. It also demonstrates the feedback adjustment role of the environmental parameter acquisition module and the built-in reference cell self-calibration module on the main signal chain.
[0080] In another specific embodiment, the internal structure of the high-purity gas trace moisture spectral correction device of the present invention is designed as follows: The main body of the device is made of stainless steel housing. Stainless steel has excellent corrosion resistance and good electromagnetic shielding characteristics, and can adapt to dusty and humid environments in industrial sites, achieving a protection level that meets specific requirements. A sealed cavity is provided inside the housing, and an O-ring seal is used to achieve an airtight connection, preventing external atmosphere from penetrating and contaminating the gas sample. The surface of the stainless steel housing is passivated to form a dense chromium oxide passivation layer, which can effectively resist acid and alkali corrosion and salt spray erosion, making it suitable for the harsh environments of semiconductor plants and chemical plants.
[0081] Furthermore, the optical measurement cavity is located within the main body of the housing and employs a long-path gas cell made of stainless steel tubing. A multi-reflection structure achieves extended optical path length within a limited space, with an effective optical path of up to 50 meters. This multi-reflection structure utilizes a three-dimensional folding optical path design. By placing a precision optical lens support inside the gas cell, the incident light undergoes dozens of folding and reflections within the confined space. The lens surface is coated with a high-reflectivity dielectric film, achieving a reflectivity better than 99.5%. The optical measurement cavity has a laser input window and a light signal output window at its two ends, respectively. The window material is ultraviolet fused silica, exhibiting a transmittance exceeding 99% at a wavelength of 1.392 μm. The inner surface of the gas cell undergoes electropolishing treatment, achieving a surface roughness to specific specifications, reducing the impact of gas molecule adsorption and desorption effects on the measurement results.
[0082] Furthermore, the tunable diode laser module is fixedly mounted on an optical platform inside the housing. The optical platform is isolated from the housing by vibration-damping rubber pads to prevent external mechanical vibrations from interfering with the optical system. The output of the laser module is connected to the input port of the optical measurement cavity via a single-mode optical fiber. The fiber optic connector uses a physical contact FC / PC interface with insertion loss superior to specific specifications. A dedicated fiber optic sealing connector is used for fiber optic insertion through the housing, ensuring the airtightness of the housing while protecting the fiber from mechanical damage.
[0083] Furthermore, the detector module, located at the optical signal output of the optical measurement cavity, includes a measurement channel detector and a reference channel detector. Both the measurement channel detector and the reference channel detector utilize the same type of indium gallium arsenide PIN photodiode to eliminate the influence of detector response characteristic differences on dual-channel comparison measurements. The signal processing circuit board is a multilayer printed circuit board, with analog and digital circuit areas isolated from each other. Analog ground and digital ground are connected at a single point at the power input, effectively suppressing digital switching noise interference with the analog signal. A π-type filter network is installed at the power input of the circuit board to further attenuate high-frequency noise on the power lines.
[0084] Furthermore, the environmental parameter sensor module is installed near the gas inlet and outlet of the optical measurement cavity. A pressure sensor is installed at the gas inlet, and a temperature sensor is installed at the outlet, enabling real-time acquisition of the pressure and temperature status of the gas entering and leaving the optical measurement cavity. The signal lines of the sensor module are connected using shielded cables, and the shielding layer is grounded at a single point at the circuit board entrance to prevent electromagnetic interference from introducing measurement errors. Both the pressure and temperature sensors have undergone metrological calibration, and the calibration certificates are traceable to national metrological standards.
[0085] Further, refer to Figure 11The SEM morphology images show the surface microstructure of the core sensing element inside the optical measurement cavity, including grain structure, nanoparticle distribution, and surface roughness characteristics, using scanning electron microscopy. Three microstructures are shown: the first is a vertical trench structure with a period of approximately 32 μm and a depth of approximately 200 nm. This periodic trench structure is formed on the surface of the sensing element using micro-nano fabrication technology. Its main function is to increase the surface area and guide incident light to undergo multiple scattering, thereby enhancing the probability of interaction between light and the target gas molecules and significantly improving the adsorption and capture efficiency of trace water molecules. Simultaneously, the trench structure also homogenizes the light, making the light intensity distribution received by the detector more uniform. The second is particulate deposits, mainly rich in organic pollutants. These particulate deposits form after the sensing element has been exposed to an industrial atmosphere for a long time. Their state reflects the pollution accumulation characteristics of the sensing element under actual operating conditions. The organic pollutants in the particulate deposits mainly originate from… Lubricating oil residue, condensation of organic vapors in industrial atmospheres, and deposition of precipitates from pipeline materials can all cause shielding effects on the optical surface of the sensing element, leading to shortened effective optical path and baseline drift. Furthermore, organic pollutants may participate in photochemical reactions, generating additional spectral interference. The third type of interference is at grain boundaries, specifically high-angle grain boundaries, approximately 50 nm thick. As the interface region between grains within a metallic material, grain boundaries significantly affect the optical reflection characteristics of the sensing element, the surface diffusion coefficient of gas molecules, and the final spectral response sensitivity. Lattice distortion at high-angle grain boundaries leads to an increase in local electronic state density, thus affecting the photoelectric conversion efficiency of the metal surface. Simultaneously, the presence of numerous dangling bonds and lattice defects at grain boundaries can become preferential active sites for gas molecule adsorption. Scanning electron microscope images, annotated with a 50 μm scale and key imaging parameters of the SE detector (accelerating voltage 20 kV, working distance 8.5 mm, magnification 1.00 KX), reveal the impact of the surface processing quality of the core sensing element on optical measurement performance.
[0086] In another embodiment, the computer-readable storage medium of the present invention stores a computer program that, when executed by a processor, implements a method for correcting trace moisture spectral lines in high-purity gases.
[0087] The computer-readable storage medium can be any type of storage medium capable of storing computer program code, such as a hard disk, solid-state storage, flash memory, optical disc, or magnetic tape. The computer program stored in the storage medium includes the following program modules: a spectral data acquisition module responsible for reading raw spectral data from the analog-to-digital converter and performing preprocessing, including DC component removal, outlier removal, and digital filtering; a peak position determination module responsible for determining the target absorption peak position based on the zero-crossing point of the first derivative of the spectral data and calling a Gaussian line-fitting algorithm for fine peak position calculation; a multi-component coupled absorption model module responsible for constructing a composite Lorentz line-shaped objective function based on the component list of the gas to be measured and setting initial parameter estimates; and an interference component removal module responsible for calling the Levenberg-Marquardt optimization algorithm to perform adaptive iterative fitting, solving for the absorption line intensity of each component, and outputting the interference-free result. The net absorption intensity is calculated; the extreme learning machine inference module is responsible for calling the pre-trained network model to calculate the nonlinearly corrected moisture concentration value based on the net absorption intensity after interference removal; the pressure and temperature compensation module is responsible for performing bidirectional piecewise linear interpolation calculations on the calibration grid based on real-time pressure and temperature data, outputting compensation coefficients and calculating the final moisture concentration value; the self-calibration module is responsible for calculating the laser wavelength offset based on the reference gas cell signal and updating the peak position calibration parameters; the uncertainty assessment module is responsible for comprehensively calculating the expanded uncertainty of the final measurement result and outputting confidence interval information; the historical data management module is responsible for storing and managing historical calibration data and measurement records, supporting incremental learning and model self-updating.
[0088] Further, refer to Figure 1 The flowchart illustrating the spectral correction method demonstrates the logical relationships and data flow between the steps in the computer program execution process. Data is transferred between program modules through standardized data structure interfaces, resulting in a clear modular structure that facilitates subsequent functional expansion and maintenance upgrades. Version management of program modules is implemented using version control strings, ensuring the traceability and consistency of measurement results across different versions of the program.
[0089] In another embodiment, reference Figure 12 As shown, the electronic product of this invention is implemented in the form of a portable trace moisture analyzer. The housing of this portable analyzer is made of high-strength engineering plastic, and its design conforms to ergonomic principles, with the handle forming a natural tilt angle with the body, facilitating prolonged handheld use. The housing's protection level meets specific requirements, capable of withstanding drops from a certain height and dust ingress, making it suitable for various application scenarios such as industrial sites and outdoor operations.
[0090] Furthermore, the housing is equipped with a display screen to show various information such as moisture concentration measurement results, pressure and temperature environmental parameters, equipment operating status, and historical trend curves. The display screen supports touch operation, allowing operators to directly set parameters, query data, and perform calibration operations via the touch screen without the need for an external computer or dedicated debugging equipment.
[0091] Furthermore, the embedded processor module is equipped with a hardware floating-point unit, enabling it to execute the spectral line correction algorithm of this invention in real time, with processing speed meeting the real-time requirements of online monitoring. The processor employs a low-power design, combined with dynamic voltage and frequency adjustment technology, which extends battery life while ensuring computational performance.
[0092] Furthermore, the memory module includes flash memory and dynamic memory: flash memory is used to store program code and historical calibration data, and the data is not lost after power failure; dynamic memory is used for runtime data caching and temporary storage of intermediate calculation results, and its capacity meets the memory requirements of multi-task concurrent processing.
[0093] Furthermore, the display module supports multiple display modes, capable of displaying moisture concentration measurement results in real time in both numerical and graphical formats. The numerical display mode directly shows the current measurement value in large Arabic numerals, suitable for scenarios requiring rapid result reading. The graphical display mode displays the historical trend of moisture concentration changes as a time-series curve, facilitating operator observation of concentration fluctuation patterns and abnormal events. The display interface supports day / night mode switching to adapt to reading requirements under different lighting conditions.
[0094] Furthermore, the data communication interface module includes a universal serial bus interface, a serial communication interface, and a Bluetooth wireless interface, used for data interaction and program upgrades with a host computer, wired communication with an industrial control system, and wireless data synchronization with a mobile terminal, respectively. The universal serial bus interface supports the USB 2.0 high-speed transmission protocol, the serial communication interface supports the RS485 standard bus protocol, and the Bluetooth wireless interface supports the BLE low-power Bluetooth protocol, with an effective communication distance exceeding specific specifications.
[0095] Furthermore, the adaptive range switching module automatically switches between high-sensitivity and standard ranges based on the moisture concentration range in the gas being measured. When the detected concentration is below ppm, it automatically switches to the high-sensitivity range to obtain higher detection sensitivity; when the detected concentration is above ppm, it automatically switches to the standard range to avoid detector saturation. The range switching process is smooth and abrupt, with a transition time better than specific indicators, ensuring data consistency and comparability during continuous monitoring.
[0096] Furthermore, the anomaly diagnosis module monitors the optical path attenuation and detector response characteristics within the optical measurement chamber in real time. When optical path attenuation exceeds a preset threshold or detector response characteristics drift significantly, it outputs an early warning to prompt the user for maintenance. The anomaly diagnosis module can also monitor power supply status such as power voltage and battery level, reminding operators to charge the battery in advance when it is low. Diagnostic results are stored in the historical record as fault codes, facilitating quick fault location and troubleshooting by maintenance personnel.
[0097] Although the present invention has been specifically described above with reference to preferred embodiments, it should be understood that the present invention is not limited to the embodiments described above. Various modifications and variations can be made by those skilled in the art without departing from the spirit of the present invention, and such modifications and variations should fall within the scope defined by the appended claims and their equivalents.
Claims
1. A method for spectral correction of trace moisture in high-purity gases, characterized in that, Includes the following steps: The absorption spectrum signal of moisture in the high-purity gas to be tested is acquired by a tunable diode laser absorption spectroscopy acquisition system. Determine the center wavenumber position of the target moisture absorption peak in the absorption spectrum signal, and extract the original absorption intensity of the target moisture absorption peak; A multi-component coupled absorption model is constructed, and the interference component of the target moisture absorption peak is stripped off based on the multi-component coupled absorption model to obtain the net absorption intensity of the target moisture after interference removal. Based on the target net water absorption intensity, and combined with historical calibration data, a nonlinear correction mapping relationship between water concentration and net absorption intensity is established. The corrected moisture concentration value is calculated based on the nonlinear correction mapping relationship. Based on real-time monitored gas pressure and temperature signals, pressure and temperature compensation is applied to the moisture concentration value to obtain the final moisture concentration measurement result.
2. The spectral correction method for trace moisture in high-purity gas as described in claim 1, characterized in that, The tunable diode laser absorption spectrum acquisition system uses a near-infrared distributed feedback laser with a working wavelength in the range of 1.3μm to 2.0μm as the light source. The linewidth of the laser is better than 100kHz, and the scanning frequency range is 1Hz to 10kHz.
3. The spectral correction method for trace moisture in high-purity gas as described in claim 1, characterized in that, The mathematical expression for the multi-component coupled absorption model is: ,in, Where P is the total absorption coefficient and P is the total gas pressure. Let i be the mole fraction of the i-th gaseous component. Let L be the linear intensity of the i-th gas component at temperature T, and L be the optical path length. The laser wavenumber, Let be the center wavenumber of the absorption line of the i-th gas component. Let be the pressure broadening factor of the full width at half maximum (FWHM) of the i-th gas component. Let be the pressure frequency shift coefficient of the i-th gas component, i be the index of the gas component involved in the absorption, and N be the total number of gas components involved in the absorption.
4. The spectral correction method for trace moisture in high-purity gas as described in claim 3, characterized in that, The interference component stripping employs an adaptive iterative fitting algorithm, and the steps include: Center wavenumber of the target moisture absorption peak Based on this, the width is set to... The fitting analysis window; The measured spectral data within the fitting analysis window are preprocessed with wavelet noise reduction to obtain the preprocessed spectral data. Build with The composite objective function centered on the target water is solved iteratively using the Levenberg-Marquardt optimization algorithm to separate the net absorption component of the target water and the interference component of at least one interfering component. The composite objective function is represented as the sum of squared residuals between the measured absorption coefficient and the predicted absorption coefficient of the multi-component coupled absorption model.
5. The spectral correction method for trace moisture in high-purity gas as described in claim 4, characterized in that, The nonlinear correction mapping relationship is established using an extreme learning machine neural network. The input layer nodes of the extreme learning machine neural network include the net absorption intensity of the target moisture after interference removal, gas temperature, gas pressure, and optical path length, and the output layer nodes are the corrected moisture concentration values. The Extreme Learning Machine Neural Network uses historical calibration data to train the input weights and hidden layer biases offline during the training phase, and adopts an incremental learning method to update the model during the online application phase.
6. The spectral correction method for trace moisture in high-purity gas as described in claim 5, characterized in that, The pressure and temperature compensation is implemented using a bidirectional piecewise linear interpolation algorithm, and the steps include: A pre-constructed two-dimensional calibration grid for pressure and temperature is provided, wherein the pressure dimension of the calibration grid covers 0.1 MPa to 10 MPa, and the temperature dimension covers -20°C to 80°C. In actual measurement, based on the real-time gas pressure and temperature values, bidirectional piecewise linear interpolation is performed on the calibration grid to calculate the corresponding compensation coefficient; Multiplying the compensation coefficient by the corrected moisture concentration value yields the final moisture concentration measurement result after pressure and temperature compensation.
7. The spectral correction method for trace moisture in high-purity gas as described in claim 1, characterized in that, After acquiring the absorption spectral signal and before determining the target moisture absorption peak, the method further includes: performing baseline correction processing on the absorption spectral signal, specifically including fitting the continuous background of the absorption spectral signal using the penalized least squares method, subtracting the fitted baseline from the original spectral signal, and obtaining the baseline-corrected absorption spectral signal.
8. The spectral correction method for trace moisture in high-purity gas as described in claim 1, characterized in that, Before acquiring the absorption spectrum signal of moisture in the high-purity gas to be tested, the method further includes: periodically acquiring the reference spectrum signal in the built-in reference cell, which is filled with a standard humidity gas of known concentration; and performing online self-calibration of the wavelength tuning characteristics of the laser based on the correspondence between the reference spectrum signal and the known concentration.
9. The spectral correction method for trace moisture in high-purity gas as described in claim 1, characterized in that, The target moisture absorption peak is selected from the highest intensity P-branch or R-branch rotating absorption line in the ultrafine absorption line cluster of water molecules, and the absolute value of the difference between the center wavenumber of the absorption line of adjacent interference components and the center wavenumber of the target moisture absorption peak is not less than 0.5 cm⁻¹. -1 .
10. The spectral correction method for trace moisture in high-purity gas as described in claim 1, characterized in that, It also includes: evaluating the uncertainty of the final moisture concentration measurement result, and comprehensively calculating the expanded uncertainty of the final moisture concentration measurement result based on the fitting residual of the multi-component coupled absorption model, the spectral signal-to-noise ratio, and the pressure and temperature measurement errors.
11. A spectral correction system for trace moisture in high-purity gases, used to perform the spectral correction method for trace moisture in high-purity gases as described in any one of claims 1-10, characterized in that, include: The spectral acquisition module is used to emit a laser signal to the high-purity gas to be tested and receive the transmitted light signal after being absorbed by the high-purity gas to be tested, and output the absorption spectrum data to be tested. A branch optical path module, connected to the spectral acquisition module, is used to split the transmitted light signal into two outputs: a measurement optical path and a reference optical path. The detector module, connected to the branch optical path module, is used to convert the optical signals of the measurement optical path and the reference optical path into corresponding electrical signals, respectively. A signal processing module, connected to the detector module, is used to amplify, filter, and perform analog-to-digital conversion on the electrical signal; A correction calculation unit, connected to the signal processing module, is used to execute the spectral correction method as described in any one of claims 1 to 10 to obtain the final moisture concentration measurement result; An environmental parameter acquisition unit, connected to the correction and calculation unit, is used to acquire the pressure and temperature signals of the high-purity gas to be tested in real time. The correction operation unit also includes an interference component adaptive stripping subunit, which is used to iteratively fit overlapping absorption peaks and strip interference components based on a multi-component coupled absorption model. The correction calculation unit also includes a self-calibration subunit, which is used to calibrate the laser wavelength tuning characteristics in real time based on the reference spectral signal of the built-in reference cell.
12. A spectral correction device for trace moisture in high-purity gases, characterized in that, include: Main body of the casing; An optical measurement cavity is located inside the main body of the housing, and a laser input window and an optical signal output window are respectively provided at both ends of the optical measurement cavity; A tunable diode laser module is disposed inside the main body of the housing, and the output end of the tunable diode laser module is connected to the laser input window via an optical fiber; The detector module is located inside the main body of the housing, and the input end of the detector module is connected to the optical signal output window; The signal processing circuit board is located inside the main body of the housing, and the signal processing circuit board integrates an analog front-end circuit, an analog-to-digital converter and an embedded microprocessor. An environmental parameter sensor module is installed inside the main body of the casing. The environmental parameter sensor module includes a temperature sensor and a pressure sensor. The reference gas chamber, located inside the main body of the housing, is positioned on the optical path branch of the optical measurement cavity and is used to provide a wavelength calibration reference signal. The embedded microprocessor is used to execute a computer program stored in a memory to implement the spectral correction method for trace moisture in high-purity gas as described in any one of claims 1 to 10; The device also includes a metal housing sealing structure for achieving a full Venturi seal of the optical measurement cavity to meet the requirements for online dew point monitoring of high-purity gases.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the spectral correction method for trace moisture in high-purity gas as described in any one of claims 1 to 10.
14. An electronic product, characterized in that, include: case; An embedded processor module is located inside the housing; A memory module located inside the housing; The display module, located inside the housing, is used to display the moisture concentration measurement results and the equipment operating status. The data communication interface module, located inside the housing, is used for data interaction with a host computer or industrial control system. The spectral signal acquisition front end is located inside the housing and is connected to an external spectral sensor; An optical measurement gas chamber is embedded inside the housing; The embedded processor module executes the spectral correction method for trace moisture in high-purity gas as described in any one of claims 1 to 10 by running a computer program stored in the memory module. The electronic product also includes an adaptive range switching module, which is used to automatically switch between high sensitivity and standard range according to the range of moisture concentration in the gas to be measured, so as to extend the dynamic measurement range of the device from ppb level to ppm level and cover the full range. The electronic product also includes an anomaly diagnosis module, which is used to monitor the optical path attenuation status and detector response characteristics in the optical measurement chamber in real time, and output early warning information when optical path contamination or detector aging causes signal quality degradation.
