Gas analyzer, calibration method thereof and computer readable storage medium
By designing the detection and calibration optical path in the gas analyzer, using the combination of zero gas and standard gas calibration cells to calculate the spectral drift and resolution correction coefficient, the problems of spectral morphology changes and resolution changes are solved, and accurate gas analysis is achieved and reliable calibration.
Patent Information
- Application Number
- CN202411026542.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-07-30
AI Technical Summary
In the absorption spectrum monitoring scenario, the spectral morphology is susceptible to changes caused by the influence of optical-mechanical structure, temperature and external force. The existing spectral translation analysis method cannot completely match, and cannot be solved when the spectral resolution changes, resulting in abnormal concentration calculation.
A gas analyzer is designed, including a detection light path and a calibration light path, which enter the spectrometer through the first optical fiber coupler. It uses a combination of zero gas and standard gas calibration cells, uses a solenoid valve to switch the light source, and calculates the spectral drift and resolution correction coefficient. Perform calibration to achieve automatic correction of spectral drift and resolution.
It realizes automatic calibration of gas analyzers, intelligently identifies differences in standard gases and corrects data deviations, solves concentration changes caused by changes in spectral resolution, and greatly improves the reliability and analysis accuracy of the instrument.
Smart Images

Figure CN118549371A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of analysis and detection, and in particular relates to a gas analyzer and a calibration method thereof, and a computer-readable storage medium. Background Art
[0002] At present, in the absorption spectrum monitoring scenario, the spectrum will be affected by factors such as the optical-mechanical structure, temperature, external force, and falling, causing the spectral morphology to change. When the deformed spectrum is used to calculate the concentration, it will cause concentration anomalies. The existing conventional correction method generally uses spectral shift analysis. However, the spectra of general light sources (such as xenon lamps, deuterium lamps, mercury lamps, etc.) have corresponding characteristic spectral shapes, and due to pollution and other reasons, they cannot be corrected to a complete match after shifting. In addition, when the resolution of the spectrum changes, the problem cannot be solved after spectral shifting. Summary of the invention
[0003] Based on the above-mentioned shortcomings and deficiencies in the prior art, one of the objects of the present invention is to at least solve one or more of the above-mentioned problems in the prior art. In other words, one of the objects of the present invention is to provide a gas analyzer and its calibration method, and a computer-readable storage medium that meet one or more of the aforementioned needs.
[0004] In order to achieve the above-mentioned object of the invention, the present invention adopts the following technical solutions: A gas analyzer comprises a detection optical path, a calibration optical path, a first optical fiber coupler and a spectrometer, wherein the detection optical path and the calibration optical path are connected in parallel and then enter the spectrometer through the first optical fiber coupler; The detection optical path includes a detection light source and an absorption cell. The detection light signal emitted by the detection light source passes through the absorption cell and then enters the spectrometer through the first optical fiber coupler. The calibration optical path includes a calibration light source, 1* M Optical switches and M A calibration pool; M The calibration cells include a zero gas calibration cell and N The calibration light signal emitted by the calibration light source passes through 1* M The optical switch selects to pass through the zero gas calibration cell or the standard gas calibration cell, and then enters the spectrometer through the first optical fiber coupler.
[0005] As a preferred solution, the detection light source and the calibration light source are switched by a solenoid valve and enter 1* through a second optical fiber coupler. M Optical switch.
[0006] As a preferred solution, the detection light source is a pulsed xenon lamp, and the calibration light source is a continuous deuterium lamp.
[0007] As a preferred embodiment, the absorption tank is a White tank or a Herriot tank.
[0008] The present invention also provides a calibration method for the gas analyzer as described in the above scheme, comprising the following steps: S1, calibration light source through 1* M An optical switch controls the optical switch branch to select the path to enter the zero gas calibration pool, and then enter the spectrometer through the first optical fiber coupler to obtain the zero gas spectrum; Control the optical switch branches to select and enter each standard gas calibration pool respectively, so as to obtain the spectrum of each standard gas respectively; S2, after processing the spectra of each standard gas and the zero gas spectrum, we can get T Time 0, different sampling points h Next i Absorbance of standard gas ;in, i ∈[1, N ], h ∈[1, H ], H is the total number of sampling points; S3. Calculate the i The standard gas is within the parameter sampling range [ P , Q ] weighted standard gas absorption sampling band [ K , L The sum of the absorbance series of ;in,[ K , L ]∈[ P , Q ]; S4. T At time 1, repeat steps S1 to S3 to obtain T 1 moment, different sampling points h Next i Absorbance of standard gas and the sum of the absorbance series ;in, T 1 and T The difference of 0 is the calibration period T An integer multiple of ; S5, the interval between adjacent sampling points d conduct Z +1 is used as an interpolation point for absorbance Perform linear fitting interpolation , z ∈[1, Z ]; then calculate and The correlation R z ,Pick The minimum value corresponds to z *The spectral shift is calculated as ; According to the spectral drift T 1st time i The spectrum of the standard gas is drift-corrected and then recalculated After calibration, ; S6, based on different standard gas concentrations i Standard gas and calibrated Calculating the Resolution Correction Factor K s ; S7. Using the resolution correction factor K s Correct for concentration.
[0009] As a preferred embodiment, the sum of the absorbance series for: ; The sum of the absorbance series for: ; in, β is the fitting coefficient.
[0010] As a preferred solution, in step S5, the correlation degree R z for: ; ; in, b 1. b 2 is the fitting coefficient.
[0011] As a preferred solution, in step S6, the resolution correction coefficient K s for: ; in, R For the i The number of types of standard gas with different concentrations, for T 0 time, r The concentration of the standard gas i The sum of the absorbance series of the standard gas, for T 1st moment, r The concentration of the standard gas i The sum of the absorbance series of the standard gas.
[0012] As a preferred solution, in step S7, the corrected concentrationC 1 is: ; in, C 0 is the concentration before correction.
[0013] The present invention also provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the calibration method as described in any of the above schemes.
[0014] Compared with the prior art, the present invention has the following beneficial effects: (1) The gas analyzer of the present invention is designed with an optical-mechanical structure that can be automatically calibrated, which can intelligently switch the calibration light source, regularly calibrate the spectral drift of the spectrometer and the optical path system, intelligently identify the difference of the standard gas and correct the data deviation caused by the difference of the standard gas concentration; (2) The calibration method of the gas analyzer of the present invention can intelligently calculate the change of spectral resolution, timely correct the concentration change caused by the spectral resolution, and restore it to the initial resolution by calculating the resolution correction coefficient, which can solve the calibration problem, greatly ensure the reliability of the instrument, and realize accurate analysis of the gas; (3) The computer-readable storage medium of the present invention realizes intelligent calibration of the gas analyzer. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 Schematic diagram of the optical path structure of the gas analyzer according to Embodiment 1 of the present invention; Figure 2 is a spectrum diagram before correction when the calibration method of Example 1 of the present invention is applied to nitric oxide analysis; Figure 3 This is a drift-corrected spectrum diagram of nitric oxide analysis using the calibration method of Example 1 of the present invention. DETAILED DESCRIPTION
[0016] In order to more clearly illustrate the embodiments of the present invention, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other accompanying drawings and other implementation methods can be obtained based on these accompanying drawings without creative work.
[0017] Embodiment 1: like Figure 1 As shown, the gas analyzer of this embodiment includes a detection optical path, a calibration optical path, a first optical fiber coupler and a spectrometer. The detection optical path and the calibration optical path are connected in parallel and enter the spectrometer through the first optical fiber coupler, so as to facilitate the switching between detection and calibration.
[0018] Specifically, the detection optical path of this embodiment includes a detection light source and an absorption cell. The detection light signal emitted by the detection light source passes through the absorption cell and then enters the spectrometer through the first optical fiber coupler, so that the spectrometer can obtain the spectrum signal of the gas to be detected.
[0019] The detection light source is a pulsed xenon lamp, and the absorption cell is a long optical path absorption cell such as a White cell and a Herriot cell.
[0020] The calibration optical path of this embodiment includes a calibration light source, a 1*3 optical switch and three calibration pools; the three calibration pools include a zero gas calibration pool and two standard gas calibration pools, and the two standard gas calibration pools are respectively a standard gas 1 calibration pool and a standard gas 2 calibration pool; the calibration light signal emitted by the calibration light source is selected by the 1*3 optical switch to pass through the zero gas calibration pool, the standard gas 1 calibration pool or the standard gas 2 calibration pool, and then enters the spectrometer through the first optical fiber coupler to obtain the zero gas spectrum, the standard gas 1 spectrum and the standard gas 2 spectrum.
[0021] Wherein, the above-mentioned calibration light source uses a continuous deuterium lamp, and the zero gas uses nitrogen or clean air.
[0022] In addition, the detection light source and calibration light source of the present embodiment are switched by an electromagnetic valve and enter the 1*3 optical switch through the second optical fiber coupler; that is, the detection light source of the present embodiment can also be used as a calibration light source, and the detection light source is preferably used as the calibration light source, and the calibration light source is used as a backup.
[0023] The first optical fiber coupler of this embodiment is a four-in-one optical fiber coupler, and the second optical fiber coupler is a two-in-one optical fiber coupler.
[0024] Based on the above-mentioned gas analyzer, the calibration method of this embodiment includes the following steps: (1) Before measuring, start the calibration mode, select the light source type through the solenoid valve control, preferably the detection light source, or disconnect the detection light source and switch to the calibration light source, then enter the 1*3 optical switch through the second optical fiber coupler, control the 1*3 optical switch branch to select to enter the zero gas calibration pool (i.e. switch the zero gas optical path), and then enter the spectrometer through the first optical fiber coupler, and the spectrometer receives the zero gas spectrum; Control the 1*3 optical switch to select the path to enter the calibration pool of standard gas 1 (i.e. switch the optical path of standard gas 1), and then enter the spectrometer through the first optical fiber coupler, and the spectrometer receives the spectrum of standard gas 1; Control the 1*3 optical switch to select the path to enter the calibration pool of standard gas 2 (i.e. switch the optical path of standard gas 2), and then enter the spectrometer through the first optical fiber coupler, and the spectrometer receives the spectrum of standard gas 2; (2) After processing the above-mentioned spectra of standard gas 1, standard gas 2 and zero gas, we get T Time 0, different sampling points h Subscript gas iThe absorbance ;in, i ∈[1, 2], h ∈[1, H ], H is the total number of sampling points; in addition, the absorbance is stored And build absorbance array A : ; The processing of the above-mentioned standard gas 1 spectrum, standard gas 2 spectrum and zero gas spectrum can refer to the existing technology and will not be repeated here; (3) Calculate the standard gas separately i In the parameter sampling range [ P , Q ] weighted standard gas absorption sampling band [ K , L The sum of the absorbance series of ;in,[ K , L ]∈[ P , Q ]; Specifically, ; in, β is the fitting coefficient, which can be obtained by fitting according to the actual application scenario; (4) Start the calibration mode at a fixed time. T At time 1, repeat steps S1 to S3 to obtain T 1 moment, different sampling points h Next i Absorbance of standard gas and the sum of the absorbance series ;in, T 1 and T The difference of 0 is the calibration period T An integer multiple of ; Specifically, ; (5) The interval between adjacent sampling points d conduct Z +1 is used as an interpolation point for absorbance Perform linear fitting interpolation , z ∈[1, Z ], as an example, Z The value is 100; the linear fitting interpolation can be specifically referred to the prior art, which will not be described in detail here; Then calculate and The correlation R z : ; ; in, b 1. b 2 is the fitting coefficient.
[0025] Pick The minimum value corresponds to z * The spectral shift is calculated as ; According to the spectral drift T 1st time i The spectrum of the standard gas is drift corrected (i.e., shifted) and then recalculated After calibration, ; (6) Based on different standard gas concentrations i Standard gas and calibrated Calculating the Resolution Correction Factor K s ; Specifically, ; in, R For the i The number of different concentrations of the standard gas, as an example, R The value is 5, which represents five concentration gradients of 100%, 80%, 50%, 20%, and 10% of the full scale of the same standard gas; for T 0 time, r The concentration of the standard gas i The sum of the absorbance series of the standard gas, for T 1st moment, r The concentration of the standard gas i The sum of the absorbance series of the standard gas.
[0026] (7) Using the resolution correction factor K s Correct for concentration.
[0027] Specifically, the corrected concentration C 1 is: ; in, C 0 is the concentration before correction.
[0028] The computer-readable storage medium of this embodiment stores instructions. When the instructions are executed on a computer, the computer executes the calibration method of this embodiment to realize intelligent calibration.
[0029] In order to verify the accuracy of the above calibration method of this embodiment, the analysis of nitric oxide (NO) is taken as an example for detailed description: Start the measurement mode, start the detection light source, measure the spectrum in real time and calculate the absorbance, then correct the absorbance drift and absorbance resolution to obtain the corrected concentration.
[0030] like Figure 2 As shown, the spectra of signal 1, signal 2 and signal 3 are obtained respectively, signal 1 corresponds to the original absorbance, signal 2 corresponds to drift and 0.9 resolution, and signal 3 corresponds to drift and 0.8 resolution, that is, the spectra of signal 2 and signal 3 show changes in drift and resolution compared with the spectrum of signal 1, as shown in Table 1.
[0031] Table 1 The peak value of absorbance and the sum of absorbance series (i.e. signal value) after the spectrometer drifts
[0032] After drift correction, the drift-corrected absorbance peak and the sum of the absorbance series (i.e., signal value) are obtained, as shown in Table 2 and Figure 3 shown.
[0033] Table 2 Drift-corrected absorbance peak and sum of absorbance series (i.e. signal value)
[0034] However, after drift correction, there are still different resolutions leading to different absorbances, so resolution correction should also be performed. Nitric oxide (NO) has two absorption peaks, and the gas concentration is corrected by combining the peak position and resolution correction analysis method.
[0035] Table 3 Comparison of the first absorption peak drift before and after correction
[0036] Table 4 Comparison of the second absorption peak drift before and after correction
[0037] The analysis of the first absorption peak, as shown in Table 3, shows a comparison between the gas concentration before and after drift correction. The error between the gas concentration after correction and the evaluation gas concentration is within 0.3%. The analysis of the second absorption peak, as shown in Table 4, shows a comparison between the gas concentration before and after drift correction. The error between the gas concentration after correction and the evaluation gas concentration is within 0.82%.
[0038] In summary, the calibration method of this embodiment effectively improves the accuracy of gas analysis.
[0039] Embodiment 2: The difference between the gas analyzer of this embodiment and that of embodiment 1 is that: The calibration light source is omitted, and only the detection light source is retained. The detection light source is used as the calibration light source to simplify the structure and meet the needs of different applications. For other structures, please refer to Example 1.
[0040] Embodiment 3: The calibration method of the gas analyzer of this embodiment is different from that of Embodiment 1 in that: The number of standard gases is not limited to two and can be increased or decreased according to actual application requirements to meet the needs of different applications; For other calibration steps, please refer to Example 1.
[0041] The above description is only a detailed description of the preferred embodiments and principles of the present invention. For ordinary technicians in this field, according to the ideas provided by the present invention, there will be changes in the specific implementation methods, and these changes should also be regarded as the protection scope of the present invention.
Claims
1. A gas analyzer, characterized in that: It includes a detection optical path, a calibration optical path, a first optical fiber coupler and a spectrometer. The detection optical path and the calibration optical path are connected in parallel and then enter the spectrometer through the first optical fiber coupler. The detection optical path includes a detection light source and an absorption cell. The detection light signal emitted by the detection light source passes through the absorption cell and then enters the spectrometer through the first optical fiber coupler. The calibration optical path includes a calibration light source, 1* M Optical switches and M A calibration pool; M The calibration cells include a zero gas calibration cell and N The calibration light signal emitted by the calibration light source passes through 1* M The optical switch selects to pass through the zero gas calibration cell or the standard gas calibration cell, and then enters the spectrometer through the first optical fiber coupler.
2. The gas analyzer according to claim 1, characterized in that: The detection light source and the calibration light source are switched by the electromagnetic valve and enter 1* through the second optical fiber coupler M Optical switch.
3. The gas analyzer according to claim 1, characterized in that: The detection light source is a pulsed xenon lamp, and the calibration light source is a continuous deuterium lamp.
4. The gas analyzer according to claim 1, characterized in that: The absorption pool is a White pool or a Herriot pool.
5. The gas analyzer calibration method according to claim 1, characterized in that: The following steps are involved: S1, calibration light source through 1* M An optical switch controls the optical switch branch to select the path to enter the zero gas calibration pool, and then enter the spectrometer through the first optical fiber coupler to obtain the zero gas spectrum; Control the optical switch branches to select the calibration pools of the standard gases respectively, so as to obtain the spectra of the standard gases respectively; S2, after processing the spectra of each standard gas and the zero gas spectrum, we can get T Time 0, different sampling points h Next i Absorbance of standard gas ;in, i ∈[1, N ], h ∈[1, H ], H is the total number of sampling points; S3. Calculate the i The standard gas is within the parameter sampling range [ P , Q ] weighted standard gas absorption sampling band [ K , L The sum of the absorbance series of ;in,[ K , L ]∈[ P , Q ]; S4. T At time 1, repeat steps S1 to S3 to obtain T 1 moment, different sampling points h Next i Absorbance of standard gas and the sum of the absorbance series ;in, T 1 and T The difference of 0 is the calibration period T An integer multiple of ; S5, the interval between adjacent sampling points d conduct Z +1 is used as an interpolation point for absorbance Perform linear fitting interpolation , z ∈[1, Z ]; then calculate and The correlation R z ,Pick The minimum value corresponds to z * The spectral shift is calculated as ; According to the spectral drift T 1st time i The spectrum of the standard gas is drift-corrected and then recalculated After calibration, ; S6, based on different standard gas concentrations i Standard gas and calibrated Calculating the Resolution Correction Factor K s ; S7. Using the resolution correction factor K s Correct for concentration.
6. The calibration method according to claim 5, characterized in that: The sum of the absorbance series for: ; The sum of the absorbance series for: ; in, β is the fitting coefficient.
7. The calibration method according to claim 6, characterized in that: In step S5, the correlation R z for: ; ; in, b 1. b 2 is the fitting coefficient.
8. The calibration method according to claim 7, characterized in that: In step S6, the resolution correction coefficient K s for: ; in, R For the i The number of types of standard gas with different concentrations, for T 0 time, r The concentration of the standard gas i The sum of the absorbance series of the standard gas, for T 1st moment, r The concentration of the standard gas i The sum of the absorbance series of the standard gas.
9. The calibration method according to claim 8, characterized in that: In step S7, the corrected concentration C 1 is: ; in, C 0 is the concentration before correction.
10. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When the instructions are executed on a computer, the computer is caused to execute the calibration method as described in any one of claims 5 to 9.
Citation Information
Patent Citations
Gas analysis device with automatic calibration function and calibration method
CN112345528A
Calibration device for ultraviolet gas monitoring equipment
CN113804636A
Calibration of mass-produced CCD emission spectrometers, whereby calibration is split into spectrometer dependent and independent functions, with the independent function determined for all systems using a reference spectrometer
DE10152679A1
Apparatus and methods for microscopy having resolution beyond the Abbe limit
US20130286179A1
Cited By
Automatic zero calibration type Fourier infrared gas analyzer and analysis method thereof
CN119198610A
