CN115639168B - Gas detection method, system and medium for gas analyzer - Google Patents
Gas detection method, system and medium for gas analyzer Download PDFInfo
- Publication number
- CN115639168B CN115639168B CN202211646991.1A CN202211646991A CN115639168B CN 115639168 B CN115639168 B CN 115639168B CN 202211646991 A CN202211646991 A CN 202211646991A CN 115639168 B CN115639168 B CN 115639168B
- Authority
- CN
- China
- Prior art keywords
- target
- gas
- detected
- water vapor
- absorbance spectrum
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 44
- 238000000862 absorption spectrum Methods 0.000 claims abstract description 157
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Chemical compound O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 129
- 238000010521 absorption reaction Methods 0.000 claims abstract description 45
- 239000007789 gas Substances 0.000 claims description 341
- 230000003595 spectral effect Effects 0.000 claims description 47
- 238000012937 correction Methods 0.000 claims description 30
- 238000004364 calculation method Methods 0.000 claims description 16
- 238000001228 spectrum Methods 0.000 claims description 15
- 238000000034 method Methods 0.000 claims description 11
- 241000953561 Toia Species 0.000 claims description 3
- 239000011248 coating agent Substances 0.000 claims description 2
- 238000000576 coating method Methods 0.000 claims description 2
- 238000005259 measurement Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- IJGRMHOSHXDMSA-UHFFFAOYSA-N Atomic nitrogen Chemical compound N#N IJGRMHOSHXDMSA-UHFFFAOYSA-N 0.000 description 4
- 238000005033 Fourier transform infrared spectroscopy Methods 0.000 description 3
- 238000002835 absorbance Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 229910052757 nitrogen Inorganic materials 0.000 description 2
- 230000009022 nonlinear effect Effects 0.000 description 2
- 239000002994 raw material Substances 0.000 description 2
- 238000001157 Fourier transform infrared spectrum Methods 0.000 description 1
- 238000004566 IR spectroscopy Methods 0.000 description 1
- 239000000809 air pollutant Substances 0.000 description 1
- 231100001243 air pollutant Toxicity 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 238000004868 gas analysis Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000004611 spectroscopical analysis Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A50/00—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE in human health protection, e.g. against extreme weather
- Y02A50/20—Air quality improvement or preservation, e.g. vehicle emission control or emission reduction by using catalytic converters
Landscapes
- Investigating Or Analysing Materials By Optical Means (AREA)
Abstract
The invention relates to a gas detection method, a system and a medium of a gas analyzer, wherein the gas detection method comprises the following steps: collecting the absorbance spectrum of each target gas with preset range point concentration, and also respectively collecting the absorbance spectrum of water vapor with different standard concentrations; selecting a target absorption peak according to the absorbance spectrum of the target gas to determine a target wave band corresponding to the target absorption peak; detecting the gas sample to be detected to obtain an absorbance spectrum of the gas sample to be detected; matching the absorbance spectrum of the gas sample to be detected with the absorbance spectra of water vapor with different standard concentrations to obtain the absorbance spectrum of the water vapor in the gas sample to be detected; and in a target wave band corresponding to the target gas to be detected, calculating the concentration of the target gas to be detected according to the preset measuring range point concentration of the target gas, the absorbance spectrum of the gas sample to be detected, the absorbance spectrum of water vapor in the gas sample to be detected and the influence of the rest gas to be detected in the gas sample to be detected on the target gas to be detected. The invention effectively improves the detection precision of the gas concentration.
Description
Technical Field
The invention belongs to the technical field of gas analysis and detection, and particularly relates to a gas detection method and system of a gas analyzer and a readable medium.
Background
The Fourier transform infrared spectrum technology is a comprehensive detection technology which is rapidly developed in recent years. As most trace and trace gases in the atmosphere are infrared active gases, the gas has the capability of absorbing and emitting infrared characteristic spectrum in the wave band range of 2-30 mu m, and the wave band is called as a fingerprint wave band in a middle infrared region, so that the gas is very favorable for spectral measurement.
Fourier transform infrared spectroscopy (FTIR) technology has been the dominant means of infrared spectroscopy since the 80 s. FTIR spectroscopy is a method which utilizes the principle of beam-splitting interference, combines a Michelson interferometer, a modulation technology and a computer technology, realizes the reduction from an interference pattern to a spectrum by a Fourier transform method, and then inverts the concentration of a gas to be measured according to the obtained spectroscopy. The technology has wide application prospect in air pollutant monitoring, such as a Fourier infrared gas analyzer.
The spectrum inversion algorithm has direct influence on the accuracy of the measurement result, and the conventional Fourier infrared gas analyzer adopting the traditional spectrum inversion algorithm is difficult to eliminate the influence of nonlinear absorption, so that the measurement result has large error in a detection environment with high humidity. In addition, the influence of mutual interference between gases is not considered.
Disclosure of Invention
Based on the above-mentioned shortcomings and drawbacks of the prior art, it is an object of the present invention to at least solve one or more of the above-mentioned problems of the prior art, in other words, to provide a gas detection method, system and medium for a gas analyzer that meets one or more of the above-mentioned needs.
In order to achieve the purpose, the invention adopts the following technical scheme:
the gas detection method of the gas analyzer comprises the following steps:
s1, respectively collecting absorbance spectrums of target gases with preset range point concentrations and also respectively collecting absorbance spectrums of water vapor with different standard concentrations;
s2, selecting a target absorption peak according to the absorbance spectrum of the target gas to determine a target wave band corresponding to the target absorption peak;
s3, detecting the gas sample to be detected to obtain an absorbance spectrum of the gas sample to be detected;
s4, matching the absorbance spectrum of the gas sample to be detected with the absorbance spectra of water vapor with different standard concentrations to obtain the absorbance spectrum of the water vapor in the gas sample to be detected;
and S5, in a target wave band corresponding to the target gas to be detected in the gas sample to be detected, calculating the concentration of the target gas to be detected according to the preset measuring range point concentration of the target gas, the absorbance spectrum of the gas sample to be detected, the absorbance spectrum of water vapor in the gas sample to be detected and the influence of other gas to be detected in the gas sample to be detected on the target gas to be detected.
Preferably, in the step S1, the target gas is selected from the group consisting ofmIn the method for preparing the seed coating,mis a positive integer;
the type of the target gas is determined according to the type of the gas to be measured in the gas sample to be measured.
Preferably, in step S1, the standard concentration of water vapor is in the interval of [0%,n%]the selection is carried out between the two groups,nand determining according to the maximum water vapor concentration in the gas sample to be detected.
Preferably, in the step S2, the second steplThe target band corresponding to the target gas isP l :Q l ,P l Is the starting position of the target band of wavelengths,Q l is the end position of the target band of wavelengths,l∈[1,m]。
preferably, the step S4 includes the following steps:
s41, selecting a target water vapor wave band only having water vapor absorption according to the absorbance spectrum of each target gas and the absorbance spectra of water vapor with different standard concentrations;
s42, respectively subtracting the spectral section of the target water vapor wave band corresponding to the absorbance spectrum of the gas sample to be detected from the spectral section of the target water vapor wave band corresponding to the absorbance spectrum of the water vapor with the standard concentration, and obtaining the target standard concentration with the minimum absolute value of the difference;
s43, obtaining a correction factor according to the spectral band corresponding to the target water vapor wave band on the absorbance spectrum of the gas sample to be detected and the spectral band corresponding to the target water vapor wave band on the absorbance spectrum of the water vapor with the target standard concentrationd:
Wherein,the target water vapor wave band is set,P 0 is the starting position of the target water vapor wave band,Q 0 is the termination position of the target water vapor wave band;gis the target standard concentration; min is a minimum calculation operator; />The spectrum section corresponding to the target water vapor wave band on the absorbance spectrum of the gas sample to be detected; />The spectrum section corresponding to the target water vapor wave band on the absorbance spectrum of the water vapor with the target standard concentration;
s44, correcting the absorbance spectrum of the water vapor with the target standard concentration according to the correction factor to obtain the absorbance spectrum of the water vapor in the gas sample to be measured.
Preferably, the step S4 further includes the following steps:
and S45, multiplying the correction factor by the target standard concentration to obtain the water vapor concentration in the gas sample to be detected.
Preferably, the step S5 includes the following steps:
s51, calculating a difference value or a ratio of a target absorption peak value of the absorbance spectrum of the target gas in the target waveband and the sum of the target absorption peak values of the absorbance spectra of the rest target gases serving as interferences;
s52, sorting according to the difference value or the ratio from big to small from the 1 st bit to the 1 st bitmA bit;
and S53, sequentially calculating the concentration of each target gas to be detected in the gas sample to be detected according to the sequence to obtain the concentration of each target gas to be detected.
Preferably, in the step S53, the first stepiThe gas to be tested of the target is correspondingly sequencediTarget gas of concentrationC i =k ii *C i0 ;
Wherein,i∈[1,m],C i0 to sequence toiA preset range point concentration of the target gas;k ii is as followsiA correction factor;
to sequence toiThe target wave band corresponding to the target gas in position->Is the corresponding target wave band on the absorbance spectrum of the gas sample to be detected>The spectral range of (a); />The absorbance spectrum of the water vapour at the target standard concentration corresponds to the target wave band->The spectral range of (a);k ij to sequence tojTarget gas pair of siteiA correction factor for the target gas to be examined>To sequence tojThe absorbance spectrum of the target gas in the location corresponds to the target wavelength band->The spectral range of (a).
The present invention also provides a gas detection system of a gas analyzer, which applies the gas detection method according to any one of the above aspects, the gas detection system comprising:
the acquisition module is used for respectively acquiring the absorbance spectra of each target gas with the preset range point concentration and also respectively acquiring the absorbance spectra of water vapor with different standard concentrations;
the selecting module is used for selecting a target absorption peak according to the absorbance spectrum of the target gas so as to determine a target wave band corresponding to the target absorption peak;
the detection module is used for detecting the gas sample to be detected to obtain an absorbance spectrum of the gas sample to be detected;
the matching module is used for matching the absorbance spectrum of the gas sample to be detected with the absorbance spectra of water vapor with different standard concentrations to obtain the absorbance spectrum of the water vapor in the gas sample to be detected;
and the calculation module is used for calculating the concentration of the target gas to be detected according to the preset measuring range point concentration of the target gas, the absorbance spectrum of the gas sample to be detected, the absorbance spectrum of water vapor in the gas sample to be detected and the influence of other gas to be detected in the gas sample to be detected on the target gas to be detected in a target wave band corresponding to the target gas to be detected.
The present invention also provides a medium having stored therein instructions which, when run on a computer, cause the computer to perform a gas detection method as described in any one of the above aspects.
Compared with the prior art, the invention has the beneficial effects that:
the invention comprehensively considers the interference of water vapor and the interference between gases, eliminates the influence of nonlinear absorption and gas interference and effectively improves the precision of gas concentration detection.
Drawings
Fig. 1 is a flowchart of a gas detection method of a fourier infrared gas analyzer according to embodiment 1 of the present invention;
FIG. 2 is a spectrum of absorbance spectra for water vapor of various standard concentrations for example 1 of the present invention;
FIG. 3 is CH in example 1 of the present invention 4 And an absorbance spectrum of HCl as a target gas;
fig. 4 is a block diagram of a gas detection system of a fourier infrared gas analyzer according to embodiment 1 of the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention, the following description will explain specific embodiments of the present invention with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
Example 1:
the gas analyzer of the present embodiment will be described in detail by taking a fourier infrared gas analyzer as an example.
As shown in fig. 1, the gas detection method of the fourier infrared gas analyzer of the present embodiment includes the following steps:
s1, respectively collecting absorbance spectrums of target gases with preset range point concentrationsAnd respectively collecting the absorbance spectrums of water vapor with different standard concentrations>。
Specifically, the kind of the target gas is determined according to the kind of the gas to be measured in the gas sample to be measured. Wherein, the kind of the target gas of the embodiment ismThe seed is used as an example of the method,mis a positive integer;is as followslThe absorbance spectrum of the seed target gas,l∈[1,m];is at a standard concentration ofsThe absorbance spectrum of water vapor of (1).
In addition, the nonlinear effect of the water vapor spectrum is obvious, so that water vapor spectra with different concentrations are collected in advance. Standard concentration of water vaporsIn the interval 0%,n%]betweenSelecting the raw materials of the raw materials,nand determining according to the maximum water vapor concentration in the gas sample to be detected. For example, a standard concentration is chosen at every 1% to give absorbance spectra for 1%, 2%, 3%, 4%, 5% water vapor, as shown in FIG. 2. The water vapor with different standard concentrations can be obtained by mixing nitrogen and water vapor in different volume ratios.
S2, selecting a target absorption peak according to the absorbance spectrum of the target gas to determine a target wave band corresponding to the target absorption peak.
Specifically, the firstlThe target band corresponding to the target gas isP l :Q l ,P l Is the starting position of the target band of wavelengths,Q l is the end position of the target band.
And S3, detecting the gas sample to be detected to obtain an absorbance spectrum of the gas sample to be detected.
Specifically, a gas sample to be detected is detected by a Fourier infrared gas analyzer to obtain an absorbance spectrum of the gas sample to be detected。
And S4, matching the absorbance spectrum of the gas sample to be detected with the absorbance spectra of water vapor with different standard concentrations to obtain the absorbance spectrum of the water vapor in the gas sample to be detected.
The step S4 specifically includes the following steps:
s41, selecting a target water vapor wave band only having water vapor absorption according to the absorbance spectrum of each target gas and the absorbance spectra of water vapor with different standard concentrations;
because the absorption of vapor is comparatively extensive, can select suitable spectrum wave band as target vapor wave band, there is the absorption of vapor in this wave band, and the gas that awaits measuring does not have the absorption. For example, the target water vapor waveband is 3200cm -1 ~3400cm -1 The determination can be specifically carried out according to the actual application condition.
S42, respectively subtracting the spectral section of the target water vapor wave band corresponding to the absorbance spectrum of the gas sample to be detected from the spectral section of the target water vapor wave band corresponding to the absorbance spectrum of the water vapor with the standard concentration, and obtaining the target standard concentration with the minimum absolute value of the difference;
wherein,is a target water vapor wave band and is,P 0 is the starting position of the target water vapor wave band,Q 0 is the termination position of the target water vapor wave band; />Is the corresponding target water vapor wave band on the absorbance spectrum of the gas sample to be detected>The spectral range of (a); />The absorbance spectrum of the water vapor with the target standard concentration corresponds to the target water vapor wave band->The spectral range of (a).
S43, obtaining a correction factor according to the spectral band corresponding to the target water vapor wave band on the absorbance spectrum of the gas sample to be detected and the spectral band corresponding to the target water vapor wave band on the absorbance spectrum of the water vapor with the target standard concentrationd:
Wherein min is a minimum calculation operator;
s44, correcting the absorbance spectrum of the water vapor with the target standard concentration according to the correction factor to obtain the absorbance spectrum of the water vapor in the gas sample to be measured。
S45, multiplying the correction factor by the target standard concentration to obtain the water vapor concentration in the gas sample to be measuredd*g。
And S5, in a target wave band corresponding to the target gas to be detected in the gas sample to be detected, calculating the concentration of the target gas to be detected according to the preset measuring range point concentration of the target gas, the absorbance spectrum of the gas sample to be detected, the absorbance spectrum of water vapor in the gas sample to be detected and the influence of other gas to be detected in the gas sample to be detected on the target gas to be detected.
The step S5 specifically includes the following steps:
s51, calculating the difference value between the target absorption peak value of the absorbance spectrum of the target gas in the target waveband and the sum of the target absorption peak values of the absorbance spectra of the rest target gases serving as interference;
s52, sorting according to the difference value from large to small from the 1 st bit to the first bitmA bit; each corresponding to a target gas;
and S53, sequentially calculating the concentration of each target gas to be detected in the gas sample to be detected according to the sequence to obtain the concentration of each target gas to be detected.
The concentration of the gas to be measured is calculated according to the sequence, and the design is that the signal-to-noise ratio is highest and the interference influence is minimal; if the concentration calculation of the gas to be measured is carried out at random, the random noise is large, so that the concentration measurement value of the gas to be measured is unstable.
Specifically, the firstiThe gas to be tested of the target is correspondingly sequencediTarget gas of concentrationC i =k ii *C i0 ;
Wherein,i∈[1,m],C i0 to sequence toiTarget gas of siteThe preset range point concentration of (2);k ii is as followsiA correction factor;
wherein,to sequence toiThe target wave band corresponding to the target gas in position->Is the corresponding target wave band on the absorbance spectrum of the gas sample to be detected>The spectral range of (a); />In the absorbance spectrum of water vapour of a target standard concentration corresponding to the target wavelength band>The spectral range of (a);k ij to sequence tojTarget gas pair of siteiA correction factor for the target gas to be examined>To sequence tojThe absorbance spectrum of the target gas corresponds to the target wave bandThe spectral range of (a).
The following describes the calculation of the concentration of each gas to be measured in detail, specifically as follows:
(1) The 1 st target gas to be measured is the 1 st ordered target gas with the concentrationC 1 =k 11 *C 01 ;
Wherein,C 01 the concentration of the preset range point of the 1 st-order target gas is sequenced;k 11 is a first correction factor;
wherein,for sorting the target wave band corresponding to the target gas in position 1, < > H>Is the corresponding target wave band on the absorbance spectrum of the gas sample to be detected>The spectral range of (a); />The absorbance spectrum of the water vapour at the target standard concentration corresponds to the target wave band->The spectral range of (a);k j1 to order the firstjCorrection factor for the first target gas to be examined for a potential target gas, based on the measured value of the target gas>To sequence tojThe absorbance spectrum of the target gas corresponds to the target bandThe spectral range of (a).
(2) The 2 nd gas to be measured is the 2 nd gas with the concentrationC 2 =k 22 *C 02 ;
Wherein,C 02 the concentration of the preset range point of the 2 nd-order target gas is sequenced;k 22 is a second correction factor;
wherein,for the target wave band corresponding to the target gas in order of position 2, < > H>Is the corresponding target wave band on the absorbance spectrum of the gas sample to be detected>The spectral range of (a); />The absorbance spectrum of the water vapour at the target standard concentration corresponds to the target wave band->The spectral range of (a);k j2 to order the firstjCorrection factors of the target gas to the second target gas to be measured; />The absorbance spectrum of the target gas which is sorted in position 1 corresponds to the target wavelength band->The spectral range of (a); />To sequence tojThe absorbance spectrum of the target gas corresponds to the target wave bandThe spectral range of (a).
By analogy, untilFirst, themCalculating the concentration of the target gas to be measuredmThe target gas to be measured is the first to be sequencedmTarget gas of concentrationC m =k mm *C m0 ;
Wherein,C m0 to sequence tomA preset range point concentration of the target gas;k mm is as followsmA correction factor;
by way of illustration, as shown in FIG. 3, HCl and CH 4 Absorbance spectra, CH, of two different target gases 4 Gas at 4100cm -1 The absorption peak is very high near the position, and the difference of the absorbance peak value is about 0.18 compared with that of the interfering gas HCl. If the two gases are reordered, CH 4 Is a first gas and HCl is a second gas. Is CH 4 4080-4300cm can be selected when gas is selected from target waveband -1 I.e. P 1 =4080cm -1 ,Q 1 =4300cm -1 (ii) a The wavelength band of HCl gas can be 3700-3900cm -1 I.e. P 2 =3700,Q 2 =3900cm -1 。
The interference of steam and the interference between the gas are comprehensively considered in the embodiment, and the accuracy of gas detection is effectively improved.
As can be seen from tables 1 and 2, the gas concentration measurement values obtained by the gas detection method of the present embodiment and the conventional PLS algorithm (i.e., partial least squares) are analyzed in comparison, and the gas concentration measurement values obtained by the gas detection method of the present embodiment have higher accuracy.
TABLE 1 measurements obtained by the conventional PLS algorithm
TABLE 2 measured values obtained by the gas detection method of this example
Based on the gas detection method of the fourier infrared gas analyzer in this embodiment, as shown in fig. 4, the present embodiment further provides a gas detection system of the fourier infrared gas analyzer, which includes an acquisition module, a selection module, a detection module, a matching module, and a calculation module.
Specifically, the collecting module of this embodiment is used to collect the absorbance spectra of each target gas with a preset range point concentration respectivelyAnd respectively collecting the absorbance spectrums of water vapor with different standard concentrations>。
Specifically, the kind of the target gas is determined according to the kind of the gas to be measured in the gas sample to be measured. Wherein, the kind of the target gas of the present embodiment ismThe seed is used as an example of the method,mis a positive integer;is as followslThe absorbance spectrum of the seed target gas,l∈[1,m];is at a standard concentration ofsThe absorbance spectrum of water vapor.
In addition, the nonlinear effect of the water vapor spectrum is obvious, so that water vapor spectra with different concentrations are collected in advance. Standard concentration of water vaporsIn the interval 0%,n%]the method comprises the following steps of (1) selecting,nand determining according to the maximum water vapor concentration in the gas sample to be detected. For example, a standard concentration is chosen at every 1% to give absorbance spectra for 1%, 2%, 3%, 4%, 5% water vapor, as shown in FIG. 2. The water vapor with different standard concentrations can be obtained by mixing nitrogen and water vapor in different volume ratios.
The selecting module of this embodiment is configured to select a target absorption peak according to an absorbance spectrum of a target gas to determine a target band corresponding to the target absorption peak. Specifically, the firstlThe target band corresponding to the target gas isP l :Q l ,P l Is the starting position of the target band of wavelengths,Q l is the end position of the target band.
The detection module of this embodiment is used for detecting the gas sample that awaits measuring in order to obtain the absorbance spectrum of the gas sample that awaits measuring. Specifically, a gas sample to be detected is detected by a Fourier infrared gas analyzer to obtain an absorbance spectrum of the gas sample to be detected。
The matching module of the embodiment is used for matching the absorbance spectrum of the gas sample to be detected with the absorbance spectra of water vapor with different standard concentrations to obtain the absorbance spectrum of the water vapor in the gas sample to be detected.
Specifically, the matching process of the present embodiment includes the following processes:
1. selecting a target water vapor wave band only having water vapor absorption according to the absorbance spectrum of each target gas and the absorbance spectra of water vapor with different standard concentrations;
because the absorption of vapor is comparatively extensive, can select suitable spectrum wave band as target vapor wave band, there is the absorption of vapor in this wave band, and the gas that awaits measuring does not have the absorption. For example, the target water vapor waveband is 3200cm -1 ~3400cm -1 The determination can be specifically carried out according to the actual application condition.
2. Respectively subtracting the spectral band corresponding to the target water vapor wave band on the absorbance spectrum of the gas sample to be detected from the spectral band corresponding to the target water vapor wave band on the absorbance spectrum of the water vapor with the standard concentration, and obtaining the target standard concentration with the minimum absolute value of the difference value;
wherein,the target water vapor wave band is set,P 0 is the starting position of the target water vapor wave band,Q 0 is the termination position of the target water vapor wave band; />Is the corresponding target water vapor wave band on the absorbance spectrum of the gas sample to be detected>The spectral range of (a); />On the absorbance spectrum of moisture which is of a target standard concentration corresponds to a target moisture band>The spectral range of (a).
3. Obtaining a correction factor according to the spectral band corresponding to the target water vapor wave band on the absorbance spectrum of the gas sample to be detected and the spectral band corresponding to the target water vapor wave band on the absorbance spectrum of the water vapor with the target standard concentrationd:
Wherein min is a minimum calculation operator;
4. correcting the absorbance spectrum of the water vapor with the target standard concentration according to the correction factor to obtain the absorbance spectrum of the water vapor in the gas sample to be measured。
5. The water vapor concentration in the gas sample to be measured is obtained by multiplying the correction factor by the target standard concentrationd*g。
The calculation module of this embodiment is used for in the target wave band that the target gas that awaits measuring in the gas sample that awaits measuring corresponds, according to the preset range point concentration of target gas, the absorbance spectrum of the gas sample that awaits measuring, the absorbance spectrum of the steam in the gas sample that awaits measuring and the influence of the gas that awaits measuring of other gases that await measuring in the gas sample that awaits measuring to the target gas that awaits measuring.
Specifically, the calculation of the concentration of the target gas to be measured of the present embodiment includes the following processes:
1. calculating the difference value between the target absorption peak value of the absorbance spectrum of the target gas in the target waveband and the sum of the target absorption peak values of the absorbance spectra of the rest target gases serving as interferences;
2. sorting according to the difference from large to small from the 1 st bit to the 1 st bitmA bit; each corresponding to a target gas;
3. and sequentially calculating the concentration of each target gas to be detected in the gas sample to be detected according to the sequence to obtain the concentration of each target gas to be detected. The concentration of the gas to be detected is calculated in sequence according to the sequence, and the design is that the signal-to-noise ratio is highest and the interference influence is minimum; if the concentration calculation of the gas to be measured is carried out at random, the random noise is large, so that the concentration measurement value of the gas to be measured is unstable.
Specifically, the firstiThe gas to be tested of the target is correspondingly sequencediTarget gas of concentrationC i =k ii *C i0 ;
Wherein,i∈[1,m],C i0 to sequence toiA preset range point concentration of the target gas;k ii is as followsiA correction factor;
wherein,to sequence toiThe target wave band corresponding to the target gas in position->Is the corresponding target wave band on the absorbance spectrum of the gas sample to be detected>The spectral range of (a); />In the absorbance spectrum of water vapour of a target standard concentration corresponding to the target wavelength band>The spectral range of (a);k ij to sequence tojTarget gas pair of siteiA correction factor for the target gas to be examined>To sequence tojThe absorbance spectrum of the target gas corresponds to the target wave bandThe spectral range of (a).
The following details are provided for the calculation of the concentration of each gas to be measured, specifically as follows:
(I) The 1 st target gas to be measured is the 1 st ordered target gas with the concentrationC 1 =k 11 *C 01 ;
Wherein,C 01 the concentration of the preset range point of the target gas of the 1 st position is sequenced;k 11 is a first correction factor;
wherein,for sorting the target wave band corresponding to the target gas in position 1, < > H>Is the corresponding target wave band on the absorbance spectrum of the gas sample to be detected>The spectral range of (a); />The absorbance spectrum of the water vapour at the target standard concentration corresponds to the target wave band->The spectral range of (a);k j1 to sequence tojCorrection factor for the first target gas to be examined for a potential target gas, based on the measured value of the target gas>To sequence tojThe absorbance spectrum of the target gas corresponds to the target wave bandThe spectral range of (a).
(II) the 2 nd target gas to be measured is the 2 nd-ranked target gas, the concentration of whichC 2 =k 22 *C 02 ;
Wherein,C 02 the concentration of the preset range point of the 2 nd-order target gas is sequenced;k 22 is a second correction factor;
wherein,In order to rank the target wave band corresponding to the target gas in position 2>Is the corresponding target wave band on the absorbance spectrum of the gas sample to be detected>The spectral range of (a); />The absorbance spectrum of the water vapour at the target standard concentration corresponds to the target wave band->The spectral range of (a);k j2 to sequence tojCorrection factors of the target gas to the second target gas to be detected; />The absorbance spectrum of the target gas which is sorted in position 1 corresponds to the target wavelength band->The spectral range of (a); />To sequence tojThe absorbance spectrum of the target gas corresponds to the target wave bandThe spectral range of (a).
And so on until the firstmConcentration calculation of the target gas to be measuredmThe target gas to be measured is the first to be sequencedmTarget gas of concentrationC m =k mm *C m0 ;
Wherein,C m0 to order the firstmA preset range point concentration of the target gas;k mm is a firstmA correction factor;
by way of illustration, as shown in FIG. 3, HCl and CH 4 Absorbance spectra, CH, of two different target gases 4 Gas at 4100cm -1 The absorption peak is very high near the position, and the difference of the absorbance peak value is about 0.18 compared with that of the interfering gas HCl. If the two gases are reordered, CH 4 Is a first gas and HCl is a second gas. Is CH 4 4080-4300cm can be selected when gas is selected from target waveband -1 I.e. P 1 =4080cm -1 ,Q 1 =4300cm -1 (ii) a The wavelength band of HCl gas can be 3700-3900cm -1 I.e. P 2 =3700,Q 2 =3900cm -1 。
The interference of steam and the interference between the gas are comprehensively considered in the embodiment, and the accuracy of gas detection is effectively improved.
The present embodiment also provides a readable medium, in which instructions are stored, and when the instructions are executed on a computer, the instructions cause the computer to execute the gas detection method of the present embodiment, so as to implement intelligent detection of the gas concentration.
Example 2:
the gas detection method of the fourier infrared gas analyzer of the present example is different from that of example 1 in that:
in step S51 in embodiment 1, the difference between the target absorption peak value of the absorbance spectrum of the target gas in the calculated target wavelength band and the target absorption peak value sum of the absorbance spectra of the remaining target gases as interferences is replaced with the ratio between the target absorption peak value of the absorbance spectrum of the target gas in the calculated target wavelength band and the target absorption peak value sum of the absorbance spectra of the remaining target gases as interferences, and the calculation is performed in the subsequent step S52 in descending order according to the ratio; the requirements of different applications are met;
the other steps are the same as in example 1.
Correspondingly, the gas detection system of the fourier infrared gas analyzer of the present embodiment is different from that of embodiment 1 in that:
the difference value of the target absorption peak value of the absorbance spectrum of the target gas in the target waveband and the sum of the target absorption peak values of the absorbance spectra of the rest target gases serving as interferences in the calculation module is replaced by the ratio of the target absorption peak value of the absorbance spectrum of the target gas in the target waveband and the sum of the target absorption peak values of the absorbance spectra of the rest target gases serving as interferences, and then the target absorption peak values are sorted from large to small according to the ratio; the requirements of different applications are met;
the other structures are the same as those of embodiment 1.
The present embodiment also provides a readable medium, in which instructions are stored, and when the instructions are executed on a computer, the instructions cause the computer to execute the gas detection method of the present embodiment, so as to implement intelligent detection of the gas concentration.
The foregoing has outlined, rather broadly, the preferred embodiment and principles of the present invention in order that those skilled in the art may better understand the detailed description of the invention without departing from its broader aspects.
Claims (6)
1. The gas detection method of the gas analyzer is characterized by comprising the following steps of:
s1, respectively collecting absorbance spectrums of target gases with preset range point concentrations and also respectively collecting absorbance spectrums of water vapor with different standard concentrations; wherein the target gas is of the typemIn the method for preparing the seed coating,mis a positive integer; the type of the target gas is determined according to the type of the gas to be detected in the gas sample to be detected;
s2, selecting a target absorption peak according to the absorbance spectrum of the target gas to determine a target wave band corresponding to the target absorption peak;
s3, detecting the gas sample to be detected to obtain an absorbance spectrum of the gas sample to be detected;
s4, matching the absorbance spectrum of the gas sample to be detected with the absorbance spectra of water vapor with different standard concentrations to obtain the absorbance spectrum of the water vapor in the gas sample to be detected;
the step S4 includes the steps of:
s41, selecting a target water vapor wave band only having water vapor absorption according to the absorbance spectrum of each target gas and the absorbance spectra of water vapor with different standard concentrations;
s42, respectively subtracting the spectral section of the target water vapor wave band corresponding to the absorbance spectrum of the gas sample to be detected from the spectral section of the target water vapor wave band corresponding to the absorbance spectrum of the water vapor with the standard concentration, and obtaining the target standard concentration with the minimum absolute value of the difference;
s43, obtaining a correction factor according to the spectral band corresponding to the target water vapor wave band on the absorbance spectrum of the gas sample to be detected and the spectral band corresponding to the target water vapor wave band on the absorbance spectrum of the water vapor with the target standard concentrationd:
Wherein,the target water vapor wave band is set,P 0 is the starting position of the target water vapor wave band,Q 0 is the termination position of the target water vapor wave band;gis a target standard concentration; min is a minimum calculation operator; />The spectrum section corresponding to the target water vapor wave band on the absorbance spectrum of the gas sample to be detected; />The spectrum section corresponding to the target water vapor wave band on the absorbance spectrum of the water vapor with the target standard concentration;
s44, correcting the absorbance spectrum of the water vapor with the target standard concentration according to the correction factor to obtain the absorbance spectrum of the water vapor in the gas sample to be measured;
s5, in a target wave band corresponding to target gas to be detected in the gas sample to be detected, calculating the concentration of the target gas to be detected according to the preset measuring range point concentration of the target gas, the absorbance spectrum of the gas sample to be detected, the absorbance spectrum of water vapor in the gas sample to be detected and the influence of other gas to be detected in the gas sample to be detected on the target gas to be detected;
the step S5 includes the steps of:
s51, calculating a difference value or a ratio of a target absorption peak value of the absorbance spectrum of the target gas in the target waveband and the sum of the target absorption peak values of the absorbance spectra of the rest target gases serving as interferences;
s52, sorting according to the difference value or the ratio from big to small from the 1 st bit to the 1 st bitmA bit;
s53, sequentially calculating the concentration of each target gas to be detected in the gas sample to be detected according to the sequence to obtain the concentration of each target gas to be detected;
in the step S53, theiThe target gas to be measured is correspondingly sequencediTarget gas of concentrationC i =k ii *C i0 ;
Wherein,i∈[1,m],C i0 to sequence toiA preset range point concentration of the target gas;k ii is as followsiA correction factor;
to order the firstiThe target wave band corresponding to the target gas in position->Is the corresponding target wave band on the absorbance spectrum of the gas sample to be measured/>The spectral range of (a); />The absorbance spectrum of the water vapour at the target standard concentration corresponds to the target wave band->The spectral range of (a);k ij to sequence tojTarget gas pair of siteiA correction factor for the target gas to be examined>To sequence tojThe absorbance spectrum of the target gas in the location corresponds to the target wavelength band->The spectral range of (a).
2. The gas detection method according to claim 1, wherein in step S1, the standard concentration of water vapor is in the interval [0%,n%]the method comprises the following steps of (1) selecting,nand determining according to the maximum water vapor concentration in the gas sample to be detected.
3. The gas detection method according to claim 2, wherein in the step S2, the first steplThe target band corresponding to the target gas isP l :Q l ,P l Is the starting position of the target band of wavelengths,Q l is the end position of the target band of wavelengths,l∈[1,m]。
4. the gas detection method according to claim 1, wherein the step S4 further comprises the steps of:
and S45, multiplying the correction factor by the target standard concentration to obtain the water vapor concentration in the gas sample to be detected.
5. A gas detection system of a gas analyzer, to which the gas detection method according to any one of claims 1 to 4 is applied, the gas detection system comprising:
the acquisition module is used for respectively acquiring the absorbance spectra of each target gas with the preset range point concentration and also respectively acquiring the absorbance spectra of water vapor with different standard concentrations;
the selecting module is used for selecting a target absorption peak according to the absorbance spectrum of the target gas so as to determine a target wave band corresponding to the target absorption peak;
the detection module is used for detecting the gas sample to be detected to obtain an absorbance spectrum of the gas sample to be detected;
the matching module is used for matching the absorbance spectrum of the gas sample to be detected with the absorbance spectra of water vapor with different standard concentrations to obtain the absorbance spectrum of the water vapor in the gas sample to be detected;
and the calculation module is used for calculating the concentration of the target gas to be detected according to the preset measuring range point concentration of the target gas, the absorbance spectrum of the gas sample to be detected, the absorbance spectrum of water vapor in the gas sample to be detected and the influence of other gas to be detected in the gas sample to be detected on the target gas to be detected in a target wave band corresponding to the target gas to be detected.
6. A medium having instructions stored therein, wherein the instructions, when executed on a computer, cause the computer to perform the gas detection method of any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211646991.1A CN115639168B (en) | 2022-12-21 | 2022-12-21 | Gas detection method, system and medium for gas analyzer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211646991.1A CN115639168B (en) | 2022-12-21 | 2022-12-21 | Gas detection method, system and medium for gas analyzer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115639168A CN115639168A (en) | 2023-01-24 |
CN115639168B true CN115639168B (en) | 2023-04-07 |
Family
ID=84948542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211646991.1A Active CN115639168B (en) | 2022-12-21 | 2022-12-21 | Gas detection method, system and medium for gas analyzer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115639168B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116148200B (en) * | 2023-04-18 | 2023-08-11 | 杭州泽天春来科技有限公司 | Water quality analyzer |
CN116500121B (en) * | 2023-06-28 | 2023-10-24 | 杭州泽天春来科技有限公司 | Analysis method, system and readable storage medium for gas analyzer |
CN117147475B (en) * | 2023-10-30 | 2024-01-30 | 杭州泽天春来科技有限公司 | Multi-target gas analysis method, system and readable medium for gas analyzer |
CN117368132B (en) * | 2023-12-07 | 2024-02-27 | 杭州泽天春来科技股份有限公司 | Malodorous gas detection method and device and computer equipment |
CN117388204B (en) * | 2023-12-13 | 2024-04-12 | 杭州泽天春来科技股份有限公司 | Nitric oxide gas analysis system, method and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000346801A (en) * | 1999-06-04 | 2000-12-15 | Horiba Ltd | Multi-component gas analysis with ftir method |
CN109883962A (en) * | 2019-01-29 | 2019-06-14 | 北京雪迪龙科技股份有限公司 | A kind of method and its system of the drift of amendment spectrometer wavelength |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3004747B2 (en) * | 1991-02-16 | 2000-01-31 | 株式会社堀場製作所 | Quantitative analysis method using Fourier transform infrared spectrometer |
US20060255258A1 (en) * | 2005-04-11 | 2006-11-16 | Yongdong Wang | Chromatographic and mass spectral date analysis |
JP2009236565A (en) * | 2008-03-26 | 2009-10-15 | Jasco Corp | Automatic continuous quantifying and analyzing method of plurality of components and automatic continuous quantifying and analyzing apparatus |
CN102183468B (en) * | 2011-02-23 | 2013-03-13 | 中国科学院安徽光学精密机械研究所 | Interference correction and concentration inversion method of multi-component gas analysis |
US10643008B2 (en) * | 2014-11-11 | 2020-05-05 | Spectrasensors, Inc. | Target analyte detection and quantification in sample gases with complex background compositions |
JP2016200558A (en) * | 2015-04-14 | 2016-12-01 | 横河電機株式会社 | Gas concentration analyzer |
CN104819958B (en) * | 2015-05-19 | 2017-03-29 | 清华大学 | Automatically the method and apparatus of steam interference is eliminated in Fourier transform infrared spectroscopy gas detecting |
JP2017129374A (en) * | 2016-01-18 | 2017-07-27 | 株式会社堀場製作所 | Analysis device and analysis method |
CN108287141B (en) * | 2017-12-21 | 2020-11-10 | 北京遥测技术研究所 | Multi-component gas concentration analysis method based on spectrum method |
CN108593586B (en) * | 2018-06-25 | 2021-02-02 | 北京工业大学 | Fourier infrared spectrum detection device for high-humidity polluted gas |
CN109596539A (en) * | 2018-10-12 | 2019-04-09 | 上海禾赛光电科技有限公司 | The method and device of interference gas in a kind of identification object gas |
TWI712781B (en) * | 2019-12-06 | 2020-12-11 | 財團法人工業技術研究院 | Gas absorption spectrum measuring system and measuring method thereof |
CN113450883B (en) * | 2021-06-25 | 2023-03-21 | 中南大学 | Solution ion concentration detection method based on multispectral fusion |
-
2022
- 2022-12-21 CN CN202211646991.1A patent/CN115639168B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000346801A (en) * | 1999-06-04 | 2000-12-15 | Horiba Ltd | Multi-component gas analysis with ftir method |
CN109883962A (en) * | 2019-01-29 | 2019-06-14 | 北京雪迪龙科技股份有限公司 | A kind of method and its system of the drift of amendment spectrometer wavelength |
Also Published As
Publication number | Publication date |
---|---|
CN115639168A (en) | 2023-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115639168B (en) | Gas detection method, system and medium for gas analyzer | |
CN109100325B (en) | Gas concentration measuring method based on spectral absorption rate second harmonic feature extraction | |
US9014991B2 (en) | System and method for determining moisture content of hydrophobic fluids | |
US10557792B2 (en) | Spectral modeling for complex absorption spectrum interpretation | |
CN109991181B (en) | Adaptive surface absorption spectrum analysis method, system, storage medium and device | |
CN106769937A (en) | A kind of spectrum data processing method | |
CN107796777A (en) | A kind of data processing method of low concentration ultraviolet difference gas analyzer | |
CN111198165A (en) | Method for measuring water quality parameters based on spectral data standardization | |
CN111488926A (en) | Soil organic matter measuring method based on optimization model | |
CN106769906B (en) | Spectrometer data drift compensation method | |
CN108037084A (en) | A kind of anti-jamming measurement methods suitable for photometry principle water quality automatic analyzer | |
Takahama et al. | Analysis of functional groups in atmospheric aerosols by infrared spectroscopy: sparse methods for statistical selection of relevant absorption bands | |
JP2000346801A (en) | Multi-component gas analysis with ftir method | |
WO2018231065A1 (en) | Chemical analysis method for measurement of tetrafluoromethane, cf4, with improved selectivity | |
CN117030654A (en) | Method for measuring concentration of trace-level sulfur dioxide in air | |
CN111896497B (en) | Spectral data correction method based on predicted value | |
CN111521577A (en) | Infrared spectrum quantitative analysis method taking carbon dioxide peak area as reference | |
CN114076743B (en) | Temperature compensation method and system based on NDIR (non-dispersive infra-red) gas sensor and computer readable storage medium | |
CN111220571B (en) | Second harmonic signal fitting method and system based on amplitude dispersion | |
CN109470647A (en) | A kind of measurement method of vapor Terahertz absorption spectra | |
CN115950827A (en) | Method for reducing noise influence of open light path spectrum detection signal | |
CN111579526B (en) | Method for representing difference and correction of near infrared instrument | |
CN114397262A (en) | Method and system for correcting wave number drift of Fourier transform infrared spectrometer | |
CN108982401B (en) | Method for analyzing single component flow from infrared absorption spectrum of mixed gas | |
CN109668862B (en) | Aluminum electrolyte molecular ratio detection method based on laser-induced breakdown spectroscopy |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 310053 Room 301, 3 / F, building 1, 22 Zhiren street, Puyan street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Hangzhou Zetian Chunlai Technology Co.,Ltd. Country or region after: China Address before: 310053 Room 301, 3 / F, building 1, 22 Zhiren street, Puyan street, Binjiang District, Hangzhou City, Zhejiang Province Patentee before: Hangzhou Zetian Chunlai Technology Co.,Ltd. Country or region before: China |