Hot water supply apparatus, control method thereof, and computer-readable storage medium
By dividing the power range of the hot water supply equipment and updating the error coefficient, the problem of unstable hot water temperature caused by device error was solved, achieving higher control accuracy and faster temperature stabilization time.
Patent Information
- Application Number
- CN202511717997.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-21
- Publication Date
- 2026-03-27
- Estimated Expiration
- 2045-11-21
AI Technical Summary
Existing hot water supply equipment suffers from a mismatch between output power and demand power due to errors in key components, resulting in unstable hot water temperature, which affects user experience and control accuracy.
Different power ranges are assigned corresponding power error coefficients, and the error coefficients are updated under stable heating conditions. The current power demand is compensated by the error coefficients to obtain the compensated output power to control the hot water supply equipment.
It improves the control precision of hot water supply equipment, reduces feedback adjustment time, ensures the stability of water temperature, and enhances the user experience.
Smart Images

Figure CN121184954B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of hot water supply equipment technology, and in particular to hot water supply equipment and its control methods, and computer-readable storage media. Background Technology
[0002] Hot water supply equipment, such as instant water heaters, can provide hot water in a short time to meet various daily needs such as washing and cleaning. However, some key internal components, such as heaters, temperature sensors, and flow sensors, inevitably have errors during actual operation. For example, resistance errors in the heater can lead to deviations in rated power, temperature drift in the temperature sensor can occur, and errors can be caused by manufacturing, assembly, and wear of the flow sensor.
[0003] However, due to the aforementioned device errors, the actual power output of the actuators (mainly the heaters) does not match the power demand calculated by the hot water supply equipment's control system. When the actual output power is less than the demand power, the hot water heats up more slowly, requiring a longer time to reach the user-set temperature. Conversely, when the actual output power exceeds the demand power, the hot water temperature may exceed the set temperature, subsequently requiring additional time to cool down. This results in a longer time required for the outlet water temperature to stabilize. This unstable hot water supply situation causes numerous inconveniences for users, such as fluctuating water temperatures during showers, affecting bathing comfort and severely impacting the user experience. Summary of the Invention
[0004] The hot water supply equipment and control method, as well as the computer-readable storage medium provided in this application, can improve the control accuracy of the hot water supply equipment and reduce the feedback adjustment time.
[0005] In a first aspect, this application provides a control method for a hot water supply device, the control method comprising: obtaining the current demand power; determining the power range corresponding to the current demand power, and obtaining the power error coefficient corresponding to the power range; wherein the power error coefficient is updated when the hot water supply device is in a stable heating state; obtaining a first output power based on the power error coefficient and the current demand power; and controlling the hot water supply device according to the first output power.
[0006] The power range is obtained by dividing the rated power of the hot water supply equipment into a preset number; wherein the preset number is greater than or equal to 2.
[0007] The method further includes updating the power error coefficient in the following ways: during the operation of the hot water supply equipment, the current outlet water temperature and the outlet water set temperature are obtained; in response to the first preset condition being met between the current outlet water temperature and the outlet water set temperature, multiple second output powers within a preset time period are obtained; in response to the multiple second output powers within the preset time period meeting the second preset condition, the heating duration is accumulated; in response to the heating duration being longer than the preset duration, the power error coefficient is updated.
[0008] Before acquiring multiple second output powers over a preset time period in response to the first preset condition being met between the current outlet water temperature and the set outlet water temperature, the method further includes: calculating the absolute value of the difference between the current outlet water temperature and the set outlet water temperature; determining that the first preset condition is met between the current outlet water temperature and the set outlet water temperature in response to the absolute value of the difference being less than a preset difference threshold; and resetting the heating duration in response to the absolute value of the difference being greater than or equal to the preset difference threshold.
[0009] In response to multiple second output powers within a preset time period satisfying a second preset condition, before accumulating the heating duration, the method further includes: calculating the variance corresponding to the multiple second output powers; determining that multiple second output powers satisfy the second preset condition in response to the variance being less than a preset variance; and resetting the heating duration in response to the variance being greater than or equal to the preset variance.
[0010] The method also includes: resetting the heating duration in response to the heating duration being longer than a preset duration.
[0011] The step of updating the power error coefficient in response to a heating duration exceeding a preset duration includes: obtaining the target demand power corresponding to the current second output power in response to a heating duration exceeding a preset duration; and updating the power error coefficient based on the current second output power and the target demand power.
[0012] Specifically, updating the power error coefficient based on the current second output power and the target demand power includes: dividing the current second output power by the target demand power to obtain the target value; and updating the power error coefficient using the target value.
[0013] In a second aspect, this application provides a hot water supply device, which includes: a heating device; a processor connected to the heating device; and a memory connected to the processor for storing a computer program; the processor is used to execute the computer program to implement the method provided in the first aspect.
[0014] Thirdly, this application provides a computer-readable storage medium for storing a computer program, which, when executed by a processor, is used to implement the method provided in the first aspect.
[0015] The beneficial effects of the embodiments of this application are as follows: Unlike the prior art, the hot water supply equipment and its control method and computer-readable storage medium provided in this application divide the power into corresponding power ranges for different power levels and set corresponding power error coefficients according to the power ranges, which can improve the accuracy of error estimation. Then, when the hot water supply equipment is working, the power error coefficients are used to compensate for the current demand power to obtain the compensated first output power, and the compensated first output power is used to control the hot water supply equipment, which can improve the control accuracy of the hot water supply equipment and reduce the feedback adjustment time. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein:
[0017] Figure 1 This is a flowchart illustrating the first embodiment of the control method for the hot water supply equipment provided in this application;
[0018] Figure 2 This is a flowchart illustrating the second embodiment of the control method for the hot water supply equipment provided in this application;
[0019] Figure 3 yes Figure 2 A flowchart illustrating an embodiment of step 24;
[0020] Figure 4 This is a flowchart illustrating the third embodiment of the control method for the hot water supply equipment provided in this application;
[0021] Figure 5 This is a schematic diagram of the structure of an embodiment of the hot water supply equipment provided in this application;
[0022] Figure 6 This is a schematic diagram of an embodiment of the computer-readable storage medium provided in this application. Detailed Implementation
[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are only for explaining this application and not for limiting it. Furthermore, it should be noted that, for ease of description, only the parts related to this application are shown in the accompanying drawings, not all structures. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0024] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0025] Hot water supply equipment, such as instant water heaters, can provide hot water in a short time to meet various daily needs such as washing and cleaning. However, some key internal components, such as heaters, temperature sensors, and flow sensors, inevitably have errors during actual operation. For example, resistance errors in the heater can lead to deviations in rated power, temperature drift in the temperature sensor can occur, and errors can be caused by manufacturing, assembly, and wear of the flow sensor.
[0026] However, due to the aforementioned device errors, the actual power output of the actuators (mainly the heaters) does not match the power demand calculated by the hot water supply equipment's control system. When the actual output power is less than the demand power, the hot water heats up more slowly, requiring a longer time to reach the user-set temperature. Conversely, when the actual output power exceeds the demand power, the hot water temperature may exceed the set temperature, requiring additional time to cool down, thus lengthening the time needed for the outlet water temperature to stabilize. This unstable hot water supply causes numerous inconveniences for users, such as fluctuating water temperatures during showers, affecting bathing comfort and severely impacting the user experience. Furthermore, due to device errors, the power supplied by the controller (current demand power) during temperature control often differs from the actual demand power, and the error varies under different operating conditions, requiring a longer feedback adjustment time, thereby prolonging the time for the outlet water to stabilize.
[0027] Based on this, this application proposes dividing different power levels into corresponding power ranges and setting corresponding power error coefficients according to the power ranges. This can improve the accuracy of error estimation. Furthermore, when the hot water supply equipment is operating, the power error coefficients are used to compensate for the current power demand, resulting in a compensated first output power. This compensated first output power is then used to control the hot water supply equipment, thereby improving the control accuracy of the hot water supply equipment and reducing feedback adjustment time. See any of the following embodiments for specific technical solutions.
[0028] See Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the control method for the hot water supply equipment provided in this application. The control method includes:
[0029] Step 11: Obtain the current power requirement.
[0030] In some embodiments, the current power demand can be determined based on the temperature set in the hot water supply equipment. For example, a user can operate the hot water supply equipment to obtain the desired temperature. The hot water supply equipment can then calculate the current power demand based on the desired temperature using a preset method.
[0031] In some embodiments, the current power demand corresponds to the inlet water temperature, the set temperature (the currently required temperature), and the water flow rate. That is, the current power demand is the theoretical power corresponding to the inlet water temperature, the set temperature (the currently required temperature), and the water flow rate. This theoretical power is the power required by the hot water supply equipment to heat the water to the currently required temperature under conditions of no error.
[0032] The control system of the hot water supply equipment uses complex algorithms to calculate the required power output of the equipment under the current conditions, based on information such as real-time water temperature feedback from temperature sensors, water flow rate detected by flow sensors, and the user-set temperature. The control system then outputs this required power signal to the heater of the hot water supply equipment, instructing the heater to heat the water according to this power, with the aim of stabilizing the outlet water temperature near the user-set temperature.
[0033] However, due to errors in key components, the actual power output of the actuators (mainly heaters) is not equal to the power demand calculated by the control system of the hot water supply equipment.
[0034] Because sensors can exhibit different errors under different operating conditions. For example, flow sensors typically have larger errors at low flow rates than at high flow rates. Similarly, NTC temperature sensors show varying resistance changes per unit temperature, thus affecting their accuracy. For instance, a 3950-50kΩ NTC sensor shows a resistance change of approximately 2.2kΩ per degree Celsius at 25°C, while at 50°C it shows approximately 0.7kΩ per degree Celsius.
[0035] In order to comprehensively consider the errors of various components, the output power is used as the compensation object. At the same time, in order to improve the accuracy of error compensation, different compensation coefficients are used for different power levels.
[0036] Step 12: Determine the power range corresponding to the current power demand and obtain the power error coefficient corresponding to the power range; wherein, the power error coefficient is updated when the hot water supply equipment is in a stable heating state.
[0037] In some embodiments, the power range is obtained by dividing the rated power of the hot water supply equipment into a preset number; wherein the preset number is greater than or equal to 2.
[0038] In some embodiments, the rated power of the hot water supply equipment is P, which is divided into n equal parts. For each part, there is a corresponding power error coefficient C, and the default value of the coefficient is 1 when the power is first turned on.
[0039]
[0040] In other embodiments, the rated power of the hot water supply equipment can be divided into power ranges based on prior experience. In some embodiments, the prior experience can be obtained from historical data of several hot water supply equipment. That is, the rated power of the hot water supply equipment can be divided into unequal power ranges based on prior experience.
[0041] In some embodiments, the power error coefficient is updated when the hot water supply device is in a stable heating state. That is, when the hot water supply device is in a stable heating state, it indicates that the difference between the outlet water temperature and the set temperature is less than a threshold, and it also indicates that the actual output power can compensate for the error of the hot water supply device. Based on this, the power error coefficient can be updated when the hot water supply device is in a stable heating state, improving the accuracy of the power error coefficient, thereby improving the control precision of the hot water supply device and reducing the feedback adjustment time.
[0042] Step 13: Obtain the first output power based on the power error coefficient and the current required power.
[0043] In some embodiments, the first output power can be obtained by multiplying the power error coefficient by the current power demand. This first output power can be the actual output power of the hot water supply equipment.
[0044] Step 14: Control the hot water supply equipment according to the first output power.
[0045] In some embodiments, the hot water supply device may operate at a first output power to heat water to the currently required temperature.
[0046] In this embodiment, different power levels are divided into corresponding power ranges, and corresponding power error coefficients are set according to the power ranges. This can improve the accuracy of error estimation. Then, when the hot water supply equipment is working, the power error coefficients are used to compensate for the current power demand to obtain the compensated first output power. The compensated first output power is then used to control the hot water supply equipment, which can improve the control accuracy of the hot water supply equipment and reduce the feedback adjustment time.
[0047] See Figure 2 , Figure 2 This is a flowchart illustrating the second embodiment of the control method for the hot water supply equipment provided in this application. The power error coefficient is updated in the following manner:
[0048] Step 21: During the operation of the hot water supply equipment, obtain the current outlet water temperature and the set outlet water temperature.
[0049] In some embodiments, the operation of the hot water supply equipment refers to the process of heating water by the hot water supply equipment. That is, the update of the power error coefficient needs to be completed during the process of heating water by the hot water supply equipment.
[0050] In some embodiments, the current outlet water temperature can be detected using a temperature sensor on the hot water supply equipment. For example, the temperature sensor is located at the water outlet to detect the outlet water temperature.
[0051] In some embodiments, the outlet water set temperature can be set by the user or obtained through big data analysis. For example, the water temperature (outlet water set temperature) can be automatically set based on factors such as the season and the current ambient temperature.
[0052] In some embodiments, the power error coefficient can be updated periodically, such as every other day or every two days. The specific cycle can be set according to requirements.
[0053] In some embodiments, the power error coefficient can be updated randomly. For example, during the operation of the hot water supply equipment, an update task is generated randomly. After the update task is triggered, the power error coefficient is updated according to the method of this embodiment until the update task is completed in subsequent processes.
[0054] In some embodiments, the power error coefficient can be updated using a combination of timed and random methods.
[0055] Step 22: In response to the first preset condition being met between the current outlet water temperature and the outlet water set temperature, obtain multiple second output powers within a preset time period.
[0056] In some embodiments, the first preset condition can be set to whether the absolute value of the difference between the current outlet water temperature and the set outlet water temperature is less than a preset difference threshold. If yes, it is determined that the current outlet water temperature and the set outlet water temperature meet the first preset condition. If no, the heating duration is reset. The heating duration is used to indicate whether the hot water supply equipment is in a stable heating state.
[0057] In some embodiments, before determining that the current outlet water temperature and the set outlet water temperature meet the first preset condition, it is necessary to calculate the absolute value of the difference between the current outlet water temperature and the set outlet water temperature; in response to the absolute value of the difference being less than a preset difference threshold, it is determined that the current outlet water temperature and the set outlet water temperature meet the first preset condition; in response to the absolute value of the difference being greater than or equal to the preset difference threshold, the heating duration is reset.
[0058] In some embodiments, if the absolute value of the difference is less than the preset difference threshold, it indicates that the current outlet water temperature is within the preset range of the outlet water temperature setting, and it also indicates that the temperature fluctuation is small. The smaller the temperature fluctuation, the more stable the hot water supply equipment is in heating state.
[0059] In some embodiments, if the absolute value of the difference is greater than or equal to the preset difference threshold, it indicates that the current outlet water temperature is outside the preset range of the outlet water set temperature, and also indicates that the temperature fluctuation is large. The larger the temperature fluctuation, the more it indicates that the hot water supply equipment is not in a stable heating state, and the heating duration can be reset.
[0060] Step 23: In response to multiple second output powers meeting the second preset conditions within a preset time period, the cumulative heating duration is calculated.
[0061] In some embodiments, the second output power can be used multiple times to control the heating of the hot water supply device within a preset time period. That is, there are multiple second output powers. The multiple second output powers may be the same, partially different, or completely different. Based on this, the variance corresponding to the multiple second output powers can be calculated.
[0062] The larger the variance, the more dispersed the data distribution and the greater the fluctuation (the greater the fluctuation between multiple second output powers); the smaller the variance, the more concentrated the data and the smaller the fluctuation (the smaller the fluctuation between multiple second output powers).
[0063] In some embodiments, in response to a variance less than a preset variance, it is determined that a plurality of second output powers satisfy a second preset condition.
[0064] That is, the second preset condition can be set to determine whether the variance is less than a preset variance. If yes, then it is determined that multiple second output powers meet the second preset condition. If no, then it is determined that multiple second output powers do not meet the second preset condition.
[0065] In some embodiments, if the absolute value of the difference is less than a preset difference threshold, and the variance is less than a preset variance, then the fluctuation of the output power is small, indicating that the hot water supply equipment is in a stable heating state, and the heating duration can be accumulated. For example, if the judgment period is once every 1 second, and the previous heating duration was 1 second, after accumulation, the current heating duration is 2 seconds.
[0066] In some embodiments, the heating duration is reset in response to a variance greater than or equal to a preset variance.
[0067] In some embodiments, if the variance is greater than or equal to a preset variance after the absolute value of the difference is less than a preset difference threshold, it further indicates that the output power is fluctuating greatly, suggesting that the hot water supply equipment may not be in a stable heating state, and the heating duration can be reset. For example, if the judgment period is once every 1 second, and the previous heating duration was 1 second, after resetting, the current heating duration is 0 seconds.
[0068] Step 24: In response to the heating duration being longer than the preset duration, update the power error coefficient.
[0069] In some embodiments, the heating duration is reset in response to the heating duration exceeding a preset duration. After the heating duration exceeds the preset duration, the power error coefficient needs to be updated. Because the power error coefficient is updated, the heating duration is no longer needed in the current stage, so the reset operation can be performed to ensure that the heating duration logic can be successfully determined when the hot water supply equipment is in a stable heating state next time.
[0070] In some embodiments, since the timing of the power error coefficient update is when the hot water supply equipment is in a stable heating state, the updated power error coefficient is more likely to compensate for the actual error of the hot water supply equipment.
[0071] In some embodiments, since different power ranges correspond to different powers, after calculating the new power error coefficient, the power error coefficient corresponding to the corresponding power range is updated using the new power error coefficient.
[0072] In some embodiments, see Figure 3 Step 24 can be the following process:
[0073] Step 241: In response to the heating duration being longer than the preset duration, obtain the target required power corresponding to the current second output power.
[0074] In some embodiments, the preset duration can be the minimum duration for entering a stable heating state.
[0075] In some embodiments, the preset duration can be greater than the minimum duration for entering a stable heating state. For example, if the minimum duration is 10 seconds, the preset duration can be greater than 10 seconds. Similarly, if the minimum duration is 20 seconds, the preset duration can be greater than 20 seconds. If the minimum duration is 30 seconds, the preset duration can be greater than 30 seconds. And if the minimum duration is 60 seconds, the preset duration can be greater than 60 seconds.
[0076] In some embodiments, the minimum time required to enter a stable heating state can be determined in advance based on the type of different hot water supply equipment.
[0077] Step 242: Update the power error coefficient based on the current second output power and the target required power.
[0078] In some embodiments, the target value can be obtained by dividing the current second output power by the target required power; the power error coefficient can then be updated using the target value.
[0079] In some embodiments, after updating the power error coefficients, the updated power error coefficients are stored in a memory. The stored power error coefficients corresponding to each power level are restored from the memory the next time the hot water supply device is powered on.
[0080] In one application scenario, let's take an electric instant water heater as an example: The heater in an electric instant water heater is a near-purely resistive device, and its resistance affects the rated power. Due to the characteristics of resistance, the resistance will change slightly at different temperatures. Similarly, the error of a temperature sensor will also change with temperature.
[0081] Water flow sensors are usually related to the amount of water flow; the larger the water flow, the greater the error. Moreover, after long-term use, wear or scaling can also cause changes in the error of the water flow sensor.
[0082] The overall error of each device can ultimately be reflected in the ratio of output power to calculated power (demanded power), i.e., the power error coefficient. As mentioned above, the overall error of devices varies under different temperatures and water flows. However, calculating different error coefficients for different temperatures and water flows would be quite complex. Therefore, this application uses different calculated powers to approximate different temperature and water flow conditions, and applies different power error coefficients to different calculated power ranges.
[0083] The specific implementation plan is as follows:
[0084] The rated power of an electric instant water heater is P. P is divided into n equal parts, and for each part, there is a corresponding error coefficient C. The default value for each part is 1 when it is first powered on. See the table below for details:
[0085]
[0086] The controller (processor) of an electric instant water heater periodically calculates the required power. This power is related to the inlet water temperature, the set temperature, and the water flow rate in a certain way, as shown in the following formula:
[0087] .
[0088] in, This represents the calculated power demand.
[0089] This indicates the user's set temperature;
[0090] Indicates the inlet water temperature;
[0091] This indicates the user's water flow rate.
[0092] According to the calculation Take the corresponding power error coefficient C according to the corresponding power range, for example when At that time, .
[0093] Calculate output power , .
[0094] Output power Output to the heater.
[0095] The controller periodically checks whether the heating state is stable; the determination process is described in [link to documentation]. Figure 4 The process includes:
[0096] Step 401: Stabilize the cycle task.
[0097] In some embodiments, the controller periodically performs a stable periodic task. After determining that the stable periodic task is enabled, step 402 is executed.
[0098] Step 402: Determine if it is heating.
[0099] In step 402, if yes, proceed to step 403. If no, proceed to step 410.
[0100] Step 403: Is the absolute value of the difference between the current outlet water temperature and the set outlet water temperature less than the preset difference threshold?
[0101] In step 403, the current outlet water temperature and the set outlet water temperature can be obtained, and then the absolute value of the difference between the current outlet water temperature and the set outlet water temperature can be calculated. Then, it is determined whether the absolute value of the difference is less than a preset difference threshold. If yes, proceed to step 404. If no, proceed to step 410.
[0102] Step 404: Determine whether the variance is less than the preset variance.
[0103] In some embodiments, the variance corresponding to multiple output powers within a preset time period can be calculated, and then it can be determined whether the variance is less than a preset variance. If yes, then step 405 is executed. If no, then step 410 is executed.
[0104] Step 405: Cumulative heating duration.
[0105] After determining that the variance is less than the preset variance, the cumulative heating duration is then calculated.
[0106] Step 406: Determine whether the heating duration is greater than the preset duration.
[0107] During the accumulation process, it can be determined in real time whether the heating duration exceeds the preset duration. If so, it is determined to be in a stable heating state, and step 407 is executed. If not, step 401 is executed.
[0108] Step 407: Reset heating duration.
[0109] Since a stable heating state has been established, the heating duration can be reset to facilitate the next stable cycle task. After executing step 407, proceed to step 408.
[0110] Step 408: Update the power error coefficient.
[0111] In some embodiments, the latest power error coefficient can be obtained by dividing the current output power by the required power. The current power error coefficient is then updated using this latest power error coefficient.
[0112] Step 409: Store the updated power error coefficient to memory.
[0113] In some embodiments, it is necessary to store the latest power error coefficients for future use. For example, the stored power error coefficients corresponding to each power range can be restored from memory the next time power is applied.
[0114] Step 410: Reset heating duration.
[0115] See Figure 5 , Figure 5 This is a schematic diagram of an embodiment of the hot water supply device provided in this application. The hot water supply device 100 includes: a heating device 10; a processor 30 connected to the heating device 10; and a memory 20 connected to the processor 30 for storing computer programs. The processor 30 is used to execute the computer programs to implement the following methods:
[0116] Obtain the current power demand; determine the power range corresponding to the current power demand, and obtain the power error coefficient corresponding to the power range; wherein, the power error coefficient is updated when the hot water supply equipment is in a stable heating state; obtain the first output power based on the power error coefficient and the current power demand; control the hot water supply equipment according to the first output power.
[0117] In some embodiments, the power range is obtained by dividing the rated power of the hot water supply equipment into a preset number; wherein the preset number is greater than or equal to 2.
[0118] In some embodiments, the processor 30 is further configured to execute a computer program to implement the following method: the power error coefficient is updated by: during the operation of the hot water supply equipment, acquiring the current outlet water temperature and the outlet water set temperature; in response to the current outlet water temperature and the outlet water set temperature satisfying a first preset condition, acquiring a plurality of second output powers within a preset time period; in response to the plurality of second output powers within the preset time period satisfying a second preset condition, accumulating the heating duration; and in response to the heating duration being longer than a preset duration, updating the power error coefficient.
[0119] In some embodiments, before acquiring the second output power for a preset time period in response to the first preset condition being met between the current outlet water temperature and the set outlet water temperature, the processor 30 is further configured to execute a computer program to implement the following method: calculating the absolute value of the difference between the current outlet water temperature and the set outlet water temperature; determining that the first preset condition is met between the current outlet water temperature and the set outlet water temperature in response to the absolute value of the difference being less than a preset difference threshold; and resetting the heating duration in response to the absolute value of the difference being greater than or equal to the preset difference threshold.
[0120] In some embodiments, in response to multiple second output powers within a preset time period satisfying a second preset condition, before accumulating the heating duration, the processor 30 is further configured to execute a computer program to implement the following method: calculating the variance corresponding to the multiple second output powers; in response to the variance being less than a preset variance, determining that the multiple second output powers satisfy the second preset condition; in response to the variance being greater than or equal to the preset variance, resetting the heating duration.
[0121] In some embodiments, the processor 30 is further configured to execute a computer program to implement the method of resetting the heating duration in response to a heating duration exceeding a preset duration.
[0122] In some embodiments, the processor 30 is further configured to execute a computer program to implement the following method: in response to a heating duration being longer than a preset duration, obtaining a target demand power corresponding to the current second output power; and updating a power error coefficient based on the current second output power and the target demand power.
[0123] In some embodiments, the processor 30 is further configured to execute a computer program to implement the following method: obtaining a target value by dividing the current second output power by the target required power; and updating the power error coefficient using the target value.
[0124] In some embodiments, the processor 30 is also configured to execute a computer program to implement the method of any embodiment of this application.
[0125] In some embodiments, the hot water supply equipment may be a water purifier, a water heater, or other device that can control the flow rate and temperature of the liquid. For example, an instantaneous water heater.
[0126] See Figure 6 , Figure 6 This is a schematic diagram of an embodiment of the computer-readable storage medium provided in this application. The computer-readable storage medium 60 is used to store a computer program 61, which, when executed by a processor, implements the following method:
[0127] Obtain the current power demand; determine the power range corresponding to the current power demand, and obtain the power error coefficient corresponding to the power range; wherein, the power error coefficient is updated when the hot water supply equipment is in a stable heating state; obtain the first output power based on the power error coefficient and the current power demand; control the hot water supply equipment according to the first output power.
[0128] In some embodiments, the power range is obtained by dividing the rated power of the hot water supply equipment into a preset number; wherein the preset number is greater than or equal to 2.
[0129] In some embodiments, when the computer program 61 is executed by the processor, it is further configured to implement the following method: the power error coefficient is updated by: during the operation of the hot water supply equipment, acquiring the current outlet water temperature and the outlet water set temperature; in response to the current outlet water temperature and the outlet water set temperature satisfying a first preset condition, acquiring a plurality of second output powers within a preset time period; in response to the plurality of second output powers within the preset time period satisfying the second preset condition, accumulating the heating duration; and in response to the heating duration being longer than a preset duration, updating the power error coefficient.
[0130] In some embodiments, before acquiring the second output power for a preset time period in response to the first preset condition being met between the current outlet water temperature and the set outlet water temperature, the computer program 61, when executed by the processor, is further configured to implement the following method: calculating the absolute value of the difference between the current outlet water temperature and the set outlet water temperature; determining that the first preset condition is met between the current outlet water temperature and the set outlet water temperature in response to the absolute value of the difference being less than a preset difference threshold; and resetting the heating duration in response to the absolute value of the difference being greater than or equal to the preset difference threshold.
[0131] In some embodiments, in response to multiple second output powers within a preset time period satisfying a second preset condition, before the cumulative heating duration, computer program 61, when executed by a processor, is further configured to implement the following method: calculating the variance corresponding to multiple second output powers; in response to the variance being less than a preset variance, determining that multiple second output powers satisfy the second preset condition; and in response to the variance being greater than or equal to the preset variance, resetting the heating duration.
[0132] In some embodiments, when executed by a processor, computer program 61 is further configured to implement the following method: resetting the heating duration in response to a heating duration exceeding a preset duration.
[0133] In some embodiments, when the computer program 61 is executed by the processor, it is further configured to implement the following method: in response to a heating duration being longer than a preset duration, obtaining the target demand power corresponding to the current second output power; and updating the power error coefficient based on the current second output power and the target demand power.
[0134] In some embodiments, when the computer program 61 is executed by the processor, it is also used to implement the following method: obtaining a target value by dividing the current second output power by the target required power; and updating the power error coefficient using the target value.
[0135] In some embodiments, when executed by a processor, computer program 61 is also used to implement the method of any embodiment of this application.
[0136] In summary, the hot water supply equipment and control method, as well as the computer-readable storage medium provided in this application, divide the power into corresponding power ranges for different power levels and set corresponding power error coefficients according to the power ranges. This can improve the accuracy of error estimation. Furthermore, when the hot water supply equipment is working, the power error coefficients are used to compensate for the current power demand to obtain the compensated first output power. The compensated first output power is then used to control the hot water supply equipment, thereby improving the control accuracy of the hot water supply equipment and reducing feedback adjustment time.
[0137] Furthermore, by estimating the system error coefficient (power error coefficient) of the water heater (hot water supply equipment) during steady-state heating (when in a stable heating state), and calculating different error coefficients for different power levels, the accuracy of error estimation is improved. The corresponding error coefficient is then used to compensate for the current theoretical power (current demand power), thereby improving control accuracy and reducing feedback adjustment time.
[0138] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0139] If the integrated units in the other embodiments described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processing circuit component (processor) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0140] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A control method for a hot water supply device, characterized in that, The control method includes: Get the current power demand; Determine the power range corresponding to the current power demand, and obtain the power error coefficient corresponding to the power range; wherein, the power error coefficient is updated when the hot water supply equipment is in a stable heating state; The first output power is obtained based on the power error coefficient and the current power demand. The hot water supply equipment is controlled according to the first output power; The method further includes updating the power error coefficient in the following manner: During the operation of the hot water supply equipment, the current outlet water temperature and the set outlet water temperature are obtained; In response to the satisfying of a first preset condition between the current outlet water temperature and the outlet water set temperature, multiple second output powers within a preset time period are obtained; In response to the multiple second output powers meeting the second preset condition within a preset time period, the cumulative heating duration is calculated; In response to the heating duration being longer than a preset duration, the power error coefficient is updated; Before obtaining multiple second output powers over a preset time period in response to a first preset condition being met between the current outlet water temperature and the set outlet water temperature, the method further includes: Calculate the absolute value of the difference between the current outlet water temperature and the set outlet water temperature; In response to the absolute value of the difference being less than a preset difference threshold, it is determined that the current outlet water temperature and the outlet water setting temperature satisfy the first preset condition; Before the cumulative heating duration is reached, in response to the plurality of second output powers satisfying the second preset condition within a preset time period, the method further includes: Calculate the variance corresponding to the plurality of second output powers; In response to the variance being less than a preset variance, it is determined that the plurality of second output powers satisfy the second preset condition.
2. The control method according to claim 1, characterized in that, The power range is obtained by dividing the rated power of the hot water supply equipment into a preset number; wherein the preset number is greater than or equal to 2.
3. The control method according to claim 1, characterized in that, The method further includes: In response to the absolute value of the difference being greater than or equal to the preset difference threshold, the heating duration is reset.
4. The control method according to claim 1, characterized in that, The method further includes: In response to the variance being greater than or equal to the preset variance, the heating duration is reset.
5. The control method according to claim 1, characterized in that, The method further includes: In response to the heating duration exceeding a preset duration, the heating duration is reset.
6. The control method according to any one of claims 1-5, characterized in that, The step of updating the power error coefficient in response to the heating duration being longer than a preset duration includes: In response to the heating duration being longer than the preset duration, the target required power corresponding to the current second output power is obtained; The power error coefficient is updated based on the current second output power and the target required power.
7. The control method according to claim 6, characterized in that, The step of updating the power error coefficient based on the current second output power and the target required power includes: The target value is obtained by dividing the current second output power by the target required power; The power error coefficient is updated using the target value.
8. A hot water supply device, characterized in that, The hot water supply equipment includes: Heating device; The processor is connected to the heating device; A memory, connected to the processor, for storing computer programs; The processor is configured to execute the computer program to implement the method as described in any one of claims 1-7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program, which, when executed by a processor, is used to implement the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Control method and control device of water dispenser, water dispenser and storage medium
CN115868800A
Constant temperature control method, device and equipment of water heater and storage medium
CN119879408A