A method and device for measuring gas concentration
The signal is processed through FFT algorithm and LabVIEW software, combined with dual optical path measurement and temperature-controlled laser, to directly extract the second harmonic amplitude, solving the problem of high price and large volume of the lock-in amplifier, and achieving high-precision and portable gas concentration Measurement.
Patent Information
- Application Number
- CN201911412196.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-31
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2039-12-31
AI Technical Summary
Among the existing TDLAS-based wavelength modulation devices for measuring trace gas concentrations, the lock-in amplifier is expensive and large, which does not meet the actual requirements of a portable measurement tool.
The FFT algorithm is used to directly extract the amplitude of the second harmonic, and the signal is processed through fixed bias and high-frequency modulation signals, combined with LabVIEW software, to reduce the number of signal sources and avoid adder noise. Dual optical path measurement and temperature-controlled lasers are used to reduce Experimental noise and device volume.
It achieves high-precision online gas concentration measurement, reduces equipment cost and volume, improves measurement accuracy and portability, and solves the problem that existing technology cannot achieve online measurement.
Smart Images

Figure CN110907398B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of safety testing, and in particular to a gas concentration measurement method and device. Background Art
[0002] In recent years, with the rapid development of spectroscopy and laser technology, laser spectroscopy technologies such as tunable diode laser absorption spectroscopy (TDLAS) have been applied to various gas concentration detection fields. TDLAS detection has many advantages, such as high stability, good selectivity, and long service life. The wavelength modulation technology applied to TDLAS can be used to detect low-concentration gases. The concentration of unknown gas is obtained by extracting the proportional relationship between the amplitude of the second harmonic and the concentration. It is widely used due to its high detection accuracy. Tunable semiconductor laser absorption spectroscopy (TDLAS) is a type of spectral measurement. It uses a tunable semiconductor laser as the detection light source, uses the Beer-Lambert law and wavelength modulation technology, and obtains a high-precision concentration detection limit by detecting the amplitude change of the second harmonic. The laser output wavelength is found to be close to the wavelength corresponding to the gas absorption peak by a fixed bias method. The number of signal sources is reduced, the use of adders is eliminated, and the noise caused by adders in the optical path is reduced. It is suitable for various online gas detection occasions, and realizes high-precision online measurement of pollutant emission concentrations, as well as the safety of the working environment. The harmful gas concentration range alarm device can effectively solve the problem that existing measurement methods and instruments cannot realize online measurement. However, the existing TDLAS-based wavelength modulation measurement of trace gas concentration devices mostly use phase-locked amplifiers to realize the amplitude of the second harmonic, resulting in the following problems: first, the price of the phase-locked amplifier is relatively high, and second, the size of the phase-locked amplifier is large, which does not meet the actual requirements of portable measurement tools. Summary of the invention
[0003] The object of the present invention is to provide a gas concentration measurement method and a measurement device to solve the problems in the prior art of high price, large volume and failure to meet the actual requirements of a portable measurement tool.
[0004] To achieve the above object, the present invention provides a method for measuring gas concentration, comprising the following steps:
[0005] The first step is to use the known concentration of the gas to be tested for calibration, and obtain the relationship curve between the second harmonic amplitude after FFT and the gas concentration under a fixed bias, which is used as a reference baseline for obtaining the unknown concentration;
[0006] The second step is to control the laser so that the laser generates laser light in a preset wave number range;
[0007] The third step is to pass the laser's output light through a gas absorption cell containing the gas to be measured, and then detect it through a laser detector;
[0008] The fourth step is to collect the output signal of the laser detector when the emitted light of the laser passes through the gas absorption cell containing the gas to be measured, and calculate the concentration of the gas to be measured by formula (1).
[0009] I out =I in (v)exp[-α(v)cL] (1)
[0010] In formula (1), I in (ν) is the original light intensity, that is, the light intensity of the laser before being absorbed by the gas medium, I out is the output light intensity, that is, the light intensity of the laser after the medium is processed, c is the concentration of the gas to be measured, L is the effective length of the laser passing through the gas to be measured, α(ν) is the absorption line type of the gas to be measured, and the expression of α(ν) is as shown in formula (2):
[0011]
[0012] In formula (2), α0 is the gas absorption coefficient, and γ is the half-line width of the gas absorption line shape. When the center frequency of the laser output is equal to the center frequency of the gas absorption line shape, the gas absorption line shape is as shown in formula (3):
[0013]
[0014] In formula (3), w is the frequency of the frequency modulated signal, δ ν is the amplitude of the frequency modulated signal, ν D is the center frequency of the laser output frequency; when the laser is controlled by the signal source so that the output frequency of the laser is equal to the center frequency of the gas line shape, ν D =ν0, we get formula (4):
[0015] I out =I0(ν)[1+δ I coswt][1-α0cL(A0-A2cos2wt+A4cos4wt+...)] (4)
[0016] In formula (4), I out is the output light intensity, I0(ν) is the light intensity input from the signal source to the laser, δ I is the amplitude of the power modulation signal, A0, A2, A4... when ν D =ν0, for I outPerform Fourier transform to obtain the coefficients of each harmonic. The second harmonic obtained by Fourier transforming equation (4) is equation (5):
[0017] I 2f =I0(ν)α0A2cL (5)
[0018] In formula (5), I 2f is the outgoing light intensity I out The amplitude corresponding to the second harmonic of the laser is obtained by measuring the effective length of the laser passing through the gas to be measured, and the value of L is obtained to calculate the unknown concentration c.
[0019] In the above scheme of the gas concentration measurement method, it is preferred that, in the third step, before the outgoing light of the laser passes through the gas absorption cell containing the gas to be measured, an optical fiber coupler is first used to split the outgoing light of the laser into two paths, one of which passes through the first gas absorption cell containing the gas to be measured, and then is detected by the first semiconductor laser detector; the other path of the outgoing light passes through the second gas absorption cell containing no gas, and then is detected by the second semiconductor laser detector.
[0020] It may also be preferred that, in the fourth step, the output signals of the first semiconductor laser detector and the second semiconductor laser detector are collected, and the concentration of the gas to be measured is calculated by formula (1).
[0021] It may also be preferred that, in the third step, before the laser passes through the first gas absorption cell and the second gas absorption cell, the laser is first collimated.
[0022] It may also be preferred that, in the fourth step, the output signals of the first semiconductor laser detector and the second semiconductor laser detector are input into a data acquisition card, and then processed by a computer to obtain the concentration value of the gas to be measured.
[0023] It may also be preferred that, in the first step, the absorption range of the gas to be measured is first locked by the direct absorption method, and then the step value is reduced to lock the range of the bias value, and then at least two bias values are fixed to obtain the second harmonic value at each bias value, and then the second harmonic curve is drawn according to the second harmonic value.
[0024] It may also be preferred that, in the fourth step, LabVIEW software is installed in the computer, and a relationship curve between the second harmonic amplitude after FFT and the gas concentration under a fixed bias is plotted by the LabVIEW software to obtain the concentration value of the gas to be measured in the gas pipeline.
[0025] On the other hand, the present invention provides a measuring device for a gas concentration measurement method, comprising a signal source, a laser and an optical fiber coupler which are arranged and connected in sequence on the same optical axis; a first gas absorption cell and a second gas absorption cell are arranged on the rear side of the optical fiber coupler, and a first semiconductor laser detector and a second semiconductor laser detector are installed on the first gas absorption cell and the second gas absorption cell respectively; a data acquisition card and a computer are arranged and connected in sequence on the rear sides of the first semiconductor laser detector and the second semiconductor laser detector.
[0026] In the scheme of the measuring device of the above gas concentration measuring method, it is preferred that the front sides of the first gas absorption cell and the second gas absorption cell are respectively provided with a first fiber collimator and a second fiber collimator located at the rear side of the fiber coupler.
[0027] It may also be preferred that the computer is installed with LabVIEW software for drawing a curve of the relationship between the second harmonic amplitude and the gas concentration after FFT under a fixed bias and obtaining the concentration value of the gas to be measured in the gas pipeline.
[0028] The present invention has the following advantages:
[0029] The gas concentration measurement method and device of the present invention can solve the problems of high price, large volume and failure to meet the actual requirements of portable measurement tools in the prior art. The method and device can reduce the number of signal sources, avoid the use of adders, and reduce the noise caused by adders in the optical path. The method and device are suitable for various online gas detection occasions, and can realize high-precision online measurement of pollutant emission concentrations. The method and device can effectively solve the problem that the existing measurement methods and instruments cannot realize online measurement, and can solve the safety problem of the working environment. Specifically, the method converts the traditional analog signal into a digital signal, and the digital signal has a strong anti-interference ability, which is convenient for storage, processing and exchange in the subsequent inversion concentration process of the signal. The LabVIEW software can be used to process the data, and the FFT algorithm is used in the program. method to process known signals, and then obtain the amplitude of the second harmonic under fixed bias; it measures the concentration of the gas to be measured through double optical paths, strictly controls the variable method, greatly reduces the noise influence in the experimental process, and thus improves the accuracy of the experiment; it can use temperature control to coarsely adjust the output wavelength of the laser, and then use a high-frequency modulation signal with a fixed bias to fine-tune the output wavelength of the laser, and only uses the amplitude of the high-frequency modulation signal at a fixed bias, which can greatly reduce the transmission of useless data in the experiment and increase the speed of data transmission; it uses the amplitude of the second harmonic, but does not use the phase-locked amplifier to extract it, but directly obtains it through FFT, so that under the premise of ensuring that the experimental results remain unchanged, the use of the phase-locked amplifier is reduced, which not only reduces the cost of experimental equipment, but also reduces the size of the experimental device. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1It is a flow chart of the gas concentration measurement method of the present invention.
[0031] Figure 2 This is a harmonic spectrum diagram of a specific embodiment of the gas concentration measurement method of the present invention with a bias voltage of 1.03V.
[0032] Figure 3 The gas concentration measurement method of the present invention Figure 2 The harmonic spectrum diagram of the embodiment shown is when the bias voltage is 1.04V.
[0033] Figure 4 The gas concentration measurement method of the present invention Figure 2 The harmonic spectrum diagram of the embodiment shown is when the bias voltage is 1.05V.
[0034] Figure 5 The gas concentration measurement method of the present invention Figure 2 The harmonic spectrum diagram of the embodiment shown is when the bias voltage is 1.06V.
[0035] Figure 6 The gas concentration measurement method of the present invention Figure 2 The harmonic spectrum diagram of the embodiment shown is when the bias voltage is 1.07V.
[0036] Figure 7 The gas concentration measurement method of the present invention Figure 2 The harmonic spectrum diagram of the embodiment shown is when the bias voltage is 1.08V.
[0037] Figure 8 The gas concentration measurement method of the present invention Figure 2 Second harmonic scatter plot for the illustrated embodiment.
[0038] Figures 2 to 8 In the figure, the dotted line part is the total spectrum, where the second peak is the amplitude of the second harmonic; Figures 2 to 7 In the figure, the solid line is the signal detected by the detector after the laser passes through the gas to be tested.
[0039] Fig. 9 The gas concentration measurement method of the present invention Figure 2 A graph showing the relationship between the second harmonic amplitude and the methane concentration of the embodiment shown.
[0040] Fig.10 It is a schematic structural diagram of the gas concentration measuring device of the present invention.
[0041] Fig.11 It is a structural block diagram of the gas concentration measuring device of the present invention.
[0042] In the figure, 1 is a signal source, 2 is a laser, 3 is a fiber coupler, 401 is a first gas absorption cell, 402 is a second gas absorption cell, 403 is a first gas absorption cell or an air inlet of the first gas absorption cell, 404 is a first gas absorption cell or an air outlet of the first gas absorption cell, 411 is a first semiconductor laser detector, 412 is a second semiconductor laser detector, 421 is a first fiber collimator, 422 is a second fiber collimator, 5 is a data acquisition card, and 6 is a computer. DETAILED DESCRIPTION
[0043] The following examples are used to illustrate the present invention but are not intended to limit the scope of the present invention.
[0044] Example 1
[0045] A method for measuring gas concentration, see Figure 1 , including the following steps,
[0046] The first step is to use the known concentration of the gas to be tested for calibration, and obtain the relationship curve between the second harmonic amplitude after FFT and the gas concentration under a fixed bias, which is used as a reference baseline for obtaining the unknown concentration;
[0047] The second step is to control the laser 2 so that the laser 2 generates laser light in a preset wave number range;
[0048] The third step is to pass the output light of laser 2 through a gas absorption cell containing the gas to be measured, and then detect it through a laser detector;
[0049] The fourth step is to collect the output signal of the laser detector when the emitted light of the laser 2 passes through the gas absorption cell containing the gas to be measured, and calculate the concentration of the gas to be measured by formula (1).
[0050] I out =I in (v)exp[-α(v)cL] (1)
[0051] And, when α(ν)c L approaches zero, as shown in the following equation (1.1),
[0052] I out =I in (ν)[1-α(ν)cL] (1.1)
[0053] In formula (1), I in (ν) is the original light intensity, that is, the light intensity of the laser before being absorbed by the gas medium, I out is the output light intensity, that is, the light intensity of the laser after the medium is processed, c is the concentration of the gas to be measured, L is the effective length of the laser passing through the gas to be measured, α(ν) is the absorption line type of the gas to be measured, and the expression of α(ν) is as shown in formula (2):
[0054]
[0055] In formula (2), α0 is the gas absorption coefficient, and γ is the half-line width of the gas absorption line shape. When the center frequency of the laser output by the laser (2) is equal to the center frequency of the gas absorption line shape, the gas absorption line shape is as shown in formula (3):
[0056]
[0057] In formula (3), w is the frequency of the frequency modulated signal, δ ν is the amplitude of the frequency modulated signal, ν D is the center frequency of the output frequency of laser 2; when the output frequency of laser 2 is equal to the center frequency of the gas line shape through the control signal source 1, ν D =ν0, we get formula (4):
[0058] I out =I0(ν)[1+δ I coswt][1-α0cL(A0-A2cos2wt+A4cos4wt+...)] (4)
[0059] In formula (4), I out is the output light intensity, I0(ν) is the light intensity input from the signal source to laser 2, δ I is the amplitude of the power modulation signal, A0, A2, A4... when ν D =ν0, for I out Perform Fourier transform to obtain the coefficients of each harmonic. The second harmonic obtained by Fourier transforming equation (4) is equation (5):
[0060] I 2f =I0(ν)α0A2cL (5)
[0061] In formula (5), I 2f is the outgoing light intensity I out The amplitude corresponding to the second harmonic of the laser is obtained by measuring the effective length of the laser passing through the gas to be measured, and the value of L is obtained to calculate the unknown concentration c.
[0062] The gas concentration measurement method of the above embodiment can use the signal source 1 to generate a fixed bias high-frequency sinusoidal signal, and control the working temperature of the laser 2 through the temperature control chip therein, and roughly adjust the output wavelength of the laser 2. At this time, the laser 2 emits a single parallel laser beam of a certain wave number, which is divided into two identical beams of light after passing through the fiber coupler 3, one of which can be directly transmitted to the first fiber collimator 421 through the optical fiber, and then enters the first gas absorption pool 401 containing gas, and then is received by the first semiconductor laser detector 411, and the other can be directly transmitted to the second fiber collimator 422 through the optical fiber, and then enters the second gas absorption pool 402 containing gas, and then is received by the second semiconductor laser detector 412, but there is no gas to be measured in the corresponding second gas absorption pool 402; the data obtained by the two first semiconductor laser detectors 411 and the second semiconductor laser detector 412 are collected by the data acquisition card 5 and transmitted to the computer 6, and then the collected signals are processed by LabVIEW software, and the amplitude of the second harmonic obtained by FFT under fixed bias can be obtained, and then the concentration of the gas to be measured can be obtained. Wherein, formula (1) is based on the Beer-Lambert law; formula (2) is applicable to normal temperature and pressure, that is, the temperature is 25°C and the pressure is 1 standard atmosphere. In addition, in the third step, when the output light of the laser 2 passes through the gas absorption cell containing the gas to be measured and then detected by the laser detector, the number of the gas absorption cell can be one, that is, the output light of the laser 2 only passes through one gas absorption cell containing the gas to be measured, and the number of the gas absorption cells can also be two. In this case, please refer to the contents of Implementation 2 to Implementation 4 for details.
[0063] Example 2
[0064] A gas concentration measurement method is similar to Example 1, except that in the third step, before the outgoing light of the laser 2 passes through the gas absorption cell containing the gas to be measured, the optical fiber coupler 3 is first used to split the outgoing light of the laser 2 into two paths, one of which passes through the first gas absorption cell 401 containing the gas to be measured, and then is detected by the first semiconductor laser detector 411; the other path of the outgoing light passes through the second gas absorption cell 402 containing no gas, and then is detected by the second semiconductor laser detector 421.
[0065] Furthermore, in the fourth step, the output signals of the first semiconductor laser detector 411 and the second semiconductor laser detector 421 are collected, and the concentration of the gas to be measured is calculated by equation 1.
[0066] Furthermore, in the third step, before the laser passes through the first gas absorption cell 401 and the second gas absorption cell 402 , the laser is collimated.
[0067] Furthermore, in the fourth step, the output signals of the first semiconductor laser detector 411 and the second semiconductor laser detector 421 are input into the data acquisition card 5 , and then processed by the computer 6 to obtain the concentration value of the gas to be measured.
[0068] It is also possible to further, in the first step, first lock the absorption range of the gas to be measured by the direct absorption method, then reduce the step value to lock the range of the bias value, then fix at least two bias values to obtain the second harmonic value at each bias value, and then draw the second harmonic curve according to the second harmonic value. That is, in the first step, first lock the absorption range of the gas to be measured by the direct absorption method, then reduce the step value to lock the range of the bias value, then fix different bias values to obtain the second harmonic value at each bias value, and then draw the second harmonic curve according to the second harmonic value.
[0069] Furthermore, in the fourth step, the computer 6 is installed with LabVIEW software, and a relationship curve between the second harmonic amplitude after FFT and the gas concentration under a fixed bias is drawn by the LabVIEW software to obtain the concentration value of the gas to be measured in the gas pipeline.
[0070] Taking the measurement of methane gas concentration as an example, Figures 2 to 7 This is the signal change diagram obtained after changing the bias voltage, such as Figure 2 The solid line curve is the curve of the signal collected by the first semiconductor laser detector 411 after the gas is absorbed and displayed on the oscilloscope 7, and the dotted line curve is the curve obtained after the FFT change of the solid line curve. Figures 2 to 7 It can be seen that when the bias voltage of the signal changes, the corresponding changes when the signal scans the gas absorption peak can be clearly found. Each time the amplitude of the second harmonic is collected, the curve obtained by taking the bias voltage as the horizontal coordinate and the amplitude of the collected second harmonic as the vertical coordinate is: Figure 8 , Fig. 9 It is the fitting diagram of the relationship between the concentration of the gas to be measured and the amplitude of the second harmonic. Fig. 9 In the figure, the horizontal axis is the methane concentration in %, and the vertical axis is the second harmonic amplitude in mV.
[0071] Example 3
[0072] The gas concentration measuring device of the gas concentration measuring method described in Example 1 or Example 2, see Fig.10 and Fig.11, including a signal source 1, a laser 2 and a fiber coupler 3 on the same optical axis which are sequentially arranged and connected; a first gas absorption pool 401 and a second gas absorption pool 402 are arranged on the rear side of the fiber coupler 3, and a first semiconductor laser detector 411 and a second semiconductor laser detector 412 are installed on the first gas absorption pool 401 and the second gas absorption pool 402 respectively; a data acquisition card 5 and a computer 6 are sequentially arranged and connected on the rear sides of the first semiconductor laser detector 411 and the second semiconductor laser detector 412.
[0073] In the gas concentration measuring device of this embodiment, the signal source 1 is used to generate a suitable fixed bias high-frequency sine wave signal, so that the laser 2 generates a laser with a certain wave number range; the laser generated by the laser 2 is divided into two paths through the optical fiber coupler 3: one path passes through the first gas absorption cell 401 containing the gas to be measured, and then is detected by the first semiconductor laser detector 411; the other path passes through the second gas absorption cell 402 without gas and is detected by the second semiconductor laser detector 412; the data acquisition card 5 is used to collect the signals output by the first semiconductor laser detector 411 and the second semiconductor laser detector 412, and send the signals to the computer 6; the computer The computer 6 is used to perform calculations based on the signal sent by the data acquisition card 5 to obtain the amplitude of the second harmonic obtained by FFT under a fixed bias and then obtain the concentration of the gas to be measured; it can also include a first optical fiber collimator 421 and a second optical fiber collimator 422, which are respectively used to collimate the light entering the first gas absorption cell 401 and the second gas absorption cell 402; the computer 6 is used to edit the later computer processing module to realize the second harmonic amplitude extraction process. At the same time, the function of this part can be realized by the FFT software on the single-chip microcomputer or oscilloscope. If an oscilloscope is used, the function of subtracting the two signals cannot be realized, but the amplitude of the second harmonic of a single channel can be extracted.
[0074] Example 4
[0075] On the basis of the measuring device of the gas concentration measurement method described in Example 3, it is also possible to further provide a first fiber collimator 421 and a second fiber collimator 422 located at the rear side of the fiber coupler 3 on the front sides of the first gas absorption cell 401 and the second gas absorption cell 402, respectively.
[0076] Furthermore, the computer 6 is installed with LabVIEW software for drawing a curve of the relationship between the second harmonic amplitude and the gas concentration after FFT under a fixed bias and obtaining the concentration value of the gas to be measured in the gas pipeline.
[0077] In the gas concentration measuring device of this embodiment, a DC voltage controls the chip operating temperature of the laser 2 to coarsely adjust the output wavelength of the laser 2 , and a signal source 1 fixes the bias and superimposes a high-frequency signal as a fine adjustment of the wavelength of the laser 2 . Fig.10 and Fig.11 In the figure, the air inlet 403 and the air outlet 404 of the first gas absorption cell 401 and the second gas absorption cell 402 are used as the channel openings for inputting and outputting the gas to be tested. When filling the gas, nitrogen can be filled into the two gas absorption cells for five minutes respectively. After checking the air tightness and eliminating the influence of other gases, the air outlet 404 is tightly sealed, and then the gas to be tested is filled into the first gas absorption cell 401, and then the air inlet 403 is tightly sealed. The second gas absorption cell 402 remains unchanged as a reference item for noise elimination. As a whole, Fig.11 As shown, the optical fiber coupler 3 is used to divide the laser output by the laser 2 into two parts, one part of which enters the first gas absorption cell 401 containing the gas to be measured, and then enters the first semiconductor laser detector 411, and the other part enters the second gas absorption cell 402 not containing the gas to be measured, and enters the second semiconductor laser detector 412; the above-mentioned semiconductor detector transmits the detected signal to the computer 6 through the two channel ports of the data acquisition card 5, and then uses LabVIEW for programming processing. First, the two collected signals are subjected to difference processing, and then the obtained data is subjected to FFT transformation, and the second item of the corresponding transformation result, that is, the amplitude of the second harmonic under a fixed bias, is collected, and then the concentration of the gas to be measured is obtained according to the amplitude inversion.
[0078] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.
Claims
1. A method for measuring gas concentration, characterized in that: The following steps are included: The first step is to use the known concentration of the gas to be tested for calibration, and obtain the relationship curve between the second harmonic amplitude after FFT and the gas concentration under a fixed bias, which is used as a reference baseline for obtaining the unknown concentration; The second step is to control the laser (2) so that the laser (2) generates laser light within a preset wave number range; The third step is to pass the output light of the laser (2) through a gas absorption cell containing the gas to be measured, and then detect it through a laser detector; Before the output light of the laser (2) passes through the gas absorption cell containing the gas to be measured, the optical fiber coupler (3) is first used to split the output light of the laser (2) into two paths, one of which passes through a first gas absorption cell (401) containing the gas to be measured and is then detected by a first semiconductor laser detector (411); the other of which passes through a second gas absorption cell (402) containing no gas and is then detected by a second semiconductor laser detector (412); The fourth step is to collect the output signal of the laser detector when the emitted light of the laser (2) passes through the gas absorption cell containing the gas to be measured, and calculate the concentration of the gas to be measured by formula (1). AND out =I in (v)exp[-α(v)cL] (1) In formula (1), I in (ν) is the original light intensity, that is, the light intensity of the laser before being absorbed by the gas medium, I out is the output light intensity, that is, the light intensity of the laser after the medium is processed, c is the concentration of the gas to be measured, L is the effective length of the laser passing through the gas to be measured, α(ν) is the absorption line type of the gas to be measured, and the expression of α(ν) is as shown in formula (2): In formula (2), α0 is the gas absorption coefficient, and γ is the half-line width of the gas absorption line shape. When the center frequency of the laser output by the laser (2) is equal to the center frequency of the gas absorption line shape, the gas absorption line shape is as shown in formula (3): In formula (3), w is the frequency of the frequency modulated signal, δ ν is the amplitude of the frequency modulated signal, ν D is the center frequency of the output frequency of the laser (2); when the output frequency of the laser (2) is equal to the center frequency of the gas line shape through the control signal source (1), ν D =ν0, we get formula (4): I out =I0(ν)[1+δ I coswt][1-α0cL(A0-A2cos2wt+A4cos4wt+...)] (4) In formula (4), I out is the output light intensity, I0(ν) is the light intensity input from the signal source to the laser (2), δ I is the amplitude of the power modulation signal, A0, A2, A4... when ν D =ν0, for I out Perform Fourier transform to obtain the coefficients of each harmonic. The second harmonic obtained by Fourier transforming equation (4) is equation (5): I 2f =I0(ν)α0A2cL (5) In formula (5), I 2f is the outgoing light intensity I out The amplitude corresponding to the second harmonic of the laser is obtained by measuring the effective length of the laser passing through the gas to be measured, and the value of L is obtained to calculate the unknown concentration c.
2. The gas concentration measurement method according to claim 1, characterized in that: In the fourth step, the output signals of the first semiconductor laser detector (411) and the second semiconductor laser detector (412) are collected, and the concentration of the gas to be measured is calculated by formula (1).
3. The gas concentration measurement method according to claim 2, characterized in that: In the third step, the laser is collimated before passing through the first gas absorption cell (401) and the second gas absorption cell (402).
4. The gas concentration measurement method according to claim 3, characterized in that: In the fourth step, the output signals of the first semiconductor laser detector (411) and the second semiconductor laser detector (412) are input into a data acquisition card (5), and then processed by a computer (6) to obtain the concentration value of the gas to be measured.
5. The gas concentration measurement method according to any one of claims 1 to 4, characterized in that: In the first step, the absorption range of the gas to be measured is locked by the direct absorption method, and then the step value is reduced to lock the range of the bias value. Then, at least two bias values are fixed to obtain the second harmonic value at each bias value, and then the second harmonic curve is drawn according to the second harmonic value.
6. The gas concentration measurement method according to claim 4, characterized in that: In the fourth step, the computer (6) is installed with LabVIEW software, and a relationship curve between the second harmonic amplitude after FFT and the gas concentration under a fixed bias is plotted using the LabVIEW software to obtain the concentration value of the gas to be measured in the gas pipeline.
7. The gas concentration measurement method according to any one of claims 1 to 6, characterized in that: The invention comprises a signal source (1), a laser (2) and an optical fiber coupler (3) which are sequentially arranged and connected on the same optical axis; a first gas absorption pool (401) and a second gas absorption pool (402) are arranged on the rear side of the optical fiber coupler (3); a first semiconductor laser detector (411) and a second semiconductor laser detector (412) are respectively installed on the first gas absorption pool (401) and the second gas absorption pool (402); and a data acquisition card (5) and a computer (6) are sequentially arranged and connected on the rear sides of the first semiconductor laser detector (411) and the second semiconductor laser detector (412).
8. The measuring device according to claim 7, characterized in that A first optical fiber collimator (421) and a second optical fiber collimator (422) located at the rear side of the optical fiber coupler (3) are respectively arranged on the front side of the first gas absorption cell (401) and the second gas absorption cell (402).
9. The measuring device according to claim 8, characterized in that The computer (6) is installed with LabVIEW software for drawing a curve of the relationship between the second harmonic amplitude and the gas concentration after FFT under a fixed bias and obtaining the concentration value of the gas to be measured in the gas pipeline.
