Swimming pool water temperature control method, system and device and storage medium

Through the dual judgment of the temperature sensor and controller, the water flow path of the swimming pool is adjusted to allow the heating water source to enter the swimming pool from the lower temperature port, solving the problem of water temperature difference in the swimming pool area, achieving uniformity and stability of water temperature, and providing swimmers with More comfortable environment and improve system efficiency and energy-saving performance.

CN119179352APending Publication Date: 2024-12-24GUANGDONG PHNIX ECO ENERGY SOLUTION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411042588.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

In the existing pool water temperature control methods, there are differences in water temperatures in different areas of the pool, which affects the comfort of swimmers and may pose potential risks to health.

Method used

The temperature of the pool's inlet and outlet is monitored through a temperature sensor, and the controller uses the dual judgment of temperature difference and duration to intelligently adjust the water flow path so that the heating water source enters the pool from the lower-temperature port, thereby equalizing the water temperature distribution.

Benefits of technology

Effectively balance the water temperature distribution in the swimming pool, ensure the uniformity and stability of the water temperature, provide swimmers with a more comfortable environment, and improve the system's operating efficiency and energy-saving performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119179352A_ABST
    Figure CN119179352A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of temperature control, and discloses a swimming pool water temperature control method, system and device and a storage medium which are used for effectively balancing water temperature distribution. The swimming pool water temperature control method comprises the steps that when a water treatment system is in a heating state, a target first temperature of a swimming pool water inlet and a target second temperature of a swimming pool water outlet are monitored through a temperature sensor; and when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold value and the duration reaches a preset duration, the controller controls the water pump to switch the water flow path, so that the heating water source enters the swimming pool from the port with the lower temperature.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of temperature control, and in particular to a method, system, device and storage medium for controlling the water temperature of a swimming pool. Background Art

[0002] During the operation and maintenance of swimming pools, maintaining a stable and appropriate swimming pool water temperature is crucial to improving user experience and ensuring the health of swimmers. With the continuous development of technology, swimming pool water temperature control systems have gradually achieved automation and intelligence, but existing swimming pool water temperature control methods still have some problems and challenges.

[0003] In the traditional swimming pool water temperature control method, the pool water is usually heated by a heating device, and the heated water is circulated into the swimming pool by a water pump. However, this method often has the problem of uneven water temperature distribution during the heating process, that is, the water temperature in different areas of the swimming pool is different, which not only affects the comfort of swimmers, but also may pose a potential risk to swimmers' health. Summary of the invention

[0004] The present invention provides a swimming pool water temperature control method, system, device and storage medium to solve the problem of different water temperatures in different areas of a swimming pool in the prior art.

[0005] A first aspect of the present invention provides a method for controlling the water temperature of a swimming pool, comprising: when the water treatment system is in a heating state, monitoring a target first temperature of the water inlet of the swimming pool and a target second temperature of the water outlet of the swimming pool by means of the temperature sensor; when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold value and the duration reaches a preset time length, controlling the water pump by means of the controller to switch the water flow path so that the heated water source enters the swimming pool from a port with a lower temperature.

[0006] In a feasible embodiment, after the controller controls the water pump to switch the water flow path, it also includes: monitoring the temperature difference between the new swimming pool water inlet and the new swimming pool water outlet, and when the new temperature difference reaches the preset threshold and the duration reaches the preset time, controlling the water pump to switch the water flow path again. In a feasible embodiment, if the water pump includes a first water pump and a second water pump, the first water pump is used to control the water flow along the first water flow path, and the second water pump is used to control the water flow along the second water flow path, and the switching of the water flow path is switching from the first water flow path to the second water flow path, then the controller controls the water pump to switch the water flow path, including: controlling the first water pump to turn off and the second water pump to turn on through the controller, thereby changing the functions of the swimming pool water inlet and the swimming pool water outlet, so that the swimming pool water outlet becomes the new swimming pool water inlet, and the swimming pool water inlet becomes the new swimming pool water outlet.

[0007] In a feasible embodiment, when the swimming pool water inlet includes at least two swimming pool water inlets and the swimming pool water outlet includes at least two swimming pool water outlets, monitoring the target first temperature of the swimming pool water inlet and the target second temperature of the swimming pool water outlet by the temperature sensor includes: monitoring at least two first temperatures of the at least two swimming pool water inlets and at least two second temperatures of the at least two swimming pool water outlets by the temperature sensor; calculating according to the at least two first temperatures to obtain the target first temperature; and calculating according to the at least two second temperatures to obtain the target second temperature.

[0008] In a feasible implementation manner, controlling the water pump by the controller to switch the water flow path so that the heated water source enters the swimming pool from a port with a lower temperature includes: controlling the first water pump to be turned off and the second water pump to be turned on by the controller, and when the second water pump is operated, the heated water source is transported to the at least two swimming pool outlets so that the heated water source enters the swimming pool from a port with a lower temperature.

[0009] In a feasible embodiment, after monitoring the target first temperature of the swimming pool water inlet and the target second temperature of the swimming pool water outlet by the temperature sensor, when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and the duration reaches a preset time, the controller controls the water pump to switch the water flow path so that the heated water source enters the swimming pool from the port with a lower temperature, and also includes: when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and the duration does not reach a preset time, if the defrost condition is triggered, the water treatment system is controlled to enter a defrost program, and the water pump is controlled to switch the water flow path based on the defrost program so that the water treatment system is defrosted by a water source with a higher temperature, and the timing of the duration is stopped. After defrosting is completed, the water treatment system is controlled to continue to circulate and heat the swimming pool water according to the original water flow path, and the duration is continued to be timed.

[0010] A second aspect of the present invention provides a water treatment system, which includes: a swimming pool, including a swimming pool water inlet and a swimming pool water outlet; a temperature sensor, used to monitor a target first temperature of the swimming pool water inlet and a target second temperature of the swimming pool water outlet; a controller connected to the temperature sensor, used to receive data from the temperature sensor; a water pump connected to the controller, used to receive a switching instruction from the controller to switch a water flow path when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, so that the heated water source enters the swimming pool from the port with a lower temperature.

[0011] In a feasible embodiment, the water treatment system also includes a unit and an intelligent predictor, the unit is used to heat the water source flowing through the water treatment system, and the intelligent predictor is connected to the temperature sensor, the controller and the unit, and is used to predict the water temperature change trend and adjust the operation strategy of the water pump and the heating power of the unit.

[0012] A third aspect of the present invention provides a swimming pool water temperature control device, which includes: a monitoring module, which is used to monitor the target first temperature of the swimming pool water inlet and the target second temperature of the swimming pool water outlet through the temperature sensor when the water treatment system is in a heating state; a switching module, which is used to control the water pump to switch the water flow path through the controller when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and the duration reaches a preset time length, so that the heated water source enters the swimming pool from the port with a lower temperature.

[0013] In a feasible implementation manner, the swimming pool water temperature control method further includes: a circulation processing module, which is used to monitor the temperature difference between the new swimming pool water inlet and the new swimming pool water outlet, and when the new temperature difference reaches the preset threshold and the duration reaches the preset time, controls the water pump to switch the water flow path again. In a feasible implementation manner, the switching module is specifically used to: control the first water pump to be turned off and the second water pump to be turned on through the controller, thereby changing the functions of the swimming pool water inlet and the swimming pool water outlet, so that the swimming pool water outlet becomes the new swimming pool water inlet, and the swimming pool water inlet becomes the new swimming pool water outlet.

[0014] In a feasible embodiment, the monitoring module is specifically used to: monitor at least two first temperatures of the at least two swimming pool water inlets and at least two second temperatures of the at least two swimming pool water outlets through the temperature sensor; calculate based on the at least two first temperatures to obtain a target first temperature; calculate based on the at least two second temperatures to obtain a target second temperature.

[0015] In a feasible embodiment, the switching module is also specifically used to: control the first water pump to be turned off and the second water pump to be turned on through the controller, and when the second water pump is operated, the heated water source is delivered to the at least two swimming pool outlets, so that the heated water source enters the swimming pool from the port with a lower temperature.

[0016] In a feasible embodiment, the swimming pool water temperature control device also includes: a defrost module, which is used to control the water treatment system to enter a defrost program if the defrost condition is triggered when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and the duration does not reach a preset duration. Based on the defrost program, the water pump is controlled to switch the water flow path so that the water treatment system is defrosted by a water source with a higher temperature, and the timing of the duration is stopped. After defrosting is completed, the water treatment system is controlled to continue to circulate and heat the swimming pool water according to the original water flow path, and the duration is continued to be timed.

[0017] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned swimming pool water temperature control method.

[0018] In the technical solution provided by the present invention, when the water treatment system is in a heating state, the target first temperature of the water inlet of the swimming pool and the target second temperature of the water outlet of the swimming pool are monitored by the temperature sensor; when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and the duration reaches a preset time, the controller controls the water pump to switch the water flow path so that the heated water source enters the swimming pool from the port with a lower temperature. In the embodiment of the present invention, by monitoring the temperature of the water inlet and outlet of the swimming pool, and based on the dual judgment of the temperature difference and the duration, the water flow path of the system is intelligently adjusted. When the temperature difference exceeds the preset threshold and lasts for a certain period of time, the system will guide the heated hot water to enter the swimming pool from the port with a lower temperature, thereby effectively balancing the water temperature distribution in the swimming pool, ensuring the uniformity and stability of the overall water temperature of the swimming pool, and providing a more comfortable water environment for swimmers. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A schematic diagram of an embodiment of a method for controlling the water temperature of a swimming pool according to an embodiment of the present invention;

[0020] Figure 2 It is a schematic diagram of another embodiment of the method for controlling the water temperature of a swimming pool in an embodiment of the present invention;

[0021] Figure 3 It is a schematic diagram of another embodiment of the method for controlling the water temperature of a swimming pool in an embodiment of the present invention;

[0022] Figure 4 It is a schematic diagram of another embodiment of the method for controlling the water temperature of a swimming pool in an embodiment of the present invention;

[0023] Figure 5 A schematic diagram of an embodiment of a water treatment system in an embodiment of the present invention;

[0024] Figure 6 It is another schematic diagram of a water treatment system according to an embodiment of the present invention;

[0025] Figure 7 It is a schematic diagram of an embodiment of a swimming pool water temperature control device in an embodiment of the present invention;

[0026] Figure 8 FIG. 2 is a schematic diagram of another embodiment of a swimming pool water temperature control device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] Embodiments of the present invention provide a swimming pool water temperature control method, system, device and storage medium, which effectively balance the water temperature distribution in the swimming pool by intelligently adjusting the water flow path of the system.

[0028] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] It is understandable that the execution subject of the present invention may be a swimming pool water temperature control device or a system, which is not limited here. The embodiment of the present invention is described by taking the system as the execution subject as an example.

[0030] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the swimming pool water temperature control method in the embodiment of the present invention includes:

[0031] 101. When the water treatment system is in a heating state, a target first temperature of a water inlet of the swimming pool and a target second temperature of a water outlet of the swimming pool are monitored by a temperature sensor;

[0032] The swimming pool water temperature control method is applied to a water treatment system, which includes a swimming pool, a temperature sensor, a controller and a water pump, and the swimming pool includes a swimming pool water inlet and a swimming pool water outlet. The swimming pool water inlet is used to introduce a heated water source into the swimming pool, and the swimming pool water outlet is used to lead the water source in the swimming pool out of the swimming pool to form a water cycle.

[0033] The target first temperature of the swimming pool water inlet and the target second temperature of the swimming pool water outlet are obtained by the first temperature sensor and the second temperature sensor. The first temperature sensor is arranged near the swimming pool water inlet to ensure that it can contact the heated water source entering the swimming pool to obtain the target first temperature of the swimming pool water inlet and transmit the target first temperature to the controller, and the second temperature sensor is arranged near the swimming pool water outlet to obtain the target second temperature of the swimming pool water outlet and transmit the target second temperature to the controller.

[0034] The temperature difference between the target first temperature and the target second temperature is calculated by the controller, the target second temperature is subtracted from the target first temperature to obtain the target temperature difference, and the preset threshold is subtracted from the target temperature difference. If the difference between the target temperature difference and the preset threshold is less than zero, it is determined that the target temperature difference has not reached the preset threshold. If the difference between the target temperature difference and the preset threshold is not less than zero, it is determined that the target temperature difference has reached the preset threshold. When the target temperature difference reaches the preset threshold, the duration for the target temperature difference to reach the preset threshold is recorded. For example, the target temperature difference can be set to 4°C and the duration can be set to 2h, which is specifically limited according to actual conditions.

[0035] 102. When the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, the controller controls the water pump to switch the water flow path so that the heated water source enters the swimming pool from the port with a lower temperature.

[0036] The water pump is a reversible water pump, which can change the water flow path by changing the rotation direction of the electrode. When the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and the duration reaches a preset time, the controller generates a switching instruction and sends the switching instruction to the water pump. The water pump closes the current water flow path based on the switching instruction, that is, closes the valves of the raw water pump inlet and the raw water pump outlet, and adjusts the rotation direction of the water pump motor. After the rotation direction of the water pump motor changes, the water pump opens a new water flow path, that is, opens the raw water pump outlet as a new water pump inlet, and the raw water pump inlet is used as a new water pump outlet. As the water pump operates, the water in the swimming pool is pumped out from the swimming pool outlet for heating, and then re-enters the swimming pool through the swimming pool inlet, that is, the swimming pool outlet is used as a new swimming pool inlet, and the swimming pool inlet is used as a new swimming pool outlet to achieve a new water flow cycle, so that the heated water source enters the swimming pool from the port with a lower temperature.

[0037] In the embodiment of the present invention, by monitoring the temperature of the water inlet and outlet of the swimming pool and based on the dual judgment of temperature difference and duration, the water flow path of the system is intelligently adjusted. When the temperature difference exceeds the preset threshold and lasts for a certain period of time, the system will guide the heated hot water to enter the swimming pool from the port with lower temperature, thereby effectively balancing the water temperature distribution in the swimming pool, ensuring the uniformity and stability of the overall water temperature of the swimming pool, and providing a more comfortable water environment for swimmers.

[0038] See also Figure 2 Another embodiment of the swimming pool water temperature control method in the embodiment of the present invention includes:

[0039] 201. When the water treatment system is in a heating state, a target first temperature of a water inlet of the swimming pool and a target second temperature of a water outlet of the swimming pool are monitored by a temperature sensor;

[0040] 202. The water pump includes a first water pump and a second water pump. The first water pump is used to control the water flow along the first water flow path, and the second water pump is used to control the water flow along the second water flow path. The water flow path is switched from the first water flow path to the second water flow path. When the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and the duration reaches a preset time, the first water pump is controlled to be turned off and the second water pump is controlled to be turned on by the controller, thereby changing the functions of the swimming pool water inlet and the swimming pool water outlet, so that the swimming pool water outlet becomes a new swimming pool water inlet, and the swimming pool water inlet becomes a new swimming pool water outlet, so that the heated water source enters the swimming pool from the port with a lower temperature;

[0041] When the first water pump is in the on state and the second water pump is in the off state, the system is in the first water flow path, the water in the swimming pool flows out of the swimming pool through the swimming pool outlet and is heated, and the heated water source enters the swimming pool through the swimming pool inlet, so as to circulate the water in the swimming pool, and when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold value and the duration reaches a preset time, the controller generates a switching instruction and sends the switching instruction to the first water pump and the second water pump, wherein the first water pump performs a closing operation after receiving the switching instruction, and the second water pump performs a opening operation after receiving the switching instruction, at this time, under the operation of the second water pump, the water flow path is switched from the first water flow path to the second water flow path, the swimming pool outlet is converted from the original water outlet function to the water inlet function, and the swimming pool inlet is converted from the original water inlet function to the water outlet function, that is, the swimming pool outlet becomes a new swimming pool inlet, and the swimming pool inlet becomes a new swimming pool outlet, so that the heated water source enters the swimming pool from the port with lower temperature.

[0042] 203. Monitor the temperature difference between the new swimming pool water inlet and the new swimming pool water outlet, and when the new temperature difference reaches a preset threshold and lasts for a preset time, control the water pump to switch the water flow path again.

[0043] In order to monitor whether the swimming pool water temperature reaches the expected uniform distribution after switching the water flow path, it is necessary to continue to monitor the temperature difference between the new swimming pool water inlet and the new swimming pool water outlet. When it is monitored that the new temperature difference reaches the preset threshold again and the duration reaches the preset time, it is determined that the swimming pool water temperature is still uneven and needs to be adjusted again. Therefore, it is necessary to control the water pump again to perform the switching operation so that the water flow path is switched from the second water flow path back to the first water flow path.

[0044] In the embodiment of the present invention, when the water treatment system is in a heating state, the target first temperature of the swimming pool water inlet and the target second temperature of the swimming pool water outlet are monitored. When the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, the first water pump is turned off and the second water pump is started, thereby changing the functions of the swimming pool water inlet and the swimming pool water outlet, so that the swimming pool water outlet becomes a new swimming pool water inlet, and the swimming pool water inlet becomes a new swimming pool water outlet, and the temperature difference between the new water inlet and the new water outlet is monitored. When the new temperature difference reaches a preset threshold and lasts for a preset time, the water pump is controlled to switch the water flow path again. This cyclic monitoring and switching method enables the system to continuously adjust the water flow circulation direction in the swimming pool to ensure uniform distribution of the swimming pool water temperature. At the same time, the system will also determine when to switch according to real-time temperature data and control the water pump to switch, thereby achieving efficient and intelligent swimming pool water temperature control.

[0045] In the embodiment of the present invention, please refer to Figure 3 Another embodiment of the swimming pool water temperature control method in the embodiment of the present invention includes:

[0046] 301. When the water treatment system is in a heating state, a target first temperature of a water inlet of the swimming pool and a target second temperature of a water outlet of the swimming pool are monitored by a temperature sensor;

[0047] When the swimming pool water inlet includes at least two swimming pool water inlets and the swimming pool water outlet includes at least two swimming pool water outlets, at least two first temperatures of the at least two swimming pool water inlets and at least two second temperatures of the at least two swimming pool water outlets are monitored by temperature sensors; a target first temperature is obtained by calculation based on the at least two first temperatures; and a target second temperature is obtained by calculation based on the at least two second temperatures.

[0048] The average values ​​of at least two first temperatures and at least two second temperatures are calculated respectively to obtain the target first temperature and the target second temperature. In addition, weighted calculation can also be performed according to the positions of different water inlets and different water outlets.

[0049] 302. When the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, the controller controls the water pump to switch the water flow path so that the heated water source enters the swimming pool from the port with a lower temperature;

[0050] When the water pump is a reversible water pump, when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, the controller generates a switching instruction and sends the switching instruction to the water pump. The water pump switches the water flow path based on the switching instruction. The water in the swimming pool flows from at least two swimming pool water inlets to the unit for heating. The heated water source flows back into the swimming pool through at least two swimming pool water outlets, so that the heated water source enters the swimming pool from the port with lower temperature.

[0051] When the water pump includes a first water pump and a second water pump, when the controller determines that the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, a switching instruction is generated and sent to the first water pump and the second water pump. The first water pump performs a shut-down operation after receiving the switching instruction, and the second water pump performs a start-up operation after receiving the switching instruction. When the second water pump is running, water in the swimming pool flows from at least two swimming pool water inlets to the unit for heating, and the heating water source flows back into the swimming pool through at least two swimming pool water outlets, so that the heating water source enters the swimming pool from the port with lower temperature.

[0052] 303. Obtain current system data and current environmental parameters for temperature control of the swimming pool;

[0053] The current system data includes operation records, the operating status of the water pump, and the heating power of the unit; the local weather forecast data is obtained through the meteorological interface to obtain the current environmental parameters. The weather forecast data includes but is not limited to temperature, humidity and wind speed.

[0054] 304. Predicting the water temperature change trend based on current operation data and current environmental parameters;

[0055] Obtain the operation records of the swimming pool before the temperature control, the operating status of the water pump, the heating power and environmental parameters of the unit, obtain historical statistical data, pre-process the historical statistical data and environmental parameters to form a data set for model training, divide the data set into a training set, a validation set and a test set, select at least one machine learning model for time series prediction, input the training set into the machine learning model for training, and use the validation set to evaluate the performance of the machine learning model, adjust the machine learning model parameters based on the evaluation results, and perform a target evaluation on the trained machine learning model through the test set to ensure that the machine learning model has good performance. The training set includes input features and output results. The input features include time, historical statistical data and environmental parameters, and the output result is water temperature. In the model training process, the input features and output features are used as the number of samples, and the parameters of the machine learning model are adjusted through the back propagation algorithm to minimize the error between the predicted value and the actual value. Input the current system data and the current environmental parameters into the machine learning model to obtain the preset water temperature change trend.

[0056] 305. Adjust the operation strategy of the water pump and the heating power of the unit based on the water temperature change trend.

[0057] When it is predicted that the water temperature is about to drop based on the water temperature change trend, the operating power of the water pump and the heating power of the unit are increased in advance. By increasing the flow rate of the water pump and the temperature setting value of the unit, the circulation speed and heating speed of the water in the swimming pool are accelerated, thereby quickly raising the water temperature; when it is predicted that the water temperature is about to rise based on the water temperature change trend, the operating power of the water pump and the heating power of the unit are reduced in advance. By reducing the flow rate of the water pump and lowering the temperature setting value of the unit, the circulation speed and heating speed of the water in the swimming pool are reduced, thereby avoiding excessive water temperature.

[0058] In addition to making adjustments based on water temperature trends, fine-tuning can also be done based on real-time monitoring data. For example, when it is detected that the pool water temperature has reached the preset comfortable range, the operating power of the pump and unit can be appropriately reduced to save energy and extend the life of the equipment.

[0059] In the embodiment of the present invention, by monitoring the temperature of the water inlet and outlet of the swimming pool and based on the dual judgment of temperature difference and duration, the water flow path of the system is intelligently adjusted. When the temperature difference exceeds the preset threshold and lasts for a certain period of time, the system will guide the heated hot water to enter the swimming pool from the port with lower temperature, thereby effectively balancing the water temperature distribution in the swimming pool, ensuring the uniformity and stability of the overall water temperature of the swimming pool, and providing swimmers with a more comfortable water environment. Through the adjustment strategy based on the trend of water temperature changes, the water temperature of the swimming pool can be accurately controlled, which can not only ensure that the water temperature of the swimming pool is always maintained within an appropriate range, but also improve the operating efficiency and energy-saving performance of the system. At the same time, this intelligent control method can also reduce the need for manual intervention, reduce maintenance costs and improve user experience.

[0060] In the embodiment of the present invention, please refer to Figure 4 Another embodiment of the swimming pool water temperature control method in the embodiment of the present invention includes:

[0061] 401. When the water treatment system is in a heating state, a target first temperature of a water inlet of the swimming pool and a target second temperature of a water outlet of the swimming pool are monitored by a temperature sensor;

[0062] 402. When the temperature difference between the target first temperature and the target second temperature reaches a preset threshold value and the duration does not reach a preset time, if the defrosting condition is triggered, the water treatment system is controlled to enter a defrosting program, and the water pump is controlled to switch the water flow path based on the defrosting program so that the water treatment system is defrosted by a water source with a higher temperature, and the duration time is stopped. After the defrosting is completed, the water treatment system is controlled to continue to circulate and heat the swimming pool water according to the original water flow path, and the duration time is continued to be timed;

[0063] In a low-temperature and high-humidity environment, the evaporator surface is prone to frost. The surface temperature of the evaporator can be detected by a temperature sensor. When the surface temperature is lower than the preset surface temperature and lasts for a set period of time, it is determined that the evaporator surface is frosted, thereby triggering the defrost condition. Image recognition technology can also be used to monitor the frosting condition on the evaporator surface. The image of the evaporator surface is captured by a camera, and the image processing algorithm is used to identify and analyze the thickness and distribution of the frost layer in the image. Based on the thickness and distribution of the frost layer, it is determined whether the defrost condition is triggered. In addition, in addition to determining whether the evaporator surface is frosted, time control can also be used to determine whether the defrost condition is triggered. For example, the defrost interval is set, and each defrost interval automatically triggers the defrost condition and enters the defrost program.

[0064] After the defrost condition is triggered, the water treatment system will stop the heating program and start the defrost program, and generate a switching instruction through the controller, and send the switching instruction to the water pump. After receiving the switching instruction, the water pump switches the water flow path. After switching the water flow path, the higher temperature water source will release heat to the evaporator through the pipe or heat exchanger. After the evaporator receives the heat, the frost layer on the surface will gradually melt, thereby achieving the purpose of defrosting.

[0065] Whether defrosting is completed can be determined by monitoring the surface temperature of the evaporator, identifying the thickness and distribution of the frost layer through image recognition technology, or by setting a target defrost time. For example, when the defrost time reaches the target defrost time, it is determined that defrosting is completed.

[0066] When defrosting is completed, the water treatment system automatically exits the defrosting program, restarts the heating program, continues to time the duration, and controls the water pump to switch the water flow path back to the original water flow path.

[0067] When the water pump includes a first water pump and a second water pump, after starting the defrosting program, the controller generates a switching instruction and sends the switching instruction to the first water pump and the second water pump. After receiving the switching instruction, the first water pump performs a closing operation, and after receiving the switching instruction, the second water pump performs a starting operation. When the second water pump is running, the water source with a higher temperature will release heat to the evaporator through a pipe or a heat exchanger. After the evaporator receives the heat, the frost layer on the surface will gradually melt, thereby achieving the purpose of defrosting. After defrosting is completed, the defrosting program is automatically exited, the heating program is restarted, the duration is continued to be timed, and the second water pump is controlled to perform a closing operation, and the first water pump is turned on to switch back to the original water flow path. By switching the water flow path and using a water source with a higher temperature for defrosting, the efficiency of defrosting is improved.

[0068] 403. When the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, the controller controls the water pump to switch the water flow path so that the heated water source enters the swimming pool from the port with a lower temperature.

[0069] In this embodiment, whether defrosting is required is flexibly determined during the swimming pool water temperature regulation process, and when it is determined that defrosting is required, the water source switching path is controlled to use a water source with a higher temperature for efficient defrosting, and the water circulation heating is promptly restored after defrosting is completed, ensuring that the swimming pool water temperature is effectively regulated and the system operates efficiently.

[0070] The above describes the swimming pool water temperature control method in the embodiment of the present invention. The following describes the water treatment system in the embodiment of the present invention. Figure 5 , an embodiment of the water treatment system in the embodiment of the present invention includes:

[0071] Swimming pool 501 includes a swimming pool water inlet and a swimming pool water outlet; a temperature sensor 502, used to monitor a target first temperature of the swimming pool water inlet and a target second temperature of the swimming pool water outlet; a controller 503 connected to the temperature sensor 502, used to receive data from the temperature sensor 502; a water pump 504 connected to the controller, used to receive a switching instruction from the controller to switch the water flow path when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and the duration reaches a preset time, so that the heated water source enters the swimming pool 501 from the port with a lower temperature.

[0072] In order to improve the accuracy of measurement, the swimming pool water inlet and the swimming pool water outlet can be respectively set on two sides of the swimming pool 501 that are farther apart.

[0073] The swimming pool outlet, the water pump and the swimming pool outlet are connected by a pipeline. The temperature sensor 502 includes a first temperature sensor and a second temperature sensor. The first temperature sensor obtains the target first temperature of the swimming pool inlet and transmits the target first temperature to the controller 503. The second temperature sensor obtains the target second temperature of the swimming pool outlet and sends the target second temperature to the controller 503. The controller 503 calculates the difference between the target first temperature and the target second temperature. When the difference reaches a preset threshold, the duration for which the difference reaches the preset threshold is recorded. When the duration reaches a preset duration, a switching instruction is generated and sent to the water pump 504. Based on the switching instruction, the water pump 504 is controlled to switch the water flow path so that the heated water source enters the swimming pool 501 from the port with a lower temperature.

[0074] In the embodiment of the present invention, based on the dual judgment of temperature difference and duration, the water flow path of the system is intelligently adjusted. When the temperature difference reaches a preset threshold and lasts for a certain period of time, the system will guide the heated hot water into the swimming pool from the port with lower temperature, thereby effectively balancing the water temperature distribution in the swimming pool, ensuring the uniformity and stability of the overall water temperature of the swimming pool, and providing a more comfortable water environment for swimmers.

[0075] See also Figure 6 Another embodiment of the water treatment system in the embodiment of the present invention includes:

[0076] The swimming pool 601, the temperature sensor 602, the controller 603, the first water pump 604 and the second water pump 605, the swimming pool 601 includes a swimming pool water inlet and a swimming pool water outlet, wherein the swimming pool water outlet, the second water pump 605, the first water pump 604 and the swimming pool water inlet are connected in sequence, the temperature sensor 602 is used to monitor the target first temperature of the swimming pool water inlet and the target second temperature of the swimming pool water outlet and send the target first temperature and the target second temperature to the controller, the controller 603 determines whether the temperature difference between the target first temperature and the target second temperature reaches a preset threshold value and lasts for a preset time, when the controller 603 determines that the temperature difference between the target first temperature and the target second temperature reaches a preset threshold value and lasts for a preset time, When the temperature difference reaches a preset threshold and lasts for a preset time, a switching instruction is generated and sent to the first water pump 604 and the second water pump 605. The first water pump 604 performs a shut-down operation after receiving the switching instruction, and the second water pump 605 performs a start-up operation after receiving the switching instruction. When the second water pump 605 is running, the water flow path is switched from the first water flow path to the second water flow path, and the water outlet of the swimming pool is converted from the original water outlet function to the water inlet function, and the water inlet of the swimming pool is converted from the original water inlet function to the water outlet function, that is, the water outlet of the swimming pool becomes a new water inlet, and the water inlet of the swimming pool becomes a new water outlet, so that the heated water source enters the swimming pool 601 from the port with a lower temperature.

[0077] The water treatment system may also include a unit 606 and an intelligent predictor 607. The unit 606 is used to heat the water source flowing through the system. The intelligent predictor 607 is connected to the temperature sensor 602, the controller 603 and the unit 606 to predict the trend of water temperature changes and adjust the water pump operation strategy and the heating power of the unit.

[0078] The swimming pool water inlet may include at least two swimming pool water inlets, and the swimming pool water outlet may include at least two swimming pool water outlets. For example, three water outlets are set at equal distances on one side of the swimming pool 601, and three water inlets corresponding to the three water outlets may be set on the other side of the swimming pool 601. When the controller 603 determines that the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, a switching instruction is generated and sent to the first water pump 604 and the second water pump 605. The first water pump 604 performs a shut-down operation after receiving the switching instruction, and the second water pump 605 performs a start-up operation after receiving the switching instruction. When the second water pump 605 is running, the water in the swimming pool 601 flows from at least two swimming pool water inlets to the unit for heating, and the heated water source flows back to the swimming pool through at least two swimming pool water outlets, so that the heated water source enters the swimming pool 601 from the port with a lower temperature.

[0079] By measuring the temperatures of at least two swimming pool water inlets and at least two swimming pool water outlets and then calculating the temperature difference between the target first temperature and the target second temperature, the temperatures of different areas can be obtained more accurately, thereby improving the accuracy of the balanced water temperature.

[0080] In the embodiment of the present invention, based on the dual judgment of temperature difference and duration, the water flow path of the system is intelligently adjusted. When the temperature difference reaches a preset threshold and lasts for a certain period of time, the system will guide the heated hot water to enter the swimming pool from the port with lower temperature, thereby effectively balancing the water temperature distribution in the swimming pool, ensuring the uniformity and stability of the overall water temperature of the swimming pool, and providing a more comfortable water environment for swimmers. The water temperature is controlled by at least two swimming pool inlets and at least two swimming pool outlets, thereby improving the efficiency of balancing the water temperature.

[0081] The above describes the water treatment system in the embodiment of the present invention. The following describes the swimming pool water temperature control device in the embodiment of the present invention. Figure 7 , an embodiment of a swimming pool water temperature control device in an embodiment of the present invention includes:

[0082] A monitoring module 701, for monitoring a target first temperature of a swimming pool water inlet and a target second temperature of a swimming pool water outlet through a temperature sensor when the water treatment system is in a heating state;

[0083] The switching module 702 is used to control the water pump to switch the water flow path through the controller when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, so that the heated water source enters the swimming pool from the port with a lower temperature.

[0084] In the embodiment of the present invention, by monitoring the temperature of the water inlet and outlet of the swimming pool and based on the dual judgment of temperature difference and duration, the water flow path of the system is intelligently adjusted. When the temperature difference exceeds the preset threshold and lasts for a certain period of time, the system will guide the heated hot water to enter the swimming pool from the port with lower temperature, thereby effectively balancing the water temperature distribution in the swimming pool, ensuring the uniformity and stability of the overall water temperature of the swimming pool, and providing a more comfortable water environment for swimmers.

[0085] See also Figure 8 Another embodiment of the swimming pool water temperature control device in the embodiment of the present invention includes:

[0086] A monitoring module 701, for monitoring a target first temperature of a swimming pool water inlet and a target second temperature of a swimming pool water outlet through a temperature sensor when the water treatment system is in a heating state;

[0087] The switching module 702 is used to control the water pump to switch the water flow path through the controller when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, so that the heated water source enters the swimming pool from the port with a lower temperature.

[0088] Optionally, the swimming pool water temperature control device also includes:

[0089] The circulation processing module 703 is used to monitor the temperature difference between the new swimming pool water inlet and the new swimming pool water outlet, and when the new temperature difference reaches a preset threshold and lasts for a preset time, control the water pump to switch the water flow path again.

[0090] Optionally, the switching module 702 may be specifically configured to:

[0091] The controller controls the first water pump to be turned off and the second water pump to be turned on, thereby changing the functions of the swimming pool water inlet and the swimming pool water outlet, so that the swimming pool water outlet becomes a new swimming pool water inlet, and the swimming pool water inlet becomes a new swimming pool water outlet.

[0092] Optionally, the monitoring module 701 may be specifically used for:

[0093] At least two first temperatures of at least two swimming pool water inlets and at least two second temperatures of at least two swimming pool water outlets are monitored by temperature sensors; a target first temperature is obtained by calculation based on the at least two first temperatures; and a target second temperature is obtained by calculation based on the at least two second temperatures.

[0094] Optionally, the switching module 702 may also be specifically configured to:

[0095] The first water pump is turned off and the second water pump is turned on by the controller. Under the operation of the second water pump, the heated water source is delivered to at least two swimming pool outlets so that the heated water source enters the swimming pool from the port with lower temperature.

[0096] Optionally, the swimming pool water temperature control device also includes:

[0097] The defrost module 704 is used to control the water treatment system to enter the defrost program when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and the duration does not reach a preset time. If the defrost condition is triggered, the water treatment system is controlled to enter the defrost program, and the water pump is controlled to switch the water flow path based on the defrost program to defrost the water treatment system through a water source with a higher temperature, and the duration timing is stopped. After the defrost is completed, the water treatment system is controlled to continue to circulate and heat the swimming pool water according to the original water flow path, and the duration time continues to be timed.

[0098] In the embodiment of the present invention, when the water treatment system is in a heating state, the target first temperature of the swimming pool water inlet and the target second temperature of the swimming pool water outlet are monitored. When the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, the first water pump is turned off and the second water pump is started, thereby changing the functions of the swimming pool water inlet and the swimming pool water outlet, so that the swimming pool water outlet becomes a new swimming pool water inlet, and the swimming pool water inlet becomes a new swimming pool water outlet, and the temperature difference between the new water inlet and the new water outlet is monitored. When the new temperature difference reaches a preset threshold and lasts for a preset time, the water pump is controlled to switch the water flow path again. This cyclic monitoring and switching method enables the system to continuously adjust the water flow circulation direction in the swimming pool to ensure uniform distribution of the swimming pool water temperature. At the same time, the system will also determine when to switch according to real-time temperature data and control the water pump to switch, thereby achieving efficient and intelligent swimming pool water temperature control.

[0099] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the swimming pool water temperature control method.

[0100] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0101] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0102] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for controlling the water temperature of a swimming pool, applied to a water treatment system, wherein the water treatment system comprises a swimming pool, a temperature sensor, a controller and a water pump, and the swimming pool comprises a swimming pool water inlet and a swimming pool water outlet, characterized in that: When the water treatment system is in a heating state, the target first temperature of the swimming pool water inlet and the target second temperature of the swimming pool water outlet are monitored by the temperature sensor; When the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, the controller controls the water pump to switch the water flow path so that the heated water source enters the swimming pool from the port with a lower temperature.

2. The method for controlling the water temperature of a swimming pool according to claim 1, characterized in that: After the controller controls the water pump to switch the water flow path, the method further includes: The temperature difference between the new swimming pool water inlet and the new swimming pool water outlet is monitored, and when the new temperature difference reaches the preset threshold and the duration reaches the preset time, the water pump is controlled to switch the water flow path again.

3. The method for controlling the water temperature of a swimming pool according to claim 1, characterized in that: If the water pump includes a first water pump and a second water pump, the first water pump is used to control water to flow along a first water flow path, the second water pump is used to control water to flow along a second water flow path, and the switching of the water flow path is switching from the first water flow path to the second water flow path, then controlling the water pump to switch the water flow path by the controller includes: The controller controls the first water pump to be turned off and the second water pump to be turned on, thereby changing the functions of the swimming pool water inlet and the swimming pool water outlet, so that the swimming pool water outlet becomes a new swimming pool water inlet, and the swimming pool water inlet becomes a new swimming pool water outlet.

4. The method for controlling the water temperature of a swimming pool according to claim 1, characterized in that: When the swimming pool water inlet includes at least two swimming pool water inlets, and the swimming pool water outlet includes at least two swimming pool water outlets, monitoring the target first temperature of the swimming pool water inlet and the target second temperature of the swimming pool water outlet by the temperature sensor includes: Monitoring at least two first temperatures of the at least two swimming pool water inlets and at least two second temperatures of the at least two swimming pool water outlets by the temperature sensor; Performing calculation according to the at least two first temperatures to obtain a target first temperature; Calculation is performed based on the at least two second temperatures to obtain a target second temperature.

5. The method for controlling the water temperature of a swimming pool according to claim 4, characterized in that: The controller controls the water pump to switch the water flow path so that the heated water source enters the swimming pool from the port with a lower temperature, including: The controller controls the first water pump to be turned off and the second water pump to be turned on. When the second water pump is running, the heated water source is delivered to the at least two swimming pool outlets, so that the heated water source enters the swimming pool from the port with lower temperature.

6. The method for controlling the water temperature of a swimming pool according to any one of claims 1 to 5, characterized in that: After monitoring the target first temperature of the swimming pool water inlet and the target second temperature of the swimming pool water outlet by the temperature sensor, when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and the duration reaches a preset time, the controller controls the water pump to switch the water flow path so that the heated water source enters the swimming pool from the port with a lower temperature, the method further includes: When the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and the duration does not reach a preset time, if the defrost condition is triggered, the water treatment system is controlled to enter a defrost program, and the water pump is controlled to switch the water flow path based on the defrost program to defrost the water treatment system through a water source with a higher temperature, and the timing of the duration is stopped. After defrosting is completed, the water treatment system is controlled to continue to circulate and heat the swimming pool water according to the original water flow path, and the duration is continued to be timed.

7. A water treatment system for implementing the swimming pool water temperature control method according to any one of claims 1 to 6, characterized in that: The water treatment system comprises: Swimming pool, including swimming pool inlet and swimming pool outlet; A temperature sensor, used to monitor a target first temperature of the swimming pool water inlet and a target second temperature of the swimming pool water outlet; A controller connected to the temperature sensor, used to receive data from the temperature sensor; The water pump connected to the controller is used to receive a switching instruction from the controller to switch the water flow path when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, so that the heated water source enters the swimming pool from a port with a lower temperature.

8. The water treatment system according to claim 7, characterized in that: The water treatment system also includes a unit and an intelligent predictor. The unit is used to heat the water source flowing through the water treatment system. The intelligent predictor is connected to the temperature sensor, the controller and the unit to predict the water temperature change trend and adjust the operation strategy of the water pump and the heating power of the unit.

9. A swimming pool water temperature control device, characterized in that: Applied to a water treatment system, the water treatment system includes a swimming pool, a temperature sensor, a controller and a water pump, the swimming pool includes a swimming pool water inlet and a swimming pool water outlet, and is characterized in that: A monitoring module, used for monitoring a target first temperature of the swimming pool water inlet and a target second temperature of the swimming pool water outlet through the temperature sensor when the water treatment system is in a heating state; The switching module is used to control the water pump to switch the water flow path through the controller when the temperature difference between the target first temperature and the target second temperature reaches a preset threshold and lasts for a preset time, so that the heated water source enters the swimming pool from the port with a lower temperature.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the swimming pool water temperature control method as described in any one of claims 1-6 is implemented.