CN116448942A - Gas concentration detection method, electronic device, and computer-readable storage medium - Google Patents

Gas concentration detection method, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN116448942A
CN116448942A CN202211598935.5A CN202211598935A CN116448942A CN 116448942 A CN116448942 A CN 116448942A CN 202211598935 A CN202211598935 A CN 202211598935A CN 116448942 A CN116448942 A CN 116448942A
Authority
CN
China
Prior art keywords
concentration
detection device
gas
response rate
target gas
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.)
Pending
Application number
CN202211598935.5A
Other languages
Chinese (zh)
Inventor
刁凯迪
谭锡京
黄新建
马建良
齐虹杰
杜顺开
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Guangdong Midea White Goods Technology Innovation Center Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Guangdong Midea White Goods Technology Innovation Center Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd, Guangdong Midea White Goods Technology Innovation Center Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202211598935.5A priority Critical patent/CN116448942A/en
Publication of CN116448942A publication Critical patent/CN116448942A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • G01N33/0009General constructional details of gas analysers, e.g. portable test equipment
    • G01N33/0062General constructional details of gas analysers, e.g. portable test equipment concerning the measuring method or the display, e.g. intermittent measurement or digital display
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • G01N33/0009General constructional details of gas analysers, e.g. portable test equipment
    • G01N33/0062General constructional details of gas analysers, e.g. portable test equipment concerning the measuring method or the display, e.g. intermittent measurement or digital display
    • G01N33/0067General constructional details of gas analysers, e.g. portable test equipment concerning the measuring method or the display, e.g. intermittent measurement or digital display by measuring the rate of variation of the concentration
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A50/00TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE in human health protection, e.g. against extreme weather
    • Y02A50/20Air quality improvement or preservation, e.g. vehicle emission control or emission reduction by using catalytic converters

Landscapes

  • Chemical & Material Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Medicinal Chemistry (AREA)
  • Food Science & Technology (AREA)
  • Combustion & Propulsion (AREA)
  • Physics & Mathematics (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analyzing Materials By The Use Of Fluid Adsorption Or Reactions (AREA)

Abstract

The application discloses a gas concentration detection method, an electronic device and a computer readable storage medium. The method comprises the following steps: acquiring a first concentration detected by a first detection device in an environment to be detected, wherein the response rate of the first detection device to target gas is higher than the response rate to interference gas; acquiring a second concentration detected by a second detection device in an environment to be detected, wherein the response rate of the second detection device to the interference gas is higher than that of the second detection device to the target gas; the concentration of the target gas is calculated from the first concentration and the second concentration. Through the mode, the technical problem that the output of the sensor is influenced by the interference gas to cause false alarm is solved.

Description

Gas concentration detection method, electronic device, and computer-readable storage medium
Technical Field
The present invention relates to the field of detection, and in particular, to a method for detecting gas concentration, an electronic device, and a computer-readable storage medium.
Background
In existing household appliances, such as: the refrigerants such as R22 and R410A used in large quantities such as air conditioners and dehumidifiers have a damaging effect on the atmospheric ozone layer, and easily cause a high greenhouse effect, and belong to the refrigerants to be replaced. And natural compounds existing in the nature such as R290 (propane), R32 and the like can not destroy the atmospheric ozone layer, can not generate higher greenhouse effect and cause global warming, and belong to an environment-friendly refrigerant. Accordingly, R290, R32, etc. may be used instead of R22, R410A as refrigerants for home appliances such as air conditioners, dehumidifiers, etc. However, R290, R32, etc. are flammable and explosive refrigerants, and there is a high safety requirement for a system using the same. Conventionally, an air conditioner using a flammable and explosive refrigerant such as R290 and R32 is generally provided with a refrigerant leakage detecting device. When detecting the refrigerant leakage, can carry out measures such as shut down, exhaust automatically, avoid leaking refrigerant to be detonated by the electric spark of air conditioner. The current detection devices for refrigerant leakage are of three common types, namely semiconductor, catalytic combustion and infrared light absorption. The semiconductor is widely applied in the civil field due to low cost and long service life of the sensor. However, because of the broad spectrum of this type of sensor, it is responsive to gases having either oxidizing or reducing properties, other possible gases in the room, such as ethanol, acetic acid, methane, carbon monoxide, formaldehyde, etc., can cause the response of the semiconductor sensor, interfering with the accurate output of the sensor to the refrigerant, resulting in false positives.
Disclosure of Invention
The application mainly aims to provide a gas concentration detection method, electronic equipment and a computer readable storage medium, which can solve the technical problem that the sensor output is affected by interference gas to cause false alarm.
In order to solve the technical problems, a first technical scheme adopted by the application is as follows: a gas concentration detection method is provided. The method comprises the following steps: acquiring a first concentration detected by a first detection device in an environment to be detected, wherein the response rate of the first detection device to target gas is higher than the response rate to interference gas; acquiring a second concentration detected by a second detection device in an environment to be detected, wherein the response rate of the second detection device to the interference gas is higher than that of the second detection device to the target gas; the concentration of the target gas is calculated from the first concentration and the second concentration.
In order to solve the technical problems, a second technical scheme adopted by the application is as follows: an electronic device is provided. The electronic device comprises a memory for storing program data that can be executed by the processor to implement the method as described in the first technical solution.
In order to solve the technical problem, a third technical scheme adopted in the application is as follows: a computer-readable storage medium is provided. The computer readable storage medium stores program data executable by a processor to implement the method as described in the first aspect.
The beneficial effects of this application are: the first detection device and the second detection device are set to meet respective response rate requirements, the response rate of the first detection device to the target gas is higher than the response rate of the second detection device to the interference gas, the response rate of the second detection device to the interference gas is higher than the response rate of the second detection device to the target gas, then the first concentration detected by the first detection device to the environment to be detected and the second concentration detected by the second detection device to the environment to be detected are obtained, and the target gas and the interference gas in the environment to be detected are distinguished and judged through the detected concentrations of the detection devices with different gas response rates.
Drawings
For a clearer description of the technical solutions in the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art, wherein:
FIG. 1 is a schematic flow chart of a first embodiment of a gas concentration detection method of the present application;
FIG. 2 is a schematic flow chart of a second embodiment of a gas concentration detection method of the present application;
FIG. 3 is a schematic diagram of an embodiment of an electronic device of the present application;
fig. 4 is a schematic structural view of an embodiment of the computer-readable storage medium of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms "first," "second," and the like in this application are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
Before the technical scheme of the application is described, the related technical scheme is briefly described.
In order to solve the problem that other interference gases can influence the output of the sensor to the target gas, in one case, a filter device can be additionally arranged on the sensor, so that the filter device can adsorb the interference gases which are easy to adsorb, such as ethanol, acetone, isopropanol, methanol and the like, and the concentration judgment of the sensor is prevented from being influenced. In one case, a gas sensitive material can be used, so that the sensitivity of the sensor to the interference gas is greatly reduced, and the influence of the interference gas on the output concentration of the sensor is reduced.
In this application, however, the embodiments described below apply to a detection system. The detection system comprises two gas sensors, and the types of the gases are judged according to different response characteristics of the two gas sensors to the gases, so that the target gases and the interference gases in the detection environment can be distinguished.
Referring to fig. 1, fig. 1 is a schematic flow chart of a first embodiment of a gas concentration detection method of the present application. Which comprises the following steps:
s11: and acquiring a first concentration detected by the first detection device in the environment to be detected, wherein the response rate of the first detection device to the target gas is higher than the response rate of the first detection device to the interference gas.
The detection device for acquiring the first concentration has higher response rate to the target gas than that of the interference gas, which means that the first detection device has higher sensitivity to the target gas than that of the interference gas, so that the detection of the target gas is more accurate, and the target gas can be better detected. The response rate is the ratio between the sensor output and the corresponding input. For example, when a target gas having a concentration value of 50 and an interfering gas having a concentration value of 50 exist in the environment, and the concentration value output by the detection device is 60 including the target gas having a concentration value of 50 and the interfering gas having a concentration value of 10, the response rate of the detection device to the target gas is 50 divided by 50 and 100%, and the response rate of the detection device to the interfering gas is 10 divided by 50 and 20%. In this environment, the response rate of the detection device to the target gas is higher than the response rate to the disturbance gas. Concentration values are in the same units.
S12: and obtaining a second concentration detected by the second detection device in the environment to be detected, wherein the response rate of the second detection device to the interference gas is higher than that of the second detection device to the target gas.
The detection device for acquiring the second concentration has a higher response rate to the interference gas than that of the target gas, which means that the first detection device has a higher sensitivity to the interference gas than that of the target gas, so that the detection of the interference gas is more accurate, and the interference gas can be better detected. The response rate is the ratio between the sensor output and the corresponding input. For example, when a target gas having a concentration value of 50 and an interfering gas having a concentration value of 50 exist in the environment, and the concentration value output by the detection device is 60 including the interfering gas having a concentration value of 50 and the target gas having a concentration value of 10, the response rate of the detection device to the interfering gas is 50 divided by 50 and 100%, and the response rate of the detection device to the target gas is 10 divided by 50 and 20%. In this environment, the response rate of the detection device to the disturbance gas is higher than the response rate to the target gas. Concentration values are in the same units.
S13: the concentration of the target gas is calculated from the first concentration and the second concentration.
After the first concentration and the second concentration are obtained, the first concentration and the second concentration are calculated, the target gas is determined according to the response rate of the detection device, and the concentration of the target gas is calculated.
In this embodiment, the first detection device and the second detection device are set to meet respective response rate requirements, so that the response rate of the first detection device to the target gas is higher than the response rate of the second detection device to the interference gas, the response rate of the second detection device to the interference gas is higher than the response rate of the second detection device to the target gas, then the first concentration detected by the first detection device in the environment to be detected and the second concentration detected by the second detection device in the environment to be detected are obtained, and the target gas and the interference gas in the environment to be detected are distinguished and judged through the detected concentrations of the detection devices with different gas response rates.
In an embodiment, before the first concentration detected by the first detection device in the environment to be detected is obtained, the first detection device is set at a first working temperature, and the second detection device is set at a second working temperature, wherein the first working temperature is different from the second working temperature, so that the first detection device and the second detection device meet corresponding response rate requirements.
If the detection device can meet the respective response rate requirements, a corresponding working temperature is set for the detection device, so that the sensitivity of the detection device to the target gas is greater than that of the detection device to the interference gas or the sensitivity of the detection device to the interference gas is greater than that of the detection device to the target gas at the corresponding temperature.
In an embodiment, the response rate requirements of the first detection device include that the response rate of the first detection device to the target gas and the response rate to the interference gas are not less than 2, and the response rate requirements of the second detection device include that the response rate of the second detection device to the interference gas and the response rate to the target gas are not less than 2. The larger the response ratio is, the larger the sensitivity difference between the target gas and the interference gas is, and the concentration of the gas is accurately determined after the detection device detects the gas.
In general, when the detection is performed, the operating temperature of the first detection device is adjusted, and when the ratio of the response rate of the first detection device to the target gas to the response rate of the first detection device to the interference gas reaches the maximum, the temperature is indicated to be the optimal detection temperature of the first detection device to the target gas, and the optimal detection temperature is taken as the first operating temperature of the first detection device. Similarly, the working temperature of the second detection device is adjusted, when the ratio of the response rate of the second detection device to the interference gas to the response rate of the second detection device to the target gas reaches the maximum, the temperature is indicated to be the optimal detection temperature of the second detection device to the interference gas, and the optimal detection temperature is taken as the second working temperature of the second detection device.
In one embodiment, the difference between the first operating temperature and the second operating temperature is not less than 40 degrees celsius. When the difference between the working temperatures of the detection device is larger, the sensitivity degree difference between the detection device and the interference gas is larger, and the concentration of the gas is accurately determined after the detection device detects.
Referring to fig. 2, fig. 2 is a schematic flow chart of a second embodiment of a gas concentration detection method of the present application. The method is a further extension of step S13. Which comprises the following steps:
s21: a ratio of the first concentration to the second concentration is calculated.
S22: in response to the ratio being less than or equal to a first threshold, setting the concentration of the target gas to zero; in response to the ratio being greater than or equal to a second threshold, taking the first concentration as the concentration of the target gas; in response to the ratio being between the first threshold and the second threshold, the first concentration and the second concentration are weighted based on the first threshold and the second threshold to obtain the concentration of the target gas.
And obtaining the first concentration detected by the first detection device and the second concentration detected by the second detection device, and comparing the ratio of the first concentration to the second concentration with a preset threshold value so as to judge the concentration of the target gas. The preset threshold comprises a first threshold and a second threshold, when the ratio is smaller than or equal to the first threshold, only the interference gas exists, when the ratio is larger than or equal to the second threshold, only the target gas exists, and when the ratio is between the first threshold and the second threshold, both the target gas and the interference gas exist.
And for the setting of the threshold value, the determination and setting can be made by the method described below.
In an embodiment, before calculating the concentration of the target gas according to the first concentration and the second concentration, determining a first response rate corresponding to the first concentration based on a first response rate curve corresponding to the first detection device, and taking the first response rate as a first threshold, wherein the first response rate curve is used for representing a proportional relationship between the detected concentration of the first detection device and the concentration of the interference gas in the case that the interference gas exists only; and determining a second response rate corresponding to the second concentration based on a second response rate curve corresponding to the second detection device, and taking the inverse of the second response rate as a second threshold, wherein the second response rate curve is used for representing the proportional relation between the detected concentration of the second detection device and the concentration of the target gas in the case that the target gas only exists.
When the first detection device detects at the first working temperature, the first detection device is placed in an environment with only the interference gas, and detection output of the first detection device under different interference gas concentrations is obtained. The ratio of the detected output concentration to the corresponding input interference gas concentration indicates how much of the interference gas is identified as the target gas in the output result of the first detection device at the first operating temperature, i.e. the ratio corresponds to the identification conversion rate of the interference gas identified as the target gas at the first operating temperature. And the ratio is also used as a first response rate obtained by comparing the detection output with the corresponding input of the first detection device under the environment. When the second detection device detects at the second working temperature, the second detection device is placed in an environment where only the target gas exists, detection output of the second detection device under different target gas concentrations is obtained, the ratio of the concentration of the detection output to the corresponding input target gas concentration indicates how much target gas with a ratio is identified as interference gas in the output result of the second detection device under the second working concentration, namely the identification conversion rate of the target gas identified as the target gas under the second working temperature is equivalent. And the ratio is also used as a second response rate obtained by comparing the detection output with the corresponding input of the second detection device under the environment.
Further, the first response rate is set to a first threshold value, and the inverse of the second response rate is set to a second threshold value. The first threshold value and the second threshold value can be used as determination boundaries of the target gas and the disturbance gas, and the target gas and the disturbance gas can be determined.
In one embodiment, when the ratio of the first concentration to the second concentration is between the first threshold and the second threshold, it is indicated that both the target gas and the interfering gas are present, and the concentration of the target gas needs to be obtained by weighting. The weighting process can be implemented by the following formula:
C=C1-C2[(M2-C1/C2)/(M2-M1)]*k1,
wherein, C is the concentration of the target gas, C1 is the first concentration, C2 is the second concentration, M1 is the first threshold, M2 is the second threshold, and k1 is the first response rate corresponding to the first detection device.
The concentration of the interfering gas may also be calculated in a similar manner or by subtracting the obtained concentration of the target gas from the total concentration of the target interfering gas.
In this embodiment, the first detection device and the second detection device are set to meet respective response rate requirements, so that the response rate of the first detection device to the target gas is higher than the response rate of the second detection device to the interference gas, the response rate of the second detection device to the interference gas is higher than the response rate of the second detection device to the target gas, and then the first concentration detected by the first detection device to the environment to be detected and the second concentration detected by the second detection device to the environment to be detected are obtained, and the ratio of the first concentration to the second concentration is compared with a preset threshold value. The preset threshold is determined according to the response rate of the detection device under different response characteristics to the target gas or the interference gas, so that the target gas and the interference gas can be distinguished according to the comparison result of the ratio of the first concentration to the second concentration and the preset threshold. When the target gas and the interference gas exist in the detection environment at the same time, the concentration of the target gas can be determined according to the preset threshold value and the response rate of the detection device under different response characteristics to the target gas or the interference gas.
The following describes the technical solution of the present application in more detail with reference to a specific embodiment.
First, the first step is implemented, and calibration of the sensor response rate is performed.
And adjusting the sensor S1 to the optimal working temperature of the target gas, and in the environment with only the interference gas, when the concentration of the interference gas is C, outputting the concentration of the sensor S1 to be C1, wherein the contribution rate of the interference gas to the target gas, namely the recognition conversion rate of the interference gas recognized as the target gas is k1=C1/C, so as to obtain contribution rate curves under different concentrations. And under the condition that the sensor S2 is adjusted to the optimal working temperature of the interference gas, in the environment where only the target gas exists, when the concentration of the target gas is C, the output concentration of the sensor S2 is C2, and the contribution rate of the target gas to the interference gas, namely the recognition conversion rate of the target gas recognized as the target gas is k2=C2/C, so that the contribution rate curves under different concentrations are obtained.
k1 is the first response rate corresponding to the first detection device, and k2 is the second response rate corresponding to the second detection device.
After the calibration is completed, the second step is implemented, and the gas to be detected is detected.
Sensor S1 is adjusted to and maintained at the target gas optimum operating temperature and sensor S2 is adjusted to and maintained at the interfering gas optimum operating temperature.
Setting a first threshold value as k1, setting a second threshold value as 1/k2 for the first response rate corresponding to the first detection device, and setting the second threshold value as the inverse of the second response rate corresponding to the second detection device. The target gas is discriminated based on the threshold value.
When the ratio of the output concentration CT1 of the sensor S1 to the output concentration CT2 of the sensor S2 satisfies the condition a: and when CT1/CT2> =1/k 2, judging that no interference gas exists in the environment to be detected.
When the ratio of the output concentration CT1 of the sensor S1 to the output concentration CT2 of the sensor S2 satisfies the condition B: and when CT1/CT2< = k1, judging that only the interference gas exists in the environment to be detected.
When the ratio of the output concentration CT1 of the sensor S1 to the output concentration CT2 of the sensor S2 satisfies the condition C: and when k1< CT1/CT2<1/k2, judging that the target gas and the interference gas exist in the environment to be detected simultaneously.
After the detection of the gas to be detected is completed, the third step can be implemented, and the concentration of the target gas is calculated and obtained.
When the condition A is satisfied, no interference gas exists in the environment to be detected, and the target gas concentration is CT1, which is equal to the detection output concentration of the first detection device.
When the condition B is satisfied, only the interference gas exists in the environment to be detected, and the target gas concentration is 0.
When the condition C is satisfied, the target gas and the interference gas exist in the environment to be detected at the same time, and the concentration of the target gas is calculated to be about CT1- [ CT2 (1/k 2-CT1/CT 2)/(1/k 2-k 1) ] -k 1.
When the technical scheme is used, a filter device is not required to be additionally arranged on the sensor, the sensor is only used for detecting the environment to be detected by means of the sensor under different response characteristics according to the response characteristics of the sensor, and therefore identification and judgment are carried out on target gas and/or interference gas according to respective output concentrations. Because the sensor has different response characteristics to the gas, the detection device used in the application does not need to depend on specific sensitive materials, and can be suitable for various interference gas scene conditions. When the sensor detects the target gas or the interference gas at the optimal detection temperature, the accuracy of judging the obtained gas concentration is higher.
In the present application, when the response characteristics of the detection device to a plurality of disturbance gases are close, it can be assigned to one type of disturbance gas to calculate. If a detection device detects a plurality of interference gases, and finds that the corresponding optimal detection temperature is very close, the detection device can classify the interference gases into the same kind of interference gases, and then carries out overall concentration judgment and calculation on the interference gases.
Fig. 3 is a schematic structural diagram of an embodiment of an electronic device according to the present application.
The electronic device comprises a processor 110, a memory 120.
The processor 110 controls the operation of the electronic device, the processor 110 may also be referred to as a CPU (Central Processing Unit ). The processor 110 may be an integrated circuit chip with processing capabilities for signal sequences. Processor 110 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Memory 120 stores instructions and program data required for operation of processor 110.
The processor 110 is configured to execute instructions to implement the methods provided by any of the embodiments and possible combinations of the gas concentration detection methods described herein.
As shown in fig. 4, fig. 4 is a schematic structural diagram of an embodiment of a computer readable storage medium of the present application.
An embodiment of the present application readable storage medium includes a memory 210, the memory 210 storing program data that, when executed, implements the methods provided by any one of the embodiments and possible combinations of the gas concentration detection methods of the present application.
The Memory 210 may include a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or other media capable of storing program instructions, or may be a server storing the program instructions, and the server may send the stored program instructions to other devices for execution, or may also self-execute the stored program instructions.
In summary, the first detection device and the second detection device are set to meet respective response rate requirements, so that the response rate of the first detection device to the target gas is higher than the response rate of the second detection device to the interference gas, the response rate of the second detection device to the interference gas is higher than the response rate of the second detection device to the target gas, then the first concentration detected by the first detection device to the environment to be detected and the second concentration detected by the second detection device to the environment to be detected are obtained, and the target gas and the interference gas in the environment to be detected are distinguished and judged through the detected concentrations of the detection devices with different gas response rates.
Moreover, the application does not need to install the filter device on the detection device, and only needs to enable the detection device to have different gas response characteristics by setting the working temperature. As different gas response characteristics of the sensor are exploited. I.e. without having to rely on sensitive materials to distinguish between the gases. In the process of calculating the gas concentration, the preset threshold is determined according to the response rates of the detection devices under different response characteristics to the target gas or the interference gas, so that the target gas and the interference gas can be distinguished according to the comparison result of the ratio of the first concentration to the second concentration and the preset threshold. When the target gas and the interference gas exist in the detection environment at the same time, the concentration of the target gas can be determined according to the preset threshold value and the response rate of the detection device under different response characteristics to the target gas or the interference gas. The calculation steps are simple, and the accuracy is high.
In the several embodiments provided in the present application, it should be understood that the disclosed methods and apparatuses may be implemented in other manners. For example, the above-described device embodiments are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist alone physically, or two or more units may be integrated into one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units of the other embodiments described above may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as stand alone products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution, in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing description is only exemplary embodiments of the present application and is not intended to limit the scope of the present application, and all equivalent structures or equivalent processes using the descriptions and the drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the present application.

Claims (10)

1. A method for detecting a concentration of a gas, the method comprising:
acquiring a first concentration detected by a first detection device in an environment to be detected, wherein the response rate of the first detection device to target gas is higher than the response rate to interference gas;
acquiring a second concentration detected by a second detection device on the environment to be detected, wherein the response rate of the second detection device on the interference gas is higher than the response rate of the second detection device on the target gas;
and calculating the concentration of the target gas according to the first concentration and the second concentration.
2. The method of claim 1, wherein prior to the obtaining the first concentration detected by the first detection device for the environment to be detected, the method further comprises:
the first detection device is arranged at a first working temperature, and the second detection device is arranged at a second working temperature, wherein the first working temperature is different from the second working temperature, so that the first detection device and the second detection device meet corresponding response rate requirements.
3. The method of claim 2, wherein the difference between the first operating temperature and the second operating temperature is not less than 40 degrees celsius.
4. The method of claim 2, wherein the response rate requirements of the first detection device include a response rate of the first detection device to the target gas and a response rate to the interfering gas of not less than 2, and wherein the response rate requirements of the second detection device include a response rate of the second detection device to the interfering gas and a response rate to the target gas of not less than 2.
5. The method of claim 1, wherein said calculating the concentration of the target gas from the first concentration and the second concentration comprises:
calculating a ratio of the first concentration to the second concentration;
setting the concentration of the target gas to zero in response to the ratio being less than or equal to a first threshold;
and in response to the ratio being greater than or equal to a second threshold, taking the first concentration as the concentration of the target gas.
6. The method of claim 1, wherein said calculating the concentration of the target gas from the first concentration and the second concentration comprises:
calculating a ratio of the first concentration to the second concentration;
in response to the ratio being between the first and second thresholds, the first and second concentrations are weighted based on the first and second thresholds to obtain the concentration of the target gas.
7. The method according to any one of claims 5-6, wherein before calculating the concentration of the target gas from the first concentration and the second concentration, further comprising:
determining a first response rate corresponding to the first concentration based on a first response rate curve corresponding to the first detection device, and taking the first response rate as the first threshold, wherein the first response rate curve is used for representing a proportional relation between the detected concentration of the first detection device and the concentration of the interference gas in the case that the interference gas exists only;
and determining a second response rate corresponding to the second concentration based on a second response rate curve corresponding to the second detection device, and taking the inverse of the second response rate as the second threshold, wherein the second response rate curve is used for representing the proportional relation of the detected concentration of the second detection device and the concentration of the target gas in the condition that the target gas only exists.
8. The method of claim 7, wherein the weighting is accomplished by the following formula:
C=C1-C2[(M2-C1/C2)/(M2-M1)]*k1,
wherein C is the concentration of the target gas, C1 is the first concentration, C2 is the second concentration, M1 is the first threshold, M2 is the second threshold, and k1 is the first response rate.
9. An electronic device comprising a memory and a processor, the memory for storing program data, the program data being executable by the processor to implement the method of any one of claims 1-8.
10. A computer readable storage medium storing program data executable by a processor to implement the method of any one of claims 1-8.
CN202211598935.5A 2022-12-12 2022-12-12 Gas concentration detection method, electronic device, and computer-readable storage medium Pending CN116448942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211598935.5A CN116448942A (en) 2022-12-12 2022-12-12 Gas concentration detection method, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211598935.5A CN116448942A (en) 2022-12-12 2022-12-12 Gas concentration detection method, electronic device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN116448942A true CN116448942A (en) 2023-07-18

Family

ID=87124403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211598935.5A Pending CN116448942A (en) 2022-12-12 2022-12-12 Gas concentration detection method, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN116448942A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117191928A (en) * 2023-08-08 2023-12-08 广州科易光电技术有限公司 Gas leakage detection method, device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117191928A (en) * 2023-08-08 2023-12-08 广州科易光电技术有限公司 Gas leakage detection method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US20170126704A1 (en) Method And Devices For Non-Intrusive Malware Detection For The Internet Of Things (IOT)
CN106642584A (en) Air conditioner operation control method and device
CN116448942A (en) Gas concentration detection method, electronic device, and computer-readable storage medium
WO2012128913A2 (en) Degrading sensor detection implemented within a transmitter
CN108777051A (en) Fire alarm method, device, computer equipment and storage medium
WO2017110034A1 (en) Flow rate measurement device
CN105864956A (en) Drifting detection method for temperature sensor in air side heat exchanger, processor and air conditioner
CN103185015A (en) Fan abnormity alarm system and method
CN111191671B (en) Electrical appliance waveform detection method, system, electronic equipment and storage medium
CN111550905B (en) Detection method and detection device for compressor temperature sensor and air conditioner
CN104819786B (en) The detection method and device of the temperature sensor of frequency-variable module in air conditioner
CN114926004B (en) Method and system for evaluating fire resistance of ceramic matrix composite bus duct
CN115751603A (en) Refrigerant leakage detection method, device, equipment and medium based on refrigerant sensor
WO2017038889A1 (en) Gas analysis system and gas analysis method
CN106481538B (en) Compressor protection method, compressor, and air conditioning apparatus
CN110553343A (en) Refrigerant leakage detection method and system of air conditioner and air conditioner
CN111271834A (en) Frequency reduction control method of air conditioner and air conditioner
JP2008202818A (en) Gas appliance discriminating device and method
CN113465754A (en) Temperature monitoring system and temperature monitoring method thereof
EP3125433B1 (en) Method and device for triggering predetermined operation
CN110715397A (en) Refrigerant leakage detection method and system of air conditioner and air conditioner
CN118043604A (en) Air conditioner and control method thereof
CN106288182B (en) Compressor monitoring method and device and air conditioner
CN111127814B (en) Fire alarm identification method and related device
CN115342848A (en) Method and device for detecting abnormal data of sensor

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