Water dispenser, temperature control method thereof, control device and computer readable storage medium
By setting a water valve in the water dispenser and adjusting the water valve opening according to multiple parameters, the problem of unstable water outlet temperature of the water dispenser is solved, achieving more accurate temperature control and better user experience.
Patent Information
- Application Number
- CN202510228354.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-27
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2045-02-27
AI Technical Summary
In different application scenarios, the water outlet temperature of existing water dispensers is unstable due to changes in water pressure, which affects the user experience.
By setting up a water valve in the water dispenser, and determining the difference in cold water flow according to the target water outlet temperature, current cold water temperature, cold water flow, hot water temperature and hot water flow, the target opening of the water valve is adjusted to control the cold water flow and reduce the temperature difference between the outlet water temperature and the target water outlet temperature.
The water dispenser's outlet temperature is realized, and the problem of unstable water temperature caused by changes in water flow in different application scenarios is overcome, so that the water temperature is closer to the target temperature, improving the user's drinking water experience.
Smart Images

Figure CN119908589A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of water dispensers, and in particular to a water dispenser temperature control method, a water dispenser control device, a water dispenser, and a computer-readable storage medium. Background Art
[0002] At present, the functions of water dispensers are becoming more and more abundant. For water dispensers with heating function, they usually output warm water by mixing cold water and hot water. Due to the different application scenarios of water dispensers, such as high floors, low floors, villas, large flats, etc., the water pressure will also be different. The water pressure will affect the water flow, and the water flow will affect the change of water temperature, which will cause the water outlet temperature of the water dispenser to be unstable, such as too high or too low, affecting the user's water experience.
[0003] The above information disclosed in this Background section is only for understanding the background of the present application concept and therefore it may contain information that does not constitute prior art. Summary of the invention
[0004] The main purpose of this application is to provide a water dispenser temperature control method, a water dispenser control device, a water dispenser and a computer-readable storage medium, aiming to solve the technical problem of poor water outlet temperature control accuracy of current water dispensers.
[0005] To achieve the above object, the present application provides a water dispenser temperature control method, which is applied to a water dispenser, wherein the water dispenser includes a water valve, and the water dispenser temperature control method includes:
[0006] Determining a cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow;
[0007] Determining the target opening of the water valve according to the cold water flow difference, wherein the water valve is located on the cold water passage of the water dispenser and is used to adjust the cold water flow;
[0008] The water valve is controlled to operate based on the target opening degree to reduce the temperature difference between the outlet water temperature of the water dispenser and the target outlet water temperature.
[0009] In one embodiment, the step of determining the cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow comprises:
[0010] Collecting the target water outlet temperature, current cold water temperature, current cold water flow, current hot water temperature and current hot water flow of the water dispenser;
[0011] Substituting the target water outlet temperature, current cold water temperature, current hot water temperature and current hot water flow rate of the water dispenser into a preset heat exchange function to obtain the target cold water flow rate of the water dispenser;
[0012] A hot water flow difference is obtained according to the target hot water flow and the current hot water flow.
[0013] In one embodiment, the step of determining the target opening of the water valve according to the cold water flow difference comprises:
[0014] The cold water flow difference is substituted into a preset proportional-integral control function to obtain the target opening of the water valve.
[0015] In one embodiment, after the step of determining the cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow, the method further comprises:
[0016] Determining whether the absolute value of the cold water flow difference is greater than a preset flow difference;
[0017] If it is greater than, the steps are executed: determining the target opening of the water valve according to the cold water flow difference;
[0018] If it is less than or equal to, the opening of the water valve is kept unchanged.
[0019] In one embodiment, before the step of controlling the operation of the water valve based on the target opening, the method further includes:
[0020] Determining an opening adjustment amplitude according to the target opening and the current opening of the water valve;
[0021] If the absolute value of the opening adjustment amplitude is smaller than the first adjustment amplitude, determining an updated target opening according to the current opening and the first adjustment amplitude;
[0022] If the absolute value of the opening adjustment amplitude is greater than the second adjustment amplitude, determining an updated target opening according to the current opening and the second adjustment amplitude;
[0023] The first adjustment amplitude is smaller than the second adjustment amplitude, and the updated target opening is used to control the operation of the water valve.
[0024] In one embodiment, after the step of controlling the operation of the water valve based on the target opening, the method further includes:
[0025] After the preset time, return to the execution step: determine the cold water flow difference based on the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow, until the temperature difference between the water outlet temperature of the water dispenser and the target water outlet temperature is lower than the preset temperature difference threshold.
[0026] In addition, the present application also provides a water dispenser control device, the water dispenser control device at least comprising:
[0027] A flow difference determination module, used to determine the cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow;
[0028] an opening degree determination module, used to determine a target opening degree of a water valve according to the cold water flow difference, wherein the water valve is located on the cold water passage of the water dispenser and is used to adjust the cold water flow;
[0029] A control operation module is used to control the operation of the water valve based on the target opening degree to reduce the temperature difference between the outlet water temperature of the water dispenser and the target outlet water temperature.
[0030] In addition, the present application also provides a water dispenser, which includes at least a water valve and a control unit, and the control unit includes at least: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the water dispenser temperature control method applied to the water dispenser as described above.
[0031] In one embodiment, the water dispenser also includes a cold water passage and a hot water passage, the cold water passage and the hot water passage are respectively provided with a temperature sensor, a water pump and a flow meter, the temperature sensor and the flow meter are respectively connected to the control unit, and the water valve is located on the cold water passage of the water dispenser and is used to adjust the cold water flow.
[0032] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the water dispenser temperature control method as described above are implemented.
[0033] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the water dispenser temperature control method as described above.
[0034] The present application provides a water dispenser temperature control method, which is applied to the water dispenser. The water dispenser includes a water valve. The water dispenser temperature control method includes: determining a cold water flow difference according to a target water outlet temperature, a current cold water temperature, a current cold water flow rate, a current hot water temperature and a current hot water flow rate of the water dispenser, and then determining a target opening of the water valve according to the cold water flow difference, wherein the water valve is located on the cold water passage of the water dispenser and is used to adjust the cold water flow rate. Finally, the water valve is controlled to operate based on the target opening to reduce the temperature difference between the water outlet temperature of the water dispenser and the target water outlet temperature. The technical solution of the present application adjusts the cold water flow rate by adjusting the opening of the water valve, so that the cold water flow rate in the cold and hot water mixture changes, thereby realizing the adjustment of the water outlet temperature, overcoming the defect of unstable water outlet temperature caused by different water flow rates in different application scenarios, making the water outlet temperature of the water dispenser closer to the target water outlet temperature, and improving the user's drinking experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0037] Figure 1 This is a flow chart of an embodiment of a water dispenser temperature control method applied to a water dispenser in an embodiment of the present application;
[0038] Figure 2 This is a schematic diagram of the temperature control water circuit principle of a water dispenser in an embodiment of the present application;
[0039] Figure 3 A schematic diagram of a feasible water dispenser temperature control process in an embodiment of the present application;
[0040] Figure 4 This is a schematic diagram of the structure of the water dispenser control device in the embodiment of the present application;
[0041] Figure 5 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the water dispenser temperature control method in the embodiment of the present application.
[0042] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0043] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of this application.
[0044] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0045] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0046] The water dispenser in the embodiment of the present application can be a water dispenser with both water purification and heating functions. This is a water drinking device that integrates water purification and heating functions. Its advantages mainly include convenience, health and safety, energy saving and environmental protection, versatility, beauty and practicality. In actual use, when the water dispenser is used in different scenarios such as high-rise buildings, villas, and large flats, when the user uses the warm water gear, if the temperature of the warm water may be much lower than the set value, it will affect the user experience; if the temperature of the warm water is much higher than the set value, it will cause scalding to the user. In addition, the warm water gear attached to the mainstream products in the industry is generally achieved by directly mixing the cold and hot water ends to output water. Since the mixing end is at the end of the faucet, it is impossible to obtain the mixed water temperature for feedback adjustment, resulting in unstable water outlet temperature; and in a system where the water pump speed cannot be adjusted, the water flow rate of the cold and hot ends cannot be adjusted according to the actual situation. Because the water inlet temperature of the cold water end is determined by the use environment, the mixed warm water of the high temperature section cannot be mixed in a low temperature environment, and the adjustable range is relatively small.
[0047] In order to overcome the above technical defects, the embodiment of the present application provides a water dispenser temperature control method applied to a water dispenser, wherein the water dispenser includes a water valve, Figure 1 , Figure 1 This is a flow chart of an embodiment of the water dispenser temperature control method of the present application. The water dispenser temperature control method includes:
[0048] Step S10, determining the cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow;
[0049] It should be noted that the water dispenser can be a water purifier (i.e., an all-in-one machine with functions such as water purification and hot water). The water valve can be a proportional regulating valve, which is arranged on the cold water passage to adjust the cold water flow (i.e., the water inlet flow of the water dispenser). Flow meters and temperature sensors can also be arranged on the cold water passage and the hot water passage to collect the corresponding water temperature and water flow. The target water outlet temperature set by the user can also be obtained through the control mainboard (or control unit) of the water dispenser through communication or cloud.
[0050] The water dispenser of the embodiment of the present application also outputs warm water that meets the target water outlet temperature by mixing cold and hot water, wherein the target water outlet temperature can be set by the user, the current cold water temperature and the current hot water temperature are collected by the temperature sensor, and the current cold water flow and the current hot water flow are collected by the flow meter. The cold water flow difference represents the difference between the current cold water flow and the target cold water flow, and the target cold water flow represents the cold water flow required to make the current water outlet temperature of the water dispenser meet the target water outlet temperature.
[0051] Step S20, determining a target opening of a water valve according to the cold water flow difference, wherein the water valve is located on the cold water passage of the water dispenser and is used to adjust the cold water flow;
[0052] The opening degree (i.e., the opening angle) of the water valve determines the water flow rate through the water valve. It is understandable that the larger the opening degree of the water valve, the larger the cold water flow rate. After determining the current cold water flow difference, the corresponding target opening degree can be determined to adjust the current cold water flow rate so that the cold water flow difference approaches 0, thereby making the temperature of the warm water output by the water dispenser approach the target water outlet temperature.
[0053] When determining the target opening of the water valve according to the cold water flow difference, it can be based on the PID (Proportional Integral Derivative) control formula commonly used in the current control field, or determined by the corresponding relationship between the cold water flow difference and the target opening measured by engineers through experiments or other means.
[0054] It should be noted that in a system where the speed of the hot water pump is not adjustable or has a narrow adjustable range, the maximum temperature in the hot tank of the hot water circuit generally does not exceed 99°C and the water outlet flow rate is relatively stable, while the water inlet temperature and pressure of the cold water circuit are related to the area and environment where the water dispenser is used, and the outlet temperature and flow rate of the cold water after the pump cannot be guaranteed. This will result in a low temperature of the mixed warm water under certain extreme conditions, when the inlet water temperature is low or the inlet water pressure is high. Since the hot water circuit is controlled by the hot tank through the hot water pump to control the water outlet, the hot water outlet flow rate and temperature are within the design range, so the water outlet flow rate at the cold water end needs to be controlled in the embodiment of the present application, with the cold water flow rate as the control target. Compared with the method of adjusting the cold water flow rate based on the water pump, the water valve adjustment method can achieve a larger and more accurate temperature range control.
[0055] The water valve may be a proportional control valve, which is a device for controlling fluid flow and is widely used in industrial automation control systems. The water dispenser temperature control method provided in the embodiment of the present application controls the water flow rate of the cold water channel by adjusting the opening of the proportional control valve, and effectively controls the water outlet temperature in conjunction with a corresponding control algorithm, thereby improving the accuracy of the water outlet temperature and user experience.
[0056] Step S30, controlling the operation of the water valve based on the target opening degree to reduce the temperature difference between the outlet water temperature of the water dispenser and the target outlet water temperature.
[0057] After determining the target opening, the water valve opening value can be adjusted to the target opening by sending a control instruction to the water valve. Because the target opening value corresponds to the cold water flow difference, the current cold water flow of the water dispenser can be made to tend towards the target cold water flow, thereby making the water outlet temperature of the water dispenser as close to the target water outlet temperature as possible, reducing the temperature difference between the water outlet temperature and the target water outlet temperature, and improving the user experience.
[0058] For example, the temperature control water circuit of the water dispenser in the embodiment of the present application is as follows: Figure 2 As shown in the figure, a (temperature) sensor, a cold water pump, a proportional control valve and a flow meter are arranged in sequence on the cold water flow path, and a (temperature) sensor, a hot water pump and a flow meter are arranged on the hot water flow path. After the cold water and hot water are mixed into warm water, they are output to the outside through the faucet. Among them, the control motherboard (or control unit) of the water dispenser can obtain the cold water temperature T through the sensor of the cold water path. 冷 , obtain the current hot water temperature T through the sensor in the hot water path 热 , and obtain the real-time cold water flow rate q through the hot water flow meter and cold water flow meter 冷 and hot water flow q 热 In addition, the control mainboard obtains the target water outlet temperature T set by the user through communication or cloud. 目标 .
[0059] The embodiment of the present application provides a water dispenser temperature control method, which is applied to the water dispenser. The water dispenser includes a water valve. The water dispenser temperature control method includes: determining a cold water flow difference according to a target water outlet temperature, a current cold water temperature, a current cold water flow rate, a current hot water temperature and a current hot water flow rate of the water dispenser, and then determining a target opening of the water valve according to the cold water flow difference, wherein the water valve is located on the cold water passage of the water dispenser and is used to adjust the cold water flow rate. Finally, the water valve is controlled to operate based on the target opening to reduce the temperature difference between the water outlet temperature of the water dispenser and the target water outlet temperature. The technical solution of the present application adjusts the cold water flow rate by adjusting the opening of the water valve, so that the cold water flow rate in the cold and hot water mixture changes, thereby realizing the adjustment of the water outlet temperature, overcoming the defect of unstable water outlet temperature caused by different water flow rates in different application scenarios, making the water outlet temperature of the water dispenser closer to the target water outlet temperature, and improving the user's drinking experience.
[0060] In a feasible embodiment, the step of determining the cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow may include:
[0061] Step S11, collecting the target water outlet temperature, current cold water temperature, current cold water flow, current hot water temperature and current hot water flow of the water dispenser;
[0062] Among them, the target water outlet temperature is set by the user, the current cold water temperature and the current hot water temperature are collected by temperature sensors installed in the cold water passage and the hot water passage, and the current cold water flow and the current hot water flow are collected by flow meters installed in the cold water passage and the hot water passage.
[0063] Step S12, substituting the target water outlet temperature, current cold water temperature, current hot water temperature and current hot water flow rate of the water dispenser into a preset heat exchange function to obtain the target cold water flow rate of the water dispenser;
[0064] Step S13, obtaining a cold water flow difference according to the target cold water flow and the current cold water flow.
[0065] In the water dispenser temperature control method of the embodiment of the present application, the target cold water flow rate is used as the control target, and the difference between the target cold water flow rate and the actual cold water flow rate (i.e., the cold water flow rate difference) is subjected to PID control. Specifically, the control mainboard implements different flow control by applying different opening instructions to the water valve (such as the proportional control valve), thereby achieving constant temperature control of the warm water outlet temperature.
[0066] Furthermore, when determining the target cold water flow rate of the water dispenser, it is necessary to combine the target water outlet temperature, current cold water temperature, current cold water flow rate, current hot water temperature, and current hot water flow rate of the water dispenser. This is because the target cold water flow rate is the target control amount that can make the water outlet temperature of the water dispenser closer to the target water outlet temperature. In order to determine the target control amount, it is necessary to base it on the principle of heat exchange between cold and hot water inside the water dispenser.
[0067] For example, the heat energy formula can be expressed as: Q = c*m*Δt;
[0068] Among them, Q is heat, c is specific heat capacity, m is mass, and Δt is the amplitude of temperature change.
[0069] In the process of mixing cold water and hot water, cold water absorbs heat and hot water releases heat. The control target is the temperature of the mixed water to be the target outlet water temperature T. 目标 According to the law of conservation of energy, the amount of heat absorbed by cold water is equal to the amount of heat released by hot water. The mathematical expression is as follows:
[0070] c*m 冷 *(T 目标 -T 冷 )=c*m 热 *(T 热 -T 目标 );
[0071] Among them, m 冷 is the cold water quality, T 冷 is the cold water temperature before absorbing heat, m 热 is the hot water quality, T 热 It is the hot water temperature before heat release.
[0072] In the process of stable water discharge from the water dispenser, it can be determined that m = q*t, where m is the water discharge instruction, q is the water discharge flow rate, and t is the water discharge time, so the above formula can be converted to:
[0073] q 冷 *(T 目标 -T 冷 )=q 热 *(T 热 -T 目标 );
[0074] According to this formula, the target water outlet temperature T 目标 (user setting), current cold water temperature T 冷 (temperature sensor collection), current hot water flow q 热 (collected by flow meter), current hot water temperature T 热 (temperature sensor collection) and other parameters to calculate the target cold water flow
[0075] Finally calculate the target cold water flow With the current cold water flow q 冷 The difference between them is used to obtain the cold water flow difference Δq, which is used for subsequent feedback control with the cold water flow as the control target.
[0076] Further, in a feasible embodiment, the step of determining the target opening of the water valve according to the cold water flow difference may include:
[0077] Step S21, substituting the cold water flow difference into a preset proportional-integral control function to obtain a target opening of the water valve.
[0078] Specifically, the proportional control valve can adjust the cold water flow by adjusting its own opening angle. During the control process, the current opening of the proportional control valve is used as the target control quantity, and the cold water flow difference Δq is used as the input quantity to perform difference control.
[0079] For example, the control formula can be expressed as:
[0080]
[0081] The above control formula is a commonly used PID control formula in the control field, where K p 、T t 、T D The control parameters are obtained by engineers in advance by testing the water dispenser in the laboratory and are preset in the control unit of the water dispenser.
[0082] In a feasible embodiment, the control unit of the water dispenser starts to adjust the opening of the proportional control valve after the cold and hot water are mixed, and performs control and adjustment at a preset frequency, and the time interval between each two executions is Δg.
[0083] Further, in a feasible embodiment, after the step of determining the cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow, the method may further include:
[0084] Step S41, determining whether the absolute value of the cold water flow difference is greater than a preset flow difference;
[0085] Step S15: if it is greater than, then execute step S20: determine the target opening of the water valve according to the cold water flow difference;
[0086] Step S16: if it is less than or equal to, keep the opening of the water valve unchanged.
[0087] Combined with the content of the above embodiment, after the water dispenser system is stable in water output, the current theoretical target cold water flow rate is first determined. According to the actual cold water flow collected And compare them to obtain the cold water flow difference Δq at this moment.
[0088] Furthermore, in order to avoid the water dispenser system from frequently adjusting the opening of the proportional control valve, the hot water flow difference Δq obtained above can be compared with the preset flow difference, which can also be understood as the minimum adjustment flow value of the proportional control valve. The settings can be customized according to the actual situation.
[0089] For example, if Then the next step of temperature adjustment can be carried out, the opening of the proportional control valve is re-determined, and step S20 is executed. There is no need to perform temperature adjustment, the opening of the proportional control valve is kept unchanged, step S20 and step S30 are skipped, and the process returns to step S10 after waiting for a preset time interval.
[0090] In a feasible embodiment, before the step of controlling the operation of the water valve based on the target opening, the method may further include:
[0091] Step A10, determining the opening adjustment amplitude according to the target opening and the current opening of the water valve;
[0092] Step A20, if the absolute value of the opening adjustment amplitude is less than the first adjustment amplitude, determining an updated target opening according to the current opening and the first adjustment amplitude;
[0093] Step A30, if the absolute value of the opening adjustment amplitude is greater than the second adjustment amplitude, determining an updated target opening according to the current opening and the second adjustment amplitude;
[0094] The first adjustment amplitude is smaller than the second adjustment amplitude, and the updated target opening is used to control the operation of the water valve.
[0095] After determining the target opening of the water valve of the water dispenser, the difference between the two can be calculated in combination with the current opening of the water valve, thereby determining the opening adjustment amplitude that needs to be adjusted. It can be understood that during the adjustment process of the water valve opening, the system pre-sets the minimum value (i.e., the first adjustment amplitude) and the maximum value (i.e., the second adjustment amplitude) of the single change of the opening, so the water valve opening adjustment amplitude cannot exceed the range corresponding to the minimum value and the maximum value of the single change of the opening.
[0096] Therefore, after determining the opening adjustment amplitude △V, if the absolute value of △V is between [V min ,V max ], the water valve opening is adjusted based on △V, so that the water valve opening after adjustment is the target opening. If △V is less than V min , then based on Vmin The opening of the water valve is adjusted according to the value of △V. If △V is positive, the current opening is added to V. min Get the updated target opening. If △V is negative, subtract V from the current opening. min Get the updated target opening. Similarly, if △V is greater than V max , then based on V max The opening of the water valve is adjusted according to the value of △V. If △V is positive, the current opening is added to V. max Get the updated target opening. If △V is negative, subtract V from the current opening. max Get the updated target opening.
[0097] Finally, the operation of the water valve (eg, proportional control valve) is controlled based on the updated target opening, so that the cold water flow rate of the water dispenser approaches the target cold water flow rate.
[0098] In a feasible embodiment, after the step of controlling the operation of the water valve based on the target opening, the method further includes:
[0099] Step S40, after the preset time, returns to the execution step: determine the cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow, until the temperature difference between the water outlet temperature of the water dispenser and the target water outlet temperature is lower than the preset temperature difference threshold.
[0100] In the water dispenser temperature control method provided in the embodiment of the present application, the control unit of the water dispenser can cyclically execute steps S10 to S30, that is, after step S30, after a preset time, it returns to step S10 again, and then executes steps S20 and S30 in sequence, so that the difference between the current cold water flow rate and the target cold water flow rate becomes smaller and smaller, and at the same time, the temperature difference between the current water outlet temperature of the water dispenser and the target water outlet temperature also becomes smaller and smaller, thereby improving the water outlet temperature control accuracy of the water dispenser and the user's water use experience. Among them, the preset temperature difference threshold can be set according to actual needs. If the water outlet temperature accuracy requirement is relatively high, the preset temperature difference threshold can be set smaller. If the water outlet temperature accuracy requirement is relatively low, the preset temperature difference threshold can be set larger. The minimum preset temperature difference threshold can be set to 0.
[0101] For ease of understanding, combined with the contents of the aforementioned application embodiments, a feasible water dispenser temperature control process is as follows: Figure 3 First, after the user sets the water outlet temperature, if the user is taking warm water, the control unit of the water dispenser calculates the theoretical target cold water flow rate based on the formula Then use the flow meter to obtain the actual cold water flow Determine the difference Δq between the two and judge whether the difference satisfies the temperature adjustment condition Δq> If not, it remains unchanged. If so, the difference Δq is substituted into the preset PID temperature control formula to calculate the current opening adjustment amplitude △V value. Based on the preset range of the opening adjustment amplitude (for example, V min ,V max ) After limiting the opening adjustment amplitude △V, the current opening of the water valve is adjusted to obtain the target opening, and finally the water valve is controlled based on the target opening to achieve the adjustment of the cold water flow.
[0102] In the water dispenser temperature control method of the embodiment of the present application, the current cold water outlet flow rate is continuously corrected according to the difference between the actual cold water flow rate and the target hot water flow rate value; the cold water flow rate difference is made to tend to 0. The final effect achieved is that the actual water outlet temperature continuously approaches the warm water outlet temperature set by the user, thereby achieving the purpose of precise temperature control.
[0103] The present application also provides a water dispenser temperature control device, which is applied to a water dispenser. Figure 4 , the water dispenser temperature control device includes:
[0104] A flow difference determination module 10, for determining a cold water flow difference according to a target water outlet temperature of the water dispenser, a current cold water temperature, a current cold water flow, a current hot water temperature and a current hot water flow;
[0105] An opening determination module 20, for determining a target opening of a water valve according to the cold water flow difference, wherein the water valve is located on the cold water passage of the water dispenser and is used to adjust the cold water flow;
[0106] The control operation module 30 is used to control the operation of the water valve based on the target opening degree to reduce the temperature difference between the outlet water temperature of the water dispenser and the target outlet water temperature.
[0107] In one embodiment, the flow difference determination module 10 is further used for:
[0108] Collecting the target water outlet temperature, current cold water temperature, current cold water flow, current hot water temperature and current hot water flow of the water dispenser;
[0109] Substituting the target water outlet temperature, current cold water temperature, current hot water temperature and current hot water flow rate of the water dispenser into a preset heat exchange function to obtain the target cold water flow rate of the water dispenser;
[0110] A cold water flow difference is obtained according to the target cold water flow and the current cold water flow.
[0111] In one embodiment, the opening degree determination module 20 is further used for:
[0112] The cold water flow difference is substituted into a preset proportional-integral control function to obtain the target opening of the water valve.
[0113] In one embodiment, the water dispenser temperature control device further includes a judgment module, which is used to:
[0114] Determining whether the absolute value of the cold water flow difference is greater than a preset flow difference;
[0115] If it is greater than, the steps are executed: determining the target opening of the water valve according to the cold water flow difference;
[0116] If it is less than or equal to, the opening of the water valve is kept unchanged.
[0117] In one embodiment, the water dispenser temperature control device further includes an amplitude limiting module, which is used to:
[0118] Determining an opening adjustment amplitude according to the target opening and the current opening of the water valve;
[0119] If the absolute value of the opening adjustment amplitude is smaller than the first adjustment amplitude, determining an updated target opening according to the current opening and the first adjustment amplitude;
[0120] If the absolute value of the opening adjustment amplitude is greater than the second adjustment amplitude, determining an updated target opening according to the current opening and the second adjustment amplitude;
[0121] The first adjustment amplitude is smaller than the second adjustment amplitude, and the updated target opening is used to control the operation of the water valve.
[0122] In one embodiment, the water dispenser temperature control device further includes a circulation module, and the circulation module is used to:
[0123] After the preset time, return to the execution step: determine the cold water flow difference based on the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow, until the temperature difference between the water outlet temperature of the water dispenser and the target water outlet temperature is lower than the preset temperature difference threshold.
[0124] The temperature control device for a water dispenser provided by the present application adopts the temperature control method for a water dispenser in the above embodiment, and can solve the technical problem of poor control accuracy of the water outlet temperature of the current water dispenser. Compared with the prior art, the beneficial effects of the temperature control device for a water dispenser provided by the present application are the same as the beneficial effects of the temperature control method for a water dispenser provided by the above embodiment, and other technical features of the temperature control device for a water dispenser are the same as those disclosed in the method of the previous embodiment, and will not be described in detail here.
[0125] An embodiment of the present application also provides a water dispenser, which includes at least a water valve and a control unit, and the control unit includes at least: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the water dispenser temperature control method in the above embodiment.
[0126] In a feasible embodiment, the water dispenser also includes a cold water passage and a hot water passage, and the cold water passage and the hot water passage are respectively provided with a temperature sensor, a water pump and a flow meter, and the temperature sensor and the flow meter are respectively connected to the control unit to transmit the collected temperature information and flow information to the control unit. The water valve is located on the cold water passage of the water dispenser and is used to adjust the cold water flow rate. The cold water flow rate can be controlled by different opening angles.
[0127] Exemplarily, the structure of the water dispenser is as follows: Figure 2 As shown, the cold water passage is provided with a (temperature) sensor, a cold water pump, a proportional control valve and a flow meter in sequence on the cold water flow path, and a (temperature) sensor, a hot water pump and a flow meter are provided on the hot water flow path. The cold water and hot water are mixed into warm water and then output to the outside through the faucet. Among them, the control mainboard of the water dispenser can obtain the cold water temperature through the sensor of the cold water passage, obtain the current hot water temperature through the sensor of the hot water passage, and obtain the real-time cold water flow and hot water flow through the hot water flow meter and the cold water flow meter. In addition, the control mainboard obtains the target water outlet temperature set by the user through communication or the cloud.
[0128] Reference below Figure 5 , which shows a schematic structural diagram of a control unit suitable for implementing an embodiment of the present application. Figure 5 The control unit shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0129] like Figure 5As shown, the control unit may include a processing device 101 (e.g., a central processing unit, a graphics processor, etc.), which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 102 or a program loaded from a storage device 103 to a random access memory (RAM: Random Access Memory) 104. In RAM104, various programs and data required for the operation of the control unit are also stored. The processing device 101, ROM102, and RAM104 are connected to each other via a bus 105. An input / output (I / O) interface 106 is also connected to the bus. Typically, the following systems may be connected to the I / O interface 106: an input device 107 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 108 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 103 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 109. The communication device 109 may allow the control unit to communicate with other devices wirelessly or by wire to exchange data. Although the figures show a control unit with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.
[0130] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 103, or installed from a ROM 102. When the computer program is executed by the processing device 101, the above-mentioned functions defined in the method of the embodiment of the present application are executed.
[0131] The water dispenser provided in the embodiment of the present application adopts the water dispenser temperature control method in the above embodiment, which can solve the technical problem of poor water outlet temperature control accuracy of the current water dispenser. Compared with the prior art, the beneficial effects of the water dispenser provided in the embodiment of the present application are the same as the beneficial effects of the water dispenser temperature control method provided in the above embodiment, and other technical features in the water dispenser are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0132] It should be understood that each part of the embodiments of the present application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0133] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present application, which should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application shall be based on the protection scope of the above claims.
[0134] An embodiment of the present application also provides a computer-readable storage medium storing a computer program executable on a processor, wherein the computer program is used to execute the water dispenser temperature control method in the above embodiment.
[0135] The computer-readable storage medium provided in the embodiment of the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including, but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0136] The computer-readable storage medium may be included in the water dispenser; or may exist independently without being assembled into the water dispenser.
[0137] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the water dispenser, the water dispenser: determines the cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow; determines the target opening of the water valve according to the cold water flow difference, wherein the water valve is located on the cold water passage of the water dispenser and is used to adjust the cold water flow; controls the operation of the water valve based on the target opening to reduce the temperature difference between the water outlet temperature of the water dispenser and the target water outlet temperature.
[0138] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0139] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0140] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0141] The computer-readable storage medium provided in the embodiment of the present application stores computer-readable program instructions for executing the above-mentioned water dispenser temperature control method, which can solve the technical problem of poor water outlet temperature control accuracy of the current water dispenser. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the embodiment of the present application are the same as the beneficial effects of the water dispenser temperature control method provided in the above-mentioned embodiment, and will not be described in detail here.
[0142] An embodiment of the present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned water dispenser temperature control method when the computer program is executed by a processor.
[0143] The computer program product provided in the embodiment of the present application can solve the technical problem of poor control accuracy of the water outlet temperature of the current water dispenser. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiment of the present application are the same as the beneficial effects of the water dispenser temperature control method provided in the above embodiment, which will not be repeated here.
[0144] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. A water dispenser temperature control method, characterized in that: Applied to a water dispenser, the water dispenser includes a water valve, and the water dispenser temperature control method includes: Determining a cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow; Determining the target opening of the water valve according to the cold water flow difference, wherein the water valve is located on the cold water passage of the water dispenser and is used to adjust the cold water flow; The water valve is controlled to operate based on the target opening degree to reduce the temperature difference between the outlet water temperature of the water dispenser and the target outlet water temperature.
2. The water dispenser temperature control method according to claim 1, characterized in that: The step of determining the cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow comprises: Collecting the target water outlet temperature, current cold water temperature, current cold water flow, current hot water temperature and current hot water flow of the water dispenser; Substituting the target water outlet temperature, current cold water temperature, current hot water temperature and current hot water flow rate of the water dispenser into a preset heat exchange function to obtain the target cold water flow rate of the water dispenser; A cold water flow difference is obtained according to the target cold water flow and the current cold water flow.
3. The water dispenser temperature control method according to claim 1, characterized in that: The step of determining the target opening of the water valve according to the cold water flow difference comprises: The cold water flow difference is substituted into a preset proportional-integral control function to obtain the target opening of the water valve.
4. The water dispenser temperature control method according to claim 1, characterized in that: After the step of determining the cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow, the method further includes: Determining whether the absolute value of the cold water flow difference is greater than a preset flow difference; If it is greater than, the steps are executed: determining the target opening of the water valve according to the cold water flow difference; If it is less than or equal to, the opening of the water valve is kept unchanged.
5. The water dispenser temperature control method according to claim 1, characterized in that: Before the step of controlling the operation of the water valve based on the target opening, the method further includes: Determining an opening adjustment amplitude according to the target opening and the current opening of the water valve; If the absolute value of the opening adjustment amplitude is smaller than the first adjustment amplitude, determining an updated target opening according to the current opening and the first adjustment amplitude; If the absolute value of the opening adjustment amplitude is greater than the second adjustment amplitude, determining an updated target opening according to the current opening and the second adjustment amplitude; The first adjustment amplitude is smaller than the second adjustment amplitude, and the updated target opening is used to control the operation of the water valve.
6. The water dispenser temperature control method according to any one of claims 1 to 5, characterized in that: After the step of controlling the operation of the water valve based on the target opening, the method further includes: After the preset time, return to the execution step: determine the cold water flow difference based on the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow, until the temperature difference between the water outlet temperature of the water dispenser and the target water outlet temperature is lower than the preset temperature difference threshold.
7. A water dispenser control device, characterized in that: The water dispenser control device at least comprises: A flow difference determination module, used to determine the cold water flow difference according to the target water outlet temperature of the water dispenser, the current cold water temperature, the current cold water flow, the current hot water temperature and the current hot water flow; an opening degree determination module, used to determine a target opening degree of a water valve according to the cold water flow difference, wherein the water valve is located on the cold water passage of the water dispenser and is used to adjust the cold water flow; A control operation module is used to control the operation of the water valve based on the target opening degree to reduce the temperature difference between the outlet water temperature of the water dispenser and the target outlet water temperature.
8. A water dispenser, characterized in that: The water dispenser includes at least a water valve and a control unit, and the control unit includes at least: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the water dispenser temperature control method as described in any one of claims 1 to 6.
9. The water dispenser according to claim 8, characterized in that: The water dispenser also includes a cold water passage and a hot water passage, the cold water passage and the hot water passage are respectively provided with a temperature sensor, a water pump and a flow meter, the temperature sensor and the flow meter are respectively connected to the control unit, and the water valve is located on the cold water passage of the water dispenser and is used to adjust the cold water flow.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for implementing the water dispenser temperature control method, and the program for implementing the water dispenser temperature control method is executed by a processor to implement the steps of the water dispenser temperature control method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Water fountain capable of quickly and continuously providing cold boiled water
CN110710871A
Drinking-water platform and control method thereof
CN112361219A
Instant heating water dispenser, outlet water temperature control method and device thereof and storage medium
CN114711627A
Water drinking platform, control method and system thereof and storage medium
CN115956808A
Drinking water platform, temperature control method and system thereof and storage medium
CN116098461A