Water dispenser control method, control device, water dispenser and storage medium

By real-time monitoring of the water inlet and outlet temperatures of the instant hot water dispenser and using a preset control algorithm to adjust the water flow rate and output power, the problem of outlet water temperature fluctuations caused by sudden changes in the inlet water temperature is solved, achieving stability in the outlet water temperature and improving user experience.

CN115868800BActive Publication Date: 2025-09-19FOSHAN SHUNDE MIDEA WATER DISPENSER MFG +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211543750.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-01
Publication Date
2025-09-19
Estimated Expiration
2042-12-01

AI Technical Summary

Technical Problem

Existing instant hot water dispensers are unable to effectively adjust the outlet water temperature when the inlet water temperature changes suddenly, resulting in outlet water temperature fluctuations, affecting user experience and posing a safety hazard.

Method used

By obtaining the inlet and outlet water temperatures of the instant heating pipeline in real time, calculating the target temperature rise, and using a preset control algorithm (such as the PID control algorithm) to adjust the water flow rate of the water pump and the output power of the instant heating module, the target water flow rate and target output power are generated to ensure stable outlet water temperature.

Benefits of technology

It effectively avoids sudden changes in water outlet temperature, improves user safety, and ensures the stability of user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115868800B_ABST
    Figure CN115868800B_ABST
Patent Text Reader

Abstract

The present invention provides a control method for a water dispenser, a control device for a water dispenser, a water dispenser, and a storage medium. The present application obtains the water inlet temperature and the water outlet temperature in real time, calculates the target temperature rise based on the current water outlet temperature and the target water outlet temperature, determines a preset temperature range based on the target water outlet temperature and the actual water outlet temperature, and, when the water outlet temperature is within the preset temperature range, calculates the initial water flow rate and the initial output power based on the target temperature rise using a preset control algorithm. An error correction coefficient is obtained based on the previous water inlet temperature, the current water inlet temperature, and the actual temperature rise. The target water flow rate and the target output power are obtained based on the error correction coefficient, thereby controlling the water pump based on the target water flow rate and controlling the instant heating module based on the target output power, avoiding sudden changes in the water outlet temperature, stabilizing the water outlet temperature, improving user safety, and ensuring that the user experience is not affected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of drinking water devices, and in particular to a control method for a water dispenser, a control device for a water dispenser, a water dispenser, and a storage medium. Background Art

[0002] Instant hot water dispensers currently offer two methods for dispensing water: one relies on the expansion of hot water, but this method can only heat water above 90°C. The other utilizes a single-chip microcomputer control system to adjust the water pump flow rate or heating power to control the outlet water temperature, allowing for heating water of varying temperatures. This single-chip control system currently uses a fixed flow rate corresponding to a fixed heating power, which cannot be adjusted dynamically, resulting in fluctuations in outlet water temperature. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide a control method for a water dispenser, a control device for a water dispenser, a water dispenser, and a storage medium.

[0004] An embodiment of the present invention provides a control method for a water dispenser, wherein the water dispenser includes an instant heating pipe, an instant heating module, and a water pump. The control method includes:

[0005] Real-time acquisition of the water inlet and outlet temperatures of the instant heating pipeline;

[0006] The target temperature rise is calculated based on the current outlet water temperature and the target outlet water temperature;

[0007] When the water outlet temperature is within a preset temperature range, the initial water flow rate of the water pump and the initial output power of the instant heating module are calculated according to the target temperature rise using a preset control algorithm;

[0008] Generate an error correction coefficient based on the inlet water temperature at the previous moment and the inlet water temperature at the current moment;

[0009] adjusting the initial water flow rate and the initial output power according to the error correction coefficient to generate a target water flow rate and a target output power, respectively;

[0010] The water pump and the instant heating module are controlled according to the target water flow rate and the target output power respectively.

[0011] In certain embodiments, the control method comprises:

[0012] When the water outlet temperature is not within the preset temperature range, obtaining the maximum output power of the instant heating module and the maximum water flow rate of the water pump;

[0013] Calculating a limit temperature rise according to the maximum output power and the maximum water flow rate;

[0014] The target output power and the target water flow rate are calculated according to the target temperature rise and the limit temperature rise.

[0015] In some embodiments, calculating the target output power and the target water flow rate according to the target temperature rise and the limit temperature rise includes:

[0016] When the target temperature rise is not less than the limit temperature rise, the maximum output power is used as the target output power;

[0017] The target water flow rate is generated by calculation according to the target output power and the target temperature rise.

[0018] In some embodiments, calculating the target output power and the target water flow rate according to the target temperature rise and the limit temperature rise further includes:

[0019] When the target temperature rise is less than the limit temperature rise, the target output power is obtained by multiplying the ratio of the target temperature rise to the limit temperature rise by the maximum output power.

[0020] The target water flow rate is generated by calculation according to the target output power and the target temperature rise.

[0021] In certain embodiments, the step of calculating the initial water flow rate of the water pump and the initial output power of the instant heating module according to the target temperature rise using a preset control algorithm includes:

[0022] The initial output power is calculated according to the target temperature rise using a preset control algorithm;

[0023] The initial water flow rate is generated by calculation according to an inverse proportional function and the initial output power.

[0024] In some embodiments, adjusting the initial water flow rate and the initial output power according to the error correction coefficient to generate a target water flow rate and a target output power, respectively, includes:

[0025] taking the sum of the initial water flow rate and the product of the initial water flow rate and the error correction coefficient as the target water flow rate;

[0026] The difference between the initial output power and the product of the initial output power and the error correction coefficient is used as the target output power.

[0027] In some embodiments, the preset control algorithm includes one of a PID control algorithm and an active disturbance rejection control algorithm.

[0028] The present application also provides a control device for a water dispenser, the water dispenser comprising an instant heating pipe, an instant heating module and a water pump, the control device comprising:

[0029] An acquisition module is used to obtain the water inlet temperature and water outlet temperature of the instant heating pipeline in real time;

[0030] The first calculation module is used to calculate the target temperature rise based on the current outlet water temperature and the target outlet water temperature;

[0031] a second calculation module, configured to calculate, by a preset control algorithm and based on the target temperature rise, an initial water flow rate of the water pump and an initial output power of the instant heating module when the water outlet temperature is within a preset temperature range;

[0032] A generation module, used for generating an error correction coefficient according to the inlet water temperature at the previous moment and the inlet water temperature at the current moment;

[0033] an adjusting module, configured to adjust the initial water flow rate and the initial output power according to the error correction coefficient to generate a target water flow rate and a target output power;

[0034] A control module is used to control the water pump and the instant heating module according to the target water flow rate and the target output power respectively.

[0035] The present application also provides a water dispenser, which includes an instant heating pipeline, an instant heating module and a water pump, a processor and a memory, wherein the memory stores a computer program. When the computer program is executed by the processor, the processor implements any of the control methods described above.

[0036] The present application also provides a non-volatile computer-readable storage medium containing a computer program, which, when executed by a processor, enables the processor to implement any of the control methods described above.

[0037] In the control method, control device, water dispenser and readable storage medium of the embodiment of the present application, the water inlet temperature and the water outlet temperature are obtained in real time, and the target temperature rise is calculated based on the current water outlet temperature and the target water outlet temperature. The preset temperature area can be determined based on the target water outlet temperature and the actual water outlet temperature. When the water outlet temperature is within the preset temperature area, the initial water flow rate and the initial output power can be calculated based on the target temperature rise using a preset control algorithm. The error correction coefficient can be obtained based on the water inlet temperature at the previous moment, the water inlet temperature at the current moment and the actual temperature rise. The target water flow rate and the target output power can be obtained based on the error correction coefficient, so that the water pump is controlled according to the target water flow rate and the instant heating module is controlled according to the target output power, thereby avoiding sudden changes in the water outlet temperature, stabilizing the water outlet temperature, improving user safety, and ensuring that the user experience is not affected.

[0038] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments with reference to the accompanying drawings, in which:

[0040] Figure 1 is a flow chart of a control method for a water dispenser according to certain embodiments of the present invention;

[0041] Figure 2 is a schematic diagram of a module of a control device of a water dispenser according to certain embodiments of the present invention;

[0042] Figure 3 is a flow chart of a control method for a water dispenser according to certain embodiments of the present invention;

[0043] Figure 4 is a flow chart of a control method for a water dispenser according to certain embodiments of the present invention;

[0044] Figure 5 is a flow chart of a control method for a water dispenser according to certain embodiments of the present invention;

[0045] Figure 6 is a flow chart of a control method for a water dispenser according to certain embodiments of the present invention;

[0046] Figure 7 It is a flow chart of a control method of a water dispenser according to certain embodiments of the present invention. DETAILED DESCRIPTION

[0047] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limiting the present invention.

[0048] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like, indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0049] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; mechanical connections, electrical connections, or mutual communication; direct connections or indirect connections through an intermediate medium; and internal communication between two components or interaction between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on specific circumstances.

[0050] In the present invention, unless otherwise expressly specified or limited, a first feature being "above" or "below" a second feature may include the first and second features being in direct contact, or may include the first and second features being in contact not directly but through another feature between them. Furthermore, a first feature being "above," "above," and "above" a second feature may include the first feature being directly above or obliquely above the second feature, or may simply mean that the first feature is higher in level than the second feature. A first feature being "below," "below," and "below" a second feature may include the first feature being directly below or obliquely below the second feature, or may simply mean that the first feature is lower in level than the second feature.

[0051] The disclosure below provides many different embodiments or examples for realizing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. In addition, the present invention may repeat reference numbers and / or reference letters in different examples. Such repetition is for the purpose of simplicity and clarity and does not in itself indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides examples of various specific processes and materials, but those skilled in the art will recognize the application of other processes and / or the use of other materials.

[0052] Instant water heating technology, when applied to water dispensers, offers advantages such as energy saving, on-demand heating, reduced product size, high spatial adaptability, and low cost. Consequently, it has been widely adopted in water dispensers. However, in actual instant water heating products, the inlet water temperature of the heating module is not 100% stable. Sudden changes in temperature can occur due to factors such as other heating / cooling devices within the system, water temperature stratification, the user's sudden addition of hot / cold water, and unique structural features. Instant water dispensers utilize water pump control and heating tube power control to achieve precise water temperature output. For example, if the user sets the outlet water temperature to 95°C, the actual outlet water temperature should be around 95°C. However, if the inlet water temperature suddenly drops by more than ten or even dozens of degrees in just a few seconds, and the instant water heating control board fails to respond promptly, the outlet water temperature may also fluctuate, dropping to 70°C or 80°C, or rising to over 100°C, resulting in boiling and vaporization. This significantly reduces the user experience and may even pose a risk of burns.

[0053] In view of this, please see Figure 1 The present application provides a control method for a water dispenser, wherein the water dispenser includes an instant heating pipe, an instant heating module, and a water pump. The control method includes:

[0054] S10: obtaining the inlet and outlet water temperatures of the instant heating pipe in real time;

[0055] S20: Calculate the target temperature rise based on the current outlet water temperature and the target outlet water temperature;

[0056] S30: When the water outlet temperature is within a preset temperature range, the initial water flow rate of the water pump and the initial output power of the instant heating module are calculated according to the target temperature rise using a preset control algorithm;

[0057] S40: generating an error correction coefficient according to the inlet water temperature at the previous moment and the inlet water temperature at the current moment;

[0058] S50: adjusting the initial water flow rate and the initial output power according to the error correction coefficient to generate a target water flow rate and a target output power;

[0059] S60: Control the water pump and the instant heating module according to the target water flow rate and the target output power respectively.

[0060] See also Figure 2 The present application also provides a control device 100 for a water dispenser. The control device 100 includes an acquisition module 10, a first calculation module 20, a second calculation module 30, a generation module 40, an adjustment module 50 and a control module 60. Among them, S10 can be implemented by the acquisition module 10, S20 can be implemented by the first calculation module 20, S30 can be implemented by the second calculation module 30, S40 can be implemented by the generation module 40, S50 can be implemented by the adjustment module 50, and S60 can be implemented by the control module 60, that is, the acquisition module 10 is used to obtain the inlet water temperature and the outlet water temperature of the instant heating pipeline in real time, the first calculation module 20 is used to calculate the target temperature rise based on the current outlet water temperature and the target outlet water temperature, the second calculation module 30 is used to calculate the initial water flow rate of the water pump and the initial output power of the instant heating module according to the target temperature rise through a preset control algorithm when the outlet temperature is within the preset temperature range, the generation module 40 is used to generate an error correction coefficient based on the inlet water temperature at the previous moment and the inlet water temperature at the current moment, the adjustment module 50 is used to adjust the initial water flow rate and the initial output power according to the error correction coefficient to generate the target water flow rate and the target output power, and the control module 60 is used to control the water pump and the instant heating module according to the target water flow rate and the target output power respectively.

[0061] In some embodiments, the water dispenser also includes a processor and a memory, and the memory stores a computer program. When the computer program is executed by the processor, the processor is used to obtain the water inlet temperature and the water outlet temperature of the instant heating pipeline in real time, and is used to calculate the target temperature rise based on the current water outlet temperature and the target water outlet temperature, and is used to calculate the initial water flow rate of the water pump and the initial output power of the instant heating module based on the target temperature rise through a preset control algorithm when the water outlet temperature is within a preset temperature range, and is used to generate an error correction coefficient based on the water inlet temperature at the previous moment and the water inlet temperature at the current moment, and is used to adjust the initial water flow rate and the initial output power according to the error correction coefficient to generate the target water flow rate and the target output power, and is used to control the water pump and the instant heating module according to the target water flow rate and the target output power, respectively.

[0062] Specifically, a water pump is used to transport water to the instant heating pipeline. The instant heating pipeline may include a water inlet and a water outlet. The water inlet is provided with an inlet temperature sensor, which is used to detect the water temperature at the water inlet. The water outlet is provided with an outlet temperature sensor, which is used to detect the water temperature at the water outlet. The instant heating module is wound around the instant heating pipeline. The instant heating module is used to heat the instant heating pipeline. That is, the instant heating module can complete the heating of water by heating the instant heating pipeline.

[0063] Furthermore, the inlet water temperature T of the instant heating pipeline can be obtained in real time through the inlet water temperature sensor and the outlet water temperature sensor 进 and the outlet water temperature T 出 . The user can set the target outlet water temperature Ts. For example, when the user needs hot water, the target outlet water temperature Ts can be set to 90 °C, and when the user needs warm water, the target outlet water temperature Ts can be set to 40 °C. The specific temperature is not limited here. According to the target outlet water temperature Ts and the current outlet water temperature T 出 of the instant heating pipeline, the target temperature rise △T 目标 can be calculated as follows

[0064] △T 目标 = Ts - T 出

[0065] This application can be divided into multiple regions according to the target outlet water temperature Ts and the actual outlet water temperature T 出 . For example, it can be divided into two regions. The first region is the preset temperature region. The region where the actual outlet water temperature is close to the target outlet water temperature is defined as the preset temperature region. For example, -X °C < T 出 - Ts < X °C, and X °C can be 5 °C, 10 °C, 15 °C, etc. Taking X = 5 °C as an example, the region where the difference between the actual outlet water temperature and the target outlet water temperature is less than 5 °C is the preset temperature region. The specific range of the preset temperature region is not limited here. The region other than the first region is defined as the second region

[0066] When the outlet water temperature is in the preset temperature region, the initial water flow rate of the water pump and the initial output power of the instant heating module can be obtained according to the target temperature rise by using the preset control algorithm, and an error correction coefficient can be generated according to the inlet water temperature at the previous moment and the inlet water temperature at the current moment. For example, the inlet water temperature sensor obtains the value of the inlet water temperature every 100 milliseconds. First, calculate the increment △T 进 of the current inlet water temperature and the inlet water temperature value at the previous moment

[0067] ′

[0068] △T 进 = T 进 - T z 进

[0069] where T 进 is the current inlet water temperature, and T 进 ′ is the inlet water temperature 100 milliseconds ago. Then calculate the current actual temperature rise △T 实际 as follows

[0070] △T 实际 z = T 出 - T 进

[0071] According to △T 进 Account for △T 实际 The error correction coefficient q can be calculated as follows:

[0072]

[0073] For example, the inlet water temperature rises by 5 degrees Celsius within 100 milliseconds, that is, △T 进 =5, the actual temperature rise △T 实际 The temperature is 50 degrees Celsius, so the error correction coefficient q = 5 / 50 = 0.1.

[0074] Furthermore, the initial water flow rate of the water pump and the initial output power of the instant heating module are adjusted according to the error correction coefficient to generate the target water flow rate and target output power, where:

[0075] Target water flow rate = initial water flow rate * (1 + q)

[0076] Target output power = initial output power * (1-q)

[0077] In this way, the present application obtains the water inlet temperature and the water outlet temperature in real time, and calculates the target temperature rise based on the current water outlet temperature and the target water outlet temperature. The preset temperature area can be determined based on the target water outlet temperature and the actual water outlet temperature. When the outlet temperature is in the preset temperature area, the initial water flow rate and the initial output power can be calculated based on the target temperature rise using the preset control algorithm. The error correction coefficient can be obtained based on the water inlet temperature at the previous moment, the water inlet temperature at the current moment and the actual temperature rise. The target water flow rate and the target output power can be obtained based on the error correction coefficient, so as to control the water pump according to the target water flow rate and control the instant heating module according to the target output power, avoid sudden changes in the water outlet temperature, stabilize the water outlet temperature, improve user safety, and ensure that the user experience is not affected.

[0078] See also Figure 3 In certain embodiments, the control method comprises:

[0079] S70: When the water outlet temperature is not within the preset temperature range, obtaining the maximum output power of the instant heating module and the maximum water flow rate of the water pump;

[0080] S80: The maximum temperature rise is calculated based on the maximum output power and maximum water flow rate;

[0081] S90: Calculate the target output power and the target water flow rate according to the target temperature rise and the limit temperature rise.

[0082] In some embodiments, S70 can be implemented by the acquisition module 10, S80 can be implemented by the first calculation module 20, and S90 can be implemented by the second calculation module 30. That is, the acquisition module 10 is used to obtain the maximum output power of the instant heating module and the maximum water flow rate of the water pump when the outlet temperature is not within the preset temperature range, the first calculation module 20 is used to calculate the limit temperature rise based on the maximum output power and the maximum water flow rate, and the second calculation module 30 is used to calculate the target output power and the target water flow rate based on the target temperature rise and the limit temperature rise.

[0083] In certain embodiments, the processor is used to obtain the maximum output power of the instant heating module and the maximum water flow rate of the water pump when the water outlet temperature is not within a preset temperature range, and to calculate the limit temperature rise based on the maximum output power and the maximum water flow rate, and to calculate the target output power and target water flow rate based on the target temperature rise and the limit temperature rise.

[0084] Specifically, if the water outlet temperature is not within the preset temperature range, that is, if the water outlet temperature differs significantly from the target water outlet temperature, obtain the maximum output power of the instant heating module and the maximum water flow rate of the water pump. For example, if the water flow rate of the water pump operates within the range of 0.2kg / min to 0.9kg / min, the maximum water flow rate is 0.9kg / min. The limit temperature rise can be calculated based on the maximum output power and maximum water flow rate:

[0085] Q=Pt=cm△T

[0086]

[0087] Where c is the specific heat capacity of water, a constant of 4200, P is the output power (in W), t is the time (in seconds), ΔT is the temperature rise (in ° C), and m is the mass of water (in kg). Substituting t = 60 seconds into the formula, we calculate the temperature rise generated by the total water output in 1 minute:

[0088]

[0089] The flow rate is defined as the weight of water flowing per minute. That is, the total weight of water flowing in 1 minute is the water flow rate v. Therefore, the formula can be converted to:

[0090]

[0091]

[0092] It is understandable that the maximum output power P of the heating module max and the maximum water flow rate v of the pump max is known data, specifically P maxand v max It can be configured according to the model of instant heating module and water pump, which is not limited here. max and v max Substituting into the formula we can get the limit temperature rise:

[0093]

[0094] Furthermore, the target output power and the target water flow rate can be calculated based on the target temperature rise and the limit temperature rise.

[0095] In this way, when the water outlet temperature is not within the preset temperature range, the limit temperature rise is calculated based on the maximum output power of the instant heating module and the maximum water flow rate of the water pump. The target output power and target water flow rate can be calculated using the target temperature rise and the limit temperature rise. This allows the instant heating module to adjust its output power according to the target temperature rise, and the water pump to adjust its water flow rate according to the target temperature rise, thereby avoiding sudden changes in the outlet water temperature and stabilizing the outlet water temperature, thereby improving user safety and ensuring that the user experience is not affected.

[0096] See also Figure 4 In some embodiments, S90 includes:

[0097] S91: When the target temperature rise is not less than the limit temperature rise, the maximum output power is used as the target output power;

[0098] S92: Calculate and generate a target water flow rate according to the target output power and the target temperature rise.

[0099] In some embodiments, S91 and S92 can be implemented by the second calculation module 30, that is, the second calculation module 30 is used to use the maximum output power as the target output power when the target temperature rise is not less than the limit temperature rise, and to calculate and generate the target water flow rate based on the target output power and the target temperature rise.

[0100] In some embodiments, the processor is configured to use the maximum output power as the target output power when the target temperature rise is not less than the limit temperature rise, and to calculate and generate the target water flow rate based on the target output power and the target temperature rise.

[0101] Specifically, according to the calculation formula of the above embodiment, the target output power P can be obtained. 目标 and target water flow rate v 目标 :

[0102] △T 目标 =Ts-T 进 , Ts is the target outlet water temperature;

[0103] In △T 目标 ≥△T 极限In the case of P 目标 =P max ;

[0104]

[0105] The target output power P 目标 and target temperature rise △T 目标 Substituting into the calculation formula we can get:

[0106]

[0107] In this way, when the target temperature rise is not less than the limit temperature rise, the thermal module operates at the maximum output power, and the maximum output power is used as the target output power. The target water flow rate is calculated based on the target output power and the target temperature rise, thereby reducing the impact of sudden changes in the inlet water temperature and stabilizing the outlet water temperature.

[0108] See also Figure 5 In some embodiments, S90 further includes:

[0109] S93: When the target temperature rise is less than the limit temperature rise, the product of the ratio of the target temperature rise to the limit temperature rise and the maximum output power is used as the target output power;

[0110] S94: Calculate and generate a target water flow rate according to the target output power and the target temperature rise.

[0111] In some embodiments, S93 and S94 can be implemented by the second calculation module 30, that is, the second calculation module 30 is used to use the product of the ratio of the target temperature rise to the limit temperature rise and the maximum output power as the target output power when the target temperature rise is less than the limit temperature rise, and to generate the target water flow rate based on the target output power and the target temperature rise.

[0112] In some embodiments, the processor is used to use the product of the ratio of the target temperature rise to the limit temperature rise and the maximum output power as the target output power when the target temperature rise is less than the limit temperature rise, and to calculate and generate the target water flow rate based on the target output power and the target temperature rise.

[0113] Specifically, according to the calculation formula of the above embodiment, the target output power P can be obtained. 目标 and target water flow rate v 目标 :

[0114] △T 目标 =Ts-T 进 , Ts is the target outlet water temperature;

[0115] In △T 目标 <△T 极限 In the case of

[0116]

[0117] The target output power P 目标 and target temperature rise △T 目标 Substituting into the calculation formula we can get:

[0118]

[0119] In this way, when the target temperature rise is less than the limit temperature rise, the target output power is calculated based on the ratio of the target temperature rise to the limit temperature rise and the maximum output power, and the target water flow rate is calculated based on the target output power and the target temperature rise, thereby reducing the impact of sudden changes in the inlet water temperature and stabilizing the outlet water temperature.

[0120] See also Figure 6 In some embodiments, S30 includes:

[0121] S31: Calculating the initial output power according to the target temperature rise using a preset control algorithm;

[0122] S32: Generate an initial water flow rate according to the inverse proportional function and the initial output power.

[0123] In some embodiments, S31 and S32 can be implemented by the second calculation module 30, that is, the second calculation module 30 is used to calculate the initial output power according to the target temperature rise through a preset control algorithm, and to generate the initial water flow rate according to the inverse proportional function and the initial output power.

[0124] In certain embodiments, the processor is configured to calculate an initial output power according to a target temperature rise using a preset control algorithm, and to calculate and generate an initial water flow rate according to an inverse proportional function and the initial output power.

[0125] Specifically, the preset control algorithm can be one of a PID control algorithm and an active disturbance rejection control algorithm. This application takes the PID control algorithm as an example. The PID control algorithm is a classic control method in the control field. The formula of the PID control algorithm is:

[0126]

[0127] Where u is the control output, E is the deviation between the current actual value and the target value, and E ′ is the deviation between the actual value and the target value at the previous moment, that is, EE ′ is the target temperature rise.

[0128] In this embodiment, u can be selected as either the water flow rate of the water pump or the output power of the heat pipe, or both. In the case where u is the water flow rate of the water pump, the larger u is, the greater the water flow rate of the water pump is, and the smaller u is, the smaller the water flow rate of the water pump is.

[0129] When u is the output power of the heat pipe, a function P is substituted into 输出 =f(u) is calculated to obtain the output power P of the heat pipe 输出 , the functional expression is P 输出 It is inversely proportional to u, that is, the smaller u is, the smaller P is. 输出 The larger the u, the larger the P 输出 The smaller, for example, the function can be:

[0130]

[0131] It should be noted that the function P 输出 =f(u) is an empirical formula obtained in the laboratory, and is not specifically limited here.

[0132] In this way, the preset control algorithm is used and the initial output power is calculated based on the target temperature rise, and the initial water flow rate is generated based on the inverse proportional function calculation, thereby providing data for the error correction coefficient adjustment to generate the target water flow rate and target output power.

[0133] See also Figure 7 In some embodiments, S50 includes:

[0134] S51: taking the sum of the initial water flow rate and the product of the initial water flow rate and the error correction coefficient as the target water flow rate;

[0135] S52: The difference between the initial output power and the product of the initial output power and the error correction coefficient is taken as the target output power.

[0136] In some embodiments, S51 and S52 can be implemented by the adjustment module 50, that is, the adjustment module 50 is used to take the sum of the initial water flow rate and the product of the initial water flow rate and the error correction coefficient as the target water flow rate, and to take the difference between the initial output power and the product of the initial output power and the error correction coefficient as the target output power.

[0137] In some embodiments, the processor is configured to use the sum of the initial water flow rate and the product of the initial water flow rate and the error correction coefficient as the target water flow rate, and to use the difference between the initial output power and the product of the initial output power and the error correction coefficient as the target output power.

[0138] Specifically, the initial water flow rate of the water pump and the initial output power of the instant heating module are adjusted according to the error correction coefficient q to generate the target water flow rate and target output power, where:

[0139] Target water flow rate = initial water flow rate * (1 + q)

[0140] Target output power = initial output power * (1-q)

[0141] For example, within 100 milliseconds, the inlet water temperature rises by 5 degrees, that is, △T 进 =5, the actual temperature rise △T 实际 For example, if the temperature is 50 degrees, the error correction coefficient q is 0.1. Assuming that the initial water flow rate of the water pump is 400 ml / min, that is, the initial output power of the thermal module is 2000 W, the target water flow rate v = 400*(1+0.1) = 440 ml / min, or the target output power P = 2000*(1-0.1) = 1800 W can be calculated to offset the change in the inlet water temperature.

[0142] In this way, the initial water flow rate is adjusted according to the error correction coefficient to generate the target water flow rate, and the initial output power is adjusted to generate the target output power, thereby reducing the impact of sudden changes in the inlet water temperature, stabilizing the outlet water temperature, and improving user safety.

[0143] The present application also provides a non-volatile computer-readable storage medium containing a computer program. When the computer program is executed by a processor, the processor implements the control method of any of the above-mentioned embodiments.

[0144] In this way, the present application obtains the water inlet temperature and the water outlet temperature in real time, and calculates the target temperature rise based on the current water outlet temperature and the target water outlet temperature. The preset temperature area can be determined based on the target water outlet temperature and the actual water outlet temperature. When the outlet temperature is in the preset temperature area, the initial water flow rate and the initial output power can be calculated based on the target temperature rise using the preset control algorithm. The error correction coefficient can be obtained based on the water inlet temperature at the previous moment, the water inlet temperature at the current moment and the actual temperature rise. The target water flow rate and the target output power can be obtained based on the error correction coefficient, so as to control the water pump according to the target water flow rate and control the instant heating module according to the target output power, avoid sudden changes in the water outlet temperature, stabilize the water outlet temperature, improve user safety, and ensure that the user experience is not affected.

[0145] Throughout this specification, reference to terms such as "one embodiment," "certain embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, illustrative descriptions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0146] The above embodiments merely illustrate several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

Claims

1. A method for controlling a water dispenser, characterized in that: The water dispenser includes an instant heating pipeline, an instant heating module and a water pump, and the control method includes: Real-time acquisition of the water inlet and outlet temperatures of the instant heating pipeline; The target temperature rise is calculated based on the current outlet water temperature and the target outlet water temperature; When the outlet water temperature is within a preset temperature range, the initial water flow rate of the water pump and the initial output power of the instant heating module are calculated according to the target temperature rise using a preset control algorithm; Generate an error correction coefficient based on the inlet water temperature at the previous moment and the inlet water temperature at the current moment. The inlet water temperature at the previous moment refers to the inlet water temperature 100 milliseconds ago. The error correction coefficient generated based on the inlet water temperature at the previous moment and the inlet water temperature at the current moment includes: First calculate the increment between the current inlet water temperature and the inlet water temperature value at the previous moment , in, is the current inlet water temperature, The inlet water temperature at the previous moment; Then calculate the current actual temperature rise , in, is the current outlet water temperature; according to occupy Calculate the error correction coefficient q in proportion to: adjusting the initial water flow rate and the initial output power according to the error correction coefficient to generate a target water flow rate and a target output power, respectively; controlling the water pump and the instant heating module according to the target water flow rate and the target output power respectively; in, Target water flow rate = initial water flow rate * (1 + q); Target output power = initial output power * (1-q).

2. The control method according to claim 1, characterized in that: The control method includes: When the outlet water temperature is not within the preset temperature range, obtaining the maximum output power of the instant heating module and the maximum water flow rate of the water pump; According to the maximum output power and the maximum water flow rate Extreme temperature rise; The target output power and the target water flow rate are calculated according to the target temperature rise and the limit temperature rise.

3. The control method according to claim 2, characterized in that: The calculating the target output power and the target water flow rate according to the target temperature rise and the limit temperature rise includes: When the target temperature rise is not less than the limit temperature rise, the maximum output power is used as the target output power; The target water flow rate is generated by calculation according to the target output power and the target temperature rise.

4. The control method according to claim 2, characterized in that: The calculating the target output power and the target water flow rate according to the target temperature rise and the limit temperature rise further includes: When the target temperature rise is less than the limit temperature rise, the target output power is obtained by multiplying the ratio of the target temperature rise to the limit temperature rise by the maximum output power. The target water flow rate is generated by calculation according to the target output power and the target temperature rise.

5. The control method according to claim 1, characterized in that: The method of calculating the initial water flow rate of the water pump and the initial output power of the instant heating module according to the target temperature rise using a preset control algorithm includes: The initial output power is calculated according to the target temperature rise using a preset control algorithm; The initial water flow rate is generated by calculation according to an inverse proportional function and the initial output power.

6. The control method according to claim 1, characterized in that: The step of adjusting the initial water flow rate and the initial output power according to the error correction coefficient to generate a target water flow rate and a target output power comprises: taking the sum of the initial water flow rate and the product of the initial water flow rate and the error correction coefficient as the target water flow rate; The difference between the initial output power and the product of the initial output power and the error correction coefficient is used as the target output power.

7. The control method according to claim 1, characterized in that: The preset control algorithm includes one of a PID control algorithm and an active disturbance rejection control algorithm.

8. A control device for a water dispenser, characterized in that: The water dispenser includes an instant heating pipeline, an instant heating module and a water pump, and the control device includes: An acquisition module is used to obtain the water inlet temperature and water outlet temperature of the instant heating pipeline in real time; The first calculation module is used to calculate the target temperature rise based on the current outlet water temperature and the target outlet water temperature; a second calculation module, configured to calculate, by a preset control algorithm and based on the target temperature rise, an initial water flow rate of the water pump and an initial output power of the instant heating module when the outlet water temperature is within a preset temperature range; A generation module is used to generate an error correction coefficient based on the inlet water temperature at the previous moment and the inlet water temperature at the current moment, where the inlet water temperature at the previous moment refers to the inlet water temperature 100 milliseconds ago; The error correction coefficient generated based on the inlet water temperature at the previous moment and the inlet water temperature at the current moment includes: First calculate the increment between the current inlet water temperature and the inlet water temperature value at the previous moment , in, is the current inlet water temperature, The inlet water temperature at the previous moment; Then calculate the current actual temperature rise , in, is the current outlet water temperature; according to occupy Calculate the error correction coefficient q in proportion to: an adjusting module, configured to adjust the initial water flow rate and the initial output power according to the error correction coefficient to generate a target water flow rate and a target output power; a control module, configured to control the water pump and the instant heating module according to the target water flow rate and the target output power respectively; in, Target water flow rate = initial water flow rate * (1 + q); Target output power = initial output power * (1-q).

9. A water dispenser, characterized in that: The water dispenser includes an instant heating pipeline, an instant heating module and a water pump, a processor and a memory, and the memory stores a computer program. When the computer program is executed by the processor, the processor implements the control method described in any one of claims 1 to 7.

10. A non-volatile computer-readable storage medium containing a computer program, characterized in that When the computer program is executed by a processor, the processor implements the control method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Water dispenser and outgoing water temperature control method thereof

    CN104423401A

  • Instant drinking machine control method and instant drinking machine

    CN115245278A