Control method, control device, heating equipment and storage medium

The control method and device dynamically adjust heating and water flow parameters to prevent boiling vaporization and splashing in cool and hot water dispensers by using a PID algorithm to maintain stable outlet temperature and flow.

CN119138755APending Publication Date: 2024-12-17FOSHAN SHUNDE MIDEA WATER DISPENSER MFG +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310716343.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-15
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

Cool and hot water dispensers experience boiling vaporization and water vapor splashing due to continuous boiling in the heating device, leading to interruptions and safety issues.

Method used

A control method and device that adjust the heating rate and water flow parameters based on the opening of the mixing valve and set water outlet temperature, using a PID control algorithm to determine target driving parameters for the heating device and water pump, ensuring the water does not reach boiling point before exiting.

Benefits of technology

Prevents boiling vaporization and water splashing by dynamically controlling the heating device's power and water pump voltage, maintaining stable water outlet temperature and flow, thus avoiding interruptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119138755A_ABST
    Figure CN119138755A_ABST
Patent Text Reader

Abstract

The invention discloses a control method, a control device, heating equipment and a nonvolatile computer readable storage medium. The control method is applied to the heating equipment, the heating equipment comprises a heating device, a water mixing valve and a heat exchanger, the heating device is used for heating water flowing in from a water inlet and outputting the water to the water mixing valve, the water mixing valve comprises a first water outlet and a second water outlet, and the water flowing out of the first water outlet and the water flowing in from the water inlet are subjected to heat exchange in the heat exchanger and then output to the heat exchanger. The control method comprises the steps that the heating rate is determined according to the opening degree of the water mixing valve or the set outlet water temperature; determining values of control parameters in a preset temperature control function according to the heating rate to generate a target temperature control function; according to the current temperature difference between the target water outlet temperature and the current water outlet temperature of the heating device and the target temperature control function, target driving parameters are determined; and the working condition of the heating equipment is controlled according to the target driving parameters. According to the invention, the outlet water can be prevented from continuously boiling and vaporizing in the heating equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of heating equipment, and more specifically, to a control method, a control device, a heating equipment and a non-volatile computer-readable storage medium. Background Art

[0002] Cool and hot water is a new type of instant hot water dispenser product. Its working principle is to cool the boiling hot water to the temperature desired by the user through the heat exchanger, and then deliver it to the user. After the heat is transferred from the heat exchanger to the water inlet temperature, the water inlet temperature will rise or even rise sharply, which will further lead to the increase of the water outlet temperature. The water in the heating device begins to boil before reaching the water outlet of the heating device, and then continues to be heated in the heating device, resulting in continuous boiling. The boiling vaporization causes the water outlet of the water dispenser to be interrupted or water vapor splashes. Summary of the invention

[0003] Embodiments of the present application provide a control method, a control device, a heating device, and a non-volatile computer-readable storage medium.

[0004] The control method of the embodiment of the present application is applied to a heating device, which includes a heating device, a mixing valve and a heat exchanger. The heating device is used to heat the liquid flowing into the water inlet and output it to the mixing valve. The mixing valve includes a first water outlet and a second water outlet. The liquid flowing out of the first water outlet and the liquid flowing into the water inlet are combined with the liquid flowing out of the second water outlet after heat exchange in the heat exchanger. The control method includes determining the heating rate according to the opening of the mixing valve or the set water outlet temperature; determining the value of the control parameter in the preset temperature control function according to the heating rate to generate a target temperature control function; determining the target driving parameter according to the current temperature difference between the target water outlet temperature of the heating device and the current water outlet temperature, and the target temperature control function; and controlling the working condition of the heating device according to the target driving parameter.

[0005] In some embodiments, the heating equipment also includes a water pump, and the liquid flowing into the water inlet passes through the water pump and the heat exchanger in sequence and then flows into the heating device. The target driving parameters include the target driving voltage of the water pump and / or the target heating power of the heating device. The operating condition of the heating equipment is controlled according to the target driving parameters, including controlling the water pump to operate at the target driving voltage and / or controlling the heating device to operate at the target heating power.

[0006] In certain embodiments, the target driving voltage is directly proportional to the heating rate, and the target heating power is inversely proportional to the heating rate.

[0007] In some embodiments, the temperature rise rate is directly proportional to the opening of the water mixing valve, the temperature rise rate is inversely proportional to the set water outlet temperature, and the opening of the water mixing valve is inversely proportional to the set water outlet temperature.

[0008] In certain embodiments, the control method further includes re-obtaining the current temperature difference at preset time intervals, and re-determining the target driving parameter according to the re-obtained current temperature difference and the target temperature control function.

[0009] In certain embodiments, the target driving parameters are determined based on the target water outlet temperature of the heating device and the current temperature difference between the current water outlet temperature, and the target temperature control function, including determining the target driving parameters based on the current temperature difference, the historical temperature difference and the target temperature control function, the historical temperature difference including the first N temperature differences of the current temperature difference, N being greater than or equal to 1.

[0010] In some embodiments, the control parameters include a first control parameter, a second control parameter, and a third control parameter, and the function value of the target temperature control function is determined based on a first product of the first control parameter and the current temperature difference, a second product of the second control parameter and the sum of the previous N temperature differences of the current temperature difference, and a third product of the third control parameter and the difference between the current temperature difference and the previous temperature difference of the current temperature difference.

[0011] In some embodiments, the target driving parameter and the function value of the target temperature control function are in a linear function relationship or a quadratic function relationship.

[0012] In certain embodiments, the target outlet water temperature is inversely proportional to the heating rate.

[0013] The control device of the embodiment of the present application is used for application in heating equipment, and the control device includes a first determination module, a second determination module, a third determination module and a control module; the first determination module is used to determine the heating rate according to the opening of the mixing valve or the set water outlet temperature; the second determination module is used to determine the value of the control parameter in the preset temperature control function according to the heating rate to generate a target temperature control function; the third determination module is used to determine the target driving parameter according to the current temperature difference between the target water outlet temperature of the heating device and the current water outlet temperature, and the target temperature control function; and the control module is used to control the operating condition of the heating equipment according to the target driving parameter.

[0014] The heating equipment of the embodiment of the present application includes a heating device, a mixing valve, a heat exchanger and a controller. The heating device is used to heat the water flowing into the water inlet and output it to the mixing valve. The mixing valve includes a first water outlet and a second water outlet. The water flowing out of the first water outlet and the water flowing into the water inlet are heat exchanged in the heat exchanger and then merged with the water flowing out of the second water outlet and flow out. The controller is used to execute any one of the above control methods.

[0015] The non-volatile computer-readable storage medium containing a computer program according to an embodiment of the present application, when the computer program is executed by a processor, enables the processor to execute any one of the control methods described above.

[0016] In the control method, control device, heating equipment and non-volatile computer-readable storage medium of the embodiment of the present application, the temperature rise rate is determined based on the relationship between the opening degree (or set water outlet temperature) of the water mixing valve and the temperature rise of the inlet water temperature (e.g., the larger the opening degree, the more water flows out of the first water outlet, so that the temperature rise of the inlet water temperature is greater). Generally, the greater the temperature rise of the inlet water temperature, the higher the temperature of the inlet water before entering the heating device, and the greater the temperature rise rate. Therefore, the value of the control parameter of the preset temperature control function can be determined according to the temperature rise rate to obtain the target temperature control function. For example, the greater the heating rate, the faster the heating device heats up, so that the water reaches the boiling point before it flows to the water outlet of the heating device, and then continues to boil after being heated. Therefore, the target driving parameter (such as the power of the heating device) obtained by the target temperature control function according to the current temperature difference is smaller than the initial driving parameter corresponding to the current temperature difference, thereby achieving pre-compensation. Although the temperature of the water entering the heating device is increased, the power of the heating device during heating is reduced, which reduces the time that the water in the heating device continues to boil in the heating device, thereby avoiding boiling vaporization, which leads to the problem of water outflow interruption or water vapor splashing in the water dispenser.

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

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

[0019] Figure 1 is a flow chart of a control method of certain embodiments of the present application;

[0020] Figure 2 is a schematic diagram of the structure of a heating device according to some embodiments of the present application;

[0021] Figure 3 is a flow chart of a control method of certain embodiments of the present application;

[0022] Figure 4 is a flow chart of a control method of certain embodiments of the present application;

[0023] Figure 5 is a flow chart of a control method of certain embodiments of the present application;

[0024] Figure 6 is a schematic diagram of a module of a control device in certain embodiments of the present application;

[0025] Figure 7It is a schematic diagram of the connection status of a non-volatile computer-readable storage medium and a processor in certain embodiments of the present application. DETAILED DESCRIPTION

[0026] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are optional and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0027] See also Figure 1 and Figure 2 The embodiment of the present application provides a control method, which is applied to a heating device 100, wherein the heating device 100 includes a heating device 10, a heat exchanger 20 and a water mixing valve 30, the heating device 10 is used to heat the liquid flowing into the water inlet 60, and output it to the water mixing valve 30, the water mixing valve 30 includes a first water outlet 31 and a second water outlet 32, the water flowing out of the first water outlet 31 and the liquid flowing into the water inlet 60 are heat exchanged in the heat exchanger 20, and then merged with the liquid flowing out of the second water outlet 32 ​​and flowed out, the control method includes:

[0028] Step 011: Determine the heating rate according to the opening of the water mixing valve 30 or the set water outlet temperature;

[0029] The heating device 100 may be a device for heating the temperature of the liquid flowing into the heating device 100, for example, the heating device 100 may be a water dispenser, a water heater, a coffee machine, a pipeline machine, etc. The heating device 100 includes a heating device 10, a heat exchanger 20 and a water mixing valve 30. The heating device 10 can heat the liquid flowing into the heating device 10 from the water inlet 60; the heat exchanger 20 can be a device that can realize heat transfer between two or more liquids at different temperatures, for example, the heat exchanger 20 can transfer heat from a liquid with a higher temperature to a liquid with a lower temperature; the water mixing valve 30 can shunt the incoming liquid, for example, the water mixing valve 30 can be a three-way valve, a four-way valve, etc. Taking the water mixing valve 30 as a three-way valve as an example, the water mixing valve 30 includes a first water outlet 31 and a second water outlet 32. After the liquid flowing out of the first water outlet 31 and the liquid flowing in from the water inlet 60 are heat-exchanged in the heat exchanger 20, they merge with the liquid flowing out of the second water outlet 32 ​​and flow out.

[0030] Specifically, the heating device 100 also includes a controller 50, which can determine the temperature rise rate of the liquid flowing into the water inlet 60 in the heat exchanger 20 according to the opening of the first water outlet 31 and the second water outlet 32 ​​of the mixing valve 30, or the controller 50 can determine the temperature rise rate of the liquid flowing into the water inlet 60 in the heat exchanger 20 according to the water outlet temperature set by the user in the heating device 100. It should be noted that the opening of the mixing valve 30 refers to the position of the valve core (or valve plate) when the valve core (or valve plate) changes the throttling area of ​​the flow channel when the valve is adjusted. At the same time, the opening can be expressed in percentage. The opening of the mixing valve 30 is in the interval [0%, 100%], and the first water outlet of the mixing valve 30 The opening of the first water outlet 31 corresponds to the opening of the second water outlet 32 ​​of the mixing valve 30, that is, the larger the opening of the first water outlet 31 of the mixing valve 30, the smaller the opening of the second water outlet 32, and the sum of the opening of the first water outlet 31 and the opening of the second water outlet 32 ​​is 100%; for example, when the controller 50 controls the opening of the first water outlet 31 to be large, the more heat the liquid entering the heat exchanger 20 through the water inlet 60 absorbs, the higher the temperature of the incoming water before entering the heating device 10, and the greater the heating rate; when the controller 50 controls the opening of the first water outlet 31 to be small, the less heat the liquid entering the heat exchanger 20 through the water inlet 60 absorbs, the lower the temperature of the incoming water before entering the heating device 10, that is, the smaller the heating rate. The heating rate is proportional to the opening, and the range of the heating rate is [0, 1]. The closer the heating rate is to 1, the greater the temperature fluctuation is, and vice versa, the closer it is to 0, the smaller the temperature fluctuation is. For example, the target opening of the mixing valve 30 can be represented by P, the heating rate can be represented by A, and the formula for calculating the heating rate is:

[0031] A=f1(P)=1.4*P

[0032] Among them, 1.4 is an empirical value. When the target opening is 1, the heating rate is 1.4. Through normalization, 1.4 is multiplied by 1 / 1.4 and normalized to the range of [0, 1].

[0033] The controller 50 can control the opening of the mixing valve 30 by obtaining the set water outlet temperature set by the user. For example, the controller 50 can pre-set multiple openings of the mixing valve 30 corresponding to the set water outlet temperatures in the database according to the set water outlet temperature set by the user, thereby controlling the opening of the mixing valve 30 according to the set water outlet temperature set by the user, and then obtaining the heating rate. For example, the higher the set water outlet temperature, the smaller the opening of the mixing valve 30 is controlled, and thus the heating rate is smaller.

[0034] Step 012: Determine the value of the control parameter in the preset temperature control function according to the heating rate to generate a target temperature control function;

[0035] The preset temperature control function can be a temperature preset based on a proportional, integral and differential (PID) control algorithm.

[0036] u is the control output, E is the current temperature difference between the target outlet water temperature and the current outlet water temperature, is the sum of the N temperature differences before the current temperature difference, N is greater than or equal to 1, E′ is the temperature difference before the current temperature difference, K p , K i and K d is the control parameter.

[0037] Specifically, the controller 50 can determine the value of the control parameter in the preset temperature control function according to the heating rate, that is, K p , K i and K d The value of can generate the target temperature control function, for example, to calculate the control parameter K p For example, when the heating rate is large, the greater the temperature rise of the inlet water temperature, the faster the inlet water temperature rises when the heating device 10 heats, so that the water reaches the boiling point before it flows to the outlet of the heating device 10. At this time, a smaller K p value, so that the temperature rise rate of the liquid in the heating device 10 is reduced. At this time, calculate K p The formula can be:

[0038] K p =f1(A)=-133*A+50, A∈[0,1]

[0039] Among them, -130 and 50 can be obtained through empirical values, A is the heating rate, and the control parameter K i and K d The value of can be obtained similarly.

[0040] Step 013: determining a target driving parameter according to the current temperature difference between the target outlet water temperature of the heating device 10 and the current outlet water temperature, and a target temperature control function;

[0041] Specifically, the controller 50 can determine the target driving parameter according to the current temperature difference between the target outlet water temperature and the current outlet water temperature of the heating device 10 and the target temperature control function. For example, the controller 50 obtains the value of the current temperature difference E between the target outlet water temperature and the current outlet water temperature and the value of the previous temperature difference E′ of the current temperature difference, and brings the values ​​of E and E′ into the target temperature control function. p The sum of the first product of the current temperature difference E, the second control parameter Ki and the first N temperature differences of the current temperature difference The controller 50 is able to determine the value of the target drive parameter u by multiplying the third control parameter Kd by the second product of the third control parameter Kd and the difference (EE′) between the current temperature difference and the temperature difference before the current temperature difference.

[0042] Step 014: Control the operating condition of the heating device 100 according to the target driving parameters.

[0043] Specifically, the controller 50 can control the operation of the heating equipment 100 by obtaining the value of the target driving parameter. For example, the target driving parameter may be the power of the heating device 10. By controlling the power of the heating device 10, the heating rate of the liquid entering the heating device 10 through the water inlet 60 can be accelerated or reduced; or, the target driving parameter may be the voltage of the water pump 40 in the heating equipment 100. The water pump 40 can pump the liquid flowing into the water pump 40 through the water inlet 60 into the heat exchanger 20 and the heating device 10. The controller 50 can control the flow rate of the liquid from the water inlet 60 into the heat exchanger 20 by controlling the voltage of the water pump 40. The greater the voltage of the water pump 40, the faster the flow rate of the liquid, and the smaller the voltage of the water pump 40, the slower the flow rate of the liquid.

[0044] In this way, the temperature rise rate is determined based on the relationship between the opening degree (or the set water outlet temperature) of the water mixing valve 30 and the temperature rise of the inlet water temperature (e.g., the greater the opening degree, the more water flows out of the first water outlet, thereby making the temperature rise of the inlet water temperature greater). Generally, the greater the temperature rise of the inlet water temperature, the higher the temperature of the inlet water before entering the heating device 10, and the greater the temperature rise rate. Therefore, the value of the control parameter of the preset temperature control function can be determined according to the temperature rise rate to obtain the target temperature control function. For example, the greater the heating rate, the faster the heating device 10 heats up, so that the water reaches the boiling point before it flows to the water outlet of the heating device 10, and then continues to boil after being heated. Therefore, the target driving parameter (such as the power of the heating device 10) obtained by the target temperature control function according to the current temperature difference is smaller than the initial driving parameter corresponding to the current temperature difference, thereby achieving pre-compensation, so that although the temperature of the water entering the heating device 10 is increased, the power of the heating device 10 during heating is reduced, so that the time that the water in the heating device 10 continues to boil in the heating device 10 is reduced, thereby avoiding the occurrence of boiling vaporization, which leads to the problem of water outflow interruption or water vapor splashing of the water dispenser.

[0045] See also Figure 2 and Figure 3 In some embodiments, the heating device 100 further includes a water pump 40. The liquid flowing into the water inlet 60 flows into the heating device 10 after passing through the water pump 40 and the heat exchanger 20 in sequence. The target driving parameter includes a target driving voltage of the water pump 40 and / or a target heating power of the heating device 10. Step 014: controlling the working condition of the heating device 100 according to the target driving parameter includes:

[0046] Step 0141: Control the water pump 40 to operate at a target driving voltage, and / or control the heating device 10 to operate at a target heating power.

[0047] Specifically, the heating equipment 100 also includes a water pump 40, which can be used to pump the liquid flowing into the water pump 40 from the water inlet 60 into the heat exchanger 20 and the heating device 10. The target driving parameters include the target driving voltage of the water pump 40 and / or the target heating power of the heating device 10. The controller 50 can control the water pump 40 to work at the target driving voltage, or the controller 50 can control the heating device 10 to work at the target heating power. For example, the controller 50 obtains a target driving parameter of 110 volts by calculating the target temperature control function, and the controller 50 controls the water pump 40 to work at a voltage of 110 volts; the controller 50 obtains a target driving parameter of 1200 watts by calculating the target temperature control function, and the controller 50 controls the heating device 10 to work at a heating power of 1200 watts.

[0048] In this way, by controlling the voltage of the water pump 40 to operate and / or controlling the heating power of the heating device 10 to operate, the outlet temperature of the liquid flowing out of the heating device 10 can be controlled.

[0049] In certain embodiments, the target driving voltage is directly proportional to the heating rate, and the target heating power is inversely proportional to the heating rate.

[0050] Specifically, when the target driving parameter is the target driving voltage, the target driving voltage is proportional to the heating rate. For example, a larger heating rate indicates that the temperature of the liquid before entering the heating device 10 is higher. The higher-temperature liquid heats up faster when heated in the heating device 10, and the easier it is for the liquid to boil before it flows to the water outlet of the heating device 10. This means that the liquid absorbs more heat in the heat exchanger 20 before entering the heating device 10. At this time, it is necessary to increase the driving voltage of the water pump 40 to increase the flow rate of the liquid. The speed at which the liquid flows through the heat exchanger 20 increases, and the liquid can be less The smaller the heating rate, the lower the temperature of the liquid before it enters the heating device 10. The slower the temperature of the liquid rises when it is heated in the heating device 10, and the more difficult it is for the liquid to reach the target water outlet temperature. This means that before entering the heating device 10, the liquid absorbs less heat in the heat exchanger 20. At this time, it is necessary to reduce the driving voltage of the water pump 40 to slow down the flow rate of the liquid and the speed at which the liquid flows through the heat exchanger 20, so that the liquid can take away more heat from the heat exchanger 20.

[0051] When the target driving parameter is the target heating power, the target heating power and the heating rate are inversely proportional. For example, a larger heating rate indicates that the temperature of the liquid before entering the heating device 10 is higher, and the higher-temperature liquid heats up faster when heated in the heating device 10, and the easier it is for the liquid to boil before it flows to the water outlet of the heating device 10. This means that before entering the heating device 10, the liquid absorbs more heat in the heat exchanger 20. At this time, it is necessary to reduce the driving power of the heating device 10 so that the higher-temperature liquid heats up slowly in the heating device 10 to prevent the liquid from boiling and vaporizing due to excessive heating. A smaller heating rate indicates that the temperature of the liquid before entering the heating device 10 is lower, and the lower-temperature liquid heats up slower when heated in the heating device 10, and the more difficult it is to reach the target water outlet temperature. This means that before entering the heating device 10, the liquid absorbs less heat in the heat exchanger 20. At this time, it is necessary to increase the driving power of the heating device 10 so that the lower-temperature liquid heats up quickly in the heating device 10.

[0052] In this way, the target driving voltage is directly proportional to the heating rate, and the target heating power is inversely proportional to the heating rate, so that the controller 50 controls the operation of the water pump 40 or the heating device 10 according to actual conditions, and can control the water outlet temperature of the liquid flowing out of the heating device 10.

[0053] In some embodiments, the temperature rise rate is proportional to the opening of the water mixing valve 30, the temperature rise rate is inversely proportional to the set water outlet temperature, and the opening of the water mixing valve 30 is inversely proportional to the set water outlet temperature.

[0054] Specifically, the heating rate is proportional to the opening of the water mixing valve 30, and inversely proportional to the set water outlet temperature. For example, when the first water outlet 31 of the water mixing valve 30 is opened widely, the more high-temperature liquid flows into the heat exchanger 20 from the first water outlet 31, and when the flow rate of the liquid flowing into the heat exchanger 20 from the water inlet 60 remains unchanged, the higher the probability that the high-temperature liquid will contact the lower-temperature liquid flowing into the heat exchanger 20 from the water inlet 60, the more heat the liquid flowing into the heat exchanger 20 from the water inlet 60 will absorb, and the higher the temperature of the liquid before entering the heating device 10, so that the higher-temperature liquid will heat up faster in the heating device 10, that is, the heating rate of the liquid will be higher. Large; when the opening of the first water outlet 31 of the mixing valve 30 is small, the amount of high-temperature liquid flowing into the heat exchanger 20 from the first water outlet 31 is smaller, and when the flow rate of the liquid flowing into the heat exchanger 20 from the water inlet 60 remains unchanged, the probability of the high-temperature liquid contacting the lower-temperature liquid flowing into the heat exchanger 20 from the water inlet 60 is smaller, the liquid flowing into the heat exchanger 20 from the water inlet 60 absorbs less heat, and the temperature of the liquid before entering the heating device 10 is lower, so that the lower-temperature liquid heats up more slowly in the heating device 10, that is, the heating rate of the liquid is small.

[0055] The opening of the mixing valve 30 is inversely proportional to the set water outlet temperature. For example, when the set water outlet temperature set by the user is high, the heat carried away by the lower temperature liquid flowing into the water inlet 60 of the heat exchanger 20 is less, that is, the lower the probability of the lower temperature liquid flowing into the heat exchanger 20 through the water inlet 60 to contact the liquid with a higher temperature is, the smaller the opening of the first water outlet 31 of the mixing valve 30 needs to be reduced so that less high-temperature liquid flows through the heat exchanger 20; when the set water outlet temperature set by the user is low, the heat carried away by the lower temperature liquid flowing into the water inlet 60 of the heat exchanger 20 is more, that is, the lower the temperature liquid flowing into the heat exchanger 20 through the water inlet 60 to contact the liquid with a higher temperature is, the larger the opening of the first water outlet 31 of the mixing valve 30 needs to be increased so that more high-temperature liquid flows through the heat exchanger 20.

[0056] See also Figure 4 In some embodiments, the control method further comprises:

[0057] Step 015: Re-obtain the current temperature difference at a preset time interval, and re-determine the target driving parameter based on the re-obtained current temperature difference and the target temperature control function.

[0058] Specifically, the controller 50 needs to re-obtain the current temperature difference every preset time period (such as the preset time period is 100 milliseconds), and re-determine the target driving parameters based on the re-obtained current temperature difference and the target temperature control function. For example, the controller 50 re-obtains the current water outlet temperature every 100 milliseconds, and calculates the current temperature difference, that is, the E value, through the target water outlet temperature. At this time, E′ is the current temperature difference 100 milliseconds ago. The current temperature difference is substituted into the target temperature control function to calculate the current target driving parameters.

[0059] In this way, by recalculating the target driving parameters at preset time intervals, the controller 50 can timely adjust the working conditions of the heating device 100 according to the target driving parameters, thereby controlling the outlet water temperature of the liquid flowing out of the heating device 10 .

[0060] See also Figure 5 In some embodiments, step 013: determining the target driving parameters according to the target outlet water temperature of the heating device 10 and the current temperature difference between the current outlet water temperature and the target temperature control function, includes:

[0061] Step 0131: Determine the target driving parameter according to the current temperature difference, the historical temperature difference and the target temperature control function, the historical temperature difference includes the first N temperature differences of the current temperature difference, N being greater than or equal to 1.

[0062] Specifically, the controller 50 can determine the target drive parameter by calculating the current temperature difference and the historical temperature difference between the target outlet water temperature of the heating device 10 and the current outlet water temperature, and then substituting the obtained current temperature difference and the historical temperature difference into the target temperature control function, where the historical temperature difference includes the first N temperature differences of the current temperature difference, where N is greater than or equal to 1. For example, the target drive parameter is the voltage of the water pump 40, and the controller 50 recalculates the current temperature difference once every preset time (such as 100 milliseconds), and the historical temperature difference includes the first N (such as N is 4) temperature differences of the current temperature difference, and substituting the currently obtained current temperature difference and the historical temperature difference into the target temperature control function, so that the voltage currently required by the water pump 40 can be calculated.

[0063] In some embodiments, the control parameters include a first control parameter, a second control parameter, and a third control parameter, and the function value of the target temperature control function is determined based on a first product of the first control parameter and the current temperature difference, a second product of the second control parameter and the sum of the previous N temperature differences of the current temperature difference, and a third product of the third control parameter and the difference between the current temperature difference and the previous temperature difference of the current temperature difference.

[0064] Specifically, the control parameters may include a first control parameter, a second control parameter and a third control parameter. For example, the first control parameter is represented by K p The second control parameter is K i The third control parameter is K d The current temperature difference is the difference between the current outlet water temperature and the target outlet water temperature, which can be represented by E. The sum of the previous N temperature differences of the current temperature difference can be represented by The difference between the current temperature difference and the previous temperature difference of the current temperature difference is represented by (EE′), and the function value of the target temperature control function can be calculated based on the first product K of the first control parameter and the current temperature difference. p *E, the second product of the sum of the second control parameter and the previous N temperature differences of the current temperature difference and the third control parameter and the third product of the difference between the current temperature difference and the temperature difference before the current temperature difference

[0065] In some embodiments, the target driving parameter and the function value of the target temperature control function are in a linear function relationship or a quadratic function relationship.

[0066] Specifically, the target driving parameter and the function value of the target temperature control function are in a linear function relationship or a quadratic function relationship. For example, the target driving parameter represents the power W of the heating device 10, and there is a constant coefficient k so that the function value u calculated by the target temperature control function is in a linear relationship with the power W of the heating device 10, such as W=ku; or, the target driving parameter represents the power W of the heating device 10, and there is a quadratic term coefficient a, a linear term coefficient b and a constant coefficient c so that the function value u calculated by the target temperature control function is in a quadratic function relationship with the power of the heating device 10, such as W=au 2 +bu+c.

[0067] In certain embodiments, the target outlet water temperature is inversely proportional to the heating rate.

[0068] Specifically, the target water outlet temperature is inversely proportional to the heating rate, that is, the greater the heating rate, the smaller the target water outlet temperature needs to be set; the smaller the heating rate, the larger the target water outlet temperature needs to be set. For example, the liquid entering the water inlet 60 absorbs a large amount of heat after entering the heat exchanger 20, resulting in the rapid temperature rise of the liquid at a higher temperature when the heating device 10 heats the liquid, that is, the heating rate is relatively large. At this time, before the higher temperature liquid enters the heating device 10, the controller 50 needs to reduce the preset target water outlet temperature, such as the controller 50 reduces the target water outlet temperature from 99 degrees to 95 degrees, so that the heating device 10 uses a smaller power to heat the higher temperature liquid according to the reduced target water outlet temperature.

[0069] In this way, by adjusting the target water outlet temperature in advance in proportion to the heating rate, it is possible to prevent the liquid from absorbing a large amount of heat in the heat exchanger 20 when the liquid enters the heating device 10 for heating. This results in the heating device 10 not having enough time to adjust the heating power when the high-temperature liquid enters the heating device 10 for heating, causing the high-temperature liquid to continue to be heated at a high power, causing the water outlet temperature to quickly rise to the boiling point, and continuing to boil in the heating device 10, resulting in accidents such as boiling, vaporization, and scalding of users.

[0070] See also Figure 6 In order to better implement the control method of the embodiment of the present application, the embodiment of the present application further provides a control device 10, wherein the control device 10 includes a first determination module 11, a second determination module 12, a third determination module 13 and a control module 14. The first determination module 11 is used to determine the heating rate according to the opening of the mixing valve 30 or the set water outlet temperature; the second determination module 12 is used to determine the value of the control parameter in the preset temperature control function according to the heating rate to generate the target temperature control function; the third determination module 13 is used to determine the target driving parameter according to the current temperature difference between the target water outlet temperature of the heating device 10 and the current water outlet temperature, and the target temperature control function; and the control module 14 is used to control the working condition of the heating device 100 according to the target driving parameter.

[0071] The control module 14 is further used to control the water pump 40 to operate at a target driving voltage, and / or control the heating device 10 to operate at a target heating power.

[0072] The control device 10 further includes an acquisition module 15, which is specifically configured to re-acquire the current temperature difference at preset time intervals, and re-determine the target driving parameter according to the re-acquired current temperature difference and the target temperature control function.

[0073] The third determination module 13 is further used to determine the target driving parameter according to the current temperature difference, the historical temperature difference and the target temperature control function, the historical temperature difference includes the first N temperature differences of the current temperature difference, N being greater than or equal to 1.

[0074] Please refer again Figure 2 The embodiment of the present application also provides a heating device 100, wherein the heating device 100 includes a heating device 10, a mixing valve 30, a heat exchanger 20 and a controller 50. The heating device 10 is used to heat the water flowing into the water inlet 60 and output it to the mixing valve 30. The mixing valve 30 includes a first water outlet 31 and a second water outlet 32. After the water flowing out of the first water outlet 31 and the water flowing into the water inlet 60 are heat exchanged in the heat exchanger 20, they merge with the water flowing out of the first water outlet 31 and flow out. The controller 50 is used to determine the heating rate according to the opening of the mixing valve 30 or the set water outlet temperature; determine the value of the control parameter in the preset temperature control function according to the heating rate to generate a target temperature control function; determine the target driving parameter according to the current temperature difference between the target water outlet temperature of the heating device 10 and the current water outlet temperature, and the target temperature control function; and control the working condition of the heating device 100 according to the target driving parameter.

[0075] The heating device 100 may be a water dispenser, a water heater, a coffee machine, a pipeline machine, etc.

[0076] See also Figure 7 The embodiment of the present application also provides a computer-readable storage medium 200 on which a computer program 210 is stored. When the computer program 210 is executed by the processor 220, the control method of any of the above embodiments is implemented. For the sake of brevity, it will not be repeated here.

[0077] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0078] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0079] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are optional and cannot be understood as limitations to the present application. A person skilled in the art can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A control method, characterized in that: Applied to a heating device, the heating device includes a heating device, a water mixing valve and a heat exchanger, the heating device is used to heat the liquid flowing into the water inlet and output it to the water mixing valve, the water mixing valve includes a first water outlet and a second water outlet, the liquid flowing out of the first water outlet and the liquid flowing into the water inlet are heat exchanged in the heat exchanger, and then merge with the liquid flowing out of the second water outlet and flow out, the control method includes: Determine the heating rate according to the opening of the mixing valve or the set water outlet temperature; Determine the value of the control parameter in the preset temperature control function according to the heating rate to generate a target temperature control function; Determining a target driving parameter according to a current temperature difference between a target outlet water temperature of the heating device and a current outlet water temperature, and a target temperature control function; and The operating conditions of the heating equipment are controlled according to the target driving parameters.

2. The control method according to claim 1, characterized in that: The heating device also includes a water pump. The liquid flowing into the water inlet flows into the heating device after passing through the water pump and the heat exchanger in sequence. The target driving parameters include the target driving voltage of the water pump and / or the target heating power of the heating device. The working condition of the heating device is controlled according to the target driving parameters, including: The water pump is controlled to operate at a target driving voltage, and / or the heating device is controlled to operate at a target heating power.

3. The control method according to claim 2, characterized in that: The target driving voltage is directly proportional to the heating rate, and the target heating power is inversely proportional to the heating rate.

4. The control method according to claim 1, characterized in that: The heating rate is directly proportional to the opening of the mixing valve, the heating rate is inversely proportional to the set water outlet temperature, and the opening of the mixing valve is inversely proportional to the set water outlet temperature.

5. The control method according to claim 1, characterized in that: Also includes: The current temperature difference is re-obtained at a preset time interval, and the target driving parameter is re-determined according to the re-obtained current temperature difference and the target temperature control function.

6. The control method according to claim 1, characterized in that: According to the current temperature difference between the target outlet water temperature of the heating device and the current outlet water temperature, and the target temperature control function, the target driving parameters are determined, including: The target driving parameter is determined according to the current temperature difference, the historical temperature difference and the target temperature control function, the historical temperature difference includes the previous N temperature differences of the current temperature difference, where N is greater than or equal to 1.

7. The control method according to claim 6, characterized in that: The control parameters include a first control parameter, a second control parameter and a third control parameter, and the function value of the target temperature control function is determined based on a first product of the first control parameter and the current temperature difference, a second product of the second control parameter and the sum of the previous N temperature differences of the current temperature difference, and a third product of the third control parameter and the difference between the current temperature difference and the previous temperature difference of the current temperature difference.

8. The control method according to claim 1, characterized in that: The target driving parameter and the function value of the target temperature control function are in a linear function relationship or a quadratic function relationship.

9. The control method according to claim 1, characterized in that: The target water outlet temperature is inversely proportional to the heating rate.

10. A control device, characterized in that: Applied to a heating device, the heating device includes a heating device, a water mixing valve and a heat exchanger, the heating device is used to heat the liquid flowing into the water inlet and output it to the water mixing valve, the water mixing valve includes a first water outlet and a second water outlet, the liquid flowing out of the first water outlet and the liquid flowing into the water inlet are heat exchanged in the heat exchanger and then merged with the liquid flowing out of the second water outlet and flow out, the control device includes: A first determination module is used to determine the heating rate according to the opening of the water mixing valve or the set water outlet temperature; A second determination module, used to determine the value of the control parameter in the preset temperature control function according to the heating rate, so as to generate a target temperature control function; A third determination module is used to determine a target driving parameter according to a current temperature difference between a target outlet water temperature of the heating device and a current outlet water temperature, and a target temperature control function; and The control module is used to control the working condition of the heating equipment according to the target driving parameters.

11. A heating device, characterized in that: The invention comprises a heating device, a water mixing valve, a heat exchanger and a controller. The heating device is used to heat the liquid flowing into the water inlet and output the heat to the water mixing valve. The water mixing valve comprises a first water outlet and a second water outlet. The liquid flowing out of the first water outlet and the liquid flowing into the water inlet are heat exchanged in the heat exchanger and then flow out together with the liquid flowing out of the second water outlet. The controller is used to execute the control method according to any one of claims 1 to 9.

12. A non-volatile computer-readable storage medium containing a computer program, which, when executed by a processor, causes the processor to execute the control method according to any one of claims 1 to 9.