Gas concentration detection method and device, electronic equipment and storage medium

By emitting infrared light of different wavelengths in the gas sensor and combining temperature and pressure parameters, the problem that traditional gas detection methods are difficult to identify multi-component gases is solved, high-precision gas component identification and concentration detection are achieved, and the risk of safety accidents is reduced.

CN120761321APending Publication Date: 2025-10-10SIGAS MEASUREMENT ENG CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202511067515.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-31
Publication Date
2025-10-10

AI Technical Summary

Technical Problem

Traditional gas detection methods are unable to meet the needs of accurate identification and concentration detection of multi-component mixed gases, especially the frequent safety accidents caused by improper handling of fumigant residual gas during ship transportation and unloading.

Method used

By controlling the gas sensor to emit infrared light of different wavelengths through the sample chamber, combining the incident light intensity, transmitted light intensity and preset infrared absorption spectrum, combined with the sample chamber temperature and pressure parameters, the gas component type and concentration are determined, and narrow-band filters and mapping relationships are used to accurately identify and calculate the gas components.

Benefits of technology

It improves the accuracy and reliability of gas detection, adapts to detection needs in different environments, reduces the risk of safety accidents, and realizes precise control and risk warning of harmful gases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120761321A_ABST
    Figure CN120761321A_ABST
Patent Text Reader

Abstract

The invention relates to a gas concentration detection method and device, electronic equipment and a storage medium. The method comprises the following steps: controlling a gas sensor to emit infrared light to penetrate through a sample chamber containing target gas to be detected, and obtaining incident light intensity and transmission light intensity of the infrared light, a preset infrared absorption spectrum, and temperature and pressure in the sample chamber; according to the incident light intensity and the transmitted light intensity of the infrared light under different wavelengths, and in combination with an infrared absorption spectrum, determining gas types of components contained in the target gas; and determining the gas concentration of each component in the target gas according to the incident light intensity, the transmission light intensity, the temperature and the pressure of the infrared light under different wavelengths. Thus, due to introduction of temperature and pressure parameters, the influence of environmental factors on gas concentration calculation can be corrected, the accuracy of a detection result is greatly improved, and it is ensured that quantitative analysis of the gas concentration is more reliable; the gas detection requirements in different environments can be met, and the safety accident risk caused by improper residue treatment is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of sensing detection, in particular to a gas concentration detection method and device, electronic equipment and storage medium. BACKGROUND

[0002] In recent years, with the rapid development of social economy and heavy industry, various toxic and harmful gases and flammable and explosive gases are also produced and spread invisibly. For example, during the shipping and unloading process, safety accidents caused by improper treatment of fumigant residual gas are common. This not only may cause imported food to be contaminated by fumigant residues, endangering the quality and safety of food, but also directly threatens the health of on-site workers. Therefore, it is of great industrial significance to accurately identify the type and concentration of these harmful gases.

[0003] Traditional gas detection methods mainly include electrochemical detection, catalytic combustion detection and gas chromatography detection, etc., but these methods all have limitations and are difficult to meet the detection needs of multi-component mixed gas. Therefore, how to accurately and effectively identify the gas type and gas concentration contained in the target gas is a problem to be solved. SUMMARY

[0004] Therefore, it is necessary to provide a gas concentration detection method, device, electronic equipment and storage medium to solve the above technical problems.

[0005] In a first aspect, the present application provides a gas concentration detection method, the method comprising: controlling a gas sensor to emit infrared light through a sample chamber containing a target gas to be detected, and obtaining incident light intensity, transmitted light intensity, a preset infrared absorption spectrum, temperature and pressure in the sample chamber of the infrared light; determining the gas type of components contained in the target gas according to the incident light intensity and the transmitted light intensity of the infrared light under different wavelengths, in combination with the infrared absorption spectrum; determining the gas concentration of each component in the target gas according to the incident light intensity, the transmitted light intensity, the temperature and the pressure of the infrared light under different wavelengths.

[0006] In one embodiment, the determination of the gas type of components contained in the target gas according to the incident light intensity and the transmitted light intensity of the infrared light under different wavelengths, in combination with the infrared absorption spectrum, comprises: determining a first light intensity attenuation according to the difference between the incident light intensity and the transmitted light intensity of the infrared light of a specific wavelength in each detection process; When the first light intensity attenuation is greater than a reference threshold, the target gas is determined to contain a detection gas of a gas type corresponding to the first light intensity attenuation in combination with the infrared absorption spectrum.

[0007] In one embodiment, the sample chamber is provided with a plurality of detection channels; each detection channel is equipped with a narrowband filter corresponding to a characteristic absorption wavelength of a different gas; the method of determining the type of gas components contained in the target gas based on the incident light intensity and the transmitted light intensity of the infrared light at different wavelengths, combined with the infrared absorption spectrum, includes: determining the second light intensity attenuation corresponding to each detection channel based on the difference between the incident light intensity and the transmitted light intensity of the infrared light at different wavelengths corresponding to each detection channel; When the second light intensity attenuation is greater than a reference threshold, the second light intensity attenuation is matched with the infrared absorption spectrum to determine that the target gas contains a detection gas of a gas type corresponding to the second light intensity attenuation.

[0008] In one embodiment, determining the gas concentration of each component in the target gas according to the incident light intensity, the transmitted light intensity, the temperature, and the pressure of the infrared light at different wavelengths includes: Establishing a mapping relationship between the incident light intensity, the transmitted light intensity, the temperature and the pressure and the gas concentration; The gas concentration corresponding to the detection gas is determined according to the mapping relationship and the incident light intensity, the transmitted light intensity, the temperature, and the pressure of the infrared light corresponding to the detection gas.

[0009] In one embodiment, the expression of the mapping relationship is as follows: Among them, I0 indicates the incident light intensity; I(c) indicates the transmitted light intensity; α indicates the absorption coefficient; c indicates the gas concentration; L indicates the measurement optical path length; T0 indicates the initial temperature before the infrared light passes through the sample chamber; p0 indicates the initial pressure before the infrared light passes through the sample chamber; T indicates the target temperature after the infrared light passes through the sample chamber; p indicates the target pressure after the infrared light passes through the sample chamber.

[0010] In one embodiment, the gas sensor includes an infrared light source, the sample chamber, a wavelength filter and an infrared detector; wherein the infrared light source is used to emit the infrared light; the wavelength filter is used to separate the optical signal corresponding to the infrared light of the required wavelength; and the infrared detector is used to convert the optical signal corresponding to the infrared light into an electrical signal.

[0011] In one embodiment, the method further comprises: When the gas type includes at least one of sulfuryl fluoride, methyl bromide, methyl bromide and ethylene oxide, outputting a prompt message; wherein the prompt message is used to remind the user that harmful gas exists in the target gas; When the gas concentration corresponding to the harmful gas is greater than a standard threshold, an early warning message is output; wherein, the early warning message is used to warn that the harmful gas in the target gas exceeds the standard.

[0012] In a second aspect, the present application further provides a gas concentration detection device, the device comprising: an acquisition module, configured to control the gas sensor to emit infrared light through a sample chamber containing a target gas to be detected, and acquire the incident light intensity, transmitted light intensity, a preset infrared absorption spectrum, and the temperature and pressure in the sample chamber of the infrared light; a first determining module, configured to determine the type of gas containing components in the target gas based on the incident light intensity and the transmitted light intensity of the infrared light at different wavelengths in combination with the infrared absorption spectrum; The second determination module is configured to determine the gas concentration of each component in the target gas according to the incident light intensity, the transmitted light intensity, the temperature, and the pressure of the infrared light at different wavelengths.

[0013] In a third aspect, the present application also provides an electronic device comprising a processor and a memory for storing a computer program for the processor; wherein the processor is configured to: when executing the computer program, implement the steps of the method execution described in any embodiment of the present application.

[0014] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method execution described in any embodiment of the present application.

[0015] In the above-mentioned gas concentration detection method, the gas sensor is controlled to emit infrared light of different wavelengths through the sample chamber, and the type of gas component is determined by combining the incident light intensity, the transmitted light intensity and the preset infrared absorption spectrum, and then the sample chamber temperature and pressure parameters are integrated to calculate the concentration of each component. The application of infrared light of different wavelengths can cover the characteristic absorption peaks of different gases (such as fumigant gas), reducing the interference of single wavelength detection; and the introduction of temperature and pressure parameters can correct the influence of environmental factors on the calculation of gas concentration, greatly improving the accuracy of the test results, and ensuring that the quantitative analysis of gas concentration is more reliable. In addition, through standardized parameter acquisition and calculation logic, it can adapt to the gas detection needs in different environments, ensure the timeliness of detection, and effectively reduce the risk of safety accidents caused by improper residue handling. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a schematic diagram of a fumigation gas detection device according to an exemplary embodiment; Figure 2 is a flow chart of a gas concentration detection method according to an exemplary embodiment; Figure 3 is a schematic structural diagram of a gas sensor according to an exemplary embodiment; Figure 4 is a structural block diagram of a gas concentration detection device according to an exemplary embodiment; Figure 5 It is a diagram showing the internal structure of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0018] The terms "first", "second" and "third" in the embodiments of the present application are only used for descriptive purposes and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second" and "third" may explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, method, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally also include steps or units that are not listed, or may optionally also include other steps or units inherent to these processes, methods, products or devices.

[0019] References to "embodiments" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0020] In some embodiments, the gas concentration detection method provided in the embodiments of the present application can be applied in an electronic device or a cloud server. The electronic device can be any mobile terminal or fixed terminal. The terminal can be a device that provides voice and / or data connectivity for a user. Exemplarily, the terminal can be an Internet of Things terminal, such as a sensor device, a mobile phone or a “cellular” phone, and a computer with an Internet of Things terminal, for example, can be a fixed, portable, pocket-sized, handheld, computer-built-in device, and specifically can be a fumigation gas detection device, such as Figure 1 as shown, Figure 1 a schematic diagram of a fumigation gas detection device. The cloud server can be any virtualized computing resource or physical server cluster. The server can be a platform that provides on-demand, scalable computing, storage, network and application services for users.

[0021] In the embodiments of the present application, the fumigation gas detection device can integrate a gas sensor for detecting the residual concentration of fumigation gas and outputting the detection result through a communication interface. The fumigation gas detection device can further include at least one of, but not limited to, a calibration function, an automatic sampling function, a purification function, an early warning function, a transmission function and a self-checking function. The calibration function can include zero-point calibration, multi-point calibration and range calibration. The purification function indicates purging and cleaning the internal gas circuit of the device after the end of gas concentration detection to reduce pollution caused by harmful gas residues. The automatic sampling function indicates that the target gas is effectively automatically sampled through the cooperation of the sampling gas pump and the sampling pipe valve. The early warning function indicates that an overrun value alarm is performed when the gas concentration of the harmful gas is greater than the standard threshold value. The self-checking function indicates self-diagnosis during the startup and / or operation of the fumigation gas detection device.

[0022] In some embodiments, as shown in Figure 2 a gas concentration detection method is provided, which includes the following steps: S101, controlling a gas sensor to emit infrared light through a sample chamber containing a target gas to be detected, and acquiring incident light intensity, transmitted light intensity, a preset infrared absorption spectrum, temperature and pressure in the sample chamber of the infrared light.

[0023] In the embodiments of the present application, the gas sensor is used for detecting the gas concentration, and specifically for detecting the gas that can absorb infrared light.

[0024] Exemplarily, the gas sensor can be a FlowEVO plus sensor. The gas sensor can integrate infrared spectroscopy technology and NDIR (Non-Dispersive Infrared) technology.

[0025] In some embodiments, the gas sensor includes an infrared light source, the sample chamber, a wavelength filter and an infrared detector; wherein the infrared light source is used to emit the infrared light; the wavelength filter is used to separate the optical signal corresponding to the infrared light of the required wavelength; and the infrared detector is used to convert the optical signal corresponding to the infrared light into an electrical signal.

[0026] In one embodiment, Figure 3 As shown, Figure 3 The gas sensor may further include an amplifier, which is used to amplify the electrical signal output by the infrared detector.

[0027] In the embodiment of the present application, the incident light intensity indicates the intensity value when the infrared light does not pass through the sample chamber or there is no target gas in the sample chamber.

[0028] In the embodiment of the present application, the transmitted light intensity indicates the intensity value when the infrared light passes through the sample chamber and the target gas exists in the sample chamber.

[0029] In the embodiment of the present application, the infrared absorption spectrum may be an infrared spectrum graph / curve graph that characterizes the absorption characteristics of different substances (such as different types of gases) to infrared light.

[0030] In one embodiment, different types of gases are composed of different types of molecules, each of which has a specific vibration mode that interacts with infrared light of a specific frequency. When a molecule absorbs an infrared photon that matches its vibration mode, an energy transition occurs, resulting in an absorption peak at a specific wavelength or frequency. An infrared absorption spectrum can be established based on each absorption peak.

[0031] S102 , determining the type of gas components in the target gas according to the incident light intensity and the transmitted light intensity of the infrared light at different wavelengths in combination with the infrared absorption spectrum.

[0032] In some embodiments, different gases have unique infrared absorption spectra, with each gas having a specific absorption wavelength. For example, carbon dioxide has a strong absorption peak near 4.26 μm in the mid-infrared region; carbon monoxide has an absorption peak near 4.65 μm; and methane has absorption peaks at bands such as 3.3 μm and 7.7 μm. When infrared light passes through the sample chamber, specific wavelengths of infrared light are absorbed by the corresponding gas, causing the light intensity to change. Based on the incident light intensity and the transmitted light intensity, it can be determined whether the light intensity has changed. Based on the wavelength of the infrared light that causes the change in light intensity, the corresponding gas type can be determined.

[0033] S103 , determining the gas concentration of each component in the target gas according to the incident light intensity of the infrared light at different wavelengths, the transmitted light intensity, the temperature, and the pressure.

[0034] In one embodiment, according to the Lambert-Beer law, when infrared light passes through a sample chamber containing a target gas to be detected, the target gas absorbs infrared light of a specific wavelength, causing the light intensity to change, and the absorbance of the target gas is proportional to its concentration; the gas concentration can be determined based on the mathematical relationship between the incident light intensity and the transmitted light intensity and the Lambert-Beer law.

[0035] In the above-mentioned gas concentration detection method, the gas sensor is controlled to emit infrared light of different wavelengths through the sample chamber, and the type of gas component is determined by combining the incident light intensity, the transmitted light intensity and the preset infrared absorption spectrum, and then the sample chamber temperature and pressure parameters are integrated to calculate the concentration of each component. The application of infrared light of different wavelengths can cover the characteristic absorption peaks of different gases (such as fumigant gas), reducing the interference of single wavelength detection; and the introduction of temperature and pressure parameters can correct the influence of environmental factors on the calculation of gas concentration, greatly improving the accuracy of the test results, and ensuring that the quantitative analysis of gas concentration is more reliable. In addition, through standardized parameter acquisition and calculation logic, it can adapt to the gas detection needs in different environments, ensure the timeliness of detection, and effectively reduce the risk of safety accidents caused by improper residue handling.

[0036] In some embodiments, determining the type of gas containing components in the target gas based on the incident light intensity and the transmitted light intensity of the infrared light at different wavelengths in combination with the infrared absorption spectrum includes: determining a first light intensity attenuation according to a difference between the incident light intensity and the transmitted light intensity of the infrared light of a specific wavelength during each detection process; When the first light intensity attenuation is greater than a reference threshold, the target gas is determined to contain a detection gas of a gas type corresponding to the first light intensity attenuation in combination with the infrared absorption spectrum.

[0037] In one embodiment, an infrared light source (e.g., a quantum cascade laser) can emit infrared light of a specific wavelength; an electronic device, such as a fumigation gas detection device, can sequentially control the infrared light source to emit infrared light of a specific wavelength through a sample chamber; for example, infrared light of a first wavelength is emitted during a first detection process, and infrared light of a second wavelength is emitted during a second detection process; a first light intensity attenuation is determined based on the incident light intensity and the transmitted light intensity of the infrared light of the specific wavelength during each detection process; when the first light intensity attenuation is greater than a reference threshold, it can be considered that the target gas absorbs the infrared light of the wavelength, resulting in a change in light intensity, and it can be determined that the target gas contains a detection gas of a gas type corresponding to the first light intensity attenuation.

[0038] In the embodiments of the present application, the absorption of different gases to infrared light has fingerprint characteristics (a specific wavelength corresponds to a specific gas), and by comparing the light intensity attenuation of a specific wavelength with a reference threshold, the type of gas can be accurately matched, without complex fitting of full spectrum data, reducing the dependence on hardware examples, and realizing fast response.

[0039] In some embodiments, the sample chamber is provided with a plurality of detection channels; each detection channel is equipped with a narrow-band optical filter corresponding to different gas characteristic absorption wavelengths; and the gas type of each component contained in the target gas is determined according to the incident light intensity and the transmitted light intensity of the infrared light at different wavelengths, combined with the infrared absorption spectrum, including: According to the difference between the incident light intensity and the transmitted light intensity of the infrared light at different wavelengths corresponding to each detection channel, a second light intensity attenuation of each detection channel is determined. In the case where the second light intensity attenuation is greater than a reference threshold, the second light intensity attenuation is matched with the infrared absorption spectrum to determine a detection gas containing a gas type corresponding to the second light intensity attenuation in the target gas.

[0040] In the embodiments of the present application, the narrow-band optical filter is an optical filter device that only allows light within a specific wavelength range to pass through, while greatly attenuating or blocking light of other wavelengths.

[0041] In one embodiment, a plurality of narrow-band optical filters are used to separate the infrared light beam into infrared light of different wavelengths; each detection channel corresponds to infrared light of different wavelengths, and the second light intensity attenuation of each detection channel can be calculated synchronously; and the gas type is identified according to the second light intensity attenuation and the corresponding wavelength, realizing synchronous detection of multi-component gas.

[0042] In the embodiments of the present application, the target gas can be synchronously detected for multiple potential components, realizing parallel detection of multi-component gas and improving detection efficiency; the second light intensity attenuation represents the absorption contribution of the corresponding type of gas, reducing the cross-sensitivity between different gases and improving the reliability of identification and classification.

[0043] In some embodiments, the gas concentration of each component in the target gas is determined according to the incident light intensity, the transmitted light intensity, the temperature and the pressure of the infrared light at different wavelengths, including: A mapping relationship between the incident light intensity, the transmitted light intensity, the temperature and the pressure and the gas concentration is established; According to the mapping relationship and the incident light intensity, the transmitted light intensity, the temperature and the pressure of the infrared light corresponding to the detection gas, the gas concentration corresponding to the detection gas is determined.

[0044] In some embodiments, the expression of the mapping relationship is as follows: Among them, I0 indicates the incident light intensity; I(c) indicates the transmitted light intensity; α indicates the absorption coefficient; c indicates the gas concentration; L indicates the measurement optical path length; T0 indicates the initial temperature before the infrared light passes through the sample chamber; p0 indicates the initial pressure before the infrared light passes through the sample chamber; T indicates the target temperature after the infrared light passes through the sample chamber; p indicates the target pressure after the infrared light passes through the sample chamber.

[0045] Exemplarily, the electronic device determines that the target gas includes three detection gases; respectively obtains the incident light intensity, transmitted light intensity, measurement optical path length, initial temperature / pressure before the infrared light passes through the sample chamber, and target temperature / pressure after passing through of the three detection gases, and calculates the gas concentration corresponding to each type of detection gas based on the mapping relationship.

[0046] In traditional gas detection technology, the absorption capacity of gas is related to molecular density, and temperature and pressure will significantly change molecular density. If the influence of temperature and pressure is ignored and the gas concentration is calculated directly based on the incident light intensity and transmitted light intensity, significant errors will occur. For example, in a high temperature environment, the density of gas molecules decreases. Even if the actual concentration remains unchanged, the light intensity attenuation will also become weaker, which can easily be misjudged as "low concentration".

[0047] In contrast, in the embodiment of the present application, by establishing a mapping relationship by combining the incident light intensity, transmitted light intensity, temperature, and pressure to determine the gas concentration, the impact of changes in molecular density on absorption can be accurately compensated, which can reduce the interference of environmental factors on the gas state, thereby adapting to the detection needs of different environments / application scenarios and improving the accuracy and universality of concentration calculations.

[0048] In some embodiments, the method further comprises: When the gas type includes at least one of sulfuryl fluoride, methyl bromide, methyl bromide and ethylene oxide, outputting a prompt message; wherein the prompt message is used to remind the user that harmful gas exists in the target gas; When the gas concentration corresponding to the harmful gas is greater than a standard threshold, an early warning message is output; wherein, the early warning message is used to warn that the harmful gas in the target gas exceeds the standard.

[0049] In some embodiments, the fumigation gas detection device includes a voice component, a motor component, a display screen, and / or a buzzer component; and outputting a warning message when the gas concentration corresponding to the harmful gas is greater than a standard threshold value includes at least one of the following: The first method is to output the warning information on the display screen; The second method is to output the warning information based on the voice of the voice component; The third method is to output the warning information based on the buzzing of the buzzer component; Fourth method: outputting the warning information based on the vibration of the motor assembly; The fifth method is to send the warning information to a third-party terminal; the warning information is used for display on the third-party terminal.

[0050] In the application scenario of fumigation, improper handling of fumigant residues is prone to occur. Sulfuryl fluoride (fumigant, highly toxic), methyl bromide (a banned highly toxic fumigant with serious residual hazards), and ethylene oxide (a carcinogenic and teratogenic gas) are all substances that are significantly harmful to humans and the environment.

[0051] In an embodiment of the present application, by first identifying the gas type and then outputting a prompt message, the user can be immediately reminded that "potentially harmful components exist in the environment" when the presence of these gases is detected. Regardless of the concentration, basic protective actions (such as ventilation and wearing protective equipment) can be triggered to avoid passive exposure due to the "presence of unknown harmful gases"; graded prompts and warnings are set for harmful gases such as sulfuryl fluoride, methyl bromide, and ethylene oxide. When the concentration of harmful gases exceeds the standard, an emergency response (such as shutting down equipment, evacuating personnel, and starting the emergency treatment system) can be triggered to prevent accidents such as acute poisoning and explosions (some gases are also flammable), thereby achieving precise control of harmful gases and pre-risk intervention.

[0052] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0053] Based on the same inventive concept, embodiments of the present application also provide a gas concentration detection device for implementing the aforementioned gas concentration detection method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more gas concentration detection device embodiments provided below can be found in the above-described limitations of the gas concentration detection method and are not further elaborated here.

[0054] In one embodiment, Figure 4 As shown, a gas concentration detection device is provided, the device comprising: An acquisition module 10 is configured to control the gas sensor to emit infrared light through a sample chamber containing a target gas to be detected, and obtain the incident light intensity, transmitted light intensity, a preset infrared absorption spectrum, and the temperature and pressure within the sample chamber of the infrared light; a first determination module 20 is configured to determine the type of gas components contained in the target gas based on the incident light intensity and the transmitted light intensity of the infrared light at different wavelengths, combined with the infrared absorption spectrum; The second determining module 30 is configured to determine the gas concentration of each component in the target gas according to the incident light intensity of the infrared light at different wavelengths, the transmitted light intensity, the temperature, and the pressure.

[0055] In one embodiment, the first determining module 20 is configured to perform the following steps: determining a first light intensity attenuation according to a difference between the incident light intensity and the transmitted light intensity of the infrared light of a specific wavelength during each detection process; When the first light intensity attenuation is greater than a reference threshold, the target gas is determined to contain a detection gas of a gas type corresponding to the first light intensity attenuation in combination with the infrared absorption spectrum.

[0056] In one embodiment, the sample chamber is provided with a plurality of detection channels; each detection channel is equipped with a narrowband filter corresponding to a characteristic absorption wavelength of a different gas; the first determination module 20 is configured to perform the following steps: Determining the second light intensity attenuation corresponding to each detection channel according to the difference between the incident light intensity and the transmitted light intensity of the infrared light of different wavelengths corresponding to each detection channel; When the second light intensity attenuation is greater than a reference threshold, the second light intensity attenuation is matched with the infrared absorption spectrum to determine that the target gas contains a detection gas of a gas type corresponding to the second light intensity attenuation.

[0057] In one embodiment, the second determining module 30 is configured to perform the following steps: Establishing a mapping relationship between the incident light intensity, the transmitted light intensity, the temperature and the pressure and the gas concentration; The gas concentration corresponding to the detection gas is determined according to the mapping relationship and the incident light intensity, the transmitted light intensity, the temperature, and the pressure of the infrared light corresponding to the detection gas.

[0058] In one embodiment, the expression of the mapping relationship is as follows: wherein I0 indicates the incident light intensity; I(c) indicates the transmitted light intensity; a indicates the absorption coefficient; c indicates the gas concentration; L indicates the measured optical path length; T0 indicates the initial temperature before the infrared light passes through the sample chamber; p0 indicates the initial pressure before the infrared light passes through the sample chamber; T indicates the target temperature after the infrared light passes through the sample chamber; and p indicates the target pressure after the infrared light passes through the sample chamber.

[0059] In one embodiment, the gas sensor comprises an infrared light source, the sample chamber, a wavelength filter, and an infrared detector; wherein the infrared light source is configured to emit the infrared light; the wavelength filter is configured to separate the light signal corresponding to the required wavelength infrared light; and the infrared detector is configured to convert the light signal corresponding to the infrared light into an electrical signal.

[0060] In one embodiment, the device further comprises: The output module is configured to output prompt information in a case where the gas type comprises at least one of sulfuryl fluoride, bromomethane, bromomethane, and ethylene oxide; wherein the prompt information is used to remind that there is a harmful gas in the target gas. The output module is configured to output early warning information in a case where the gas concentration corresponding to the harmful gas is greater than a standard threshold; wherein the early warning information is used to warn that the harmful gas in the target gas is over standard.

[0061] The above-mentioned various modules in the gas concentration detection device can be all or partially realized by software, hardware, and combinations thereof. The above-mentioned various modules can be embedded in or independent of the processor of the electronic device in hardware form, or can be stored in the memory of the electronic device in software form, so as to be called and executed by the processor to perform the operations corresponding to the above-mentioned various modules.

[0062] In one embodiment, an electronic device is provided, and the internal structure diagram thereof can be as shown in Figure 5As shown. The electronic device includes a processor, a memory, a communication interface, a display unit and an input device connected via a method bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating method and a computer program. The internal memory provides an environment for the operation of the operating method and the computer program in the non-volatile storage medium. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an image processing method is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad provided on the electronic device housing, or an external keyboard, touchpad or mouse.

[0063] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0064] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0065] In one embodiment, a computer program product is provided, comprising a computer program, which implements the steps performed by a processor of an electronic device when the computer program is executed by a processor.

[0066] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0067] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0068] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.

[0069] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A gas concentration detection method, characterized in that: The method comprises: Controlling the gas sensor to emit infrared light through a sample chamber containing a target gas to be detected, and obtaining incident light intensity, transmitted light intensity, a preset infrared absorption spectrum, and the temperature and pressure in the sample chamber of the infrared light; determining the type of gas components in the target gas based on the incident light intensity and the transmitted light intensity of the infrared light at different wavelengths in combination with the infrared absorption spectrum; The gas concentration of each component in the target gas is determined according to the incident light intensity, the transmitted light intensity, the temperature, and the pressure of the infrared light at different wavelengths.

2. The method according to claim 1, characterized in that The determining the type of gas containing components in the target gas according to the incident light intensity and the transmitted light intensity of the infrared light at different wavelengths in combination with the infrared absorption spectrum includes: determining a first light intensity attenuation according to a difference between the incident light intensity and the transmitted light intensity of the infrared light of a specific wavelength during each detection process; When the first light intensity attenuation is greater than a reference threshold, the target gas is determined to contain a detection gas of a gas type corresponding to the first light intensity attenuation in combination with the infrared absorption spectrum.

3. The method according to claim 1, characterized in that The sample chamber is provided with a plurality of detection channels; each detection channel is equipped with a narrowband filter corresponding to a characteristic absorption wavelength of a different gas; the type of gas contained in the target gas is determined based on the incident light intensity and the transmitted light intensity of the infrared light at different wavelengths, combined with the infrared absorption spectrum, including: Determining the second light intensity attenuation corresponding to each detection channel according to the difference between the incident light intensity and the transmitted light intensity of the infrared light of different wavelengths corresponding to each detection channel; When the second light intensity attenuation is greater than a reference threshold, the second light intensity attenuation is matched with the infrared absorption spectrum to determine that the target gas contains a detection gas of a gas type corresponding to the second light intensity attenuation.

4. The method according to any one of claims 2 or 3, characterized in that The determining the gas concentration of each component in the target gas according to the incident light intensity, the transmitted light intensity, the temperature, and the pressure of the infrared light at different wavelengths includes: Establishing a mapping relationship between the incident light intensity, the transmitted light intensity, the temperature and the pressure and the gas concentration; The gas concentration corresponding to the detection gas is determined according to the mapping relationship and the incident light intensity, the transmitted light intensity, the temperature, and the pressure of the infrared light corresponding to the detection gas.

5. The method according to claim 4, characterized in that The expression of the mapping relationship is as follows: Among them, I0 indicates the incident light intensity; I(c) indicates the transmitted light intensity; α indicates the absorption coefficient; c indicates the gas concentration; L indicates the measurement optical path length; T0 indicates the initial temperature before the infrared light passes through the sample chamber; p0 indicates the initial pressure before the infrared light passes through the sample chamber; T indicates the target temperature after the infrared light passes through the sample chamber; p indicates the target pressure after the infrared light passes through the sample chamber.

6. The method according to claim 1, characterized in that The gas sensor includes an infrared light source, a sample chamber, a wavelength filter and an infrared detector; wherein the infrared light source is used to emit the infrared light; the wavelength filter is used to separate the optical signal corresponding to the infrared light of the required wavelength; and the infrared detector is used to convert the optical signal corresponding to the infrared light into an electrical signal.

7. The method according to claim 1, characterized in that The method further comprises: When the gas type includes at least one of sulfuryl fluoride, methyl bromide, methyl bromide and ethylene oxide, outputting a prompt message; wherein the prompt message is used to remind the user that harmful gas exists in the target gas; When the gas concentration corresponding to the harmful gas is greater than a standard threshold, an early warning message is output; wherein, the early warning message is used to warn that the harmful gas in the target gas exceeds the standard.

8. A gas concentration detection device, characterized in that: The device comprises: an acquisition module, configured to control the gas sensor to emit infrared light through a sample chamber containing a target gas to be detected, and acquire the incident light intensity, transmitted light intensity, a preset infrared absorption spectrum, and the temperature and pressure in the sample chamber of the infrared light; a first determining module, configured to determine the type of gas containing components in the target gas based on the incident light intensity and the transmitted light intensity of the infrared light at different wavelengths in combination with the infrared absorption spectrum; The second determination module is configured to determine the gas concentration of each component in the target gas according to the incident light intensity, the transmitted light intensity, the temperature, and the pressure of the infrared light at different wavelengths.

9. An electronic device, characterized in that: The method comprises a processor and a memory for storing a computer program for the processor; wherein the processor is configured to: implement the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and apparatus for monitoring intelligent infrared multi-component harmful gas

    CN101281125A

  • Method for analyzing exhaust gas and apparatus for analyzing exhaust gas

    CN101331391A

  • Transformer fault gas spectrum detection device and method

    CN114486793A

  • Gas concentration measuring instrument

    JP2011021996A