Instant heating type water temperature control method, storage device and instant heating type water dispenser

Through real-time monitoring of the comparison between the water temperature value and the target water temperature value, the PID control method is used to adjust the water pump voltage by PWM, which is divided into coarse adjustment and fine adjustment modes, which solves the hysteresis and overshoot problems of the temperature control of traditional instant water dispensers and improves Improves water temperature control accuracy and user experience.

CN118585017APending Publication Date: 2024-09-03东莞捷璞电子科技有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410620576.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In traditional instant hot water dispensers, the NTC temperature sensor is set at the liquid outlet port, resulting in hysteresis in temperature control, resulting in inaccurate water temperature control, overshooting problems, and reduced user experience.

Method used

Through real-time monitoring of the comparison between the water temperature value and the target water temperature value, the PID control method is used to adjust the water pump voltage by PWM, which is divided into coarse adjustment and fine adjustment modes, and is adjusted based on the deviation gain E to achieve deep learning of the equipment and improve water temperature control. Accuracy.

Benefits of technology

It effectively alleviates the overshoot problem, improves the accuracy of water temperature control and user experience, reduces the temperature oscillation time, and improves the temperature control accuracy of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585017A
    Figure CN118585017A
Patent Text Reader

Abstract

The invention relates to a water temperature control method for instant heating. The water temperature control method comprises the steps that S10, the real-time water temperature value of the hot drink output end of equipment is continuously monitored; s20, the real-time water temperature value Tr is compared with a target water temperature value Ts set by a user, a corresponding voltage PWM adjusting mode of the water pump is entered according to a comparison result, and when Tr is smaller than Tc, a PWM coarse adjusting mode is switched to execute the step S30; when Tr is greater than or equal to Tc, switching to a PWM fine adjustment mode to execute a step S40; s30, PWM coarse adjustment of the water pump is circularly executed once every time interval t; and S40, the PWM fine adjustment of the water pump is circularly executed once every time interval t. The invention further provides a storage device and an instant heating type water dispenser. The water temperature control method has the beneficial effects that the equipment can continuously carry out deep learning on operation records, the water temperature control precision of the equipment is higher along with the increase of the use frequency of the equipment, the water temperature control precision is improved, the overshoot problem is relieved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of hot beverage equipment, in particular to a water temperature control method for instant heating, and also to a storage device and an instant hot water dispenser. Background Art

[0002] Instant hot water dispenser is a convenient hot drink device that can quickly output hot drinks according to user needs. In some relatively high-end application scenarios, instant hot water dispenser will also be set with a variety of temperature gears for users to choose. The temperature of the output liquid is monitored by NTC (temperature sensor), and the heating power of the heating element is adjusted according to the temperature feedback from NTC, so that the actual temperature of the output liquid matches the target temperature set by the user.

[0003] The defects of traditional instant hot water dispensers are: since the NTC for detecting the temperature of the output liquid is set at the liquid outlet port (such as the spout), there will be hysteresis when the controller receives the temperature feedback of the NTC and makes power adjustments. For example, when the NTC feedback temperature reaches the preset 80°C, before the controller receives the temperature feedback and controls the heating element to complete the power adjustment, the liquid between the heating element output port and the liquid outlet port of the instant hot water dispenser has been heated to 90°C in the heating method before the heating power is adjusted (generally, the temperature difference needs to be controlled within ±5°C), and has left the heating element to be transported to the liquid outlet port, resulting in inaccurate water temperature control, insufficient temperature control accuracy, and overshoot (or overshoot) problems, which reduces the user experience. Summary of the invention

[0004] Based on this, the present invention provides a water temperature control method for instant heating. According to the comparison result between the real-time water temperature value and the target water temperature value set by the user, the voltage PWM adjustment is performed on the water pump in the device to realize PID control. During operation, the PID control is divided into two adjustment stages with different precisions, and based on the design concept of PWM value = PWM reference value + deviation gain E, different PWM adjustment modes are executed accordingly, so that the device can continuously perform in-depth learning on the operation records. As the number of times the device is used increases, the accuracy of its water temperature control will also be higher, which improves the accuracy of water temperature control, alleviates the overshoot problem, and improves user experience.

[0005] A method for controlling water temperature of instant heating, comprising the steps of:

[0006] S10: Continuously monitor the real-time water temperature value of the hot drink output end of the device;

[0007] S20: Compare the real-time water temperature value with the target water temperature value set by the user, and enter the corresponding water pump voltage PWM regulation mode according to the comparison result: when Tr<Tc, switch to PWM coarse regulation mode to execute step S30; when Tr≥Tc, switch to PWM fine regulation mode to execute step S40; wherein Tr is the current real-time water temperature value; Tc=Ts-△T, Tc is the critical temperature for switching the PWM regulation mode, Ts is the target water temperature value set by the user, and △T is the preset PWM regulation mode switching temperature difference value;

[0008] S30: cyclically executing the PWM coarse adjustment of the water pump once at each interval △t, and each PWM coarse adjustment of the water pump includes the following steps:

[0009] S31: Subtract the target water temperature value set by the user from the current real-time water temperature value to obtain a water temperature deviation value E(t);

[0010] S32: Calculate the deviation gain E=Kp*E(t), then adjust the PWM value of the water pump voltage to: PWM value=PWM reference value+E, and record the current temperature level and PWM value; wherein Kp is the preset deviation coefficient; the PWM reference value is the PWM value corresponding to the previous same temperature level recorded in the device;

[0011] S40: cyclically executing the PWM fine adjustment of the water pump once at each interval △t, and each PWM fine adjustment of the water pump includes the following steps:

[0012] S41: Subtract the target water temperature value set by the user from the current real-time water temperature value to obtain a water temperature deviation value E(t);

[0013] S42: Accumulating the water temperature deviation values ​​obtained after entering the PWM fine adjustment mode to obtain a cumulative deviation ΣE(t);

[0014] S43: subtract the water temperature deviation value obtained when the PWM regulation of the water pump was performed at the same temperature level last time from the current water temperature deviation value to obtain a deviation value △E;

[0015] S44: Calculate the deviation gain E = Kp*E(t)+Ki*ΣE(t)+Kd*△E, then adjust the PWM value of the water pump voltage to: PWM value = PWM reference value + E, and record the current temperature level and PWM value; wherein Kp, Ki, and Kd are all preset deviation coefficients; the PWM reference value is the PWM value corresponding to the previous same temperature level recorded in the device.

[0016] In the instant heating water temperature control method, when the real-time water temperature value is lower than the preset critical temperature, since the real-time water temperature value at this time is far away from the target water temperature value set by the user, the deviation gain E is the product of the deviation coefficient Kp and the water temperature deviation value E(t); and after the real-time water temperature value reaches the preset critical temperature, the real-time water temperature value at this time is getting closer and closer to the target water temperature value set by the user, and more precise adjustment is required, so the deviation gain E is the product of the deviation coefficient Kp and the water temperature deviation value E(t), the product of the deviation coefficient Ki and the cumulative deviation ΣE(t), and the product of the deviation coefficient Kd and the deviation △E. Through the above design, according to the comparison result between the real-time water temperature value and the target water temperature value set by the user, the voltage PWM adjustment is performed on the water pump in the equipment to realize PID control. During operation, the PID control is divided into two adjustment stages with different degrees of precision. Based on the design concept of PWM value = PWM reference value + deviation gain E, different PWM adjustment modes are executed accordingly, so that the device can continuously conduct in-depth learning of the operation records. As the number of times the device is used increases, the accuracy of its water temperature control will also increase, thereby improving the accuracy of water temperature control, alleviating overshoot problems, and improving user experience.

[0017] In one embodiment, in step S32 and step S44, when the PWM value is greater than PWMmax, the PWM value is locked to PWMmax; when the PWM value is less than PWMmin, the PWM value is locked to PWMmin; wherein PWMmax is a preset upper limit of the PWM of the water pump, and PWMmin is a preset lower limit of the PWM of the water pump. By setting the upper and lower limits of the PWM value, some overshoot values ​​can be filtered out, so that the water temperature quickly returns to the target water temperature value, and the oscillation time before reaching the target water temperature value is reduced.

[0018] In one embodiment, in step S20, when the user finishes fetching water, the PWM adjustment of the voltage of the water pump is stopped. When the user finishes fetching water, the PWM adjustment of the voltage of the water pump is stopped to avoid interference with the PWM value.

[0019] In one embodiment, in step S20, if the device is enabled for the first time, the PWM reference value is a zero value preset by the manufacturer. When the device is enabled for the first time, since there is no PWM value corresponding to the same temperature level in the device, the PWM reference value at this time can be a zero value preset by the manufacturer.

[0020] In one embodiment, the preset mode switching temperature difference ΔT ranges from 10° C. to 30° C. Setting ΔT to 10° C. to 30° C. allows the device to switch the PWM regulation mode at a relatively appropriate time.

[0021] In one embodiment, Kp, Ki, and Kd are all proportional coefficients determined based on experimental tests or industry experience statistics.

[0022] In one embodiment, the time interval Δt ranges from 100 ms to 900 ms. Setting Δt to 100 ms to 900 ms allows the device to maintain a relatively reasonable PWM regulation frequency, avoiding too large a hysteresis or too frequent operation.

[0023] Meanwhile, the present invention also provides a memory.

[0024] A memory stores a program for implementing the water temperature control method for instant heating according to any of the above embodiments.

[0025] The above-mentioned memory is equipped with a program for the water temperature control method of instant heating. When in use, the voltage PWM adjustment of the water pump in the device can be performed according to the comparison result between the real-time water temperature value and the target water temperature value set by the user to realize PID control. During operation, the PID control is divided into two adjustment stages with different precisions, and based on the design concept of PWM value = PWM reference value + deviation gain E, different PWM adjustment modes are executed accordingly, so that the device can continuously perform in-depth learning of the operation records. As the number of times the device is used increases, the accuracy of its water temperature control will also be higher, which will improve the accuracy of water temperature control, alleviate the overshoot problem, and improve the user experience.

[0026] At the same time, the present invention also provides an instant hot water dispenser.

[0027] An instant hot water dispenser comprises: the above-mentioned memory; the instant hot water dispenser also comprises: a controller, a heating element, and a water pump; the controller is electrically connected to the memory, the heating element, and the water pump respectively; the controller retrieves and executes the program in the memory from the memory, thereby realizing voltage PWM control of the water pump.

[0028] The instant hot water dispenser is provided with a memory equipped with a program of the instant hot water temperature control method. When in use, the voltage PWM adjustment of the water pump in the device is performed according to the comparison result between the real-time water temperature value and the target water temperature value set by the user to realize PID control. During operation, the PID control is divided into two adjustment stages with different precisions, and based on the design concept of PWM value = PWM reference value + deviation gain E, different PWM adjustment modes are executed accordingly, so that the device can continuously perform in-depth learning of the operation records. As the number of times the device is used increases, the accuracy of its water temperature control will also be higher, which improves the accuracy of water temperature control, alleviates the overshoot problem, and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1The present invention is a flowchart of a method for controlling water temperature of instant heating according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.

[0031] 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", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships 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, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0032] In addition, the terms "first" and "second" are used for descriptive purposes only and should not 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 at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0033] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0034] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0035] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "upper", "lower", "left", "right" and similar expressions used herein are for illustrative purposes only and are not intended to be the only implementation method.

[0036] like Figure 1 As shown, it is a water temperature control method for instant heating according to an embodiment of the present invention.

[0037] like Figure 1 As shown, the instant heating water temperature control method comprises the steps of:

[0038] S10: Continuously monitor the real-time water temperature value at the hot drink output end of the device.

[0039] S20: Compare the real-time water temperature value with the target water temperature value set by the user, and enter the corresponding water pump voltage PWM regulation mode according to the comparison result:

[0040] When Tr<Tc, switch to PWM coarse adjustment mode to execute step S30;

[0041] When Tr≥Tc, the mode is switched to the PWM fine adjustment mode to execute step S40.

[0042] Among them, Tr is the current real-time water temperature value; Tc=Ts-△T, Tc is the critical temperature for switching the PWM regulation mode, Ts is the target water temperature value set by the user, and △T is the preset PWM regulation mode switching temperature difference value.

[0043] In addition, in step S20, when the user finishes fetching water, the PWM adjustment of the voltage of the water pump is stopped. When the user finishes fetching water, the PWM adjustment of the voltage of the water pump is stopped to avoid interference with the PWM value.

[0044] In step S20, the preset mode switching temperature difference value △T ranges from 10℃ to 30℃. Setting △T to 10℃ to 30℃ allows the device to switch the PWM regulation mode at a relatively appropriate time. For example, the value of △T can be 10℃, 15℃, 20℃, 25℃, or 30℃, or other temperature values ​​between 10℃ and 30℃.

[0045] S30: cyclically executing the PWM coarse adjustment of the water pump once at each interval △t, and each PWM coarse adjustment of the water pump includes the following steps:

[0046] S31: Subtract the target water temperature value set by the user from the current real-time water temperature value to obtain the water temperature deviation value E(t); that is, E(t)=Tr-Ts;

[0047] S32: Calculate the deviation gain E=Kp*E(t), then adjust the PWM value of the water pump voltage to: PWM value=PWM reference value+E=PWM reference value+(Tr-Ts), and record the current temperature level and PWM value; wherein Kp is the preset deviation coefficient; the PWM reference value is the PWM value corresponding to the previous same temperature level recorded in the device.

[0048] Since the device is enabled to run for the first time, there is no PWM value generated in the previous run as the PWM reference value for this run. Therefore, in order to solve this problem, in some embodiments, in step S30, if the device is enabled to run for the first time, the PWM reference value is the zero value preset by the manufacturer. When the device is enabled to run for the first time, since there is no PWM value corresponding to the same temperature level in the previous run in the device, the PWM reference value at this time can be the zero value preset by the manufacturer (the zero value is not less than the lower limit value of the PWM run).

[0049] S40: cyclically executing the PWM fine adjustment of the water pump once at each interval △t, and each PWM fine adjustment of the water pump includes the following steps:

[0050] S41: Subtract the target water temperature value set by the user from the current real-time water temperature value to obtain a water temperature deviation value E(t); that is, E(t)=Tr-Ts;

[0051] S42: Accumulate the water temperature deviation values ​​obtained after entering the PWM fine adjustment mode to obtain the cumulative deviation ΣE(t); for example, assuming that after entering the PWM fine adjustment mode, a total of two water temperature deviation values ​​E(t) are currently generated, for the sake of distinction, they are respectively recorded as E(t1) and E(t2), then ΣE(t)=E(t1)+E(t2);

[0052] S43: Subtract the water temperature deviation value obtained when the water pump was PWM regulated at the same temperature gear last time from the current water temperature deviation value to obtain a deviation △E; that is, △E=E(t)-E(t-1), where E(t) is the current water temperature deviation value, and E(t-1) is the water temperature deviation value obtained when the water pump was PWM regulated at the same temperature gear last time;

[0053] S44: Calculate the deviation gain E = Kp*E(t)+Ki*ΣE(t)+Kd*△E, then adjust the PWM value of the water pump voltage to: PWM value = PWM reference value + E, and record the current temperature level and PWM value; where Kp, Ki, and Kd are all preset deviation coefficients; the PWM reference value is the PWM value corresponding to the previous same temperature level recorded in the device. Therefore, the final water pump voltage PWM value = PWM reference value + Kp*E(t)+Ki*ΣE(t)+Kd*{E(t)-E(t-1)};

[0054] In step S32 and step S44, Kp, Ki, and Kd are all proportional coefficients determined based on experimental tests or industry experience statistics.

[0055] In step S30 and step S40, the time interval △t has a value range of 100ms to 900ms. Setting △t to 100ms to 900ms allows the device to maintain a relatively reasonable PWM adjustment frequency to avoid excessive hysteresis or too frequent operation. For example, the time interval △t may be 100ms, 200ms, 300ms, 400ms, 500ms, 600ms, 700ms, 800ms, 900ms, or other time values ​​in the range of 100ms to 900ms.

[0056] In some embodiments, in order to achieve rapid filtering of some overshoot data, an upper limit and a lower limit may be set for the PWM value. For example, in step S32 and step S44:

[0057] When the PWM value is greater than PWMmax, the PWM value is locked to PWMmax;

[0058] When the PWM value is less than PWMmin, the PWM value is locked to PWMmin.

[0059] Among them, PWMmax is the preset PWM upper limit of the water pump, and PWMmin is the preset PWM lower limit of the water pump. By setting the upper and lower limits of the PWM value, some overshoot values ​​can be filtered out, so that the water temperature quickly returns to the target water temperature value, reducing the oscillation time before reaching the target water temperature value.

[0060] Brief description of working principle:

[0061] When the real-time water temperature value Tr is lower than the preset critical temperature Tc, since the real-time water temperature value Tr at this time is significantly different from the target water temperature value Ts set by the user, the deviation gain E is the product of the deviation coefficient Kp and the water temperature deviation value E(t).

[0062] After the real-time water temperature value Tr reaches the preset critical temperature Tc, the real-time water temperature value Tr at this time is getting closer and closer to the target water temperature value Ts set by the user, and more precise adjustment is required, so the deviation gain E is the product of the deviation coefficient Kp and the water temperature deviation value E(t), the product of the deviation coefficient Ki and the cumulative deviation ΣE(t), and the product of the deviation coefficient Kd and the deviation amount △E. Each adjustment of the PWM value is based on the previous PWM value of the same temperature gear as the initial value of the reference, which can largely solve the problem of large overshoot caused by the delay of the feedback adjustment method of the NTC sensing temperature.

[0063] For example: the real-time water temperature value Tr is usually equal to the room temperature Te, assuming that the room temperature Te is 25°C. If the target water temperature value Ts set by the user is 90°C, and the temperature difference value △T for switching the PWM regulation mode is preset to 15°C, at this time, the critical temperature Tc for switching the PWM regulation mode is 75°C, then the user's water collection process is roughly as follows:

[0064] In the first stage, 25℃≤Tr<75℃, the PWM coarse adjustment mode is executed. As the real-time water temperature Tr increases, it will enter the second stage.

[0065] In the second stage, 75℃≤Tr≤90℃, the PWM fine adjustment mode is implemented.

[0066] The above instant heating water temperature control method performs voltage PWM regulation on the water pump in the device to achieve PID control according to the comparison result between the real-time water temperature value and the target water temperature value set by the user. During operation, the PID control is divided into two adjustment stages with different precisions, and based on the design concept of PWM value = PWM reference value + deviation gain E, different PWM adjustment modes are executed accordingly, so that the device can continuously conduct in-depth learning of the operation records. As the number of times the device is used increases, the accuracy of its water temperature control will also be higher, which will improve the accuracy of water temperature control, alleviate the overshoot problem, and improve user experience. In addition, compared with the power regulation of the heating element, the voltage PWM regulation of the water pump has a lower implementation cost, which is conducive to reducing the hardware cost of the equipment.

[0067] Meanwhile, the present invention also provides a memory.

[0068] The memory stores a program for implementing a water temperature control method for instant heating. The water temperature control method for instant heating is described above.

[0069] The above-mentioned memory is equipped with a program for the water temperature control method of instant heating. When in use, the voltage PWM adjustment of the water pump in the device can be performed according to the comparison result between the real-time water temperature value and the target water temperature value set by the user to realize PID control. During operation, the PID control is divided into two adjustment stages with different precisions, and based on the design concept of PWM value = PWM reference value + deviation gain E, different PWM adjustment modes are executed accordingly, so that the device can continuously perform in-depth learning of the operation records. As the number of times the device is used increases, the accuracy of its water temperature control will also be higher, which will improve the accuracy of water temperature control, alleviate the overshoot problem, and improve the user experience.

[0070] At the same time, the present invention also provides an instant hot water dispenser.

[0071] The instant hot water dispenser includes: a memory, a controller, a heating element, and a water pump. The controller is electrically connected to the memory, the heating element, and the water pump. The memory stores a program for implementing a water temperature control method for instant hot heating. Please refer to the above description of the water temperature control method for instant hot heating. The controller retrieves and executes the program in the memory from the memory, thereby realizing voltage PWM control of the water pump.

[0072] The instant hot water dispenser is provided with a memory equipped with a program of the instant hot water temperature control method. When in use, the voltage PWM adjustment of the water pump in the device is performed according to the comparison result between the real-time water temperature value and the target water temperature value set by the user to realize PID control. During operation, the PID control is divided into two adjustment stages with different precisions, and based on the design concept of PWM value = PWM reference value + deviation gain E, different PWM adjustment modes are executed accordingly, so that the device can continuously perform in-depth learning of the operation records. As the number of times the device is used increases, the accuracy of its water temperature control will also be higher, which improves the accuracy of water temperature control, alleviates the overshoot problem, and improves the user experience.

[0073] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0074] The above embodiments only express the preferred implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A water temperature control method for instant heating, It is characterized in that Includes steps: S10: Continuously monitor the real-time water temperature value of the hot drink output end of the device; S20: Compare the real-time water temperature value with the target water temperature value set by the user, and enter the corresponding water pump voltage PWM regulation mode according to the comparison result: when Tr<Tc, switch to PWM coarse regulation mode to execute step S30; when Tr≥Tc, switch to PWM fine regulation mode to execute step S40; wherein Tr is the current real-time water temperature value; Tc=Ts-△T, Tc is the critical temperature for switching the PWM regulation mode, Ts is the target water temperature value set by the user, and △T is the preset PWM regulation mode switching temperature difference value; S30: cyclically executing the PWM coarse adjustment of the water pump once at each interval △t, and each PWM coarse adjustment of the water pump includes the following steps: S31: Subtract the target water temperature value set by the user from the current real-time water temperature value to obtain a water temperature deviation value E(t); S32: Calculate the deviation gain E=Kp*E(t), then adjust the PWM value of the water pump voltage to: PWM value=PWM reference value+E, and record the current temperature level and PWM value; wherein Kp is the preset deviation coefficient; the PWM reference value is the PWM value corresponding to the previous same temperature level recorded in the device; S40: cyclically executing the PWM fine adjustment of the water pump once at each interval △t, and each PWM fine adjustment of the water pump includes the following steps: S41: Subtract the target water temperature value set by the user from the current real-time water temperature value to obtain a water temperature deviation value E(t); S42: Accumulating the water temperature deviation values ​​obtained after entering the PWM fine adjustment mode to obtain a cumulative deviation ΣE(t); S43: subtract the water temperature deviation value obtained when the PWM regulation of the water pump was performed at the same temperature level last time from the current water temperature deviation value to obtain a deviation value △E; S44: Calculate the deviation gain E = Kp*E(t)+Ki*ΣE(t)+Kd*△E, then adjust the PWM value of the water pump voltage to: PWM value = PWM reference value + E, and record the current temperature level and PWM value; wherein Kp, Ki, and Kd are all preset deviation coefficients; the PWM reference value is the PWM value corresponding to the previous same temperature level recorded in the device.

2. The water temperature control method for instant heating according to claim 1, It is characterized in that In step S32 and step S44, when the PWM value is greater than PWMmax, the PWM value is locked at PWMmax; when the PWM value is less than PWMmin, the PWM value is locked at PWMmin; wherein PWMmax is the preset upper limit value of the PWM of the water pump, and PWMmin is the preset lower limit value of the PWM of the water pump.

3. The water temperature control method for instant heating according to claim 1, It is characterized in that In step S20, when the user finishes fetching water, the PWM adjustment of the voltage of the water pump is stopped.

4. The water temperature control method for instant heating according to claim 1, It is characterized in that In step S30, if the device is started up for the first time, the PWM reference value is a zero value preset by the manufacturer.

5. The water temperature control method for instant heating according to claim 1, It is characterized in that The preset mode switching temperature difference △T ranges from 10°C to 30°C.

6. The water temperature control method for instant heating according to claim 1, It is characterized in that Kp, Ki, and Kd are all proportional coefficients determined based on experimental tests or industry experience statistics.

7. The water temperature control method for instant heating according to claim 1, It is characterized in that The value range of the time interval △t is 100ms~900ms.

8. A memory, It is characterized in that The memory stores a program for implementing the water temperature control method for instant heating as described in any one of claims 1 to 7.

9. An instant hot water dispenser, It is characterized in that include: The memory as claimed in claim 8; The instant hot water dispenser also includes: a controller, a heating element, and a water pump; the controller is electrically connected to the memory, the heating element, and the water pump respectively; the controller retrieves and executes the program in the memory from the memory, thereby realizing voltage PWM control of the water pump.

Citation Information

Cited By

  • Temperature heating and cooling combined system for organic light-emitting device

    CN119024906A