Gas detection method and device, air conditioner and computer readable storage medium
By setting up a detection module and a gas separation module in the air conditioner, combined with the control of the start-up module, the problem of the refrigerant gas leakage detection system triggering alarms due to environmental gases is solved, and higher detection accuracy and alarm accuracy are achieved.
Patent Information
- Application Number
- CN202311606834.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-27
- Publication Date
- 2025-05-27
AI Technical Summary
The refrigerant gas leakage detection system in existing air conditioners is prone to accidentally triggering alarms due to the existence of other gases in the environment, resulting in low detection accuracy.
By setting a start module between the detection module and the gas separation module, the gas separation module is activated when it is detected that the first gas concentration is greater than or equal to the preset threshold. After separating the gas in the environment, the target gas is detected to improve the detection accuracy.
It effectively avoids the system's mistaken alarm triggering, improves the accuracy of refrigerant gas leakage detection, and ensures the accuracy of alarms.
Smart Images

Figure CN120043203A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioners, and particularly to a gas detection method, device, air conditioner and computer-readable storage medium. Background Art
[0002] During the operation of an air conditioner, refrigerant gas leakage may occur due to various reasons. Refrigerant gas leakage may cause explosion and combustion, leading to a fire. Therefore, a refrigerant leakage detection and alarm system needs to be installed indoors or on the air conditioner, such as configuring a refrigerant detection module to detect whether the refrigerant leaks and issue an alarm prompt in a timely manner.
[0003] Currently, a common sensor system is used to detect refrigerant gas. However, in actual use, this detection method will also trigger an alarm when detecting the concentration of other gases in the environment. For example, for a certain concentration of CO2, alcohol, smoke, lampblack, volatile cleaners, pesticides, etc., the sensor system will mis-trigger an alarm. Therefore, the sensor system detection has the problems of being affected by environmental gases and having low detection accuracy.
[0004] The above content is only used to assist in understanding the technical solution of the present invention, and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main object of the present invention is to provide a gas detection method, device, air conditioner and computer-readable storage medium, aiming to improve the detection accuracy and avoid mis-triggering of the system alarm by separating the gas to be detected first and then detecting the gas.
[0006] To achieve the above object, the present invention provides a gas detection device, which includes:
[0007] A detection module for detecting the concentration of a first gas in the space where it is located;
[0008] A gas separation module, the gas separation module includes an air inlet and an air outlet, and the air outlet is connected to the detection module;
[0009] A start module, the start module is connected to the detection module and the gas separation module. The start module is used to start the gas separation module to separate the gas in the air when the concentration of the first gas is greater than or equal to a first preset threshold. The detection module is also used to detect the sampled gas of the started gas separation module and output the concentration of the second gas detected at the target time.
[0010] Optionally, the gas separation module includes a chromatographic column, and the chromatographic column is configured as a stationary phase matching the refrigerant gas of the air conditioner.
[0011] Optionally, the starting module includes an air pump, and the gas detection device further includes: a control module, the control module is connected to the detection module and the air pump, and the control module is used to control the air pump to turn on or off to start or shut down the gas separation module.
[0012] In order to achieve the above object, the present invention also provides a gas detection method, the gas detection method comprising:
[0013] Acquire a first gas concentration detected by the detection module;
[0014] When the first gas concentration is greater than or equal to a first preset threshold, controlling the gas pump of the gas detection device to turn on, so that the gas separation module and the detection module of the gas detection device are connected;
[0015] Acquire the second gas concentration detected by the detection module at the target time;
[0016] When the second gas concentration is greater than or equal to a second preset threshold, a first-level alarm response for gas leakage is initiated.
[0017] Optionally, the gas detection method further includes:
[0018] When the first gas concentration is greater than or equal to a first preset threshold and the second gas concentration is less than the second preset threshold, a secondary alarm response for gas leakage is initiated.
[0019] Optionally, after initiating the secondary alarm response of gas leakage, the following steps are further included:
[0020] Determining whether the second gas concentration is less than the first preset threshold;
[0021] When the second gas concentration is less than the first preset threshold, the gas pump is turned off.
[0022] Optionally, after the step of obtaining the first gas concentration detected by the detection module, the method further includes:
[0023] When the first gas concentration is less than the first preset threshold, the gas pump is kept in a closed state.
[0024] Optionally, the gas detection method further includes:
[0025] Determine the gas type of the gas to be detected;
[0026] The target time is determined based on a nominal time for the gas type.
[0027] The present invention also provides an air conditioner, which includes the gas detection device as described above. The air conditioner further includes: a memory, a processor, and a gas detection program stored on the memory and executable on the processor. The processor is connected to the gas detection device. When the gas detection program is executed by the processor, each step of the gas detection method as described above is implemented.
[0028] In addition, the present invention also provides a computer-readable storage medium, on which a gas detection program is stored. When the gas detection program is executed by a processor, each step of the gas detection method as described above is implemented.
[0029] A gas detection method, device, air conditioner, and computer-readable storage medium provided by an embodiment of the present invention, by setting a detection module and a gas separation module, when the detection module detects that the concentration of the first gas is greater than or equal to the first preset threshold, the gas separation module is started. After the gas in the environment is separated by the gas separation module, the target gas separated in the target time period is detected. It is not affected by other gases in the environment, improving the detection accuracy and avoiding triggering an alarm response. And in the embodiment of the present invention, the gas separation module works based on a way of working under specific circumstances, so that the output time of the target gas can be determined. By the way that different gases have different output times, the gases are separated. Compared with other gas separation devices, the structure is simple and the influence on the separation result is small. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 is a schematic structural diagram of the gas detection device proposed by the present invention;
[0031] Figure 2 is a schematic flowchart of the first embodiment of the gas detection method of the present invention;
[0032] Figure 3 is a schematic flowchart of the second embodiment of the gas detection method of the present invention;
[0033] Figure 4 is a schematic structural diagram of a terminal of the hardware operating environment related to the solution of the embodiment of the present invention.
[0034] The implementation, functional features, and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0035] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0036] To better understand the technical solutions provided by the embodiments of the present invention, the exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be fully conveyed to those skilled in the art.
[0037] Please refer to Figure 1 , an embodiment of the present invention provides a gas detection device, and the gas detection device includes: a detection module 10, a gas separation module 20, and a startup module. The detection module 10 is used to detect the gas concentration, and the gas separation module 20 is used to separate various gases in the environment and then detect the target gas through the detection module 10 to accurately detect the concentration of the target gas.
[0038] Optionally, the gas separation module 20 includes an air inlet and an air outlet, and the air outlet is connected to the detection module 10. The air in the environment enters from the air inlet, reacts in the gas separation module 20, and then is discharged from the air outlet, and the gas concentration is detected in the detection module 10.
[0039] In an alternative embodiment, the gas separation module 20 can adopt an adsorption material, and an adsorption material for configuring other gases except the target gas. After the mixed gas in the air enters the gas separation module 20, other gases except the target gas are adsorbed, and only the target gas is discharged to the detection module 10, and then the detection module 10 detects the target gas, and the detected gas concentration has high accuracy. Optionally, if the target gas is the refrigerant of an air conditioner, an adsorption material for other gases that affect the refrigerant detection can be configured.
[0040] In an alternative embodiment, the gas separation module 20 includes a chromatographic column, and the chromatographic column is configured as a stationary phase matching the refrigerant gas of the air conditioner. The gases are separated by the different action times of the gases on the chromatographic column. For example, if the action times of the gases on the chromatographic column are different, the output times from the gas separation module 20 are different. The specific principle is as follows: the adsorption and desorption interactions between different gas molecules and the stationary phase molecules in the separation module are different. Generally, the stronger the polarity of the gas molecules, the greater the adsorption amount in the gas separation module 20, the stronger the interaction with the stationary phase, and the longer the residence time in the gas separation module 20 and the later the outflow time from the separation module; conversely, the weaker the polarity of the gas molecules, the smaller the adsorption amount on the stationary phase in the separation module, the weaker the interaction with the stationary phase molecules, and the shorter the residence time in the gas separation module 20 and the earlier the outflow time from the separation module.
[0041] If the target gas is a refrigerant gas, a stationary phase matching the refrigerant gas is selected as the chromatographic column of the gas separation module 20. Based on the action time of the refrigerant gas and the stationary phase, the output time Tr from the gas separation module 20 is calibrated. Then, when the gas separation module 20 performs each sampling action, the refrigerant gas will flow out of the gas separation module 20 at time Tr and enter the detection module 10. Thus, the result of the detection module 10 at time Tr can be obtained, or the detection module 10 can be controlled to output the result at time Tr. Since the gas output at time Tr is the target gas and other gases are output at other times, the detected gas is more likely to be the target gas, and the accuracy of the gas detection concentration at this time is higher.
[0042] Optionally, the detection module 10 can detect the air in the environment or the sampled gas of the gas separation module 20. Optionally, the detection module 10 can be any gas detection sensor that can detect the concentration of the target gas, including but not limited to semiconductor gas sensors, non-dispersive infrared gas sensors, thermal conductivity gas sensors, and acoustic velocity gas sensors, etc.
[0043] In this embodiment, the detection module 10 is connected to the start module, and the start module is connected to the gas separation module 20. When the detection module 10 detects that the first gas concentration in the space is greater than or equal to the first preset threshold, the start module is triggered, and the start module starts the gas separation module 20 to work. At this time, the gas in the air enters the gas separation module 20, reacts with the gas separation module 20, and then is output to the detection module 10. The detection module 10 detects the gas output by the gas separation module 20 at the target time. In this way, the concentration of the gas separated and output at the target time can be accurately detected, the influence of other gases can be eliminated, and the detection accuracy can be improved. When the first gas concentration is less than the first preset threshold, the gas separation module 20 is in a closed state and does not work, and the gas concentration output in a fixed time period is sampled and detected specifically, realizing high detection accuracy.
[0044] Optionally, in some embodiments, the gas separation module 20 controls its sampling and separation of gases through the control module 40. That is, the gas detection device further includes: a gas pump 30 and a control module 40. The gas pump 30 is disposed in the gas separation module 20 and is used to connect the gas separation module 20 and the detection module 10, or close the gas separation module 20 so that the gas does not pass through the gas separation module 20. The control module 40 is connected to the gas pump 30, and the control module 40 is used to control the gas pump 30 to be turned on or off.
[0045] When the air pump 30 is turned on, the gas separation module 20 is opened. When the air pump 30 is operating, air enters from the air inlet of the gas separation module 20, then passes through the chromatographic column and is discharged from the air outlet of the gas separation module 20, and then enters the control module 40. When the air pump 30 stops working, the gas separation module 20 is closed and air does not pass through the gas separation module 20.
[0046] Based on the above gas detection device, in the embodiment of the present invention, the gas separation module 20 is used to separate the gas, and then the detection module 10 is used to specifically detect the target gas separated. During the detection process, the detection module 10 is not affected by other gases in the environment and can accurately detect the concentration of the target gas, improving the detection accuracy. In this way, the accurate gas concentration improves the accuracy of the alarm.
[0047] Based on the above gas detection device, the embodiment of the present invention also proposes a gas detection method, as specifically described in the following embodiments.
[0048] The first embodiment
[0049] Refer to Figure 2 , the present invention provides a gas detection method, which is used to control the above gas detection device. Among them, the execution terminal of the detection method can be an air conditioner or other intelligent devices. The following takes the control of the gas detection device based on an air conditioner as an example for illustration.
[0050] The gas detection method includes the following steps:
[0051] Step S110, control the air pump of the gas detection device to be turned on, so that the gas separation module and the detection module of the gas detection device are conducted;
[0052] The gas detection device includes a detection module and a gas separation module. The gas separation module is connected to the detection module, and gas can be transmitted between the gas separation module and the detection module. Specifically, it can be controlled by an air pump or other valves. After the air pump is turned on, the gas in the gas detection module is pumped into the detection module to detect the concentration of the gas in the detection module.
[0053] Optionally, the detection module includes, but is not limited to, a semiconductor gas sensor, a non-dispersive infrared gas sensor, a thermal conductivity gas sensor, a sound velocity gas sensor, etc.
[0054] Step S120, obtain the second gas concentration detected by the detection module at the target time;
[0055] Step S130, determine whether the second gas concentration is greater than or equal to a second preset threshold;
[0056] If so, execute step S140 to initiate the first-level alarm response for gas leakage.
[0057] If the second gas concentration is less than the second preset threshold, the first-level alarm response is not initiated.
[0058] This embodiment is applied to the scenario of detecting gas concentration. Taking the detection of the refrigerant gas leaked from an air conditioner as an example.
[0059] If the stationary phase matching the refrigerant gas is configured in the detection module as the chromatographic column, and the time for the refrigerant gas to flow out of the chromatographic column is calibrated in advance and taken as the target time. Among them, the calibration time can be determined based on the interaction strength between the stationary phase and the refrigerant gas. For example, the greater the adsorption amount of the refrigerant gas in the separation module and the stronger the interaction with the stationary phase, the longer the residence time of the refrigerant gas in the gas separation module and the later the time to flow out of the separation module. Based on this, the calibration time can be determined based on the configured stationary phase in this embodiment.
[0060] For example, if the adsorption amount of the refrigerant gas molecules in the stationary phase of the gas separation module is large and the interaction is strong, the residence time in the gas separation module is long and the time to flow out of the gas separation module is late, such as being calibrated as the target time T1, while the adsorption amount of other gases in the gas separation module with the stationary phase is small, the interaction is weak, the residence time in the gas separation module is short and the time to flow out of the gas separation module is early, such as T2, where T1 is greater than T2.
[0061] After determining the target time T1, after controlling the air pump to open, the air flows through the gas separation module and then to the detection module. The detection module detects the gas concentration and the detection results at different time periods. It is possible to control the detection module to only output the detection results corresponding to the target time period, or to output all the detection results, and the controller only obtains the detection results corresponding to the target time period. In this way, by obtaining the detection results corresponding to the target time period, the gas concentration corresponding to the refrigerant gas can be obtained. Detect the target gas refrigerant, so as to achieve accurate detection of the refrigerant concentration.
[0062] After obtaining the gas concentration of the refrigerant gas, it is possible to determine whether an alarm needs to be triggered based on the detected concentration.
[0063] In this embodiment, the second gas concentration is the refrigerant gas concentration. The second gas concentration is compared with the preset second preset threshold. The second preset threshold is the critical value for the refrigerant gas concentration to trigger an alarm. If the second gas concentration is greater than or equal to this critical value, the refrigerant gas leakage alarm is initiated, triggering the air conditioner to perform corresponding control. Such as controlling the compressor to stop, or increasing the electronic expansion valve to make the refrigerant flow back to the compressor, etc.
[0064] If the concentration of the second gas is less than the critical value, the first-level alarm is not activated, and the current state of the air conditioner is maintained. Alternatively, it is further determined whether the concentration of the second gas is greater than the first preset threshold. If so, the second-level alarm is activated, triggering the air conditioner to perform exhaust control, such as turning on the fan to increase the air circulation and diffusion in the environment, etc.
[0065] In this embodiment, the gas separation module samples air for gas separation at regular intervals, and then detects the target gas after separation. By regularly detecting the concentration of the target gas in the air, it is possible to accurately detect while also timely monitoring the concentration of the target gas, promptly treating the environment to ensure environmental safety, and not triggering false alarms.
[0066] Second Embodiment
[0067] Refer to Figure 3 Based on the above embodiment, in this embodiment, the detection module can not only detect the sampled gas of the gas separation module, but also detect the air in the environment. Since the mixed gas will affect the detection result when the detection module directly detects the air in the environment. Therefore, in this embodiment, by combining the interaction between the detection module and the gas separation module, the gas separation module provides the separated gas to the detection module for detection to improve the accuracy of the detection result. When the detection module detects a relatively high gas concentration in the air, the gas separation module is combined for secondary verification to verify the gas concentration and avoid false alarms.
[0068] In this embodiment, the gas detection method includes the following steps:
[0069] Step S210, obtain the concentration of the first gas detected by the detection module;
[0070] The concentration of the first gas refers to the concentration directly detected by the detection module in the ambient air. The concentration of the first gas is the concentration of the target gas mixed with other gases.
[0071] Step S220, determine whether the concentration of the first gas is greater than or equal to the first preset threshold;
[0072] If so, execute step S230, control the air pump of the gas detection device to open, so that the gas separation module and the detection module of the gas detection device are conducted;
[0073] Step S240, obtain the concentration of the second gas detected by the detection module at the target time;
[0074] Step S250, determine whether the concentration of the second gas is greater than or equal to the second preset threshold;
[0075] If so, execute step S260, activate the first-level alarm response for gas leakage.
[0076] If the gas concentration in the ambient air detected by the detection module is greater than the first preset threshold, it indicates that the concentration of the target gas in the environment is relatively high, and there may be a refrigerant leak. To improve the accuracy of judgment and avoid false triggering of alarms, the gas separation module is activated. After the air sample is separated by the gas separation module, it is then detected. At this time, the gas output to the detection module at the target time is detected to obtain the second gas concentration. Optionally, in this embodiment, the method for obtaining the second gas concentration is the same as that in the first embodiment above, and will not be described again here.
[0077] After judging the second gas concentration detected at the target time, if the second gas concentration is too high, it indicates that there is a large amount of leaked refrigerant gas, which affects indoor safety at this time, and a first-level alarm response for gas leakage is activated. The specific alarm method is the same as that in the first embodiment above, and reference can be made to the first embodiment above, and will not be described again here.
[0078] Optionally, in this embodiment, if the second gas concentration is less than the second preset threshold, step S270 is executed to activate a second-level alarm response for gas leakage.
[0079] That is to say, if it is detected by the detection module that the first gas concentration is relatively high, and after the gas is separated by the gas separation module and detected again, the detected second gas concentration is less than the second preset threshold (not high), it indicates that there is a small amount of refrigerant leakage in the air, but the leakage amount is not much. At this time, the current environment can be processed through a second-level alarm response.
[0080] Optionally, in this embodiment, the steps for activating the second-level alarm response for gas leakage include: turning on the indoor fan or increasing the rotational speed of the indoor blower of the air conditioner to accelerate the circulation and diffusion of indoor air and reduce the refrigerant gas concentration.
[0081] In this embodiment, each time the detection module detects that the first gas concentration is greater than or equal to the first preset threshold, the gas separation module is controlled to sample the gas at least twice. For example, in the first sampling, the sampled gas is separated by the gas separation module, and then the detection module outputs the second gas concentration corresponding to the target time. When it is determined that the second gas concentration is greater than or equal to the second preset threshold, a first-level alarm response is initiated to process the refrigerant leaking into the environment. After a preset time interval, in the second sampling, the sampled gas is separated by the gas separation module, and then the detection module outputs the second gas concentration corresponding to the target time, and continues to detect whether the gas concentration is lower than the second preset threshold. When it is lower than the second preset threshold, a second-level alarm response is initiated to process the small amount of refrigerant leaking into the environment. After a preset time interval, in the third sampling, the sampled gas is separated by the gas separation module, and then the detection module outputs the second gas concentration corresponding to the target time, and continues to judge whether the second gas concentration is lower than the first preset threshold. If so, the air pump of the gas detection device is turned off. If not, sampling continues until the second gas concentration is lower than the first preset threshold.
[0082] That is, in some embodiments, when the first gas concentration is greater than or equal to the first preset threshold and the second gas concentration is lower than the second preset threshold, a second-level alarm response for gas leakage is initiated. After the second-level alarm response is initiated, sampling is continued to detect the second gas concentration, and step S280 is executed to judge whether the second gas concentration is less than the first preset threshold. When the second gas concentration is less than the first preset threshold, step S290 is executed to turn off the air pump.
[0083] Optionally, after step S220, if the first gas concentration is less than the first preset threshold, the current state of the detection device is maintained. For example, the detection module continues to detect the first gas concentration in the environment, and the air pump on the gas separation module remains in the closed state, and there is no need to detect the gas after separating the gas by the gas separation module.
[0084] It should be noted that the first gas concentration and the second gas concentration in this embodiment do not limit the gas type, but limit the detection method of the target gas. For example, the target gas concentration directly detected by the detection module from the ambient air is defined as the first gas concentration, and the target gas concentration at the target time detected by the detection module after the gas is separated by the gas separation module is defined as the first gas concentration. Therefore, both the first gas concentration and the second gas concentration are the target gas concentrations. Among them, the first preset thresholds can be the same or different.
[0085] Third Embodiment
[0086] This embodiment is based on all the above embodiments. In this embodiment, the gas detection device can be applied to detect all gases, including but not limited to refrigerant gases. Specifically, detection is performed according to the gas to be detected and the calibrated outflow time corresponding to the gas. As described in the gas detection method, it further includes: determining the gas type of the gas to be detected; and determining the target time according to the calibration time of the gas type.
[0087] If the gas detection device needs to detect the concentration of refrigerant leakage, then based on the calibrated refrigerant outflow time for the detection module in advance, it is determined as the target time for detection. Then, the gas concentration detected by the detection module within the target time is used as the concentration of the target gas. In this way, the refrigerant leakage concentration can be determined. Correspondingly, if the gas detection device needs to detect the concentration of carbon dioxide or carbon monoxide, then based on the calibrated carbon dioxide / carbon monoxide outflow time for the detection module in advance, it is determined as the target time for detection. Then, the gas concentration detected by the detection module within the target time is used as the concentration of the target gas. In this way, the carbon dioxide / carbon monoxide concentration can be determined. It can be understood that other gases are also detected in the same way as listed above, and will not be repeated here.
[0088] This embodiment is applicable to the detection of various types of gases, increasing the usage scenarios of gas monitoring and enhancing universality.
[0089] As an implementation manner, the hardware environment architecture involved in the gas detection method can be as Figure 4 shown.
[0090] Optionally, the hardware architecture involved in the gas detection method includes an air conditioner or other intelligent devices, and a gas detection device. The air conditioner or other intelligent devices are used to control the gas detection device to detect the concentration of the target gas.
[0091] As an implementation manner, the air conditioner or other intelligent devices include: a processor 101, such as a CPU, a memory 102, and a communication bus 103. Among them, the communication bus 103 is used to realize the connection and communication between these components. The processor 101 is used to call an application program to perform control operations.
[0092] The memory 102 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory.
[0093] It can be understood that in an embodiment, the gas detection program for realizing the gas detection process is stored in the memory 102 or in a computer-readable storage medium. When the processor 101 calls the gas detection program from the memory 102 or the computer-readable storage medium, the following operations are performed:
[0094] Turn on the air pump of the gas detection device so that the gas separation module and the detection module of the gas detection device are connected;
[0095] Obtain the second gas concentration detected by the detection module at the target time;
[0096] When the second gas concentration is greater than or equal to the second preset threshold, initiate a first-level alarm response for gas leakage.
[0097] The present invention also provides an air conditioner, which includes the gas detection device as described above. The air conditioner further includes: a memory, a processor, and a gas detection program stored on the memory and executable on the processor. The processor is connected to the gas detection device. When the gas detection program is executed by the processor, it realizes each step of the gas detection method as described above.
[0098] In addition, the present invention also provides a computer-readable storage medium, on which a gas detection program is stored. When the gas detection program is executed by a processor, it realizes each step of the gas detection method as described above.
[0099] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium as described above (such as ROM / RAM, magnetic disk, optical disc), and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0100] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. A gas detection device, characterized in that, the gas detection device includes: a detection module for detecting the concentration of a first gas in the space where it is located; a gas separation module, the gas separation module includes an air inlet and an air outlet, and the air outlet is connected to the detection module; a start module, the start module is connected to the detection module and the gas separation module, and the start module is used to start the gas separation module to separate the gas in the air when the concentration of the first gas is greater than or equal to a first preset threshold, and the detection module is also used to detect the sampled gas of the started gas separation module and output the concentration of the second gas detected at the target time.
2. The gas detection device according to claim 1, characterized in that, the gas separation module includes a chromatographic column, and the chromatographic column is configured as a stationary phase matching the refrigerant gas of the air conditioner.
3. The gas detection device according to claim 1, characterized in that, the start module includes an air pump, and the gas detection device further includes: a control module, the control module is connected to the detection module and the air pump, and the control module is used to control the opening or closing of the air pump to start or close the gas separation module.
4. A gas detection method, characterized in that, the gas detection method includes: obtaining the concentration of the first gas detected by the detection module; when the concentration of the first gas is greater than or equal to a first preset threshold, controlling the air pump of the gas detection device to open, so that the gas separation module and the detection module of the gas detection device are conducted; obtaining the concentration of the second gas detected by the detection module at the target time; when the concentration of the second gas is greater than or equal to a second preset threshold, starting a first-level alarm response for gas leakage.
5. The gas detection method according to claim 4, characterized in that, the gas detection method further includes: when the concentration of the first gas is greater than or equal to a first preset threshold and the concentration of the second gas is less than the second preset threshold, starting a second-level alarm response for gas leakage.
6. The gas detection method according to claim 5, characterized in that, after starting the second-level alarm response for gas leakage, it further includes: judging whether the concentration of the second gas is less than the first preset threshold; when the concentration of the second gas is less than the first preset threshold, closing the air pump.
7. The gas detection method according to claim 4, characterized in that, after the step of obtaining the concentration of the first gas detected by the detection module, it further includes: when the concentration of the first gas is less than the first preset threshold, keeping the air pump in a closed state.
8. The gas detection method according to any one of claims 4-7, characterized in that, the gas detection method further includes: determining the gas type of the gas to be detected; determining the target time according to the calibration time of the gas type.
9. An air conditioner, characterized in that, The air conditioner includes the gas detection device according to any one of claims 1-3. The air conditioner further includes: a memory, a processor, and a gas detection program stored on the memory and executable on the processor. The processor is connected to the gas detection device. When the gas detection program is executed by the processor, the steps of the gas detection method according to any one of claims 4 to 8 are implemented.
10. A computer-readable storage medium, characterized in that, a gas detection program is stored on the computer-readable storage medium, and when the gas detection program is executed by a processor, the steps of the gas detection method according to any one of claims 4 to 8 are implemented.