Refrigerant leakage detection circuit, control method and heat exchange equipment

By connecting the sensor status feedback pin to the reset pin of the main control chip in the refrigerant leakage detection circuit, and controlling the reset using a controllable switch, the problem caused by the inability to effectively deal with the main control chip or main control program in the prior art is solved. Exception improves detection accuracy and user security.

CN119469579APending Publication Date: 2025-02-18GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411454042.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing refrigerant leakage detection circuit only automatically resets the sensor after detecting an abnormality. The abnormality caused by problems with the main control chip or main control program cannot be effectively solved.

Method used

A refrigerant leakage detection circuit is designed. By connecting the sensor status feedback pin to the reset pin of the main control chip, the controllable switch is used to control the reset of the sensor and main control chip to ensure that when an abnormality is detected, the sensor and main control are controlled. All chips are reset to resolve abnormal detection results caused by failures.

Benefits of technology

It effectively solves abnormal detection results caused by sensor failure and main control chip failure, avoids false detection, improves detection accuracy, and can shut down the machine in time when refrigerant leaks, ensuring user safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119469579A_ABST
    Figure CN119469579A_ABST
Patent Text Reader

Abstract

The invention discloses a refrigerant leakage detection circuit, a control method and heat exchange equipment. The circuit comprises a sensor used for detecting the concentration of a refrigerant; the main control chip is used for receiving the refrigerant concentration and judging whether the main control chip is abnormal or not according to the refrigerant concentration and / or the duration when the refrigerant concentration is not received, and the main control chip further comprises a sensor reset pin used for controlling a sensor to reset; the sensor state feedback pin is used for feeding back whether preheating of the sensor is completed or not; the chip reset pin is used for controlling the reset of the main control chip; the first end of the controllable switch is connected with the sensor state feedback pin, the second end of the controllable switch is connected with the chip reset pin, the control end of the controllable switch is connected with the switch control pin of the main control chip, and the controllable switch is used for controlling whether the sensor state feedback pin and the chip reset pin are conducted or not. According to the invention, abnormal detection results caused by sensor faults and main control chip faults can be solved, false detection is avoided, and the detection accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic circuits, and in particular to a refrigerant leakage detection circuit, a control method and a heat exchange device. Background Art

[0002] With the improvement of people's living standards and the needs of industrialization, various heat exchange equipment (such as air conditioners) are widely used. Heat exchange equipment generally requires refrigerants. In recent years, with the strengthening of environmental awareness and the improvement of various standards, new refrigerants are increasingly used in actual air conditioning products. New refrigerants such as R290 have excellent properties and are also environmentally friendly, but they are flammable and explosive. Therefore, in actual use, air conditioning heat exchange equipment using new refrigerants needs to be equipped with sensors to detect whether the refrigerant is leaking. If the refrigerant leaks, certain measures must be taken to recycle the refrigerant and alarm the user to avoid danger. Therefore, the accuracy of refrigerant leakage detection is very important. Since the refrigerant leakage detection requires the participation of the main control chip program, if the main control chip detects an abnormality, it may not be caused by a problem with the sensor itself, but may also be caused by a problem with the main control chip or the main control program. The existing refrigerant leakage detection circuit only automatically resets the sensor after detecting the abnormality, and cannot effectively solve the abnormality caused by the main control chip or the main control program.

[0003] In view of the problem that the refrigerant leakage detection circuit in the prior art only automatically resets the sensor after detecting an abnormality, and cannot effectively solve the abnormality caused by the main control chip or the main control program problem, no effective solution has been proposed yet. Summary of the invention

[0004] A refrigerant leakage detection circuit, a control method and a heat exchange device are provided in the embodiments of the present invention to solve the problem that the refrigerant leakage detection circuit in the prior art only automatically resets the sensor after detecting an abnormality, and cannot effectively solve the abnormality caused by the main control chip or the main control program problem.

[0005] In order to solve the above technical problems, the present invention provides a refrigerant leakage detection circuit, which includes:

[0006] Sensor for detecting refrigerant concentration;

[0007] A main control chip is used to receive the refrigerant concentration and determine whether the main control chip detects an abnormality according to the refrigerant concentration and / or the duration of the non-receiving of the refrigerant concentration, and the main control chip includes:

[0008] A sensor reset pin, connected to the sensor, and used to control the sensor reset;

[0009] A sensor status feedback pin, used to provide feedback on whether the preheating of the sensor is completed;

[0010] A chip reset pin, used to control the reset of the main control chip;

[0011] A controllable switch, wherein a first end thereof is connected to the sensor state feedback pin, a second end thereof is connected to the chip reset pin, and a control end thereof is connected to the switch control pin of the main control chip, wherein the controllable switch is used to control whether the sensor state feedback pin and the chip reset pin are conductive.

[0012] Furthermore, the main control chip also includes:

[0013] The memory module is used to accumulate and store the number of times the main control chip detects anomalies.

[0014] Furthermore, the circuit further comprises:

[0015] A first power supply, whose positive terminal is connected to the positive power supply of the main control chip, and whose negative terminal is connected to the negative power supply of the main control chip, is used to supply power to the main control chip;

[0016] A capacitor, a first end of which is connected to the positive power supply of the main control chip, and a second end of which is connected to the chip reset pin;

[0017] A resistor, a first end of which is connected to the negative power supply electrode of the main control chip, and a second end of which is connected to the chip reset pin.

[0018] Furthermore, the circuit further comprises:

[0019] A communication line, a first end of which is connected to the sensor, and a second end of which is connected to the main control chip, is used to transmit the refrigerant concentration detected by the sensor to the main control chip.

[0020] Furthermore, the circuit further comprises:

[0021] A second power supply, whose positive terminal is connected to the positive pole of the power supply of the sensor, and whose negative terminal is connected to the negative pole of the power supply of the sensor, is used to supply power to the sensor.

[0022] The present invention also provides a heat exchange device, comprising the above-mentioned refrigerant leakage detection circuit.

[0023] Furthermore, the heat exchange equipment includes at least one of the following: an air conditioner, a cold water heat exchange equipment, and an air source water heater.

[0024] The present invention further provides a control method, which is applied to the refrigerant leakage detection circuit according to any one of claims 1 to 5, characterized in that the control method comprises:

[0025] Control the controllable switch to disconnect, and at the same time control the sensor to reset and complete preheating, and then start to obtain the refrigerant concentration detected by the sensor;

[0026] Determining whether the main control chip detects an abnormality according to the refrigerant concentration detected by the sensor and / or the duration of not receiving the refrigerant concentration;

[0027] After the main control chip detects an abnormality, the controllable switch is controlled to close, and then the sensor is controlled to reset, so that the sensor starts to preheat and the main control chip is controlled to reset.

[0028] Furthermore, after the main control chip detects an abnormality, the control method further includes:

[0029] Determine whether the number of times the main control chip detects an abnormality exceeds a preset number;

[0030] If not, triggering the control sensor reset, so that the sensor starts to preheat and controls the main control chip to reset;

[0031] If yes, the heat exchange equipment is controlled to shut down and the refrigerant is recovered.

[0032] Further, judging whether the main control chip detects an abnormality according to the refrigerant concentration detected by the sensor and / or the duration of not receiving the refrigerant concentration includes:

[0033] Determine whether the refrigerant concentration detected by the sensor is greater than a preset threshold, and / or whether the duration of not receiving the refrigerant concentration exceeds a preset duration;

[0034] If yes, it is determined that the main control chip detects an abnormality;

[0035] If not, it is determined that the main control chip has not detected any abnormality, and then the heat exchange device is controlled to operate normally and the number of times the main control chip detects abnormalities is reset to zero.

[0036] The present invention also provides a computer-readable storage medium on which a computer program is stored, and the program implements the above control method when executed by a processor.

[0037] The present invention also provides an electronic device, comprising:

[0038] one or more processors;

[0039] The storage device is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned control method.

[0040] By applying the technical solution of the present invention, the sensor state feedback pin is connected to the chip reset pin through a controllable switch. After the main control chip detects an abnormality, the controllable switch is controlled to be turned on, the sensor is reset and starts preheating. During preheating, the sensor state feedback pin feeds back a high level. Since the reset pin of the main control chip is connected to the sensor state feedback pin, the reset pin of the main control chip also becomes a high level, so that the main control chip is automatically reset, which effectively solves the abnormal detection result caused by sensor failure and main control chip failure, avoids false detection, and improves detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a structural diagram of an existing refrigerant leakage detection circuit;

[0042] Figure 2 is a structural diagram of a refrigerant leakage detection circuit according to an embodiment of the present invention;

[0043] Figure 3 is a flow chart of a control method according to an embodiment of the present invention;

[0044] Figure 4 is a flow chart of a control method according to another embodiment of the present invention;

[0045] Figure 5 FIG. 4 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two.

[0048] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0049] It should be understood that although the terms first, second, etc. may be used to describe power sources in the embodiments of the present invention, these terms should not be limited to these terms. These terms are only used to distinguish different power sources. For example, without departing from the scope of the embodiments of the present invention, the first power source may also be referred to as the second power source, and similarly, the second power source may also be referred to as the first power source.

[0050] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0051] It should also be noted that the term "includes", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the commodity or device including the elements.

[0052] The optional embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0053] Example 1

[0054] In the prior art, sensor fault detection requires the main control chip program to participate in the judgment and report. If it is detected that the fault conditions are met, it is not necessarily a problem with the sensor itself, but it may also be a problem with the main control program. For example, due to accidental interference, the main control program communication pin control is abnormal and cannot receive the refrigerant concentration data normally. At this time, if it is judged that the refrigerant concentration data cannot be received for a certain period of time, the machine will stop and report a fault. At this time, it is a problem with the main control program. Simply resetting the sensor will not work. Figure 1 The structure diagram of the existing refrigerant leakage detection circuit is as follows: Figure 1 As shown, the status feedback pin of the sensor is independent of the reset pin of the main control chip. After the sensor is reset, the main control chip will not be reset. For abnormal detection results caused by a failure of the main control chip, simply resetting the sensor cannot solve the problem.

[0055] In view of the problem that the refrigerant leakage detection circuit in the prior art only automatically resets the sensor after detecting an abnormality, and cannot effectively solve the abnormality caused by the main control chip or the main control program problem, this embodiment provides a refrigerant leakage detection circuit. Figure 2is a structural diagram of a refrigerant leakage detection circuit according to an embodiment of the present invention, as shown in Figure 2 As shown, the refrigerant leakage detection circuit includes: a sensor 1, which is used to detect the refrigerant concentration; a main control chip 2, which is used to receive the refrigerant concentration detected by the sensor 1 and judge whether the main control chip detects an abnormality according to the refrigerant concentration and / or the duration of not receiving the refrigerant concentration. The main control chip 2 includes: a sensor reset pin, connected to the sensor 1, used to control the reset of the sensor 1; a sensor state feedback pin, used to feedback whether the preheating of the sensor is completed; a chip reset pin, used to control the reset of the main control chip 2; a controllable switch Q, whose first end is connected to the sensor state feedback pin, whose second end is connected to the chip reset pin, and whose control end is connected to the switch control pin of the main control chip 2, and the controllable switch Q is used to control whether the sensor state feedback pin and the chip reset pin are connected. In this embodiment, the controllable switch Q is a PNP type switch tube, which is turned off when a high level is input to its control end, and turned on when a low level is input. In other embodiments of the present invention, the controllable switch Q is an NPN type switch tube, which is turned on when a high level is input to its control end, and turned off when a low level is input.

[0056] After power-on, the main control program will first output a high level to the control end of the controllable switch Q, the controllable switch Q is disconnected, and then the reset pin of the sensor is controlled to output a high level. After a period of time, the output is restored to a low level, so that the sensor is reset. After the set time (because the level of the sensor status feedback pin is no longer judged, a preset time (for example, 30s) is required to preheat the sensor), the main control chip communication line reads the refrigerant concentration of the sensor. If the refrigerant concentration detected by the sensor is received and the received refrigerant concentration does not exceed the preset threshold, it means that the sensor is normal, and the sensor abnormality count value c is cleared and written into the memory module, and the heat exchanger operates normally; if the refrigerant concentration detected by the sensor is not received for 30 consecutive seconds or the received refrigerant concentration exceeds the preset threshold, it means that the sensor may be abnormal. At this time, a low level is output to the control end of the controllable switch Q, and the controllable switch Turn Q on, then read the sensor abnormality count c recorded in the memory module and accumulate the abnormal value. If c≥the set value (for example, 5) at this time, it means that the detection result has been abnormal for many consecutive times. It is very likely that a refrigerant leak has occurred and it cannot be automatically restored by resetting the sensor or the main control chip. At this time, the refrigerant should be recovered, the machine should be shut down and the detection result should be reported abnormally. If c<5, the sensor reset pin is controlled to output a high level, and then the output is restored to a low level after 1s to reset the sensor. After receiving the reset signal, the sensor will enter the preheating state, and the sensor status pin will output a high level. At this time, since the controllable switch Q is turned on, the chip reset pin of the main control chip will also become a high level, which will automatically reset the main control chip, and the main control program will run again from the beginning. The abnormal detection result caused by the main control chip failure can be restored.

[0057] The refrigerant leakage detection circuit of the present embodiment connects the sensor state feedback pin to the chip reset pin through a controllable switch Q. After the main control chip detects an abnormality, the controllable switch Q is controlled to be turned on, the sensor is reset and starts preheating. During preheating, the sensor state feedback pin feeds back a high level. Since the reset pin of the main control chip is connected to the sensor state feedback pin, the reset pin of the main control chip also becomes a high level, so that the main control chip is automatically reset, which effectively solves the abnormal detection results caused by sensor failure and main control chip failure, avoids false detection, and improves detection accuracy.

[0058] If the number of detected abnormalities exceeds a certain number, it means that the refrigerant has indeed leaked. Resetting the sensor and the main control chip cannot fundamentally solve the problem. The machine should be shut down and the refrigerant should be recovered to avoid the impact of refrigerant leakage on users. In order to facilitate the statistics of the number of detected abnormalities, the above-mentioned main control chip also includes: a memory module 21, which is used to accumulate and store the number of times the main control chip detects abnormalities.

[0059] Since the main control chip needs power to work normally, the above circuit also includes: a first power supply 3, whose positive terminal is connected to the positive power pole of the main control chip 2, and whose negative terminal is connected to the negative power pole of the main control chip 2, for supplying power to the main control chip 2.

[0060] To ensure that the main control chip starts working after normal power supply, the circuit also includes: capacitor C1, whose first end is connected to the positive power supply of the main control chip 2, and whose second end is connected to the chip reset pin; resistor R1, whose first end is connected to the negative power supply of the main control chip 2, and whose second end is connected to the chip reset pin. Through the cooperation of capacitor C1 and resistor R1, after the main control chip 2 is powered on, the chip reset pin is at a high level, and the main control chip 2 is reset. After a while, the C1 capacitor is fully charged, the chip reset pin is at a low level, and the main control program starts to run.

[0061] In order to achieve the transmission of refrigerant concentration, the above circuit also includes: a communication line, a first end of which is connected to the sensor, and a second end of which is connected to the main control chip 2, for transmitting the refrigerant concentration detected by the sensor 1 to the main control chip 2.

[0062] Since the sensor also needs power to work properly, the above circuit also includes: a second power supply 4, whose positive terminal is connected to the positive pole of the power supply of the sensor 1, and whose negative terminal is connected to the negative pole of the power supply of the sensor 1, for supplying power to the sensor 1.

[0063] Example 2

[0064] The present embodiment provides a heat exchange device, including the refrigerant leakage detection circuit of the above embodiment, which is used to solve the abnormal detection results caused by sensor failure and main control chip failure, avoid false detection, and improve detection accuracy.

[0065] In some embodiments of the present invention, the heat exchange equipment includes at least one of the following: an air conditioner, a cold water heat exchange equipment, and an air source water heater.

[0066] Example 3

[0067] This embodiment provides a control method, which is applied to the refrigerant leakage detection circuit of the above embodiment. Figure 3 is a flow chart of a control method according to an embodiment of the present invention, as shown in Figure 3 As shown, the control method includes:

[0068] S101, control the controllable switch to be disconnected, and control the sensor to be reset and preheated, and then start to obtain the refrigerant concentration detected by the sensor.

[0069] In the specific implementation, the sensor reset pin is controlled to output a high level, and then the output is restored to a low level after a period of time (for example, 1 second) to reset the sensor. As for how to judge whether the preheating is completed, it can be judged by the sensor state feedback pin. When the sensor state feedback pin feedbacks a high level, it can be judged that the preheating is not completed. When the sensor state feedback pin feedbacks a low level, it can be judged that the preheating is completed. However, in this application, since the sensor state feedback pin is no longer connected to the sensor state feedback pin of the main control chip, but is connected to the reset pin of the main control chip through a controllable switch, and the controllable switch is disconnected during preheating, it is not possible to judge whether the preheating is completed by the level output by the sensor state feedback pin. The preheating time of the sensor can be measured in advance by experiments, and the preset value is determined. The low level is output from the sensor reset pin, that is, after the sensor is reset, the cumulative time begins. When the cumulative time reaches the preset time (for example, 30 seconds), it is determined that the preheating is completed.

[0070] S102: Determine whether the main control chip detects an abnormality based on the refrigerant concentration detected by the sensor and / or the duration of time when the sensor fails to detect the refrigerant concentration.

[0071] S103, after the main control chip detects an abnormality, the controllable switch is controlled to close, and then the sensor is controlled to reset, so that the sensor starts to preheat and the main control chip is controlled to reset.

[0072] There are three possibilities when the main control chip detects an abnormality. The first possibility is that the refrigerant concentration is indeed exceeded. The second possibility is that the refrigerant concentration data cannot be obtained due to a sensor failure. The third possibility is that the refrigerant concentration data cannot be obtained due to a main control chip failure. For the latter two situations, the fault can be eliminated by resetting. In the prior art, the sensor is reset only after the main control chip detects an abnormality. The abnormal detection result caused by the main control chip failure cannot be effectively solved. In this embodiment, after the main control chip detects an abnormality, the sensor is reset first, and then the main control chip is reset. Therefore, whether the refrigerant concentration data cannot be obtained due to a sensor failure or the refrigerant concentration data cannot be obtained due to an abnormality of the main control chip, both can be effectively solved.

[0073] The control method of this embodiment controls the controllable switch to close after the main control chip detects an abnormality, and then controls the sensor to reset, so that the sensor starts to preheat and controls the main control chip to reset. That is, after the main control chip detects an abnormality, the sensor and the main control chip are successively controlled to reset, which effectively solves the abnormal detection results caused by sensor failure and main control chip failure, avoids false detection, and improves detection accuracy.

[0074] According to the foregoing, if the number of times an abnormality is detected exceeds a certain number, it means that the refrigerant has indeed leaked, and resetting the sensor and the main control chip cannot fundamentally solve the problem. The machine should be shut down and the refrigerant should be recovered to avoid the impact of refrigerant leakage on users. Therefore, after the main control chip detects an abnormality, the above control method also includes: determining whether the number of times the main control chip detects an abnormality exceeds a preset number; if not, triggering a control sensor reset to cause the sensor to start preheating and control the main control chip to reset; if yes, controlling the heat exchange equipment to shut down and recover the refrigerant.

[0075] On the one hand, if the detected refrigerant concentration exceeds the standard, it is deemed that an abnormality is detected. On the other hand, if the refrigerant concentration cannot be detected for a period of time, even if a refrigerant leakage occurs, it cannot be detected. In this case, there is also a certain risk. Therefore, it is also deemed that an abnormality is detected. In summary, the main control chip is judged whether it has detected an abnormality based on the refrigerant concentration detected by the sensor and / or the continuous duration of not receiving the refrigerant concentration, including: judging whether the refrigerant concentration detected by the sensor is greater than a preset threshold, and / or the continuous duration of not receiving the refrigerant concentration exceeds a preset duration; if yes, it is determined that the main control chip has detected an abnormality; if not, it is determined that the main control chip has not detected an abnormality, and then the heat exchange equipment is controlled to operate normally and the number of times the main control chip detects an abnormality is reset to zero.

[0076] Example 4

[0077] This embodiment provides another control method, which is applied to the refrigerant leakage detection circuit of the above embodiment. Figure 4is a flow chart of a control method according to another embodiment of the present invention, Figure 4 As shown, the method includes:

[0078] S1 outputs a low level to the control end of the controllable switch, controlling the controllable switch Q to be disconnected.

[0079] S2, output a high level to the sensor, and output a low level after 1 second to reset the sensor. After a delay of 30 seconds, execute step S3.

[0080] S3, judging whether the following conditions are met: no refrigerant concentration is received for 30 consecutive seconds, or the received refrigerant concentration exceeds a preset threshold; if yes, executing step S4; if no, executing step S10.

[0081] S4 outputs a low level to the control terminal of the controllable switch to control the controllable switch Q to be turned on.

[0082] S5, reading the number of times c of abnormality detected in the memory module, and setting c=c+1.

[0083] S6, determine whether c≥5 is established; if yes, execute step S7; if no, execute step S8.

[0084] S7, control the heat exchange equipment to shut down, recover the refrigerant, and report the refrigerant leakage.

[0085] S8 outputs a high level to the sensor, and outputs a low level after 1 second to reset the sensor.

[0086] S9, the sensor starts to preheat, the sensor status feedback pin outputs a high level, the main control reset pin gets a high level, and the main control chip automatically resets.

[0087] S10, controlling the heat exchange equipment to operate normally, and clearing the number of abnormalities c detected in the memory module to zero.

[0088] After power-on, the main control program will first output a high level to the control end of the controllable switch Q, the controllable switch Q is disconnected, and then the reset pin of the sensor is controlled to output a high level. After a period of time, the output is restored to a low level, so that the sensor is reset. After the set time has passed (because the level of the sensor status feedback pin is no longer judged, a preset time (for example, 30s) is required to preheat the sensor), the main control chip communication line reads the refrigerant concentration of the sensor. If the refrigerant concentration detected by the sensor is received and the received refrigerant concentration does not exceed the preset threshold, it means that the sensor is normal, and the sensor abnormality count c is cleared and written into the memory module to control the normal operation of the heat exchange equipment. If the refrigerant concentration detected by the sensor is not received for 30 consecutive seconds or the received refrigerant concentration exceeds the preset threshold, it means that the sensor may be abnormal. The control end of the control switch Q outputs a low level, the controllable switch Q is turned on, and then the sensor abnormality count c recorded in the memory module is read and the abnormal value is accumulated once. If c≥the set value (for example, 5) at this time, it means that the abnormality has occurred for many consecutive times and cannot be automatically restored. At this time, the refrigerant can be recycled, the machine can be shut down and the sensor fault can be reported. If c<5, the sensor reset pin is controlled to output a high level, and then the output low level is restored after 1s to reset the sensor. After receiving the reset signal, the sensor will enter the preheating state, and the sensor status pin will output a high level. At this time, since the controllable switch Q is turned on, the chip reset pin of the main control chip will also become a high level, which will automatically reset the main control chip, and the main control program will be restarted from the beginning, so that the abnormal detection result caused by the main control chip failure can be restored.

[0089] This embodiment uses hardware circuits and software control to coordinate, so that when the refrigerant leakage detection circuit detects an abnormality, the refrigerant sensor and the main control chip are reset in sequence, thereby avoiding false detection caused by the abnormality of the main control chip.

[0090] Example 5

[0091] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the control method of the above embodiment is implemented.

[0092] Example 6

[0093] This embodiment provides an electronic device, including:

[0094] one or more processors;

[0095] The storage device is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the control method of the above embodiment.

[0096] Figure 5 FIG. 1 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention. Figure 5 As shown, the electronic device includes:

[0097] One or more processors 510 and memory 520, Figure 5 A processor 510 is taken as an example.

[0098] The electronic device may further include: an input device 530 and an output device 540 .

[0099] The processor 510, the memory 520, the input device 530 and the output device 540 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.

[0100] The memory 520 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the control method in the embodiment of the present invention. The processor 510 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 520, that is, implementing the above method embodiment.

[0101] The memory 520 may include a program storage area and a data storage area, wherein the program storage area may store an application required for operating the device and at least one function; the data storage area may store data created according to the use of the control method, etc. In addition, the memory 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.

[0102] The input device 530 can receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 540 can include a display device such as a display screen.

[0103] The one or more modules are stored in the memory 520, and when executed by the one or more processors 510, perform the control method in any of the above method embodiments.

[0104] The electronic device can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.

[0105] The electronic device of the embodiment of the present invention exists in various forms, including but not limited to:

[0106] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.

[0107] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.

[0108] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, smart toys, and portable car navigation devices.

[0109] (4) Server: A device that provides computing services. The server consists of a processor, hard disk, memory, device bus, etc. The server is similar to a general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.

[0110] (5) Other electronic devices with data interaction functions, such as televisions, large-screen cars, etc.

[0111] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0112] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A refrigerant leakage detection circuit, characterized in that: The circuit comprises: Sensor for detecting refrigerant concentration; A main control chip is used to receive the refrigerant concentration and determine whether the main control chip detects an abnormality according to the refrigerant concentration and / or the duration of not receiving the refrigerant concentration. The main control chip includes: A sensor reset pin, connected to the sensor, and used to control the sensor reset; A sensor status feedback pin, used to provide feedback on whether the preheating of the sensor is completed; A chip reset pin, used to control the reset of the main control chip; A controllable switch, wherein a first end thereof is connected to the sensor state feedback pin, a second end thereof is connected to the chip reset pin, and a control end thereof is connected to the switch control pin of the main control chip, wherein the controllable switch is used to control whether the sensor state feedback pin and the chip reset pin are conductive.

2. The circuit according to claim 1, characterized in that The main control chip also includes: The memory module is used to accumulate and store the number of times the main control chip detects anomalies.

3. The circuit according to claim 1, characterized in that The circuit further comprises: A first power supply, whose positive terminal is connected to the positive power supply of the main control chip, and whose negative terminal is connected to the negative power supply of the main control chip, is used to supply power to the main control chip; A capacitor, a first end of which is connected to the positive power supply of the main control chip, and a second end of which is connected to the chip reset pin; A resistor, a first end of which is connected to the negative power supply electrode of the main control chip, and a second end of which is connected to the chip reset pin.

4. The circuit according to claim 1, characterized in that The circuit further comprises: A communication line, a first end of which is connected to the sensor, and a second end of which is connected to the main control chip, is used to transmit the refrigerant concentration detected by the sensor to the main control chip.

5. The circuit according to claim 1, characterized in that The circuit further comprises: A second power supply, whose positive terminal is connected to the positive pole of the power supply of the sensor, and whose negative terminal is connected to the negative pole of the power supply of the sensor, is used to supply power to the sensor.

6. A heat exchange device, characterized in that: The invention comprises the refrigerant leakage detection circuit according to any one of claims 1 to 5.

7. The heat exchange device according to claim 6, characterized in that: The heat exchange equipment includes at least one of the following: an air conditioner, a cold water heat exchange equipment, and an air source water heater.

8. A control method, applied to the refrigerant leakage detection circuit according to any one of claims 1 to 5, characterized in that: The control method comprises: Control the controllable switch to disconnect, and at the same time control the sensor to reset and complete preheating, and then start to obtain the refrigerant concentration detected by the sensor; Determining whether the main control chip detects an abnormality according to the refrigerant concentration detected by the sensor and / or the duration of not receiving the refrigerant concentration; After the main control chip detects an abnormality, the controllable switch is controlled to close, and then the sensor is controlled to reset, so that the sensor starts to preheat and the main control chip is controlled to reset.

9. The control method according to claim 8, characterized in that: After the main control chip detects an abnormality, the control method further includes: Determine whether the number of times the main control chip detects an abnormality exceeds a preset number; If not, triggering the control sensor reset, so that the sensor starts to preheat and controls the main control chip to reset; If yes, the heat exchange equipment is controlled to shut down and the refrigerant is recovered.

10. The control method according to claim 8, characterized in that: Determining whether the main control chip detects an abnormality according to the refrigerant concentration detected by the sensor and / or the duration of not receiving the refrigerant concentration includes: Determine whether at least one of the following conditions is met: the refrigerant concentration detected by the sensor is greater than a preset threshold, and the duration of not receiving the refrigerant concentration exceeds a preset duration; If yes, it is determined that the main control chip detects an abnormality; If not, it is determined that the main control chip has not detected any abnormality, and then the heat exchange device is controlled to operate normally and the number of times the main control chip detects abnormalities is reset to zero.

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

12. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the method according to any one of claims 8 to 10.