Gas water heater, control method and device, electronic equipment and storage medium

By combining multiple antifreeze functions in the gas water heater and dynamically adjusting the antifreeze mode according to the gas supply and mains status, the problem of gas water heater being frozen in low-temperature areas is solved, achieving a more effective and energy-saving antifreeze treatment.

CN119687576AInactive Publication Date: 2025-03-25GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411776810.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-03-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In areas with temperatures below 0℃, gas water heaters are prone to damage due to freezing, and the existing anti-freeze function is not effective in different scenarios.

Method used

A gas water heater is designed, combining multiple antifreeze functions, and the target antifreeze mode is determined by the controller based on the gas supply status and the mains supply status, and any device of the water inlet solenoid valve, circulating water pump, gas heating device, drainage device and electric heating device are controlled for antifreeze treatment.

Benefits of technology

It realizes effective anti-freeze treatment for gas water heaters in different scenarios, avoids equipment damage caused by low temperatures, and improves the effect of anti-freeze treatment and energy-saving performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119687576A_ABST
    Figure CN119687576A_ABST
Patent Text Reader

Abstract

The invention provides a gas water heater, a control method and device, electronic equipment and a storage medium. The gas water heater comprises a water inlet electromagnetic valve, a circulating water pump, a controller, a water outlet pipeline, a gas heating device, a drainage device and an electric heating device. The water inlet electromagnetic valve is connected with the water inlet end of the gas heating device through a water inlet pipeline, and the water outlet end of the gas heating device is connected with one end of a water outlet pipeline; the other end of the water outlet pipeline is respectively connected with a water outlet of the gas water heater and the drainage device; the controller is used for determining a target anti-freezing mode according to the gas supply state of the gas water heater and / or the mains supply state; and according to the target anti-freezing mode, a water inlet electromagnetic valve and a circulating water pump are controlled, and one of a gas heating device, a drainage device and an electric heating device is controlled to conduct anti-freezing treatment on the gas water heater. The anti-freezing treatment can be carried out on the gas water heater according to different scenes, and the anti-freezing treatment can be carried out under the conditions of gas stop and power failure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of gas water heaters, and in particular to a gas water heater, a control method for a gas water heater, a control device for a gas water heater, an electronic device and a computer-readable storage medium. Background Art

[0002] Gas water heaters are popular among consumers due to their fast hot water output speed, stable water temperature, unlimited water output, and economic advantages. Its working principle is to add cold water in the heat exchanger to the high-temperature flue gas generated by gas combustion to prepare hot water.

[0003] However, in areas where the temperature is below 0℃, gas water heaters are often damaged by freezing due to the low local temperature. How to reasonably and effectively prevent freezing of gas water heaters has become one of the problems that need to be solved urgently. Summary of the invention

[0004] In view of the above problems, a gas water heater, a control method for a gas water heater, a control device for a gas water heater, an electronic device and a computer-readable storage medium are proposed to overcome the above problems or at least partially solve the above problems, including:

[0005] A gas water heater, comprising: a water inlet solenoid valve, a circulating water pump, a controller, a water outlet pipeline, a gas heating device, a drainage device and an electric heating device; wherein:

[0006] The water inlet solenoid valve is connected to the water inlet end of the gas heating device through a water inlet pipeline, and the water outlet end of the gas heating device is connected to one end of the water outlet pipeline; the other end of the water outlet pipeline is respectively connected to the water outlet of the gas water heater and the drainage device;

[0007] The controller is used to determine a target antifreeze mode according to the gas supply status and / or the mains power supply status of the gas water heater; according to the target antifreeze mode, the water inlet solenoid valve and the circulating water pump are controlled, and one of the gas heating device, the drainage device and the electric heating device is controlled to perform antifreeze treatment on the gas water heater.

[0008] Optionally, the drainage device includes a first drainage solenoid valve, a drainage pipeline and a rechargeable battery; the first drainage solenoid valve is arranged between the other end of the water outlet pipeline and one end of the drainage pipeline;

[0009] The controller is used to close the water inlet solenoid valve and open the first water discharge solenoid valve based on the power of the rechargeable battery when the target antifreeze mode is the first antifreeze mode.

[0010] Optionally, the drainage device further includes a second drainage solenoid valve, and one end of the drainage pipeline is further connected to the water outlet end of the water inlet solenoid valve through the second drainage solenoid valve;

[0011] The controller is further configured to open the second drain solenoid valve when the target antifreeze mode is the first antifreeze mode.

[0012] Optionally, the gas water heater further includes a temperature sensor;

[0013] The temperature sensor is used to detect the target temperature value of the water in the gas water heater;

[0014] The controller is also used to determine that the target antifreeze mode is the first antifreeze mode when the gas supply state of the gas water heater is a gas supply stop state, the AC power supply state of the gas water heater is switched from a normal AC power supply state to a AC power stop supply state, and the target temperature value is lower than a first preset temperature value.

[0015] Optionally, the controller closes the first drain solenoid valve and the second drain solenoid valve after opening the first drain solenoid valve and the second drain solenoid valve for a preset time period.

[0016] Optionally, the controller is also used to determine the remaining power of the rechargeable battery when the mains power supply state of the gas water heater is switched from a mains power stop state to a mains power normal state; when the remaining power of the rechargeable battery is lower than a preset power, charge the rechargeable battery.

[0017] Optionally, the controller is used to open the water inlet solenoid valve and the circulating water pump, and control the gas heating device to heat the water in the gas water heater when the target antifreeze mode is the second antifreeze mode.

[0018] Optionally, the gas water heater further comprises:

[0019] A one-way valve, wherein the water inlet end of the one-way valve is connected to the other end of the water outlet pipeline, and the water outlet end of the one-way valve is connected to the water inlet solenoid valve;

[0020] The controller is further configured to open the one-way valve when the target antifreeze mode is the second antifreeze mode.

[0021] Optionally, the gas water heater further includes a temperature sensor and a water flow sensor;

[0022] The temperature sensor is used to detect the target temperature value of the water in the gas water heater;

[0023] The water flow sensor is used to detect the target flow rate value of water in the gas water heater;

[0024] The controller is also used to determine that the target antifreeze mode is the second antifreeze mode when the gas supply state of the gas water heater is a normal gas supply state, the AC power supply state of the gas water heater is a normal AC power supply state, the target temperature value is lower than a first preset temperature value, and the target flow rate value is lower than a first preset flow rate value.

[0025] Optionally, the controller is further used to turn off the gas heating device when the target temperature value is higher than a second preset temperature value.

[0026] Optionally, the controller is used to open the water inlet solenoid valve and the circulating water pump, and control the electric heating device to heat the water in the gas water heater when the target antifreeze mode is the third antifreeze mode.

[0027] Optionally, the electric heating device comprises an electric heating body;

[0028] The controller is used to turn on the electric heating body to heat the water in the gas water heater; the electric heating body is connected to the mains.

[0029] Optionally, the gas water heater further comprises:

[0030] A one-way valve, wherein the water inlet end of the one-way valve is connected to the other end of the water outlet pipeline, and the water outlet end of the one-way valve is connected to the water inlet solenoid valve;

[0031] The controller is further configured to open the one-way valve when the target antifreeze mode is the third antifreeze mode.

[0032] Optionally, the gas water heater further includes a temperature sensor and a water flow sensor;

[0033] The temperature sensor is used to detect the target temperature value of the water in the gas water heater;

[0034] The water flow sensor is used to detect the target flow rate value of water in the gas water heater;

[0035] The controller is also used to determine that the target antifreeze mode is the third antifreeze mode when the gas supply state of the gas water heater is a gas supply stop state, the AC power supply state of the gas water heater is a normal AC power supply state, the target temperature value is lower than a first preset temperature value, and the target flow rate value is lower than a first preset flow rate value.

[0036] Optionally, the controller is further configured to turn off the electric heating body when the target temperature value is higher than a second preset temperature value.

[0037] The embodiment of the present invention further provides a control method for a gas water heater, which is applied to the gas water heater as described above, and the method comprises:

[0038] Determining a target antifreeze mode according to a gas supply state and / or a mains power supply state of the gas water heater;

[0039] According to the target antifreeze mode, any one of the gas heating device, the drainage device and the electric heating device is controlled to perform antifreeze treatment on the gas water heater.

[0040] The embodiment of the present invention further provides a control device for a gas water heater, which is applied to the gas water heater as described above, and the device comprises:

[0041] A mode determination module, used for determining a target antifreeze mode according to a gas supply state and / or a mains power supply state of the gas water heater;

[0042] The antifreeze processing module is used to control any one of the gas heating device, the drainage device and the electric heating device to perform antifreeze processing on the gas water heater according to the target antifreeze mode.

[0043] An embodiment of the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the above-mentioned gas water heater control method when executed by the processor.

[0044] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the control method of the gas water heater as described above is implemented.

[0045] The embodiments of the present invention have the following advantages:

[0046] In an embodiment of the present invention, a gas water heater includes: a water inlet solenoid valve, a circulating water pump, a controller, a water outlet pipeline, a gas heating device, a drainage device and an electric heating device; wherein: the water inlet solenoid valve is connected to the water inlet end of the gas heating device through the water inlet pipeline, and the water outlet end of the gas heating device is connected to one end of the water outlet pipeline; the other end of the water outlet pipeline is respectively connected to the water outlet and the drainage device of the gas water heater; the controller is used to determine the target antifreeze mode according to the gas supply status and / or the mains supply status of the gas water heater; according to the target antifreeze mode, the water inlet solenoid valve and the circulating water pump are controlled, and one of the gas heating device, the drainage device and the electric heating device is controlled to perform antifreeze treatment on the gas water heater. The embodiment of the present invention can perform antifreeze treatment on the gas water heater according to different scenarios by integrating multiple antifreeze functions.

[0047] In addition, based on the drainage device, the gas water heater can be protected from freezing by draining the remaining water in the gas water heater when the gas water heater is out of gas or power. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0049] Figure 1 It is a structural schematic diagram of a gas water heater according to an embodiment of the present invention;

[0050] Figure 2a is a schematic structural diagram of another gas water heater according to an embodiment of the present invention;

[0051] Figure 2b is a structural schematic diagram of another gas water heater according to an embodiment of the present invention;

[0052] Figure 3 is a control logic diagram of a solenoid valve according to an embodiment of the present invention;

[0053] Figure 4 is a schematic diagram of a rechargeable battery control logic according to an embodiment of the present invention;

[0054] Figure 5 is a logic diagram of antifreeze according to an embodiment of the present invention;

[0055] Figure 6 is a flow chart of steps of a control method for a gas water heater according to an embodiment of the present invention;

[0056] Figure 7 It is a structural schematic diagram of a control device for a gas water heater according to an embodiment of the present invention.

[0057] Description of the accompanying drawings:

[0058] 1. Gas water heater; 2. Water inlet solenoid valve; 3. Circulating water pump; 4. Controller; 5. Water outlet pipeline; 6. Gas heating device; 7. Drainage device; 8. Electric heating device; 9. Water inlet pipeline; 10. Water outlet pipeline; 11. First drainage solenoid valve; 12. Drainage pipeline; 13. Rechargeable battery; 14. Second drainage solenoid valve; 15. First temperature sensor; 16. Second temperature sensor; 17. Water flow sensor; 18. One-way valve; 19. First electric heating body; 20. Second electric heating body; 21. Third electric heating body; 22. Exhaust valve. DETAILED DESCRIPTION

[0059] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are 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.

[0060] Gas water heaters are popular among consumers due to their fast hot water output speed, stable water temperature, unlimited water output, and economic advantages. Its working principle is to add cold water in the heat exchanger to the high-temperature flue gas generated by gas combustion to prepare hot water.

[0061] However, in areas where the temperature is below 0℃, gas water heaters are often damaged and frozen due to the low local temperature. Although gas water heaters are equipped with multiple anti-freeze functions, such as gas heating or electric heating anti-freeze functions, various anti-freeze functions are not reasonably applied on one unit, resulting in poor protection and energy-saving effects.

[0062] To address this, an embodiment of the present invention provides a gas water heater that combines multiple antifreeze functions to perform antifreeze treatment on the gas water heater in accordance with different scenarios.

[0063] For details, please refer to Figure 1 , shows a schematic structural diagram of a gas water heater according to an embodiment of the present invention.

[0064] like Figure 1 As shown, the gas water heater 1 may include: a water inlet solenoid valve 2, a circulating water pump 3, a controller 4, a water outlet pipeline 5, a gas heating device 6, a drainage device 7 and an electric heating device 8; wherein:

[0065] The water inlet solenoid valve 2 is connected to the water inlet end of the gas heating device 6 through the water inlet pipeline 9, and the water outlet end of the gas heating device 6 is connected to one end of the water outlet pipeline 5; the other end of the water outlet pipeline 5 is respectively connected to the water outlet of the gas water heater 1 and the drainage device 7;

[0066] The controller 4 is used to determine the target antifreeze mode according to the gas supply status and / or the mains power supply status of the gas water heater 1; according to the target antifreeze mode, the water inlet solenoid valve 2 and the circulating water pump 3 are controlled, and any one of the gas heating device 6, the drainage device 7 and the electric heating device 8 is controlled to perform antifreeze treatment on the gas water heater 1.

[0067] In practical applications, the gas water heater 1 may refer to a device that heats water based on the combustion of gas, which mainly relies on the gas heating device 6; specifically, water may pass through the gas heating device 6, and the high-temperature flue gas generated by the combustion of gas may exchange heat with the water in the gas heating device 6, thereby heating the water entering the gas water heater 1.

[0068] When the user does not use the gas water heater 1 , some water will remain in the pipe of the gas water heater 1 ; when the temperature is low, the water will freeze, thereby damaging the gas water heater 1 .

[0069] In order to avoid this situation, the gas water heater 1 can be started regularly to heat the remaining water. However, if there is a problem such as gas outage, the gas water heater 1 cannot be antifreeze-treated by starting the gas water heater 1.

[0070] In view of this, the embodiment of the present invention can combine multiple antifreeze function devices in the gas water heater 1, so that different devices can be used to perform antifreeze treatment on the gas water heater 1 in different situations.

[0071] Specifically, the devices with antifreeze function in the gas water heater 1 mentioned in the embodiment of the present invention may be a gas heating device 6, a drainage device 7 and an electric heating device 8. The gas heating device 6 and the electric heating device 8 are mainly used to heat the water in the gas water heater 1 to perform antifreeze treatment on the gas water heater 1, and the drainage device 7 is mainly used to drain the remaining water in the gas water heater 1 to perform antifreeze treatment on the gas water heater 1.

[0072] The gas heating device 6 can be used to perform antifreeze treatment on the gas water heater 1 when the gas supply state of the gas water heater 1 is a normal gas supply state and the mains power supply state of the gas water heater 1 is a normal mains power supply state.

[0073] The electric heating device 8 can be used to perform antifreeze treatment on the gas water heater 1 when the gas supply state of the gas water heater 1 is the gas supply stop state and the mains power supply state of the gas water heater 1 is the mains power supply normal state.

[0074] The drainage device 7 can be used to perform antifreeze treatment on the gas water heater 1 when the gas supply state of the gas water heater 1 is the gas supply stop state and the mains power supply state of the gas water heater 1 is the mains power supply stop state. The drainage device 7 can be performed by relying on the rechargeable battery 13 or by relying on a mechanical structure.

[0075] Among them, when based on the mechanical structure, the mechanical structure can be automatically opened when the gas supply state of the gas water heater 1 is the gas supply stop state, and the mains power supply state of the gas water heater 1 is the mains power stop state, so as to discharge the water in the gas water heater 1, thereby avoiding the gas water heater 1 from being frozen due to accidental power outage, gas outage, or user's mistaken operation to shut down the gas supply and electricity.

[0076] In practical applications, the water inlet solenoid valve 2 can be arranged at the water inlet of the gas water heater 1, and the water inlet solenoid valve 2 can be connected to the water inlet end of the gas heating device 6 through the water inlet pipe; the water outlet end of the gas heating device 6 can be connected to one end of the water outlet pipeline 5, and the other end of the water outlet pipeline 5 can be connected to the water outlet of the gas water heater 1. Normally, when the user uses the gas water heater 1, the controller 4 can turn on the water inlet solenoid valve 2 and the circulating water pump 3.

[0077] The gas heating device 6 can be started under the action of the water flow to heat the water entering the gas water heater 1; the heated water can be provided to the user through the water outlet pipe 5.

[0078] In the embodiment of the present invention, the other end of the water outlet pipe 5 can also be connected to the drainage device 7 so as to drain the remaining water in the gas water heater 1 when the gas water heater 1 is shut down or the power is cut off.

[0079] Specifically, when the gas water heater 1 needs to be antifreeze treated, the controller 4 can first determine the current target antifreeze mode for the gas water heater 1 according to the gas supply state and / or the mains supply state of the gas water heater 1. Different antifreeze modes correspond to different devices to perform antifreeze treatment on the gas water heater 1.

[0080] In actual applications, after determining the target antifreeze mode, the controller 4 can, on the one hand, control the water inlet solenoid valve 2 and the circulating water pump 3 based on the target antifreeze mode; on the other hand, it can also control the corresponding devices to perform antifreeze treatment on the gas water heater 1 based on the target antifreeze mode.

[0081] Specifically, the control device may control one of the gas heating device 6 , the drainage device 7 and the electric heating device 8 to perform antifreeze treatment on the gas water heater 1 based on the target antifreeze mode.

[0082] In the embodiment of the present invention, the gas water heater 1 includes: a water inlet solenoid valve 2, a circulating water pump 3, a controller 4, a water outlet pipeline 5, a gas heating device 6, a drainage device 7 and an electric heating device 8; wherein: the water inlet solenoid valve 2 is connected to the water inlet end of the gas heating device 6 through the water inlet pipeline 9, and the water outlet end of the gas heating device 6 is connected to one end of the water outlet pipeline 5; the other end of the water outlet pipeline 5 is respectively connected to the water outlet of the gas water heater 1 and the drainage device 7; the controller 4 is used to determine the target antifreeze mode according to the gas supply state and / or the mains supply state of the gas water heater 1; according to the target antifreeze mode, the water inlet solenoid valve 2 and the circulating water pump 3 are controlled, and one of the gas heating device 6, the drainage device 7 and the electric heating device 8 is controlled to perform antifreeze treatment on the gas water heater 1. The embodiment of the present invention can perform antifreeze treatment on the gas water heater 1 according to different scenarios by integrating multiple antifreeze functions.

[0083] In addition, based on the drainage device 7, when the gas water heater 1 is out of gas or power, the gas water heater 1 can be protected from freezing by draining the remaining water in the gas water heater 1.

[0084] In one embodiment of the present invention, the drainage device 7 includes a first drainage solenoid valve 11, a drainage pipeline 12 and a rechargeable battery 13; the first drainage solenoid valve 11 is arranged between the other end of the water outlet pipeline 5 and one end of the drainage pipeline 12;

[0085] The controller 4 is used to close the water inlet solenoid valve 2 and open the first water discharge solenoid valve 11 based on the electric energy of the rechargeable battery 13 when the target antifreeze mode is the first antifreeze mode.

[0086] In some feasible embodiments, the drainage device 7 can be composed of a first drainage solenoid valve 11, a drainage pipeline 12 and a rechargeable battery 13; wherein, the drainage device 7, with the help of the rechargeable battery 13, can automatically complete the discharge of the remaining water in the gas water heater 1 when the gas water heater 1 is not powered, thereby preventing the gas water heater 1 from being frozen due to low temperature when the gas and power are outages.

[0087] In practical applications, the other end of the water outlet pipe 5 can be connected to one end of the drain pipe 12 , and the other end of the drain pipe 12 can be placed outside the gas water heater 1 ; the first drain solenoid valve 11 can be arranged between the water outlet pipe 5 and the drain pipe 12 .

[0088] If the target antifreeze mode is the first antifreeze mode, the controller 4 can control the water inlet solenoid valve 2 to close based on the power of the rechargeable battery 13 to avoid continuing to supply water to the gas water heater 1.

[0089] On the other hand, the controller 4 can control the first drain solenoid valve 11 to open based on the electric energy of the rechargeable battery 13, so as to discharge the remaining water in the gas water heater 1 out of the pipe of the gas water heater 1 through the drain pipe 12. The position of the drain pipe is lower than other pipes in the gas water heater 1, and the water outlet of the drain pipe is at the lowest position, so that the water in the gas water heater 1 can be discharged from the water outlet of the drain pipe under the action of gravity.

[0090] In one embodiment of the present invention, the drainage device 7 further includes a second drainage solenoid valve 14, and one end of the drainage pipeline 12 is also connected to the water outlet end of the water inlet solenoid valve 2 through the second drainage solenoid valve 14;

[0091] The controller 4 is further configured to open the second drain solenoid valve 14 when the target antifreeze mode is the first antifreeze mode.

[0092] In some feasible embodiments, in order to improve drainage efficiency, the drainage device 7 may further include a second drainage solenoid valve 14 , which may connect one end of the drainage pipeline 12 to the water outlet end of the water inlet solenoid valve 2 .

[0093] When the controller 4 determines that the target antifreeze mode is the first antifreeze mode, in addition to opening the first drain solenoid valve 11, the second drain solenoid valve 14 may also be opened. At this time, the remaining water in the gas water heater 1 will enter the drain pipe 12 through the first drain solenoid valve 11 and the second drain solenoid valve 14, and will be discharged from the gas water heater 1 from the water outlet of the drain pipe 12.

[0094] In one embodiment of the present invention, the gas water heater 1 further includes a temperature sensor;

[0095] A temperature sensor, used to detect a target temperature value of water in the gas water heater 1;

[0096] The controller 4 is also used to determine that the target antifreeze mode is the first antifreeze mode when the gas supply state of the gas water heater 1 is the gas supply stop state, the AC power supply state of the gas water heater 1 is switched from the normal AC power supply state to the AC power stop supply state, and the target temperature value is lower than the first preset temperature value.

[0097] In some feasible embodiments, the gas water heater 1 may further include a temperature sensor, which may be used to detect a target temperature value of water in the gas water heater 1, and determine whether the gas water heater 1 needs to be antifreeze-treated based on the target temperature value. The position of the temperature sensor may be set according to actual conditions, and the temperature sensor is mainly used to detect the temperature of water in the gas water heater 1, and generate a target temperature value to be transmitted to the controller 4.

[0098] After receiving the target temperature value, the controller 4 may first determine whether the target temperature value is lower than a first preset temperature value. For example, the first preset temperature value may be set according to actual conditions, for example, it may be set to 5°C, which is not limited in this embodiment of the present invention.

[0099] When the controller 4 determines that the target temperature value is lower than the first preset temperature value, it can further detect the gas supply state of the gas water heater 1 and the mains power supply state of the gas water heater 1 .

[0100] If the gas supply state of the gas water heater 1 is in the gas supply stop state, and the AC power supply state of the gas water heater 1 is switched from the normal AC power supply state to the AC power stop supply state, then the first antifreeze mode can be determined as the target antifreeze mode; further, the controller 4 can control the drainage device 7 to perform antifreeze treatment on the gas water heater 1.

[0101] In one embodiment of the present invention, the controller 4 closes the first drain solenoid valve 11 and the second drain solenoid valve 14 after opening the first drain solenoid valve 11 and the second drain solenoid valve 14 for a preset time.

[0102] In some feasible embodiments, in order to prevent foreign objects from entering the first drain solenoid valve 11 and the second drain solenoid valve 14 which are opened for a long time, or to prevent the water inlet solenoid valve 2 from being automatically opened when the gas water heater 1 resumes power supply and gas supply, thereby causing waste of water resources, the controller 4 can control the first drain solenoid valve 11 and the second drain solenoid valve 14 to be closed based on the power of the rechargeable battery 13 after opening the first drain solenoid valve 11 and the second drain solenoid valve 14 for a preset period of time.

[0103] The preset duration may be set according to actual conditions. For example, the preset duration may be 5 minutes, which is not limited in the embodiment of the present invention.

[0104] In one embodiment of the present invention, the controller 4 is also used to determine the remaining power of the rechargeable battery 13 when the mains power supply state of the gas water heater 1 is switched from a mains power stop state to a mains power normal state; when the remaining power of the rechargeable battery 13 is lower than a preset power, the rechargeable battery 13 is charged.

[0105] In some feasible embodiments, in order to ensure that the rechargeable battery 13 has sufficient power, the controller 4 can also determine the current remaining power of the rechargeable battery 13 when the AC power supply state of the gas water heater 1 switches from the AC power stop state to the AC power normal supply state.

[0106] If the current remaining power of the rechargeable battery 13 is lower than the preset power, the AC power can be called to charge the rechargeable battery 13; conversely, if the current remaining power of the rechargeable battery 13 is not lower than the preset power, the rechargeable battery 13 enters a standby state, which is not limited in this embodiment of the present invention.

[0107] The preset power level can be expressed as a percentage, for example, the preset power level can be 100%, ie, fully charged; when the rechargeable battery 13 is not in a fully charged state, the mains power can be used to charge it.

[0108] In one embodiment of the present invention, the controller 4 is used to open the water inlet solenoid valve 2 and the circulating water pump 3, and control the gas heating device 6 to heat the water in the gas water heater 1 when the target antifreeze mode is the second antifreeze mode.

[0109] In some feasible embodiments, if the target antifreeze mode is the second antifreeze mode, the controller 4 can directly call the gas heating device 6 to heat the water in the gas water heater 1, so as to perform antifreeze treatment on the gas water heater 1.

[0110] Specifically, when the controller 4 determines that the target antifreeze mode is the second antifreeze mode, it opens the water inlet solenoid valve 2 and the circulating water pump 3; at this time, the water inlet solenoid valve 2 can input the water in the tap into the gas water heater 1, and the circulating water pump 3 can provide circulation power for the water in the gas water heater 1, so as to circulate the water heated by the gas heating device 6 to the pipeline of the entire gas water heater 1.

[0111] In one embodiment of the present invention, the gas water heater 1 further includes:

[0112] A one-way valve 18, wherein the water inlet end of the one-way valve 18 is connected to the other end of the water outlet pipeline 5, and the water outlet end of the one-way valve 18 is connected to the water inlet solenoid valve 2;

[0113] The controller 4 is further configured to open the one-way valve 18 when the target antifreeze mode is the second antifreeze mode.

[0114] In some feasible embodiments, the gas water heater 1 may further include a one-way valve 18, the water inlet end of the one-way valve 18 may be connected to the other end of the water outlet pipeline 5, and the water outlet end of the one-way valve 18 may be connected to the water inlet solenoid valve 2. Exemplarily, the water outlet end of the one-way valve 18 may be connected to the water inlet end of the water inlet solenoid valve 2, or may be connected to the water outlet end of the water inlet solenoid valve 2. The one-way valve 18 may be disposed inside the gas water heater 1, or may be disposed outside the gas water heater 1, and the embodiment of the present invention does not limit this.

[0115] When determining that the target antifreeze mode is the second antifreeze mode, the controller 4 can also open the one-way valve 18 so that the water heated by the gas heating device 6 can flow to the water outlet pipe 5 under the action of the circulating water pump 3, and then flow from the water outlet pipe 5 to the one-way valve 18, and return to the water inlet pipe from the one-way valve 18.

[0116] In one embodiment of the present invention, the gas water heater 1 further includes a temperature sensor and a water flow sensor 17;

[0117] A temperature sensor, used to detect a target temperature value of water in the gas water heater 1;

[0118] A water flow sensor 17, used to detect a target flow rate value of water in the gas water heater 1;

[0119] The controller 4 is also used to determine that the target antifreeze mode is the second antifreeze mode when the gas supply state of the gas water heater 1 is a normal gas supply state, the AC power supply state of the gas water heater 1 is a normal AC power supply state, the target temperature value is lower than the first preset temperature value, and the target flow rate value is lower than the first preset flow rate value.

[0120] In some feasible embodiments, the gas water heater 1 may further include a temperature sensor and a water flow sensor 17; the positions of the temperature sensor and the water flow sensor 17 may be set according to actual conditions. The water flow sensor 17 may be used to detect the flow rate of water in the gas water heater 1, and after generating a target flow rate value, send the target flow rate value to the controller 4.

[0121] After obtaining the target temperature value and the target flow rate value, the controller 4 can first determine whether the gas water heater 1 is in use based on the target flow rate value; if it is determined that the target flow rate value is lower than the first preset flow rate value, it can be determined that the gas water heater 1 is currently in an unused state. The first preset flow rate value can be set according to actual conditions, for example: 1L / min, and the embodiment of the present invention does not limit this.

[0122] At this time, the controller 4 can further determine whether the gas water heater 1 needs to be antifreeze-treated based on the target temperature value. Specifically, it can determine whether the target temperature value is lower than the first preset temperature value.

[0123] If the target temperature value is lower than the first preset temperature value, the controller 4 may determine that the gas water heater 1 needs to be antifreeze treated. At this time, the controller 4 may further determine which antifreeze mode to adopt.

[0124] Specifically, the controller 4 can use the second antifreeze mode as the target antifreeze mode when the gas supply state of the gas water heater 1 is a normal gas supply state, the AC power supply state of the gas water heater 1 is a normal AC power supply state, the target temperature value is lower than the first preset temperature value, and the target flow rate value is lower than the first preset flow rate value.

[0125] In one embodiment of the present invention, the controller 4 is further configured to shut down the gas heating device 6 when the target temperature value is higher than a second preset temperature value.

[0126] In some feasible embodiments, in order to avoid unnecessary waste of resources, when the controller 4 turns on the gas heating device 6 to perform antifreeze treatment on the gas water heater 1, it can continue to obtain a new target temperature value from the temperature sensor, and further determine whether the target temperature value is higher than the second preset temperature value. The second preset temperature value is higher than the first preset temperature value, and the second preset temperature value can be set according to actual conditions, for example: 15°C, which is not limited in the embodiment of the present invention.

[0127] When the controller 4 detects that the new target temperature value is higher than the second preset temperature value, the gas heating device 6 can be turned off.

[0128] In one embodiment of the present invention, the controller 4 is used to open the water inlet solenoid valve 2 and the circulating water pump 3, and control the electric heating device 8 to heat the water in the gas water heater 1 when the target antifreeze mode is the third antifreeze mode.

[0129] In some feasible embodiments, if the target anti-freeze mode is the third anti-freeze mode, the controller 4 may heat the water in the gas water heater 1 based on the electric heating device 8 .

[0130] Specifically, when the controller 4 determines that the third antifreeze mode is the target antifreeze mode, it can first open the water inlet solenoid valve 2 and the circulating water pump 3. Then, the controller 4 can control the electric heating device 8 to heat the water in the gas water heater 1. The electric heating device 8 can heat the water in the gas water heater 1 based on the mains electricity.

[0131] In one embodiment of the present invention, the electric heating device 8 comprises an electric heating body;

[0132] The controller 4 is used to turn on the electric heating body to heat the water in the gas water heater 1; the electric heating body is connected to the mains.

[0133] In some feasible embodiments, the electric heating device 8 may include a plurality of electric heating bodies, and the plurality of electric heating bodies may be distributed in the pipes in the gas water heater 1 to heat the water in the gas water heater 1 respectively.

[0134] Exemplarily, when the controller 4 determines that the target antifreeze mode is the third antifreeze mode, it may turn on each electric heating element to heat the water in the gas water heater 1. The electric heating element may be powered by the mains.

[0135] In one embodiment of the present invention, the gas water heater 1 further includes:

[0136] A one-way valve 18, wherein the water inlet end of the one-way valve 18 is connected to the other end of the water outlet pipeline 5, and the water outlet end of the one-way valve 18 is connected to the water inlet solenoid valve 2;

[0137] The controller 4 is further configured to open the one-way valve 18 when the target antifreeze mode is the third antifreeze mode.

[0138] In some feasible embodiments, the gas water heater 1 may further include a one-way valve 18, the water inlet end of the one-way valve 18 may be connected to the other end of the water outlet pipeline 5, and the water outlet end of the one-way valve 18 may be connected to the water inlet solenoid valve 2. Exemplarily, the water outlet end of the one-way valve 18 may be connected to the water inlet end of the water inlet solenoid valve 2, or may be connected to the water outlet end of the water inlet solenoid valve 2. The one-way valve 18 may be disposed inside the gas water heater 1, or may be disposed outside the gas water heater 1, and the embodiment of the present invention does not limit this.

[0139] When determining that the target antifreeze mode is the third antifreeze mode, the controller 4 can also open the one-way valve 18 so that the water heated by the electric heating device 8 can flow to the water outlet pipe 5 under the action of the circulating water pump 3, and then flow from the water outlet pipe 5 to the one-way valve 18, and return to the water inlet pipe from the one-way valve 18.

[0140] In one embodiment of the present invention, the gas water heater 1 further includes a temperature sensor and a water flow sensor 17;

[0141] A temperature sensor, used to detect a target temperature value of water in the gas water heater 1;

[0142] A water flow sensor 17, used to detect a target flow rate value of water in the gas water heater 1;

[0143] The controller 4 is also used to determine that the target antifreeze mode is the third antifreeze mode when the gas supply state of the gas water heater 1 is the gas supply stop state, the AC power supply state of the gas water heater 1 is the normal AC power supply state, the target temperature value is lower than the first preset temperature value, and the target flow rate value is lower than the first preset flow rate value.

[0144] In some feasible embodiments, after obtaining the target temperature value and the target flow rate value, the controller 4 can first determine whether the gas water heater 1 is in use based on the target flow rate value; if it is determined that the target flow rate value is lower than the first preset flow rate value, it can be determined that the gas water heater 1 is currently in an unused state. The first preset flow rate value can be set according to actual conditions, for example: 1L / min, and the embodiment of the present invention does not limit this.

[0145] At this time, the controller 4 can further determine whether the gas water heater 1 needs to be antifreeze-treated based on the target temperature value. Specifically, it can determine whether the target temperature value is lower than the first preset temperature value.

[0146] If the target temperature value is lower than the first preset temperature value, the controller 4 may determine that the gas water heater 1 needs to be antifreeze treated. At this time, the controller 4 may further determine which antifreeze mode to adopt.

[0147] Specifically, the controller 4 can use the third antifreeze mode as the target antifreeze mode when the gas supply state of the gas water heater 1 is in the stopped gas supply state, the AC power supply state of the gas water heater 1 is in the normal AC power supply state, the target temperature value is lower than the first preset temperature value, and the target flow rate value is lower than the first preset flow rate value.

[0148] In one embodiment of the present invention, the controller 4 is further configured to turn off the electric heating element when the target temperature value is higher than a second preset temperature value.

[0149] In some feasible embodiments, in order to avoid unnecessary waste of resources, the controller 4 can continue to obtain a new target temperature value from the temperature sensor when turning on the electric heating body to perform antifreeze treatment on the gas water heater 1, and further determine whether the target temperature value is higher than the second preset temperature value. The second preset temperature value is higher than the first preset temperature value, and the second preset temperature value can be set according to actual conditions, for example: 15°C, which is not limited in the embodiment of the present invention.

[0150] When the controller 4 detects that the new target temperature value is higher than the second preset temperature value, the electric heating body can be turned off.

[0151] For example, Figure 2a As shown, the one-way valve 18 is arranged outside the gas water heater 1; Figure 2b As shown, the one-way valve 18 is arranged inside the gas water heater 1 .

[0152] like Figure 2a and Figure 2bAs shown, the water pipe is connected to the water inlet end of the water flow sensor 17, the water outlet end of the water flow sensor 17 is connected to the water inlet end of the water inlet solenoid valve 2, the water outlet end of the water inlet solenoid valve 2 is connected to the water inlet end of the first electric heating body 19, the water outlet end of the first electric heating body 19 is connected to the water inlet end of the circulating water pump 3, the water outlet end of the circulating water pump 3 is connected to one end of the water inlet pipeline 9, and the other end of the water inlet pipeline 9 can be respectively connected to the water inlet end of the gas heating device 6 and the exhaust valve 22. The water outlet end of the first electric heating body 19 is provided with a first temperature sensor 15.

[0153] The exhaust valve 22 can be used to exhaust the air in the gas water heater 1; the exhaust valve 22 can be set at the highest point of the pipeline of the gas water heater 1, and after the gas water heater 1 is installed normally, the exhaust valve 22 is perpendicular to the ground to avoid discharging water in the gas water heater 1 when exhausting.

[0154] The pipeline in the gas heating device 6 may be provided with a second electric heating body 20 and a second temperature sensor 16. The water outlet end of the gas heating device 6 is connected to one end of the water outlet pipeline 5, and the other end of the water outlet pipeline 5 is respectively connected to the water outlet of the gas water heater 1 and the water inlet end of the first drainage solenoid valve 11. The water outlet pipeline 5 is also provided with a third electric heating body 21.

[0155] The water outlet end of the first drainage solenoid valve 11 is connected to one end of the drainage pipeline 12 , and one end of the drainage pipeline 12 can also be connected to the water outlet end of the water inlet solenoid valve 2 through the second drainage solenoid valve 14 .

[0156] The controller 4 can control the water inlet solenoid valve 2 to control the water in the tap water pipe to enter the gas water heater 1. The water flow sensor 17 can detect the flow rate of water entering the gas water heater 1. The first temperature sensor 15 and the second temperature sensor 16 can be used to detect the temperature value of water at different positions of the gas water heater 1, and the first electric heater 19 and the second electric heater 20 can also be used to heat the water at different pipes of the gas water heater 1.

[0157] Among them, the operation of the gas heating device 6 relies on mains electricity and gas; the operation of the first electric heating body 19, the second electric heating body 20 and the third electric heating body 21 relies on mains electricity; the operation of the first drain solenoid valve 11 and the second drain solenoid valve 14 relies on the rechargeable battery 13.

[0158] like Figure 3 As shown, the controller 4 can first detect the input change of the power signal of the mains 220V. If the power signal is from no to present (ie, from power failure to power on), the controller 4 can further detect whether the first drain solenoid valve 11 and the second drain solenoid valve 14 are all closed.

[0159] If the first drain solenoid valve 11 and the second drain solenoid valve 14 are not completely closed, the controller 4 may first close the corresponding first drain solenoid valve 11 and / or the second drain solenoid valve 14 .

[0160] After the first drain solenoid valve 11 and the second drain solenoid valve 14 are all closed, the controller 4 can further detect whether the water inlet solenoid valve 2 is open.

[0161] If the water inlet solenoid valve 2 is not opened, the controller 4 may open the water inlet solenoid valve 2; conversely, if the water inlet solenoid valve 2 is opened, the controller 4 may respond to the user operation and execute the corresponding instruction normally.

[0162] If the power signal changes from being on to being off (i.e., power outage), the rechargeable battery 13 automatically supplies power to the entire gas water heater 1; after the power supply is running, the controller 4 can detect whether there is no 220V power signal for more than 1 minute. If so, the controller 4 can close the water inlet solenoid valve 2 and open the first drain solenoid valve 11 and the second drain solenoid valve 14.

[0163] like Figure 4 As shown, when the 220V power signal changes from none to yes, the controller 4 can further detect whether the rechargeable battery 13 is fully charged; if the rechargeable battery 13 is not fully charged, the AC power can be controlled to charge the rechargeable battery 13, and continue to detect whether the rechargeable battery is fully charged; otherwise, if it is fully charged, the rechargeable battery 13 enters a standby state.

[0164] When the 220V power signal changes from being present to being absent, the rechargeable battery 13 can be activated to supply power; after the rechargeable battery 13 continues to supply power for 5 minutes, it can enter a standby state.

[0165] like Figure 5 As shown, when there is a 220V power signal input, the controller 4 can detect whether the first drain solenoid valve 11 and the second drain solenoid valve 14 are all closed. When there is no 220V power signal input, continue to detect whether there is a 220V power signal input.

[0166] After the first drain solenoid valve 11 and the second drain solenoid valve 14 are all closed, the controller 4 can further detect whether the water inlet solenoid valve 2 is open.

[0167] If the water inlet solenoid valve 2 is not opened, the controller 4 may open the water inlet solenoid valve 2 .

[0168] When the water inlet solenoid valve 2 is opened, the controller 4 can detect whether the target temperature value output by the first temperature sensor 15 or the target temperature value output by the second temperature sensor 16 is not greater than 5 degrees Celsius.

[0169] If either the target temperature value output by the first temperature sensor 15 or the target temperature value output by the second temperature sensor 16 is not greater than 5 degrees Celsius, it is possible to further detect whether the target flow rate value output by the water flow sensor 17 is not less than 1 L / min. If both are greater than 5 degrees Celsius, the temperature detection continues.

[0170] If the target flow rate value is not less than 1 L / min, the flow rate is continuously detected. If it is less than 1 L / min, the controller 4 can start the circulating water pump 3 and the gas heating device 6 (start the gas heating process).

[0171] If the gas heating device 6 is successfully started, the gas heating device can be turned off when either the target temperature value output by the first temperature sensor 15 or the target temperature value output by the second temperature sensor 16 is not less than 15 degrees Celsius. If it is less than 15 degrees Celsius, the temperature detection continues.

[0172] If the gas heating device 6 fails to start, the first electric heating body 19, the second electric heating body 20 and the third electric heating body 21 can be started; and when any one of the target temperature value output by the first temperature sensor 15 and the target temperature value output by the second temperature sensor 16 is not less than 15 degrees Celsius, the first electric heating body 19, the second electric heating body 20 and the third electric heating body 21 are turned off. If it is less than 15 degrees Celsius, continue to detect the temperature.

[0173] After shutting down the gas heating process or shutting down the electric heater, it is possible to re-detect whether any one of the target temperature value output by the first temperature sensor 15 and the target temperature value output by the second temperature sensor 16 is not greater than 5 degrees Celsius.

[0174] Reference Figure 6 , shows a flow chart of a control method for a gas water heater according to an embodiment of the present invention, which may include the following steps:

[0175] Step 601: Determine a target antifreeze mode according to the gas supply status of the gas water heater and / or the mains power supply status.

[0176] When the gas water heater needs to be antifreeze treated, the controller can first determine the current target antifreeze mode for the gas water heater according to the gas supply status and / or the mains supply status of the gas water heater. Different antifreeze modes correspond to different devices to perform antifreeze treatment on the gas water heater.

[0177] Step 602: According to the target antifreeze mode, control any one of the gas heating device, the drainage device and the electric heating device to perform antifreeze treatment on the gas water heater.

[0178] After determining the target antifreeze mode, the controller can, on the one hand, control the water inlet solenoid valve and the circulating water pump based on the target antifreeze mode; on the other hand, it can also control the corresponding devices to perform antifreeze treatment on the gas water heater based on the target antifreeze mode.

[0179] Specifically, the control device may control one of the gas heating device, the drainage device and the electric heating device to perform antifreeze treatment on the gas water heater based on the target antifreeze mode.

[0180] In an embodiment of the present invention, a target antifreeze mode is determined according to the gas supply status and / or the mains power supply status of the gas water heater; according to the target antifreeze mode, any one of the gas heating device, the drainage device and the electric heating device is controlled to perform antifreeze treatment on the gas water heater. By integrating multiple antifreeze functions, the embodiment of the present invention can perform antifreeze treatment on the gas water heater for different scenarios. In addition, based on the drainage device, the gas water heater can be antifreeze treated by draining the remaining water in the gas water heater when the gas and power are cut off.

[0181] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0182] Reference Figure 7 , shows a schematic structural diagram of a control device for a gas water heater according to an embodiment of the present invention, which is applied to the above gas water heater.

[0183] like Figure 7 As shown, the control device of the gas water heater may include the following modules:

[0184] A mode determination module 701 is used to determine a target antifreeze mode according to a gas supply state and / or a mains power supply state of the gas water heater;

[0185] The antifreeze processing module 702 is used to control any one of the gas heating device, the drainage device and the electric heating device to perform antifreeze processing on the gas water heater according to the target antifreeze mode.

[0186] In an embodiment of the present invention, a target antifreeze mode is determined according to the gas supply status and / or the mains power supply status of the gas water heater; according to the target antifreeze mode, any one of the gas heating device, the drainage device and the electric heating device is controlled to perform antifreeze treatment on the gas water heater. By integrating multiple antifreeze functions, the embodiment of the present invention can perform antifreeze treatment on the gas water heater for different scenarios. In addition, based on the drainage device, the gas water heater can be antifreeze treated by draining the remaining water in the gas water heater when the gas and power are cut off.

[0187] An embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the control method of the gas water heater as described above is implemented.

[0188] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the control method of the gas water heater as described above is implemented.

[0189] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0190] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0191] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0192] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0193] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0194] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0195] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0196] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal 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 process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0197] The above provides a detailed introduction to a gas water heater, a control method for a gas water heater, a control device for a gas water heater, an electronic device and a computer-readable storage medium. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for a person skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A gas water heater, characterized in that: The gas water heater comprises: a water inlet solenoid valve, a circulating water pump, a controller, a water outlet pipeline, a gas heating device, a drainage device and an electric heating device; wherein: The water inlet solenoid valve is connected to the water inlet end of the gas heating device through a water inlet pipeline, and the water outlet end of the gas heating device is connected to one end of the water outlet pipeline; the other end of the water outlet pipeline is respectively connected to the water outlet of the gas water heater and the drainage device; The controller is used to determine a target antifreeze mode according to the gas supply status and / or the mains power supply status of the gas water heater; according to the target antifreeze mode, the water inlet solenoid valve and the circulating water pump are controlled, and one of the gas heating device, the drainage device and the electric heating device is controlled to perform antifreeze treatment on the gas water heater.

2. The gas water heater according to claim 1, characterized in that: The drainage device comprises a first drainage solenoid valve, a drainage pipeline and a rechargeable battery; the first drainage solenoid valve is arranged between the other end of the water outlet pipeline and one end of the drainage pipeline; The controller is used to close the water inlet solenoid valve and open the first water discharge solenoid valve based on the power of the rechargeable battery when the target antifreeze mode is the first antifreeze mode.

3. The gas water heater according to claim 2, characterized in that: The drainage device further includes a second drainage solenoid valve, and one end of the drainage pipeline is further connected to the water outlet end of the water inlet solenoid valve through the second drainage solenoid valve; The controller is further configured to open the second drain solenoid valve when the target antifreeze mode is the first antifreeze mode.

4. The gas water heater according to any one of claims 2 to 3, characterized in that: The gas water heater also includes a temperature sensor; The temperature sensor is used to detect the target temperature value of the water in the gas water heater; The controller is also used to determine that the target antifreeze mode is the first antifreeze mode when the gas supply state of the gas water heater is a gas supply stop state, the AC power supply state of the gas water heater is switched from a normal AC power supply state to a AC power stop supply state, and the target temperature value is lower than a first preset temperature value.

5. The gas water heater according to claim 3, characterized in that: The controller closes the first drain solenoid valve and the second drain solenoid valve after opening the first drain solenoid valve and the second drain solenoid valve for a preset time period.

6. The gas water heater according to claim 2, characterized in that: The controller is also used to determine the remaining power of the rechargeable battery when the mains power supply state of the gas water heater is switched from a mains power stop state to a mains power normal state; when the remaining power of the rechargeable battery is lower than a preset power, charge the rechargeable battery.

7. The gas water heater according to claim 1, characterized in that: The controller is used to open the water inlet solenoid valve and the circulating water pump when the target antifreeze mode is the second antifreeze mode, and control the gas heating device to heat the water in the gas water heater.

8. The gas water heater according to claim 7, characterized in that: The gas water heater further comprises: A one-way valve, wherein the water inlet end of the one-way valve is connected to the other end of the water outlet pipeline, and the water outlet end of the one-way valve is connected to the water inlet solenoid valve; The controller is further configured to open the one-way valve when the target antifreeze mode is the second antifreeze mode.

9. The gas water heater according to any one of claims 7 to 8, characterized in that: The gas water heater also includes a temperature sensor and a water flow sensor; The temperature sensor is used to detect the target temperature value of the water in the gas water heater; The water flow sensor is used to detect the target flow rate value of water in the gas water heater; The controller is also used to determine that the target antifreeze mode is the second antifreeze mode when the gas supply state of the gas water heater is a normal gas supply state, the AC power supply state of the gas water heater is a normal AC power supply state, the target temperature value is lower than a first preset temperature value, and the target flow rate value is lower than a first preset flow rate value.

10. The gas water heater according to claim 9, characterized in that: The controller is further used to turn off the gas heating device when the target temperature value is higher than a second preset temperature value.

11. The gas water heater according to claim 1, characterized in that: The controller is used to open the water inlet solenoid valve and the circulating water pump when the target antifreeze mode is the third antifreeze mode, and control the electric heating device to heat the water in the gas water heater.

12. The gas water heater according to claim 11, characterized in that: The electric heating device comprises an electric heating body; The controller is used to turn on the electric heating body to heat the water in the gas water heater; the electric heating body is connected to the mains.

13. The gas water heater according to claim 12, characterized in that: The gas water heater further comprises: A one-way valve, wherein the water inlet end of the one-way valve is connected to the other end of the water outlet pipeline, and the water outlet end of the one-way valve is connected to the water inlet solenoid valve; The controller is further configured to open the one-way valve when the target antifreeze mode is the third antifreeze mode.

14. The gas water heater according to any one of claims 12 to 13, characterized in that: The gas water heater also includes a temperature sensor and a water flow sensor; The temperature sensor is used to detect the target temperature value of the water in the gas water heater; The water flow sensor is used to detect the target flow rate value of water in the gas water heater; The controller is also used to determine that the target antifreeze mode is the third antifreeze mode when the gas supply state of the gas water heater is a gas supply stop state, the AC power supply state of the gas water heater is a normal AC power supply state, the target temperature value is lower than a first preset temperature value, and the target flow rate value is lower than a first preset flow rate value.

15. The gas water heater according to claim 14, characterized in that: The controller is further used to turn off the electric heating body when the target temperature value is higher than a second preset temperature value.

16. A method for controlling a gas water heater, characterized in that: Applied to the gas water heater according to any one of claims 1 to 15, the method comprises: Determining a target antifreeze mode according to a gas supply state and / or a mains power supply state of the gas water heater; According to the target antifreeze mode, any one of the gas heating device, the drainage device and the electric heating device is controlled to perform antifreeze treatment on the gas water heater.

17. A control device for a gas water heater, characterized in that: Applicable to the gas water heater according to any one of claims 1 to 15, the device comprises: A mode determination module, used for determining a target antifreeze mode according to a gas supply state and / or a mains power supply state of the gas water heater; The antifreeze processing module is used to control any one of the gas heating device, the drainage device and the electric heating device to perform antifreeze processing on the gas water heater according to the target antifreeze mode.

18. An electronic device, characterized in that: It comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the control method of the gas water heater as claimed in claim 16 is implemented.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the control method of the gas water heater as claimed in claim 16 is implemented.

Citation Information

Patent Citations

  • Anti-freezing control method and system of water heater, gas water heater and medium

    CN114440469A

  • Anti-freezing gas water heater

    CN115183468A

  • Water heater with automatic drainage anti-freezing device

    CN203190642U

  • Anti-freezing gas water heater capable of discharging water

    CN204128194U

  • The gas heater automaticdrainage antifreezing measures

    CN204513779U