A method, equipment, device and medium for controlling hot water output
By optimizing the water flow rate of the water purifier using segmented control and fuzzy PID/incremental PID algorithms, the problems of slow water temperature rise and steam spraying in the water purifier are solved, and fast and stable water temperature control is achieved.
Patent Information
- Application Number
- CN202311363291.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-19
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-10-19
AI Technical Summary
In existing methods for controlling hot water output in water purifiers, a low water flow rate leads to steam spraying, while a high flow rate results in slow heating.
A segmented control method is adopted. The initial stage of water discharge control is based on the current inlet water temperature, the current outlet water temperature of the heating component, and the target outlet water temperature to iteratively calculate the water flow rate. The final stage of water discharge control is based on the current inlet water temperature, the current outlet water temperature, and the target outlet water temperature to iteratively calculate the water flow rate. The flow control is optimized by combining fuzzy PID and incremental PID algorithms.
It achieves rapid heating and stabilizes the outlet water temperature at the target temperature, avoiding steam spraying and improving the efficiency and stability of outlet water control.
Smart Images

Figure CN117502910B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of water purifier technology, and in particular to a method, equipment, device, and medium for controlling hot water output. Background Technology
[0002] Currently, most water purifiers use proportional algorithms to control the initial water flow, while an integral algorithm is added for the later stages. If a faster temperature is desired, the water flow rate is reduced, resulting in steam and the water temperature easily exceeding 100°C. Increasing the flow rate prevents steam from spraying, but the temperature rises more slowly. Therefore, a method is needed to quickly dispense hot water without spraying steam. Summary of the Invention
[0003] The purpose of this invention is to provide a hot water control method, equipment, device, and medium to alleviate the technical problems in the prior art where rapid heating of hot water results in a low water flow rate, leading to steam spraying, and increasing the water flow rate results in slow heating.
[0004] The hot water output control method provided by this invention includes: The power required by the heating component is calculated based on the current inlet water temperature flowing into the heating component and the target outlet water temperature flowing out of the heating component, and the heating component is controlled to operate to the required power. Based on the current inlet water temperature, the current outlet water temperature of the heating component, and the target outlet water temperature, the initial outlet water flow rate is iteratively calculated, and the outlet water pump is controlled to discharge water according to the initial outlet water flow rate until the current outlet water temperature reaches the target outlet water temperature. Based on the current inlet water temperature, the current outlet water temperature, and the target outlet water temperature, the final outlet water flow rate is iteratively calculated, and the outlet water pump is controlled to discharge water according to the final outlet water flow rate. When the conditions for stopping water discharge are met, the water pump is controlled to stop discharging water.
[0005] In an optional implementation, The iterative calculation of the initial outflow rate based on the current inlet water temperature, the current outlet water temperature of the heating component, and the target outlet water temperature includes: Calculate the difference between the current inlet water temperature and the current outlet water temperature; Calculate the instantaneous rate of change of the difference; Calculate the error value between the difference at the current water discharge time and the difference at the previous cycle time; The initial effluent flow rate is calculated iteratively based on the difference, the instantaneous rate of change of the difference, and the error value.
[0006] In an optional implementation, The iterative calculation of the initial effluent flow rate based on the difference, the instantaneous rate of change of the difference, and the error value includes: Based on the current inlet water temperature and the target outlet water temperature, the first fuzzy adjustment coefficient, the second fuzzy adjustment coefficient, and the third fuzzy adjustment coefficient are calculated. The initial effluent flow rate is iteratively calculated based on the combination of the difference with the first fuzzy adjustment coefficient, the combination of the instantaneous rate of change of the difference with the second fuzzy adjustment coefficient, and the combination of the error value with the third fuzzy adjustment coefficient.
[0007] In an optional implementation, The iterative calculation of the initial effluent flow rate based on the combination of the difference with the first fuzzy control parameter, the instantaneous rate of change of the difference with the second fuzzy control parameter, and the error value with the third fuzzy control parameter includes: The initial effluent flow rate is calculated using the following formula:
[0008] Where u(t) represents the initial outflow rate at the current time t. Characterizing the first fuzzy control parameter, The value representing the difference between the current inlet water temperature and the current outlet water temperature at the current time t. Characterizing the second fuzzy control parameter, The integral algebraic sum representing the difference between the current inlet water temperature and the target outlet water temperature from the start of execution to the current time t. Characterizing the third fuzzy control parameter, The slope of the curve representing the error value at the current time t when water is discharged.
[0009] In an optional implementation, The iterative calculation of the final effluent flow rate based on the current inlet water temperature, the current outlet water temperature, and the target outlet water temperature includes: Calculate the difference between the current inlet water temperature and the current outlet water temperature; Calculate the instantaneous rate of change of the difference; Calculate the error value between the difference at the current water discharge time and the difference at the previous cycle time; The final effluent flow rate is calculated iteratively based on the difference, the instantaneous rate of change of the difference, and the error value.
[0010] In an optional implementation, The iterative calculation of the final effluent flow rate based on the difference, the instantaneous rate of change of the difference, and the error value includes: Based on the current outlet water temperature, the target outlet water temperature, and the time required for the initial outlet water to heat up to the target outlet water temperature, the first incremental adjustment coefficient, the second incremental adjustment coefficient, and the third incremental adjustment coefficient are calculated. The final effluent flow rate is calculated iteratively based on the combination of the difference with the first incremental adjustment coefficient, the instantaneous rate of change of the difference with the second incremental adjustment coefficient, and the error value with the third incremental adjustment coefficient.
[0011] In an optional implementation, The iterative calculation of the final effluent flow rate based on the combination of the difference with the first incremental adjustment coefficient, the instantaneous rate of change of the difference with the second incremental adjustment coefficient, and the error value with the third incremental adjustment coefficient includes: The final effluent flow rate is calculated using the following formula: ;
[0012]
[0013] Where u(t) represents the final effluent flow rate at the current time t. Characterizing the first incremental control parameter, The value representing the difference between the current inlet water temperature and the current outlet water temperature at the current time t. Characterizing the second incremental control parameter, The integral algebraic sum representing the difference between the current inlet water temperature and the target outlet water temperature from the start of execution to the current time t. Characterizing the third incremental control parameter, The slope of the curve representing the error value at the current time t when water is discharged; The change in the final effluent flow rate between the current k-th operation and the previous (k-1)-th operation is represented by u(k), u(k-1) represents the final effluent flow rate between the current k-th operation and the previous (k-1)-th operation, e(k) represents the difference between the current inlet temperature and the current outlet temperature between the current k-th operation and the previous (k-1)-th operation, and e(k-2) represents the difference between the current inlet temperature and the current outlet temperature between the current (k-2)-th operation.
[0014] Secondly, the hot water control device provided by the present invention includes: A water storage tank is used to deliver liquid to the outlet pipe; Heating unit for heating the water outlet pipe; A water pump is used to control the water flow rate from the water outlet pipe; The inlet of the water outlet pipe is equipped with an inlet water temperature sensor, which is used to detect the inlet water temperature at the inlet of the water outlet pipe. The outlet of the water outlet pipe is equipped with an outlet water temperature sensor, which is used to detect the outlet water temperature at the outlet of the water outlet pipe. A hot water control device is used to calculate the rated power of the heating element based on the current inlet water temperature flowing into the heating element and the target outlet water temperature flowing out of the heating element, and to control the heating element to operate at the rated power. Based on the current inlet water temperature, the current outlet water temperature of the heating component, and the target outlet water temperature, the initial outlet water flow rate is iteratively calculated, and the outlet water pump is controlled to discharge water according to the initial outlet water flow rate until the current inlet water temperature reaches the target outlet water temperature. Based on the current inlet water temperature, the current outlet water temperature, and the target outlet water temperature, the final outlet water flow rate is iteratively calculated, and the outlet water pump is controlled to discharge water according to the final outlet water flow rate. When the conditions for stopping water discharge are met, the water pump is controlled to stop discharging water.
[0015] Thirdly, the hot water control device provided by the present invention includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the hot water control method when executing the computer program.
[0016] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the hot water control method.
[0017] The beneficial effects of the embodiments of this application are as follows: In this embodiment, the water outlet control is divided into two stages: initial water outlet control and final water outlet control. In the initial water outlet control stage, the initial water outlet volume is determined based on the current inlet water temperature, the current outlet water temperature of the heating component, and the target outlet water temperature, which can quickly heat the outlet water to the target temperature. In the final water outlet control stage, the final water outlet volume is determined based on the current inlet water temperature, the current outlet water temperature, and the target outlet water temperature, which can more stably maintain the outlet water temperature at the target temperature. This results in faster water temperature rise and more stable water temperature after reaching the set temperature, thus solving the problems of slow water temperature rise and steam spraying. It also alleviates the technical problems in the prior art where fast water temperature rise leads to a low water flow rate, resulting in steam spraying, and increasing the water flow rate leads to slow temperature rise.
[0018] Other features and advantages of this application will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description
[0019] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0020] Figure 1 This is an overall flowchart of the hot water output control method provided in an embodiment of the present invention; Figure 2 A schematic diagram of the algorithm for the initial water flow rate in the hot water control method provided in this embodiment of the invention; Figure 3 A schematic diagram of the algorithm for the final stage water flow rate in the hot water control method provided in the embodiment of the present invention; Figure 4 The hot water temperature curve is shown in the embodiment of the present invention for the hot water control method. Detailed Implementation
[0021] The technical solution of the present invention will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0022] A brief introduction to the application scenarios and design concepts of this application: Traditional water purifiers, in order to heat the water faster, will reduce the water flow rate to make it easier to heat. However, because the water flow rate is low, the water temperature can easily be heated to over 100°C, resulting in steam spraying. If the water flow rate is increased, steam spraying will not occur, but the temperature will rise more slowly.
[0023] Therefore, in this embodiment, the water outlet control is divided into two stages: initial water outlet control and final water outlet control. In the initial water outlet control stage, the initial water outlet flow rate is determined based on the current inlet water temperature, the current outlet water temperature of the heating component, and the target outlet water temperature. This allows for rapid heating of the outlet water to the target temperature. In the final water outlet control stage, the final water outlet flow rate is determined based on the current inlet water temperature, the current outlet water temperature, and the target outlet water temperature. This allows for more stable maintenance of the outlet water temperature at the target temperature. This results in faster water heating and greater stability of the outlet water temperature after reaching the set temperature, thus solving the problems of slow water heating and steam emission. After introducing the application scenarios and design concepts of the embodiments of this application, the technical solutions provided by the embodiments of this application will be described in detail below.
[0024] This application provides a hot water output control method, which can be applied to hot water output devices such as water purifiers and water heaters. (See attached document.) Figure 1 As shown, the general flow of the hot water control method provided in this application embodiment is as follows: Step 101 User sets the outlet water temperature: In practical applications, users use the control panel on the hot water control device to set the outlet water temperature, which is below 100℃.
[0025] Step 102: Start water output: The user uses the operation panel on the hot water control device to control the water output.
[0026] Step 103 Calculate the power required by the heating component and control the heating component to operate at the required power: The heating component can be specifically set as a heating tube. The heating component is installed on the water outlet pipe to heat the liquid in the water outlet pipe. In addition, the installation position of the water outlet pipe should be as close as possible to the liquid outlet inlet of the hot water control equipment to avoid the distance between the water outlet pipe and the liquid outlet inlet being too long, which would cause heat loss.
[0027] Temperature sensors are installed at both the inlet and outlet of the water pipe. These sensors collect data in real time and feed it back to the microcontroller unit on the main control board for data processing, judgment, and analysis. Upon receiving the water discharge command, the central processing unit quickly acquires the inlet water temperature t0 and the set temperature t1 detected by the two temperature sensors. Then, based on the maximum water flow rate of the pump, it calculates the required power. The specific heat capacity of water is fixed at c = 4.2 kJ / (kg*K). The calculation formula is: Qabsorbed = cm(t1-t0), where c is the specific heat capacity, m is the mass, Q is the energy, and t is the temperature change. The maximum flow rate of the water is equal to the mass m. The required energy Q is converted into power P using the formula: 3600 kJ = 1 kilowatt-hour. Therefore, the power required to achieve the currently set outlet water temperature can be calculated. With the power rating set, the pump flow rate can be adjusted to regulate the outlet water temperature.
[0028] Step 104 Calculate the initial water flow rate: Based on the current inlet water temperature, the current outlet water temperature of the heating component, and the target outlet water temperature, iteratively calculate the initial water flow rate and control the outlet water pump to discharge water according to the initial water flow rate until the current outlet water temperature reaches the target outlet water temperature.
[0029] Specifically, firstly, the difference between the current inlet water temperature and the current outlet water temperature is calculated, and this difference is denoted as E, i.e., E=t1-t0. Then, the instantaneous rate of change of this difference is calculated, as well as the error value between the difference at the current outlet water temperature and the difference at the previous cycle time, which is denoted as EC, i.e., EC=E1-E0.
[0030] Based on the current inlet water temperature and the target outlet water temperature, the first fuzzy adjustment coefficient, the second fuzzy adjustment coefficient, and the third fuzzy adjustment coefficient are calculated. These three fuzzy adjustment coefficients are the three parameters in the fuzzy PID algorithm, denoted as... , and , This is a dynamic value, representing the ratio of the inlet water temperature to the target outlet water temperature. For example, if ambient temperature water (25℃) is introduced into the outlet pipe, and the set target outlet water temperature is 50℃, then... The value is 25 / 50 = 0.5. Additionally, when starting the water flow, the water pump has initial operating power, corresponding to an initial water flow rate in the control outlet pipe. The maximum water flow rate of the pump is set to Lv, and the minimum flow rate to Li. Therefore, the error range of the fuzzy rule table can be divided into temperature difference and flow rate difference. The initial water flow rate is set to Ls = (Lv + Li) * fuzzy rule table. And Ls≥Li, and The value can be roughly calculated using a fuzzy rule table, and is a constant value. After optimization, the actual value is obtained, and then the formula is applied to solve it.
[0031] The initial effluent flow rate is calculated using the following formula:
[0032] Where u(t) represents the initial outflow rate at time t. Characterizing the first fuzzy control parameter, This represents the difference between the current inlet water temperature and the current outlet water temperature at time t. Characterizing the second fuzzy control parameter, The integral algebraic sum representing the difference between the current influent temperature and the target effluent temperature from the start of execution to the current time t. Characterizing the third fuzzy control parameter, The slope of the curve representing the error value at the current time t when water is discharged.
[0033] It should be noted that the outlet water temperature sensor detects the current outlet water temperature in real time and determines whether the current outlet water temperature has reached the target temperature. When the current outlet water temperature has not yet reached the target temperature, the initial stage of heating continues. Therefore, the above formula is calculated iteratively. Thus, the calculated u(t) changes with the outlet water temperature and is a dynamic value between Lv and Li. The calculated u(t) corresponds to the operation of the outlet water pump, so that the outlet water flow rate of the outlet pipe is u(t).
[0034] In summary, in the embodiments of this application, as Figure 2 The diagram shows a fuzzy PID algorithm. It can be understood as inputting the current inlet water temperature, the current outlet water temperature from the heating element, and the target outlet water temperature into a fuzzy controller, which then optimizes the process to obtain the desired PID output. , , The data is input into the PID controller to calculate the initial effluent flow rate, which in turn controls the operation of the controlled object's effluent pump. Iterative calculations are performed using a measuring transmitter. The initial stage algorithm uses a fuzzy PID algorithm, which, although not very stable in constant temperature, can quickly raise the current effluent temperature to the target temperature.
[0035] Step 105: When the current outlet water temperature reaches the set target temperature, stop calculating the initial outlet water flow rate and proceed to the final outlet water flow rate calculation step.
[0036] Step 106: Calculate the final effluent flow rate: Based on the current inlet water temperature, the current outlet water temperature, and the target outlet water temperature, iteratively calculate the final effluent flow rate.
[0037] Specifically, firstly, the difference between the current inlet water temperature and the current outlet water temperature is calculated, and this difference is denoted as E, i.e., E=t1-t0. Then, the instantaneous rate of change of this difference is calculated, as well as the error value between the difference at the current outlet water temperature and the difference at the previous cycle time, which is denoted as EC, i.e., EC=E1-E0.
[0038] Based on the current outlet water temperature, the target outlet water temperature, and the time required for the initial outlet water to reach the target outlet water temperature, the first incremental adjustment coefficient, the second incremental adjustment coefficient, and the third incremental adjustment coefficient are calculated. These three coefficients are the three parameters in the incremental PID algorithm, denoted as... , and Dynamically calculate The specific calculation method is as follows: During the final calculation of the initial effluent flow rate, the current influent temperature has reached the target effluent temperature. However, due to the inherent error in the fuzzy PID algorithm, there is a small temperature difference between the current influent temperature and the target effluent temperature. For example, if the final initial effluent temperature is 92℃, the set target effluent temperature is 95℃, the temperature difference is 3, the sampling time is 50ms (i.e., the period is 20), and the calculated... The calculation formula is: *k, where the coefficient k is an empirical value obtained after multiple adjustments, or it can be the value at the final initial water discharge point. For example, if k is 0.4, the final calculation will yield... The value is 0.06, according to The value is determined by tuning the parameters based on actual conditions. , and Then, plug the solution into the formula.
[0039] The following formula is used to calculate the final effluent flow rate:
[0040] Where u(t) represents the outflow rate at the end of the current time t. Characterizing the first incremental control parameter, This represents the difference between the current inlet water temperature and the current outlet water temperature at time t. Characterizing the second incremental control parameter, The integral algebraic sum representing the difference between the current influent temperature and the target effluent temperature from the start of execution to the current time t. Characterizing the third incremental control parameter, The slope of the curve representing the error value at the current time t when water is discharged.
[0041] An incremental algorithm is implemented using a formula for the incremental flow rate of the final stage effluent. The specific formula for the incremental flow rate of the final stage effluent is as follows:
[0042]
[0043] The change in the final effluent flow rate between the current k-th operation and the previous (k-1)-th operation is represented by u(k), u(k-1) represents the final effluent flow rate between the current k-th operation and the previous (k-1)-th operation, e(k) represents the difference between the current inlet temperature and the current outlet temperature between the current k-th operation and the previous (k-1)-th operation, and e(k-2) represents the difference between the current inlet temperature and the current outlet temperature between the current (k-2)-th operation.
[0044] In summary, in the embodiments of this application, as Figure 3 The diagram shows an incremental PID algorithm. The final algorithm uses an incremental PID algorithm, which can more stably keep the outlet water temperature constant at the set outlet water temperature.
[0045] The water output termination condition in step 107 can be either that the user actively stops the water output, or that the water output reaches the set output value in the hot water control device.
[0046] In addition, such as Figure 4 The graph shows the overall temperature curve. For example, when a user selects 95℃ water output, the initial water temperature rises quickly and steadily. When the temperature reaches 95℃, there is a fluctuation point lasting 2 to 3 seconds. This is caused by the intervention of the mid-stage water output algorithm and is a normal phenomenon. The highest temperature is 97℃, which has not reached the boiling point, so there will be no steam spraying. The lowest temperature is 93℃, which is also within the normal error range. After that, the output of hot water at 95℃ can be stabilized after 10 seconds.
[0047] It should be noted that the principle of the hot water control device provided in this application embodiment to solve the technical problem is similar to that of the hot water control method provided in this application embodiment. Therefore, the implementation of the hot water control device provided in this application embodiment can refer to the implementation of the hot water control method provided in this application embodiment, and the repeated parts will not be described again.
[0048] After introducing the hot water control method and hot water control device provided in the embodiments of this application, the hot water control device provided in the embodiments of this application will be briefly introduced next.
[0049] The hot water control device provided in this application includes at least: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the hot water control method provided in this application.
[0050] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read-only memory (ROM).
[0051] The memory may also include program tools having a set (at least one) of program modules, including but not limited to: an operating subsystem, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0052] The following is a brief description of the computer-readable storage medium provided in the embodiments of this application. The computer-readable storage medium provided in the embodiments of this application stores computer instructions, which, when executed by a processor, implement the sample feature selection method provided in the embodiments of this application. Specifically, the executable program can be built into or installed in a hot water control device, so that the hot water control device can implement the sample feature selection method provided in the embodiments of this application by executing the built-in or installed executable program.
[0053] Furthermore, the sample feature selection method provided in this application embodiment can also be implemented as a program product, which includes program code. When the program product can be run on a hot water control device, the program code is used to cause the hot water control device to execute the sample feature selection method provided in this application embodiment.
[0054] The program product provided in this application embodiment can be any combination of one or more readable media, wherein the readable media can be a readable signal medium or a readable storage medium, and the readable storage medium can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination thereof. Specifically, more specific examples of readable storage media (a non-exhaustive list) include: electrical connections with one or more wires, portable disks, hard disks, RAM, ROM, erasable programmable read-only memory (EPROM), optical fibers, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0055] The program product provided in this application embodiment can be a CD-ROM and include program code, and can also run on a computing device. However, the program product provided in this application embodiment is not limited thereto. In this application embodiment, the readable storage medium can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0056] It should be noted that although several units or sub-units of the device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided and embodied by multiple units.
[0057] Furthermore, although the operations of the method of this application are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0058] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0059] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for controlling hot water output, characterized in that, include: The power required by the heating component is calculated based on the current inlet water temperature flowing into the heating component and the target outlet water temperature flowing out of the heating component, and the heating component is controlled to operate to the required power. Based on the current inlet water temperature, the current outlet water temperature of the heating component, and the target outlet water temperature, the initial outlet water flow rate is iteratively calculated, and the outlet water pump is controlled to discharge water according to the initial outlet water flow rate until the current outlet water temperature reaches the target outlet water temperature. Based on the current inlet water temperature, the current outlet water temperature, and the target outlet water temperature, the final outlet water flow rate is iteratively calculated, and the outlet water pump is controlled to discharge water according to the final outlet water flow rate. When the conditions for stopping water discharge are met, the water pump is controlled to stop discharging water. The iterative calculation of the initial outflow rate based on the current inlet water temperature, the current outlet water temperature of the heating component, and the target outlet water temperature includes: Calculate the difference between the current inlet water temperature and the current outlet water temperature; Calculate the instantaneous rate of change of the difference; Calculate the error value between the difference at the current water discharge time and the difference at the previous cycle time; The initial effluent flow rate is calculated iteratively based on the difference, the instantaneous rate of change of the difference, and the error value. The iterative calculation of the initial effluent flow rate based on the difference, the instantaneous rate of change of the difference, and the error value includes: Based on the current inlet water temperature and the target outlet water temperature, the first fuzzy adjustment coefficient, the second fuzzy adjustment coefficient, and the third fuzzy adjustment coefficient are calculated. Based on the combination of the difference with the first fuzzy adjustment coefficient, the combination of the instantaneous rate of change of the difference with the second fuzzy adjustment coefficient, and the combination of the error value with the third fuzzy adjustment coefficient, the initial effluent flow rate is calculated iteratively. The iterative calculation of the final effluent flow rate based on the current inlet water temperature, the current outlet water temperature, and the target outlet water temperature includes: Calculate the difference between the current inlet water temperature and the current outlet water temperature; Calculate the instantaneous rate of change of the difference; Calculate the error value between the difference at the current water discharge time and the difference at the previous cycle time; The final effluent flow rate is calculated iteratively based on the difference, the instantaneous rate of change of the difference, and the error value. The iterative calculation of the final effluent flow rate based on the difference, the instantaneous rate of change of the difference, and the error value includes: Based on the current outlet water temperature, the target outlet water temperature, and the time required for the initial outlet water to heat up to the target outlet water temperature, the first incremental adjustment coefficient, the second incremental adjustment coefficient, and the third incremental adjustment coefficient are calculated. The final effluent flow rate is calculated iteratively based on the combination of the difference with the first incremental adjustment coefficient, the instantaneous rate of change of the difference with the second incremental adjustment coefficient, and the error value with the third incremental adjustment coefficient.
2. The hot water control method according to claim 1, characterized in that, The iterative calculation of the initial effluent flow rate based on the combination of the difference with the first fuzzy control parameter, the instantaneous rate of change of the difference with the second fuzzy control parameter, and the error value with the third fuzzy control parameter includes: The initial effluent flow rate is calculated using the following formula: Where u(t) represents the initial outflow rate at the current time t. Characterizing the first fuzzy control parameter, The value representing the difference between the current inlet water temperature and the current outlet water temperature at the current time t. Characterizing the second fuzzy control parameter, The integral algebraic sum representing the difference between the current inlet water temperature and the target outlet water temperature from the start of execution to the current time t. Characterizing the third fuzzy control parameter, The slope of the curve representing the error value at the current time t when water is discharged.
3. The hot water control method according to claim 1, characterized in that, The iterative calculation of the final effluent flow rate based on the combination of the difference with the first incremental adjustment coefficient, the instantaneous rate of change of the difference with the second incremental adjustment coefficient, and the error value with the third incremental adjustment coefficient includes: The final effluent flow rate is calculated using the following formula: ; Where u(t) represents the final effluent flow rate at the current time t. Characterizing the first incremental control parameter, The value representing the difference between the current inlet water temperature and the current outlet water temperature at the current time t. Characterizing the second incremental control parameter, The integral algebraic sum representing the difference between the current inlet water temperature and the target outlet water temperature from the start of execution to the current time t. Characterizing the third incremental control parameter, The slope of the curve representing the error value at the current time t when water is discharged; The change in the final effluent flow rate between the current k-th operation and the previous (k-1)-th operation is represented by u(k), u(k-1) represents the final effluent flow rate between the current k-th operation and the previous (k-1)-th operation, e(k) represents the difference between the current inlet temperature and the current outlet temperature between the current k-th operation and the previous (k-1)-th operation, and e(k-2) represents the difference between the current inlet temperature and the current outlet temperature between the current (k-2)-th operation.
4. A hot water control device based on the hot water control method according to any one of claims 1-3, characterized in that, include: A water storage tank is used to deliver liquid to the outlet pipe; Heating unit for heating the water outlet pipe; A water pump is used to control the water flow rate from the water outlet pipe; The inlet of the water outlet pipe is equipped with an inlet water temperature sensor, which is used to detect the inlet water temperature at the inlet of the water outlet pipe. The outlet of the water outlet pipe is equipped with an outlet water temperature sensor, which is used to detect the outlet water temperature at the outlet of the water outlet pipe. A hot water control device is used to calculate the rated power of the heating element based on the current inlet water temperature flowing into the heating element and the target outlet water temperature flowing out of the heating element, and to control the heating element to operate at the rated power. Based on the current inlet water temperature, the current outlet water temperature of the heating component, and the target outlet water temperature, the initial outlet water flow rate is iteratively calculated, and the outlet water pump is controlled to discharge water according to the initial outlet water flow rate until the current inlet water temperature reaches the target outlet water temperature. Based on the current inlet water temperature, the current outlet water temperature, and the target outlet water temperature, the final outlet water flow rate is iteratively calculated, and the outlet water pump is controlled to discharge water according to the final outlet water flow rate. When the conditions for stopping water discharge are met, the water pump is controlled to stop discharging water.
5. A hot water output control device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the hot water control method as described in any one of claims 1-3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the hot water control method as described in any one of claims 1-3.
Citation Information
Patent Citations
Instant heating type water purifying and drinking machine and control method, device and medium thereof
CN114111056A
