Mixed gas detection device, method, electronic equipment and storage medium
By designing a mixed gas detection device, using second harmonic analysis and interference correction technology, the cross-interference problem caused by poor stability and wavelength overlap of ethane in transformer insulating oil is solved, and high-precision ethane is achieved and ethylene detection.
Patent Information
- Application Number
- CN202311277125.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2043-09-28
AI Technical Summary
Based on TDLAS technology, gas cross-interference problems caused by poor stability and wavelength overlap when detecting ethane in transformer insulating oil in the near-infrared band.
A mixed gas detection device is designed, including a control module, a laser driving module, a near-infrared distributed feedback laser, a gas chamber, a detector, a data acquisition module and a data analysis module. Through the phase-locked amplifier unit, correction unit and second harmonic analysis unit, second harmonic analysis unit can be realized and second harmonic analysis at characteristic absorption wavelengths of ethane and ethylene are analyzed.
It improves the detection stability and accuracy of ethane and ethylene, reduces noise influence and cross-interference, and meets the high-precision detection requirements of dissolved gases in transformer insulating oil.
Smart Images

Figure CN117347301B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power and gas detection, and in particular to a mixed gas detection device, method, electronic equipment and storage medium. Background Art
[0002] Analysis of dissolved gases in transformer insulating oil is an effective method for evaluating the operating status of transformers and identifying early faults. The main fault characteristic value gases in transformer insulating oil include acetylene, methane, ethylene, ethane, carbon monoxide and carbon dioxide. In view of the problems of high maintenance cost and susceptibility to vibration or noise in existing monitoring methods for dissolved gases in transformer insulating oil such as gas chromatography and photoacoustic spectroscopy, tunable semiconductor laser spectroscopy (TDLAS) technology has the advantages of non-contact measurement and anti-electromagnetic interference, especially in the near-infrared band. The transformer online monitoring method based on TDLAS is low-cost and simple to develop, and has a good development prospect.
[0003] However, there are two problems when realizing the main fault characteristic value gases (such as acetylene, methane, ethylene, ethane, carbon monoxide and carbon dioxide) in transformer insulating oil based on TDLAS:
[0004] (1) Since ethane gas has weak absorption in the near-infrared region and is easily affected by noise, the detection limit and stability of ethane based on TDLAS are poor;
[0005] (2) The absorption wavelengths of ethane and ethylene overlap, and there is gas cross-interference. In particular, the cross-interference of ethylene gas on ethane detection cannot be ignored. Summary of the invention
[0006] The main purpose of the embodiments of the present invention is to provide a mixed gas detection device, method, electronic device and storage medium, which improve the stability and accuracy of mixed gas detection that is easily affected by noise and has overlapping wavelengths.
[0007] One aspect of the present invention provides a mixed gas detection device, including a control module, wherein the control module includes a laser driving module, a near-infrared distributed feedback laser, a gas chamber, a detector, a data acquisition module, and a data analysis module:
[0008] The laser driving module, the near-infrared distributed feedback laser, the gas chamber, the detector, the data acquisition module and the data analysis module are connected in sequence;
[0009] The data analysis module includes a phase-locked amplifier unit, a correction unit and a second harmonic analysis unit, wherein the phase-locked amplifier unit is respectively connected to the correction unit and the second harmonic analysis unit, and the correction unit is connected to the second harmonic analysis unit; the data analysis module is respectively connected to the laser driving module and the data acquisition module through the phase-locked amplifier unit;
[0010] The gas chamber is used to receive a mixed gas, and the mixed gas includes a first gas and a second gas;
[0011] The laser driving module is used to obtain a modulation signal of the lock-in amplifier unit, and generate a modulated laser beam of a first wavelength according to the modulation signal and pass through the gas chamber;
[0012] The data acquisition module is used to collect the electrical signal of the detector to obtain the signal to be measured;
[0013] The data analysis module obtains the second harmonic according to the modulation signal and the signal to be measured;
[0014] The correction unit is used to correct the interference between the first gas and the second gas;
[0015] The second harmonic analysis module is used to analyze the second harmonic to obtain the concentration of the first gas and the concentration of the second gas;
[0016] The control module is used for controlling the mixed gas detection device, storing data and displaying gas concentration.
[0017] According to the mixed gas detection method, the phase-locked amplifier unit includes a modulation signal subunit, a phase-sensitive detection subunit and a filter subunit, the modulation signal subunit, the phase-sensitive detection subunit and the filter subunit are connected in sequence, the modulation signal subunit is connected to the laser driving module, and the filter subunit is connected to the correction unit;
[0018] The modulation signal subunit is used to generate sawtooth wave and sine wave signals with unit amplitude and adjustable frequency, and send the sawtooth wave and the sine wave signals as the modulation signals to the laser driving module;
[0019] The phase-sensitive detection subunit is used to generate a demodulated signal according to the modulation signal and the signal to be detected;
[0020] The filtering subunit is used to filter out the AC signal and the noise signal in the demodulated signal by using a low-pass filter to obtain the second harmonic.
[0021] According to the mixed gas detection method, there is cross interference between the first gas and the second gas and the absorption wavelengths overlap, the first gas is ethane, and the second gas is ethylene.
[0022] According to the mixed gas detection method, the wavelength range of the laser beam generated by the near-infrared distributed feedback laser is 1679nm~1681nm, the central wavelength is 1680nm, when the first gas is ethane, 1680.1nm is used as the characteristic absorption wavelength, and when the second gas is ethylene, 1681.1nm is used as the characteristic absorption wavelength.
[0023] One aspect of the present invention provides a mixed gas detection method, comprising:
[0024] Calibrate the first gas and the second gas respectively to obtain a first calibration curve of the first gas and a second calibration curve of the second gas;
[0025] Passing the second gas of a first concentration into the gas chamber, and detecting the second gas by using a characteristic absorption wavelength to obtain a first second harmonic waveform;
[0026] Passing mixed gases of different concentrations into the gas chamber, detecting the mixed gas by using a characteristic absorption wavelength of the second gas to obtain a third characteristic value of the mixed gas, and determining a second concentration of the second gas in the mixed gas according to the third characteristic value and the second calibration curve;
[0027] Using the characteristic absorption wavelength of the first gas for detection, a second second harmonic waveform is obtained, and the second second harmonic waveform is corrected to obtain a third second harmonic waveform after the second gas interference is corrected;
[0028] A fourth eigenvalue of the third second harmonic waveform is determined, and a third concentration of the first gas is determined according to the fourth eigenvalue and the first calibration curve.
[0029] According to the mixed gas detection method, the first gas and the second gas are calibrated respectively to obtain a first calibration curve of the first gas and a second calibration curve of the second gas, including:
[0030] The first gas with different calibration concentrations is introduced into the gas chamber, and the characteristic absorption wavelength of the first gas is used for detection, and the first characteristic value of the first gas at different calibration concentrations is calculated by second harmonic, and a linear fit is performed according to the first characteristic value and the calibration concentration to obtain a first calibration curve of the first gas;
[0031] The second gas with different calibration concentrations is introduced into the gas chamber and detected using the characteristic absorption wavelength of the second gas. The second characteristic value of the second gas at different calibration concentrations is calculated by second harmonic. A linear fit is performed based on the second characteristic value and the calibration concentration to obtain a second calibration curve of the second gas.
[0032] According to the mixed gas detection method, the second second harmonic waveform is corrected to obtain a third second harmonic waveform after correcting the second gas interference, including:
[0033] Using formula
[0034]
[0035] The second second harmonic waveform is corrected, wherein Y' is the third second harmonic waveform, Y is the second second harmonic waveform, y is the second concentration of the second gas, x is the first concentration of the second gas, and X is the first second harmonic waveform.
[0036] According to the mixed gas detection method, the method further comprises:
[0037] The characteristic calculation of the gas includes obtaining the absorption peak width information a according to the peak information and trough information of the second harmonic;
[0038] The second harmonic is truncated using a window function with a length of N to obtain a truncated signal W(n), wherein N is the length of the second harmonic and n represents a positive integer less than N;
[0039] Calculate the gas characteristic value c, c is calculated as follows
[0040]
[0041] Wherein, k = N / a.
[0042] Another aspect of an embodiment of the present invention provides an electronic device, including a processor and a memory;
[0043] The memory is used to store programs;
[0044] The processor executes the program to implement the method described above.
[0045] The embodiment of the present invention also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method described above.
[0046] The beneficial effects of the present invention are as follows: for gases that are easily affected by noise and have weak absorption, the present invention adds second harmonic analysis on the basis of a traditional phase-locked amplifier to improve the detection stability and lower limit of target gases that are easily affected by noise and have overlapping wavelengths; for cross-interference between mixed gases, the present invention completes second harmonic correction at the characteristic wavelength of ethane during mixed gas detection based on the principle of linear correction of time domain waveforms to improve the detection accuracy of ethane in the mixed gas.
[0047] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0049] Figure 1 Schematic diagram of a mixed gas detection device according to an embodiment of the present invention.
[0050] Figure 2 is a block diagram of a lock-in amplifier unit according to an embodiment of the present invention.
[0051] Figure 3 It is a schematic diagram of the mixed gas detection process of an embodiment of the present invention. DETAILED DESCRIPTION
[0052] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. In the subsequent description, the use of suffixes such as "module", "component" or "unit" used to represent elements is only for the purpose of facilitating the description of the present invention, and has no specific meaning in itself. Therefore, "module", "component" or "unit" can be used in a mixed manner. "First", "second" and the like are only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the order of the indicated technical features. In this subsequent description, the continuous numbering of the method steps is for the convenience of review and understanding. In combination with the overall technical solution of the present invention and the logical relationship between the various steps, adjusting the implementation order between the steps will not affect the technical effect achieved by the technical solution of the present invention. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0053] Reference Figure 1 ,in Figure 1: is a schematic diagram of a mixed gas detection device according to an embodiment of the present invention, which includes a control module, the control module includes a laser driving module, a near-infrared distributed feedback laser, a gas chamber, a detector, a data acquisition module and a data analysis module: wherein the laser driving module, the near-infrared distributed feedback laser, the gas chamber, the detector, the data acquisition module and the data analysis module are connected in sequence; wherein the data analysis module includes a phase-locked amplifier unit, a correction unit and a second harmonic analysis unit, the phase-locked amplifier unit is respectively connected to the correction unit and the second harmonic analysis unit, and the correction unit is connected to the second harmonic analysis unit; the data analysis module is respectively connected to the laser driving module and the data acquisition module through the phase-locked amplifier unit; wherein The gas chamber is used to connect the mixed gas, and the mixed gas includes a first gas and a second gas; wherein the laser driving module is used to obtain the modulation signal of the phase-locked amplifier unit, and generate a modulated laser beam of a first wavelength according to the modulation signal and pass through the gas chamber; wherein the data acquisition module is used to collect the electrical signal of the detector to obtain the signal to be measured; wherein the data analysis module obtains the second harmonic according to the modulation signal and the signal to be measured; the correction unit is used to correct the interference between the first gas and the second gas; wherein the second harmonic analysis module is used to analyze the second harmonic to obtain the concentration of the first gas and the concentration of the second gas; wherein the control module is used for the control of the mixed gas detection device, data storage and display of gas concentration.
[0054] In some embodiments, reference Figure 2 The phase-locked amplifier unit shown includes a modulation signal subunit, a phase-sensitive detection subunit and a filtering subunit, which are connected in sequence, the modulation signal subunit is connected to the laser driving module, and the filtering subunit is connected to the correction unit; the modulation signal subunit is used to generate sawtooth wave and sine wave signals with unit amplitude and adjustable frequency, and send the sawtooth wave and sine wave signals to the laser driving module as modulation signals; the phase-sensitive detection subunit is used to generate a demodulation signal according to the modulation signal and the signal to be measured; the filtering subunit is used to use a low-pass filter to filter out the AC signal and the noise signal in the demodulation signal to obtain the second harmonic.
[0055] In some embodiments, a mixed gas detection device of tunable semiconductor laser absorption spectroscopy (TDLAS) is provided, wherein there is cross-interference between a first gas and a second gas and the absorption wavelengths overlap, the first gas is ethane, and the second gas is ethylene, wherein the wavelength range of the laser beam generated by the near-infrared distributed feedback laser is 1679nm~1681nm, the center wavelength is 1680nm, the first gas is ethane, and 1680.1nm is used as the characteristic absorption wavelength, and the second gas is ethylene, and 1681.1nm is used as the characteristic absorption wavelength.
[0056] In some embodiments, reference Figure 3 shown
[0057] S100, calibrating the first gas and the second gas respectively to obtain a first calibration curve of the first gas and a second calibration curve of the second gas.
[0058] In some embodiments, a first gas with different calibrated concentrations is introduced into the gas chamber, and detection is performed using a characteristic absorption wavelength of the first gas. The first characteristic value of the first gas at different calibrated concentrations is calculated using the second harmonic. A linear fit is performed based on the first characteristic value and the calibrated concentration to obtain a first calibration curve of the first gas. A second gas with different calibrated concentrations is introduced into the gas chamber, and detection is performed using a characteristic absorption wavelength of the second gas. The second characteristic value of the second gas at different calibrated concentrations is calculated using the second harmonic. A linear fit is performed based on the second characteristic value and the calibrated concentration to obtain a second calibration curve of the second gas.
[0059] It can be understood that the different calibration concentrations are first gases or second gases with known concentrations, which are used to obtain calibration curves.
[0060] S200, introducing a second gas of a first concentration into the gas chamber, and detecting the second gas using a characteristic absorption wavelength to obtain a first second harmonic waveform.
[0061] Exemplarily, ethane is used as the first gas and ethylene is used as the second gas, wherein the characteristic absorption wavelength of the first gas is 1680.1 nm, and the characteristic absorption wavelength of the second gas is 1681.1 nm as shown above. If a single ethylene gas with a concentration of x is introduced into the gas chamber, the characteristic absorption wavelength of ethane is used for detection to obtain the second harmonic waveform in the phase-locked amplifier module, which is recorded as X.
[0062] S300, introducing mixed gases of different concentrations into the gas chamber, detecting the mixed gas by using a characteristic absorption wavelength of the second gas to obtain a third characteristic value of the mixed gas, and determining a second concentration of the second gas in the mixed gas according to the third characteristic value and a second calibration curve.
[0063] For example, ethane is used as the first gas and ethylene is used as the second gas. A mixed gas of ethane and ethylene with different concentrations is introduced into the gas chamber. The characteristic absorption wavelength of ethylene is used for detection. The characteristic value is calculated by the lock-in amplifier module and the second harmonic analysis module. The ethylene concentration y is obtained according to the ethylene calibration curve.
[0064] S400, using the characteristic absorption wavelength of the first gas for detection to obtain a second second harmonic waveform, and correcting the second second harmonic waveform to obtain a third second harmonic waveform after correcting the interference of the second gas.
[0065] The characteristic absorption wavelength of ethane is used for detection, and the second harmonic Y is obtained by applying the phase-locked amplifier module and the second harmonic analysis module. Then, the ethane correction unit is used to obtain the second harmonic Y' after correcting the ethylene interference.
[0066] In some embodiments, wherein
[0067]
[0068] S500, determining a fourth eigenvalue of the third second harmonic waveform, and determining a third concentration of the first gas according to the fourth eigenvalue and the first calibration curve.
[0069] In some embodiments, ethane is used as the first gas and ethylene is used as the second gas, and the characteristic calculation process of the second harmonic analysis unit includes:
[0070] The characteristic calculation of the gas includes obtaining the absorption peak width information a according to the peak information and trough information of the second harmonic;
[0071] The second harmonic is truncated using a window function with a length of N to obtain a truncated signal W(n), wherein N is the length of the second harmonic and n represents a positive integer less than N;
[0072] Calculate the gas characteristic value c, c is calculated as follows
[0073]
[0074] Wherein, k = N / a.
[0075] The technology of the present invention is used to measure ethane and ethylene gases in transformer insulating oil. The results are shown in Table 1 below:
[0076] Table 1 Measurement of ethane and ethylene gas in transformer insulating oil
[0077]
[0078] The measurement error of the embodiment of the present invention meets the Class A requirements for transformer detection devices in substations of 500 kV and below in the standard "Q / GDW10536-2021 Technical Specifications for Online Monitoring Devices for Dissolved Gases in Transformer Oil".
[0079] The beneficial effects of the present invention are as follows: for gases that are easily affected by noise and have weak absorption, the present invention adds second harmonic analysis on the basis of a traditional phase-locked amplifier to improve the detection stability and lower limit of target gases that are easily affected by noise and have overlapping wavelengths; for cross-interference between mixed gases, the present invention completes second harmonic correction at the characteristic wavelength of ethane during mixed gas detection based on the principle of linear correction of time domain waveforms to improve the detection accuracy of ethane in the mixed gas.
[0080] An embodiment of the present invention further provides an electronic device, the electronic device comprising a processor and a memory;
[0081] The memory stores a program;
[0082] The processor executes the program to perform the aforementioned mixed gas detection method; the electronic device has the function of carrying and running the software system for mixed gas detection provided by the embodiment of the present invention, for example, a computer-based control device.
[0083] An embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a program, and the program is executed by a processor to implement the mixed gas detection method as described above.
[0084] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.
[0085] The embodiment of the present invention also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the aforementioned mixed gas detection method.
[0086] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0087] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0088] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0089] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0090] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0091] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0092] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0093] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the described embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A mixed gas detection device, characterized in that: It includes a control module, which includes a laser driving module, a near-infrared distributed feedback laser, an air chamber, a detector, a data acquisition module and a data analysis module: The laser driving module, the near-infrared distributed feedback laser, the gas chamber, the detector, the data acquisition module and the data analysis module are connected in sequence; The data analysis module includes a phase-locked amplifier unit, a correction unit and a second harmonic analysis unit, wherein the phase-locked amplifier unit is respectively connected to the correction unit and the second harmonic analysis unit, and the correction unit is connected to the second harmonic analysis unit; the data analysis module is respectively connected to the laser driving module and the data acquisition module through the phase-locked amplifier unit; The gas chamber is used to receive a mixed gas, and the mixed gas includes a first gas and a second gas; The laser driving module is used to obtain a modulation signal of the lock-in amplifier unit, and generate a modulated laser beam of a first wavelength according to the modulation signal and pass through the gas chamber; The data acquisition module is used to collect the electrical signal of the detector to obtain the signal to be measured; The data analysis module obtains the second harmonic according to the modulation signal and the signal to be measured; The correction unit is used to correct the interference between the first gas and the second gas; The second harmonic analysis module is used to analyze the second harmonic to obtain the concentration of the first gas and the concentration of the second gas; The control module is used for the control of the mixed gas detection device, data storage and gas concentration display; There is cross interference between the first gas and the second gas and the absorption wavelengths overlap, the first gas is ethane, and the second gas is ethylene; The gas chamber is used to introduce a second gas of a first concentration, and to detect a first second harmonic waveform using a characteristic absorption wavelength of the second gas; The characteristic absorption wavelength of ethane is used for detection, and the second harmonic waveform is obtained by applying the lock-in amplifier unit and the second harmonic analysis module; The correction unit is used to correct the second second harmonic waveform to obtain a third second harmonic waveform after correcting the second gas interference, and the correction unit includes: Using formula The second second harmonic waveform is corrected, wherein Y' is the third second harmonic waveform, Y is the second second harmonic waveform, y is the second concentration of the second gas, x is the first concentration of the second gas, and X is the first second harmonic waveform; the second harmonic analysis module is used to analyze the second harmonic to obtain the concentration of the first gas and the concentration of the second gas, including: The characteristic calculation of the gas includes obtaining the absorption peak width information a according to the peak information and trough information of the second harmonic; truncating the second harmonic using a window function with a length of N to obtain a truncated signal W(n), wherein N is the length of the second harmonic, and n represents a positive integer less than N, wherein the second harmonic is the third second harmonic waveform after correcting the interference of the second gas; Calculate the gas characteristic value c, c is calculated as follows Wherein, k = N / a.
2. The mixed gas detection device according to claim 1, characterized in that: The phase-locked amplifier unit includes a modulation signal subunit, a phase-sensitive detection subunit and a filter subunit, wherein the modulation signal subunit, the phase-sensitive detection subunit and the filter subunit are connected in sequence, the modulation signal subunit is connected to the laser driving module, and the filter subunit is connected to the correction unit; The modulation signal subunit is used to generate sawtooth wave and sine wave signals with unit amplitude and adjustable frequency, and send the sawtooth wave and the sine wave signals as the modulation signals to the laser driving module; The phase-sensitive detection subunit is used to generate a demodulated signal according to the modulation signal and the signal to be detected; The filtering subunit is used to filter out the AC signal and the noise signal in the demodulated signal by using a low-pass filter to obtain the second harmonic.
3. The mixed gas detection device according to claim 1, characterized in that: The wavelength range of the laser beam generated by the near-infrared distributed feedback laser is 1679nm-1681nm, the central wavelength is 1680nm, when the first gas is ethane, 1680.1nm is used as the characteristic absorption wavelength, when the second gas is ethylene, 1681.1nm is used as the characteristic absorption wavelength.
4. A mixed gas detection method according to any one of claims 1 to 3, characterized in that: include: Calibrate the first gas and the second gas respectively to obtain a first calibration curve of the first gas and a second calibration curve of the second gas; Passing the second gas of a first concentration into the gas chamber, and detecting the second gas by using a characteristic absorption wavelength to obtain a first second harmonic waveform; Passing mixed gases of different concentrations into the gas chamber, detecting the mixed gas by using a characteristic absorption wavelength of the second gas to obtain a third characteristic value of the mixed gas, and determining a second concentration of the second gas in the mixed gas according to the third characteristic value and the second calibration curve; Using the characteristic absorption wavelength of the first gas for detection, a second second harmonic waveform is obtained, and the second second harmonic waveform is corrected to obtain a third second harmonic waveform after the second gas interference is corrected; determining a fourth characteristic value of the third second harmonic waveform, and determining a third concentration of the first gas according to the fourth characteristic value and the first calibration curve; The first gas and the second gas are calibrated respectively to obtain a first calibration curve of the first gas and a second calibration curve of the second gas, comprising: introducing the first gas of different calibration concentrations into the gas chamber, detecting by using the characteristic absorption wavelength of the first gas, calculating the first characteristic value of the first gas at different calibration concentrations by second harmonic, and performing linear fitting according to the first characteristic value and the calibration concentration to obtain the first calibration curve of the first gas; introducing the second gas of different calibration concentrations into the gas chamber, detecting by using the characteristic absorption wavelength of the second gas, calculating the second characteristic value of the second gas at different calibration concentrations by second harmonic, and performing linear fitting according to the second characteristic value and the calibration concentration to obtain the second calibration curve of the second gas; The method of correcting the second second harmonic waveform to obtain a third second harmonic waveform after correcting the second gas interference includes: Using formula Correcting the second second harmonic waveform, wherein Y' is the third second harmonic waveform, Y is the second second harmonic waveform, y is the second concentration of the second gas, x is the first concentration of the second gas, and X is the first second harmonic waveform; The method further includes: calculating the characteristics of the gas, including obtaining absorption peak width information a according to the peak information and trough information of the second harmonic; truncating the second harmonic using a window function with a length of N to obtain a truncated signal W(n), wherein N is the length of the second harmonic, and n represents a positive integer less than N; Calculate the gas characteristic value c, c is calculated as follows Wherein, k = N / a.
5. An electronic device, characterized in that: including a processor and a memory; The memory is used to store programs; The processor executes the program to implement the mixed gas detection method as claimed in claim 4.
6. A computer-readable storage medium, characterized in that: The storage medium stores a program, and the program is executed by a processor to implement the mixed gas detection method as claimed in claim 4.
Citation Information
Patent Citations
Co-detection method, device and equipment for methane and carbon monoxide
CN114993944A
Method and apparatus for determining the concentration of a gas
DE102015008323A1