Water dispenser, control method and control device thereof and computer readable storage medium
By adopting a high and low power heating control method based on temperature difference in the water dispenser, the impact of existing water dispenser heating solutions on hardware life and excessive energy consumption is solved, and a longer relay life and a more efficient heating process are achieved.
Patent Information
- Application Number
- CN202510228378.5
- 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
The heating scheme of existing water dispensers has an impact on the hardware life and consumes too much energy, resulting in reduced relay service life and waste of electricity.
A water dispenser control method is adopted, by determining the temperature difference between the target heating temperature in the heat tank and the real-time temperature, high-power heating is used when the temperature difference is greater than the preset threshold, and low-power heating is used when the temperature difference is less than or equal to the threshold, and power control devices are used to control the power of the heating element.
It extends the service life of the relay, reduces power waste, and improves heating efficiency and stability of the outlet water temperature.
Smart Images

Figure CN119908590A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of water dispensers, and in particular to a water dispenser control method, a water dispenser control device, a water dispenser, and a computer-readable storage medium. Background Art
[0002] At present, water dispensers with heating functions usually use thermal relays to control heating. When the water temperature in the hot tank is lower than the preset insulation temperature, the heating element is controlled to heat at high power. When it is higher than the target heating temperature, the heating is stopped. Therefore, the water in the hot tank is repeatedly heated to form "thousands of boiling water". Moreover, since the life of the relay is usually limited, repeated starting and stopping of the relay during the insulation process will greatly reduce its service life. The high-power heating method also brings unnecessary waste of electricity.
[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 control method, a water dispenser control device, a water dispenser and a computer-readable storage medium, aiming to solve the technical problems that the current heating scheme of the water dispenser affects the hardware life and consumes too much energy.
[0005] To achieve the above object, the present application provides a water dispenser control method, which is applied to a water dispenser, wherein the water dispenser includes a hot tank and a power control device, the hot tank includes a heating element, and the power control device is connected to the heating element. The water dispenser control method includes:
[0006] Determine the temperature difference between the target heating temperature corresponding to the hot tank and the real-time temperature of the water in the hot tank;
[0007] When the temperature difference is greater than a preset temperature difference threshold, heating the water in the hot tank by the heating element based on a first heating power;
[0008] When the temperature difference is less than or equal to a preset temperature difference threshold, the power control device controls the heating element to heat the water in the hot tank based on a second heating power, wherein the first heating power is greater than the second heating power.
[0009] In one embodiment, the step of controlling the heating element to heat the water in the hot tank based on the second heating power through the power control device includes:
[0010] Transmitting a PWM signal corresponding to the second heating power to the power control device, and generating a control signal corresponding to the PWM signal through the power control device;
[0011] The control signal is transmitted to the heating element through the power control device to control the heating element to operate based on the second heating power.
[0012] In one embodiment, before the step of transmitting the PWM signal corresponding to the second heating power to the power control device, the method further includes:
[0013] Based on a mapping relationship between a preset temperature difference and a second heating power, the second heating power corresponding to the temperature difference is determined, wherein the temperature difference and the second heating power are in a positive correlation.
[0014] In one embodiment, the water dispenser further comprises a relay, wherein the relay is connected to the heating element, and the step of heating the water in the hot tank based on the first heating power by the heating element comprises:
[0015] placing the relay in a connected state, transmitting a control signal corresponding to the first heating power to the heating element, so as to control the heating element to operate based on the first heating power;
[0016] When the temperature difference between the target heating temperature and the real-time temperature of the water in the hot tank is less than or equal to a preset temperature difference threshold, the relay is set to an off state.
[0017] In one embodiment, the water dispenser further includes a water pump, and the method further includes:
[0018] 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;
[0019] Determining a target duty cycle of the water pump according to the cold water flow difference, wherein the water pump is located on the cold water passage of the water dispenser and is used to adjust the cold water flow;
[0020] The water pump is controlled to operate based on the target duty cycle to reduce the temperature difference between the outlet water temperature of the water dispenser and the target outlet water temperature.
[0021] 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:
[0022] 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;
[0023] 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;
[0024] A cold water flow difference is obtained according to the target cold water flow and the current cold water flow.
[0025] In addition, the present application also provides a water dispenser control device, which is applied to a water dispenser, and the water dispenser control device at least includes:
[0026] A temperature difference determination module, used to determine the temperature difference between the target heating temperature corresponding to the hot tank and the real-time temperature of the water in the hot tank;
[0027] A high-power heating module, used for heating the water in the hot tank based on a first heating power through the heating element when the temperature difference is greater than a preset temperature difference threshold;
[0028] A low-power heating module is used to control the heating element to heat the water in the hot tank based on a second heating power through a power control device when the temperature difference is less than or equal to a preset temperature difference threshold, wherein the first heating power is greater than the second heating power.
[0029] In addition, the present application also provides a water dispenser, which includes at least a hot tank, a power control device and a control unit, the hot tank includes a heating element, the power control device is connected to the heating element, and the control unit includes at least: a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program is configured to implement the steps of the water dispenser control method applied to the water dispenser as described above.
[0030] In one embodiment, the water dispenser also includes a relay, a cold water passage and a hot water passage, the relay is connected to the heating element, 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.
[0031] 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 control method as described above are implemented.
[0032] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, including a computer program, which implements the steps of the water dispenser control method as described above when executed by a processor.
[0033] The present application provides a water dispenser control method, which is applied to the water dispenser, wherein the water dispenser includes a hot tank and a power control device, the hot tank includes a heating element, the power control device is connected to the heating element, and the water dispenser control method includes: first determining the temperature difference between the target heating temperature corresponding to the hot tank and the real-time temperature of the water in the hot tank, when the temperature difference is greater than a preset temperature difference threshold, heating the water in the hot tank based on a first heating power by the heating element, and when the temperature difference is less than or equal to the preset temperature difference threshold, controlling the heating element to heat the water in the hot tank based on a second heating power by the power control device, wherein the first heating power is greater than the second heating power. In the technical solution of the present application, when the real-time temperature in the hot tank differs greatly from the target heating temperature, a higher first heating power is used for rapid heating, so that the water in the tank is quickly heated to near the target heating temperature, and when the real-time temperature of the water in the tank is close to the target heating temperature, the power control device is used to control the heating element to perform low-power heating, which can avoid frequent starting and stopping of the relay to reduce the service life of the relay after the real-time temperature is close to the target heating temperature, and is more energy-efficient than the continuous high-power heating method. On the other hand, using a power control device for low-power heating when the water in the tank is close to the target heating temperature can also avoid the generation of a large number of bubbles in the hot tank, which affects the accuracy of water flow detection and the mixing water temperature control accuracy of the water dispenser. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] 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.
[0035] 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.
[0036] Figure 1 It is a flow chart of an embodiment of a water dispenser control method applied to a water dispenser in an embodiment of the present application;
[0037] 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;
[0038] Figure 3 A schematic diagram of a feasible water dispenser control process in an embodiment of the present application;
[0039] Figure 4 This is a schematic diagram of the structure of the water dispenser control device in the embodiment of the present application;
[0040] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the water dispenser control method in the embodiment of the present application.
[0041] 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
[0042] 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.
[0043] 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.
[0044] 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.
[0045] 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, and beautiful and practical features. At present, mainstream water dispenser with both water purification and heating products generally have problems such as excessive power consumption for heating and unstable water outlet temperature at the warm water level, which cannot meet the user's usage preferences. Specifically, the industry generally adopts a thermal relay method for high-power heating for hot tank heating. The heating starts when the temperature is lower than the insulation temperature point, and stops when the temperature is higher than the target heating temperature point. Therefore, the hot tank is repeatedly heated to form "thousands of boiling water". Since the life of the relay is limited, multiple starts and stops of the relay will greatly reduce its life. In addition, the warm water level attached to the product is generally achieved by directly mixing cold and hot water to output water. Since it is impossible to obtain real-time data such as temperature and flow for feedback adjustment, the stability of the water outlet temperature is insufficient.
[0046] In order to overcome the above technical defects, the embodiment of the present application provides a water dispenser control method applied to a water dispenser, wherein the water dispenser includes a hot tank and a power control device, the hot tank includes a heating element, the power control device is connected to the heating element, and the water dispenser includes a hot tank and a power control device. Figure 1 , Figure 1 This is a flow chart of an embodiment of the water dispenser control method of the present application. The water dispenser control method includes:
[0047] Step S10, determining the temperature difference between the target heating temperature corresponding to the hot tank and the real-time temperature of the water in the hot tank;
[0048] Among them, the water dispenser can be a water purifier (i.e., an all-in-one machine with functions such as water purification and hot water), and the hot tank is used to store water before and after heating. Specifically, the hot tank heating system can use a relay method for high-power heating, which has the advantages of fast response speed, high reliability, and overload protection. At the same time, there are defects such as switch capacity limitation, poor repetitive performance, and unstable starting current. In addition, the water dispenser can also include a cold water passage and a hot water passage, and finally mix the cold and hot water to output warm water through the faucet. Flow meters and temperature sensors can also be set 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 motherboard (or control unit) of the water dispenser through communication or cloud.
[0049] It should be noted that a temperature sensor may also be provided in the hot tank to collect the real-time temperature of the water in the hot tank. The target heating temperature of the hot tank is usually a default value preset by the system. For example, the target heating temperature may be between 90°C and 100°C. The water temperature output by the hot tank is relatively high, so as to be mixed with the cold water in the cold water channel in a certain proportion, thereby outputting warm water that meets the target water outlet temperature.
[0050] Specifically, the temperature difference between the target heating temperature and the real-time temperature of the water body in the hot tank refers to the difference between the target heating temperature and the real-time temperature, which can be a positive or negative number. The larger the temperature difference, the farther the real-time temperature is from the target heating temperature. When the temperature difference is a positive number, the real-time temperature of the water body is lower than the target heating temperature and further heating is required. When the temperature difference is a negative number, the real-time temperature of the water body is higher than the target heating temperature.
[0051] Step S20, when the temperature difference is greater than a preset temperature difference threshold, heating the water in the hot tank by a heating element based on a first heating power;
[0052] It should be noted that the preset temperature difference threshold can be customized according to the actual working conditions of the water dispenser, for example, 10°C, that is, if the target heating temperature of the hot tank is H 目标 ℃, the real-time temperature is lower than (H 目标 -10)℃, the water in the hot tank can be heated at high power by a heating element (such as a heating wire, a heating rod or other heating components) based on the default first heating power. The first heating power is the default (or maximum) heating power of the water dispenser. In this way, the water dispenser can achieve rapid heating and temperature rise of the water in the tank when the real-time temperature is significantly different from the target heating temperature, thereby ensuring heating efficiency.
[0053] Step S30, when the temperature difference is less than or equal to a preset temperature difference threshold, the power control device controls the heating element to heat the water in the hot tank based on a second heating power, wherein the first heating power is greater than the second heating power.
[0054] In the process of the water in the tank rising from room temperature to the target heating temperature, after the water is quickly heated by the heating element at the first heating power in step S20, the real-time temperature will be close to the target heating temperature. In the case of a small temperature difference, in order to avoid excessive energy consumption caused by continuous high-power heating, and to maintain the temperature of the water in the tank near the target heating temperature while avoiding frequent start and stop of the relay that controls the heating element to heat with the first heating power, a power control device is introduced in the technical solution of the embodiment of the present application to achieve low-power heating. The power control device can be used to control the power input to the heating element, such as a thyristor, abbreviated as SCR (Silicon Controlled Rectifier), which is a high-power electrical component, also known as a thyristor. It has the advantages of small size, high efficiency, and long life. In the automatic control system, it can be used as a high-power drive device to realize the control of high-power equipment with a low-power control. And it is widely used in AC and DC motor speed control systems, power regulation systems and follow-up systems. When the thyristor controls the heating element in the water dispenser, the principle is to change the heating input voltage by adjusting the thyristor conduction angle, which can effectively adjust the heating power to control the temperature and reduce power consumption.
[0055] It can be understood that the second heating power is significantly lower than the first heating power, and that when the heating element operates based on the second heating power, it can adaptively change according to the real-time temperature, thereby ensuring that the real-time temperature of the water in the tank is not much different from the target heating temperature.
[0056] In a feasible embodiment, after the temperature difference between the target heating temperature corresponding to the hot tank and the real-time temperature of the water in the hot tank is equal to 0, the thyristor can continue to control the heating element to continue to heat the water at a relatively small power, thereby achieving a heat preservation effect. In another feasible embodiment, after the temperature difference between the target heating temperature corresponding to the hot tank and the real-time temperature of the water in the hot tank is equal to 0, the thyristor can also control the heating element to stop heating, wait for the temperature difference to reach a preset temperature difference threshold, and then restart, and continue to heat the water based on the second heating power, which can also prevent the frequent start and stop of the relay from affecting the service life of the relay.
[0057] An embodiment of the present application provides a water dispenser control method, which is applied to a water dispenser, wherein the water dispenser includes a hot tank and a power control device, the hot tank includes a heating element, and the power control device is connected to the heating element. The water dispenser control method includes: first determining the temperature difference between the target heating temperature corresponding to the hot tank and the real-time temperature of the water in the hot tank, when the temperature difference is greater than a preset temperature difference threshold, heating the water in the hot tank based on a first heating power by the heating element, and when the temperature difference is less than or equal to the preset temperature difference threshold, controlling the heating element to heat the water in the hot tank based on a second heating power by the power control device, wherein the first heating power is greater than the second heating power. In the technical solution of the present application, when the real-time temperature in the hot tank differs greatly from the target heating temperature, a higher first heating power is used for rapid heating, so that the water in the tank is quickly heated to near the target heating temperature. When the real-time temperature of the water in the tank is close to the target heating temperature, a power control device is used to control the heating element for low-power heating, which can avoid frequent starting and stopping of the relay to reduce the service life of the relay after the real-time temperature is close to the target heating temperature, and is more energy-efficient than continuous high-power heating. On the other hand, using a power control device for low-power heating when the water in the tank is close to the target heating temperature can also avoid the generation of a large number of bubbles in the hot tank, which affects the water flow detection accuracy and the mixing water temperature control accuracy of the water dispenser.
[0058] Further, in a feasible embodiment, the step of controlling the heating element to heat the water in the hot tank based on the second heating power through the power control device may include:
[0059] Step S31, transmitting a PWM signal corresponding to the second heating power to the power control device, and generating a control signal corresponding to the PWM signal through the power control device;
[0060] Step S32: transmitting a control signal to the heating element through the power control device to control the heating element to operate based on the second heating power.
[0061] In the process of controlling the operation of the heating element of the water dispenser through the power control device, the control mainboard (or control unit) of the water dispenser needs to send a corresponding control signal to the power control device, specifically a PWM (Pulse Width Modulation) signal. At the same time, the PWM signal is a chopping signal. The chopping signal is a signal used for power control. Its working principle is to chop the AC signal and convert it into a DC signal to control the power equipment (such as the heating element). The chopping signal is generated by a microprocessor or other controller, and is converted into a control signal by encoding the signal, and then used to control the on-off state of the switch. Specifically, the processing process of the chopping signal is to chop the AC signal within a certain period of time, convert it into a pulse signal similar to a DC signal, and then smooth it into a stable DC signal through a filtering circuit for use by the power equipment. Therefore, the chopping signal can control the DC voltage size and waveform output by the AC power supply.
[0062] In the technical solution of the embodiment of the present application, the PWM signal can carry the information of the second heating power through the voltage information therein, so that the average power of the heating element is equal to the second heating power. That is, after the control unit of the water dispenser transmits the PWM signal to the power control device, the power control device can further process the PWM signal and generate a corresponding control signal and send it to the heating element. The control signal can make the heating element work according to the second heating power, so as to achieve the effect of low-power heating of the water in the tank.
[0063] Furthermore, before the step of transmitting the PWM signal corresponding to the second heating power to the power control device, the method may further include:
[0064] Step A10, based on a preset mapping relationship between the temperature difference and the second heating power, determining the second heating power corresponding to the temperature difference, wherein the temperature difference and the second heating power are positively correlated.
[0065] In the technical solution of the embodiment of the present application, the value of the second heating power can change with the change of temperature difference during the process of the power control device controlling the operation of the heating element, thereby ensuring that the temperature of the water in the tank continues to remain near the target heating temperature (such as within ±2°C).
[0066] The staff can determine the mapping relationship between the temperature difference and the second heating power in advance through experiments or tests. The mapping relationship can be displayed in the form of a two-dimensional mapping table or a mapping function, and the corresponding second heating power can be queried or calculated according to the current temperature difference. Specifically, the greater the temperature difference, the greater the second heating power. If the temperature difference is a negative number, the second heating power remains at a relatively low value. In particular, when the temperature difference is 0, the value of the second heating power is related to the heat dissipation of the water in the current hot water tank. The faster the heat dissipation, the higher the second heating power, so as to ensure that the real-time temperature of the water in the tank is closer to the target heating temperature.
[0067] In the embodiment of the present application, the value of the second heating power is adaptively adjusted based on the temperature difference and the preset mapping relationship, so that the power control device is more energy-efficient and has a better insulation effect in the process of controlling the heating element, so as to output warm water with a more stable temperature.
[0068] In a feasible embodiment, the water dispenser further includes a relay, which is connected to the heating element, and the step of heating the water in the hot tank based on the first heating power by the heating element includes:
[0069] Step S21, setting the relay to a connected state, transmitting a control signal corresponding to the first heating power to the heating element, so as to control the heating element to operate based on the first heating power;
[0070] Step S22, when the temperature difference between the target heating temperature and the real-time temperature of the water in the hot tank is less than or equal to a preset temperature difference threshold, the relay is set to an off state.
[0071] In the embodiment of the present application, a relay is used to control the heating element to perform high-power rapid heating at a first heating power, so that the water in the hot tank is heated rapidly. The relay has two states, namely, a connected state and a disconnected state. In the connected state, the heating element can receive a control signal corresponding to the first heating power (i.e., a signal corresponding to the highest heating power) and work. In the disconnected state, the connection between the relay and the heating element is interrupted, and the heating element cannot work at the first heating power. It needs to receive other control signals to continue working, such as a control signal transmitted by a receiving power control device.
[0072] Specifically, when the heating element is required to perform high-power heating on the water in the hot tank, the relay is placed in a connected state. When the temperature difference between the target heating temperature and the real-time temperature of the water in the hot tank is less than or equal to a preset temperature difference threshold, according to the water dispenser control method of an embodiment of the present application, it is necessary to control the heating element to operate at a second heating power at a low power through a power control device. At this time, the relay needs to be interrupted so that the heating element cannot receive the control signal corresponding to the first heating power.
[0073] For example, in combination with the contents of the aforementioned application embodiments, the hot tank heating method of the present application embodiment is divided into relay (W NO ) to control high power heating and power control devices (W SCR ) to control low power heating in two ways. For example, suppose the target heating temperature of the hot tank is H 目标 , when the actual water temperature of the hot tank is lower than (H 目标 -10)℃, use W NO Heat up quickly and then switch to W SCR Continue heating to the target heating temperature H 目标 , the subsequent use of low-power heating can effectively avoid the generation of a large number of bubbles inside the hot tank that affect the hot water flow detection. Specifically, when the water temperature of the hot tank is higher than (H 目标 -10)℃, use W SCR Heating to the target heating temperature H 目标 The power of the heating element is adjusted by adjusting the control signal output by the power control device so that the temperature of the hot tank is constant at (H 目标 ±2)℃, improving the temperature control accuracy of warm water output after cold and hot water are mixed.
[0074] In the embodiment of the present application, the on-off control of the relay is performed based on the temperature difference between the target heating temperature and the real-time temperature, so that the stage close to the target heating temperature is completed by the low-power heating method of the power control device, thereby avoiding frequent starting and stopping of the relay and extending the service life of the relay.
[0075] In a feasible embodiment, the water dispenser further includes a water pump, and the water dispenser control method may further include:
[0076] Step S40, 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;
[0077] Step S50, determining a target duty cycle of a water pump according to the cold water flow difference, wherein the water pump is located on the cold water passage of the water dispenser and is used to adjust the cold water flow;
[0078] Specifically, the step of determining the target duty cycle of the water pump according to the cold water flow difference may include: substituting the cold water flow difference into a preset proportional-integral control function to obtain the target duty cycle of the water pump.
[0079] Specifically, the cold water pump can adjust the cold water flow rate by adjusting its own opening angle. During the control process, the current duty cycle of the cold water pump is used as the target control quantity, and the cold water flow difference Δq is used as the input quantity for difference control.
[0080] For example, the control formula can be expressed as:
[0081]
[0082] The above control formula is a commonly used PID control formula in the control field, D is the target duty cycle, where K p 、T t 、T D These are control parameters that engineers obtain in advance by testing the water dispenser in a laboratory and are preset in the control unit of the water dispenser.
[0083] In a feasible embodiment, the control unit of the water dispenser starts to adjust the duty cycle of the cold water pump 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.
[0084] Step S60, controlling the operation of the water pump based on the target duty cycle to reduce the temperature difference between the outlet water temperature of the water dispenser and the target outlet water temperature.
[0085] The water dispenser of the embodiment of the present application 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.
[0086] Among them, the duty cycle of the water pump determines the cold water flow. It can be understood that the larger the duty cycle, the larger the cold water flow. After determining the current cold water flow difference, the corresponding target duty cycle can be determined to adjust the current cold water flow so that the cold water flow difference approaches 0, which has the effect of making the temperature of the warm water output by the water dispenser approach the target water outlet temperature.
[0087] When determining the target duty cycle of the chilled water pump according to the chilled water flow difference, it can be based on a PID (Proportional Integral Derivative) control formula commonly used in the current control field, or determined by a correspondence between the chilled water flow difference and the target duty cycle measured by engineers through experiments or the like.
[0088] 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, to achieve precise temperature control.
[0089] After determining the target duty cycle, the duty cycle of the water pump can be adjusted to the target duty cycle by sending a control instruction to the water pump. Because the value of the target duty cycle 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.
[0090] 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 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. 目标 .
[0091] 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:
[0092] 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;
[0093] 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.
[0094] 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;
[0095] Step S13, obtaining a cold water flow difference according to the target cold water flow and the current cold water flow.
[0096] In the water dispenser 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 rate controls by applying instructions of different duty cycles to the water pump, thereby achieving constant temperature control of the warm water outlet temperature.
[0097] 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.
[0098] For example, the heat energy formula can be expressed as: Q = c*m*Δt;
[0099] Among them, Q is heat, c is specific heat capacity, m is mass, and Δt is the amplitude of temperature change.
[0100] 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:
[0101] c*m 冷 *(T 目标 -T 冷 )=c*m 热 *(T 热 -T 目标 );
[0102] 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.
[0103] 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:
[0104] q 冷 *(T 目标 -T 冷 )=q 热 *(T 热 -T 目标 );
[0105] 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
[0106] 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.
[0107] 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:
[0108] Step S41, determining whether the absolute value of the cold water flow difference is greater than a preset flow difference;
[0109] Step S15: if it is greater than, then execute step S20: determine the target duty cycle of the water pump according to the cold water flow difference;
[0110] Step S16: if it is less than or equal to, keep the duty cycle of the water pump unchanged.
[0111] 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.
[0112] Furthermore, in order to avoid the water dispenser system from frequently adjusting the duty cycle of the cold water pump, 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 cold water pump. The settings can be customized according to the actual situation.
[0113] For example, if Then the next step of temperature adjustment can be carried out, the duty cycle of the cold water pump is re-determined, and step S50 is executed. There is no need to perform temperature adjustment, the duty cycle of the cold water pump is kept unchanged, steps S50 and S60 are skipped, and the process returns to step S40 after waiting for a preset time interval.
[0114] In a feasible embodiment, before the step of controlling the operation of the water pump based on the target duty cycle, the method may further include:
[0115] Step A10, determining a duty cycle adjustment amplitude according to the target duty cycle and the current duty cycle of the water pump;
[0116] Step A20, if the absolute value of the duty cycle adjustment amplitude is less than the first adjustment amplitude, determining an updated target duty cycle according to the current duty cycle and the first adjustment amplitude;
[0117] Step A30, if the absolute value of the duty cycle adjustment amplitude is greater than the second adjustment amplitude, determining an updated target duty cycle according to the current duty cycle and the second adjustment amplitude;
[0118] The first adjustment amplitude is smaller than the second adjustment amplitude, and the updated target duty cycle is used to control the operation of the water pump.
[0119] After determining the target duty cycle of the cold water pump of the water dispenser, the difference between the two can be calculated in combination with the current duty cycle of the cold water pump, thereby determining the duty cycle adjustment amplitude that needs to be adjusted. It is understandable that during the adjustment process of the duty cycle of the water pump, 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 duty cycle, so the duty cycle adjustment amplitude of the water pump cannot exceed the range corresponding to the minimum value and the maximum value of the single change of the duty cycle.
[0120] Therefore, after determining the duty cycle adjustment amplitude △D, if the absolute value of △D is within [D min ,D max ], the duty cycle of the water pump can be adjusted based on △D, so that the adjusted duty cycle of the water pump is the target duty cycle. If △D is less than D min , then based on D min The duty cycle of the water pump is adjusted according to the value of △D. If △D is a positive value, the current duty cycle is added to D. min Get the updated target duty cycle. If △D is a negative value, subtract D from the current duty cycle. min Get the updated target duty cycle. Similarly, if △D is greater than D max , then based on D max The duty cycle of the water pump is adjusted according to the value of △D. If △D is a positive value, the current duty cycle is added to D. maxGet the updated target duty cycle. If △D is a negative value, subtract D from the current duty cycle. max Get the updated target duty cycle.
[0121] Finally, the operation of the cold water pump is controlled based on the updated target duty cycle so that the cold water flow rate of the water dispenser approaches the target cold water flow rate.
[0122] In a feasible embodiment, after the step of controlling the operation of the water pump based on the target duty cycle, the method further includes:
[0123] Step S70, 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.
[0124] In the water dispenser control method provided in the embodiment of the present application, the control unit of the water dispenser can cyclically execute steps S40 to S60, that is, after step S60, after a preset time, it returns to step S40 again, and then executes steps S50 and S60 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.
[0125] For ease of understanding, combined with the contents of the aforementioned application embodiments, a feasible water dispenser 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 duty cycle adjustment amplitude △D value. Based on the preset range of the duty cycle adjustment amplitude (for example, D min ,D max ) After limiting the duty cycle adjustment amplitude △D, the current duty cycle of the water pump is adjusted to obtain the target duty cycle. Finally, the water pump is controlled based on the target duty cycle to achieve the adjustment of the cold water flow.
[0126] In the water dispenser 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, so that the cold water flow rate difference tends 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.
[0127] The present application also provides a water dispenser control device, which is applied to a water dispenser. Figure 4 , the water dispenser control device includes:
[0128] A temperature difference determination module 10 is used to determine the temperature difference between the target heating temperature corresponding to the hot tank and the real-time temperature of the water in the hot tank;
[0129] A high-power heating module 20, configured to heat the water in the hot tank based on a first heating power through the heating element when the temperature difference is greater than a preset temperature difference threshold;
[0130] The low-power heating module 30 is used to control the heating element to heat the water in the hot tank based on a second heating power through a power control device when the temperature difference is less than or equal to a preset temperature difference threshold, wherein the first heating power is greater than the second heating power.
[0131] In one embodiment, the low-power heating module 30 is further used for:
[0132] Transmitting a PWM signal corresponding to the second heating power to the power control device, and generating a control signal corresponding to the PWM signal through the power control device;
[0133] The control signal is transmitted to the heating element through the power control device to control the heating element to operate based on the second heating power.
[0134] In one embodiment, the low-power heating module 30 is further used for:
[0135] Based on a mapping relationship between a preset temperature difference and a second heating power, the second heating power corresponding to the temperature difference is determined, wherein the temperature difference and the second heating power are in a positive correlation.
[0136] In one embodiment, the water dispenser further comprises a relay, wherein the relay is connected to the heating element, and the high-power heating module 20 is further used for:
[0137] placing the relay in a connected state, transmitting a control signal corresponding to the first heating power to the heating element, so as to control the heating element to operate based on the first heating power;
[0138] When the temperature difference between the target heating temperature and the real-time temperature of the water in the hot tank is less than or equal to a preset temperature difference threshold, the relay is set to an off state.
[0139] In one embodiment, the water dispenser control device further includes a temperature control module, which is used to:
[0140] 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;
[0141] Determining a target duty cycle of the water pump according to the cold water flow difference, wherein the water pump is located on the cold water passage of the water dispenser and is used to adjust the cold water flow;
[0142] The water pump is controlled to operate based on the target duty cycle to reduce the temperature difference between the outlet water temperature of the water dispenser and the target outlet water temperature.
[0143] In one embodiment, the temperature control module is further used for:
[0144] 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;
[0145] 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;
[0146] A cold water flow difference is obtained according to the target cold water flow and the current cold water flow.
[0147] The water dispenser control device provided by the present application adopts the water dispenser control method in the above embodiment, which can solve the technical problems that the heating scheme of the current water dispenser affects the hardware life and consumes too much energy. Compared with the prior art, the beneficial effects of the water dispenser control device provided by the present application are the same as the beneficial effects of the water dispenser control method provided by the above embodiment, and the other technical features in the water dispenser control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0148] An embodiment of the present application also provides a water dispenser, which includes at least a hot tank, a power control device and a control unit, wherein the hot tank includes a heating element, the power control device is connected to the heating element, 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 control method in the above embodiment.
[0149] In a feasible embodiment, the water dispenser also includes a relay, a cold water passage and a hot water passage, the relay is connected to the heating element, 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.
[0150] 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 and a flow meter in sequence on the cold water flow path, and the hot water passage is provided with a (temperature) sensor, a hot water pump and a flow meter respectively. 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.
[0151] 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.
[0152] like Figure 5 As 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.
[0153] 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.
[0154] The water dispenser provided in the embodiment of the present application adopts the water dispenser control method in the above embodiment, which can solve the technical problems that the heating scheme of the current water dispenser affects the hardware life and consumes too much energy. 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 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.
[0155] 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.
[0156] 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.
[0157] 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 control method in the above embodiment.
[0158] 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.
[0159] The computer-readable storage medium may be included in the water dispenser; or may exist independently without being assembled into the water dispenser.
[0160] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the water dispenser, the water dispenser: determines the temperature difference between the target heating temperature corresponding to the hot tank and the real-time temperature of the water in the hot tank; when the temperature difference is greater than a preset temperature difference threshold, heats the water in the hot tank based on a first heating power through the heating element; when the temperature difference is less than or equal to the preset temperature difference threshold, controls the heating element through a power control device to heat the water in the hot tank based on a second heating power, wherein the first heating power is greater than the second heating power.
[0161] 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).
[0162] 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.
[0163] 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.
[0164] 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 control method, which can solve the technical problems that the current heating scheme of the water dispenser affects the hardware life and consumes too much energy. 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 control method provided in the above-mentioned embodiment, and will not be described in detail here.
[0165] An embodiment of the present application also provides a computer program product, including a computer program, which implements the steps of the water dispenser control method as described above when the computer program is executed by a processor.
[0166] The computer program product provided in the embodiment of the present application can solve the technical problems that the heating scheme of the current water dispenser affects the hardware life and consumes too much energy. 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 control method provided in the above embodiment, which will not be repeated here.
[0167] 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 control method, characterized in that: Applied to a water dispenser, the water dispenser includes a hot tank and a power control device, the hot tank includes a heating element, the power control device is connected to the heating element, and the water dispenser control method includes: Determine the temperature difference between the target heating temperature corresponding to the hot tank and the real-time temperature of the water in the hot tank; When the temperature difference is greater than a preset temperature difference threshold, heating the water in the hot tank by the heating element based on a first heating power; When the temperature difference is less than or equal to a preset temperature difference threshold, the power control device controls the heating element to heat the water in the hot tank based on a second heating power, wherein the first heating power is greater than the second heating power.
2. The water dispenser control method according to claim 1, characterized in that: The step of controlling the heating element to heat the water in the hot tank based on the second heating power by the power control device comprises: Transmitting a PWM signal corresponding to the second heating power to the power control device, and generating a control signal corresponding to the PWM signal through the power control device; The control signal is transmitted to the heating element through the power control device to control the heating element to operate based on the second heating power.
3. The water dispenser control method according to claim 2, characterized in that: Before the step of transmitting the PWM signal corresponding to the second heating power to the power control device, the method further includes: Based on a mapping relationship between a preset temperature difference and a second heating power, the second heating power corresponding to the temperature difference is determined, wherein the temperature difference and the second heating power are in a positive correlation.
4. The water dispenser control method according to claim 1, characterized in that: The water dispenser further comprises a relay, wherein the relay is connected to the heating element, and the step of heating the water in the hot tank by the heating element based on the first heating power comprises: placing the relay in a connected state, transmitting a control signal corresponding to the first heating power to the heating element, so as to control the heating element to operate based on the first heating power; When the temperature difference between the target heating temperature and the real-time temperature of the water in the hot tank is less than or equal to a preset temperature difference threshold, the relay is set to an off state.
5. The water dispenser control method according to any one of claims 1 to 4, characterized in that: The water dispenser further comprises a water pump, and the method further comprises: 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 a target duty cycle of the water pump according to the cold water flow difference, wherein the water pump is located on the cold water passage of the water dispenser and is used to adjust the cold water flow; The water pump is controlled to operate based on the target duty cycle to reduce the temperature difference between the outlet water temperature of the water dispenser and the target outlet water temperature.
6. The water dispenser control method as claimed in claim 5, 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.
7. A water dispenser control device, characterized in that: The water dispenser control device at least comprises: A temperature difference determination module, used to determine the temperature difference between the target heating temperature corresponding to the hot tank and the real-time temperature of the water in the hot tank; A high-power heating module, used for heating the water in the hot tank based on a first heating power through the heating element when the temperature difference is greater than a preset temperature difference threshold; A low-power heating module is used to control the heating element to heat the water in the hot tank based on a second heating power through a power control device when the temperature difference is less than or equal to a preset temperature difference threshold, wherein the first heating power is greater than the second heating power.
8. A water dispenser, characterized in that: The water dispenser at least includes a hot tank, a power control device and a control unit, the hot tank includes a heating element, the power control device is connected to the heating element, and the control unit at least includes: a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program is configured to implement the steps of the water dispenser 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 relay, a cold water passage and a hot water passage, the relay is connected to the heating element, 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.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for implementing the water dispenser control method, and the program for implementing the water dispenser control method is executed by a processor to implement the steps of the water dispenser control method as claimed in any one of claims 1 to 6.
Citation Information
Patent Citations
Water dispenser energy-saving control method and water dispenser control circuit
CN103202663A
Liquid heating device with adjustable power
CN103743111A
Heat pump equipment
CN106152506A
Voltage detection method and temperature control method of heating equipment and heating equipment
CN114113740A
Control method of water dispenser and water dispenser
CN114209211A
Cited By
Method and system for monitoring state of filter element of novel water dispenser in real time
CN121606172A