Refrigerant gas alarm and alarm control method thereof
By alternating the control of the air pump and the three-way valve, combined with an infrared light source and an operational amplifier, the problem of insufficient detection range of the refrigerant alarm was solved, enabling rapid and accurate detection of complex leakage scenarios in air conditioning systems.
Patent Information
- Application Number
- CN202511569518.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-30
- Publication Date
- 2026-01-13
- Estimated Expiration
- 2045-10-30
AI Technical Summary
Existing refrigerant alarms have a limited detection range, making it difficult to cover complex leakage scenarios in air conditioning systems, resulting in blind spots and an inability to capture leakage signals in a timely manner.
An alternating control strategy is adopted, in which the first and second air pumps work alternately, combined with a three-way valve and an infrared light source, to alternately detect the refrigerant concentration near the alarm and on the ground. An operational amplifier is used to determine whether the alarm conditions are met, and a relay is used to control the alarm prompt component to issue an alarm.
It enables rapid and accurate detection of refrigerant concentration near air conditioning systems and the ground, reducing blind spots and improving the timeliness and accuracy of refrigerant leak detection.
Smart Images

Figure CN121034028B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of sensor technology, and in particular to a refrigerant gas alarm and its alarm control method. Background Technology
[0002] To improve environmental performance, non-environmentally friendly refrigerants are usually replaced with environmentally friendly refrigerants. Currently, the mainstream new environmentally friendly refrigerants (such as R32, R290, etc.) show significant advantages in thermodynamic performance and energy efficiency: under the same compression power conditions, their cooling and heating efficiency is 8%-15% higher than that of traditional refrigerants, which can directly reduce the energy consumption of equipment operation.
[0003] Although new refrigerants offer dual advantages in terms of environment and energy efficiency, their physical properties also bring new safety challenges, including flammability risks: mainstream alternatives such as R32, R290, and R454B are all A2L or A3 class flammable refrigerants, posing a risk of combustion and explosion under high temperature, high pressure, or leakage accumulation conditions; safety management requirements: it is necessary to simultaneously strengthen system sealing design, leakage monitoring, and emergency response capabilities, and build a full-chain safety management system of "prevention-monitoring-alarm-response".
[0004] Currently, the main principles for refrigerant detection include: Metal-Oxide-Semiconductor (MOS). This semiconductor technology is based on gas detection techniques that utilize changes in the electrical properties of semiconductor materials. When the gas to be measured comes into contact with the semiconductor at a certain temperature, a redox reaction occurs, causing a change in the semiconductor's conductivity. By measuring changes in electrical parameters such as resistance, current, or voltage, the gas concentration can be determined. Semiconductor refrigerant leak monitoring sensors have advantages such as simple design and low cost. However, MOS sensors have poor long-term stability and are prone to losing accuracy over time. Secondly, MOS sensors have poor selectivity and are easily affected by other volatile organic compounds (such as alcohol). Changes in air humidity will also affect the detection results of semiconductor sensors.
[0005] Thermal conductivity (TC) technology, based on the differences in thermal conductivity of different gases, determines concentration by measuring the change in thermal conductivity as the gas flows through a heating element. It offers advantages such as simple structure, small size, low cost, and easy maintenance. However, TC refrigerant leak monitoring sensors are susceptible to false alarms due to the broad measurement range of interfering gases. Furthermore, because gases like R290 have relatively low combustion / explosion limits, the low sensitivity of TC refrigerant leak monitoring sensors for R290 within this range limits restricts their application in refrigerant leak monitoring.
[0006] Non-dispersive infrared (NDIR) technology measures gas concentration by utilizing the absorption characteristics of gases to specific wavelengths of infrared light. Detecting different types of refrigerant gases only requires selecting the corresponding characteristic absorption band. It offers advantages such as high selectivity, strong anti-interference capability, high detection accuracy, long lifespan, and high reliability. NDIR sensors exhibit high gas selectivity, do not react to interfering substances other than the target gas, and offer high detection accuracy, good stability, and long lifespan. Based on these characteristics, the number of air conditioning manufacturers using NDIR technology has been gradually increasing in recent years.
[0007] Considering the operating characteristics of air conditioning systems and the physical properties of refrigerants, current refrigerant alarm installation locations have the following core limitations in practical applications, resulting in insufficient detection coverage: single-point monitoring is difficult to match complex leakage scenarios. Current alarms are mostly fixed single-point installations (such as air conditioner return air vents or walls next to indoor units), with an effective detection radius typically only 1-3 meters, covering only a localized area around the installation point. However, leak points in air conditioning refrigeration systems may be distributed across multiple locations, including indoor and outdoor unit connection pipes, valve interfaces, evaporators, and condensers, and the pipe routes may extend along concealed paths such as walls and ceilings. When the leak point is far from the alarm (such as outdoor unit pipes or connection valves near the ground), the refrigerant needs to diffuse through air convection to reach the sampling port. If the airflow in the space is complex (such as ceiling obstructions or furniture blockages), it may lead to blind spots in detection, making it impossible to capture leak signals in a timely manner. The fixed, single-point installation logic of refrigerant alarms inherently contradicts the randomness of leak points in air conditioning systems, the physical characteristics of refrigerant (sinking, low diffusion rate), and the complexity of spatial airflow. This makes it difficult to simultaneously meet the monitoring requirements of "full coverage, high sensitivity, and zero delay" in practical applications. Therefore, existing refrigerant alarms suffer from a limited detection range. Summary of the Invention
[0008] This invention provides a refrigerant gas alarm and its alarm control method, aiming to solve the problem of the small detection range of existing refrigerant alarms.
[0009] In a first aspect, embodiments of the present invention provide an alarm control method, wherein the method is applied to a microprocessor of a refrigerant gas alarm, the microprocessor being communicatively connected to a first air pump, a second air pump, a three-way valve, an infrared light source, an operational amplifier, and a relay configured in the refrigerant gas alarm to achieve data information transmission, the method comprising:
[0010] Upon receiving the start command, determine whether the first current of the first air pump and the second current of the second air pump meet the preset start conditions.
[0011] If the start-up conditions are met, control commands are sent to the first air pump, the second air pump, and the three-way valve according to the preset alternating control strategy, so that the two air pumps work alternately and the three-way valve is controlled synchronously to adjust the conduction direction.
[0012] The detection value detected by the operational amplifier is obtained and it is determined whether the preset alarm conditions are met.
[0013] If the alarm conditions are met, a pull-in control command is sent to the relay to control the relay to pull in and cause the alarm prompt component to conduct and issue an alarm prompt message.
[0014] Secondly, embodiments of the present invention also provide a refrigerant gas alarm, wherein the refrigerant gas alarm includes a housing and a first air pump, a second air pump, a three-way valve, a gas chamber, an alarm indication component, a relay, an adapter plate, and buttons disposed within the housing;
[0015] The air inlet of the first air pump is connected to a first air inlet pipe, which extends downward from the outer casing; the air inlet of the second air pump is connected to a second air inlet pipe, which extends downward from the outer casing, and the length of the first air inlet pipe extending downward is greater than the length of the second air inlet pipe extending downward.
[0016] The outlet of the first air pump is connected to one inlet of the three-way valve through a first air outlet pipe; the outlet of the second air pump is connected to the other inlet of the three-way valve through a second air outlet pipe; and the outlet of the three-way valve is connected to the air inlet connector of the air chamber through an air chamber inlet pipe.
[0017] An infrared light source and an infrared detector are respectively disposed on two opposite side walls of the air chamber; the inner wall of the air chamber away from the air inlet is provided with a waterproof and breathable membrane; an operational amplifier is electrically connected to the infrared detector; the infrared light source, the operational amplifier, the alarm indicator component, the button, the first air pump, the second air pump, and the three-way valve are respectively electrically connected to the main control board; the microprocessor is disposed on the main control board; and the relay is electrically connected to the main control board through an adapter board.
[0018] The microprocessor is used to execute the alarm control method as described in the first aspect above.
[0019] Thirdly, embodiments of the present invention also provide a computer device, wherein the device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0020] Memory, used to store computer programs;
[0021] When the processor executes the program stored in the memory, it implements the steps of the alarm control method described in the first aspect above.
[0022] Fourthly, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the alarm control method as described in the first aspect above.
[0023] This invention provides a refrigerant gas alarm and its alarm control method. The method includes: receiving a start command; determining whether the first current of the first air pump and the second current of the second air pump meet preset start conditions; if the start conditions are met, sending control commands to the first air pump, the second air pump, and the three-way valve according to a preset alternating control strategy, so that the two air pumps work alternately and synchronously control the three-way valve to adjust its conduction direction; acquiring the detection value detected by the operational amplifier and determining whether it meets preset alarm conditions; if the alarm conditions are met, sending a pull-in control command to the relay to control the relay to pull in and cause the alarm prompt component to conduct and issue an alarm prompt message. The above method, through alternating control, allows gas from different locations to be delivered to the gas chamber for detection via the first and second air pumps, achieving alternating detection of refrigerant concentration near the alarm and near the ground, and quickly and accurately detecting whether refrigerant leakage has occurred. Attached Figure Description
[0024] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 This is a flowchart of an alarm control method provided in an embodiment of the present invention;
[0026] Figure 2 This is a schematic diagram illustrating an application scenario of the alarm control method provided in an embodiment of the present invention;
[0027] Figure 3 A structural diagram of the refrigerant gas alarm device provided in an embodiment of the present invention;
[0028] Figure 4 This is a schematic block diagram of a computer device provided in an embodiment of the present invention;
[0029] Figure labels: 1. Outer casing; 11. First filter; 12. First air inlet pipe; 15. First air outlet pipe; 16. First air pump; 17. First one-way valve; 21. Second filter; 22. Second air inlet pipe; 23. Second air pump; 24. Second air outlet pipe; 25. Second one-way valve; 31. Three-way valve; 32. Air chamber inlet pipe; 41. Air inlet connector; 42. Air chamber; 43. Infrared light source; 44. Infrared detector; 45. Operational amplifier; 51. Three-color indicator light; 61. Buzzer; 71. Relay; 72. Adapter board; 81. Button; 9. Main control board; 91. Microprocessor. Detailed Implementation
[0030] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0031] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0032] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0033] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0034] Please see Figure 1 As shown in the figure, an embodiment of this invention provides an alarm control method. This method is applied in a microprocessor 91 and is executed by application software installed in the microprocessor 91, such as... Figure 2As shown, the microprocessor 91 communicates with the first air pump 16, the second air pump 23, the three-way valve 31, the infrared light source 43, the operational amplifier 45, and the relay 71 configured in the refrigerant gas alarm to transmit data information. The alarm is installed on a wall at a certain height (e.g., 1.5 meters above the ground). The first air pump 16 is used to extract gas near the ground and deliver it to the gas chamber 42, and the second air pump 23 is used to extract gas near the alarm and deliver it to the gas chamber 42. The alarm is installed on a wall at a certain height. An infrared light source 43 and an infrared detector 44 are installed in the gas chamber 42. The concentration of refrigerant in the gas chamber 42 affects the intensity of infrared light propagating to the infrared detector. The infrared detector 44 detects the intensity of infrared light to obtain a detection signal; the detection signal is input to the operational amplifier 45 to obtain the corresponding detection value. Relay 71 receives control commands from microprocessor 91 and controls the on / off state of the circuit corresponding to the alarm component. When relay 71 is energized, it connects the circuit corresponding to the alarm component, powering it on. When relay 71 is reset, it disconnects the circuit, disabling the alarm component. Microprocessor 91 can be a component with data processing and command transmission / reception capabilities, such as an MCU chip or FPGA chip. The power input section consists of a DC-DC step-down converter, an LDO circuit, a power and communication interface, and a relay interface. It supplies power to all circuits, receives air conditioning cooling signals, outputs alarm signals, and reports the current status.
[0035] like Figure 1 As shown, the method includes steps S110 to S140.
[0036] S110. Receive the start command and determine whether the first current of the first air pump and the second current of the second air pump meet the preset start conditions.
[0037] If the microprocessor receives a start command, it executes a self-test program. Upon receiving the air conditioner cooling signal, the power input section outputs a start command to the microprocessor. When the first and second air pumps are powered on simultaneously, the microprocessor obtains the first current of the first air pump and the second current of the second air pump, and determines whether the first and second currents meet the preset start conditions.
[0038] In a specific embodiment, step S110 includes the following sub-steps: determining whether the first current and the second current are both within the current judgment interval of the start-up condition; if the first current and the second current are both within the current judgment interval, determining that the start-up condition is met; if the first current or the second current is not within the current judgment interval, determining that the start-up condition is not met.
[0039] If the motor inside the air pump malfunctions, the corresponding current value will also be abnormal. Since the air pumps need to run alternately in subsequent steps, to improve the reliability of air pump operation and avoid continuing subsequent testing steps if an air pump malfunctions, it can be determined whether the first current of the first air pump and the second current of the second air pump are both within the current judgment interval specified in the starting conditions. The lower limit of the current judgment interval is set to a value greater than zero, and the upper limit is set to the motor's stall current. If the air pump current is less than the lower limit of the current judgment interval, it indicates that the air pump circuit may be open; if the air pump current is greater than the upper limit of the current judgment interval, it indicates that the air pump motor may be stuck.
[0040] If both the first current and the second current are within the current judgment interval, the starting condition is determined to be met; if they are not both within the current judgment interval, the starting condition is determined not to be met.
[0041] S120. If the starting conditions are met, control commands are sent to the first air pump, the second air pump, and the three-way valve according to a preset alternating control strategy, so that the two air pumps work alternately and the three-way valve is controlled synchronously to adjust the conduction direction.
[0042] Furthermore, if the start-up conditions are met, control commands are sent to the first air pump, the second air pump, and the three-way valve according to the alternating control strategy, causing the two air pumps to operate alternately. Simultaneously, the three-way valve is controlled to adjust its conduction direction. The three-way valve has two inlets and one outlet, so at any given time, it can only control one inlet to be open, enabling airflow between one inlet and one outlet. If the first air pump is operating, the three-way valve adjusts its conduction direction to open the pipeline for the first air pump; if the second air pump is operating, the three-way valve adjusts its conduction direction to open the pipeline for the second air pump. If the start-up conditions are not met, the step of controlling the alternating operation of the two air pumps is not executed.
[0043] In a specific embodiment, before sending control commands to the first air pump, the second air pump, and the three-way valve according to a preset alternating control strategy, the method further includes: determining whether the resistance detection current of the infrared light source is within a preset current detection range; obtaining the initial value detected by the operational amplifier and determining whether the initial value is within a preset signal range; if the resistance detection current is within the current detection range and the initial value is within the signal range, then executing the step of sending control commands to the first air pump, the second air pump, and the three-way valve according to the preset alternating control strategy.
[0044] Specifically, to further improve the reliability of the alarm, before controlling the two air pumps to work alternately, the resistance detection current of the infrared light source can be obtained. This resistance detection current can be obtained by detecting the sampling resistance when the infrared light source is lit, and it can be determined whether the resistance detection current is within a preset current detection range. If the resistance detection current is within the current detection range, it indicates that the infrared light source is working normally and is not damaged; if the resistance detection current is not within the current detection range, it indicates that the infrared light source is malfunctioning or damaged.
[0045] The initial value detected by the operational amplifier is then obtained, and it is determined whether the initial value is within the preset signal range. Since neither the first nor the second air pump is running at this time, and the air chamber is filled with ordinary air, the initial value detected by the operational amplifier should be equivalent to the refrigerant concentration of the detected ordinary air. Therefore, the signal range can be set accordingly based on the refrigerant concentration of the detected ordinary air. For example, if the refrigerant concentration of the detected ordinary air is 0.1 mg / m³... 3 The signal range can then be set to [0, 0.5], with the unit also being mg / m³. 3 .
[0046] If the initial value is within the signal range, it indicates that there is no difference in the detected initial value; if the initial value is not within the signal range, it indicates that there is a difference in the detected initial value.
[0047] If the resistance-detected current is within the current detection range and the initial value is within the signal range, the subsequent steps can be executed. If the resistance-detected current is not within the current detection range, or the initial value is not within the signal range, it indicates that the alarm is malfunctioning; in this case, the subsequent steps should not be executed, and a restart command can be issued to restart the alarm.
[0048] In a specific embodiment, step S120 includes the following sub-steps: sending an opening command to the first air pump and simultaneously sending a first conduction command to the three-way valve, so that the three-way valve conducts the pipeline connected to the first air pump; if a first cycle time set in the alternating control strategy elapses after the opening command is sent, sending a closing command to the first air pump; sending an opening command to the second air pump and simultaneously sending a second conduction command to the three-way valve, so that the three-way valve conducts the pipeline connected to the second air pump; if a first cycle time set in the alternating control strategy elapses after the opening command is sent, sending a closing command to the second air pump, and returning to execute the step of sending an opening command to the first air pump and simultaneously sending a first conduction command to the three-way valve.
[0049] Specifically, after determining that both air pumps meet the start-up conditions, they are in a non-operating state. At this time, an start command can be sent to the first air pump, and simultaneously a first conduction command can be sent to the three-way valve. The three-way valve then conducts the flow through the pipeline connected to the first air pump. The first air pump extracts gas from the ground area and delivers it to the air chamber through the pipeline connected to the first air pump and the three-way valve. At this time, the air chamber can detect the refrigerant concentration in the ground area. If an start command is sent, and after the first cycle time has elapsed, a stop command can be sent to the first air pump, at which point the first air pump stops operating.
[0050] Afterwards, an activation command is sent to the second air pump, and a second conduction command is sent to the three-way valve. The three-way valve then conducts the pipeline connected to the second air pump. The second air pump draws gas from the vicinity of the alarm and delivers it to the gas chamber through the pipeline connected to the second air pump and the three-way valve. At this time, the gas chamber can detect the refrigerant concentration near the alarm. After sending the activation command and waiting for the second cycle time, a shutdown command can be sent to the second air pump. If no refrigerant leak is detected, the above steps of alternately activating the two air pumps are repeated. The second cycle time can be equal to or different from the first cycle time. The total duration of one detection cycle is S = T1 + T2, where T1 is the first cycle time and T2 is the second cycle time. Since the pipeline of the first air pump is longer, T1 can be set to > T2 during time application.
[0051] S130. Obtain the detection value detected by the operational amplifier and determine whether the preset alarm conditions are met.
[0052] The detection value obtained from the operational amplifier is acquired. The acquired detection value is the refrigerant concentration in the ground area or the refrigerant concentration near the alarm. It can be determined whether the detection value meets the alarm conditions.
[0053] In a specific embodiment, step S130 includes the following sub-steps: determining whether the detected value exceeds the alarm threshold in the alarm conditions; if the detected value does not exceed the alarm threshold, determining whether the mutation amount corresponding to the detected value exceeds the mutation amount threshold in the alarm conditions; if the detected value exceeds the alarm threshold or the mutation amount exceeds the mutation amount threshold, determining that the alarm conditions are met; if the mutation amount does not exceed the mutation amount threshold, determining that the alarm conditions are not met.
[0054] Specifically, it can be determined whether the detected value exceeds the alarm threshold set in the alarm conditions. The alarm threshold is the concentration threshold corresponding to refrigerant leakage. If the detected value does not exceed the alarm threshold, it can be further determined whether the change in the detected value exceeds the change threshold in the alarm conditions. The change is the difference between the current detected value and the previous detected value. If the current detected value increases significantly compared to the previous detected value, the change exceeds the change threshold, indicating a significant increase in refrigerant leakage, thus meeting the alarm conditions. The change threshold can be set to a value less than the alarm threshold. For example, if the alarm threshold is set to P0, the change threshold can be set to P0 / 2 or P0 / 3.
[0055] If the detected value exceeds the alarm threshold, or the change in the detected value exceeds the change threshold, the alarm condition is deemed met. If the detected value does not exceed the alarm threshold, and the change in the detected value does not exceed the change threshold, the alarm condition is deemed not met.
[0056] S140. If the alarm conditions are met, a pull-in control command is sent to the relay to control the relay to pull in and cause the alarm prompt component to conduct and issue an alarm prompt message.
[0057] If the alarm conditions are met, a energizing control command is sent to the relay, which then energizes according to the command. The relay is connected in series in the circuit of the alarm indicator component; when the relay is energized, the alarm indicator component is powered on and issues an alarm message. After sending the energizing control command to the relay, the microcontroller can send shutdown commands to the first and second air pumps respectively to stop both pumps from operating.
[0058] The alarm prompt components include a three-color indicator light and a buzzer. When the relay is activated, the three-color indicator light will flash red, and the buzzer will sound an alarm at the same time.
[0059] In a specific embodiment, the microprocessor also communicates with the button configured in the refrigerant gas alarm. After step S140, the step further includes: if a button command is received from the button, a reset control command is sent to the relay to control the relay to reset and disconnect the electrical connection of the alarm prompt component.
[0060] Furthermore, the alarm is equipped with buttons. Users can press these buttons to generate a command, which is then sent to the microprocessor. Upon receiving this command, the microprocessor performs a reset operation, allowing users to manually reset the device by pressing the button. When the microprocessor receives the command from the button, it sends a reset control command to the relay. This resets the relay and disconnects the electrical connection to the alarm indicator component, preventing it from issuing any alarm messages.
[0061] In a specific embodiment, after sending the reset control command to the relay, the method further includes: returning to the step of determining whether the first current of the first air pump and the second current of the second air pump meet the preset start-up conditions.
[0062] After the microprocessor sends a reset control command to the relay, the microprocessor can execute the above step S110 again to realize the automatic execution of the self-test program after reset, and realize the cyclic detection of refrigerant concentration.
[0063] The alarm control method disclosed in the above embodiments includes: receiving a start command; determining whether the first current of the first air pump and the second current of the second air pump meet preset start conditions; if the start conditions are met, sending a control command to the first air pump, the second air pump, and the three-way valve according to a preset alternating control strategy, so that the two air pumps work alternately and synchronously control the three-way valve to adjust the conduction direction; acquiring the detection value detected by the operational amplifier and determining whether it meets preset alarm conditions; if the alarm conditions are met, sending a pull-in control command to the relay, so as to control the relay to pull in and cause the alarm prompt component to conduct and issue an alarm prompt message. The above method, through alternating control, allows gas from different locations to be delivered to the gas chamber for detection via the first and second air pumps, achieving alternating detection of refrigerant concentration near the alarm and near the ground, and quickly and accurately detecting whether refrigerant leakage has occurred.
[0064] This invention also provides a refrigerant gas alarm, such as... Figure 2 and Figure 3As shown, the refrigerant gas alarm includes a housing 1 and a first air pump 16, a second air pump 23, a three-way valve 31, a gas chamber 42, an alarm indicator component, a relay 71, an adapter plate 72, and a button 81 disposed within the housing 1. The air inlet of the first air pump 16 is connected to a first air inlet pipe 12, which extends downward from the housing. The air inlet of the second air pump 23 is connected to a second air inlet pipe 22, which extends downward from the housing, and the length of the first air inlet pipe 12 is greater than the length of the second air inlet pipe 22. The air outlet of the first air pump 16 is connected to one inlet of the three-way valve 31 via a first air outlet pipe 15. The air outlet of the second air pump 23 is connected to the other inlet of the three-way valve 31 via a second air outlet pipe 24. The outlet of the three-way valve 31 is connected to the air inlet connector 41 of the air chamber 42 through the air inlet pipe 32; the infrared light source 43 and the infrared detector 44 are respectively disposed on two opposite side walls of the air chamber 42; the inner wall of the air chamber 42 away from the air inlet connector 41 is provided with a waterproof and breathable membrane; the operational amplifier 45 is electrically connected to the infrared detector 44; the infrared light source 43, the operational amplifier 45, the alarm prompt component, the button 81, the first air pump 16, the second air pump 23 and the three-way valve 31 are respectively electrically connected to the main control board 9; the microprocessor 91 is disposed on the main control board 9; the relay 71 is electrically connected to the main control board 9 through the adapter board 72; the microprocessor 91 is used to execute the alarm control method as described in the above embodiments.
[0065] In a more specific embodiment, a first one-way valve 17 and a second one-way valve 25 are respectively provided at the two inlets of the three-way valve 31; a first filter 11 and a second filter 21 are respectively provided at the end of the first air intake pipe 12 and the end of the second air intake pipe 22. The alarm indicator component includes a three-color indicator light 51 and a buzzer 61.
[0066] During operation, the power input section provides a stable voltage. The microprocessor 91 controls the infrared light source 43 to modulate the operation and simultaneously detects the output voltage of the infrared detector 44 after passing through the operational amplifier 45. The output voltage of the infrared detector 44 decreases as the refrigerant concentration increases. The microprocessor 91 controls the operation of the first air pump 16 and the duration of the first air pump 16's pipeline being open is T1. The refrigerant concentration detected within T1 is determined to be the refrigerant concentration at the inlet of the first air intake pipe 12 connected to the first air pump 16. After T1, the first air pump 16 is turned off, the second air pump 23 is turned on, and the pipeline of the first air pump 16 is opened. The second air pump 23 operates for T2. The refrigerant concentration detected within T2 is the refrigerant concentration at the inlet of the second air intake pipe 22 connected to the second air pump 23. The detection cycle S = T1 + T2. Within one detection cycle, the refrigerant concentration near the alarm and near the ground can be detected simultaneously, achieving the purpose of quickly and accurately detecting refrigerant leaks.
[0067] like Figure 3 As shown, during the T1 time period of the detection cycle, the second air pump 23 stops running and the first air pump 16 starts working; at this time, air passes through the first filter 11, the first air inlet pipe 12, the first air pump 16, the first air outlet pipe 15, the first one-way valve 17, the three-way valve 31, the air chamber inlet pipe 32, and the air inlet connector 41 to enter the air chamber 42, and the gas in the air chamber 42 is discharged through the waterproof and breathable membrane. At this time, the second one-way valve 25 is closed, the pipeline corresponding to the second air pump 23 is sealed, and gas will not flow out through the second one-way valve 25. All the gas delivered by the first air pump 16 enters the gas chamber 42. After the gas fills the gas chamber 42, it is discharged from the rear waterproof and breathable membrane. At this time, the refrigerant concentration detected is the concentration at the inlet of the first air inlet pipe 12 connected to the first air pump 16. During the T2 time period of the detection cycle, the first air pump 16 stops running, and the second air pump 23 starts working. At this time, air passes through the second filter 21, the second air inlet pipe 22, the second air pump 23, the second air outlet pipe 24, the second one-way valve 25, the three-way valve 31, the gas chamber inlet pipe 32, and the inlet connector 41 to enter the gas chamber 42. After the gas fills the gas chamber 42, it is discharged from the rear waterproof and breathable membrane. At this time, the refrigerant concentration detected is the concentration at the inlet of the second air inlet pipe 22 connected to the second air pump 23. Therefore, setting the first one-way valve 17 and the second one-way valve 25 can prevent the phenomenon of gas backflow, thereby improving the accuracy and reliability of the detection. The first filter 11 and the second filter 21 are set to filter particulate matter in the gas to prevent particulate matter from entering the gas chamber 42 and affecting the detection accuracy, or even causing the alarm to be damaged.
[0068] The tri-color indicator light 51 consists of a green LED indicator, a yellow LED indicator, and a red LED indicator. The green, yellow, and red LED indicators respectively indicate the alarm's normal operation, lifespan / self-test, and refrigerant leak alarm status. The buzzer 61 can emit a warning sound greater than 75dB and less than 115dB at a distance of 1m when there is a refrigerant leak. The relay 71 is placed on its side and connected to the main control board 9 via the adapter board 72, which can effectively reduce the thickness of the outer casing 1, making the product more space-saving and aesthetically pleasing. The button 81 can realize manual reset or self-test functions when the high concentration alarm is cleared.
[0069] The refrigerant gas alarm provided in this embodiment of the invention applies the above-described alarm control method. It receives a start command and determines whether the first current of the first pump and the second current of the second pump meet preset start conditions. If the start conditions are met, a control command is sent to the first pump, the second pump, and the three-way valve according to a preset alternating control strategy, so that the two pumps work alternately and the three-way valve is synchronously controlled to adjust its conduction direction. The detection value detected by the operational amplifier is acquired and it is determined whether the preset alarm conditions are met. If the alarm conditions are met, a pull-in control command is sent to the relay to control the relay to pull in and cause the alarm prompt component to conduct and issue an alarm prompt message. This method, through alternating control, allows gas from different locations to be delivered to the gas chamber for detection via the first and second pumps, achieving alternating detection of refrigerant concentration near the alarm and near the ground, and quickly and accurately detecting whether refrigerant leakage has occurred.
[0070] The above-mentioned alarm control method can be implemented as a computer program, which can be used in, for example... Figure 4 It runs on the computer device shown.
[0071] Please see Figure 4 , Figure 4 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. The computer device may be a microprocessor used to execute an alarm control method to control a refrigerant gas alarm.
[0072] See Figure 4 The computer device 500 includes a processor 502, a memory, and a communication interface 505 connected via a communication bus 501. The memory may include a storage medium 503 and internal memory 504.
[0073] The storage medium 503 may store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, it causes the processor 502 to execute an alarm control method. The storage medium 503 may be a volatile storage medium or a non-volatile storage medium.
[0074] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.
[0075] The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute an alarm control method.
[0076] This communication interface 505 is used for network communication, such as providing data transmission. Those skilled in the art will understand that... Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the computer device 500 to which the present invention is applied. The specific computer device 500 may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0077] The processor 502 is used to run the computer program 5032 stored in the memory to implement the corresponding functions in the alarm control method described above.
[0078] Those skilled in the art will understand that Figure 4 The embodiments of the computer device shown do not constitute a limitation on the specific configuration of the computer device. In other embodiments, the computer device may include more or fewer components than illustrated, or combine certain components, or have different component arrangements. For example, in some embodiments, the computer device may include only memory and a processor. In such embodiments, the structure and function of the memory and processor are different from those shown. Figure 4 The embodiments shown are consistent and will not be repeated here.
[0079] It should be understood that, in this embodiment of the invention, the processor 502 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0080] In another embodiment of the invention, a computer-readable storage medium is provided. This computer-readable storage medium may be volatile or non-volatile. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps included in the alarm control method described above.
[0081] Those skilled in the art will readily understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention.
[0082] In the embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Units with the same function may be grouped into one unit. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, or it may be an electrical, mechanical, or other form of connection.
[0083] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of the present invention, depending on actual needs.
[0084] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0085] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a computer-readable storage medium and includes several instructions to cause a computer device to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned computer-readable storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks.
[0086] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. An alarm control method characterized by comprising: The method is applied to a microprocessor of a refrigerant gas alarm, and the microprocessor is in communication connection with a first air pump, a second air pump, a three-way valve, an infrared light source, an operational amplifier and a relay arranged in the refrigerant gas alarm respectively to realize transmission of data information; the method comprises: receiving a starting instruction, judging whether a first current of the first air pump and a second current of the second air pump satisfy a preset starting condition; if the starting condition is satisfied, sending a control instruction to the first air pump, the second air pump and the three-way valve according to a preset alternating control strategy, so that the two air pumps work alternately and the three-way valve is controlled synchronously to adjust a conduction direction; obtaining a detection value detected by the operational amplifier and judging whether a preset alarm condition is satisfied; if the alarm condition is satisfied, sending a suction control instruction to the relay to control the relay to be attracted and make a warning prompt component conductive to issue a warning prompt information; the judgment whether the first current of the first air pump and the second current of the second air pump satisfy the preset starting condition comprises: judging whether the first current and the second current are both located in a current judgment interval in the starting condition; if the first current and the second current are both located in the current judgment interval, it is determined that the starting condition is satisfied; if the first current or the second current is not located in the current judgment interval, it is determined that the starting condition is not satisfied; the obtaining of the detection value detected by the operational amplifier and the judgment whether the preset alarm condition is satisfied comprise: judging whether the detection value exceeds an alarm threshold value in the alarm condition; if the detection value does not exceed the alarm threshold value, judging whether a mutation variable corresponding to the detection value exceeds a mutation variable threshold value in the alarm condition; if the detection value exceeds the alarm threshold value or the mutation variable exceeds the mutation variable threshold value, it is determined that the alarm condition is satisfied; if the mutation variable does not exceed the mutation variable threshold value, it is determined that the alarm condition is not satisfied; the sending of the control instruction to the first air pump, the second air pump and the three-way valve according to the preset alternating control strategy comprises: sending an opening instruction to the first air pump and synchronously sending a first conduction instruction to the three-way valve, so that the three-way valve conducts a pipeline connected with the first air pump; if the opening instruction is sent and a first cycle time set in the alternating control strategy elapses, a closing instruction is sent to the first air pump; sending an opening instruction to the second air pump and synchronously sending a second conduction instruction to the three-way valve, so that the three-way valve conducts a pipeline connected with the second air pump; if the opening instruction is sent and a first cycle time set in the alternating control strategy elapses, a closing instruction is sent to the second air pump, and the step of sending the opening instruction to the first air pump and synchronously sending the first conduction instruction to the three-way valve is executed again.
2. The alarm control method according to claim 1, characterized by, before the sending of the control instruction to the first air pump, the second air pump and the three-way valve according to the preset alternating control strategy, the method further comprises: judging whether a resistance detection current of the infrared light source is located in a preset current detection interval; acquire the initial value detected by the operational amplifier and determine whether the initial value is in a preset signal interval; if the resistance detection current is in the current detection interval and the initial value is in the signal interval, execute the step of sending a control instruction to the first air pump, the second air pump and the three-way valve according to the preset alternating control strategy.
3. The alarm control method according to claim 1, characterized by, The microprocessor is also in communication connection with a button arranged in the refrigerant gas alarm, and after sending the suction control instruction to the relay, the method further comprises: if a button instruction is received from the button, a reset control instruction is sent to the relay to control the relay to reset and disconnect the electrical connection of the alarm prompting assembly.
4. The alarm control method according to claim 3, characterized by After sending the reset control instruction to the relay, the method further comprises: returning to the step of determining whether the first current of the first air pump and the second current of the second air pump satisfy a preset starting condition.
5. A refrigerant gas alarm characterized by comprising: The refrigerant gas alarm comprises a shell and a first air pump, a second air pump, a three-way valve, a gas chamber, an alarm prompting assembly, a relay, a relay board and a button arranged in the shell; The air inlet of the first air pump is connected to a first air inlet pipe, and the first air inlet pipe extends downward from the shell; the air inlet of the second air pump is connected to a second air inlet pipe, and the second air inlet pipe extends downward from the shell, and the length of the first air inlet pipe extending downward is greater than the length of the second air inlet pipe extending downward; The air outlet of the first air pump is connected to one inlet of the three-way valve through a first air outlet pipe; the air outlet of the second air pump is connected to another inlet of the three-way valve through a second air outlet pipe, and the outlet of the three-way valve is connected to an air inlet connector of the gas chamber through a gas chamber air inlet pipe; An infrared light source and an infrared detector are arranged on opposite side walls of the gas chamber; a waterproof air permeable film is arranged on the inner wall of the side of the gas chamber away from the air inlet connector; an operational amplifier is electrically connected to the infrared detector; the infrared light source, the operational amplifier, the alarm prompting assembly, the button, the first air pump, the second air pump and the three-way valve are electrically connected to a main control board; the microprocessor is arranged on the main control board, and the relay is electrically connected to the main control board through the relay board; The microprocessor is used to execute the alarm control method according to any one of claims 1-4.
6. The refrigerant gas alarm of claim 5, wherein, First and second one-way valves are arranged at the two inlets of the three-way valve, respectively; First and second filters are arranged at the ends of the first and second air inlet pipes, respectively.
7. The refrigerant gas alarm of claim 5, wherein, The alarm prompting assembly comprises a three-color indicator light and a buzzer. The alarm prompting assembly comprises a three-color indicator light and a buzzer.
Citation Information
Patent Citations
Control device and air conditioning equipment
CN116202181A
Driving system and method of ultrasonic air pump
CN120650194A