CN115791698B - Gas concentration detection apparatus, control method thereof, control device thereof, and storage medium - Google Patents
Gas concentration detection apparatus, control method thereof, control device thereof, and storage medium Download PDFInfo
- Publication number
- CN115791698B CN115791698B CN202310051144.9A CN202310051144A CN115791698B CN 115791698 B CN115791698 B CN 115791698B CN 202310051144 A CN202310051144 A CN 202310051144A CN 115791698 B CN115791698 B CN 115791698B
- Authority
- CN
- China
- Prior art keywords
- signal
- gas
- detected
- module
- laser
- 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 81
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000010521 absorption reaction Methods 0.000 claims abstract description 46
- 230000005540 biological transmission Effects 0.000 claims abstract description 40
- 238000001914 filtration Methods 0.000 claims description 10
- 230000000149 penetrating effect Effects 0.000 claims description 7
- 238000012886 linear function Methods 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 abstract description 14
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 3
- 238000000041 tunable diode laser absorption spectroscopy Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005070 sampling 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 discloses a gas concentration detection device, a control method, a control device and a storage medium thereof, wherein the method comprises the following steps: controlling a laser emission module to emit a target linear signal; when the gas signal is absorbed, determining an incident reference light intensity signal of the laser emission module according to the gas concentration data to be detected; acquiring a transmission intensity signal of a target linear signal transmitted by a laser transmitting module passing through the gas to be detected; and determining the concentration of the gas to be detected according to the incident reference light intensity signal and the transmission intensity signal. The method can keep the linearity of the emission signal of the laser emission module, thereby ensuring the linearity of the base line in the absorption curve, further rapidly and real-timely calculating the concentration of the gas to be detected, and has high accuracy of the detection result and less consumed calculation resources.
Description
Technical Field
The present invention relates to the field of gas detection technology, and in particular, to a method for controlling a gas concentration detection apparatus, a control device for a gas concentration detection apparatus, a computer-readable storage medium, and a gas concentration detection apparatus.
Background
In the conventional Tunable Diode Laser Absorption Spectroscopy (TDLAS), a sawtooth wave is generally used as a transmission waveform for measuring the gas concentration by adopting a direct absorption method, and then an echo photocurrent is amplified and collected, and the peak value and the area of gas absorption are extracted from an echo signal. Because the absorption signal is superimposed on the slope of the sawtooth wave, it is generally necessary to perform baseline fitting for subtracting the absorption portion when calculating the absorption peak, so as to obtain the intensity power curve of the incident light. However, due to the inherent current-luminous power nonlinearity of the laser diode, even if a sawtooth wave with very good linearity is used for the driving current, the laser signal emitted by the laser can be nonlinear, so that the slope baseline in the echo signal is very obviously nonlinear.
In the related art, a quadratic polynomial or a cubic polynomial is generally used to fit a nonlinear baseline. However, the algorithm of fitting the nonlinear baseline is usually performed by using a host computer, requires a large amount of calculation resources, cannot detect the gas concentration in real time, and is not suitable for an embedded gas detection system.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent. Therefore, a first object of the present invention is to provide a control method of a gas concentration detection apparatus, which can maintain linearity of a transmission signal of a laser transmission module, thereby ensuring linearity of a baseline in an absorption curve, and further, can rapidly calculate a concentration of a gas to be detected in real time, and has high accuracy of a detection result and less consumed calculation resources.
A second object of the present invention is to provide a control device for a gas concentration detection apparatus.
A third object of the present invention is to propose a computer readable storage medium.
A fourth object of the present invention is to propose a gas concentration detection apparatus.
To achieve the above object, an embodiment of a first aspect of the present invention provides a method for controlling a gas concentration detection apparatus, the gas concentration detection apparatus including a laser emitting module, the method including: controlling a laser emission module to emit a target linear signal; when the gas signal is absorbed, determining an incident reference light intensity signal of the laser emission module according to the gas concentration data to be detected; acquiring a transmission intensity signal of a target linear signal transmitted by a laser transmitting module passing through the gas to be detected; and determining the concentration of the gas to be detected according to the incident reference light intensity signal and the transmission intensity signal.
According to the control method of the gas concentration detection equipment, the laser emission module is controlled to emit the target linear signal, when the gas signal is absorbed, the incident reference light intensity signal of the laser emission module is determined according to the gas concentration data to be detected, then the transmission intensity signal of the target linear signal emitted by the laser emission module penetrating through the gas to be detected is obtained, and the concentration of the gas to be detected is determined according to the incident reference light intensity signal and the transmission intensity signal. Therefore, the method can keep the linearity of the emission signal of the laser emission module, thereby ensuring the linearity of the base line in the absorption curve, further rapidly and real-timely calculating the concentration of the gas to be detected, and has high accuracy of the detection result and less consumed calculation resources.
In addition, the control method of the gas concentration detection apparatus according to the above embodiment of the present invention may further have the following additional technical features:
according to an embodiment of the present invention, the gas concentration detection apparatus further includes: the system comprises a singlechip, a laser receiving module and an infrared reflecting mirror, wherein the infrared reflecting mirror is configured to reflect a transmitting signal sent by the laser transmitting module, the laser receiving module is configured to receive a signal reflected by the infrared reflecting mirror, the singlechip is configured to receive the signal received by the laser receiving module, and acquire a target linear signal, and the system comprises: acquiring an original emission signal of a laser emission module and an acquisition signal of a singlechip; and correcting the original emission signal according to the original emission signal and the acquisition signal to obtain a target linear signal.
According to one embodiment of the invention, correcting the original transmit signal based on the original transmit signal and the acquisition signal comprises: determining a compensation signal according to a signal difference between the original emission signal and the acquisition signal; determining a residual error from the compensation signal; and when the residual error is greater than or equal to a preset threshold value, correcting the original transmitting signal according to the compensating signal.
According to one embodiment of the invention, correcting an original transmit signal based on a compensation signal includes: acquiring an opposite compensation signal of the compensation signal; the target linear signal is determined from the superposition of the original transmit signal and the opposite compensation signal.
According to one embodiment of the present invention, determining an incident reference light intensity signal of a laser emitting module according to gas concentration data to be measured includes: acquiring the concentration data of the gas to be detected of a part without the absorption of the gas to be detected in the concentration data of the gas to be detected; and carrying out linear fitting on the concentration data of the gas to be detected of the part without the gas to be detected to determine an incident reference light intensity signal.
According to one embodiment of the invention, the transmission intensity signal and the concentration of the gas to be measured are determined by the following formula:
wherein ,representing the transmitted intensity signal, ">Representing the incident reference light intensity signal +.>Represents the absorption coefficient of the gas to be measured, +.>Indicating the concentration of the gas to be measured>Indicating the path of the target linear signal through the gas to be measured, < + >>Indicating gas pressure +.>Line intensity representing the absorption line of the gas to be measured, +.>Representing a linear function, satisfy->。
According to one embodiment of the present invention, after acquiring the acquisition signal of the singlechip, the method further includes: and filtering the acquired signals of the singlechip by adopting Kalman filtering.
To achieve the above object, a second aspect of the present invention provides a control device for a gas concentration detection apparatus, the gas concentration detection apparatus including a laser emitting module, the device including: the control module is used for controlling the laser emission module to emit a target linear signal; the first determining module is used for determining an incident reference light intensity signal of the laser transmitting module according to the gas concentration data to be detected when the gas signal is absorbed; the second determining module is used for obtaining a transmission intensity signal of the target linear signal transmitted by the laser transmitting module passing through the gas to be detected; and the control module is used for determining the concentration of the gas to be detected according to the incident reference light intensity signal and the transmission intensity signal.
According to the control device of the gas concentration detection equipment, the control module controls the laser emission module to emit a target linear signal; when the first determining module absorbs the gas signal, determining an incident reference light intensity signal of the laser transmitting module according to the gas concentration data to be detected; the second determining module acquires a transmission intensity signal of the target linear signal transmitted by the laser transmitting module passing through the gas to be detected; the control module determines the concentration of the gas to be measured according to the incident reference light intensity signal and the transmission intensity signal. Therefore, the device can keep the linearity of the emission signal of the laser emission module, thereby ensuring the linearity of the base line in the absorption curve, further rapidly and real-timely calculating the concentration of the gas to be detected, and has high accuracy of the detection result and less consumed calculation resources.
To achieve the above object, an embodiment of a third aspect of the present invention provides a computer-readable storage medium having stored thereon a control program of a gas concentration detection apparatus, which when executed by a processor, implements the above-described control method of the gas concentration detection apparatus.
According to the computer readable storage medium, the emission signal of the laser emission module can be kept linear by executing the control method of the gas concentration detection device, so that the linearity of a base line in an absorption curve is ensured, the concentration of the gas to be detected can be rapidly calculated in real time, the accuracy of a detection result is high, and the consumed calculation resources are small.
To achieve the above object, a fourth aspect of the present invention provides a gas concentration detection apparatus comprising: the laser emission module is used for emitting a target linear signal; the infrared reflecting mirror is used for reflecting the transmitting signals sent by the laser transmitting module; the laser receiving module is used for receiving the signals reflected by the infrared reflecting mirror; the singlechip is used for controlling the laser emission module to emit a target linear signal, determining an incident reference light intensity signal of the laser emission module according to the concentration data of the gas to be detected when the gas signal is absorbed, acquiring a transmission intensity signal of the target linear signal emitted by the laser emission module penetrating through the gas to be detected, and determining the concentration of the gas to be detected according to the incident reference light intensity signal and the transmission intensity signal.
According to the gas concentration detection equipment provided by the embodiment of the invention, the laser emission module emits a target linear signal, the infrared reflecting mirror reflects the emission signal sent by the laser emission module, the laser receiving module receives the signal reflected by the infrared reflecting mirror, the singlechip controls the laser emission module to emit the target linear signal, when the gas signal is absorbed, the incident reference light intensity signal of the laser emission module is determined according to the gas concentration data to be detected, the transmission intensity signal of the target linear signal emitted by the laser emission module penetrating through the gas to be detected is obtained, and the concentration of the gas to be detected is determined according to the incident reference light intensity signal and the transmission intensity signal. Therefore, the device can keep the linearity of the emission signal of the laser emission module, thereby ensuring the linearity of the base line in the absorption curve, further rapidly and real-timely calculating the concentration of the gas to be detected, and has high accuracy of the detection result and less consumed calculation resources.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a flowchart of a control method of a gas concentration detection apparatus according to an embodiment of the present invention;
FIG. 2 is a block schematic diagram of a gas concentration detection apparatus according to one embodiment of the invention;
FIG. 3 is a schematic diagram of concentration data of a gas to be measured according to one embodiment of the present invention;
FIG. 4 is a block schematic diagram of a gas concentration detection apparatus according to one embodiment of the invention;
FIG. 5a is a schematic waveform diagram of a singlechip without adjusting an acquisition signal according to an embodiment of the invention;
FIG. 5b is a schematic waveform diagram of an adjusted transmit signal for a singlechip according to an embodiment of the invention;
FIG. 5c is a schematic waveform diagram of an adjusted acquisition signal of a singlechip according to an embodiment of the invention;
fig. 6 is a block schematic diagram of a control device of the gas concentration detection apparatus according to the embodiment of the present invention;
fig. 7 is a block schematic diagram of a gas concentration detection apparatus according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
A control method of a gas concentration detection apparatus, a computer-readable storage medium, and a gas concentration detection apparatus according to embodiments of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a control method of a gas concentration detection apparatus according to an embodiment of the present invention.
In one embodiment of the present invention, as shown in fig. 2, the gas concentration detection apparatus 200 includes a laser emitting module 210, and when the concentration of the gas to be detected is detected, the laser emitting module 210 emits a laser signal through the gas to be detected, and the laser signal is absorbed by the gas to be detected, so that the concentration of the gas to be detected can be detected. In some embodiments, the laser emitting module 210 includes a DFB (DistributedFeedback Laser ) and a DAC chip. Wherein, the DFB is internally packaged with a TEC refrigerating sheet and a thermistor, the central wavelength of the DFB is near 1653.72 nm, the laser can change the position of the central wavelength by changing the temperature and the current, the output linear width of the laser is about 10 MHz, and the power is 10 mW at maximum. The DAC (Digital Analog Converter, digital-to-analog converter) chip may send a sawtooth linear modulation signal, i.e., a drive current, to drive the laser to emit a laser signal.
As shown in fig. 1, the control method of the gas concentration detection apparatus according to the embodiment of the present invention may include the steps of:
s1, controlling the laser emission module to emit a target linear signal.
Specifically, due to the inherent current-luminous power nonlinearity of the laser emitting module, even if a sawtooth wave with very good linearity is used for the driving current, the signal emitted by the laser emitting module still presents nonlinearity. When the concentration of the gas to be detected is calculated, if the signal emitted by the laser emission module is linear, the calculation step can be simplified, and the calculation resource is saved, so that the signal emitted by the laser emission module needs to be controlled to be linear before the gas detection is performed. The process of controlling the laser emitting module to emit the target linear signal will be described in detail below.
S2, when the gas signal is absorbed, determining an incident reference light intensity signal of the laser emission module according to the gas concentration data to be detected.
According to one embodiment of the present invention, determining an incident reference light intensity signal of a laser emitting module according to gas concentration data to be measured includes: acquiring the concentration data of the gas to be detected of a part without the absorption of the gas to be detected in the concentration data of the gas to be detected; and carrying out linear fitting on the concentration data of the gas to be detected of the part without the gas to be detected to determine an incident reference light intensity signal.
Specifically, after the laser emission module is controlled to emit the target linear signal through step S1, concentration detection may be performed on the gas to be detected. The gas concentration measurement by laser is realized based on the beer-lambert law, and when the laser emitting module emits a laser beam with a determined wavelength (i.e. a target linear signal) to pass through the gas to be measured, a part of the laser beam is absorbed by gas molecules to generate energy attenuation. When the gas signal is absorbed, the concentration data of the gas to be detected is obtained as shown in fig. 3, wherein the abscissa is the number of the collected points of the collected absorption waveform data, and the ordinate is the photovoltage. As can be seen from fig. 3, when there is gas absorption, the measured gas concentration data of the gas absorption portion to be measured has an obvious absorption peak, the measured gas concentration data of the gas absorption portion without the measured gas is located at two sides of the absorption peak, and a linear fitting can be performed on the measured gas concentration data of the gas absorption portion without the measured gas to obtain a fitting baseline, where the fitting baseline is an incident reference light intensity signal.
S3, obtaining a transmission intensity signal of a target linear signal transmitted by the laser transmitting module penetrating through the gas to be detected.
Specifically, as shown in fig. 3, the transmission intensity signal of the target linear signal passing through the gas to be measured is the gas concentration data to be measured having the gas absorption portion to be measured, and may be directly acquired by the gas concentration detection apparatus.
S4, determining the concentration of the gas to be detected according to the incident reference light intensity signal and the transmission intensity signal.
According to one embodiment of the invention, the concentration of the gas to be measured is determined by the following formula:
wherein ,representing the transmitted intensity signal, ">Representing the incident reference light intensity signal +.>Representing the suction of the gas to be measuredCoefficient of contraction (F)>Indicating the concentration of the gas to be measured>Indicating the path of the target linear signal through the gas to be measured, < + >>Indicating gas pressure +.>Line intensity representing the absorption line of the gas to be measured, +.>Representing a linear function, satisfy->。
Specifically, when the target linear signal emitted by the laser emitting module passes through the gas to be detected, the intensity signal is transmittedAnd the concentration of the gas to be measured->The relationship of (2) satisfies the above formula (1). In the formula (1), the absorption coefficient of the gas to be measuredAnd gas pressure->Line intensity of absorption line of gas to be measured>In relation, therefore, equation (1) can be converted into equation (2). In formula (2), the path of the target linear signal through the gas to be measured is +.>Air pressure->Line intensity of absorption line of gas to be measured>To a known amount, the transmission intensity signal +.>Incident reference light intensity signal->Substituting into the formula (2), the concentration of the gas to be measured can be obtained>。
Therefore, the control method of the gas concentration detection equipment can keep the linearity of the emission signal of the laser emission module, thereby ensuring the linearity of the base line in the absorption curve, further rapidly and real-timely calculating the concentration of the gas to be detected, and has high accuracy of the detection result and less consumed calculation resources.
The specific process of controlling the laser emitting module to emit the target linear signal in the above step S1 will be described in detail with reference to the specific embodiment.
In one embodiment of the present invention, as shown in fig. 4, the gas concentration detection apparatus 200 further includes: the laser device comprises a singlechip 240, a laser receiving module 230 and an infrared reflecting mirror 220, wherein the infrared reflecting mirror 220 is configured to reflect a transmitting signal sent by the laser transmitting module 210, the laser receiving module 230 is configured to receive a signal reflected by the infrared reflecting mirror, and the singlechip 240 is configured to receive the signal received by the laser receiving module 230.
Specifically, as shown in fig. 4, the laser emission module 210 may be driven by a low-frequency sawtooth current modulation signal with a frequency of 100Hz to send an emission signal, the emission signal is reflected by two vertically arranged infrared reflectors 220 and then sent to the laser receiving module 230, the laser receiving module 230 converts the received emission signal and sends the converted emission signal to the singlechip 240, and the signal sent by the laser receiving module and received by the singlechip 240 is the acquisition signal. In some embodiments, the laser emission module 210 includes a photodetector and an ADC (Analogto Digital Converter, analog-to-digital converter) chip, where the photodetector receives the emission signal, converts the emission signal into a current signal, and the ADC chip converts the current signal into a digital signal and sends the digital signal to the single-chip microcomputer 240.
According to one embodiment of the invention, obtaining a target linear signal includes: acquiring an original emission signal of a laser emission module and an acquisition signal of a singlechip; and correcting the original emission signal according to the original emission signal and the acquisition signal to obtain a target linear signal.
Specifically, the original emission signal of the laser emission module may be a low-frequency sawtooth signal with a frequency of 100Hz, and the period of the low-frequency sawtooth signal is 10 ms. The sampling frequency of the acquisition signal of the singlechip can be 100 kHz, so that the waveform data acquired in each sawtooth wave transmitting period reaches 1000 points. In order to remove noise in the collected signals, according to one embodiment of the invention, after the collected signals of the singlechip are obtained, kalman filtering is adopted to carry out filtering processing on the collected signals of the singlechip.
Because the signal emitted by the laser emission module will be nonlinear, the collected signal of the singlechip will also be nonlinear, and the waveform of the collected signal is shown in fig. 5a, so before the gas concentration detection, the original emission signal needs to be corrected according to the original emission signal and the collected signal, so that the waveform emitted by the laser emission module is linear.
According to one embodiment of the invention, correcting the original transmit signal based on the original transmit signal and the acquisition signal comprises: determining a compensation signal according to a signal difference between the original emission signal and the acquisition signal; determining a residual error from the compensation signal; and when the residual error is greater than or equal to a preset threshold value, correcting the original transmitting signal according to the compensating signal.
Further, according to an embodiment of the present invention, correcting an original transmission signal according to a compensation signal includes: acquiring an opposite compensation signal of the compensation signal; the target linear signal is determined from the superposition of the original transmit signal and the opposite compensation signal.
Specifically, after the single chip microcomputer obtains the original emission signal of the laser emission module and the acquisition signal of the single chip microcomputer, the original emission signal and the acquisition signal can be subjected to difference, and the obtained signal difference value is the compensation signal. And then solving residual error of the compensation signal, and comparing the residual error with a preset threshold value. And when the residual error is smaller than a preset threshold value, the original transmitted signal is not corrected. And when the residual error is greater than or equal to a preset threshold value, inverting the compensation signal to obtain an opposite compensation signal, and superposing the opposite compensation signal and the original emission signal, wherein the waveform of the emission signal after superposition is shown in fig. 5 b. The singlechip controls the laser emission module to emit laser signals according to the emission signals after superposition, so that the emission signals are linear, namely target linear signals. After the laser emitting module emits the target linear signal, the waveform of the collected signal of the singlechip is linear, as shown in fig. 5 c. Therefore, the singlechip can adjust the emission waveform of the laser emission module in real time according to the acquired signals, so that the nonlinearity of the emission waveform of the laser emission module caused by current tuning can be eliminated.
Further, after the laser emitting module emits the target linear signal, the concentration of the gas to be detected may be detected through the foregoing steps S2 to S4.
In summary, according to the control method of the gas concentration detection apparatus of the embodiment of the present invention, the laser emission module is controlled to emit the target linear signal, and when the gas signal is absorbed, the incident reference light intensity signal of the laser emission module is determined according to the gas concentration data to be detected, and then the transmission intensity signal of the target linear signal emitted by the laser emission module passing through the gas to be detected is obtained, and the concentration of the gas to be detected is determined according to the incident reference light intensity signal and the transmission intensity signal. Therefore, the method can keep the linearity of the emission signal of the laser emission module, thereby ensuring the linearity of the base line in the absorption curve, further rapidly and real-timely calculating the concentration of the gas to be detected, and has high accuracy of the detection result and less consumed calculation resources.
Corresponding to the embodiment, the invention also provides a control device of the gas concentration detection equipment.
Fig. 6 is a block schematic diagram of a control device of the gas concentration detection apparatus according to the embodiment of the present invention.
As shown in fig. 6, the control device 100 of the gas concentration detection apparatus of the embodiment of the present invention, the gas concentration detection apparatus 200 includes a laser emitting module 210, and the control device 100 of the gas concentration detection apparatus may include: a control module 110, a first determination module 120, and a second determination module 130.
Wherein the control module 110 is configured to control the laser emitting module 210 to emit a target linear signal. The first determining module 120 is configured to determine an incident reference light intensity signal of the laser emitting module 210 according to the gas concentration data to be measured when the gas signal is absorbed. The second determining module 130 is configured to obtain a transmission intensity signal of the target linear signal transmitted by the laser transmitting module 210 through the gas to be measured. The control module 110 is further configured to determine a concentration of the gas to be measured according to the incident reference light intensity signal and the transmitted light intensity signal.
According to one embodiment of the present invention, the gas concentration detection apparatus 200 further includes: the system comprises a singlechip 240, a laser receiving module 230 and an infrared reflecting mirror 220, wherein the infrared reflecting mirror 220 is configured to reflect a transmitting signal sent by the laser transmitting module 210, the laser receiving module 230 is configured to receive a signal reflected by the infrared reflecting mirror 220, the singlechip 240 is configured to receive a signal received by the laser receiving module 230, and the control module 110 is used for acquiring a target linear signal, in particular an original transmitting signal of the laser transmitting module 210 and an acquisition signal of the singlechip 240; and correcting the original emission signal according to the original emission signal and the acquisition signal to obtain a target linear signal.
According to one embodiment of the present invention, the control module 110 corrects the original emission signal according to the original emission signal and the acquisition signal, and specifically is configured to determine the compensation signal according to a signal difference between the original emission signal and the acquisition signal; determining a residual error from the compensation signal; and when the residual error is greater than or equal to a preset threshold value, correcting the original transmitting signal according to the compensating signal.
According to one embodiment of the present invention, the control module 110 corrects the original transmission signal according to the compensation signal, specifically, is used for obtaining an opposite compensation signal of the compensation signal; the target linear signal is determined from the superposition of the original transmit signal and the opposite compensation signal.
According to an embodiment of the present invention, the first determining module 120 determines an incident reference light intensity signal of the laser emitting module 210 according to the gas concentration data to be measured, and is specifically configured to obtain the gas concentration data to be measured without the gas absorption portion to be measured in the gas concentration data to be measured; and carrying out linear fitting on the concentration data of the gas to be detected of the part without the gas to be detected to determine an incident reference light intensity signal.
According to one embodiment of the invention, the control module 110 determines the concentration of the gas to be measured by the following formula:
wherein ,representing the transmitted intensity signal, ">Representing the incident reference light intensity signal +.>Represents the absorption coefficient of the gas to be measured, +.>Indicating the concentration of the gas to be measured>Indicating the path of the target linear signal through the gas to be measured, < + >>Indicating gas pressure +.>Line intensity representing the absorption line of the gas to be measured, +.>Representing a linear function, satisfy->。
According to an embodiment of the present invention, after the acquisition signal of the singlechip 240 is acquired, the control module 110 is further configured to perform filtering processing on the acquisition signal of the singlechip 240 by using kalman filtering.
It should be noted that, for details not disclosed in the control device of the gas concentration detection apparatus according to the embodiment of the present invention, please refer to details disclosed in the control method of the gas concentration detection apparatus according to the embodiment of the present invention, and details are not described here again.
According to the control device of the gas concentration detection equipment, the control module controls the laser emission module to emit a target linear signal; when the first determining module absorbs the gas signal, determining an incident reference light intensity signal of the laser transmitting module according to the gas concentration data to be detected; the second determining module acquires a transmission intensity signal of the target linear signal transmitted by the laser transmitting module passing through the gas to be detected; the control module determines the concentration of the gas to be measured according to the incident reference light intensity signal and the transmission intensity signal. Therefore, the device can keep the linearity of the emission signal of the laser emission module, thereby ensuring the linearity of the base line in the absorption curve, further rapidly and real-timely calculating the concentration of the gas to be detected, and has high accuracy of the detection result and less consumed calculation resources.
The present invention also proposes a computer-readable storage medium corresponding to the above-described embodiments.
The computer-readable storage medium of the embodiment of the present invention has stored thereon a control program of a gas concentration detection apparatus, which when executed by a processor, implements the control method of the gas concentration detection apparatus described above.
According to the computer readable storage medium, the emission signal of the laser emission module can be kept linear by executing the control method of the gas concentration detection device, so that the linearity of a base line in an absorption curve is ensured, the concentration of the gas to be detected can be rapidly calculated in real time, the accuracy of a detection result is high, and the consumed calculation resources are small.
Corresponding to the embodiment, the invention also provides a gas concentration detection device.
Fig. 7 is a block schematic diagram of a gas concentration detection apparatus according to an embodiment of the present invention.
As shown in fig. 7, the gas concentration detection apparatus 200 of the embodiment of the present invention may include: the device comprises a laser emitting module 210, an infrared reflecting mirror 220, a laser receiving module 230 and a singlechip 240.
Wherein the laser emitting module 210 is configured to emit a target linear signal. The infrared mirror 220 is used for reflecting the emission signal sent by the laser emission module 210. The laser receiving module 230 is configured to receive the signal reflected by the infrared mirror 220. The singlechip 240 is used for controlling the laser emission module 210 to emit a target linear signal, determining an incident reference light intensity signal of the laser emission module 210 according to the concentration data of the gas to be measured when the gas signal is absorbed, acquiring a transmission intensity signal of the target linear signal emitted by the laser emission module 210 penetrating through the gas to be measured, and determining the concentration of the gas to be measured according to the incident reference light intensity signal and the transmission intensity signal.
According to an embodiment of the present invention, the singlechip 240 is configured to obtain a target linear signal, and specifically, obtain an original emission signal of the laser emission module 210 and an acquisition signal of the singlechip 240; and correcting the original emission signal according to the original emission signal and the acquisition signal to obtain a target linear signal.
According to one embodiment of the present invention, the singlechip 240 corrects the original emission signal according to the original emission signal and the acquisition signal, and is specifically configured to determine the compensation signal according to a signal difference between the original emission signal and the acquisition signal; determining a residual error from the compensation signal; and when the residual error is greater than or equal to a preset threshold value, correcting the original transmitting signal according to the compensating signal.
According to one embodiment of the present invention, the singlechip 240 corrects the original emission signal according to the compensation signal, specifically, is used for obtaining an opposite compensation signal of the compensation signal; the target linear signal is determined from the superposition of the original transmit signal and the opposite compensation signal.
According to an embodiment of the present invention, the singlechip 240 determines an incident reference light intensity signal of the laser emission module 210 according to the to-be-measured gas concentration data, and is specifically configured to obtain to-be-measured gas concentration data of a part without to-be-measured gas absorption in the to-be-measured gas concentration data; and carrying out linear fitting on the concentration data of the gas to be detected of the part without the gas to be detected to determine an incident reference light intensity signal.
According to one embodiment of the present invention, the singlechip 240 determines the concentration of the gas to be measured by the following formula:
wherein ,representing the transmitted intensity signal, ">Representing the incident reference light intensity signal +.>Represents the absorption coefficient of the gas to be measured, +.>Indicating the concentration of the gas to be measured>Indicating the path of the target linear signal through the gas to be measured, < + >>Indicating gas pressure +.>Line intensity representing the absorption line of the gas to be measured, +.>Representing a linear function, satisfy->。
According to one embodiment of the present invention, after acquiring the acquisition signal, the singlechip 240 is further configured to perform a filtering process on the acquisition signal by using kalman filtering.
It should be noted that, for details not disclosed in the gas concentration detection apparatus according to the embodiment of the present invention, please refer to details disclosed in the control method of the gas concentration detection apparatus according to the embodiment of the present invention, and detailed descriptions thereof are omitted herein.
According to the gas concentration detection equipment provided by the embodiment of the invention, the laser emission module emits a target linear signal, the infrared reflecting mirror reflects the emission signal sent by the laser emission module, the laser receiving module receives the signal reflected by the infrared reflecting mirror, the singlechip controls the laser emission module to emit the target linear signal, when the gas signal is absorbed, the incident reference light intensity signal of the laser emission module is determined according to the gas concentration data to be detected, the transmission intensity signal of the target linear signal emitted by the laser emission module penetrating through the gas to be detected is obtained, and the concentration of the gas to be detected is determined according to the incident reference light intensity signal and the transmission intensity signal. Therefore, the device can keep the linearity of the emission signal of the laser emission module, thereby ensuring the linearity of the base line in the absorption curve, further rapidly and real-timely calculating the concentration of the gas to be detected, and has high accuracy of the detection result and less consumed calculation resources.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.
Claims (7)
1. A control method of a gas concentration detection apparatus, wherein the gas concentration detection apparatus includes a laser emitting module, a singlechip, and a laser receiving module, the method comprising:
controlling the laser emission module to emit a target linear signal;
when the gas signal is absorbed, determining an incident reference light intensity signal of the laser emission module according to the gas concentration data to be detected;
acquiring a transmission intensity signal of the target linear signal transmitted by the laser transmitting module passing through the gas to be detected;
determining the concentration of the gas to be detected according to the incident reference light intensity signal and the transmission intensity signal, wherein the singlechip is configured to receive the signal received by the laser receiving module, obtain a target linear signal, and comprise:
acquiring an original emission signal of the laser emission module and an acquisition signal of the singlechip;
correcting the original emission signal according to the original emission signal and the acquisition signal to obtain a target linear signal, wherein correcting the original emission signal according to the original emission signal and the acquisition signal comprises the following steps:
determining a compensation signal according to a signal difference between the original emission signal and the acquisition signal;
determining a residual error from the compensation signal;
when the residual error is greater than or equal to a preset threshold, correcting the original transmitting signal according to the compensating signal, wherein correcting the original transmitting signal according to the compensating signal comprises the following steps:
acquiring an opposite compensation signal of the compensation signal;
determining the target linear signal from a superposition of the original transmit signal and the opposite compensation signal;
determining an incident reference light intensity signal of the laser emission module according to the gas concentration data to be detected, including:
acquiring the concentration data of the gas to be detected of a part without the absorption of the gas to be detected in the concentration data of the gas to be detected;
and performing linear fitting on the to-be-detected gas concentration data of the to-be-detected gas absorption part to determine the incident reference light intensity signal.
2. The control method of the gas concentration detection apparatus according to claim 1, characterized in that the gas concentration detection apparatus further comprises: and the laser receiving module is configured to receive the signal reflected by the infrared reflecting mirror.
3. The control method of the gas concentration detection apparatus according to claim 1, wherein the concentration of the gas to be detected is determined by the following formula:
wherein ,representing the transmission intensity signal, < >>Representing said incident reference light intensity signal,/a>Represents the absorption coefficient of the gas to be measured, +.>Indicating the concentration of the gas to be measured>Indicating the path of the target linear signal through the gas to be measured, < + >>Indicating gas pressure +.>Line intensity representing the absorption line of the gas to be measured, +.>Represent a linear function satisfying。
4. The control method of the gas concentration detection apparatus according to claim 1, characterized in that after acquisition of the acquisition signal of the single-chip microcomputer, the method further comprises:
and filtering the acquired signals of the singlechip by adopting Kalman filtering.
5. A control device of a gas concentration detection apparatus, wherein the gas concentration detection apparatus includes a laser emitting module, a singlechip, and a laser receiving module, the device includes:
the control module is used for controlling the laser emission module to emit a target linear signal;
the first determining module is used for determining an incident reference light intensity signal of the laser transmitting module according to the gas concentration data to be detected when the gas signal is absorbed;
the second determining module is used for obtaining a transmission intensity signal of the target linear signal transmitted by the laser transmitting module, which passes through the gas to be detected;
the control module is used for determining the concentration of the gas to be detected according to the incident reference light intensity signal and the transmission intensity signal;
the single chip microcomputer is configured to receive signals received by the laser receiving module, and the control module is used for acquiring target linear signals, in particular to acquire original transmitting signals of the laser transmitting module and acquisition signals of the single chip microcomputer;
correcting the original emission signal according to the original emission signal and the acquisition signal to obtain a target linear signal;
the control module is used for correcting the original emission signal according to the original emission signal and the acquisition signal, and particularly used for determining a compensation signal according to a signal difference value between the original emission signal and the acquisition signal;
determining a residual error from the compensation signal;
when the residual error is greater than or equal to a preset threshold value, correcting the original transmitting signal according to the compensating signal;
the control module is used for correcting the original emission signal according to the compensation signal, and is particularly used for acquiring an opposite compensation signal of the compensation signal;
determining the target linear signal from a superposition of the original transmit signal and the opposite compensation signal;
the control module is used for determining an incident reference light intensity signal of the laser emission module according to the to-be-detected gas concentration data, and is particularly used for acquiring to-be-detected gas concentration data of a part without to-be-detected gas absorption in the to-be-detected gas concentration data;
and performing linear fitting on the to-be-detected gas concentration data of the to-be-detected gas absorption part to determine the incident reference light intensity signal.
6. A computer-readable storage medium, characterized in that a control program of a gas concentration detection apparatus is stored thereon, which when executed by a processor, implements the control method of the gas concentration detection apparatus according to any one of claims 1 to 4.
7. A gas concentration detection apparatus, characterized by comprising:
the laser emission module is used for emitting a target linear signal;
the infrared reflecting mirror is used for reflecting the transmitting signals sent by the laser transmitting module;
the laser receiving module is used for receiving the signals reflected by the infrared reflecting mirror;
the singlechip is used for controlling the laser emission module to emit a target linear signal, determining an incident reference light intensity signal of the laser emission module according to the concentration data of the gas to be detected when the gas signal is absorbed, determining a transmission intensity signal of the laser emission module penetrating through the gas to be detected according to the incident reference light intensity signal and the gas parameter, and determining the concentration of the gas to be detected according to the incident reference light intensity signal and the transmission intensity signal;
the singlechip is used for acquiring a target linear signal, in particular to acquiring an original transmitting signal of the laser transmitting module and an acquisition signal of the singlechip;
correcting the original emission signal according to the original emission signal and the acquisition signal to obtain a target linear signal;
the singlechip is used for correcting the original emission signal according to the original emission signal and the acquisition signal, and is particularly used for determining a compensation signal according to a signal difference value between the original emission signal and the acquisition signal;
determining a residual error from the compensation signal;
when the residual error is greater than or equal to a preset threshold value, correcting the original transmitting signal according to the compensating signal;
the singlechip is used for correcting the original emission signal according to the compensation signal, and is particularly used for acquiring an opposite compensation signal of the compensation signal;
determining the target linear signal from a superposition of the original transmit signal and the opposite compensation signal;
the singlechip is used for determining an incident reference light intensity signal of the laser emission module according to the gas concentration data to be detected, and is particularly used for acquiring the gas concentration data to be detected of a part without gas absorption to be detected in the gas concentration data to be detected;
and performing linear fitting on the to-be-detected gas concentration data of the to-be-detected gas absorption part to determine the incident reference light intensity signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310051144.9A CN115791698B (en) | 2023-02-02 | 2023-02-02 | Gas concentration detection apparatus, control method thereof, control device thereof, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310051144.9A CN115791698B (en) | 2023-02-02 | 2023-02-02 | Gas concentration detection apparatus, control method thereof, control device thereof, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115791698A CN115791698A (en) | 2023-03-14 |
CN115791698B true CN115791698B (en) | 2023-05-23 |
Family
ID=85429492
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310051144.9A Active CN115791698B (en) | 2023-02-02 | 2023-02-02 | Gas concentration detection apparatus, control method thereof, control device thereof, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115791698B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118275379A (en) * | 2024-05-30 | 2024-07-02 | 深圳市朗石科学仪器有限公司 | Method and device for detecting gas concentration, computer equipment and storage medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ATE378580T1 (en) * | 2004-03-09 | 2007-11-15 | Senscient Ltd | GAS PROOF |
JP4381353B2 (en) * | 2005-07-12 | 2009-12-09 | 株式会社 光コム | Laser light generator |
CN103076302B (en) * | 2012-12-30 | 2015-12-23 | 重庆川仪自动化股份有限公司 | A kind of gas concentration detection method and device |
CN111044485A (en) * | 2019-12-04 | 2020-04-21 | 清华大学合肥公共安全研究院 | Tunable laser absorption harmonic demodulation circuit and method based on FPGA (field programmable Gate array) synchronous signals |
CN111398216A (en) * | 2020-05-20 | 2020-07-10 | 中南大学 | Multi-frequency modulation method for gas concentration detection, gas concentration detection method and system |
CN112098364A (en) * | 2020-09-25 | 2020-12-18 | 徐州旭海光电科技有限公司 | Gas detection device and method and computer readable storage medium |
CN114518340A (en) * | 2022-01-28 | 2022-05-20 | 中国人民解放军军事科学院国防科技创新研究院 | Gas concentration detection method, device and system |
-
2023
- 2023-02-02 CN CN202310051144.9A patent/CN115791698B/en active Active
Non-Patent Citations (1)
Title |
---|
TDLAS检测技术气体吸收过程的仿真研究;刘昱峰;王彪;杨凯;陈垒;陈越;宁永强;;激光杂志(03);第37-40页 * |
Also Published As
Publication number | Publication date |
---|---|
CN115791698A (en) | 2023-03-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5176535B2 (en) | Laser gas analyzer | |
KR100873550B1 (en) | Gas Detection Method and Gas Detection Device | |
WO2014109126A1 (en) | Laser-type gas analyzer | |
JP6075372B2 (en) | Material property measuring device | |
JP6044760B2 (en) | Laser gas analyzer | |
CN115791698B (en) | Gas concentration detection apparatus, control method thereof, control device thereof, and storage medium | |
CN111829980B (en) | Linear nonlinear correction detection system and method based on harmonic technology | |
CN110160989B (en) | Trace gas detection method and detection device | |
CN111521581B (en) | Method and device for judging components of carbon monoxide and methane and detecting concentration of components of carbon monoxide and methane and application of method and device | |
CN116046721B (en) | Correlation open-circuit laser gas detector and gas detection real-time calibration method | |
CN108872147A (en) | A kind of generating device of laser and gas concentration detection apparatus based on TDLAS technology | |
US7414727B2 (en) | Gas detection method and gas detection device | |
JP2008232920A (en) | Gas detection device, and calibration method and wavelength confirmation method using device | |
JP2008175611A (en) | Device and method for measuring gas concentration | |
CN115032174A (en) | Gas concentration measuring device with automatic temperature compensation function, method and microprocessor | |
JP5234381B1 (en) | Laser oxygen analyzer | |
JP2013108840A (en) | Laser radar device | |
CN114002183A (en) | Laser control method and controller, laser gas remote measuring method and device | |
CN100559159C (en) | The self-compensating method and apparatus of fiber gas sensor light path | |
CN116519596A (en) | Gas concentration detection device | |
JP2020115118A (en) | Laser type gas analyzer | |
CN115792136A (en) | Gas concentration detection method and device, terminal equipment and storage medium | |
CN115791699A (en) | Methane remote measuring alarm system and method based on vertical cavity surface emission and storage medium | |
CN115598659A (en) | Single photon methane concentration distribution detection radar | |
CN116223418B (en) | Universal laser gas online high-precision detection method, system and medium |
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 |