Water treatment device and control method, device and readable storage medium thereof

By receiving the set temperature value and the initial outlet water temperature to determine the temperature rise time, and adjusting the gain parameter according to the temperature rise time, the problem of mismatch between the outlet water temperature and the set temperature of instant hot water dispensers is solved, achieving accuracy and consistency of outlet water temperature and improving user experience.

CN116135792BActive Publication Date: 2024-11-22FOSHAN SHUNDE MIDEA WATER DISPENSER MFG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111370494.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-18
Publication Date
2024-11-22
Estimated Expiration
2041-11-18

AI Technical Summary

Technical Problem

Due to differences in the manufacturing process of instant hot water dispensers, the water temperature may not match the set temperature, affecting the user experience.

Method used

By receiving the set temperature value, the temperature rise time is determined based on the set temperature value and the initial outlet water temperature. The gain parameters of the pump body are adjusted according to the comparison result between the temperature rise time and the preset temperature rise time to match the actual operating conditions of the water treatment device.

Benefits of technology

It improves the accuracy and consistency of the water temperature output, enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116135792B_ABST
    Figure CN116135792B_ABST
Patent Text Reader

Abstract

The present invention provides a water treatment device and a control method thereof, a device and a readable storage medium. The control method of the water treatment device includes: receiving a set temperature value; determining the temperature rise time of the water treatment device according to the set temperature value and the initial water outlet temperature; adjusting the gain parameter of the pump body according to the comparison result of the temperature rise time and the preset temperature rise time. By running the control method, the degree of mismatch between the water outlet temperature and the set temperature value existing in the prior art solution can be improved, thereby improving the water outlet effect of the water treatment device and improving the user experience in the process of using the water treatment device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of control technology, and in particular to a water treatment device and a control method, device and readable storage medium thereof. Background Art

[0002] There are always large and small differences between different instant hot water dispenser devices due to process production and other reasons, such as differences in water pumps, heating barrels, and sensors.

[0003] Due to the above differences, when applying a general software control strategy to instant hot water dispenser equipment, it is very easy for the water outlet temperature to not match the actual set temperature, affecting the user experience. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.

[0005] To this end, a first aspect of the present invention is to provide a control method for a water treatment device.

[0006] A second aspect of the present invention provides a control device for a water treatment device.

[0007] A third aspect of the present invention provides a readable storage medium.

[0008] A fourth aspect of the present invention provides a water treatment device.

[0009] In view of this, according to the first aspect of the present invention, the present invention provides a control method for a water treatment device, the water treatment device includes a pump body, and the control method includes: receiving a set temperature value; determining the temperature rise time of the water treatment device according to the set temperature value and the initial water outlet temperature; and adjusting the gain parameter of the pump body according to the comparison result of the temperature rise time with the preset temperature rise time.

[0010] The technical solution of the present application proposes a control method for a water treatment device. By running the control method, the degree of mismatch between the outlet water temperature and the set temperature value in the prior art solution can be improved, so that the outlet water temperature and the set temperature value tend to be the same, thereby improving the water outlet effect of the water treatment device and improving the user experience when using the water treatment device.

[0011] In the above technical solution, the set temperature value can be understood as the set water outlet temperature of the water treatment device, which can be the default setting value of the water treatment device, and can also be set according to the user's usage requirements.

[0012] In one of the technical solutions, the set temperature value can be 45°C, 55°C, 75°C or 100°C, and the specific value can be set according to the actual usage scenario.

[0013] In any of the above technical solutions, the temperature rise time can be understood as the time taken for the temperature to rise. In the technical solution of the present application, the temperature rise time is related to the set temperature value. By associating the temperature rise time with the set temperature value, it is possible to avoid boiling of the heated liquid due to the temperature setting value being too high, resulting in the temperature rise time being unable to accurately represent the actual differences in the water treatment device, thereby reducing the adjustment effect of the gain parameter.

[0014] In any of the above technical solutions, the preset temperature rise time can be understood as the experimental result of the temperature rise time of the calibrated water treatment device under the same working conditions.

[0015] In any of the above technical solutions, the calibrated water treatment device may be produced in the same batch as the water treatment device.

[0016] In any of the above technical solutions, the gain parameter can be understood as an error gain term. The larger the gain parameter is, the faster the error between the temperature estimate value output by the state observer for controlling the pump body and the set temperature value is eliminated, and the corresponding temperature rise rate is faster, that is, the shorter the temperature rise time is. Conversely, the smaller the gain parameter is, the slower the error between the temperature estimate value output by the state observer for controlling the pump body and the set temperature value is eliminated, and the corresponding temperature rise rate is slower, that is, the longer the temperature rise time is. By adjusting the gain parameter, the adjusted gain parameter is used to eliminate the problem of mismatch between the outlet water temperature and the actual set temperature, thereby improving the accuracy of the outlet water temperature.

[0017] In addition, the control method of the water treatment device defined by the technical solution of the present application also has the following additional technical features.

[0018] In the above technical solution, the temperature rise time of the water treatment device is determined according to the set temperature value and the initial water outlet temperature, including: based on the set temperature value being greater than the first temperature, the temperature rise time is the time from the initial water outlet temperature to the first temperature; based on the set temperature value being less than or equal to the first temperature, the temperature rise time is the time from the initial water outlet temperature to the second temperature, wherein the difference between the set temperature value and the second temperature is equal to the third temperature.

[0019] In this technical solution, a specific solution for determining the temperature rise time based on the set temperature value and the initial water outlet temperature is defined. In this technical solution, when the set temperature value exceeds the first temperature, it is considered that the heated liquid is very likely to boil at the current set temperature. Therefore, the temperature rise time is defined as the time it takes for the water outlet temperature to gradually increase from the initial water outlet temperature to the first temperature. Since the first temperature is lower than the set temperature value, the probability of the heated liquid boiling can be reduced, thereby improving the credibility of the temperature rise time.

[0020] Similarly, when the set temperature value is not higher than the first temperature, it is considered that the probability of boiling of the heated liquid is not high. At this time, the temperature rise time is selected as the time taken for the outlet water temperature to gradually rise from the initial outlet water temperature to the second temperature value. In this process, the second temperature value differs from the set temperature value by a third temperature value, that is, the set temperature value is higher than the second temperature value by a third temperature.

[0021] If the second temperature value directly selects the temperature setting value, the temperature rise rate corresponding to the temperature value on the temperature rise curve cannot be determined. Based on the characteristics of the transfer function, by setting the third temperature, that is, selecting the time corresponding to the temperature range from the set temperature value to the second temperature value, the problem of the temperature rise rate corresponding to the temperature value on the temperature rise curve cannot be determined. Through the above scheme, the credibility of the temperature rise time can be improved.

[0022] In any of the above technical solutions, the set value of the third temperature may be a fixed value, such as 1°C.

[0023] In one of the technical solutions, the selectable range of the third temperature may be within a certain fluctuation range of the above-mentioned fixed value, such as 5% above or below the fixed value.

[0024] In any of the above technical solutions, the value of the third temperature is between 0.95°C and 1.05°C.

[0025] In any of the above technical solutions, the gain parameter of the pump body is adjusted according to the comparison result of the temperature rise time and the preset temperature rise time, specifically including: increasing the gain parameter based on the temperature rise time being greater than the sum of the preset temperature rise time and the first time; reducing the gain parameter based on the temperature rise time being less than the preset temperature rise time.

[0026] In this technical solution, when it is detected that the temperature rise time exceeds the first preset temperature rise time, it is considered that the current temperature rise time is too long and the outlet water temperature of the water treatment device rises too slowly. The outlet water temperature rise rate can be increased by increasing the gain parameter. At the same time, through the above adjustment, the temperature rise time of the water treatment device in the later stage can be shortened for user use.

[0027] If the temperature rise time is lower than the preset temperature rise time, it is considered that the current temperature rise time is too short and the outlet water temperature of the water treatment device rises too fast. The outlet water temperature rise rate can be reduced by lowering the gain parameter. At the same time, through the above adjustment, the temperature rise time of the water treatment device in the later stage can be extended for user use.

[0028] In the above technical solution, the gain parameters are adjusted to match the actual control logic of the water treatment device with the actual operating conditions of the water treatment device, thereby overcoming the problem of large and small differences that always exist due to process production and other reasons, so as to improve the accuracy of the outlet water temperature of the water treatment device.

[0029] In any of the above technical solutions, increasing the gain parameter can be understood as increasing the value of the gain parameter, such as adding an adjustment value based on the value before adjustment, wherein the adjustment value can be a fixed value, and its specific value can be set according to the actual use scenario of the water treatment device.

[0030] In one of the technical solutions, the adjustment value may be 0.1, 0.15, 0.2, etc.

[0031] Similarly, reducing the gain parameter can be understood as reducing the value of the gain parameter, such as subtracting an adjustment value from the value before adjustment, where the adjustment value can be a fixed value, and its specific value can be set according to the actual use scenario of the water treatment device.

[0032] In one of the technical solutions, the adjustment value can be 0.1, 0.15, 0.2, etc.

[0033] In any of the above technical solutions, based on the temperature rise duration being less than the sum of the preset temperature rise duration and the first duration, and being greater than or equal to the preset temperature rise duration, the overshoot of the water treatment device is obtained, wherein the overshoot is the difference between the adjusted outlet water temperature and the set temperature value; based on the overshoot being greater than the overshoot threshold, the gain parameter is reduced; based on the overshoot being less than or equal to the overshoot threshold, the gain parameter is maintained unchanged.

[0034] In this technical solution, an adjustment strategy is defined for adjusting the gain parameters using the overshoot when the temperature rise duration is within an optimal range. The gain parameters are adjusted using the overshoot so as to match the actual control logic of the water treatment device with the actual operating conditions of the water treatment device, thereby overcoming the problem of large and small differences that always exist due to process production and other reasons, so as to improve the accuracy of the water outlet temperature of the water treatment device.

[0035] The preferred range is composed of the preset temperature rise time mentioned above as the lower limit of the range, and the sum of the preset temperature rise time and the first time as the upper limit of the preferred range.

[0036] In any of the above technical solutions, the overshoot is determined based on the adjusted outlet water temperature and the set temperature value, such as the difference between the adjusted outlet water temperature and the set temperature value. Therefore, the overshoot can accurately characterize the temperature rise rate of the water treatment device during actual operation. By comparing the overshoot with the overshoot threshold, it is determined whether the current overshoot is too large. If the overshoot exceeds the overshoot threshold, it is considered that the overshoot is too large. Otherwise, if the overshoot does not exceed the overshoot threshold, it is considered that the overshoot meets the requirements.

[0037] In the case of excessive overshoot, the gain parameter is reduced to reduce the rate of increase of the outlet water temperature. At the same time, through the above adjustment, the temperature rise time of the water treatment device in the later stage can be extended for users to use.

[0038] In the case where the overshoot threshold is not exceeded, the gain parameter can be kept unchanged to avoid the outlet water temperature not matching the set temperature value after the gain parameter is adjusted.

[0039] In any of the above technical solutions, the overshoot threshold may be a preset value, the maximum value of which is less than or equal to 1.5°C.

[0040] In any of the above technical solutions, the first duration can be selected according to the actual usage scenario.

[0041] In any of the above technical solutions, the first duration can be selected as a value such as 1 second, 3 seconds, etc.

[0042] In any of the above technical solutions, before determining the temperature rise time of the water treatment device according to the set temperature value and the initial outlet water temperature, it also includes: obtaining the outlet water temperature of the water treatment device at the sampling time; obtaining the preset outlet water temperature corresponding to the sampling time on the preset reference temperature rise curve; and controlling the outlet water flow rate of the water treatment device based on the difference between the outlet water temperature and the preset outlet water temperature being greater than the preset temperature difference.

[0043] In this technical solution, the outlet water temperature is compared with the corresponding preset outlet water temperature in the preset reference temperature rise curve to determine the temperature rise rate of the outlet water temperature. Specifically, the difference between the outlet water temperature and the preset outlet water temperature is calculated. If the difference is greater than the preset temperature difference, it is considered that the temperature rise rate is too fast; conversely, if the difference is less than or equal to the preset temperature difference, it is considered that the temperature rise rate is reasonable.

[0044] By controlling the water flow rate, the water outlet temperature can be indirectly controlled, thereby suppressing the occurrence of excessive temperature rise, thereby ensuring that the water outlet temperature of the water treatment device tends to the set temperature value to meet the actual usage needs of users.

[0045] In any of the above technical solutions, the preset temperature difference can be set according to the actual use requirements of the water treatment device.

[0046] In any of the above technical solutions, the set value of the preset temperature difference may be a fixed value, such as 3°C.

[0047] In one of the technical solutions, the selectable range of the preset temperature difference may be within a certain fluctuation range of the above-mentioned fixed value, such as 5% above or below the fixed value.

[0048] In any of the above technical solutions, the preset temperature difference is between 2.85°C and 3.15°C.

[0049] In any of the above technical solutions, the water outlet flow rate of the water treatment device is controlled, specifically including: obtaining the set power of the water treatment device; and determining the water outlet flow rate according to the set power, the water inlet temperature and the water outlet temperature of the water treatment device.

[0050] In this technical solution, a specific control scheme for the water flow rate is defined. In this specific control scheme, the control of the water flow rate adopts pure feedforward control, that is, using the energy conservation formula:

[0051] cFΔT=Pδ

[0052] Based on the energy conservation formula, we can get:

[0053]

[0054] Among them, c is the specific heat capacity of water, ΔT is the temperature difference between the outlet water temperature and the inlet water temperature, that is, the temperature rise, P is the heating power, δ is the thermal efficiency, which is approximately 1 here, and F is the outlet water flow rate.

[0055] In any of the above technical solutions, after the duration of controlling the water outlet flow rate of the water treatment device is greater than or equal to the second duration, the system operates according to the preset temperature control logic.

[0056] In this technical solution, the second time length is set to leave enough time for pure feedforward control so that the outlet water temperature after pure feedforward control tends to the set temperature value to meet the actual usage needs of users.

[0057] In the above technical solution, the preset temperature control logic can be temperature control, that is, when the liquid temperature in the heating barrel in the water treatment device does not reach the set temperature value, the heating barrel is controlled to heat up, and when the liquid temperature in the heating barrel reaches the set temperature value, the heating barrel is controlled to heat up.

[0058] The second aspect of the present invention is to provide a control device for a water treatment device, the water treatment device includes a pump body, and the control device includes: a receiving unit for receiving a set temperature value; a determination unit for determining the temperature rise time of the water treatment device based on the set temperature value and the initial water outlet temperature; an adjustment unit for adjusting the gain parameter of the pump body based on the comparison result of the temperature rise time with the preset temperature rise time.

[0059] The technical solution of the present application proposes a control device for a water treatment device. The water treatment device with the control device can improve the degree of mismatch between the outlet water temperature and the set temperature value existing in the prior art solution, so that the outlet water temperature and the set temperature value tend to be the same, thereby improving the water outlet effect of the water treatment device and improving the user experience when using the water treatment device.

[0060] In the above technical solution, the set temperature value can be understood as the set water outlet temperature of the water treatment device, which can be the default setting value of the water treatment device, and can also be set according to the user's usage requirements.

[0061] In one of the technical solutions, the set temperature value can be 45°C, 55°C, 75°C or 100°C, and the specific value can be set according to the actual usage scenario.

[0062] In any of the above technical solutions, the temperature rise time can be understood as the time taken for the temperature to rise. In the technical solution of the present application, the temperature rise time is related to the set temperature value. By associating the temperature rise time with the set temperature value, it is possible to avoid boiling of the heated liquid due to the temperature setting value being too high, resulting in the temperature rise time being unable to accurately represent the actual differences in the water treatment device, thereby reducing the adjustment effect of the gain parameter.

[0063] In any of the above technical solutions, the preset temperature rise time can be understood as the experimental result of the temperature rise time of the calibrated water treatment device under the same working conditions.

[0064] In any of the above technical solutions, the calibrated water treatment device may be produced in the same batch as the water treatment device.

[0065] In any of the above technical solutions, the gain parameter can be understood as an error gain term. The larger the gain parameter is, the faster the error between the temperature estimate value output by the state observer for controlling the pump body and the set temperature value is eliminated, and the corresponding temperature rise rate is faster, that is, the shorter the temperature rise time is. Conversely, the smaller the gain parameter is, the slower the error between the temperature estimate value output by the state observer for controlling the pump body and the set temperature value is eliminated, and the corresponding temperature rise rate is slower, that is, the longer the temperature rise time is. By adjusting the gain parameter, the adjusted gain parameter is used to eliminate the problem of mismatch between the outlet water temperature and the actual set temperature, thereby improving the accuracy of the outlet water temperature.

[0066] In the above technical solution, the determination unit is specifically used for: based on the set temperature value being greater than the first temperature, the temperature rise time is the time length from the initial water outlet temperature to the first temperature; based on the set temperature value being less than or equal to the first temperature, the temperature rise time is the time length from the initial water outlet temperature to the second temperature, wherein the difference between the set temperature value and the second temperature is equal to the third temperature.

[0067] In this technical solution, a specific solution for determining the temperature rise time based on the set temperature value and the initial water outlet temperature is defined. In this technical solution, when the set temperature value exceeds the first temperature, it is considered that the heated liquid is very likely to boil at the current set temperature. Therefore, the temperature rise time is defined as the time it takes for the water outlet temperature to gradually increase from the initial water outlet temperature to the first temperature. Since the first temperature is lower than the set temperature value, the probability of the heated liquid boiling can be reduced, thereby improving the credibility of the temperature rise time.

[0068] Similarly, when the set temperature value is not higher than the first temperature, it is considered that the probability of boiling of the heated liquid is not high. At this time, the temperature rise time is selected as the time taken for the outlet water temperature to gradually rise from the initial outlet water temperature to the second temperature value. In this process, the second temperature value differs from the set temperature value by a third temperature value, that is, the set temperature value is higher than the second temperature value by a third temperature.

[0069] If the second temperature value directly selects the temperature setting value, the temperature rise rate corresponding to the temperature value on the temperature rise curve cannot be determined. Based on the characteristics of the transfer function, by setting the third temperature, that is, selecting the time corresponding to the temperature range from the set temperature value to the second temperature value, the problem of the temperature rise rate corresponding to the temperature value on the temperature rise curve cannot be determined. Through the above scheme, the credibility of the temperature rise time can be improved.

[0070] In any of the above technical solutions, the set value of the third temperature may be a fixed value, such as 1°C.

[0071] In one of the technical solutions, the selectable range of the third temperature may be within a certain fluctuation range of the above-mentioned fixed value, such as 5% above or below the fixed value.

[0072] In any of the above technical solutions, the value of the third temperature is between 0.95°C and 1.05°C.

[0073] In any of the above technical solutions, the adjustment unit is specifically used to: increase the gain parameter based on the temperature rise time being greater than the sum of the preset temperature rise time and the first time; and reduce the gain parameter based on the temperature rise time being less than the preset temperature rise time.

[0074] In this technical solution, when it is detected that the temperature rise time exceeds the first preset temperature rise time, it is considered that the current temperature rise time is too long and the outlet water temperature of the water treatment device rises too slowly. The outlet water temperature rise rate can be increased by increasing the gain parameter. At the same time, through the above adjustment, the temperature rise time of the water treatment device in the later stage can be shortened for user use.

[0075] If the temperature rise time is lower than the preset temperature rise time, it is considered that the current temperature rise time is too short and the outlet water temperature of the water treatment device rises too fast. The outlet water temperature rise rate can be reduced by lowering the gain parameter. At the same time, through the above adjustment, the temperature rise time of the water treatment device in the later stage can be extended for user use.

[0076] In the above technical solution, the gain parameters are adjusted to match the actual control logic of the water treatment device with the actual operating conditions of the water treatment device, thereby overcoming the problem of large and small differences that always exist due to process production and other reasons, so as to improve the accuracy of the outlet water temperature of the water treatment device.

[0077] In any of the above technical solutions, increasing the gain parameter can be understood as increasing the value of the gain parameter, such as adding an adjustment value based on the value before adjustment, wherein the adjustment value can be a fixed value, and its specific value can be set according to the actual use scenario of the water treatment device.

[0078] In one of the technical solutions, the adjustment value may be 0.1, 0.15, 0.2, etc.

[0079] Similarly, reducing the gain parameter can be understood as reducing the value of the gain parameter, such as subtracting an adjustment value from the value before adjustment, where the adjustment value can be a fixed value, and its specific value can be set according to the actual use scenario of the water treatment device.

[0080] In one of the technical solutions, the adjustment value can be 0.1, 0.15, 0.2, etc.

[0081] In any of the above technical solutions, the adjustment unit is specifically used to: obtain the overshoot of the water treatment device based on the temperature rise duration being less than the sum of the preset temperature rise duration and the first duration, and being greater than or equal to the preset temperature rise duration, wherein the overshoot is the difference between the adjusted outlet water temperature and the set temperature value; reduce the gain parameter based on the overshoot being greater than the overshoot threshold; maintain the gain parameter unchanged based on the overshoot being less than or equal to the overshoot threshold.

[0082] In this technical solution, an adjustment strategy is defined for adjusting the gain parameters using the overshoot when the temperature rise duration is within an optimal range. The gain parameters are adjusted using the overshoot so as to match the actual control logic of the water treatment device with the actual operating conditions of the water treatment device, thereby overcoming the problem of large and small differences that always exist due to process production and other reasons, so as to improve the accuracy of the water outlet temperature of the water treatment device.

[0083] The preferred range is composed of the preset temperature rise time mentioned above as the lower limit of the range, and the sum of the preset temperature rise time and the first time as the upper limit of the preferred range.

[0084] In any of the above technical solutions, the overshoot is determined based on the adjusted outlet water temperature and the set temperature value, such as the difference between the adjusted outlet water temperature and the set temperature value. Therefore, the overshoot can accurately characterize the temperature rise rate of the water treatment device during actual operation. By comparing the overshoot with the overshoot threshold, it is determined whether the current overshoot is too large. If the overshoot exceeds the overshoot threshold, it is considered that the overshoot is too large. Otherwise, if the overshoot does not exceed the overshoot threshold, it is considered that the overshoot meets the requirements.

[0085] In the case of excessive overshoot, the gain parameter is reduced to reduce the rate of increase of the outlet water temperature. At the same time, through the above adjustment, the temperature rise time of the water treatment device in the later stage can be extended for users to use.

[0086] In the case where the overshoot threshold is not exceeded, the gain parameter can be kept unchanged to avoid the outlet water temperature not matching the set temperature value after the gain parameter is adjusted.

[0087] In any of the above technical solutions, the overshoot threshold may be a preset value, the maximum value of which is less than or equal to 1.5°C.

[0088] In any of the above technical solutions, the first duration can be selected according to the actual usage scenario.

[0089] In any of the above technical solutions, the first duration can be selected as a value such as 1 second, 3 seconds, etc.

[0090] In any of the above technical solutions, the adjustment unit is also used to: obtain the outlet water temperature of the water treatment device at the sampling time; obtain the preset outlet water temperature corresponding to the sampling time on the preset reference temperature rise curve; and control the outlet water flow rate of the water treatment device based on the difference between the outlet water temperature and the preset outlet water temperature being greater than the preset temperature difference.

[0091] In this technical solution, the outlet water temperature is compared with the corresponding preset outlet water temperature in the preset reference temperature rise curve to determine the temperature rise rate of the outlet water temperature. Specifically, the difference between the outlet water temperature and the preset outlet water temperature is calculated. If the difference is greater than the preset temperature difference, it is considered that the temperature rise rate is too fast; conversely, if the difference is less than or equal to the preset temperature difference, it is considered that the temperature rise rate is reasonable.

[0092] By controlling the water flow rate, the water outlet temperature can be indirectly controlled, thereby suppressing the occurrence of excessive temperature rise, thereby ensuring that the water outlet temperature of the water treatment device tends to the set temperature value to meet the actual usage needs of users.

[0093] In any of the above technical solutions, the preset temperature difference can be set according to the actual use requirements of the water treatment device.

[0094] In any of the above technical solutions, the set value of the preset temperature difference may be a fixed value, such as 3°C.

[0095] In one of the technical solutions, the selectable range of the preset temperature difference may be within a certain fluctuation range of the above-mentioned fixed value, such as 5% above or below the fixed value.

[0096] In addition, the control method of the water treatment device defined by the technical solution of the present application also has the following additional technical features.

[0097] In any of the above technical solutions, the preset temperature difference is between 2.85°C and 3.15°C.

[0098] In any of the above technical solutions, the water outlet flow rate of the water treatment device is controlled, and the adjustment unit is specifically used to: obtain the set power of the water treatment device; and determine the water outlet flow rate according to the set power, the water inlet temperature and the water outlet temperature of the water treatment device.

[0099] In this technical solution, a specific control scheme for the water flow rate is defined. In this specific control scheme, the control of the water flow rate adopts pure feedforward control, that is, using the energy conservation formula:

[0100] cFΔT=Pδ

[0101] Based on the energy conservation formula, we can get:

[0102]

[0103] Among them, c is the specific heat capacity of water, ΔT is the temperature difference between the outlet water temperature and the inlet water temperature, that is, the temperature rise, P is the heating power, δ is the thermal efficiency, which is approximately 1 here, and F is the outlet water flow rate.

[0104] In any of the above technical solutions, the adjustment unit is specifically used to: operate according to a preset temperature control logic after the duration of controlling the water outlet flow rate of the water treatment device is greater than or equal to a second duration.

[0105] In this technical solution, the second time length is set to leave enough time for pure feedforward control so that the outlet water temperature after pure feedforward control tends to the set temperature value to meet the actual usage needs of users.

[0106] In the above technical solution, the preset temperature control logic can be temperature control, that is, when the liquid temperature in the heating barrel in the water treatment device does not reach the set temperature value, the heating barrel is controlled to heat up, and when the liquid temperature in the heating barrel reaches the set temperature value, the heating barrel is controlled to heat up.

[0107] The third aspect of the present invention is to provide a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the control method of a water treatment device as described above are implemented.

[0108] The fourth aspect of the present invention is to provide a water treatment device, comprising: a heating barrel; a pump body, located on the water inlet pipe of the heating barrel; a memory and a processor, the memory storing a program, and the processor implementing the steps of the control method of the water treatment device as any one of the above when executing the program.

[0109] In any of the above technical solutions, the water treatment device includes any one of a water purifier, a water dispenser, and a water heater.

[0110] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0111] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0112] Figure 1 One of the flow charts of the control method of the water treatment device in the embodiment of the present invention is shown;

[0113] Figure 2 A second flow chart of a control method for a water treatment device according to an embodiment of the present invention is shown;

[0114] Figure 3A schematic block diagram of a control device for a water treatment device in an embodiment of the present invention is shown;

[0115] Figure 4 A schematic block diagram of a water treatment device in an embodiment of the present invention is shown;

[0116] Figure 5 A connection diagram of a water treatment device in an embodiment of the present invention is shown.

[0117] in, Figure 5 The corresponding relationship between the reference numerals and component names in the figure is:

[0118] 402 heating barrel, 404 pump body, 406 first sensor, 408 second sensor, 410 liquid storage tank. DETAILED DESCRIPTION

[0119] In order to more clearly understand the above aspects, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0120] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0121] Embodiment 1

[0122] like Figure 1 As shown, according to one embodiment of the present invention, the present invention provides a control method for a water treatment device, the water treatment device includes a pump body, and the control method includes:

[0123] Step 102, receiving a set temperature value;

[0124] Step 104, determining the temperature rise time of the water treatment device according to the set temperature value and the initial water outlet temperature;

[0125] Step 106: adjusting the gain parameter of the pump body according to the comparison result between the temperature rise time and the preset temperature rise time.

[0126] The embodiment of the present application proposes a control method for a water treatment device. By running the control method, the degree of mismatch between the outlet water temperature and the set temperature value in the existing embodiment can be improved, so that the outlet water temperature and the set temperature value tend to be the same, thereby improving the water outlet effect of the water treatment device and improving the user experience when using the water treatment device.

[0127] In the above embodiment, the set temperature value can be understood as the set water outlet temperature of the water treatment device, which can be the default setting value of the water treatment device, and can also be set according to the user's usage requirements.

[0128] In one of the embodiments, the set temperature value may be 45°C, 55°C, 75°C or 100°C, and the specific value may be set according to the actual usage scenario.

[0129] In any of the above embodiments, the temperature rise time can be understood as the time taken for the temperature to rise. In the embodiments of the present application, the temperature rise time is related to the set temperature value. By associating the temperature rise time with the set temperature value, it is possible to avoid boiling of the heated liquid due to the temperature setting value being too high, resulting in the temperature rise time being unable to accurately represent the actual differences in the water treatment device, thereby reducing the adjustment effect of the gain parameter.

[0130] In any of the above embodiments, the preset temperature rise time can be understood as the experimental result of the temperature rise time of the calibrated water treatment device under the same working conditions.

[0131] In any of the above embodiments, the calibrated water treatment device may be produced in the same batch as the water treatment device.

[0132] In any of the above embodiments, the gain parameter can be understood as an error gain term. The larger the gain parameter is, the faster the error between the temperature estimate value output by the state observer for controlling the pump body and the set temperature value is eliminated, and the corresponding temperature rise rate is faster, that is, the shorter the temperature rise time is. Conversely, the smaller the gain parameter is, the slower the error between the temperature estimate value output by the state observer for controlling the pump body and the set temperature value is eliminated, and the corresponding temperature rise rate is slower, that is, the longer the temperature rise time is. By adjusting the gain parameter, the problem of mismatch between the outlet water temperature and the actual set temperature is eliminated using the adjusted gain parameter, thereby improving the accuracy of the outlet water temperature.

[0133] In any of the above embodiments, the initial value of the gain parameter is an optimal value of the pump body, wherein the optimal value is a result of calibrating the water treatment device.

[0134] In any of the above embodiments, the initial value of the gain parameter may also be within 5% of the optimal value.

[0135] Embodiment 2

[0136] In the above embodiment, the temperature rise time of the water treatment device is determined according to the set temperature value and the initial water outlet temperature, including: based on the set temperature value being greater than the first temperature, the temperature rise time is the time from the initial water outlet temperature to the first temperature; based on the set temperature value being less than or equal to the first temperature, the temperature rise time is the time from the initial water outlet temperature to the second temperature, wherein the difference between the set temperature value and the second temperature is equal to the third temperature.

[0137] In this embodiment, a specific scheme for determining the temperature rise time based on the set temperature value and the initial water outlet temperature is defined. In this embodiment, when the set temperature value exceeds the first temperature, it is considered that the heated liquid is very likely to boil at the current set temperature. Therefore, the temperature rise time is defined as the time it takes for the water outlet temperature to gradually increase from the initial water outlet temperature to the first temperature. Since the first temperature is lower than the set temperature value, the probability of the heated liquid boiling can be reduced, thereby improving the credibility of the temperature rise time.

[0138] Similarly, when the set temperature value is not higher than the first temperature, it is considered that the probability of boiling of the heated liquid is not high. At this time, the temperature rise time is selected as the time taken for the outlet water temperature to gradually rise from the initial outlet water temperature to the second temperature value. In this process, the second temperature value differs from the set temperature value by a third temperature value, that is, the set temperature value is higher than the second temperature value by a third temperature.

[0139] If the second temperature value directly selects the temperature setting value, the temperature rise rate corresponding to the temperature value on the temperature rise curve cannot be determined. Based on the characteristics of the transfer function, by setting the third temperature, that is, selecting the time corresponding to the temperature range from the set temperature value to the second temperature value, the problem of the temperature rise rate corresponding to the temperature value on the temperature rise curve cannot be determined. Through the above scheme, the credibility of the temperature rise time can be improved.

[0140] In any of the above embodiments, the set value of the third temperature may be a fixed value, such as 1°C.

[0141] In one embodiment, the selectable range of the third temperature may be within a certain fluctuation range of the above-mentioned fixed value, such as 5% above or below the fixed value.

[0142] In any of the above embodiments, the third temperature is between 0.95°C and 1.05°C.

[0143] In one embodiment, the first temperature is 90°C.

[0144] Embodiment 3

[0145] In any of the above embodiments, the gain parameter of the pump body is adjusted according to the comparison result of the temperature rise time and the preset temperature rise time, specifically including: increasing the gain parameter based on the temperature rise time being greater than the sum of the preset temperature rise time and the first time; decreasing the gain parameter based on the temperature rise time being less than the preset temperature rise time.

[0146] In this embodiment, when it is detected that the temperature rise time exceeds the first preset temperature rise time, it is considered that the current temperature rise time is too long and the outlet water temperature of the water treatment device rises too slowly. The outlet water temperature rise rate can be increased by increasing the gain parameter. At the same time, through the above adjustment, the temperature rise time of the water treatment device in the later stage can be shortened for user use.

[0147] If the temperature rise time is lower than the preset temperature rise time, it is considered that the current temperature rise time is too short and the outlet water temperature of the water treatment device rises too fast. The outlet water temperature rise rate can be reduced by lowering the gain parameter. At the same time, through the above adjustment, the temperature rise time of the water treatment device in the later stage can be extended for user use.

[0148] In the above embodiment, the gain parameters are adjusted to match the actual control logic of the water treatment device with the actual operating conditions of the water treatment device, thereby overcoming the problem of large and small differences that always exist due to process production and other reasons, so as to improve the accuracy of the water outlet temperature of the water treatment device.

[0149] In any of the above embodiments, increasing the gain parameter can be understood as increasing the value of the gain parameter, such as adding an adjustment value based on the value before adjustment, wherein the adjustment value can be a fixed value, and its specific value can be set according to the actual use scenario of the water treatment device.

[0150] In one embodiment, the adjustment value may be 0.1, 0.15, 0.2, etc.

[0151] Similarly, reducing the gain parameter can be understood as reducing the value of the gain parameter, such as subtracting an adjustment value from the value before adjustment, where the adjustment value can be a fixed value, and its specific value can be set according to the actual use scenario of the water treatment device.

[0152] In one embodiment, the adjustment value may be 0.1, 0.15, 0.2, etc.

[0153] Embodiment 4

[0154] In any of the above embodiments, based on the temperature rise duration being less than the sum of the preset temperature rise duration and the first duration, and being greater than or equal to the preset temperature rise duration, the overshoot of the water treatment device is obtained, wherein the overshoot is the difference between the adjusted outlet water temperature and the set temperature value; based on the overshoot being greater than the overshoot threshold, the gain parameter is reduced; based on the overshoot being less than or equal to the overshoot threshold, the gain parameter is maintained unchanged.

[0155] In this embodiment, an adjustment strategy is defined in which the gain parameter is adjusted using the overshoot when the temperature rise duration is within an optimal range. The gain parameter is adjusted using the overshoot so as to match the actual control logic of the water treatment device with the actual operating conditions of the water treatment device, thereby overcoming the problem of large and small differences that always exist due to process production and other reasons, so as to improve the accuracy of the water outlet temperature of the water treatment device.

[0156] The preferred range is composed of the preset temperature rise time mentioned above as the lower limit of the range, and the sum of the preset temperature rise time and the first time as the upper limit of the preferred range.

[0157] In any of the above embodiments, the overshoot is determined based on the adjusted outlet water temperature and the set temperature value, such as the difference between the adjusted outlet water temperature and the set temperature value. Therefore, the overshoot can accurately characterize the temperature rise rate of the water treatment device during actual operation. The overshoot is compared with the overshoot threshold to determine whether the current overshoot is too large. If the overshoot exceeds the overshoot threshold, it is considered that the overshoot is too large. Otherwise, if the overshoot does not exceed the overshoot threshold, it is considered that the overshoot meets the requirements.

[0158] In the case of excessive overshoot, the gain parameter is reduced to reduce the rate of increase of the outlet water temperature. At the same time, through the above adjustment, the temperature rise time of the water treatment device in the later stage can be extended for users to use.

[0159] In the case where the overshoot threshold is not exceeded, the gain parameter can be kept unchanged to avoid the outlet water temperature not matching the set temperature value after the gain parameter is adjusted.

[0160] In any of the above embodiments, the overshoot threshold may be a preset value, the maximum value of which is less than or equal to 1.5°C.

[0161] In any of the above embodiments, the first duration may be selected according to an actual usage scenario.

[0162] In any of the above embodiments, the first duration may be selected as a value such as 1 second, 3 seconds, etc.

[0163] Embodiment 5

[0164] In any of the above embodiments, before determining the temperature rise time of the water treatment device according to the set temperature value and the initial outlet water temperature, it also includes: obtaining the outlet water temperature of the water treatment device at the sampling moment; obtaining the preset outlet water temperature corresponding to the sampling moment on the preset reference temperature rise curve; and controlling the outlet water flow rate of the water treatment device based on the difference between the outlet water temperature and the preset outlet water temperature being greater than the preset temperature difference.

[0165] In this embodiment, the outlet water temperature is compared with the corresponding preset outlet water temperature in the preset reference temperature rise curve to determine the temperature rise rate of the outlet water temperature. Specifically, the difference between the outlet water temperature and the preset outlet water temperature is calculated. If the difference is greater than the preset temperature difference, it is considered that the temperature rise rate is too fast; conversely, if the difference is less than or equal to the preset temperature difference, it is considered that the temperature rise rate is reasonable.

[0166] By controlling the water flow rate, the water outlet temperature can be indirectly controlled, thereby suppressing the occurrence of excessive temperature rise, thereby ensuring that the water outlet temperature of the water treatment device tends to the set temperature value to meet the actual usage needs of users.

[0167] In any of the above embodiments, the preset temperature difference can be set according to the actual use requirements of the water treatment device.

[0168] In any of the above embodiments, the set value of the preset temperature difference may be a fixed value, such as 3°C.

[0169] In one embodiment, the selectable range of the preset temperature difference may be within a certain fluctuation range of the above-mentioned fixed value, such as 5% above or below the fixed value.

[0170] In any of the above embodiments, the preset temperature difference is between 2.85°C and 3.15°C.

[0171] In any of the above embodiments, controlling the water outlet flow rate of the water treatment device specifically includes: obtaining the set power of the water treatment device; and determining the water outlet flow rate according to the set power, the water inlet temperature and the water outlet temperature of the water treatment device.

[0172] In this embodiment, a specific control scheme for the water outlet flow is defined. In this specific control scheme, the control of the water outlet flow adopts pure feedforward control, that is, using the energy conservation formula:

[0173] cFΔT=Pδ

[0174] Based on the energy conservation formula, we can get:

[0175]

[0176] Among them, c is the specific heat capacity of water, ΔT is the temperature difference between the outlet water temperature and the inlet water temperature, that is, the temperature rise, P is the heating power, δ is the thermal efficiency, which is approximately 1 here, and F is the outlet water flow rate.

[0177] In one of the embodiments, after the duration of controlling the water flow rate of the water treatment device is greater than or equal to the second duration, the device is operated according to a preset temperature control logic.

[0178] In this embodiment, the second time length is set to leave enough time for pure feedforward control so that the outlet water temperature after pure feedforward control tends to the set temperature value to meet the actual usage needs of users.

[0179] In the above embodiment, the preset temperature control logic may be a temperature reaching control, that is, if the temperature of the liquid in the heating barrel in the water treatment device does not reach the set temperature value, the heating barrel is controlled to heat, and if the temperature of the liquid in the heating barrel reaches the set temperature value, the heating barrel is controlled to heat. Figure 2 As shown, a control method for a water treatment device is proposed, comprising:

[0180] Step 202, initializing the gain parameter w c , preset temperature rise time T S and overshoot threshold value Y;

[0181] Step 204, determine whether Tout>ψ Tout +3, if the judgment result is yes, go to step 206, if the judgment result is no, go to step 208;

[0182] Step 206, entering pure feedforward control;

[0183] Step 208, boiling water normally;

[0184] Step 210, record the temperature rise time t S and the overshoot y;

[0185] Step 212, determine t S <T S If the result of the judgment is yes, execute step 214, if the result of the judgment is no, execute step 216;

[0186] Step 214, w c =w c -0.1;

[0187] Step 216, determine T S +1<t S If the result of the judgment is yes, execute step 218, if the result of the judgment is no, execute step 220;

[0188] Step 218, w c =w c +0.1;

[0189] Step 220, determine whether y>Y, if the determination result is yes, execute step 222, if the determination result is no, execute step 224;

[0190] Step 222, w c =w c -0.1;

[0191] Step 224, keep w c constant.

[0192] Embodiment 7

[0193] In one embodiment, if Figure 3 As shown, a control device 300 for a water treatment device is provided, the water treatment device includes a pump body, and the control device of the water treatment device includes: a receiving unit 302, used to receive a set temperature value; a determining unit 304, used to determine the temperature rise time of the water treatment device according to the set temperature value and the initial water outlet temperature; an adjusting unit 306, used to adjust the gain parameter of the pump body according to the comparison result of the temperature rise time and the preset temperature rise time.

[0194] An embodiment of the present application proposes a control device 300 for a water treatment device. A water treatment device having the control device can improve the degree of mismatch between the outlet water temperature and the set temperature value in the existing embodiments, so that the outlet water temperature and the set temperature value tend to be the same, thereby improving the water outlet effect of the water treatment device and improving the user experience when using the water treatment device.

[0195] In the above embodiment, the set temperature value can be understood as the set water outlet temperature of the water treatment device, which can be the default setting value of the water treatment device, and can also be set according to the user's usage requirements.

[0196] In one of the embodiments, the set temperature value may be 45°C, 55°C, 75°C or 100°C, and the specific value may be set according to the actual usage scenario.

[0197] In any of the above embodiments, the temperature rise time can be understood as the time taken for the temperature to rise. In the embodiments of the present application, the temperature rise time is related to the set temperature value. By associating the temperature rise time with the set temperature value, it is possible to avoid boiling of the heated liquid due to the temperature setting value being too high, resulting in the temperature rise time being unable to accurately represent the actual differences in the water treatment device, thereby reducing the adjustment effect of the gain parameter.

[0198] In any of the above embodiments, the preset temperature rise time can be understood as the experimental result of the temperature rise time of the calibrated water treatment device under the same working conditions.

[0199] In any of the above embodiments, the calibrated water treatment device may be produced in the same batch as the water treatment device.

[0200] In any of the above embodiments, the gain parameter can be understood as an error gain term. The larger the gain parameter is, the faster the error between the temperature estimate value output by the state observer for controlling the pump body and the set temperature value is eliminated, and the corresponding temperature rise rate is faster, that is, the shorter the temperature rise time is. Conversely, the smaller the gain parameter is, the slower the error between the temperature estimate value output by the state observer for controlling the pump body and the set temperature value is eliminated, and the corresponding temperature rise rate is slower, that is, the longer the temperature rise time is. By adjusting the gain parameter, the problem of mismatch between the outlet water temperature and the actual set temperature is eliminated using the adjusted gain parameter, thereby improving the accuracy of the outlet water temperature.

[0201] In the above embodiment, the determination unit 304 is specifically used to: based on the set temperature value being greater than the first temperature, the temperature rise time is the time length from the initial water outlet temperature to the first temperature; based on the set temperature value being less than or equal to the first temperature, the temperature rise time is the time length from the initial water outlet temperature to the second temperature, wherein the difference between the set temperature value and the second temperature is equal to the third temperature.

[0202] In this embodiment, a specific scheme for determining the temperature rise time according to the set temperature value is defined. In this embodiment, when the set temperature value exceeds the first temperature, it is considered that the heated liquid is very likely to boil at the current set temperature. Therefore, the temperature rise time is defined as the time taken for the outlet water temperature to gradually increase from the initial outlet water temperature to the first temperature. Since the first temperature is lower than the set temperature value, the probability of the heated liquid boiling can be reduced, thereby improving the credibility of the temperature rise time.

[0203] Similarly, when the set temperature value is not higher than the first temperature, it is considered that the probability of boiling of the heated liquid is not high. At this time, the temperature rise time is selected as the time taken for the outlet water temperature to gradually rise from the initial outlet water temperature to the second temperature value. In this process, the second temperature value differs from the set temperature value by a third temperature value, that is, the set temperature value is higher than the second temperature value by a third temperature.

[0204] If the second temperature value directly selects the temperature setting value, the temperature rise rate corresponding to the temperature value on the temperature rise curve cannot be determined. Based on the characteristics of the transfer function, by setting the third temperature, that is, selecting the time corresponding to the temperature range from the set temperature value to the second temperature value, the problem of the temperature rise rate corresponding to the temperature value on the temperature rise curve cannot be determined. Through the above scheme, the credibility of the temperature rise time can be improved.

[0205] In any of the above embodiments, the set value of the third temperature may be a fixed value, such as 1°C.

[0206] In one embodiment, the selectable range of the third temperature may be within a certain fluctuation range of the above-mentioned fixed value, such as 5% above or below the fixed value.

[0207] In any of the above embodiments, the third temperature is between 0.95°C and 1.05°C.

[0208] In any of the above embodiments, the adjustment unit 306 is specifically used to: increase the gain parameter based on the temperature rise time being greater than the sum of the preset temperature rise time and the first time; and reduce the gain parameter based on the temperature rise time being less than the preset temperature rise time.

[0209] In this embodiment, when it is detected that the temperature rise time exceeds the first preset temperature rise time, it is considered that the current temperature rise time is too long and the outlet water temperature of the water treatment device rises too slowly. The outlet water temperature rise rate can be increased by increasing the gain parameter. At the same time, through the above adjustment, the temperature rise time of the water treatment device in the later stage can be shortened for user use.

[0210] If the temperature rise time is lower than the preset temperature rise time, it is considered that the current temperature rise time is too short and the outlet water temperature of the water treatment device rises too fast. The outlet water temperature rise rate can be reduced by lowering the gain parameter. At the same time, through the above adjustment, the temperature rise time of the water treatment device in the later stage can be extended for user use.

[0211] In the above embodiment, the gain parameters are adjusted to match the actual control logic of the water treatment device with the actual operating conditions of the water treatment device, thereby overcoming the problem of large and small differences that always exist due to process production and other reasons, so as to improve the accuracy of the water outlet temperature of the water treatment device.

[0212] In any of the above embodiments, increasing the gain parameter can be understood as increasing the value of the gain parameter, such as adding an adjustment value based on the value before adjustment, wherein the adjustment value can be a fixed value, and its specific value can be set according to the actual use scenario of the water treatment device.

[0213] In one embodiment, the adjustment value may be 0.1, 0.15, 0.2, etc.

[0214] Similarly, reducing the gain parameter can be understood as reducing the value of the gain parameter, such as subtracting an adjustment value from the value before adjustment, where the adjustment value can be a fixed value, and its specific value can be set according to the actual use scenario of the water treatment device.

[0215] In one embodiment, the adjustment value may be 0.1, 0.15, 0.2, etc.

[0216] In any of the above embodiments, the adjustment unit 306 is specifically used to: obtain the overshoot of the water treatment device based on the temperature rise duration being less than the sum of the preset temperature rise duration and the first duration, and being greater than or equal to the preset temperature rise duration, wherein the overshoot is the difference between the adjusted outlet water temperature and the set temperature value; reduce the gain parameter based on the overshoot being greater than the overshoot threshold; maintain the gain parameter unchanged based on the overshoot being less than or equal to the overshoot threshold.

[0217] In this embodiment, an adjustment strategy is defined in which the gain parameter is adjusted using the overshoot when the temperature rise duration is within an optimal range. The gain parameter is adjusted using the overshoot so as to match the actual control logic of the water treatment device with the actual operating conditions of the water treatment device, thereby overcoming the problem of large and small differences that always exist due to process production and other reasons, so as to improve the accuracy of the water outlet temperature of the water treatment device.

[0218] The preferred range is composed of the preset temperature rise time mentioned above as the lower limit of the range, and the sum of the preset temperature rise time and the first time as the upper limit of the preferred range.

[0219] In any of the above embodiments, the overshoot is determined based on the adjusted outlet water temperature and the set temperature value, such as the difference between the adjusted outlet water temperature and the set temperature value. Therefore, the overshoot can accurately characterize the temperature rise rate of the water treatment device during actual operation. The overshoot is compared with the overshoot threshold to determine whether the current overshoot is too large. If the overshoot exceeds the overshoot threshold, it is considered that the overshoot is too large. Otherwise, if the overshoot does not exceed the overshoot threshold, it is considered that the overshoot meets the requirements.

[0220] In the case of excessive overshoot, the gain parameter is reduced to reduce the rate of increase of the outlet water temperature. At the same time, through the above adjustment, the temperature rise time of the water treatment device in the later stage can be extended for users to use.

[0221] In the case where the overshoot threshold is not exceeded, the gain parameter can be kept unchanged to avoid the outlet water temperature not matching the set temperature value after the gain parameter is adjusted.

[0222] In any of the above embodiments, the overshoot threshold may be a preset value, the maximum value of which is less than or equal to 1.5°C.

[0223] In any of the above embodiments, the first duration may be selected according to an actual usage scenario.

[0224] In any of the above embodiments, the first duration may be selected as a value such as 1 second, 3 seconds, etc.

[0225] In any of the above embodiments, the adjustment unit is also used to: obtain the outlet water temperature of the water treatment device at the sampling time; obtain the preset outlet water temperature corresponding to the sampling time on the preset reference temperature rise curve; and control the outlet water flow rate of the water treatment device based on the difference between the outlet water temperature and the preset outlet water temperature being greater than the preset temperature difference.

[0226] In this embodiment, the outlet water temperature is compared with the corresponding preset outlet water temperature in the preset reference temperature rise curve to determine the temperature rise rate of the outlet water temperature. Specifically, the difference between the outlet water temperature and the preset outlet water temperature is calculated. If the difference is greater than the preset temperature difference, it is considered that the temperature rise rate is too fast; conversely, if the difference is less than or equal to the preset temperature difference, it is considered that the temperature rise rate is reasonable.

[0227] By controlling the water flow rate, the water outlet temperature can be indirectly controlled, thereby suppressing the occurrence of excessive temperature rise, thereby ensuring that the water outlet temperature of the water treatment device tends to the set temperature value to meet the actual usage needs of users.

[0228] In any of the above embodiments, the preset temperature difference can be set according to the actual use requirements of the water treatment device.

[0229] In any of the above embodiments, the set value of the preset temperature difference may be a fixed value, such as 3°C.

[0230] In one embodiment, the selectable range of the preset temperature difference may be within a certain fluctuation range of the above-mentioned fixed value, such as 5% above or below the fixed value.

[0231] In any of the above embodiments, the preset temperature difference is between 2.85°C and 3.15°C.

[0232] In any of the above embodiments, the water outlet flow rate of the water treatment device is controlled, and the adjustment unit is specifically used to: obtain the set power of the water treatment device; and determine the water outlet flow rate according to the set power, the water inlet temperature and the water outlet temperature of the water treatment device.

[0233] In this embodiment, a specific control scheme for the water outlet flow is defined. In this specific control scheme, the control of the water outlet flow adopts pure feedforward control, that is, using the energy conservation formula:

[0234] cFΔT=Pδ

[0235] Based on the energy conservation formula, we can get:

[0236]

[0237] Among them, c is the specific heat capacity of water, ΔT is the temperature difference between the outlet water temperature and the inlet water temperature, that is, the temperature rise, P is the heating power, δ is the thermal efficiency, which is approximately 1 here, and F is the outlet water flow rate.

[0238] In any of the above embodiments, the adjustment unit is specifically configured to: operate according to a preset temperature control logic after the duration of controlling the water flow rate of the water treatment device is greater than or equal to a second duration.

[0239] In this embodiment, the second time length is set to leave enough time for pure feedforward control so that the outlet water temperature after pure feedforward control tends to the set temperature value to meet the actual usage needs of users.

[0240] In the above embodiment, the preset temperature control logic can be temperature control, that is, when the liquid temperature in the heating barrel in the water treatment device does not reach the set temperature value, the heating barrel is controlled to heat up, and when the liquid temperature in the heating barrel reaches the set temperature value, the heating barrel is controlled to heat up.

[0241] Embodiment 8

[0242] In one embodiment of the present invention, a readable storage medium is provided, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the control method of a water treatment device as described above are implemented.

[0243] In this embodiment, the program or instructions are executed to implement the steps of the control method of the water treatment device as described above. Therefore, all the beneficial technical effects of the control method of the water treatment device as described above are possessed, and they will not be described in detail here.

[0244] Embodiment 9

[0245] In any of the above embodiments, if Figure 4 and Figure 5 As shown, the present invention provides a water treatment device 400, including: a heating barrel 402; a pump body 404, located on the water inlet pipe of the heating barrel 402; a memory 502 and a processor 504, the memory 502 stores a program, and when the processor 504 executes the program, the steps of the control method of the water treatment device as described above are implemented.

[0246] In any of the above embodiments, a first sensor 406 is further included, which is disposed at the water inlet of the heating barrel 402 and is used to obtain the water inlet temperature.

[0247] In any of the above embodiments, a second sensor 408 is further included, which is disposed at the water outlet of the heating barrel 402 and is used to obtain the outlet water temperature.

[0248] In any of the above embodiments, it also includes: a liquid storage tank 410, which is connected to the water inlet pipeline of the heating barrel 402 and is used to supply liquid to the heating barrel 402.

[0249] In any of the above embodiments, the water treatment device 400 includes any one of a water purifier, a water dispenser, and a water heater.

[0250] In the description of the present invention, the term "plurality" refers to two or more than two. Unless otherwise clearly defined, the orientation or positional relationship indicated by the terms "upper" and "lower" is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention. The terms "connection", "installation", "fixation", etc. should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0251] In the description of the present invention, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In the present invention, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0252] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A control method for a water treatment device, characterized in that: The water treatment device comprises a pump body, and the control method comprises: Receive a set temperature value; Determining the temperature rise time of the water treatment device according to the set temperature value and the initial water outlet temperature; Adjusting the gain parameter of the pump body according to the comparison result of the temperature rise time and the preset temperature rise time; The step of determining the temperature rise time of the water treatment device according to the set temperature value and the initial water outlet temperature comprises: Based on the set temperature value being greater than the first temperature, the temperature rise time is the time from the initial outlet water temperature rising to the first temperature; Based on the set temperature value being less than or equal to the first temperature, the temperature rise time is the time from the initial outlet water temperature rising to the second temperature, The set temperature value is higher than the second temperature by a third temperature.

2. The control method of the water treatment device according to claim 1, characterized in that: The third temperature is between 0.95°C and 1.05°C.

3. The control method of the water treatment device according to claim 1, characterized in that: The gain parameter of the pump body is adjusted according to the comparison result between the temperature rise time and the preset temperature rise time, specifically including: increasing the gain parameter based on that the temperature rise time is greater than the sum of the preset temperature rise time and the first time; Based on the temperature rise time being less than the preset temperature rise time, the gain parameter is reduced.

4. The control method of the water treatment device according to claim 1, characterized in that: Also includes: Based on the temperature rise time being less than the sum of the preset temperature rise time and the first time, and being greater than or equal to the preset temperature rise time, obtaining the overshoot of the water treatment device, wherein the overshoot is the difference between the adjusted outlet water temperature and the set temperature value; Based on the overshoot being greater than an overshoot threshold, reducing the gain parameter; Based on the overshoot being less than or equal to an overshoot threshold, the gain parameter is maintained unchanged.

5. The control method of a water treatment device according to any one of claims 1 to 4, characterized in that: Before determining the temperature rise time of the water treatment device according to the set temperature value and the initial water outlet temperature, the method further includes: Obtaining the outlet water temperature of the water treatment device at the sampling time; Obtaining a preset water outlet temperature corresponding to the sampling time on a preset reference temperature rise curve; Based on the fact that the difference between the outlet water temperature and the preset outlet water temperature is greater than the preset temperature difference, the outlet water flow rate of the water treatment device is controlled.

6. The control method of the water treatment device according to claim 5, characterized in that: The preset temperature difference is between 2.85°C and 3.15°C.

7. The control method of the water treatment device according to claim 5, characterized in that: Controlling the water outflow of the water treatment device specifically includes: Obtaining a set power of the water treatment device; The water outlet flow rate is determined according to the set power, the water inlet temperature of the water treatment device and the water outlet temperature.

8. The control method of the water treatment device according to claim 5, characterized in that: After the duration of controlling the water flow rate of the water treatment device is greater than or equal to the second duration, the system operates according to the preset temperature control logic.

9. A control device for a water treatment device, characterized in that: The water treatment device comprises a pump body, and the control device comprises: A receiving unit, used for receiving a set temperature value; A determination unit, configured to determine a temperature rise time of the water treatment device according to the set temperature value and the initial water outlet temperature; An adjustment unit, used for adjusting the gain parameter of the pump body according to a comparison result of the temperature rise time and a preset temperature rise time; The determination unit is specifically used for: based on the set temperature value being greater than the first temperature, the temperature rise time is the time from the initial water outlet temperature to the first temperature; based on the set temperature value being less than or equal to the first temperature, the temperature rise time is the time from the initial water outlet temperature to the second temperature, wherein the set temperature value is higher than the second temperature by a third temperature.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the control method of the water treatment device according to any one of claims 1 to 8 are implemented.

11. A water treatment device, characterized in that: include: Heating barrel; A pump body, located on the water inlet pipeline of the heating barrel; A memory and a processor, wherein the memory stores a program, and when the processor executes the program, the steps of the control method of the water treatment device according to any one of claims 1 to 8 are implemented.

12. The water treatment device according to claim 11, characterized in that: The water treatment device includes any one of a water purifier, a water dispenser, and a water heater.