Gas concentration testing device based on infrared gas sensor

Through a gas concentration testing device based on infrared gas sensors, using infrared detection gas chambers and MCU control units combined with Lambert-Beer's law, the problem of poor stability of existing natural gas detection devices is solved, and low-cost gas concentration with high reliability and sensitivity is achieved. Detection, and the detection accuracy is improved through zero calibration.

CN221765260UActive Publication Date: 2024-09-24CHENGDU QIANJIA TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202323587563.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2024-09-24
Estimated Expiration
2033-12-27

AI Technical Summary

Technical Problem

Existing household natural gas detection devices have poor stability, short calibration cycles, easy poisoning and short service life, and cannot meet the needs of high reliability, high sensitivity and low cost.

Method used

Design a gas concentration testing device based on an infrared gas sensor. It uses an infrared detection gas chamber, an MCU control unit, an operational amplifier peripheral circuit and a temperature measurement peripheral circuit. The emitted light of the infrared detection gas chamber is calculated through the ratio of the reference channel and the measurement channel. Intensity, combined with Lambert-Beer's law to calculate gas concentration, and perform zero calibration to improve accuracy.

Benefits of technology

It achieves reliable and sensitive detection of gas concentration, simplifies the back-end processing circuit, improves the accuracy and stability of detection results, and avoids the error impact of temperature changes on measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221765260U
    Figure CN221765260U
Patent Text Reader

Abstract

The utility model relates to the technical field of physical testing, and discloses a gas concentration testing device based on an infrared gas sensor, which comprises an infrared detection gas chamber and an MCU (Microprogrammed Control Unit), the infrared detection gas chamber comprises a sending end, a gas chamber and a receiving end, when gas to be detected exists in the gas chamber, the input end of the sending end is connected with the output end of the MCU control unit, the receiving end comprises a reference channel and a measuring channel, the reference channel is connected with the input end of the MCU control unit, the reference channel sends reference voltage to the MCU control unit, and the measuring channel is connected with the MCU control unit. The measurement channel is connected with the input end of the MCU control unit, and the measurement channel sends measurement voltage to the MCU control unit; the MCU control unit calculates the emergent light intensity of the infrared detection gas chamber according to the ratio of the reference voltage to the measurement voltage, and then calculates the concentration of the gas to be detected according to the Lambert-Beer law. The sensor provided by the utility model has the advantages of high reliability, high sensitivity, low cost and high test accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of physical testing, in particular to a gas concentration testing device based on an infrared gas sensor. Background Art

[0002] As one of the energy sources for daily life, the safety of natural gas is closely related to life and property. Natural gas leakage may cause serious consequences such as harm to the environment and personal and property safety. Existing household natural gas detection devices mainly use catalytic combustion products. Although they are cheap, they have problems such as poor stability, short calibration cycle, easy poisoning, must work in an oxygen environment, and short service life. Therefore, a gas sensor with high reliability, high sensitivity and low cost is needed. Utility Model Content

[0003] The utility model aims to design a gas sensor with high reliability, high sensitivity and low cost, and to provide a gas concentration testing device based on an infrared gas sensor.

[0004] In order to achieve the above-mentioned utility model object, the utility model embodiment provides the following technical solutions:

[0005] A gas concentration test device based on an infrared gas sensor includes: an infrared detection gas chamber and an MCU control unit; the infrared detection gas chamber includes a transmitting end, a gas chamber, and a receiving end. When there is a gas to be tested in the gas chamber, the input end of the transmitting end is connected to the output end of the MCU control unit, and the receiving end includes a reference channel and a measurement channel. The reference channel is connected to the input end of the MCU control unit, and the reference channel sends a reference voltage to the MCU control unit. The measurement channel is connected to the input end of the MCU control unit, and the measurement channel sends a measurement voltage to the MCU control unit.

[0006] In the above scheme, the MCU control unit sends a high level to the transmitting end, causing the transmitting end to emit infrared light. After the gas in the gas chamber absorbs the infrared light, the reference channel sends a reference voltage to the MCU control unit, and the reference voltage is not affected by the gas in the gas chamber; the measurement channel sends a measurement voltage to the MCU control unit, and the measurement voltage is affected by the gas in the gas chamber; the MCU control unit calculates the intensity of the emitted light of the infrared detection gas chamber based on the ratio of the reference voltage and the measurement voltage, and then calculates the concentration of the gas to be measured based on the Lambert-Beer law.

[0007] Furthermore, it also includes an operational amplifier peripheral circuit; the input end of the operational amplifier peripheral circuit is respectively connected to the output end of the reference channel and the output end of the measurement channel, and the output end of the operational amplifier peripheral circuit is connected to the input end of the MCU control unit.

[0008] In the above scheme, the operational amplifier peripheral circuit is used to amplify the reference voltage output by the reference channel and the measurement voltage output by the measurement channel.

[0009] Furthermore, it also includes a reference circuit, which is connected to the input end of the operational amplifier peripheral circuit and is used to provide a reference voltage to the operational amplifier peripheral circuit.

[0010] In the above scheme, the operational amplifier peripheral circuit includes a first operational amplifier U1 and a second operational amplifier U2, and the reference circuit includes a third operational amplifier U3; the third operational amplifier U3 outputs a reference voltage such as 3.3V, and the output end of the third operational amplifier U3 is respectively connected to the reverse input end of the first operational amplifier U1 and the reverse input end of the second operational amplifier U2, the positive input end of the first operational amplifier U1 is connected to the reference channel, and the positive input end of the second operational amplifier U2 is connected to the measurement channel. After differential operation, U1 and U2 respectively output a reference voltage V_ACT and a measurement voltage V_REF to the MCU control unit; the MCU control unit calculates the output light intensity I=V_ACT / V_REF of the infrared detection chamber, and then calculates the concentration of the gas to be measured in the chamber according to the Lambert-Beer law.

[0011] Furthermore, it also includes a temperature measurement peripheral circuit, which includes a line connected between the reference circuit and the ADC3 port of the MCU control unit, and a line connected between the receiving end of the infrared detection chamber and the ADC0 port of the MCU control unit.

[0012] In the above scheme, the MCU control unit calculates the ambient temperature of the infrared detection chamber according to the voltage of the ADC0 port and the voltage of the ADC3 port:

[0013] T = α × (V_ADC0-V_ADC3)

[0014] Wherein, T is the ambient temperature of the infrared detection chamber; under the same environment, V_ADC0 is the voltage value received by the ADC0 port of the MCU control unit; V_ADC3 is the voltage value received by the ADC3 port of the MCU control unit; α is a known fixed coefficient.

[0015] Furthermore, the MCU control unit is also used to zero-calibrate the sensor before testing the gas to be tested, based on the outgoing light intensity obtained when the sensor is placed in air and a gas of the same type as the gas to be tested, to obtain the incident light intensity, absorption coefficient, optical path length, and ambient temperature in the air after zero calibration.

[0016] In the above scheme, before testing the gas to be tested (such as methane), the sensor is zero-calibrated:

[0017] First put the sensor into the air (0% VOL methane), according to Lambert Beer's law:

[0018]

[0019] Then put the sensor into methane (5% VOL methane), according to Lambert Beer's law:

[0020]

[0021] Among them, I LOW is the outgoing light intensity in the air environment, I CAL is the outgoing light intensity in the methane environment; I0 ​​is the incident light intensity, which is equal in the air environment and the methane environment; x LOW is the concentration of methane in the air environment, x CAL is the concentration of methane in the methane environment. LOW Equal to the ratio of the measured voltage V_ACT to the reference voltage V_REF in the air environment, I CAL It is equal to the ratio of the measured voltage V_ACT to the reference voltage V_REF in a methane environment. LOW ,I CAL It can be known from measurement that x LOW 、x CAL It is also known that, therefore, by combining equations (1) and (2), the values ​​of I0 and kl can be calculated (k, l are expressed as products). The I0 and kl obtained are the values ​​after the zero calibration operation, which are more accurate than the concentration value of the gas to be measured obtained without the above zero calibration operation. When the gas to be measured is formally tested, the I0 and kl after zero calibration are brought back to the Lambert-Beer law, and the concentration of the gas to be measured is calculated.

[0022] Furthermore, the MCU control unit obtains the ambient temperature of the sensor in the air when zeroing and calibrating the sensor before testing the gas to be tested.

[0023] In the above scheme, during the zero calibration, the temperature T is further obtained. LOW :

[0024] T LOW =α×(V_ADC0-V_ADC3)(3)

[0025] Among them, T LOWis the ambient temperature in air environment; in the same environment, V_ADC0 is the voltage value received by the ADC0 port of the MCU control unit; V_ADC3 is the voltage value received by the ADC3 port of the MCU control unit, and V_ADC3 is not affected by any environment; α is a known fixed coefficient. When formally testing the gas, the ambient temperature obtained during zero calibration is added to the Lambert-Beer law, and then the concentration of the gas to be tested is calculated.

[0026] Furthermore, it also includes an infrared lamp driving unit, and the MCU control unit sends a high level to the transmitting end of the infrared detection chamber through the infrared lamp driving unit.

[0027] In the above scheme, since the current output by the MCU control unit is relatively small, the infrared lamp driving unit provides sufficient driving current to the infrared lamp.

[0028] Compared with the prior art, the utility model has the following beneficial effects:

[0029] (1) The infrared detection chamber of the utility model uses the detection principle that the gas to be detected absorbs infrared light of a specific wavelength, and the infrared light is non-spectrographic infrared light. The structure and light source drive are simple. Since the light source is non-spectrographic, the output light power is large, and the back-end processing circuit is simple.

[0030] (2) The infrared detection chamber of the utility model has two channels, namely a reference channel and a measurement channel. The reference channel is not affected by the gas in the chamber and outputs a fixed reference voltage to the MCU control unit. The measurement voltage output by the measurement channel to the MCU control unit changes with the concentration of the gas to be measured in the chamber. The MCU control unit uses the ratio of the measurement voltage to the reference voltage as the intensity of the emitted light of the infrared detection chamber, and then calculates the concentration of the gas to be measured, instead of simply calculating the concentration of the gas to be measured directly based on the voltage output by the infrared detection chamber as in the traditional way. Compared with the traditional way, this scheme takes into account the basic voltage of the overall circuit when calculating the concentration of the gas to be measured, and the measurement result is more reliable.

[0031] (3) Before testing a gas to be tested, the utility model places the sensor in air and a gas of the same type and known concentration as the gas to be tested, respectively, based on the Lambert-Beer law, and performs zero calibration on the sensor to obtain the incident light intensity I0 after zero calibration, as well as the product of the absorption coefficient k and the optical path length l. The I0 and kl after zero calibration are brought back to the Lambert-Beer law, so that the concentration value of the gas to be tested calculated in this way is more accurate.

[0032] (4) Before testing a gas to be tested, the utility model obtains the ambient temperature of the infrared detection chamber when the sensor is placed in the air during zero calibration of the sensor. When the gas to be tested is formally tested, the ambient temperature of the infrared detection chamber is also obtained. The ambient temperature is used to compensate for the concentration value of the gas to be tested, thereby compensating for the error caused by temperature changes in sensor measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions of the embodiments of the utility model, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the utility model and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying creative work.

[0034] Figure 1 This is the sensor module block diagram of the utility model;

[0035] Figure 2 This is the schematic diagram of the sensor circuit of the utility model. DETAILED DESCRIPTION

[0036] The technical scheme in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is only a part of the embodiment of the utility model, rather than all the embodiments. The components of the embodiment of the utility model generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiment of the utility model provided in the drawings is not intended to limit the scope of the utility model claimed for protection, but merely represents the selected embodiment of the utility model. Based on the embodiment of the utility model, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the utility model.

[0037] It should be noted that similar numbers and letters represent similar items in the following figures, so once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. At the same time, in the description of the utility model, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance, or implying any such actual relationship or order between these entities or operations. In particular, the terms "connected", "connected", etc. can be directly connected between elements and devices, or indirectly connected via other elements and devices.

[0038] The utility model is realized by the following technical solutions: Figure 1As shown, a gas concentration test device based on an infrared gas sensor is proposed, including an infrared detection chamber, an MCU control unit, a temperature measurement peripheral circuit, an operational amplifier peripheral circuit, and a reference circuit. The infrared detection chamber includes a transmitting end, a chamber, and a receiving end. The transmitting end is an infrared lamp, and the receiving end is a two-channel implemented by two detectors, one channel is a reference channel, and the other channel is a measurement channel.

[0039] The infrared detection chamber uses the detection principle that the gas to be tested absorbs infrared light of a specific wavelength, and the infrared light is non-spectrographic infrared light. The structure and light source drive are simple. Since the light source is not spectrographic, the output light power is large, so the back-end processing circuit is simple.

[0040] The basic principle of this scheme is: the gas to be measured diffuses into the gas chamber, and the MCU control unit sends high and low levels to the infrared lamp to control the on and off of the infrared lamp. When the level is high, the infrared light emitted by the infrared lamp is absorbed by the gas to be measured in the gas chamber and reaches the receiving end. Among them, the reference channel outputs a reference voltage to the MCU control unit through the operational amplifier peripheral circuit, and the reference voltage is not affected by the gas to be measured; the measurement channel outputs a measurement voltage to the MCU control unit through the operational amplifier peripheral circuit, and the measurement voltage is affected by the gas to be measured. The MCU control unit calculates the output light intensity of the infrared detection chamber based on the reference voltage and the measurement voltage. The temperature measurement peripheral circuit is used to output the temperature measurement voltage to the MCU control unit according to the ambient temperature of the infrared detection chamber, and the MCU control unit calculates the ambient temperature of the infrared detection chamber based on the temperature measurement voltage. Finally, the MCU control unit obtains the concentration of the gas to be measured based on the output light intensity of the infrared detection chamber, and uses the ambient temperature to perform temperature compensation on the concentration of the gas to be measured.

[0041] Please continue to see Figure 1 The sensor also includes an infrared lamp driving unit, and the MCU control unit sends high and low levels to the infrared lamp through the infrared lamp driving unit. Since the driving current output by the MCU control unit is small, the infrared lamp driving unit is arranged between the MCU control unit and the infrared lamp to provide sufficient driving current to the infrared lamp so that the infrared lamp can receive a high level such as 5V.

[0042] In detail, Figure 2 As shown, the infrared lamp driving unit is a power chip U4, the GPIO port of the MCU control unit is connected to the EN pin of the power chip U4, and the GPIO port is used to output a high level or a low level to the power chip U4. The VOUT pin of the power chip U4 is connected to the infrared lamp, and is used to output a high level of 5V or a low level of 0V to the infrared lamp.

[0043] The receiving end of the infrared detection chamber adopts a thermopile sensor, which is composed of a large number of thermocouples connected in series and / or in parallel ( Figure 2 The receiving end includes a reference channel (such as Figure 2 A in), measurement channel (such as Figure 2 In B), the operational amplifier peripheral circuit includes a first operational amplifier U1 and a second operational amplifier U2, and the reference circuit includes a third operational amplifier U3. The reference channel is connected to the ADC1 port of the MCU control unit through the first operational amplifier U1, and the ADC1 port receives the reference voltage V_REF; the measurement channel is connected to the ADC2 port of the MCU control unit through the second operational amplifier U2, and the ADC2 port receives the measurement voltage V_ACT.

[0044] The positive input terminal of the first operational amplifier U1 is connected to the reference channel, and the reverse input terminal is connected to the output terminal of the third operational amplifier U3. Since the third operational amplifier U3 has a fixed output reference voltage of 3.3V, and the voltage output by the reference channel is not affected by the gas to be measured, the positive input terminal voltage and the reverse input terminal voltage of the first operational amplifier U1 are fixed, and the output terminal voltage of the first operational amplifier U1 is also fixed, that is, no matter whether there is gas to be measured in the gas chamber, and no matter what the concentration of the gas to be measured in the gas chamber is, the reference voltage V_REF received by the ADC1 port of the MCU control unit remains unchanged.

[0045] The positive input terminal of the second operational amplifier U2 is connected to the measurement channel, and the reverse input terminal is connected to the output terminal of the third operational amplifier U3. The third operational amplifier U3 has a fixed output reference voltage of 3.3V, but the voltage output by the measurement channel is affected by the concentration of the gas to be measured in the gas chamber. When there is a gas to be measured such as methane in the gas chamber, the measurement channel outputs a voltage to the positive input terminal of the second operational amplifier U2. After the differential operational amplifier, the measurement voltage V_ACT output by the second operational amplifier U2 is also affected by the concentration of the gas to be measured.

[0046] The MCU control unit uses the ratio of the measured voltage V_ACT to the reference voltage V_REF as the outgoing light intensity of the infrared detection chamber I = V_ACT / V_REF. Based on the Lambert-Beer law, I = I0e -klx , where I is the outgoing light intensity, I0 is the incident light intensity, k is the absorption coefficient, l is the optical path length (the distance from the transmitting end to the receiving end), and x is the concentration of the gas to be measured. The incident light intensity I0 is known from the voltage output by the power chip U4, and the outgoing light intensity I is known from the voltage signal received by the MCU control unit. If k and l are known, the concentration x of the gas to be measured can generally be calculated based on the Lambert-Beer law.

[0047] However, each sensor has certain errors when it leaves the factory, especially when measuring different types of gases. Before formally testing a gas, this solution places the sensor in air and a gas of known concentration, and performs zero calibration on the incident light intensity I0, absorption coefficient k, and optical path length l to improve the accuracy of the concentration detection of the gas to be tested.

[0048] For example, before testing a gas such as methane, the sensor is calibrated as follows:

[0049] First put the sensor into the air (0% VOL methane), according to Lambert Beer's law:

[0050]

[0051] Then put the sensor into methane (5% VOL methane), according to Lambert Beer's law:

[0052]

[0053] Among them, I LOW is the outgoing light intensity in the air environment, I CAL is the outgoing light intensity in the methane environment; I0 ​​is the incident light intensity, which is equal in the air environment and the methane environment; x LOW is the concentration of methane in the air environment, x CAL is the concentration of methane in the methane environment. LOW Equal to the ratio of the measured voltage V_ACT to the reference voltage V_REF in the air environment, I CAL It is equal to the ratio of the measured voltage V_ACT to the reference voltage V_REF in a methane environment. LOW ,I CAL It can be known from measurement that x LOW 、x CAL It is also known that, therefore, by combining equations (1) and (2), the values ​​of I0 and kl (k and l are expressed as products) can be calculated. The I0 and kl thus obtained are the values ​​after the zero calibration operation, which are more accurate than the measured gas concentration value obtained without the above zero calibration operation.

[0054] It is easy to understand that you can also put the sensor into methane first, and then put the sensor into the air. If the type of gas to be measured is carbon monoxide, put the sensor into air (0%VOL carbon monoxide) and carbon monoxide (10%VOL carbon monoxide) respectively, and then calculate I0 and kl after zero calibration, and you can customize the concentration of carbon monoxide.

[0055] See also Figure 2The temperature measurement peripheral circuit includes a line connected between the third operational amplifier U3 of the reference circuit and the ADC3 port of the MCU control unit, and a line connected between the receiving end of the infrared detection air chamber and the ADC0 port of the MCU control unit. The reference voltage 3.3V output by the third operational amplifier U3 is output to the ADC3 port of the MCU control unit and is not affected by the ambient temperature of the air chamber; the voltage received by the ADC1 port is affected by the ambient temperature of the air chamber.

[0056] During zero calibration, the temperature T LOW :

[0057] T LOW =α×(V_ADC0-V_ADC3)(3)

[0058] Among them, T LOW is the ambient temperature in air environment; in the same environment, V_ADC0 is the voltage value received by the ADC0 port of the MCU control unit; V_ADC3 is the voltage value received by the ADC3 port of the MCU control unit, and V_ADC3 is not affected by any environment; α is a known fixed coefficient.

[0059] When testing the gas to be tested, there is a corresponding ratio:

[0060]

[0061] Among them, FA is the absorption rate; I0 is the incident light intensity obtained after zero calibration; I is the output light intensity, I = V_ACT / V_REF, V_ACT is the measurement voltage received by the MCU control unit, and V_REF is the reference voltage received by the MCU control unit.

[0062] Combining the Lambert-Beer law and equation (4), we can get:

[0063] FA=1-e -klx (5)

[0064] After the zero calibration is completed, the methane can be tested in real time. When methane enters the gas chamber, the following equations (4) and (5) can be combined to obtain:

[0065]

[0066] Since this scheme sets up a temperature measurement peripheral circuit, this scheme takes temperature compensation into account when finally calculating the concentration x of the gas to be measured:

[0067]

[0068] In formula (6), T LOWis the ambient temperature measured in the air during zero calibration; T is the ambient temperature when measuring the gas to be measured, and the acquisition method is the same as T LOW The same, that is:

[0069] T = α × (V_ADC0-V_ADC3) (7)

[0070] In formula (7), T is the ambient temperature when measuring the gas to be measured, α is a known fixed coefficient, V_ADC0 is the voltage value received by the ADC0 port of the MCU control unit when measuring the gas to be measured; V_ADC3 is the voltage value received by the ADC3 port of the MCU control unit when measuring the gas to be measured.

[0071] It can be seen that this solution further adds the ambient temperature when measuring the concentration of the gas to be measured in equation (6), compensating for the influence of the ambient temperature on the measurement and making the measurement result more accurate.

[0072] The above is only a specific implementation of the utility model, but the protection scope of the utility model is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the utility model, which should be included in the protection scope of the utility model. Therefore, the protection scope of the utility model should be based on the protection scope of the claims.

Claims

1. Gas concentration test device based on infrared gas sensor, Features: include: Infrared detection chamber, MCU control unit; The infrared detection gas chamber includes a transmitting end, a gas chamber, and a receiving end. When there is a gas to be detected in the gas chamber, the input end of the transmitting end is connected to the output end of the MCU control unit. The receiving end includes a reference channel and a measurement channel. The reference channel is connected to the input end of the MCU control unit, and the reference channel sends a reference voltage to the MCU control unit. The measurement channel is connected to the input end of the MCU control unit, and the measurement channel sends a measurement voltage to the MCU control unit.

2. The gas concentration testing device based on infrared gas sensor according to claim 1, Features: It also includes an operational amplifier peripheral circuit; the input end of the operational amplifier peripheral circuit is respectively connected to the output end of the reference channel and the output end of the measurement channel, and the output end of the operational amplifier peripheral circuit is connected to the input end of the MCU control unit.

3. The gas concentration testing device based on infrared gas sensor according to claim 2, Features: It also includes a reference circuit, which is connected to the input end of the operational amplifier peripheral circuit and is used to provide a reference voltage to the operational amplifier peripheral circuit.

4. The gas concentration testing device based on infrared gas sensor according to claim 3, Features: It also includes a temperature measurement peripheral circuit, which includes a line connected between the reference circuit and the ADC3 port of the MCU control unit, and a line connected between the receiving end of the infrared detection chamber and the ADC0 port of the MCU control unit.

5. The gas concentration testing device based on infrared gas sensor according to claim 3, Features: The MCU control unit is also used to zero-calibrate the sensor before testing the gas to be tested according to the outgoing light intensity obtained when the sensor is placed in air and gas of the same type as the gas to be tested, so as to obtain the incident light intensity, absorption coefficient, optical path length and ambient temperature in the air after zero-calibration.

6. The gas concentration testing device based on infrared gas sensor according to claim 1, Features: It also includes an infrared lamp driving unit, and the MCU control unit sends a high level to the transmitting end of the infrared detection air chamber through the infrared lamp driving unit.

Citation Information

Cited By

  • Interference-free fire-fighting monitoring device and method for sodium-ion battery energy storage system

    CN119964347A