Control method of water treatment device, water treatment device, and medium

By using a combination of a one-way air inlet valve and an air outlet valve with a water pump in the water treatment device, the problems of inconvenient emptying of the hot tank and deformation damage have been solved, achieving simple and efficient automated emptying, reducing costs and improving reliability.

CN122074816APending Publication Date: 2026-05-26GUANGDONG LIZI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGDONG LIZI TECH CO LTD
Filing Date
2026-04-01
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Existing water treatment devices suffer from inconvenient operation, slow drainage speed, incomplete drainage, and potential deformation and damage to the hot tank when emptying it. Furthermore, existing solutions increase hardware costs and control logic complexity.

Method used

By employing a control method that combines a one-way inlet valve and a one-way outlet valve with a water pump and controller, the safe and efficient emptying of the hot tank is achieved through automatic negative pressure adjustment, avoiding the use of pressure sensors and complex control logic.

Benefits of technology

It achieves simple, efficient, and automated emptying of the hot tank, reduces hardware costs and system complexity, improves reliability, prevents hot tank deformation and water pump dry running, and ensures thorough emptying and equipment safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122074816A_ABST
    Figure CN122074816A_ABST
Patent Text Reader

Abstract

This application relates to the field of water treatment technology, and discloses a control method, water treatment device, and medium for a water treatment apparatus. The method includes: in response to a venting command, a controller controls the venting valve to open and controls the water pump to start; after the water pump starts, a negative pressure is generated inside the hot tank; a one-way air inlet valve is configured to automatically open when its positive pressure value is greater than a first threshold, and a one-way air outlet valve is configured to automatically open when its positive pressure value is greater than a second threshold; during the venting process, the controller keeps the venting valve open and the water pump running until a preset venting termination condition is met. This application utilizes the automatic pressure response characteristics of a mechanical one-way valve to achieve adaptive adjustment of negative pressure during the venting process without the need for a pressure sensor and an electrically controlled air inlet valve, simplifying the control logic, reducing hardware costs, and improving venting efficiency and system reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of water treatment technology, and in particular to a control method for a water treatment device, a water treatment device, and a medium. Background Technology

[0002] Water treatment devices such as water purifiers and water dispensers typically include a hot water tank for storing and providing hot water. When the equipment needs cleaning, maintenance, long-term storage, or filter replacement, the water in the hot water tank often needs to be drained.

[0003] Currently, there are two main methods for emptying the tank. One method involves installing a manual drain valve at the bottom of the tank, requiring the user to bend over and wait for gravity to drain the water. This method is not only inconvenient but also slow and incomplete. The other method involves installing a water pump and drain valve in the water circuit, with the pump activated by a controller for forced drainage. However, during forced drainage, the rapid pumping speed can easily create a large negative pressure inside the tank, leading to a decrease or even interruption of the drainage flow, and in severe cases, deformation and damage to the tank. To address this issue, some existing solutions add pressure sensors and electrically controlled air inlets to the water circuit. The sensors monitor the pressure inside the tank and control the air inlets to open in a timely manner to balance the pressure. However, this method increases the need for sensors, electrically controlled valves, and corresponding control circuits, increasing hardware costs, complicating control logic, and reducing the overall reliability of the system.

[0004] Therefore, how to achieve efficient and safe evacuation of the hot tank while simplifying the structure is a technical problem that urgently needs to be solved in this field. Summary of the Invention

[0005] Based on this, it is necessary to address the technical problem of how to achieve simple and efficient emptying of hot tank water using existing technologies. Therefore, a control method, water treatment device, and medium for a water treatment device are proposed.

[0006] In a first aspect, a control method for a water treatment device is provided, the water treatment device comprising: a heat tank, a water pump, a one-way air inlet valve, a one-way air outlet valve, a vent valve, and a controller; The one-way air inlet valve and the one-way air outlet valve are located on the top of the hot tank. The water inlet of the water pump is connected to the water outlet of the hot tank, and the water outlet of the water pump is connected to the water inlet of the drain valve. The controller is electrically connected to the water pump and the drain valve, respectively. The method includes the following steps: In response to the venting command, the venting valve is opened and the water pump is started. After the water pump is started, a negative pressure is generated inside the hot tank. The one-way air inlet valve is configured to open automatically when its positive pressure value is greater than a first threshold, and the one-way air outlet valve is configured to open automatically when its positive pressure value is greater than a second threshold. During the venting process, when the preset venting termination condition is met, the venting valve is closed and the water pump is stopped.

[0007] In a second aspect, a water treatment apparatus is provided, the water treatment apparatus being configured to implement the steps of the control method of the water treatment apparatus according to any one of the first aspects.

[0008] Thirdly, a water treatment device is provided, the water treatment device comprising: a hot tank, a water pump, a one-way air inlet valve, a one-way air outlet valve, a drain valve, and a controller; The one-way air inlet valve and the one-way air outlet valve are located on the top of the hot tank. The water inlet of the water pump is connected to the water outlet of the hot tank, and the water outlet of the water pump is connected to the water inlet of the drain valve. The controller is electrically connected to the water pump and the drain valve, respectively. The controller includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the control method of the water treatment device as described in the first aspect.

[0009] Fourthly, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the control method of the water treatment apparatus according to any one of the first aspects.

[0010] Beneficial effects: This application achieves automatic negative pressure adjustment during the venting process by controlling the start and stop of the venting valve and water pump, combined with the automatic pressure response characteristics of the one-way inlet and one-way outlet valves. This eliminates the need for pressure sensors, reducing hardware costs and system complexity. Only start-stop control is required; the one-way valve operates automatically via mechanical structure, resulting in simple control logic, low computational burden, and high system reliability. The one-way inlet valve automatically opens to replenish air when the negative pressure reaches a threshold, effectively preventing deformation and damage to the hot tank due to excessive negative pressure, while also preventing the water pump from running dry or overloaded due to insufficient air intake. The one-way inlet and one-way outlet valves have clearly defined functions, respectively handling negative pressure balance during venting and positive pressure relief during heating, achieving multi-purpose functionality and high structural integration. The venting termination condition can be set according to various methods such as liquid level, time, or current, balancing thorough venting with equipment safety and preventing prolonged water pump dry running. In summary, this invention, with its simple structure and control logic, achieves safe, efficient, and automated venting of the hot tank in a water treatment device. Attached Figure Description

[0011] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] in: Figure 1 This is a first structural schematic diagram of the water treatment device provided in the embodiments of this application; Figure 2 This is a schematic flowchart of the control method for the water treatment device provided in the embodiments of this application; Figure 3 This is a second structural schematic diagram of a water treatment device provided in an embodiment of this application; Figure 4 This is a schematic flowchart of the valve control method provided in the embodiments of this application; Figure 5 This is a third structural schematic diagram of the water treatment device provided in the embodiments of this application; Figure 6 This is another schematic flowchart of the valve control method provided in the embodiments of this application; Figure 7 This is a fourth structural schematic diagram of the water treatment device provided in the embodiments of this application; Figure 8 This is a schematic diagram of the control flow of the heating device provided in the embodiments of this application; Figure 9 This is a fifth structural schematic diagram of the water treatment device provided in the embodiments of this application; Figure 10 This is another schematic diagram of the valve control method provided in the embodiments of this application. Detailed Implementation

[0013] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0014] See Figure 1 As shown, Figure 1 This is a first structural schematic diagram of the water treatment device provided in the embodiments of this application. The water treatment device includes: Hot tank 1, water pump 2, one-way air inlet valve 5, one-way air outlet valve 6, liquid level sensor 4, vent valve 3, and controller ( Figure 1 (Not shown in the drawing).

[0015] One-way air inlet valve 5 and one-way air outlet valve 6 are installed on the top of the hot tank 1. The water inlet of water pump 2 is connected to the water outlet of hot tank 1, and the water outlet of water pump 23 is connected to the water inlet of the drain valve. The controller is electrically connected to water pump 2, drain valve 3 and liquid level sensor 4 respectively. Specifically, the heating tank 1 is the water storage container of this device, preferably made of food-grade stainless steel, and has a vertical cylindrical structure with an external insulation layer (not shown in the figure). The heating tank 1 contains a heating element (not shown in the figure) to heat and maintain the temperature of the water stored inside, providing hot water. The top of the heating tank 1 has two mounting ports for installing a one-way air inlet valve 5 and a one-way air outlet valve 6, respectively. The bottom of the heating tank 1, or near the bottom, has a water outlet connected to the water inlet of the water pump 2 via a pipe.

[0016] Water pump 2 is an electrically controlled booster pump, preferably a diaphragm pump or a centrifugal pump. Its inlet is connected to the outlet of the hot tank 1 via a pipeline, and its outlet is connected to the inlet of the drain valve 3 via a pipeline. Water pump 2 is used to extract the water accumulated in the hot tank 1 during the draining process and to establish water pressure. When the controller starts water pump 2, water pump 2 continuously draws water from the hot tank 1, gradually creating a negative pressure state inside the hot tank 1.

[0017] The drain valve 3 is an electrically controlled on / off valve, preferably a normally closed solenoid valve. Its inlet is connected to the outlet of the water pump 2 via a pipeline, and its outlet is connected to the drain outlet of the device or the outside via a pipeline. The drain valve 3 is used to control the opening and closing of the drain passage. In the non-draining state, the drain valve 3 remains closed to ensure that water will not be discharged on its own; when the controller receives a drain command, it controls the drain valve 3 to open, so that the water pumped by the water pump 2 can be smoothly discharged from the device.

[0018] A level sensor 4 is installed on the side wall or bottom of the heating tank 1 to detect the water level in the tank in real time. The level sensor 4 can be a float-type, electrode-type, or pressure-type level sensor. The level sensor 4 is electrically connected to the controller, transmitting the detected water level signal to the controller in real time. Based on this signal, the controller can determine the amount of water remaining in the heating tank 1, thus providing a basis for calculating the emptying time or determining whether the emptying is complete.

[0019] A one-way air intake valve 5 is installed on top of the heating tank 1. It is a purely mechanical valve and requires no electrical control. The one-way air intake valve 5 contains a valve core and a spring, and is configured to allow only external air to enter the heating tank 1 while preventing water or gas from flowing out. The one-way air intake valve 5 has a predetermined positive opening pressure threshold (e.g., 1 kPa to 5 kPa). When the negative pressure inside the heating tank 1 reaches this threshold, the external atmospheric pressure overcomes the spring force and pushes the valve core open, automatically opening the one-way air intake valve 5, allowing outside air to enter the heating tank 1 to balance the pressure. When the negative pressure drops below the threshold, the spring force resets the valve core, and the one-way air intake valve 5 automatically closes.

[0020] One-way vent valve 6 is also installed on the top of the heating tank 1, arranged alongside the one-way inlet valve 5. The one-way vent valve 6 is also a purely mechanical valve, designed to allow only the gas inside the heating tank 1 to escape, while preventing outside air from entering. The one-way vent valve 6 has a predetermined positive opening pressure threshold (e.g., 10 kPa to 20 kPa), which is typically higher than the threshold of the one-way inlet valve 5. During normal heating of the heating tank 1, when the pressure inside the tank rises to this threshold due to the generation of water vapor, the one-way vent valve 6 automatically opens to release excess gas and relieve pressure, preventing excessive pressure inside the heating tank 1. During the evacuation process, because the tank is under negative pressure, the one-way vent valve 6 remains closed.

[0021] Controller ( Figure 1 The controller (not shown) is the core of this device, typically employing a microcontroller unit (MCU) or an embedded processor. The controller is electrically connected to the water pump 2, the drain valve 3, and the level sensor 4. The controller receives drain commands input by the user or triggered by device self-tests and executes control operations according to preset logic. Specifically, the controller is configured to: upon receiving a drain command, first control the drain valve 3 to open, then control the water pump 2 to start, putting the device into drain mode; during the draining process, the controller determines whether draining is complete based on the water level signal fed back by the level sensor 4 or a preset draining time; upon completion, it controls the water pump 2 to stop and closes the drain valve 3.

[0022] See Figure 2 , Figure 2 This is a flowchart illustrating the control method of the water treatment device provided in this application embodiment. The method specifically includes the following steps: S1. In response to the venting command, control the venting valve to open and control the water pump to start; after the water pump starts, a negative pressure is generated inside the hot tank, the one-way air inlet valve is configured to open automatically when its positive pressure value is greater than the first threshold, and the one-way air outlet valve is configured to open automatically when its positive pressure value is greater than the second threshold.

[0023] Specifically, upon receiving a venting command, the controller first opens the venting valve to ensure the drainage path is open, and then starts the water pump. Once started, the pump continuously draws water from the outlet of the hot tank and discharges it outside the device via the venting valve. Because the pumping rate is typically greater than the rate at which outside air naturally enters the hot tank, a negative pressure gradually forms inside the tank.

[0024] The top of the heating tank is equipped with a one-way inlet valve and a one-way outlet valve, both of which are purely mechanical valves that operate automatically based on the pressure difference before and after them without requiring a controller command. The one-way inlet valve is designed to allow only outside air to enter the heating tank, and its opening requires a positive pressure difference, i.e., the outside air pressure is higher than the tank's internal pressure, reaching a first threshold. When the negative pressure inside the heating tank reaches this first threshold, the one-way inlet valve automatically opens against its internal spring force or gravity, allowing outside air to enter and reducing the negative pressure inside the tank. When the negative pressure drops below the first threshold, the one-way inlet valve automatically closes. This cycle repeats, with the one-way inlet valve opening intermittently during the venting process, maintaining the tank pressure within a range that allows the water pump to operate stably.

[0025] The one-way vent valve is designed to allow only the gas inside the hot tank to escape. Its opening requires a positive pressure difference, i.e., the gas pressure inside the tank is higher than the external gas pressure, reaching a second threshold. During the venting process, the inside of the hot tank is always under negative or normal pressure, which cannot reach the second threshold. Therefore, the one-way vent valve remains closed during the venting process to prevent external air from being drawn back into the hot tank through the valve.

[0026] S2. During the venting process, when the preset venting termination condition is met, the venting valve is closed and the water pump is stopped.

[0027] Specifically, during the purging process, the controller continuously monitors whether the preset purging termination conditions are met. These termination conditions can be set based on one or more parameters, such as the liquid level in the hot tank, the pump running time, or the pump operating current.

[0028] When the controller detects that the venting termination condition has been met, it first stops the water pump to prevent damage caused by prolonged dry running. Then, it closes the vent valve, restoring the entire water circuit to a closed, non-venting state. The controller executes the stop-pump and vent valve shutdown sequence in reverse order of startup; that is, it stops the power source first and then cuts off the flow, preventing the pump from running briefly after the vent valve is closed, which could cause pressure buildup in the pipeline.

[0029] There are several ways to detect the completion of the emptying process. One method is to use a liquid level sensor. The controller receives the water level signal from the sensor in real time. When the water level in the tank is detected to be below a preset minimum threshold and remains stable for a certain period of time, such as 2 seconds, the emptying is considered complete. Another method is to use time control. The controller pre-calculates the theoretical emptying time based on the tank's volume and the pump's flow rate. Timing starts from the pump's start, and when the running time reaches the theoretical emptying time plus a redundancy period, such as 5 seconds, the emptying is considered complete. Yet another method is to detect the pump's operating current. When the water in the tank is emptied, the pump load drops sharply, and its operating current decreases significantly to near the no-load current value. The controller detects this current change through a current sampling circuit and determines that the emptying is complete.

[0030] This embodiment achieves automatic emptying of the hot tank in the water treatment device by using a controller to control the timing of the drain valve and water pump, combined with the mechanical pressure response characteristics of the one-way inlet and one-way outlet valves. During the emptying process, the one-way inlet valve automatically and intermittently opens according to changes in the negative pressure inside the hot tank, maintaining pressure balance without additional controller intervention. This ensures that the water pump operates stably under a reasonable load, preventing drainage problems or tank deformation due to excessive negative pressure. The entire control process relies solely on the controller to control the on / off state of two electrical components, eliminating the need for pressure sensors or complex feedback control loops, thus reducing system costs and failure rates. Furthermore, the completion of emptying is determined through multiple methods, including level sensors, runtime detection, and current detection, ensuring thorough emptying while preventing prolonged pump idling, thereby improving the reliability and lifespan of the device.

[0031] In one possible embodiment, the drain termination condition includes: The liquid level in the hot tank is measured by a level sensor and found to be less than a preset height threshold; or, The operating current of the water pump is less than a preset current threshold.

[0032] In the first implementation: the controller continuously receives water level signals from a level sensor during the emptying process. The level sensor is installed on the side wall or bottom of the hot water tank, and its detection position corresponds to a preset height threshold. When the water level in the hot water tank drops below this detection position, the signal state output by the level sensor changes. Based on this signal change, the controller determines that the water in the hot water tank has been substantially emptied, at which point the emptying termination condition is met.

[0033] The installation height of the liquid level sensor determines the amount of water remaining at the end of the emptying process. This height threshold is typically set near the bottom of the hot tank, for example, 3 to 10 millimeters from the inner bottom surface. The purpose is to ensure that most of the water is drained while avoiding prolonged dry running of the water pump in an attempt to completely empty the tank. After detecting that the liquid level is below the threshold, the controller usually adds a short delay for confirmation, such as waiting for multiple consecutive low-level signals before determining the end of the process, to prevent false alarms caused by liquid level fluctuations.

[0034] The second implementation method involves the controller monitoring the pump's operating current in real time during the evacuation process. Under normal pumping conditions, the pump experiences a high motor load and correspondingly high operating current due to the need to overcome pipeline resistance and increase water pressure. When the water in the hot tank is essentially emptied, the pump enters an idling state, the motor load drops sharply, and the operating current decreases significantly to a lower no-load current value.

[0035] The controller has an internal current sampling circuit, which typically uses a sampling resistor or current transformer to convert the pump's operating current into a voltage signal, which is then read by an analog-to-digital converter. The controller compares the real-time detected current value with a pre-stored current threshold. This current threshold can be set based on the measured current value of the pump under no-load conditions, usually with an added tolerance range, such as 10% to 20%, to prevent false triggering due to voltage fluctuations during normal pumping. When the operating current is detected to be consistently below the preset threshold for a certain period of time, such as 1 to 2 seconds, the controller determines that the water has been drained, meeting the draining termination condition.

[0036] In one possible embodiment, it also includes: S3. Measure the real-time flow rate of the water pump using a flow sensor, calculate the emptying time based on the water volume of the hot tank and the real-time flow rate, and push the emptying time to the user.

[0037] Specifically, during the evacuation process, the controller acquires the real-time flow rate of the water pump through a flow sensor. The flow sensor is installed on the inlet or outlet pipe of the water pump to detect the amount of water flowing through the pipe per unit time. The controller is electrically connected to the flow sensor, reads the flow signal output by the flow sensor according to a preset sampling frequency, and converts it into a real-time flow rate value in liters per minute.

[0038] The controller simultaneously acquires the current water volume of the heating tank. The water volume of the heating tank can be obtained in several ways. One method is to pre-store the nominal volume of the heating tank as a fixed value, which the controller directly calls as the initial water volume when emptying begins. Another method is for the controller to detect the actual water level in the heating tank using a level sensor before emptying begins, and calculate the current actual water volume based on the cross-sectional area of ​​the heating tank and the detected water level. When using the latter method, the controller can accurately determine the amount of water to be emptied even if the heating tank is not full.

[0039] The controller calculates the emptying time based on the acquired real-time flow rate and the water volume in the heating tank. The calculation method involves dividing the water volume in the heating tank by the real-time flow rate to obtain the emptying time value in minutes. Since the real-time flow rate may fluctuate slightly during the emptying process due to changes in water pressure or pump operating status, the controller can repeatedly calculate and update the emptying time at regular time intervals, such as every 10 seconds, ensuring that the time information pushed to the user is dynamically updated.

[0040] The controller pushes the calculated drainage time to the user. This can be done by directly displaying the duration on the device's control panel or by sending it to the user's mobile application via a wireless communication module. The pushed drainage time can be displayed as a countdown, showing how many minutes are left to complete the drainage, or it can display the estimated total drainage time.

[0041] This embodiment uses a flow sensor to measure the water pump's flow rate in real time and dynamically calculates the emptying time based on the current water volume in the hot tank, then pushes the calculations to the user. This allows the user to intuitively understand the emptying progress and remaining time, improving the human-machine interface experience. This method fully utilizes the existing liquid level sensor and controller's computing power, achieving accurate estimation of the emptying time without incurring additional hardware costs.

[0042] See Figure 3 This is a schematic diagram of the second structure of a water treatment device provided in an embodiment of this application. The water treatment device is... Figure 1 Based on the structural diagram, it also includes: temperature sensor 7A, heat exchanger 8A and heater 9A.

[0043] Heater 9A is installed inside the heat tank 1A, preferably at the bottom or middle of the heat tank 1A, for heating the water stored in the heat tank 1A. Temperature sensor 7A is installed at a preset position on heat exchanger 8A. Specifically, temperature sensor 7A can be installed on the outer wall of the heat exchanger 8A shell, at the first outlet or the second inlet of the heat exchanger 8A, for real-time detection of the current temperature of the heat exchanger 8A. Heat exchanger 8A is a plate heat exchanger, a shell-and-tube heat exchanger, or a shell-and-tube heat exchanger, and has a first flow channel and a second flow channel that are isolated from each other inside. The first inlet of heat exchanger 8A is connected to the outlet of water pump 4A, and the first outlet of heat exchanger 8A is connected to the inlet of heat tank 1A and the inlet of drain valve 5A, forming a first circulation path. The second inlet of heat exchanger 8A is connected to the cold water path, and the second outlet of heat exchanger 8A is connected to the user's water path, forming a second water flow path.

[0044] In one possible embodiment, based on Figure 3 The water treatment device in the middle, see Figure 4 As shown, Figure 4 This is a schematic flowchart of the valve control method provided in an embodiment of this application, which specifically includes the following steps: In response to a venting command, the venting valve is opened, and the one-way intake valve and one-way exhaust valve are controlled to be in the open state, including: A1. The current temperature of the heat exchanger is measured using the temperature sensor.

[0045] A2. When the current temperature is less than the preset insulation temperature threshold, control the heater to heat and control the water pump to start.

[0046] In step A1, an electrical connection is established between the controller and the temperature sensor via a signal line. The controller integrates an analog-to-digital converter or a digital signal receiving port. The temperature sensor collects temperature signals in real time at a preset detection point on the heat exchanger, converts the temperature signal into an electrical signal, and sends it to the controller. Upon receiving the electrical signal, the controller reads and analyzes the signal according to a preset sampling frequency, converting it into a corresponding temperature value. This temperature value is then identified by the controller as the current temperature of the heat exchanger. The controller has an internal storage unit to temporarily store this current temperature value as a basis for subsequent judgments.

[0047] For example, a negative temperature coefficient thermistor is used as the temperature sensor; its resistance decreases as temperature increases. This thermistor is attached to the middle of the heat exchanger's casing and connected to an analog input pin of the controller. Every second, the controller applies a reference voltage to this pin and reads the feedback voltage value, calculating the corresponding temperature value using a built-in voltage-temperature conversion formula. Assuming the current feedback voltage corresponds to a temperature of 28 degrees Celsius after conversion, the controller determines this 28 degrees Celsius as the current temperature of the heat exchanger and stores it in its internal register.

[0048] In step A2, after obtaining the current temperature of the heat exchanger, the controller compares this current temperature with a pre-stored insulation temperature threshold. The insulation temperature threshold is a preset fixed temperature value stored in the controller's non-volatile memory, used to determine whether the heat exchanger is in a low-heat state requiring insulation. When the comparison result shows that the current temperature is lower than the insulation temperature threshold, the controller determines that the heat exchanger temperature is too low and needs to initiate an insulation cycle. The controller then sends start commands to the heater and water pump through its output interface. The command sent to the heater is an energizing signal, causing the heater to begin converting electrical energy into heat energy to heat the water inside the heat tank; the command sent to the water pump is a drive voltage or start signal, causing the water pump to start operating, driving the high-temperature water in the heat tank to flow along the pipes through the first flow channel of the heat exchanger, transferring heat to the heat exchanger, thereby raising the temperature of the heat exchanger and preventing it from excessively cooling down due to heat loss.

[0049] For example, the preset insulation temperature threshold in the controller is 35 degrees Celsius. The controller compares the current heat exchanger temperature of 28 degrees Celsius obtained in step A1 with this threshold and determines that 28 degrees Celsius is less than 35 degrees Celsius, thus meeting the start-up conditions. The controller first connects the heater to the power supply by closing the relay contacts, and the heater begins to heat the water in the heat tank. At the same time, the controller outputs a high-level start signal to the water pump drive circuit, and the water pump then runs at its rated speed, driving the heated high-temperature water in the heat tank into the first flow channel of the heat exchanger. As the high-temperature water flows through the heat exchanger, it transfers its heat through the heat exchanger wall, causing the temperature of the heat exchanger to gradually rise from 28 degrees Celsius, thereby achieving the insulation effect of the heat exchanger.

[0050] This embodiment not only effectively maintains the temperature stability of the heat exchanger body, avoiding water temperature fluctuations or heat loss during subsequent water use due to excessively low heat exchanger temperature, but also utilizes the circulation of high-temperature water in the heat exchanger to preheat the incoming cold water, improving the overall thermal efficiency and the response speed of the outlet water temperature. It has the technical effects of simple control logic, timely response, and optimized energy efficiency.

[0051] See Figure 5 As shown, Figure 5This is a third structural schematic diagram of the water treatment device provided in the embodiments of this application. Figure 1 Based on this, the water treatment device also includes: a circulating pump 10B, a heater 11B, a temperature sensor 7B, a heat exchanger 8B, and a switching valve 9B.

[0052] Heater 11B is installed inside the hot tank 1. Specifically, it can be in the form of an electric heating tube, arranged along the axial direction of the hot tank 1 in the middle or bottom of the tank body, and is used to heat the water stored in the hot tank 1. Its controlled end is electrically connected to the controller, which controls it to turn on the power to heat or turn off the power to stop.

[0053] Heat exchanger 8B is a plate heat exchanger or a shell-and-tube heat exchanger, internally equipped with a first flow channel and a second flow channel that are isolated from each other. The first inlet of heat exchanger 8B is connected to both the outlet of switching valve 9B and the outlet of circulating pump 10B, and the first outlet of heat exchanger 8B is connected to the inlet of heat tank 1, forming a circulating heating flow path. The second inlet of heat exchanger 8B is connected to the cold water flow path, and the second outlet of heat exchanger 8B is connected to the user's water flow path, forming the user's water flow path.

[0054] The switching valve 9B adopts an electric two-way valve or electric three-way valve structure. Its inlet is connected to the outlet of the water pump 4B, and its outlet is connected to the first inlet of the heat exchanger 8B. The controlled end of the switching valve 9B is electrically connected to the controller, and the controller controls its valve core to open or close the water path from the water pump 4B to the heat exchanger 8B.

[0055] The circulating pump 10B is a diaphragm self-priming pump. Its inlet is connected to the outlet of the hot tank 1 and the cold water circuit through a three-way pipe fitting. The outlet of the circulating pump 10B is connected to the first inlet of the heat exchanger 8B. The controlled end of the circulating pump 10B is electrically connected to the controller, which controls its start and stop.

[0056] Temperature sensor 7B is installed in the user's water supply circuit, specifically on the pipe between the second outlet of heat exchanger 8B and the water terminal, to detect the temperature of the hot water flowing out of heat exchanger 8B in real time. Temperature sensor 7B is electrically connected to the controller and transmits the detected current water temperature signal to the controller in real time.

[0057] When hot water is being drawn, after receiving a user's hot water command, the controller first activates the circulation pump 10B to deliver the high-temperature water or a mixture of hot and cold water from the hot water tank 1 to the first flow channel of the heat exchanger 8B. There, the water exchanges heat with the cold water flowing into the second flow channel, raising the water temperature at the second outlet. During this process, the temperature sensor 7B continuously monitors the current water temperature in the user's water circuit and sends it back to the controller. When the current water temperature is lower than the preset target water temperature, the controller activates the heater 11B to raise the water temperature in the hot water tank 1. This raises the temperature of the water in the hot water tank 1, allowing the circulation pump 10B to deliver the higher-temperature water to the heat exchanger 8B. Once the water temperature in the user's water circuit reaches the target temperature, the controller deactivates the heater 11B.

[0058] See Figure 6 , Figure 6 This is another schematic flowchart of the valve control method provided in this application embodiment, which specifically includes the following steps: B1. When a user's hot water request is received, the circulating pump is turned on.

[0059] After a user issues a hot water command via buttons, touchscreen, or remote control, the command is transmitted to the controller as an electrical signal. The controller has an internal command parsing module that identifies and verifies the signal. Once the command is confirmed to be valid, it immediately enters the hot water dispensing control mode. The controller sends a start signal to the circulation pump through its output interface. This signal is typically a relay contact closure or a drive voltage output, energizing the motor inside the circulation pump. After starting, the circulation pump draws in high-temperature water from the hot water tank outlet and ambient-temperature water from the cold water circuit in a preset ratio, mixing them together. The mixed water is then pumped to the first inlet of the heat exchanger, flowing through the first flow channel and exchanging heat with the cold water flowing through the second flow channel, thus providing a continuous supply of hot water at the end of the user's water circuit. During this process, the controller simultaneously keeps the switching valve closed, cutting off the water flow from the pump to the heat exchanger, ensuring that the water flow is dominated solely by the circulation pump.

[0060] B2. The current water temperature is detected by the temperature sensor. If the current water temperature is lower than the preset user target water temperature, the heater is controlled to heat the water.

[0061] After the circulation pump is started, the controller continuously acquires the real-time water temperature of the user's water supply via a temperature sensor. The temperature sensor is installed in the pipeline between the second outlet of the heat exchanger and the water terminal, and it feeds back the detected water temperature signal to the controller in real time. The controller has an internal comparator or uses software logic to compare the received current water temperature value with a preset user target water temperature value. This user target water temperature value is stored in the controller's non-volatile memory and can be adjusted by the user through the operating interface. When the comparison result shows that the current water temperature is lower than the user target water temperature value, the controller determines that the current outlet water temperature does not meet the user's needs and the water temperature on the heat source side needs to be increased. The controller then sends a power-on command to the heater through its output interface. This command typically controls a solid-state relay or electromagnetic relay to conduct, causing the heater to begin heating the water stored in the heat tank. During the heating process, the water temperature in the heat tank gradually rises, and the circulation pump continuously delivers the heated water to the heat exchanger, causing the water temperature in the user's water supply to rise accordingly. When the temperature sensor detects that the current water temperature has reached or exceeded the user's target water temperature, the controller controls the heater to cut off power and stop heating in order to maintain a stable outlet water temperature and avoid energy waste.

[0062] For example, based on step B1, the controller reads the water temperature in the user's water circuit in real time using a temperature sensor. The temperature sensor is a platinum resistance temperature sensor, which converts changes in resistance into a current signal of 4 to 20 milliamps, which is then transmitted to the controller. Five seconds after the circulation pump starts, the controller reads the current water temperature as 40 degrees Celsius, while the user-set target water temperature is 45 degrees Celsius. Comparing the two, the controller determines that the current water temperature is lower than the target temperature. The controller immediately outputs a high-level signal to the heater's control terminal, triggering a solid-state relay to conduct, allowing the heater to be powered on with 220 volts AC. The heater begins heating in the hot tank, and the water temperature in the hot tank gradually rises from the current 75 degrees Celsius. As the water temperature in the hot tank rises, the temperature of the mixed water delivered by the circulation pump to the heat exchanger also increases. After approximately 15 seconds, the temperature sensor detects that the water temperature in the user's water circuit has reached 45 degrees Celsius. The controller then cuts off the power supply to the heater, stopping its heating. At this point, the water temperature in the user's water circuit stabilizes at around 45 degrees Celsius, meeting the user's water needs.

[0063] In this embodiment, the circulating pump is activated first when the user starts to draw hot water, using the existing hot water in the hot water tank to mix with cold water for immediate water supply, which greatly shortens the waiting time for hot water to come out. On this basis, through closed-loop feedback of temperature sensor, the heater is only activated to supplement the temperature when the outlet water temperature is insufficient, avoiding frequent start-stop of heater and unnecessary energy consumption. While improving the user's water experience, it also achieves energy-saving operation, with comprehensive technical effects of fast response speed, high temperature control accuracy and low operating energy consumption.

[0064] See Figure 7 , Figure 7 This is a fourth structural schematic diagram of the water treatment device provided in the embodiments of this application. Figure 1 On this basis, Figure 7 The water treatment device also includes: a temperature sensor 7C, a heat exchanger 8C, and a heating device 9C; The outlet of water pump 2 is connected to the inlet of heating device 9C, the outlet of heating device 9C is connected to the inlet of heat exchanger 8C, and the outlet of heat exchanger 8C is connected to the inlet of drain valve 3; the controller is electrically connected to temperature sensor 7C and heating device 9C respectively.

[0065] Temperature sensor 7C is the temperature monitoring component of this device, installed in the connecting pipe between the outlet of heat exchanger 8C and the inlet of drain valve 3. It can be implemented using a platinum resistance temperature sensor, thermocouple, or thermistor, with the specific model determined based on the temperature range and accuracy requirements. The probe of temperature sensor 7C extends into the pipe, directly contacting the water flowing through it, to sense the temperature of the water about to be discharged through drain valve 3 after heat exchange in heat exchanger 8C. Temperature sensor 7C is electrically connected to the controller via a signal line, converting the real-time detected temperature signal into a standard analog electrical signal, such as a 4-20 mA current or a 0-10 volt voltage, or a digital signal, and transmitting it to the controller. Functionally, temperature sensor 7C is used to measure the final outlet water temperature after processing by heat exchanger 8C in real time and feed this temperature value back to the controller, providing data support for the controller to determine whether the outlet water temperature meets the standard or whether the heating device 9C needs adjustment.

[0066] Heat exchanger 8C is a waste heat recovery or secondary heat exchange component of this device. Its implementation can employ a plate heat exchanger, shell-and-tube heat exchanger, or coaxial heat exchanger, with the specific structural form determined based on the heat exchange medium, heat exchange requirements, and installation space. The inlet of heat exchanger 8C is fixedly connected to the outlet of heating device 9C via a pipeline, and the outlet of heat exchanger 8C is fixedly connected to the inlet of drain valve 3 via a pipeline. Functionally, heat exchanger 8C is used to exchange heat with other media in the water treatment system, such as cold water to be heated or process fluids requiring heat recovery, after the water has been heated by heating device 9C and before entering drain valve 3, to achieve waste heat recovery or temperature regulation. When water flows through heat exchanger 8C, the heat it carries is transferred to the medium on the other side. The water's own temperature may decrease, while the medium on the other side is heated, thus achieving efficient utilization of thermal energy. The intervention of heat exchanger 8C allows the device to recover some heat energy while discharging hot water, avoiding energy waste.

[0067] Heating device 9C is the active heating component of this device. Its implementation can be an electric heater, steam heater, or gas heater, with the specific form determined based on heat source conditions and heating power requirements. The inlet of heating device 9C is fixedly connected to the outlet of water pump 2 via a pipeline, and the outlet of heating device 9C is fixedly connected to the inlet of heat exchanger 8C via a pipeline. Heating device 9C internally contains heating elements or heat exchange structures, enabling rapid heating of the water flowing through it. Heating device 9C is electrically connected to the controller via a signal line and is controlled by the controller's signals for start-up, shutdown, or power adjustment. Functionally, heating device 9C is used to actively heat the water after water pump 2 discharges and before the water enters heat exchanger 8C, raising the water temperature to the target range. By adjusting the heating power of heating device 9C, the controller can precisely control the final discharged water temperature to meet the requirements of subsequent processes or discharge standards. The heating device 9C and the heat exchanger 8C work together. The heating device 9C is responsible for heating the water to a higher temperature, while the heat exchanger 8C is responsible for recovering some of the heat before discharge, forming a highly efficient heating and energy-saving combination.

[0068] See Figure 8 , Figure 8 This is a schematic diagram of the control flow of the heating device provided in the embodiment of this application, which specifically includes the following steps: C1. Detect the current temperature of the heat exchanger using a temperature sensor; C2. If the current temperature is less than the preset insulation temperature threshold, calculate the temperature difference between the current temperature and the insulation temperature threshold. C3. Calculate the corresponding heating power based on the temperature difference, and control the heating device to heat according to the heating power.

[0069] In step C1, the controller continuously monitors key parameters related to drainage, including the outlet water temperature after treatment by the heat exchanger. The drainage process can be triggered by various conditions, such as responding to an external venting command or automatically starting according to timed venting logic. Regardless of the triggering method, once drainage begins, the controller establishes a data reading channel with the temperature sensor 7C installed in the outlet pipe of the heat exchanger 8C via a signal line, according to a preset sampling period.

[0070] The 7C temperature sensor converts the sensed water temperature into a continuously changing electrical signal in real time, such as a 4 to 20 mA current or a 0 to 10 volt voltage. The controller's analog input module acquires this electrical signal at fixed time intervals, such as every 500 milliseconds, and converts it into an actual temperature value in Celsius or Fahrenheit based on the sensor's factory calibration or field calibration range. To eliminate transient interference, the controller typically filters the data collected multiple times consecutively, for example, by taking the arithmetic mean or median, ultimately obtaining a stable and reliable current temperature value, which is then stored in an internal register for subsequent logic use.

[0071] For example, a water treatment device's drainage program is set to automatically start at 3:00 AM every day. After triggering drainage at 3:00 AM, the controller immediately begins periodically reading data from temperature sensor 7C. Assume temperature sensor 7C is a Pt100 platinum resistance thermometer with a temperature transmitter, a range of 0 to 100 degrees Celsius, and an output of 4 to 20 mA. In the first sampling cycle, the controller acquires 12 mA of current and calculates the current temperature as 50 degrees Celsius using the conversion formula. The controller stores this 50 degrees Celsius as the current temperature value and continues sampling in the next cycle.

[0072] In step C2, after obtaining the latest current temperature, the controller immediately compares it with a pre-stored insulation temperature threshold in non-volatile memory. This insulation temperature threshold is a fixed value set by technicians based on the user's expected hot water temperature requirements. For example, it may be set to 45 degrees Celsius, meaning that if the heat exchanger outlet water temperature is lower than this value, the user may not immediately obtain a comfortable water temperature when turning on the hot water tap.

[0073] The controller compares the current temperature with the insulation temperature threshold using internal numerical comparison instructions. If the current temperature is greater than or equal to the insulation temperature threshold, it means the heat exchanger outlet water temperature is still within a reasonable range. In this case, drainage will not significantly affect subsequent users' water usage, and the controller will skip the subsequent heating steps and continue with the normal drainage process. If the current temperature is less than the insulation temperature threshold, it means the drainage process has caused a significant drop in heat exchanger temperature. If not intervened in time, subsequent users will face excessively low water temperatures or long waiting times for heating. In this case, the controller performs a subtraction operation, using the insulation temperature threshold as the minuend and the current temperature as the subtrahend, to calculate the difference between the two, i.e., the temperature difference. This temperature difference is a non-negative value in degrees Celsius, representing the difference between the current water temperature and the user's expected water temperature, and also reflecting the amount of temperature increase required. The controller temporarily stores this temperature difference in the calculation register for the next step of heating power calculation.

[0074] For example, technicians set the insulation temperature threshold to 45 degrees Celsius in the controller based on user habits. In step C1, the controller measures the current temperature as 42 degrees Celsius. The controller compares 42 degrees Celsius with 45 degrees Celsius and determines that 42 is less than 45, indicating that the heat exchanger outlet water temperature is lower than the user's expectation and heating intervention is needed. The controller then calculates the temperature difference: 45 degrees Celsius minus 42 degrees Celsius, resulting in a temperature difference of 3 degrees Celsius. The controller stores this 3 degrees Celsius in the temperature difference register.

[0075] In step C3, after obtaining the temperature difference, the controller needs to convert it into specific control instructions for the heating device 9C, that is, to determine a suitable target heating power. This conversion relies on the heating model pre-stored in the controller, which aims to rapidly replenish heat during the drainage process, bringing the heat exchanger outlet water temperature back to near the insulation temperature threshold, and ensuring that the overall temperature of the heat exchanger does not drop sharply due to the inflow of cold water.

[0076] The controller first needs to consider the water flow rate during the drainage process. The water flow rate can be a fixed value or measured in real-time by a flow sensor. If the water flow rate is known and stable, the heating power and temperature difference have an approximately linear relationship: the required power equals the specific heat capacity of water multiplied by the mass flow rate and then multiplied by the temperature difference. The controller can store this calculation formula internally and pre-input the specific heat capacity constant of water and the flow rate parameters, thereby calculating the required theoretical heating power in real-time based on the temperature difference. This calculation logic ensures that the heating power matches the degree of temperature deviation; the greater the deviation, the higher the heating power, thus quickly replenishing heat.

[0077] If the system configuration is relatively simple, a lookup table method can also be used. Technicians pre-establish a mapping table between temperature difference and heating power in the controller; for example, a temperature difference of 0 to 2 degrees Celsius corresponds to a power of 1 kilowatt, 2 to 4 degrees Celsius corresponds to a power of 2 kilowatts, and so on. The controller looks up the corresponding target heating power in the table based on the calculated temperature difference, or calculates a more precise target value between adjacent mapping points using linear interpolation.

[0078] After determining the target heating power, the controller needs to convert it into a physical signal capable of driving the actuator of the heating device 9C. If the heating device 9C is an electric heater and supports continuous power regulation, the controller typically sends an analog signal proportional to the target power to the power regulator of the heating device via an analog output module, for example, outputting 4 to 20 mA or 0 to 10 V. If the heating device 9C is a switching heater, the controller can use pulse width modulation to achieve equivalent power regulation by controlling the ratio of the heater's on and off times within a cycle.

[0079] After the controller issues a heating command, it continuously monitors the current temperature changes and dynamically adjusts the heating power as needed, forming a closed-loop control system. When the current temperature rises above the insulation temperature threshold, the controller can gradually reduce the heating power until the heating device is shut off, ensuring that the heat exchanger always stores enough heated water for the user to use at any time.

[0080] For example, suppose the water flow rate in this drainage system is 1 cubic meter per hour, or approximately 0.278 kilograms per second. The specific heat capacity of water is 4200 joules per kilogram of temperature. According to the theoretical formula, the required power equals the mass flow rate multiplied by the specific heat capacity multiplied by the temperature difference, i.e., 0.278 multiplied by 4200 multiplied by 3, which results in approximately 3500 watts, or 3.5 kilowatts. The controller stores this calculation model internally. Substituting the 3-degree Celsius temperature difference into the model, the controller calculates the target heating power to be 3.5 kilowatts. Subsequently, the controller outputs a current signal corresponding to 3.5 kilowatts through its analog output module. Assuming that the power regulator input of heating device 9C is 4 to 20 milliamps corresponding to 0 to 10 kilowatts, then the current corresponding to 3.5 kilowatts is 4 milliamps plus 3.5 divided by 10 multiplied by 16 milliamps, i.e., 9.6 milliamps. The controller outputs a 9.6 milliamp current to the power regulator of heating device 9C. Heating device 9C then begins heating the water flowing through it at a power of 3.5 kW. The controller continues to monitor the readings of temperature sensor 7C. When it detects that the current temperature is gradually rising to near 45 degrees Celsius, it appropriately reduces the output current and lowers the heating power until the temperature stabilizes near the threshold. Through this process, the water temperature inside the heat exchanger is maintained within the preset range, avoiding a sudden temperature drop caused by drainage.

[0081] In this embodiment, the controller dynamically adjusts the heating power based on temperature feedback during the drainage process. This process upgrades simple temperature monitoring to active heat preservation control, enabling the heating device's output to compensate in real time for the deviation between the heat exchanger outlet water temperature and the user's expectations. The technical advantage lies in effectively preventing a sharp drop in heat exchanger temperature due to the continuous inflow of cold water during drainage, ensuring that the water inside the heat exchanger remains near the heat preservation temperature threshold. This solves the problem of users not being able to obtain the expected water temperature or having to wait a long time for heating after drainage, significantly improving the user experience and the system's water supply stability.

[0082] See Figure 9 , Figure 9 This is a fifth structural schematic diagram of the water treatment device provided in the embodiments of this application. The water treatment device also includes: a temperature sensor 7D, a heat exchanger 8D, a switching valve 9D, and a heater 10D.

[0083] The heater 10D is installed inside the hot tank 1. Specifically, it can be in the form of an electric heating tube, arranged along the axial direction of the hot tank 1 in the middle or bottom of the tank body, and is used to heat the water stored in the hot tank 1. Its controlled end is electrically connected to the controller, which controls it to turn on the power to heat or turn off the power to stop.

[0084] Heat exchanger 8D is either a plate heat exchanger or a shell-and-tube heat exchanger, and it has a first flow channel and a second flow channel that are isolated from each other. The first inlet of heat exchanger 8D is connected to the outlet of water pump 2 and the cold water line, and the first outlet of heat exchanger 8D is connected to the inlet of hot water tank 1, forming a circulating heating flow path. The second inlet of heat exchanger 8D is connected to the cold water line, and the second outlet of heat exchanger 8D is connected to the user's water line, forming the user's water flow path. Inside heat exchanger 8D, the water in the first flow channel and the water in the second flow channel exchange heat through the heat exchange wall.

[0085] The switch valve 9D is a solenoid valve or an electric shut-off valve. Its inlet is connected to the outlet of the hot tank 1, and its outlet is connected to the inlet of the water pump 2. The controlled end of the switch valve 9D is electrically connected to the controller, which controls the valve core to open or close the water circuit from the hot tank 1 to the water pump 2.

[0086] Temperature sensor 7D is installed in the user's water supply circuit, specifically on the pipe between the second outlet of heat exchanger 8D and the water terminal, to detect the temperature of the hot water flowing out of heat exchanger 8D in real time. Temperature sensor 7D is electrically connected to the controller and transmits the detected current water temperature signal to the controller in real time.

[0087] In hot water extraction mode, after receiving a user's hot water extraction command, the controller first opens the switch valve 9D, creating a passage between the outlet of the hot water tank 1 and the inlet of the water pump 2. Simultaneously, it starts the water pump 2, transporting the high-temperature water from the hot water tank 1 to the first inlet of the heat exchanger 8D. The high-temperature water flows through the first flow channel of the heat exchanger 8D and returns to the hot water tank 1 through the first outlet, forming a cycle. During this process, ambient temperature water from the cold water circuit enters the first and second inlets of the heat exchanger 8D. Inside the heat exchanger 8D, the heat from the high-temperature water in the first flow channel is transferred through the heat exchange wall to the cold water in the second flow channel, raising the water temperature in the second flow channel before it flows to the user's water circuit through the second outlet. Temperature sensor 7D detects the current water temperature in the user's water circuit in real time and feeds it back to the controller. When the current water temperature is lower than the target water temperature set by the user, the controller controls heater 10D to be powered on to heat the water in the heat tank 1, thereby providing heat source water with a higher temperature to heat exchanger 8D through the circulating water circuit. The controller controls heater 10D to be powered off after the water temperature in the user's water circuit reaches the target water temperature set by the user.

[0088] See Figure 10 , Figure 10This is another schematic flowchart of the valve control method provided in the embodiments of this application, which specifically includes the following steps: D1. Upon receiving a hot water command from a user, control the switch valve to open and control the water pump to start.

[0089] D2. When the temperature sensor detects that the current water temperature is lower than the target water temperature set by the user, the heater is controlled to heat the water.

[0090] In step D1, after the user issues a hot water dispensing command on the operating interface, the command is transmitted to the controller's input terminal in the form of an electrical signal. The controller has an internal command parsing and verification unit that identifies the signal. Once the command is confirmed to be valid, it enters the hot water dispensing control mode. The controller first sends an opening signal to the switching valve through its output interface. This signal is usually a drive voltage, which energizes the electromagnetic coil inside the switching valve, causing the valve core to actuate and thus connecting the water path between the outlet of the hot water tank and the inlet of the water pump. Simultaneously with the opening of the switching valve or after a preset short delay, the controller sends a start signal to the water pump. This signal is usually a relay contact closure or a drive voltage output, which energizes the motor inside the water pump to run. After the water pump starts, it draws high-temperature water from the outlet of the hot water tank, flows through the switching valve into the inlet of the water pump, and then from the outlet of the water pump to the first inlet of the heat exchanger. The high-temperature water flows through the first flow channel of the heat exchanger and returns to the hot water tank through the first outlet, forming a closed circulation water path. During this process, the controller also keeps the drain valve closed to ensure that all the high-temperature water enters the circulation loop and is not discharged.

[0091] In step D2, after starting the water pump, the controller continuously acquires the real-time water temperature of the user's water supply via a temperature sensor. The temperature sensor is installed on the pipeline between the second outlet of the heat exchanger and the water terminal. It converts the detected water temperature signal into an electrical signal and feeds it back to the controller in real time. The controller has an analog-to-digital converter or digital signal receiving port to interpret the received electrical signal into the current water temperature value. Simultaneously, the controller reads the user-set target water temperature value from its internal non-volatile memory. This target water temperature value can be set and saved by the user on the operating interface. The controller compares the current water temperature value with the target water temperature value. If the comparison result shows that the current water temperature is lower than the target water temperature value, the controller determines that the current outlet water temperature does not meet the user's needs and requires increasing the water temperature in the heat tank to enhance heat exchange capacity. The controller then sends a power-on command to the heater through its output interface. This command typically controls a solid-state relay or electromagnetic relay to conduct, energizing the heater. The heater converts electrical energy into heat energy to heat the water stored in the heat tank. As the heating process continues, the water temperature inside the heating tank gradually rises. The temperature of the high-temperature water flowing through the first channel of the heat exchanger in the circulation loop also increases accordingly. This increases the heat transferred to the second channel through the heat exchange wall, causing the water temperature in the user's water circuit to gradually rise. When the temperature sensor detects that the current water temperature has reached or exceeded the user-set target water temperature, the controller cuts off the power to the heater, stopping heating and stabilizing the outlet water temperature near the target temperature.

[0092] In this embodiment, the instant response speed and temperature stability when the user draws water are guaranteed, while the ineffective operation of the heater and energy waste are avoided. It has outstanding technical effects of rapid response, precise temperature control and energy efficiency.

[0093] In one embodiment, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program that, when executed by a processor, implements the control method of the water treatment device described above.

[0094] It should be noted that the functions or steps that can be implemented by the computer-readable storage medium or computer device described above can be referred to the relevant descriptions on the server side and client side in the foregoing method embodiments. To avoid repetition, they will not be described one by one here.

[0095] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0096] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0097] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A control method for a water treatment device, characterized in that, The water treatment device includes: a hot tank, a water pump, a one-way air inlet valve, a one-way air outlet valve, a drain valve, and a controller; The one-way air inlet valve and the one-way air outlet valve are located on the top of the hot tank. The water inlet of the water pump is connected to the water outlet of the hot tank, and the water outlet of the water pump is connected to the water inlet of the drain valve. The controller is electrically connected to the water pump and the drain valve, respectively. The method includes the following steps: In response to the venting command, the venting valve is opened and the water pump is started. After the water pump is started, a negative pressure is generated inside the hot tank. The one-way air inlet valve is configured to open automatically when its positive pressure value is greater than a first threshold, and the one-way air outlet valve is configured to open automatically when its positive pressure value is greater than a second threshold. During the venting process, when the preset venting termination condition is met, the venting valve is closed and the water pump is stopped.

2. The control method for the water treatment device according to claim 1, characterized in that, The conditions for ending the venting process include: The liquid level in the hot tank is measured by a level sensor and found to be less than a preset height threshold; or, The operating current of the water pump is less than a preset current threshold.

3. The control method for the water treatment device according to claim 1, characterized in that, Also includes: The real-time flow rate of the water pump is measured by a flow sensor, and the emptying time is calculated based on the water volume of the hot tank and the real-time flow rate, and the emptying time is pushed to the user.

4. The control method for the water treatment device according to claim 1, characterized in that, The water treatment device also includes: a temperature sensor, a heat exchanger, and a heater; The heater is installed in the hot tank; the inlet of the water pump is connected to the outlet of the hot tank, the outlet of the water pump is connected to the first inlet of the heat exchanger, the first outlet of the heat exchanger is connected to the inlet of the hot tank and the inlet of the drain valve respectively; the second inlet of the heat exchanger is connected to the cold water circuit, and the second outlet of the heat exchanger is connected to the user's water circuit. The controller is electrically connected to both the temperature sensor and the heater. The method further includes: The current temperature of the heat exchanger is measured using the temperature sensor. When the current temperature is lower than the preset insulation temperature threshold, the heater is controlled to heat the water and the water pump is controlled to start.

5. The control method for the water treatment device according to claim 1, characterized in that, The water treatment device also includes: a circulating pump, a heater, a temperature sensor, a heat exchanger, and a switching valve; The water pump inlet is connected to the drain outlet of the hot tank, the water pump outlet is connected to the inlet of the switching valve and the inlet of the vent valve, the outlet of the switching valve is connected to the first inlet of the heat exchanger, and the first outlet of the heat exchanger is connected to the inlet of the hot tank. The inlet of the circulating pump is connected to the outlet of the hot tank and the cold water circuit, respectively, and the outlet of the circulating pump is connected to the first inlet of the heat exchanger. The second inlet of the heat exchanger is connected to the cold water circuit, and the second outlet of the heat exchanger is connected to the user's water circuit. The heater is installed in the hot tank, and the temperature sensor is installed in the user's water circuit; the controller is electrically connected to the switching valve, the temperature sensor, the heater, and the circulating pump respectively. The method further includes: Upon receiving a user's command to request hot water, the circulation pump is activated. The temperature sensor detects the current water temperature. If the current water temperature is lower than the preset user target water temperature, the heater is controlled to heat the water.

6. The control method for the water treatment device according to claim 1, characterized in that, The water treatment device also includes: a temperature sensor, a heat exchanger, and a heating device; The outlet of the water pump is connected to the inlet of the heating device, the outlet of the heating device is connected to the inlet of the heat exchanger, the outlet of the heat exchanger is connected to the inlet of the drain valve, and the temperature sensor is installed in the pipe of the outlet of the heat exchanger; the controller is electrically connected to the temperature sensor and the heating device respectively. The method further includes: The current temperature of the heat exchanger is detected by a temperature sensor; If the current temperature is less than a preset insulation temperature threshold, calculate the temperature difference between the current temperature and the insulation temperature threshold, calculate the corresponding heating power based on the temperature difference, and control the heating device to heat according to the heating power.

7. The control method for the water treatment device according to claim 1, characterized in that, The water treatment device also includes: a temperature sensor, a heater, a heat exchanger, and a switching valve; The inlet of the switch valve is connected to the outlet of the hot tank, the outlet of the switch valve is connected to the inlet of the water pump, the outlet of the water pump is connected to the first inlet of the heat exchanger and the inlet of the drain valve, and the first outlet of the heat exchanger is connected to the inlet of the hot tank. The first inlet of the heat exchanger is connected to the cold water circuit, and the second outlet of the heat exchanger is connected to the user's water circuit. The temperature sensor is installed in the user's water supply circuit, and the heater is installed in the hot tank; the controller is electrically connected to the temperature sensor and the switching valve respectively. The method further includes: Upon receiving a hot water command from a user, the system controls the opening of the switch valve and the start of the water pump. When the temperature sensor detects that the current water temperature is lower than the target water temperature set by the user, it controls the heater to heat the water.

8. A water treatment device, characterized in that, The device is used to control a water treatment apparatus, and the device is configured to implement the steps of the control method for the water treatment apparatus as described in any one of claims 1 to 7.

9. A water treatment device, characterized in that, The water treatment device includes: a hot tank, a water pump, a one-way air inlet valve, a one-way air outlet valve, a drain valve, and a controller; The one-way air inlet valve and the one-way air outlet valve are located on the top of the hot tank. The water inlet of the water pump is connected to the water outlet of the hot tank, and the water outlet of the water pump is connected to the water inlet of the drain valve. The controller is electrically connected to the water pump and the drain valve respectively. The controller is used to control the operation of the heating device, the drive pump and the circulation pump. The controller includes: a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the control method of the water treatment device as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the control method for the water treatment apparatus as described in any one of claims 1 to 7.