CN115868800A - Control method and control device of water dispenser, water dispenser and storage medium - Google Patents

Control method and control device of water dispenser, water dispenser and storage medium Download PDF

Info

Publication number
CN115868800A
CN115868800A CN202211543750.4A CN202211543750A CN115868800A CN 115868800 A CN115868800 A CN 115868800A CN 202211543750 A CN202211543750 A CN 202211543750A CN 115868800 A CN115868800 A CN 115868800A
Authority
CN
China
Prior art keywords
target
water
output power
flow rate
temperature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211543750.4A
Other languages
Chinese (zh)
Inventor
张三杰
罗景开
任聪聪
周有福
勾健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Foshan Shunde Midea Water Dispenser Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
Foshan Shunde Midea Water Dispenser Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, Foshan Shunde Midea Water Dispenser Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202211543750.4A priority Critical patent/CN115868800A/en
Publication of CN115868800A publication Critical patent/CN115868800A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Heat-Pump Type And Storage Water Heaters (AREA)

Abstract

The invention provides a control method of a water dispenser, a control device of the water dispenser, the water dispenser and a storage medium. According to the method, the water inlet temperature and the water outlet temperature are obtained in real time, the target temperature rise is calculated according to the current water outlet temperature and the target water outlet temperature, the preset temperature area can be determined according to the target water outlet temperature and the actual water outlet temperature, under the condition that the water outlet temperature is located in the preset temperature area, the initial water flow rate and the initial output power can be calculated according to the target temperature rise by adopting a preset control algorithm, the error correction coefficient can be obtained according to the last moment water inlet temperature, the current moment water inlet temperature and the actual temperature rise, the target water flow rate and the target output power can be obtained according to the error correction coefficient, the water suction pump is controlled according to the target water flow rate, the instant heating module is controlled according to the target output power, the sudden change of the water outlet temperature is avoided, the water outlet temperature is stable, the use safety of a user is improved, and the user experience is not influenced.

Description

Control method and control device of water dispenser, water dispenser and storage medium
Technical Field
The invention relates to the technical field of drinking devices, in particular to a control method of a water dispenser, a control device of the water dispenser, the water dispenser and a storage medium.
Background
In the prior art, the water outlet mode of the instant heating type water dispenser comprises two modes: one method expands water by hot water, but the method can only heat hot water with the temperature of more than 90 ℃; in addition, the flow of the water pump or the power of the heating body is adjusted through the singlechip control system, the outlet water temperature of hot water is controlled, and the hot water with various temperatures can be heated. The heating by the single chip microcomputer control system adopts a mode that the fixed flow corresponds to the fixed heating power at present, cannot be dynamically adjusted, and the outlet water temperature fluctuates.
Disclosure of Invention
In view of this, the embodiment of the invention provides a control method of a water dispenser, a control device of the water dispenser, the water dispenser and a storage medium.
The embodiment of the invention provides a control method of a water dispenser, the water dispenser comprises an instant heating pipeline, an instant heating module and a water pump, and the control method comprises the following steps:
acquiring the water inlet temperature and the water outlet temperature of the instant heating pipeline in real time;
calculating to obtain target temperature rise according to the current water outlet temperature and the target water outlet temperature;
under the condition that the water outlet temperature is in a preset temperature area, calculating according to the target temperature rise through a preset control algorithm to obtain the initial water flow rate of the water suction pump and the initial output power of the instant heating module;
generating an error correction coefficient according to the water inlet temperature at the previous moment and the water inlet temperature at the current moment;
adjusting the initial water flow rate and the initial output power according to the error correction coefficients respectively to generate a target water flow rate and a target output power;
and controlling the water suction pump and the instant heating module according to the target water flow rate and the target output power respectively.
In certain embodiments, the control method comprises:
under the condition that the temperature of the water outlet is not in a preset temperature area, acquiring the maximum output power of the instant heating module and the maximum water flow rate of the water suction pump;
calculating to obtain a limit temperature rise according to the maximum output power and the maximum water flow rate;
and calculating the target output power and the target water flow rate according to the target temperature rise and the limit temperature rise.
In some embodiments, said calculating said target output power and said target water flow rate as a function of said target temperature rise and said limit temperature rise comprises:
taking the maximum output power as the target output power under the condition that the target temperature rise is not less than the limit temperature rise;
and calculating and generating the target water flow rate according to the target output power and the target temperature rise.
In some embodiments, said calculating said target output power and said target water flow rate from said target temperature rise and said limit temperature rise further comprises:
taking the product of the maximum output power and the ratio of the target temperature rise to the limit temperature rise as the target output power when the target temperature rise is smaller than the limit temperature rise;
and calculating and generating the target water flow rate according to the target output power and the target temperature rise.
In some embodiments, the calculating, according to the target temperature rise and by using a preset control algorithm, an initial water flow rate of the water pump and an initial output power of the instant heating module includes:
calculating according to the target temperature rise through a preset control algorithm to obtain the initial output power;
and calculating and generating the initial water flow rate according to an inverse proportion function and the initial output power.
In some embodiments, said adjusting said initial water flow rate and said initial output power to generate a target water flow rate and a target output power according to said error correction factor, respectively, comprises:
setting the target water flow rate as the sum of the initial water flow rate and the product of the initial water flow rate and the error correction factor;
and taking the difference between the initial output power and the product of the initial output power and the error correction coefficient as the target output power.
In some embodiments, the predetermined control algorithm comprises one of a PID control algorithm, an active disturbance rejection control algorithm.
The application also provides a control device of the water dispenser, the water dispenser includes instant heating pipeline, instant heating module and suction pump, control device includes:
the acquisition module is used for acquiring the water inlet temperature and the water outlet temperature of the instant heating pipeline in real time;
the first calculation module is used for calculating to obtain target temperature rise according to the current water outlet temperature and the target water outlet temperature;
the second calculation module is used for calculating the initial water flow rate of the water suction pump and the initial output power of the instant heating module according to the target temperature rise through a preset control algorithm under the condition that the water outlet temperature is in a preset temperature region;
the generating module is used for generating an error correction coefficient according to the water inlet temperature at the previous moment and the water inlet temperature at the current moment;
an adjusting module for adjusting the initial water flow rate and the initial output power according to the error correction coefficient to generate a target water flow rate and a target output power;
and the control module is used for controlling the water suction pump and the instant heating module according to the target water flow rate and the target output power respectively.
The application also provides a water dispenser, which comprises an instant heating pipeline, an instant heating module, a water suction pump, a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor is enabled to realize the control method of any one of the above items.
The present application also provides a non-transitory computer-readable storage medium containing a computer program which, when executed by a processor, causes the processor to implement the control method of any one of the above.
In the control method, the control device, the water dispenser and the readable storage medium of the embodiment of the application, the water inlet temperature and the water outlet temperature are obtained in real time, the target temperature rise is calculated according to the current water outlet temperature and the target water outlet temperature, the preset temperature region can be determined according to the target water outlet temperature and the actual water outlet temperature, the initial water flow rate and the initial output power can be calculated according to the target temperature rise by adopting a preset control algorithm under the condition that the water outlet temperature is in the preset temperature region, the error correction coefficient can be obtained according to the last moment water inlet temperature, the current moment water inlet temperature and the actual temperature rise, and the target water flow rate and the target output power can be obtained according to the error correction coefficient, so that the water suction pump is controlled according to the target water flow rate, the instant heating module is controlled according to the target output power, sudden change of the water outlet temperature is avoided, the water outlet temperature is stable, the use safety of a user is improved, and the user experience is not influenced.
Additional aspects and advantages of embodiments of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart of a method of controlling a water dispenser according to certain embodiments of the present invention;
FIG. 2 is a block schematic diagram of a control device of a water dispenser according to certain embodiments of the present invention;
FIG. 3 is a flow chart schematic of a method of controlling a water dispenser according to certain embodiments of the present invention;
FIG. 4 is a schematic flow chart diagram of a method of controlling a water dispenser according to certain embodiments of the present invention;
FIG. 5 is a schematic flow chart of a method of controlling a water dispenser according to certain embodiments of the present invention;
FIG. 6 is a flow chart illustrating a method of controlling a water dispenser according to certain embodiments of the present invention;
fig. 7 is a flow chart illustrating a method for controlling a water dispenser according to some embodiments of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. "beneath," "under" and "beneath" a first feature includes the first feature being directly beneath and obliquely beneath the second feature, or simply indicating that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art will recognize the application of other processes and/or the use of other materials.
The instant heating technology is applied to the water dispenser and has the advantages of energy conservation, heating along with use, product volume reduction, high space adaptability, cost and the like, so the instant heating technology is widely applied to the water dispenser, however, in the actual instant heating product, the water inlet temperature of an instant heating module is not completely stable, and the sudden change of the water inlet temperature caused by other heating/refrigerating devices of the whole machine, water temperature layering, sudden hot/cold water filling of a user, a special structure and the like is possible. The instant heating water dispenser realizes accurate water outlet at a temperature by utilizing the control of the water pump and the power control of the instant heating pipe, and if the water outlet temperature is set to be 95 ℃ by a user, the actual water outlet temperature of the water dispenser is about 95 ℃. However, if the inlet water temperature suddenly changes by more than ten degrees or even tens of degrees in a short period of several seconds, the heat control main board does not timely respond, and the outlet water temperature is likely to follow the sudden change, so that the outlet water temperature is suddenly reduced to seventy-ten degrees or increased to more than 100 degrees, a boiling vaporization phenomenon is generated, the user experience is greatly reduced, and even the risk of scalding people is existed.
In view of the above, referring to fig. 1, the present application provides a control method of a water dispenser, where the water dispenser includes an instant heating pipeline, an instant heating module and a water pump, and the control method includes:
s10: acquiring the water inlet temperature and the water outlet temperature of the instant heating pipeline in real time;
s20: calculating to obtain target temperature rise according to the current water outlet temperature and the target water outlet temperature;
s30: under the condition that the temperature of the water outlet is in a preset temperature area, calculating according to the target temperature rise through a preset control algorithm to obtain the initial water flow rate of the water pump and the initial output power of the instant heating module;
s40: generating an error correction coefficient according to the water inlet temperature at the previous moment and the water inlet temperature at the current moment;
s50: adjusting the initial water flow rate and the initial output power according to the error correction coefficient respectively to generate a target water flow rate and a target output power;
s60: and controlling the water suction pump and the instant heating module according to the target water flow rate and the target output power respectively.
Referring to fig. 2, the present application further provides a control device 100 of a water dispenser, where the control device 100 includes an obtaining module 10, a first calculating module 20, a second calculating module 30, a generating module 40, an adjusting module 50, and a control module 60. The S10 may be implemented by the obtaining module 10, the S20 may be implemented by the first calculating module 20, the S30 may be implemented by the second calculating module 30, the S40 may be implemented by the generating module 40, the S50 may be implemented by the adjusting module 50, and the S60 may be implemented by the control module 60, that is, the obtaining module 10 is configured to obtain the inlet water temperature and the outlet water temperature of the instantaneous heating pipe in real time, the first calculating module 20 is configured to calculate the target temperature rise according to the current outlet water temperature and the target outlet water temperature, the second calculating module 30 is configured to calculate the initial water flow rate of the water pump and the initial output power of the instantaneous heating module according to the target temperature rise through a preset control algorithm when the outlet water temperature is in a preset temperature region, the generating module 40 is configured to generate an error correction coefficient according to the inlet water temperature at the previous time and the inlet water temperature at the current time, the adjusting module 50 is configured to adjust the initial water flow rate and the initial output power according to the error correction coefficient to generate the target water flow rate and the target output power, and the control module 60 is configured to control the water pump and the instantaneous heating module according to the target water flow rate and the target output power, respectively.
In some embodiments, the water dispenser further includes a processor and a memory, the memory stores a computer program, and when the computer program is executed by the processor, the processor is configured to obtain an inlet water temperature and an outlet water temperature of the instantaneous heating pipe in real time, calculate a target temperature rise according to the current outlet water temperature and the target outlet water temperature, calculate an initial water flow rate of the water pump and an initial output power of the instantaneous heating module according to the target temperature rise through a preset control algorithm when the outlet water temperature is in a preset temperature region, generate an error correction coefficient according to the inlet water temperature at the previous time and the inlet water temperature at the current time, adjust the initial water flow rate and the initial output power according to the error correction coefficient to generate a target water flow rate and a target output power, and control the water pump and the instantaneous heating module according to the target water flow rate and the target output power, respectively.
Specifically, the suction pump is used for carrying water to the instant heating pipeline, and the instant heating pipeline can include water inlet and delivery port, and the water inlet is provided with into water temperature sensor, and it is used for detecting the water inlet temperature to intake water temperature, and the delivery port is provided with out water temperature sensor, and out water temperature sensor is used for detecting out the mouth of a river temperature, and the instant heating module is around locating the instant heating pipeline, and the instant heating module is used for heating the instant heating pipeline, also promptly, the instant heating module can be through heating the instant heating pipeline, accomplishes the heating to water.
Furthermore, the water inlet temperature T of the instant heating pipeline can be obtained in real time through the water inlet temperature sensor and the water outlet temperature sensor Into And the temperature T of the outlet water Go out For example, the target outlet water temperature Ts can be set to 90 degrees celsius when the user needs hot water, and can be set to 40 degrees celsius when the user needs warm water, and the specific temperature is not limited herein. According to the target water outlet temperature Ts and the water outlet temperature T of the current instant heating pipeline Go out And the target temperature rise delta T can be obtained by calculation Target
△T Target =Ts-T Go out
The application is based on the target outlet water temperature Ts and the actual outlet water temperature T Go out The temperature of the outlet water is close to the target outlet water temperature, and the outlet water is defined as a preset temperature region, for example, -X DEG C<T Go out -Ts<The temperature of X ℃, X ℃ may be 5 ℃,10 ℃, 15 ℃, etc., taking X =5 ℃ as an example, the difference between the actual outlet water temperature and the target outlet water temperature is less than 5 ℃ as a preset temperature region, and the specific preset temperature region range is not limited herein. The region other than the first region is defined as a second region.
Under the condition that the water outlet temperature is in a preset temperature region, the initial water flow rate of the water suction pump and the initial output power of the instant heating module can be obtained according to the target temperature rise by adopting a preset control algorithm, and an error correction coefficient can be generated according to the water inlet temperature at the last moment and the water inlet temperature at the current moment, for example, the water inlet temperature sensor obtains one water inlet temperature every 100 millisecondsThe value of the secondary inlet water temperature is calculated firstly, the increment delta T between the current inlet water temperature and the inlet water temperature value at the last moment Into
△T Into =T Into -T Into
Wherein, T Go into For the current inlet water temperature, T Into ' is the temperature of the inlet water before 100 milliseconds. Then calculating the current actual temperature rise delta T Practice of
△T Practice of =T Go out -T Go into
According to Δ T Into Occupied delta T Practice of May calculate an error correction coefficient q:
Figure BDA0003975831140000071
for example, the temperature of the inlet water rises by 5 degrees Celsius within 100 milliseconds, i.e., Δ T Into =5, actual temperature rise Δ T at present Practice of At 50 degrees celsius, then the error correction factor q =5/50=0.1.
Still further, the target water flow rate and the target output power can be generated by adjusting the initial water flow rate of the water pump and the initial output power of the instantaneous module according to the error correction coefficient, wherein:
target water flow rate = initial water flow rate (++ q)
Target output power = initial output power (1-q)
Therefore, the water inlet temperature and the water outlet temperature are obtained in real time, the target temperature rise is calculated according to the current water outlet temperature and the target water outlet temperature, the preset temperature area can be determined according to the target water outlet temperature and the actual water outlet temperature, the initial water flow rate and the initial output power can be calculated according to the target temperature rise by adopting the preset control algorithm under the condition that the water outlet temperature is located in the preset temperature area, the error correction coefficient can be obtained according to the last moment water inlet temperature, the current moment water inlet temperature and the actual temperature rise, the target water flow rate and the target output power can be obtained according to the error correction coefficient, the water suction pump is controlled according to the target water flow rate, the instant heating module is controlled according to the target output power, the water outlet temperature is prevented from suddenly changing, the water outlet temperature is stable, the use safety of a user is improved, and the user experience is ensured not to be influenced.
Referring to fig. 3, in some embodiments, the control method includes:
s70: under the condition that the water outlet temperature is not in a preset temperature area, acquiring the maximum output power of the instant heating module and the maximum water flow rate of the water suction pump;
s80: calculating to obtain limit temperature rise according to the maximum output power and the maximum water flow rate;
s90: and calculating the target output power and the target water flow rate according to the target temperature rise and the limit temperature rise.
In some embodiments, S70 may be implemented by the obtaining module 10, S80 may be implemented by the first computing module 20, and S90 may be implemented by the second computing module 30, that is, the obtaining module 10 is configured to obtain the maximum output power of the instantaneous module and the maximum water flow rate of the suction pump when the water outlet temperature is not in the preset temperature region, the first computing module 20 is configured to calculate the limit temperature rise according to the maximum output power and the maximum water flow rate, and the second computing module 30 is configured to calculate the target output power and the target water flow rate according to the target temperature rise and the limit temperature rise.
In some embodiments, the processor is configured to obtain the maximum output power of the instant heating module and the maximum water flow rate of the water pump when the outlet temperature is not in the preset temperature region, calculate the limit temperature rise according to the maximum output power and the maximum water flow rate, and calculate the target output power and the target water flow rate according to the target temperature rise and the limit temperature rise.
Specifically, under the condition that the water outlet temperature is not in the preset temperature region, that is, under the condition that the difference between the water outlet temperature and the target water outlet temperature is large, the maximum output power of the instantaneous heating module and the maximum water flow rate of the water pump are obtained, for example, if the water flow rate working range of the water pump is 0.2 kg/min to 0.9 kg/min, the maximum water flow rate is 0.9 kg/min. The limit temperature rise can be calculated according to the maximum output power and the maximum water flow rate:
Q=Pt=cm△T
Figure BDA0003975831140000081
where c is the specific heat capacity of water, constant 4200, P is the output power (in units of w), T is the time (in units of seconds), Δ T is the temperature rise (in units of deg.C), and m is the mass of water (in units of kg). The calculation was done by substituting t =60 seconds into the formula, i.e. the steady temperature rise was generated at 1 minute flow through the total water output:
Figure BDA0003975831140000082
the flow rate is defined as the weight of water flowing per minute, that is, the value of the total outlet water weight m flowing for 1 minute is the flow rate v of water, so the formula can be converted into:
Figure BDA0003975831140000083
Figure BDA0003975831140000084
it will be appreciated that the maximum output power P of the thermal module max And the maximum water flow rate v of the suction pump max Is known data, specifically P max And v max The configuration can be performed according to the models of the instant heating module and the water pump, and is not limited herein. Will P max And v max Substituting into the formula can obtain the ultimate temperature rise:
Figure BDA0003975831140000085
further, the target output power and the target water flow rate can be calculated according to the target temperature rise and the limit temperature rise.
Therefore, under the condition that the water outlet temperature is not located in the preset temperature area, the maximum temperature rise is calculated according to the maximum output power of the instant heating module and the maximum water flow rate of the water suction pump, the calculation formula of the target output power and the target water flow rate can be obtained through the target temperature rise and the maximum temperature rise, the instant heating module can adjust the output power according to the target temperature rise, the water suction pump adjusts the water flow rate according to the target temperature rise, the sudden change of the water outlet temperature is avoided, the water outlet temperature is stable, the use safety of a user is improved, and the user experience is not affected.
Referring to fig. 4, in some embodiments, S90 includes:
s91: under the condition that the target temperature rise is not less than the limit temperature rise, taking the maximum output power as the target output power;
s92: and calculating and generating a target water flow rate according to the target output power and the target temperature rise.
In some embodiments, S91 and S92 may be implemented by the second calculating module 30, that is, the second calculating module 30 is configured to take the maximum output power as the target output power when the target temperature rise is not less than the limit temperature rise, and to calculate the target water flow rate according to the target output power and the target temperature rise.
In some embodiments, the processor is configured to take the maximum output power as the target output power if the target temperature rise is not less than the limit temperature rise, and to calculate the target water flow rate from the target output power and the target temperature rise.
Specifically, according to the calculation formula of the above embodiment, the target output power P can be obtained Target And target water flow rate v Target
△T Target =Ts-T Into Ts is the target outlet water temperature;
at Δ T Target ≥△T Extreme limit In the case of (1), P Target =P max
Figure BDA0003975831140000091
Target output power P Target And target temperature rise Δ T Target Substituting into the calculation formula can obtain:
Figure BDA0003975831140000092
therefore, under the condition that the target temperature rise is not less than the limit temperature rise, namely, the heat module runs at the maximum output power, the maximum output power is used as the target output power, and the target water flow rate is calculated according to the target output power and the target temperature rise, so that the influence caused by sudden change of the inlet water temperature is reduced, and the outlet water temperature is stable.
Referring to fig. 5, in some embodiments, S90 further includes:
s93: under the condition that the target temperature rise is smaller than the limit temperature rise, taking the product of the ratio of the target temperature rise to the limit temperature rise and the maximum output power as the target output power;
s94: and calculating and generating a target water flow rate according to the target output power and the target temperature rise.
In some embodiments, S93 and S94 can be implemented by the second calculating module 30, that is, the second calculating module 30 is configured to take the product of the maximum output power and the ratio of the target temperature rise to the limit temperature rise as the target output power if the target temperature rise is smaller than the limit temperature rise, and to calculate the target water flow rate according to the target output power and the target temperature rise.
In some embodiments, the processor is configured to determine the target output power as a product of a maximum output power and a ratio of the target temperature rise to the limit temperature rise if the target temperature rise is less than the limit temperature rise, and to calculate the target water flow rate from the target output power and the target temperature rise.
Specifically, according to the calculation formula of the above embodiment, the target output power P can be obtained Target And target water flow rate v Target
△T Target =Ts-T Into Ts is the target water outlet temperature;
at Δ T Target <△T Extreme limit In the case of (a) in (b),
Figure BDA0003975831140000101
Figure BDA0003975831140000102
target output power P Target And target temperature rise Δ T Target Substituting into the calculation formula can obtain:
Figure BDA0003975831140000103
therefore, under the condition that the target temperature rise is smaller than the limit temperature rise, the target output power is calculated according to the ratio of the target temperature rise to the limit temperature rise and the maximum output power, and the target water flow rate is calculated according to the target output power and the target temperature rise, so that the influence caused by sudden change of the inlet water temperature is reduced, and the outlet water temperature is stable.
Referring to fig. 6, in some embodiments, S30 includes:
s31: calculating according to the target temperature rise through a preset control algorithm to obtain initial output power;
s32: and calculating and generating an initial water flow rate according to the inverse proportion function and the initial output power.
In some embodiments, S31 and S32 may be implemented by the second calculating module 30, that is, the second calculating module 30 is configured to calculate the initial output power according to the target temperature rise through a preset control algorithm, and to calculate and generate the initial water flow rate according to the inverse proportional function and the initial output power.
In some embodiments, the processor is configured to calculate an initial output power from the target temperature rise through a preset control algorithm, and to calculate and generate an initial water flow rate from an inverse proportional function and the initial output power.
Specifically, the preset control algorithm may be one of a PID control algorithm and an active disturbance rejection control algorithm, the application exemplifies the PID control algorithm, the PID control algorithm is a classical control manner in the control field, and the formula of the PID control algorithm is as follows:
Figure BDA0003975831140000104
where u is the control output, E is the deviation between the current actual value and the target value, E For the deviation between the actual value and the target value at the previous moment, i.e. E-E The target temperature rise was obtained.
In the present embodiment, u can be selectively applied to one or both of the water flow rate of the water pump and the output power of the heat pipe. When u is applied as the water flow rate of the water pump, the larger u is, the larger the water flow rate of the water pump is, and the smaller u is, the smaller the water flow rate of the water pump is.
In the case of u being applied as the output power of the instant heating tube, the function P is substituted Output of Calculated in = f (u) i.e. heat pipe output power P Output of The function is embodied as P Output of Is inversely proportional to u, i.e. the smaller u the smaller P Output of The larger u is, the larger P is Output the output The smaller, for example, the functional formula may be:
Figure BDA0003975831140000111
it should be noted that the functional formula P Output the output The = f (u) is an empirical formula obtained in a laboratory, and is not particularly limited herein.
Therefore, the initial output power is obtained through a preset control algorithm according to the target temperature rise calculation, the initial water flow rate is generated according to the inverse proportion function calculation, and data are provided for error correction coefficient adjustment so as to generate the target water flow rate and the target output power.
Referring to fig. 7, in some embodiments, S50 includes:
s51: taking the sum of the initial water flow rate and the product of the initial water flow rate and the error correction coefficient as a target water flow rate;
s52: and taking the difference between the initial output power and the product of the initial output power and the error correction coefficient as the target output power.
In some embodiments, S51 and S52 may be implemented by the adjustment module 50, that is, the adjustment module 50 is configured to use the sum of the initial water flow rate and the product of the initial water flow rate and the error correction coefficient as the target water flow rate, and to use the difference between the initial output power and the product of the initial output power and the error correction coefficient as the target output power.
In some embodiments, the processor is configured to use a sum of the initial water flow rate and a product of the initial water flow rate and the error correction factor as the target water flow rate, and to use a difference between the initial output power and a product of the initial output power and the error correction factor as the target output power.
Specifically, the target water flow rate and the target output power can be generated by adjusting the initial water flow rate of the water pump and the initial output power of the instantaneous module according to the error correction coefficient q, wherein:
target water flow rate = initial water flow rate (++ 1 q)
Target output power = initial output power (1-q)
For example, within 100 milliseconds, the inlet water temperature rises by 5 degrees, Δ T Into =5, actual temperature rise Δ T at present In fact If the temperature is 50 degrees, the error correction coefficient q is 0.1, and if the initial water flow rate of the water pump is 400 ml/min, that is, the initial output power of the thermal module is 2000W, the target water flow rate v =400 ++ 0.1) =440 ml/min can be calculated, or the target output power P =2000 = 1-0.1) =1800W can be calculated, so as to counteract the change of the inlet water temperature.
Therefore, the initial water flow rate is adjusted according to the error correction coefficient to generate the target water flow rate, the initial output power is adjusted to generate the target output power, the influence caused by sudden change of the water inlet temperature is reduced, the water outlet temperature is stable, and the use safety of a user is improved.
The present application also provides a non-transitory computer-readable storage medium containing a computer program which, when executed by a processor, causes the processor to implement the control method of any of the above embodiments.
Therefore, the water inlet temperature and the water outlet temperature are obtained in real time, the target temperature rise is calculated according to the current water outlet temperature and the target water outlet temperature, the preset temperature area can be determined according to the target water outlet temperature and the actual water outlet temperature, the initial water flow rate and the initial output power can be calculated according to the target temperature rise by adopting the preset control algorithm under the condition that the water outlet temperature is located in the preset temperature area, the error correction coefficient can be obtained according to the last moment water inlet temperature, the current moment water inlet temperature and the actual temperature rise, the target water flow rate and the target output power can be obtained according to the error correction coefficient, the water suction pump is controlled according to the target water flow rate, the instant heating module is controlled according to the target output power, the water outlet temperature is prevented from suddenly changing, the water outlet temperature is stable, the use safety of a user is improved, and the user experience is ensured not to be influenced.
In the description of the present specification, reference to the description of "one embodiment", "certain embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A control method of a water dispenser is characterized in that the water dispenser comprises an instant heating pipeline, an instant heating module and a water pump, and the control method comprises the following steps:
acquiring the water inlet temperature and the water outlet temperature of the instant heating pipeline in real time;
calculating to obtain target temperature rise according to the current water outlet temperature and the target water outlet temperature;
under the condition that the water outlet temperature is in a preset temperature area, calculating according to the target temperature rise through a preset control algorithm to obtain the initial water flow rate of the water suction pump and the initial output power of the instant heating module;
generating an error correction coefficient according to the water inlet temperature at the previous moment and the water inlet temperature at the current moment;
adjusting the initial water flow rate and the initial output power according to the error correction coefficients respectively to generate a target water flow rate and a target output power;
and controlling the water suction pump and the instant heating module according to the target water flow rate and the target output power respectively.
2. The control method according to claim 1, characterized by comprising:
under the condition that the temperature of the water outlet is not in a preset temperature area, acquiring the maximum output power of the instant heating module and the maximum water flow rate of the water suction pump;
calculating to obtain a limit temperature rise according to the maximum output power and the maximum water flow rate;
and calculating the target output power and the target water flow rate according to the target temperature rise and the limit temperature rise.
3. The control method of claim 2, wherein said calculating said target output power and said target water flow rate as a function of said target temperature rise and said limit temperature rise comprises:
taking the maximum output power as the target output power under the condition that the target temperature rise is not less than the limit temperature rise;
and calculating and generating the target water flow rate according to the target output power and the target temperature rise.
4. The control method according to claim 2, wherein the calculating the target output power and the target water flow rate from the target temperature rise and the limit temperature rise further comprises:
taking the product of the ratio of the target temperature rise to the limit temperature rise and the maximum output power as the target output power under the condition that the target temperature rise is smaller than the limit temperature rise;
and calculating and generating the target water flow rate according to the target output power and the target temperature rise.
5. The control method according to claim 1, wherein the calculating an initial water flow rate of the water pump and an initial output power of the instant heating module according to the target temperature rise by a preset control algorithm comprises:
calculating according to the target temperature rise through a preset control algorithm to obtain the initial output power;
and calculating and generating the initial water flow rate according to an inverse proportion function and the initial output power.
6. The control method of claim 1, wherein said adjusting the initial water flow rate and the initial output power to generate a target water flow rate and a target output power according to the error correction factor, respectively, comprises:
setting the target water flow rate to be the sum of the initial water flow rate and the product of the initial water flow rate and the error correction factor;
and taking the difference between the initial output power and the product of the initial output power and the error correction coefficient as the target output power.
7. The control method of claim 1, wherein the predetermined control algorithm comprises one of a PID control algorithm, an active disturbance rejection control algorithm.
8. The control device of the water dispenser is characterized in that the water dispenser comprises an instant heating pipeline, an instant heating module and a water suction pump, and the control device comprises:
the acquisition module is used for acquiring the water inlet temperature and the water outlet temperature of the instant heating pipeline in real time;
the first calculation module is used for calculating to obtain target temperature rise according to the current water outlet temperature and the target water outlet temperature;
the second calculation module is used for calculating the initial water flow rate of the water suction pump and the initial output power of the instant heating module according to the target temperature rise through a preset control algorithm under the condition that the water outlet temperature is in a preset temperature region;
the generating module is used for generating an error correction coefficient according to the water inlet temperature at the previous moment and the water inlet temperature at the current moment;
an adjusting module for adjusting the initial water flow rate and the initial output power according to the error correction coefficient to generate a target water flow rate and a target output power;
and the control module is used for controlling the water suction pump and the instant heating module according to the target water flow rate and the target output power respectively.
9. A water dispenser, characterized in that the water dispenser comprises an instant heating pipe, an instant heating module and a water pump, a processor and a memory, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the control method according to any one of claims 1-7.
10. A non-transitory computer-readable storage medium containing a computer program, wherein the computer program, when executed by a processor, causes the processor to implement the control method of any one of claims 1 to 7.
CN202211543750.4A 2022-12-01 2022-12-01 Control method and control device of water dispenser, water dispenser and storage medium Pending CN115868800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211543750.4A CN115868800A (en) 2022-12-01 2022-12-01 Control method and control device of water dispenser, water dispenser and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211543750.4A CN115868800A (en) 2022-12-01 2022-12-01 Control method and control device of water dispenser, water dispenser and storage medium

Publications (1)

Publication Number Publication Date
CN115868800A true CN115868800A (en) 2023-03-31

Family

ID=85765748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211543750.4A Pending CN115868800A (en) 2022-12-01 2022-12-01 Control method and control device of water dispenser, water dispenser and storage medium

Country Status (1)

Country Link
CN (1) CN115868800A (en)

Similar Documents

Publication Publication Date Title
JP5048499B2 (en) Liquid heating apparatus and liquid heating method
GB2421691A (en) Respiratory humidifier
US20030114903A1 (en) Patient temperature control system with fluid temperature response
EP2055338B1 (en) PID coefficient adjustment for respiratory heater closed loop control
US7380522B2 (en) Energy saving water heater
EP4085960A1 (en) Humidification control system and method for ventilation therapy apparatus
US20030074038A1 (en) Patient temperature control system with fluid preconditioning
EP1441676B1 (en) Patient temperature control system with fluid temperature response
EP3012544A1 (en) A cooling unit
US20180275697A1 (en) Method For Controlling A Conditioning Unit And Consumption Measuring Device Having Such A Conditioning Unit
JP7097085B2 (en) Fluid control device
CN112336200B (en) Method, processor, device and storage medium for a water drinking apparatus
BRPI0620036A2 (en) steam generator and method of controlling the vapor pressure in a steam generator
JP2019085611A (en) Evaporation system, and program for evaporation system
US11221150B2 (en) System and method of controlling a mixing valve of a heating system
US10722660B2 (en) Fluid warming system
US10480826B2 (en) System and method of controlling a mixing valve of a heating system
CN115868800A (en) Control method and control device of water dispenser, water dispenser and storage medium
CN112178944A (en) Extremely-speed constant-temperature regulation and control method of quick water heater
JP2005501214A (en) Steam delivery system
JP6884085B2 (en) Infusion device
ES2393201T3 (en) Device for heating a heating element
CN114947542A (en) Instant heating type water dispenser water temperature control method and system and instant heating type water dispenser
JP7337796B2 (en) Method for controlling the level of molten material received in a reservoir of a melting system from a melting grid
CN108800601A (en) Computational methods, device and the water heater of pressure-bearing type heat storage water tank remaining hot water

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination