Water dispenser control method and device, computer device and storage medium
By calculating the absolute value of the temperature difference in the water dispenser and controlling the delayed operation of the temperature regulation component, the problem of the first cup of water not reaching the standard temperature in traditional instant hot water dispensers has been solved, achieving the control effect of instant hot and cold water.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2022-10-21
- Publication Date
- 2026-04-17
AI Technical Summary
Traditional instant hot water dispensers often fail to provide the desired temperature for the first cup of water upon initial startup or after prolonged periods of inactivity, causing inconvenience.
By acquiring the initial temperature and target outlet temperature of the water dispenser, calculating the absolute value of the temperature difference, activating the temperature regulation component, and determining the delay time based on the absolute value of the temperature difference before conducting heat exchange to ensure that the outlet water temperature reaches the target.
It achieves instant hot and cold water function, ensuring that the temperature of the first cup of water meets the user's needs, thus improving the user experience.
Smart Images

Figure CN115530621B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home appliance technology, and in particular to a water dispenser control method, device, computer equipment, storage medium and computer program product. Background Technology
[0002] With the development of water dispenser technology, instant hot water dispensers have emerged. Instant hot water means that the water dispenser provides hot water instantly, offering users hot water at the desired temperature "at any time," bringing great convenience to users.
[0003] Currently, the heating process of instant hot water dispensers occurs during the water dispensing process. The water pump and heating element work simultaneously, and then the water passes through a heat exchanger. The heat exchanger consists of an inner tube and an outer tube. The outer tube wraps around the inner tube. The inner tube transports a portion of the boiling water that has passed through the heating element back to the heat exchange system, while the outer tube brings in cold water. The cold water absorbs the heat energy from the boiling water, thereby controlling the water temperature at the user's desired temperature.
[0004] Although traditional instant hot water dispensers can provide users with hot water at the desired temperature at any time after they have been working stably, the water temperature gradually rises from low to high when the dispenser is first turned on. If water is dispensed immediately at this time, it is still in the initial stage of heating and the water temperature is low. If the dispenser has been left for a long time, the temperature of the "first cup of water" will still not meet the user's requirements. Summary of the Invention
[0005] Therefore, it is necessary to address the technical problem that traditional water dispensers cannot provide hot / cold water for the "first cup" of water instantly, and to provide a water dispenser control method, device, computer equipment, storage medium, and computer program product that can provide hot / cold water for the "first cup" of water instantly.
[0006] Firstly, this application provides a water dispenser control method. The method includes:
[0007] The initial temperature of the water to be dispensed from the water dispenser and the target water temperature are obtained. The temperature regulation component includes a heating component or a cooling component.
[0008] Calculate the absolute value of the temperature difference between the initial temperature and the target effluent temperature;
[0009] Activate the temperature control component in the water dispenser;
[0010] The delay time is determined based on the absolute value of the temperature difference, and after waiting for the delay time, the water to be discharged is controlled to exchange heat with the temperature regulating component before being discharged.
[0011] In one embodiment, the temperature control component in the water dispenser includes:
[0012] If the absolute value of the temperature difference is not less than the preset temperature difference threshold, then the operating power of the temperature regulating component is determined based on the absolute value of the temperature difference.
[0013] The temperature regulation component is activated according to the operating power, and the operating power is positively correlated with the absolute value of the temperature difference.
[0014] In one embodiment, determining the operating power of the temperature regulation component based on the absolute value of the temperature difference if the absolute value of the temperature difference is not less than a preset temperature difference threshold includes:
[0015] If the absolute value of the temperature difference is not less than the preset temperature difference threshold, then the operating level of the temperature regulating component is determined based on the absolute value of the temperature difference.
[0016] Obtain the preset working power corresponding to the working level.
[0017] In one embodiment, the water dispenser control method further includes:
[0018] Obtain the preset temperature error coefficient;
[0019] The preset temperature difference threshold is determined based on the preset temperature error coefficient and the target outlet water temperature.
[0020] In one embodiment, the water dispenser control method further includes:
[0021] If the absolute value of the temperature difference is less than the preset temperature difference threshold, then the water to be discharged will be controlled to be discharged directly.
[0022] In one embodiment, determining the delay time based on the absolute value of the temperature difference includes:
[0023] Obtain the quality of the water to be discharged;
[0024] The delay time is determined based on the effective power of the temperature regulation component, the mass of water to be discharged, and the absolute value of the temperature difference.
[0025] Secondly, this application also provides a water dispenser control device. The device includes:
[0026] The temperature acquisition module is used to acquire the initial temperature of the water to be dispensed in the water dispenser and the target water temperature. The temperature regulation component includes a heating component or a cooling component.
[0027] The temperature difference calculation module is used to calculate the absolute value of the temperature difference between the initial temperature and the target outlet water temperature;
[0028] The control module is used to activate the temperature regulation component in the water dispenser;
[0029] The delayed water output module is used to determine the delay time based on the absolute value of the temperature difference, and after waiting for the delay time, control the water to be output to exchange heat with the temperature regulation component before outputting the water.
[0030] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0031] The initial temperature of the water to be dispensed from the water dispenser and the target water temperature are obtained. The temperature regulation component includes a heating component or a cooling component.
[0032] Calculate the absolute value of the temperature difference between the initial temperature and the target effluent temperature;
[0033] Activate the temperature control component in the water dispenser;
[0034] The delay time is determined based on the absolute value of the temperature difference, and after waiting for the delay time, the water to be discharged is controlled to exchange heat with the temperature regulating component before being discharged.
[0035] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0036] The initial temperature of the water to be dispensed from the water dispenser and the target water temperature are obtained. The temperature regulation component includes a heating component or a cooling component.
[0037] Calculate the absolute value of the temperature difference between the initial temperature and the target effluent temperature;
[0038] Activate the temperature control component in the water dispenser;
[0039] The delay time is determined based on the absolute value of the temperature difference, and after waiting for the delay time, the water to be discharged is controlled to exchange heat with the temperature regulating component before being discharged.
[0040] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0041] The initial temperature of the water to be dispensed from the water dispenser and the target water temperature are obtained. The temperature regulation component includes a heating component or a cooling component.
[0042] Calculate the absolute value of the temperature difference between the initial temperature and the target effluent temperature;
[0043] Activate the temperature control component in the water dispenser;
[0044] The delay time is determined based on the absolute value of the temperature difference, and after waiting for the delay time, the water to be discharged is controlled to exchange heat with the temperature regulating component before being discharged.
[0045] Sixthly, this application also provides a water dispenser, including a controller, a temperature regulating component, and a water dispensing control component. The controller is connected to the temperature regulating component and the water dispensing control component respectively, and the controller uses the above-described water dispenser control method to control the operation of the temperature regulating component and the water dispensing control component.
[0046] The aforementioned water dispenser control method, device, computer equipment, storage medium, computer program product, and water dispenser acquire the initial temperature and target outlet temperature of the water to be dispensed from the water dispenser. The temperature regulation component includes a heating component or a cooling component. The method calculates the absolute value of the temperature difference between the initial temperature and the target outlet temperature; activates the temperature regulation component in the water dispenser; determines a delay time based on the absolute value of the temperature difference, and waits for the delay time before controlling the water to be dispensed to exchange heat with the temperature regulation component before dispensing water. In this scheme, on the one hand, the temperature regulation component is directly activated, allowing for rapid temperature adjustment; on the other hand, a delay corresponding to the absolute value of the temperature difference allows the temperature regulation component to accumulate a suitable heat exchange value to exchange heat with the water to be dispensed. Water is dispensed only after the heat exchange is completed, ensuring that the outlet water temperature reaches the target temperature. Therefore, it can achieve instant hot / cold water control, including the "first cup of water." Attached Figure Description
[0047] Figure 1 This is an application environment diagram of a water dispenser control method in one embodiment;
[0048] Figure 2 This is a flowchart illustrating a water dispenser control method in one embodiment;
[0049] Figure 3 This is a flowchart illustrating the water dispenser control method in another embodiment;
[0050] Figure 4 This is a partial structural diagram of a water dispenser with heating function in one embodiment;
[0051] Figure 5 This is a partial structural diagram of a water dispenser with a cooling function in one embodiment;
[0052] Figure 6 This is a flowchart illustrating the water dispenser control method in a specific application example.
[0053] Figure 7 This is a structural block diagram of a water dispenser control device in one embodiment;
[0054] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0055] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0056] The water dispenser control method provided in this application embodiment can be applied to, for example... Figure 1 The application environment shown is specifically a water dispenser. Control terminal 102 is connected to water dispenser 104. Control terminal 102 controls the operation of water dispenser 104. The user operates on control terminal 102, inputting the target water temperature. Control terminal 102 acquires the initial temperature of the water to be dispensed and the target water temperature from water dispenser 104. The temperature regulation component includes a heating component or a cooling component. It calculates the absolute value of the temperature difference between the initial temperature and the target water temperature. If the absolute value of the temperature difference is not less than a preset temperature difference threshold, the temperature regulation component in water dispenser 104 is activated. A delay time is determined based on the absolute value of the temperature difference, and after waiting for the delay time, the water to be dispensed exchanges heat with the temperature regulation component before being dispensed. It is understood that the water dispenser control method of this application can also be directly applied to the controller within the water dispenser to achieve instant hot water intelligent control. The control process is similar to the above and will not be repeated here.
[0057] In one embodiment, such as Figure 2 As shown, a water dispenser control method is provided, which is applied to... Figure 1 Taking terminal 102 as an example, the explanation includes the following steps:
[0058] S200: Obtains the initial temperature of the water to be dispensed from the water dispenser and the target water temperature. The temperature regulation components include heating components or cooling components.
[0059] The initial temperature of the water to be dispensed refers to the temperature of the water in the water tank of the water dispenser, which is generally related to the room temperature. The target water temperature refers to the final temperature of the water dispenser, which is usually set by the user, such as 40℃, 100℃, or 4℃ (cooling). The temperature regulation component refers to the component in the water dispenser that regulates the temperature. It can be a heating component (performing the heating function) or a cooling component (performing the cooling function). The water in the water tank exchanges heat with the temperature regulation component to adjust the temperature, thereby ensuring that the water in the tank is at a suitable temperature before being dispensed.
[0060] S400: Calculates the absolute value of the temperature difference between the initial temperature and the target outlet water temperature.
[0061] After determining the initial temperature of the water to be dispensed from the water dispenser and the user-set target water temperature, the absolute value of the temperature difference between the two temperatures is calculated. In practical applications, when the user needs the water dispenser to provide heating, the user's desired target water temperature is generally higher than the initial temperature in the water dispenser. In this case, the difference between the target water temperature and the initial temperature is a positive number. For example, if the initial temperature is 10℃ and the target water temperature is 40℃, then the temperature difference between the initial temperature and the target water temperature is 40℃ - 10℃ = 30℃, and the absolute value of the temperature difference is 30℃. When the user needs the water dispenser to provide cooling, the user's desired target water temperature is generally lower than the initial temperature in the water dispenser. In this case, the difference between the target water temperature and the initial temperature is a negative number. For example, if the initial temperature is 15℃ and the target water temperature is 5℃, then the temperature difference between the initial temperature and the target water temperature is 5℃ - 15℃ = -10℃, and the absolute value of the temperature difference is 10℃.
[0062] S600: Activate the temperature control component in the water dispenser.
[0063] Here, the temperature control component is activated first. It does not directly exchange heat with the water in the water tank of the water dispenser, but instead selects to activate only the temperature control component in the water dispenser, so that the temperature control component can heat up quickly.
[0064] S800: Determines the delay time based on the absolute value of the temperature difference, and after waiting for the delay time, controls the water to be discharged to exchange heat with the temperature regulating component before discharging the water.
[0065] The energy required to adjust the temperature of a certain amount of water to the target outlet temperature can be calculated based on the absolute value of the temperature difference. Then, based on the function of the temperature regulating component, the delay time for heat exchange between the temperature regulating component and the water to be discharged can be determined. After waiting for the delay time, the water to be discharged is controlled to exchange heat with the temperature regulating component before water is discharged.
[0066] The aforementioned water dispenser control method acquires the initial temperature and target outlet temperature of the water to be dispensed from the dispenser. The temperature regulation component includes a heating component or a cooling component. It calculates the absolute value of the temperature difference between the initial temperature and the target outlet temperature; activates the temperature regulation component; determines a delay time based on the absolute value of the temperature difference, and after waiting for the delay time, controls the water to be dispensed to exchange heat with the temperature regulation component before dispensing. In this entire scheme, on the one hand, the temperature regulation component is directly activated, allowing for rapid temperature adjustment; on the other hand, the delay time corresponding to the absolute value of the temperature difference allows the temperature regulation component to accumulate a suitable heat exchange value to exchange heat with the water to be dispensed. Water is dispensed only after the heat exchange is complete, ensuring that the outlet water temperature reaches the target temperature. Therefore, it can achieve instant hot / cold water control, including the "first cup of water."
[0067] like Figure 3In one embodiment, S600 includes:
[0068] S620: If the absolute value of the temperature difference is not less than the preset temperature difference threshold, the working power of the temperature regulation component is determined based on the absolute value of the temperature difference.
[0069] S640: The temperature regulation component is activated based on the operating power, and the operating power is positively correlated with the absolute value of the temperature difference.
[0070] If the absolute value of the temperature difference is not less than the preset temperature difference threshold, it indicates that the temperature of the water to be discharged needs to be adjusted. To avoid the problem of temperature adjustment being too slow or too fast, the operating power of the temperature adjustment component is determined based on the absolute value of the temperature difference. Specifically, taking heating as an example, if the heating power is too high when the temperature adjustment component (heating component) is heating, temperature overshoot may easily occur, and even excessive dry burning may occur; if the heating power is too low, the heating rate may be slow, and the temperature adjustment component may need a longer time to complete the heating. Therefore, the operating power of the temperature adjustment component needs to be determined based on the absolute value of the temperature difference. A larger absolute value of the temperature difference requires a larger operating power, while a smaller absolute value of the temperature difference can be selected with a relatively smaller operating power. The temperature adjustment component is then activated according to the determined operating power to ensure that it operates at an appropriate power level.
[0071] In one embodiment, if the absolute value of the temperature difference is not less than a preset temperature difference threshold, then determining the operating power of the temperature regulating component based on the absolute value of the temperature difference includes: if the absolute value of the temperature difference is not less than the preset temperature difference threshold, then determining the operating level of the temperature regulating component based on the absolute value of the temperature difference; and obtaining the preset operating power corresponding to the operating level.
[0072] In this embodiment, the operating level is determined based on the absolute value of the temperature difference, and then the operating power is determined based on the operating level. Specifically, the temperature regulating component can be set with multiple operating levels, each corresponding to a different operating power. Taking the heating component as an example, it can be set with three levels: high, medium, and low. The preset operating power corresponding to the high, medium, and low levels can be 3KW, 2KW, and 1KW, respectively. After determining the level based on the absolute value of the temperature difference, the operating power of the heating component can be determined. Furthermore, the correspondence between the absolute value of the temperature difference and the operating level can be preset. Specifically, a certain range of absolute temperature differences corresponds to one operating level. For example, under heating conditions, an absolute temperature difference above 30℃ corresponds to the high level, between 30℃ and 15℃ corresponds to the medium level, and below 15℃ corresponds to the low level. In practical applications, taking heating as an example, when the absolute value of the temperature difference is large, it indicates that the water in the water dispenser tank needs to be heated from a cold state to the target outlet water temperature required by the user, which requires a large heating power; when the absolute value of the temperature difference is within the normal range, it indicates that the water in the water dispenser tank only needs to be heated to reach the target outlet water temperature, which requires a medium heating power; when the absolute value of the temperature difference is small, it indicates that the water in the water dispenser tank only needs to be heated to reach the target outlet water temperature, which requires a small heating power.
[0073] In one embodiment, the water dispenser control method further includes:
[0074] Obtain the preset temperature error coefficient; determine the preset temperature difference threshold based on the preset temperature error coefficient and the target outlet water temperature.
[0075] The preset temperature error coefficient is a pre-set tolerance coefficient, specifically a coefficient no greater than 1, representing the user's sensitivity to the water dispenser's outlet temperature. The more sensitive the user is to the outlet temperature, the smaller the temperature difference they can tolerate, and the closer the outlet temperature needs to be to the target temperature. Conversely, if the user is relatively insensitive, a larger temperature difference is acceptable, and they can tolerate a certain deviation between the outlet temperature and the target temperature. In practical applications, the preset temperature error coefficient can be determined based on the user's historical operating habits and settings. Then, the preset temperature difference threshold is determined based on the target outlet temperature and the preset temperature error coefficient. In practice, the preset temperature error coefficient can be 0.1; that is, when the target outlet temperature is 40℃, the preset temperature difference threshold is 4℃.
[0076] In one embodiment, the water dispenser control method further includes: if the absolute value of the temperature difference is less than a preset temperature difference threshold, then controlling the water to be dispensed to be dispensed to be dispensed directly.
[0077] If the absolute value of the temperature difference is less than the preset temperature difference threshold, it indicates that the water temperature in the water tank of the water dispenser basically meets the user's needs. In this case, the water will be dispensed directly without heat exchange with the temperature regulation component. Furthermore, while dispensing water normally, the temperature regulation component is activated to further reduce the absolute value of the temperature difference, so that the temperature of the subsequently dispensed water is closer to the user's target water temperature, providing a better user experience.
[0078] In one embodiment, determining the delay time based on the absolute value of the temperature difference includes:
[0079] Obtain the mass of the water to be discharged; determine the delay time based on the effective power of the temperature regulation component, the mass of the water to be discharged, and the absolute value of the temperature difference.
[0080] The desired water mass refers to the mass (weight) of water to be dispensed, or the mass of water dispensed per serving preset by the water dispenser. For example, a water dispenser can be set to dispense 500ml or 100ml per serving. Effective power refers to the actual power output of the temperature control component used to regulate the temperature, which can be obtained by multiplying the power and efficiency of the temperature control component. After determining the desired water mass, and considering the specific heat capacity of water, the energy required to regulate the absolute value of the temperature difference can be calculated. Then, based on the effective power of the temperature control component, the time required for the component to generate the required energy can be determined, thus establishing the delay time.
[0081] In practical applications, when the water dispenser is powered on and started, a certain period of water flow can be selected. During this time, the temperature of the remaining water in the pipeline is collected, and the user-set target temperature is obtained. During this process, the water pump and temperature regulation components of the water dispenser do not operate. The specific water flow time is determined by the entire water system of the water dispenser, for example, it can be 3 seconds.
[0082] To illustrate the technical solution and effects of the water dispenser control method of this application in detail, specific application examples will be used below, along with... Figure 4 as well as Figure 6 Expand description. For example... Figure 4 The water dispenser with heating function shown includes a heat exchanger and a heating element. The heating element is equipped with a temperature sensor 1, and a temperature sensor 2 is located at the water outlet. The heating element heats the residual water inside. When the residual water reaches the desired temperature, a regulating valve activates, exchanging heat between the heated residual water and the water to be dispensed in the water tank (not shown). The heated water then flows to the water outlet. In this process, the entire water dispenser heating control method includes the following steps:
[0083] Step 1: Power on the water dispenser and let water flow for S seconds. The temperature sensor 1 at the heating element detects the temperature of the remaining water in the pipeline and records it as X. The set target temperature is read and recorded as Y. Here, the water pump and heating element do not operate; the value of S depends on the specific water system.
[0084] Step 2: Calculate the temperature increment ΔT = YX. If ΔT < qY℃, the water pump and heating element start, and water flows out normally. Otherwise, determine the temperature range corresponding to ΔT as: 1. Cold state heating; 2. Intermediate value heating; 3. Small temperature difference heating. Based on the power required to heat the current residual water temperature X in the pipeline to the target temperature Y, select the corresponding power level. The purpose of this scheme is to prevent temperature overshoot caused by continuous dry burning of the heating element at a constant power. For example: select the highest power level to heat completely cold water to the target temperature, select the intermediate power level to heat water in the intermediate state to the target temperature, and select the low power level for water close to the target temperature. In this step, qY℃ represents the allowable temperature error, and q represents the error coefficient, 0 < q < 1, set according to user needs. If the existing water temperature in the pipeline is within the error range, water can be discharged directly without repeated heating. For example: if q = 0.1, the target temperature is 40℃, and the error value after multiplication is 4℃, that is, the actual temperature is determined to be within the allowable error range of 36-44℃, and water can be discharged directly.
[0085] Step 3: Drive the heating element to dry-burn at the selected power in Step 2 (dry-burning here means heating only the remaining water inside the heating element, without exchanging heat with the water in the water tank). First, quickly heat the heating element, including the remaining water inside the tube, and the temperature sensing bulb 1 detects the real-time temperature X1.
[0086] Step 4: After the heating element starts, the dry-burning time corresponding to the selected power is the time interval t between the heating element starting and the water pump starting. After t seconds, the water pump starts and operates. At this time, the heating element has completed preheating, and X1>=Y, meaning the heating element automatically disconnects. The water dispenser then quickly heats the water to the set target temperature. According to the heat balance equation, when water of mass m and initial temperature X is heated to Y, the heat absorbed by the water is Q=cm(YX). <1> In the formula, c is the specific heat capacity of water, and the work done by the heating device in time t is W = Pt. <2> The heat converted into water is Q = ηW <3> Therefore, we have ηPt=cm(YX) and solve for the heating time t=cm(T'-T) / ηP.
[0087] Step 5: The boiled water in the pipeline enters the heat exchange system according to the normal process to conduct heat transfer, and finally the water reaches the temperature required by the user.
[0088] In addition, the water dispenser control described in this application can also be applied to, for example... Figure 5The water dispenser shown includes a cooling function, which comprises a heat exchanger and a cooling component. The cooling component is equipped with a temperature sensor 3, and a temperature sensor 4 is installed at the water outlet. When the cooling component operates, it cools the residual water inside. When the temperature of the residual water drops to the required value (greater than 0°C), the regulating valve is activated, and the cooled residual water exchanges heat with the water to be dispensed in the water tank (not shown). The cooled water to be dispensed flows to the water outlet. The specific control process is similar to that of the water dispenser with heating function described above, and will not be repeated here.
[0089] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0090] Based on the same inventive concept, this application also provides a water dispenser control device for implementing the water dispenser control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more embodiments of the water dispenser control device provided below can be found in the limitations of the water dispenser control method described above, and will not be repeated here.
[0091] In one embodiment, such as Figure 7 As shown, a water dispenser control device is provided, comprising:
[0092] The temperature acquisition module 200 is used to acquire the initial temperature of the water to be dispensed in the water dispenser and the target water temperature. The temperature regulation component includes a heating component or a cooling component.
[0093] The temperature difference calculation module 400 is used to calculate the absolute value of the temperature difference between the initial temperature and the target outlet water temperature.
[0094] Control module 600 is used to activate the temperature regulation component in the water dispenser when the absolute value of the temperature difference is not less than the preset temperature difference threshold.
[0095] The delayed water output module 800 is used to determine the delay time based on the absolute value of the temperature difference, and after waiting for the delay time, it controls the water to be output to exchange heat with the temperature regulation component before water is output.
[0096] The aforementioned water dispenser control device acquires the initial temperature of the water to be dispensed and the target water temperature. The temperature regulation component includes a heating component or a cooling component. It calculates the absolute value of the temperature difference between the initial temperature and the target water temperature; activates the temperature regulation component in the water dispenser; determines a delay time based on the absolute value of the temperature difference, and after waiting for the delay time, controls the water to be dispensed to exchange heat with the temperature regulation component before dispensing water. In this entire scheme, on the one hand, the temperature regulation component is directly activated, allowing for rapid temperature adjustment; on the other hand, the delay time corresponding to the absolute value of the temperature difference allows the temperature regulation component to accumulate a suitable heat exchange value to exchange heat with the water to be dispensed. Water is dispensed only after the heat exchange is completed, ensuring that the water temperature reaches the target temperature. Therefore, it can achieve instant hot / cold water control, including the "first cup of water."
[0097] In one embodiment, the control module 600 is further configured to determine the operating power of the temperature regulating component based on the absolute value of the temperature difference when the absolute value of the temperature difference is not less than a preset temperature difference threshold; and to start the temperature regulating component based on the operating power, wherein the operating power is positively correlated with the absolute value of the temperature difference.
[0098] In one embodiment, the control module 600 is further configured to determine the operating level of the temperature regulating component based on the absolute value of the temperature difference if the absolute value of the temperature difference is not less than a preset temperature difference threshold; and to obtain the preset operating power corresponding to the operating level.
[0099] In one embodiment, the control module 600 is further configured to acquire a preset temperature error coefficient; and determine a preset temperature difference threshold based on the preset temperature error coefficient and the target outlet water temperature.
[0100] In one embodiment, the control module 600 is further configured to control the water to be discharged to be discharged directly when the absolute value of the temperature difference is less than a preset temperature difference threshold.
[0101] In one embodiment, the delayed water output module 800 is also used to acquire the mass of the water to be output; and to determine the delay time based on the effective power of the temperature regulation component, the mass of the water to be output, and the absolute value of the temperature difference.
[0102] Each module in the aforementioned water dispenser control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0103] In addition, this application also provides a water dispenser, including a controller, a temperature regulating component, and a water dispensing control component. The controller is connected to the temperature regulating component and the water dispensing control component respectively, and the controller uses the above-mentioned water dispenser control method to control the operation of the temperature regulating component and the water dispensing control component.
[0104] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 8 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores preset data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a water dispenser control method.
[0105] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0106] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0107] The initial temperature of the water to be dispensed from the water dispenser and the target water temperature are obtained. The temperature control components include heating components or cooling components.
[0108] Calculate the absolute value of the temperature difference between the initial temperature and the target effluent temperature;
[0109] Activate the temperature control component in the water dispenser;
[0110] The delay time is determined based on the absolute value of the temperature difference, and after waiting for the delay time, the water to be discharged is controlled to exchange heat with the temperature regulation component before being discharged.
[0111] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0112] If the absolute value of the temperature difference is not less than the preset temperature difference threshold, the working power of the temperature regulating component is determined based on the absolute value of the temperature difference; the temperature regulating component is activated based on the working power, and the working power is positively correlated with the absolute value of the temperature difference.
[0113] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0114] If the absolute value of the temperature difference is not less than the preset temperature difference threshold, the operating level of the temperature regulating component is determined based on the absolute value of the temperature difference; and the preset operating power corresponding to the operating level is obtained.
[0115] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0116] Obtain the preset temperature error coefficient; determine the preset temperature difference threshold based on the preset temperature error coefficient and the target outlet water temperature.
[0117] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0118] If the absolute value of the temperature difference is less than the preset temperature difference threshold, the water to be discharged will be controlled to be discharged directly.
[0119] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0120] Obtain the mass of the water to be discharged; determine the delay time based on the effective power of the temperature regulation component, the mass of the water to be discharged, and the absolute value of the temperature difference.
[0121] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0122] The initial temperature of the water to be dispensed from the water dispenser and the target water temperature are obtained. The temperature control components include heating components or cooling components.
[0123] Calculate the absolute value of the temperature difference between the initial temperature and the target effluent temperature;
[0124] Activate the temperature control component in the water dispenser;
[0125] The delay time is determined based on the absolute value of the temperature difference, and after waiting for the delay time, the water to be discharged is controlled to exchange heat with the temperature regulation component before being discharged.
[0126] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0127] If the absolute value of the temperature difference is not less than the preset temperature difference threshold, the working power of the temperature regulating component is determined based on the absolute value of the temperature difference; the temperature regulating component is activated based on the working power, and the working power is positively correlated with the absolute value of the temperature difference.
[0128] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0129] If the absolute value of the temperature difference is not less than the preset temperature difference threshold, the operating level of the temperature regulating component is determined based on the absolute value of the temperature difference; and the preset operating power corresponding to the operating level is obtained.
[0130] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0131] Obtain the preset temperature error coefficient; determine the preset temperature difference threshold based on the preset temperature error coefficient and the target outlet water temperature.
[0132] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0133] If the absolute value of the temperature difference is less than the preset temperature difference threshold, the water to be discharged will be controlled to be discharged directly.
[0134] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0135] Obtain the mass of the water to be discharged; determine the delay time based on the effective power of the temperature regulation component, the mass of the water to be discharged, and the absolute value of the temperature difference.
[0136] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0137] The initial temperature of the water to be dispensed from the water dispenser and the target water temperature are obtained. The temperature control components include heating components or cooling components.
[0138] Calculate the absolute value of the temperature difference between the initial temperature and the target effluent temperature;
[0139] Activate the temperature control component in the water dispenser;
[0140] The delay time is determined based on the absolute value of the temperature difference, and after waiting for the delay time, the water to be discharged is controlled to exchange heat with the temperature regulation component before being discharged.
[0141] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0142] If the absolute value of the temperature difference is not less than the preset temperature difference threshold, the working power of the temperature regulating component is determined based on the absolute value of the temperature difference; the temperature regulating component is activated based on the working power, and the working power is positively correlated with the absolute value of the temperature difference.
[0143] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0144] If the absolute value of the temperature difference is not less than the preset temperature difference threshold, the operating level of the temperature regulating component is determined based on the absolute value of the temperature difference; and the preset operating power corresponding to the operating level is obtained.
[0145] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0146] Obtain the preset temperature error coefficient; determine the preset temperature difference threshold based on the preset temperature error coefficient and the target outlet water temperature.
[0147] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0148] If the absolute value of the temperature difference is less than the preset temperature difference threshold, the water to be discharged will be controlled to be discharged directly.
[0149] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0150] Obtain the mass of the water to be discharged; determine the delay time based on the effective power of the temperature regulation component, the mass of the water to be discharged, and the absolute value of the temperature difference.
[0151] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0152] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0153] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0154] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A water dispenser control method, characterized in that, The method includes: Obtain the initial temperature of the water to be dispensed from the water dispenser, as well as the target water temperature. Calculate the absolute value of the temperature difference between the initial temperature and the target effluent temperature; Activate the temperature control component in the water dispenser, wherein the temperature control component includes a heating component or a cooling component; The delay time is determined based on the absolute value of the temperature difference, and after waiting for the delay time, the water to be discharged is controlled to exchange heat with the temperature regulating component before being discharged. The step of determining the delay time based on the absolute value of the temperature difference includes: obtaining the mass of water to be discharged; and determining the delay time based on the effective power of the temperature regulating component, the mass of water to be discharged, and the absolute value of the temperature difference. The activation of the temperature regulation component in the water dispenser includes: acquiring a preset temperature error coefficient; determining a preset temperature difference threshold based on the preset temperature error coefficient and the target outlet water temperature; activating the temperature regulation component in the water dispenser if the absolute value of the temperature difference is not less than the preset temperature difference threshold; and the operating power of the temperature regulation component is positively correlated with the absolute value of the temperature difference.
2. The method according to claim 1, characterized in that, The temperature control component in the water dispenser also includes: If the absolute value of the temperature difference is not less than the preset temperature difference threshold, then the operating power of the temperature regulating component is determined based on the absolute value of the temperature difference. The temperature regulation component is activated according to the operating power.
3. The method according to claim 2, characterized in that, If the absolute value of the temperature difference is not less than a preset temperature difference threshold, then determining the operating power of the temperature regulation component based on the absolute value of the temperature difference includes: If the absolute value of the temperature difference is not less than the preset temperature difference threshold, then the operating level of the temperature regulating component is determined based on the absolute value of the temperature difference. Obtain the preset working power corresponding to the working level.
4. The method according to claim 2 or 3, characterized in that, Also includes: If the absolute value of the temperature difference is less than the preset temperature difference threshold, then the water to be discharged will be controlled to be discharged directly.
5. A water dispenser control device, characterized in that, The device includes: The temperature acquisition module is used to acquire the initial temperature of the water to be dispensed in the water dispenser and the target water temperature. The temperature regulation component includes a heating component or a cooling component. The temperature difference calculation module is used to calculate the absolute value of the temperature difference between the initial temperature and the target outlet water temperature; The control module is used to activate the temperature regulation component in the water dispenser; The delayed water output module is used to determine the delay time based on the absolute value of the temperature difference, and after waiting for the delay time, control the water to be output to exchange heat with the temperature regulation component before outputting the water. The step of determining the delay time based on the absolute value of the temperature difference includes: obtaining the mass of water to be discharged; and determining the delay time based on the effective power of the temperature regulating component, the mass of water to be discharged, and the absolute value of the temperature difference. The control module is also used to obtain a preset temperature error coefficient; determine a preset temperature difference threshold based on the preset temperature error coefficient and the target outlet water temperature; if the absolute value of the temperature difference is not less than the preset temperature difference threshold, then activate the temperature adjustment component in the water dispenser; the working power of the temperature adjustment component is positively correlated with the absolute value of the temperature difference.
6. The apparatus according to claim 5, characterized in that, The control module is also used to determine the operating power of the temperature regulating component based on the absolute value of the temperature difference when the absolute value of the temperature difference is not less than the preset temperature difference threshold; and to start the temperature regulating component based on the operating power.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
9. A water dispenser, characterized in that, The device includes a controller, a temperature regulating component, and a water dispensing control component. The controller is connected to both the temperature regulating component and the water dispensing control component. The controller uses the water dispenser control method as described in any one of claims 1-4 to control the operation of the temperature regulating component and the water dispensing control component.
Citation Information
Patent Citations
Water dispenser with quantitative and constant-temperature water discharging function and control method for water discharging of water dispenser
CN103622554A
Method for controlling temperature of discharged water, system for controlling temperature of discharged water and refrigerator
CN107588592A
Water dispenser and control method thereof
CN107981732A