Control method and device of drinking water equipment, electronic equipment and storage medium
By acquiring and normalizing the current water temperature of the drinking water equipment, the target adjustment parameters of the temperature controller are determined, which solves the problem of the water temperature exceeding the preset value during the heating process of the drinking water equipment and achieves safe and controllable water temperature control.
Patent Information
- Application Number
- CN202410119475.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-26
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2044-01-26
AI Technical Summary
Existing water supply equipment may cause the water temperature to exceed the preset value during the heating process, resulting in harm to users, and the response is not timely.
By acquiring the current water temperature of the drinking water equipment, obtaining initial state data and performing normalization processing, the target adjustment parameters of the temperature controller are determined, and the water temperature is controlled within the preset range.
Effectively control the water temperature of drinking water equipment, protect user safety, and improve the user experience.
Smart Images

Figure CN118021160B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of water heaters, and more particularly to a control method, device, electronic equipment, and storage medium for drinking water equipment. Background Technology
[0002] In daily life, drinking water equipment is widely used as a control device that can heat or cool water. For example, when using drinking water equipment, users can set different water temperatures according to their own needs. The drinking water equipment will control the drinking water inside the equipment based on real-time temperature information so that users can get drinking water at the ideal temperature in a timely manner.
[0003] In related technologies, in order to ensure that the water dispenser can meet the user's water needs in a timely manner, the power of the water dispenser is usually set to a high power. However, if the temperature rises too quickly, it may cause the water dispenser to not respond in time and cause harm to the user. Summary of the Invention
[0004] This invention provides a control method, device, electronic equipment, and storage medium for a drinking water device. The method can control the water outlet temperature of the drinking water device to not exceed a preset water outlet temperature, thereby improving the user experience.
[0005] Firstly, a method for controlling a drinking water device is provided, including:
[0006] Obtain the current water temperature when the water dispenser is in heating mode;
[0007] If the current outlet water temperature is greater than the preset temperature, then obtain the initial state data corresponding to the current outlet water temperature;
[0008] The initial state data is normalized to obtain intervention data;
[0009] Based on the intervention data, the target adjustment parameters corresponding to the temperature control device in the drinking water equipment are determined;
[0010] Based on the target adjustment parameters, the water outlet temperature of the drinking water device is controlled to be at the target water outlet temperature.
[0011] Secondly, a control device for a drinking water equipment is provided, the device comprising:
[0012] The acquisition module is used to acquire the current water temperature of the water dispenser when it is in the heating water dispensing mode;
[0013] The initial state data acquisition module is used to acquire the initial state data corresponding to the current outlet water temperature if the current outlet water temperature is greater than the preset temperature.
[0014] The processing module is used to normalize the initial state data to obtain intervention data;
[0015] The determining module is used to determine the target adjustment parameters corresponding to the temperature control device in the drinking water equipment based on the intervention data;
[0016] The control module is used to control the water outlet temperature of the drinking water device to be at the target outlet temperature based on the target adjustment parameters.
[0017] Thirdly, an electronic device is provided, the electronic device comprising:
[0018] Memory, used to store executable program code;
[0019] A processor is configured to call and run the executable program code from the memory, causing the electronic device to perform the control method of the drinking device as described in any of the above.
[0020] Fourthly, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program, which, when executed, implements the control method for the drinking water device as described in any of the above claims.
[0021] The beneficial effects of the technical solutions provided by some embodiments of the present invention include at least the following: The control method for the drinking water device provided by the present invention obtains the current water outlet temperature of the drinking water device in the heating water outlet mode; if the current water outlet temperature is greater than a preset temperature, it obtains the initial state data corresponding to the current water outlet temperature; it obtains intervention data by normalizing the initial state data; it determines the target adjustment parameter corresponding to the temperature control device in the drinking water device based on the intervention data; and it controls the water outlet temperature of the drinking water device to be at the target water outlet temperature based on the target adjustment parameter, thereby controlling the water outlet temperature of the drinking water device not to exceed the water temperature required by the user, protecting the user's water safety, and improving the user experience. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of the first type of control method for a drinking water device provided in an embodiment of the present invention.
[0024] Figure 2This is a schematic diagram of the second process of the control method for the drinking water equipment provided in the embodiments of the present invention.
[0025] Figure 3 This is a schematic diagram of the third process of the control method for drinking water equipment provided in the embodiments of the present invention.
[0026] Figure 4 This is a schematic diagram of the fourth process of the control method for drinking water equipment provided in the embodiments of the present invention.
[0027] Figure 5 This is a fifth flowchart illustrating the control method for a drinking water device provided in this embodiment of the invention.
[0028] Figure 6 This is a schematic diagram of the control device for the drinking water equipment provided in an embodiment of the present invention.
[0029] Figure 7 This is a schematic diagram of the first structure of the electronic device provided in the embodiment of the present invention.
[0030] Figure 8 This is a schematic diagram of a second structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation
[0031] To make the features and advantages of the present invention more apparent and understandable, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0032] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0033] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
[0034] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the preferred order of the embodiments. Please refer to [link / reference]. Figure 1 , Figure 1This is a schematic flowchart of the first embodiment of the control method for a drinking water device provided by the present invention. The specific flow of the control method for the drinking water device is as follows:
[0035] It should be noted that the water dispensing device in this invention can be a water dispenser, wherein the first temperature control device is a heating element and the second temperature control device is a water pump. To ensure that users are not harmed by water temperature exceeding the boiling point due to system temperature control delay, which could cause liquid splashing or bubbles, this invention proposes a method for controlling the water temperature of the water dispenser. This method mainly involves recording the maximum water temperature and the abnormal water temperature difference within the time required for the water to heat up, thereby obtaining a final intervention value. This intervention value is then used to determine the operating power of the temperature control device in the next water dispensing stage to ensure that the water temperature does not exceed the boiling point.
[0036] S101, Obtain the current water temperature when the water dispenser is in heating water mode.
[0037] In this embodiment, in order to control the water temperature of the drinking water device, it is necessary to obtain the water temperature at the outlet of the drinking water device in the heating water mode. In the heating water mode, the heating element heats the water temperature according to the temperature parameters preset by the user.
[0038] Specifically, a temperature sensor is installed at the water outlet of the water dispenser to monitor the water temperature in real time. Then, the heating power adjustment parameters of the heating element or the driving voltage adjustment parameters of the water pump are controlled by the temperature controller and the user's preset temperature parameters. After adjustment, the controller will continuously monitor the water temperature at the outlet and compare the actual water temperature with the set target temperature. If the actual water temperature is lower than the set target temperature, the controller will continue to adjust the temperature control device to stabilize the water temperature at the set target temperature.
[0039] S102, if the current outlet water temperature is greater than the preset temperature, then obtain the initial state data corresponding to the current outlet water temperature.
[0040] It should be noted that in this embodiment, it is necessary to detect whether there is abnormal data in the current water temperature. That is, if the current water temperature is greater than the preset temperature, the parameters of the temperature control device of the water drinking equipment are adjusted. If there is no abnormal data, the water drinking equipment is set to the default state to achieve the effect of saving.
[0041] In this embodiment, when the control system of the water dispenser detects that the temperature data of the temperature sensor at the water outlet is greater than the user's preset temperature, it will acquire the current temperature data of the water dispenser to adjust the water temperature. The initial state data includes the time required to heat to the target outlet water temperature, the highest temperature value during the required time, and the overflow temperature difference. The overflow temperature difference refers to the maximum abnormal temperature value that first drops back to the target outlet water temperature after the outlet water temperature exceeds the boiling point of water. The abnormal temperature value is calculated by the difference between the abnormal temperature value and the boiling point of water.
[0042] Specifically, the user-preset temperature threshold is obtained through the user interface or device configuration file of the water dispenser. If no pre-set temperature threshold is available, the system default temperature threshold can be used. When the outlet water temperature reaches the temperature threshold, the outlet water temperature data from the temperature sensor is obtained to monitor the real-time outlet water temperature and calculate the time required for the current temperature to reach the target outlet water temperature. During this process, a loop structure can be used to continuously check whether the current outlet water temperature has reached the set temperature threshold. If the current outlet water temperature exceeds or equals the temperature threshold, the current heating power of the heating element is obtained through the sensor or device parameters. Based on the water temperature difference and heating power, a physical model or empirical formula is used to calculate the heating time required for the current outlet water temperature to reach the target outlet water temperature.
[0043] The power, flow rate, and temperature of the heating element during the time required to heat the outlet water are obtained. Empirical formulas or physical models are used to calculate the temperature change during the heating process. These formulas and models typically include the heat capacity and thermal conductivity of the heating element. A temperature curve can be generated by measuring the temperature change during the heating process. The slope of the temperature curve at different time points is calculated using derivatives and partial derivatives from calculus, thereby obtaining the highest temperature value during the heating process.
[0044] The boiling point of water is used as the maximum threshold for the outlet water temperature. A temperature sensor monitors the outlet water temperature in real time, detecting the sensor's data while the heating element is in the heating process. When the outlet water temperature first reaches the preset temperature, it is determined whether the system is still in heating mode. If so, an abnormal temperature data is considered to have occurred, and the highest temperature among the abnormal temperature data is recorded. The difference between the recorded highest temperature and the maximum threshold for the outlet water temperature is calculated to obtain the overflow temperature difference.
[0045] S103, normalize the initial state data to obtain intervention data.
[0046] In this embodiment, it is necessary to determine the state of the heating time required to reach the preset temperature, the highest temperature value during the heating process, and the overflow temperature difference, so as to obtain the corresponding intervention value. The value of the intervention value is between 0 and 1, which represents the current heating rate intervention type and intensity. For example, a value greater than 0.5 is defined as positive intervention, that is, the heating rate needs to be accelerated; a value less than 0.5 is defined as negative intervention, that is, the heating rate needs to be slowed down; and a value equal to 0.5 is defined as the heating rate is relatively ideal and no adjustment is needed.
[0047] Specifically, the sigmoid function is used to normalize the heating time, maximum temperature, and overflow temperature difference to map them to a range between 0 and 1. The sigmoid function is a commonly used non-linear function that can map any real number to the range of 0 to 1. By applying the sigmoid function to the initial state data, the data can be limited to a certain range, making it easier to process and compare. The closer the output value of the sigmoid function is to 0, the smaller the initial state data; the closer the output value is to 1, the larger the initial state data. The sigmoid function can be expressed as: sigmoid(x) = 1 / (1 + exp(-x)), where x is the input value. This function obtains the output value by substituting x into the exponential function exp(-x), adding 1, and then taking its reciprocal. Using the initial state data as input data, the corresponding output value of the sigmoid function can be obtained. For example, substituting the heating time m1 into the formula yields... Where a1 is a constant, which can be determined according to actual needs.
[0048] S104. Based on the intervention data, determine the target adjustment parameters corresponding to the temperature control device in the drinking water equipment.
[0049] In this embodiment, after obtaining the intervention data of the initial temperature data, the intervention data is evaluated one by one using the sigmoid function to obtain the temperature rise rate intervention value. These temperature rise rate intervention values can respectively correspond to three different effect values of the initial temperature data, and are used to adjust the temperature control device.
[0050] Specifically, the intervention data is first normalized and mapped to a range [0,1] to ensure that the input to the sigmoid function is within a reasonable range. For each intervention data point, the sigmoid function can be used for state evaluation, with the formula: f(x) = 1 / (1 + e^(-x)), where x is the input value. m1 represents the intervention value for the required heating time of the water dispenser, corresponding to the temperature rise intervention value M1. m2 represents the current maximum temperature value of the device, and the evaluation result of the corresponding temperature rise intervention value is defined as M2. m3 represents the overflow temperature difference data of the device, and the evaluation result of the temperature rise intervention value is defined as M3. Finally, the temperature control strategy is adjusted based on these temperature rise intervention values. For example, the final target adjustment parameters of the heating element can be determined based on the average value of M1, M2, and M3 to control the changes in the operating parameters of the corresponding temperature controller.
[0051] S105, based on the target adjustment parameters, controls the water outlet temperature of the drinking water equipment to be at the target water outlet temperature.
[0052] Specifically, based on the target adjustment parameters, the control output required for the target heating power of the heating element is obtained and converted into a corresponding control signal. The control system of the water dispenser controls the voltage of the heating element according to the control signal. For example, if the control output is to control the heating power of the heating element, it needs to be converted into voltage, such as adjusting the power output of the heating element to control the outlet water temperature. Then, the outlet water temperature of the water dispenser is continuously monitored, and the target adjustment parameters corresponding to the heating element are regenerated based on the difference between the current outlet water temperature and the target temperature to generate a new target heating power to control the outlet water temperature at the target outlet water temperature.
[0053] As can be seen from the above, by detecting and judging the temperature data of the water dispenser in the heating water dispensing mode, and obtaining intervention data based on the obtained detection data, the target adjustment parameters of the heating tube are obtained based on the intervention data. By controlling the heating power of the heating tube and / or the driving voltage of the water pump through the target adjustment parameters, the water temperature of the water dispenser can be controlled to not exceed the preset water temperature, thereby protecting the user's water safety.
[0054] Optional, please refer to Figure 2 , Figure 2 This is a schematic diagram of a second flow chart of the control method for a drinking water device provided in an embodiment of the present invention. The specific flow of the control method for the drinking water device may include:
[0055] S201, monitor whether the current outlet water temperature is greater than the first preset temperature, wherein the first preset temperature is less than the preset temperature.
[0056] In this embodiment, the detection stops when the water dispenser is in standby or not in the hot water dispensing mode to achieve the technical effect of energy saving. The first preset temperature can be set by the user. When the current water temperature of the water dispenser reaches the first preset temperature, it is determined that the water dispenser is in the hot water dispensing mode.
[0057] Specifically, for example, the user sets the first preset temperature through the control panel of the water dispenser. For example, the first preset temperature is set to 40 degrees. The water dispenser will periodically obtain data from the temperature sensor in the water dispenser to monitor the current water temperature. When the current water temperature is detected to be equal to or slightly higher than the first preset temperature, for example, the current water temperature is 41 degrees, the water dispenser is determined to be in water dispensing mode. During this process, the system will continuously monitor the water temperature and turn the heating element on or off as needed to keep the water temperature stable around the first preset temperature.
[0058] S202, if greater than, then obtain the heating time required to heat the current outlet water temperature to the target outlet water temperature, and obtain the heating time status data.
[0059] Specifically, the water dispenser's temperature sensor monitors the current water temperature in real time. Users can set a target water temperature through the dispenser's control panel or other methods, for example, setting the target water temperature to 90 degrees Celsius. Based on the difference between the current water temperature and the target water temperature, the heating time can be calculated using the following formula:
[0060] Heating time = (target temperature - current temperature) / heating rate
[0061] The heating rate refers to the current heating power of the heating element. For example, to calculate the power required to heat water from 20 degrees to 90 degrees, assuming the heating rate corresponding to the power of the heating element is set to 20 degrees / s, then according to the formula: heating time = (target temperature - current temperature) / heating rate = (90 - 20) / 20, the heating time is 3.5 seconds.
[0062] As can be seen from the above, by comparing the current outlet water temperature with the first preset temperature, the heating time required to heat to the target outlet water temperature can be obtained. This can effectively monitor whether the current outlet water temperature has reached the preset requirements and calculate the heating time required, thereby optimizing the heating process and improving heating efficiency.
[0063] Optional, please refer to Figure 3 , Figure 3 This is a schematic diagram of a second flow chart of the control method for a drinking water device provided in an embodiment of the present invention. The specific flow of the control method for the drinking water device may include:
[0064] S301, acquire multiple intermediate water outlet temperatures of the water supply equipment at preset time intervals during the heating time.
[0065] Specifically, a preset time interval is set during the heating time, for example, recording the water temperature every 10 seconds. During the heating time, the current water temperature is acquired and recorded at preset time intervals until the heating time ends. Then, the water temperature data for each moment during the heating process is obtained according to the preset time intervals. For example, if the water dispenser needs to heat the water to 60 degrees Celsius, with a preset time interval of 300 milliseconds and a heating time of 60 seconds, recording the water temperature every 300 milliseconds during the heating process yields: Time: 0 seconds, Temperature: 20 degrees Celsius; Time: 0.3 seconds, Temperature: 25 degrees Celsius; Time: 0.6 seconds, Temperature: 30 degrees Celsius… Time: 60 seconds, Temperature: 60 degrees Celsius.
[0066] S302, obtain the maximum outlet water temperature among multiple intermediate outlet water temperatures, and obtain outlet water temperature status data.
[0067] Specifically, through the formula Calculate the slope of the outlet water temperature change within each preset heating time interval, where dT 出水 Let dt be the current outlet water temperature and dt be the current time. By calculating the slope values at different time points, we can obtain the slope k of the outlet water temperature rise curve. If the slope value gradually increases, it indicates that the outlet water temperature rise rate is accelerating; if the slope value gradually decreases, it indicates that the outlet water temperature rise rate is slowing down. When the temperature reaches the target temperature, we stop differentiating and find the maximum slope value within the heating time, which represents the maximum outlet water temperature.
[0068] As can be seen from the above, by obtaining multiple intermediate water outlet temperatures at preset time intervals during the heating time of the water dispenser, and obtaining the maximum water outlet temperature among them, the water outlet temperature status data can be obtained. This achieves real-time monitoring of the water outlet temperature status of the water dispenser during the heating process, thereby enabling timely detection of abnormal water outlet data.
[0069] Optional, please refer to Figure 4 , Figure 4 This is a schematic diagram of a second flow chart of the control method for a drinking water device provided in an embodiment of the present invention. The specific flow of the control method for the drinking water device may include:
[0070] S401, monitor whether the maximum outlet water temperature is in a heating state after reaching the target outlet water temperature.
[0071] Specifically, the system obtains real-time water temperature data from the internal temperature sensor of the water dispenser. A status flag is set to indicate whether the water dispenser is in a heating state, with an initial value of False. Then, a timer or polling method is used to read the temperature sensor data at regular intervals and compare the read temperature data with the current maximum water temperature to update the current maximum water temperature in real time. If the current maximum water temperature is greater than the target water temperature, the flag is set to True, indicating that the water dispenser is in a heating state.
[0072] S402, if so, generate an abnormal outlet water temperature and determine whether the abnormal outlet water temperature is greater than the preset temperature.
[0073] Specifically, the system acquires real-time water temperature data from the temperature sensor and transmits the monitored data to the water dispenser's control system. The control system processes and analyzes the temperature data, using a set threshold to determine if there is an abnormal water temperature. For example, if the preset temperature is set to 100 degrees Celsius, the system reads the temperature value at the water outlet from the sensor or the device interface. If the water temperature exceeds the preset temperature of 100 degrees Celsius, it is considered an abnormal water temperature. If an abnormal water temperature exceeding the preset temperature (i.e., exceeding the boiling point of water) is detected, appropriate measures must be taken to handle the abnormal situation, such as stopping the heating operation, triggering an alarm system, or activating safety protection devices.
[0074] S403, if so, calculate the difference between the abnormal outlet water temperature and the preset temperature to obtain the overflow temperature difference status data.
[0075] Specifically, according to formula T 差值 =T 沸点 -T 出水max The outlet water temperature T can be obtained. 出水 The abnormal outlet water temperature T before it first drops to the target outlet temperature 出水max With preset temperature T 沸点 The difference between them, for example, if the preset temperature is 100 degrees, the target outlet water temperature is 80 degrees, and the highest temperature before the first drop is known to be 85 degrees, then according to the formula: T 差值 =T 沸点 -T 出水max The temperature difference T can be calculated. 差值 =100 degrees - 85 degrees = 15 degrees.
[0076] As can be seen from the above, by monitoring whether the maximum outlet water temperature is in a rising state, generating abnormal outlet water temperatures, and determining whether the preset temperature is exceeded, and further calculating the overflow temperature difference status data, it is helpful to further identify abnormal outlet water conditions in a timely manner.
[0077] Optional, please refer to Figure 5 , Figure 5 This is a schematic diagram of a second flow chart of the control method for a drinking water device provided in an embodiment of the present invention. The specific flow of the control method for the drinking water device may include:
[0078] S501, obtain the heating time required to heat the current outlet water temperature to the target outlet water temperature, and obtain heating time status data.
[0079] Please refer to step S202 for step S501, which will not be repeated here.
[0080] S502, obtain the maximum outlet water temperature among multiple intermediate outlet water temperatures, and obtain outlet water temperature status data.
[0081] Please refer to step S301 for step S502, which will not be repeated here.
[0082] S503 calculates the difference between the abnormal outlet water temperature and the preset temperature to obtain the overflow temperature difference status data.
[0083] Please refer to step S402 for step S503, which will not be repeated here.
[0084] S504 normalizes the heating time status data, outlet water temperature status data, and overflow temperature difference status data to obtain intervention data.
[0085] In this embodiment, by evaluating each intervention data point using the sigmoid function, the heating rate intervention value can be obtained. These heating rate intervention values can correspond to three different effect values of the initial temperature data, which are used to adjust the parameters of the temperature control device.
[0086] Specifically, the heating time is substituted into the sigmoid function formula to obtain the intervention data. Substituting the highest temperature value into the sigmoid function formula yields the intervention data. Substituting the overflow temperature difference into the sigmoid function formula yields the intervention data. a1, a2, and a3 are constants that can be selected according to actual needs, such as a1 = 1.2, a2 = 2.5, a3 = 1.5, etc.
[0087] After obtaining the three intervention values m1, m2, and m3, the intervention values for the heating rate are calculated using the sigmoid function: M1 = sigmoid4(m1), M2 = sigmoid5(m2), and M3 = sigmoid6(m3). The values of M1, M2, and M3 are all within the range of [0,1], representing the type and intensity of the intervention. Values greater than 0.5 are defined as positive intervention, meaning the heating rate needs to be increased; values less than 0.5 are defined as negative intervention, meaning the heating rate needs to be decreased; and values equal to 0.5 indicate an ideal heating rate that does not require adjustment.
[0088] S505, Based on the intervention data, determine the heating power adjustment parameters corresponding to the first temperature controller and / or the outlet flow rate adjustment parameters corresponding to the second temperature controller.
[0089] Specifically, the average value of M1, M2, and M3 is taken to obtain M. Where M is the final intervention value. Its meaning is the same as M1, M2, and M3: greater than 0.5 indicates a positive intervention, meaning the heating rate needs to be increased; less than 0.5 indicates a negative intervention, meaning the heating rate needs to be decreased; and equal to 0.5 indicates a relatively ideal heating rate, requiring no adjustment. This is achieved through the formula k. p =kM+b gives the heating power adjustment parameter k of the heating element. p , through k f =kM+b gives the heating power adjustment parameter k of the water pump. f , where k P k F This is the power and pump drive correction value for the user's next boiling water dispensing. The drive power will be multiplied by k when the user next dispenses boiling water. P The output is then sent to the instant heating pipe; the water pump drive voltage will be multiplied by a coefficient k. F Then it is output to the water pump.
[0090] S506, determine the target heating power corresponding to the first temperature controller based on the heating power adjustment parameters; and / or
[0091] The target driving voltage for the second temperature controller is determined by adjusting the parameters based on the water flow rate.
[0092] Specifically, for example, assuming the target heating power ranges from [0, 100], if k P =0.8, then the target heating power can be calculated as 0.8 * 100 = 80, according to k f The target drive voltage of the water pump is calculated. For example, assuming the target drive voltage range is [0, 10], if k f=0.6, then the target driving voltage can be calculated as 0.6 * 10 = 6. After obtaining the target heating power, the heating tube will adjust its power to reduce the heating power for the next water output, or control the water pump to decrease or increase the flow rate of the next water output according to the target driving voltage.
[0093] S507, based on the target heating power and / or the target driving voltage, control the water outlet temperature of the drinking water device to be at the target water outlet temperature.
[0094] Please refer to step S105 for step S507, which will not be repeated here.
[0095] As shown above, by detecting and judging the temperature data of the water dispenser in heating water mode, intervention data is obtained based on the detected data. The target adjustment parameters of the heating element are then calculated based on the intervention data, and the final intervention value is obtained. The final intervention value is used to obtain the heating power adjustment parameters corresponding to the first temperature controller and / or the water flow rate adjustment parameters corresponding to the second temperature controller. After obtaining the heating power adjustment parameters and / or water flow rate adjustment parameters, the water temperature of the water dispenser is controlled to be at the target water temperature. This allows for precise control data of the heating element and / or water pump, further ensuring that the water temperature of the water dispenser does not exceed the preset water temperature, thus protecting the user's water safety.
[0096] In addition, embodiments of the present invention also provide a control device for a drinking water device. Please refer to [link / reference]. Figure 6 , Figure 6 This is a schematic diagram of the structure of the control device for a drinking water equipment provided in an embodiment of the present invention. The control device 600 for the drinking water equipment may include an acquisition module 601, an initial state data acquisition module 602, a processing module 603, a determination module 604, and a control module 605, as detailed below:
[0097] The acquisition module 601 is used to acquire the current water temperature when the water dispenser is in the heating water dispensing mode;
[0098] The initial state data acquisition module 602 is used to acquire the initial state data corresponding to the current outlet water temperature if the current outlet water temperature is greater than the preset temperature.
[0099] Processing module 603 is used to normalize the initial state data to obtain intervention data;
[0100] The determination module 604 is used to determine the target adjustment parameters corresponding to the temperature control device in the drinking water equipment based on the intervention data;
[0101] The control module 605 is used to control the water outlet temperature of the drinking water equipment to be at the target water outlet temperature based on the target adjustment parameters.
[0102] In some embodiments, the initial state data acquisition module 602 further includes a detection module, which can be used to: monitor whether the current outlet water temperature is greater than a first preset temperature, wherein the first preset temperature is less than a preset temperature.
[0103] Optionally, the initial state data acquisition module 602 further includes a heating time state data acquisition module, which can be used to: if the initial state data is greater than the target temperature, obtain the heating time required to heat the current outlet water temperature to the target outlet water temperature, and obtain heating time state data.
[0104] In some embodiments, the initial state data acquisition module 602 further includes a water outlet temperature acquisition module, which can be used to: acquire multiple intermediate water outlet temperatures of the drinking water device at preset time intervals during the heating time.
[0105] Optionally, the initial state data acquisition module 602 further includes an outlet water temperature state data acquisition module, which can be used to: acquire the maximum outlet water temperature among multiple intermediate outlet water temperatures to obtain outlet water temperature state data.
[0106] In some embodiments, the initial state data acquisition module 602 further includes a second detection module, which can be used to monitor whether the maximum outlet water temperature is in a heating state after reaching the target outlet water temperature.
[0107] Optionally, the initial state data acquisition module 602 further includes a generation module, which can be used to: generate an abnormal water temperature if so, and determine whether the abnormal water temperature is greater than a preset temperature.
[0108] Optionally, the initial state data acquisition module 602 also includes a calculation module, which can be used to: if so, calculate the difference between the abnormal outlet water temperature and the preset temperature to obtain the overflow temperature difference state data.
[0109] In some embodiments, the processing module 603 further includes an intervention data acquisition module, which can be used to: normalize the heating time status data, the outlet water temperature status data, and the overflow temperature difference status data to obtain intervention data.
[0110] In some embodiments, the determining module 604 further includes an adjustment parameter determining module, which can be used to: determine the heating power adjustment parameter corresponding to the first temperature controller and / or the outlet water flow rate adjustment parameter corresponding to the second temperature controller based on the intervention data.
[0111] In some embodiments, the control module 605 further includes a target heating power determination module, which can be used to: determine the target heating power corresponding to the first temperature controller based on the heating power adjustment parameters.
[0112] Optionally, the control module 605 further includes a target drive voltage determination module, which can be used to determine the target drive voltage corresponding to the second temperature controller based on the water flow rate adjustment parameters.
[0113] Optionally, the control module 605 also includes a water temperature control module, which can be used to control the outlet water temperature of the drinking water device to be at the target outlet water temperature based on the target heating power and / or target driving voltage.
[0114] In this embodiment, the control device 600 of the water dispenser acquires the current water temperature when the dispenser is in heating mode via an acquisition module 601; acquires initial state data corresponding to the current water temperature via an initial state data acquisition module 602 if the current water temperature is higher than a preset temperature; normalizes the initial state data via a processing module 603 to obtain intervention data; determines the target adjustment parameter corresponding to the temperature controller in the water dispenser based on the intervention data via a determination module 604; and controls the water temperature of the dispenser to be at the target water temperature based on the target adjustment parameter via a control module 605. This ensures that the water temperature of the dispenser does not exceed the preset water temperature, thereby improving the user experience.
[0115] This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described related method steps to implement the control method for a drinking water device provided in the above embodiment.
[0116] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0117] Since the instructions stored in the storage medium can execute the steps in the control method of any drinking water device provided in the embodiments of the present invention, the beneficial effects that the control method of any drinking water device provided in the embodiments of the present invention can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0118] Accordingly, this invention also provides an electronic device 700. Please refer to the figures. Figure 7This is a schematic diagram of the first structure of an electronic device provided in an embodiment of the present invention. The electronic device 700 includes a processor 701 and a memory 702. The processor 701 and the memory 702 are electrically connected.
[0119] The processor 701 is the control center of the electronic device 700. It connects various parts of the electronic device through various interfaces and lines. By running or calling computer programs stored in the memory 702 and calling data stored in the memory 702, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole.
[0120] The memory 702 can be used to store software programs and modules. The processor 701 executes various functional applications and controls the water drinking device by running the computer programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, computer programs required for at least one function, etc.; the data storage area may store data created according to the use of the electronic device, etc.
[0121] Furthermore, memory 702 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, memory 702 may also include a memory controller to provide processor 701 with access to memory 702.
[0122] In this embodiment, the processor 701 in the electronic device 700 loads the instructions corresponding to the processes of one or more computer programs into the memory 702 according to the following steps, and the processor 701 runs the computer programs stored in the memory 702 to realize various functions, as follows:
[0123] Obtain the current water temperature when the water dispenser is in heating mode;
[0124] If the current outlet water temperature is greater than the preset temperature, then obtain the initial state data corresponding to the current outlet water temperature;
[0125] The initial state data is normalized to obtain intervention data;
[0126] Based on the intervention data, the target adjustment parameters for the temperature control devices in the drinking water equipment are determined;
[0127] Based on the target adjustment parameters, the water outlet temperature of the drinking water equipment is controlled to be at the target outlet temperature.
[0128] In some embodiments, please refer to Figure 8 , Figure 8This is a schematic diagram of a second structure of the electronic device provided in an embodiment of the present invention. The electronic device 700 may include: a processor 701, a memory 702, a display screen 703, a camera assembly 704, an audio circuit 705, a sensor 706, and a power supply 707. The processor 701 is electrically connected to the display screen 703, the camera assembly 704, the audio circuit 705, the sensor 706, and the power supply 707.
[0129] The display screen 703 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of electronic devices, which can be composed of images, text, icons, videos, and any combination thereof.
[0130] The camera assembly 704 may include image processing circuitry, which may be implemented using hardware and / or software components and may include various processing units defining an image signal processing (ISP) pipeline. The image processing circuitry may include at least: multiple cameras, an image signal processor (ISP), control logic, and image memory. Each camera may include at least one or more lenses and an image sensor. The image sensor may include a color filter array (such as a Bayer filter). The image sensor acquires light intensity and wavelength information captured by each imaging pixel of the image sensor and provides a set of raw image data that can be processed by the image signal processor.
[0131] Audio circuitry 705 can be used to provide an audio interface between a user and an electronic device via a speaker or microphone. Audio circuitry 705 includes a microphone. The microphone is electrically connected to the processor 701. The microphone is used to receive voice information input by the user.
[0132] Sensor 706 is used to collect information about the electronic device itself, user information, or external environmental information. For example, sensor 706 may include one or more of the following sensors: vibration sensor, temperature sensor, distance sensor, magnetic field sensor, light sensor, acceleration sensor, fingerprint sensor, Hall sensor, position sensor, gyroscope, inertial sensor, attitude sensor, barometer, heart rate sensor, etc.
[0133] The power supply 707 is used to supply power to the various components of the electronic device 700. In some embodiments, the power supply 707 can be logically connected to the processor 701 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system.
[0134] In the embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0135] For the control device of the drinking water equipment in this embodiment of the invention, its functional modules can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0136] The control method, apparatus, electronic device, and storage medium of the drinking water equipment provided in the embodiments of the present invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention; at the same time, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A control method for a drinking water device, characterized in that, include: Obtain the current water temperature when the water dispenser is in heating mode; Monitor whether the current outlet water temperature is greater than the first preset temperature. If it is greater, obtain the heating time required to heat the current outlet water temperature to the target outlet water temperature, and obtain heating time status data. The water outlet temperature of the drinking water device is obtained at multiple intermediate water outlet temperatures at preset time intervals during the heating time. The maximum water outlet temperature among the multiple intermediate water outlet temperatures is obtained to obtain water outlet temperature status data. The system monitors whether the maximum outlet water temperature is in a rising state after reaching the target outlet water temperature. If so, an abnormal outlet water temperature is generated, and it is determined whether the abnormal outlet water temperature is greater than the preset temperature. If so, the difference between the abnormal outlet water temperature and the preset temperature is calculated to obtain overflow temperature difference status data. Wherein, the first preset temperature is less than the preset temperature. If the current outlet water temperature is greater than the preset temperature, then the initial state data recorded during the process of the water temperature rise of the drinking water device is obtained. The initial state data includes the heating time state data, the outlet water temperature state data, and the overflow temperature difference state data. Substituting the heating time state data into the sigmoid function formula yields the intervention data. Intervention data Substituting into the sigmoid function formula, we obtain the intervention value for the heating rate. The intervention data is obtained by substituting the effluent temperature data into the sigmoid function formula. Intervention data Substituting into the sigmoid function formula, we obtain the intervention value for the heating rate. The intervention data is obtained by substituting the overflow temperature difference status data into the sigmoid function formula. Intervention data Substituting into the sigmoid function formula, we obtain the intervention value for the heating rate. The temperature rise rate intervention value is obtained. The heating rate intervention value The heating rate intervention value Intervention data; The intervention value M is obtained by averaging the intervention data, and the target adjustment parameter corresponding to the temperature control device in the drinking water equipment is determined based on the intervention value M. Based on the target adjustment parameters, the water outlet temperature of the drinking water device is controlled to be at the target water outlet temperature.
2. The control method for the drinking water equipment according to claim 1, characterized in that, The step of determining the target adjustment parameter corresponding to the temperature controller in the drinking water equipment based on the intervention value M includes: Based on the intervention value M, the heating power adjustment parameter corresponding to the first temperature controller and / or the water flow rate adjustment parameter corresponding to the second temperature controller are determined, wherein the first temperature controller is used to control the water outlet temperature of the drinking water device, and the second temperature controller is used to control the water outlet flow rate of the drinking water device.
3. The control method for the drinking water equipment according to claim 2, characterized in that, The step of controlling the water outlet temperature of the drinking water device to be at the target outlet temperature based on the target adjustment parameters includes: Based on the heating power adjustment parameters, determine the target heating power corresponding to the first temperature controller; and / or Based on the water flow rate adjustment parameters, determine the target driving voltage corresponding to the second temperature controller; Based on the target heating power and / or the target driving voltage, the water outlet temperature of the drinking water device is controlled to be at the target water outlet temperature.
4. A control device for a drinking water equipment, characterized in that, include: The acquisition module is used to acquire the current water temperature of the water dispenser when it is in the heating water dispensing mode; The initial state data acquisition module is used to monitor whether the current outlet water temperature is greater than a first preset temperature. If it is greater, it acquires the heating time required to heat the current outlet water temperature to the target outlet water temperature, obtaining heating time state data; it acquires multiple intermediate outlet water temperatures of the water drinking device at preset time intervals during the heating time, and acquires the maximum outlet water temperature among the multiple intermediate outlet water temperatures, obtaining outlet water temperature state data; it monitors whether the maximum outlet water temperature is in a heating state after reaching the target outlet water temperature. If so, it generates an abnormal outlet water temperature and determines whether the abnormal outlet water temperature is greater than the preset temperature. If so, it calculates the difference between the abnormal outlet water temperature and the preset temperature, obtaining overflow temperature difference state data; wherein, the first preset temperature is less than the preset temperature; if the current outlet water temperature is greater than the preset temperature, it acquires the initial state data recorded during the heating process of the water drinking device outlet water temperature, the initial state data including heating time state data, outlet water temperature state data, and overflow temperature difference state data; The processing module is used to substitute the heating time state data into the sigmoid function formula to obtain intervention data. Intervention data Substituting into the sigmoid function formula, we obtain the intervention value for the heating rate. The intervention data is obtained by substituting the effluent temperature data into the sigmoid function formula. Intervention data Substituting into the sigmoid function formula, we obtain the intervention value for the heating rate. The intervention data is obtained by substituting the overflow temperature difference status data into the sigmoid function formula. Intervention data Substituting into the sigmoid function formula, we obtain the intervention value for the heating rate. The temperature rise rate intervention value is obtained. The heating rate intervention value The heating rate intervention value Intervention data; The determination module is used to calculate the average value of the intervention data to obtain the intervention value M, and to determine the target adjustment parameter corresponding to the temperature control device in the drinking water equipment based on the intervention value M. The control module is used to control the water outlet temperature of the drinking water device to be at the target outlet temperature based on the target adjustment parameters.
5. An electronic device, characterized in that, The electronic device includes: Memory, used to store executable program code; A processor is configured to call and run the executable program code from the memory, causing the electronic device to perform the control method of the drinking device as described in any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the control method for the drinking water device as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Instant-heating constant-temperature type direct drinking water device capable of continuously discharging water and control method thereof
CN111568187A
Instant heating water dispenser, outlet water temperature control method and device thereof and storage medium
CN114711625A
