Control method of multifunctional water dispenser and water dispenser
Through the control method of multi-function water dispenser, users' needs are identified and the water outlet flow rate is accurately controlled, and a variety of water production modes are provided, which solves the problems of single functions and low intelligence in the existing water dispenser, improving user experience and resource utilization efficiency.
Patent Information
- Application Number
- CN202411628942.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-01-07
AI Technical Summary
The existing water dispenser has a single function, low intelligence, insufficient water discharge specifications, resulting in poor user experience and waste of resources.
Design a multi-functional water dispenser control method to obtain the capacity of the water container through user demand identification and image acquisition equipment, achieve accurate control of the water flow rate, and provide various water production modes such as cold water, hot water, room temperature water and sparkling water. Drinking water services can be quickly selected and customized according to your needs.
It improves the intelligence and user experience of the water dispenser, ensures that each cup of water meets the standards, reduces resource waste, and improves operational convenience and safety.
Smart Images

Figure CN119257449A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water dispensers, and in particular to a control method of a multifunctional water dispenser and the water dispenser. Background Art
[0002] At present, most water dispensers only have hot and cold functions, or a single sparkling water function. The functions are relatively simple and cannot fully meet the needs of users. They use steam compression to cool; due to the presence of components such as compressors and condensers, the product size is relatively large; secondly, to make sparkling water, you need to press the gas cylinder by hand and take the sparkling water from the water bottle, which is relatively inconvenient for users to use. Moreover, if the external water bottle is removed and left for a long time, it will affect the taste of the sparkling water and waste carbon dioxide gas. At present, most water dispensers have a single function and can only achieve two water outlet methods, resulting in a low degree of intelligence of the water dispenser and a poor user experience.
[0003] Prior art 1, application number: CN 202410607788.6 discloses a water dispenser, including: a hot tank assembly and an inlet and outlet waterway plate, the hot tank assembly has a heating chamber and a water inlet joint and a first water outlet joint connected to the heating chamber, a heating element is provided in the heating chamber, the hot tank assembly is connected to the inlet and outlet waterway plate and is located below the inlet and outlet waterway plate, a water diversion pool is formed on the upper surface of the inlet and outlet waterway plate, a water supply channel and a water outlet channel are formed in the inlet and outlet waterway plate, the water supply channel is located below the water diversion pool, a water supply joint and a second water outlet joint are provided on the inlet and outlet waterway plate, the water supply joint is connected to the water diversion pool through the water supply channel and is connected to the water inlet joint, and the first water outlet joint is connected to the second water outlet joint. Although the integration of the inlet and outlet waterway plate can be improved to reduce the number of parts of the water dispenser, the assembly steps of the water dispenser can be better simplified, which is conducive to improving the assembly efficiency of the water dispenser. However, no improvement has been made to the water output specifications of the water dispenser, resulting in a relatively single water output function, which affects the intelligence level of the water dispenser.
[0004] Prior art 2, application number: CN 202410607722.7 discloses a water outlet waterway assembly and a water dispenser, including a main body, the main body having a flow channel, a first interface and a second interface, one of the first interface and the second interface is configured to connect to the water inlet waterway assembly, and the other is configured to connect to the water outlet assembly, and the flow channel connects the first interface and the second interface. Although water can be transported from the water inlet waterway assembly to the water outlet assembly by arranging the water outlet waterway assembly between the water inlet waterway assembly and the water outlet assembly, and the structure is simple and easy to assemble. However, its structure is relatively simple, and no real improvement is made to the structure related to the water outlet, resulting in the water outlet specifications of the water dispenser needing to be further improved and enhanced.
[0005] Prior art three, application number: CN 202410927634.5 discloses a water outlet control method, device, water dispenser and medium for a water dispenser, including: obtaining the target water temperature, and determining the first energy parameter at the current water outlet moment; determining the second energy parameter at the current water outlet moment according to the size relationship between the total water outlet and the set volume; setting the volume to be the volume of residual water in the first water path and the second water path after the last water outlet; controlling the first water flow rate of the first water path and the second water flow rate of the second water path according to the first energy parameter and the second energy parameter. Although it can solve the influence of the output of residual water in the water dispenser on the water temperature in the water receiving container, thereby realizing the precise control of the water temperature in the water receiving container, so that the water temperature in the water receiving container can reach the target water temperature. However, only the adjustment of the water temperature is realized, resulting in the single control function of the water dispenser, which affects the development and improvement of functional intelligence.
[0006] At present, the prior art 1, prior art 2 and prior art 3 have the problem that the water output control method of the water dispenser is relatively simple, and the water output specifications are mainly cold and hot, so that the intelligence level of the water dispenser needs to be further improved. Therefore, the present invention provides a control method and a water dispenser of a multifunctional water dispenser. Summary of the invention
[0007] In order to solve the above technical problems, the present invention provides a method comprising the following steps:
[0008] A control method for a multifunctional water dispenser comprises the following steps:
[0009] The user manipulates the water production selection function on the control interface, and after the manipulation is completed, the controller receives an operation termination instruction; the controller triggers the user demand program according to the termination instruction, and the user demand program identifies the manipulation selection function to obtain the user's purpose demand;
[0010] According to the purpose demand, the corresponding water production mode is called, the water production mode starts the corresponding execution structure, and the working water production is carried out according to the preset water production program of the water production mode;
[0011] Among them, there are three water production modes. The first water production mode includes cold water and normal temperature water, the second water production mode includes hot water, and the third water production mode includes normal temperature sparkling water and cold sparkling water;
[0012] After the water production is completed, the capacity of the water container is obtained through the image acquisition device, and the flow rate of the water pump is calculated based on the capacity; when the water container reaches the preset capacity, the controller stops discharging water and sends a reminder to the user to take away the water container.
[0013] Optionally, the process of obtaining the user's purpose needs includes the following steps:
[0014] The specific content of the water production selection function is obtained, the element information corresponding to the specific content is extracted, and the element information is structured, and a node is established for each water production selection function in the user demand program; according to the association relationship in the node, the relationship between the water production selection function and the water production mode is established, and a functional relationship diagram is generated based on the nodes and relationships; wherein the specific content includes cold water, hot water, normal temperature water, normal temperature bubble water, cold water bubble and temperature;
[0015] Record the water production selection function input by the user in real time, extract element information from the record through preprocessing, distinguish the element information, and obtain the purpose demand and temperature set; construct the corresponding code according to the purpose demand, and find the corresponding water production model from the functional relationship diagram;
[0016] The temperature and water-making mode in the set are input into the controller through the data interface; the controller determines the temperature and water-making mode, and starts the water-making mode if they meet the water-making procedure.
[0017] Optionally, the process of performing working water production according to the preset water production program of the water production mode includes the following steps:
[0018] The temperature output by the controller and the water making mode corresponding to the water making program are obtained, and the target water making mode starting program is started according to the temperature and the water making mode. The target water making mode starting program first selects a water making mode from the functional relationship diagram according to the temperature content;
[0019] After selecting a water production mode, confirm whether there are bubbles in the target demand. If there are bubbles, directly select the water production mode as the third water production mode, and confirm whether it is room temperature bubble water or cold bubble water according to the temperature content; if there are no bubbles, confirm whether heating is required according to the temperature content, and if heating is required, select the water production mode as the second water production mode;
[0020] When the target demand does not include bubbles and heating, the cold water or normal temperature water mode of the first water production mode is confirmed to be started according to the temperature content.
[0021] Optionally, the selection process of the third water production mode includes the following steps:
[0022] The logic judgment module built into the controller performs logic judgment based on the detection results of the target requirements. If bubbles are detected, the logic judgment module triggers the mode switching instruction; the logic judgment module generates the mode switching instruction, and the mode switching instruction includes the identification information of the target mode and the switching timestamp;
[0023] The controller calls the preset mode switching logic and responds to the mode switching instruction. The state transition table of the mode switching logic records the transition path and operation steps from the current mode to the target mode.
[0024] According to the state transition table, the controller executes the state transition from the current mode to the third water production mode, closes the execution structure of the current mode and initializes the execution structure of the third water production mode.
[0025] Optionally, the process of generating a mode switching instruction by the logic judgment module includes the following steps:
[0026] After the bubble detection is completed, the logic judgment module starts the logic operation, matches the detected bubble state with the preset conditions, and determines whether the conditions for switching to the third water production mode are met; if the switching conditions are met, the logic judgment module generates a switching decision and prepares to generate a mode switching instruction;
[0027] The logic judgment module calls the preset mode switching instruction template, which includes the basic structure and necessary fields; fills the identification information of the third water production mode into the mode switching instruction template, adds the current timestamp, and records the time when the instruction is generated; after generating the instruction, checks whether all fields and information in the mode switching instruction have been filled;
[0028] The logic judgment module activates the communication interface of the controller, transmits the generated mode switching instruction to the mode switching logic module, and waits for a confirmation signal from the mode switching logic module.
[0029] Optionally, the process of determining whether the condition for switching to the third water production mode is met comprises the following steps:
[0030] The bubble detection in the target demand is compared with the demand parameters of the third water production mode. If there are bubbles, the water volume and temperature are matched. If not, other modes are used. Boolean operators are used to combine multiple parameter conditions. The first-level Boolean operation is performed on the water flow and temperature to determine whether they are within the range of the third water production mode.
[0031] Obtain the required temperature of the bubble water in the target demand, obtain the output temperature of the bubble, and perform a second-level Boolean operation with the bubble temperature range required by the third water production mode; analyze the distribution of bubbles corresponding to the output temperature in different areas, and use Boolean operations to determine whether it meets the requirements of the third water production mode;
[0032] The Boolean operation results of the first level and the second level are comprehensively matched, and multi-level Boolean operations are used to determine whether the switching conditions of the third water production mode are met.
[0033] Optionally, the process of confirming the start of the cold water mode or the normal temperature water mode of the first water production mode comprises the following steps:
[0034] Compare the temperature in the target demand with the preset temperature range of the first water production mode, the temperature range of the cold water mode is set between 0°C and 10°C, and the temperature range of the normal temperature water mode is set between 10°C and 25°C;
[0035] When the detected temperature is lower than 10℃, the cold water mode is automatically selected and the water source is directly delivered to the outlet through the cold water pipe; when the detected temperature is between 10℃ and 25℃, the normal temperature water mode is selected and the water source is delivered to the outlet through the normal temperature water pipe;
[0036] After selecting the corresponding mode, start the first water production mode and begin the water production process.
[0037] Optionally, the process of calculating the flow rate of water outflow from the water pump according to the capacity includes the following steps:
[0038] Obtain the geometric parameters of the water container, including height, diameter and wall thickness, use ultrasound to detect the surface height of the liquid in the container in real time, convert it into a digital signal through an analog-to-digital converter, and calculate the target capacity;
[0039] According to the geometric parameters of the container, combined with the real-time detection of the liquid surface height, the liquid volume in the current container is calculated; a fluid mechanics model is established, including the geometric parameters of the container, the density and viscosity of the water, and the gravitational acceleration factors, and a numerical solution is performed through finite element analysis;
[0040] According to the fluid mechanics model and the target capacity, the flow rate calculation formula is applied, combined with the current capacity and the target capacity, to calculate the required flow rate; the controller adjusts the flow rate in real time according to the current capacity and the target capacity.
[0041] Optionally, the process of adjusting the flow rate in real time includes the following steps:
[0042] Obtain the liquid capacity in the current container. The controller reads the liquid capacity in real time, compares it with the target capacity, and calculates the difference;
[0043] Determine how to adjust the flow rate based on the difference. Calculate the proportional control output based on the difference through the PID control algorithm. Calculate the integral of the difference to get the integral control output. Calculate the rate of change of the difference to get the differential control output. Add the outputs of the proportional, integral and differential controls to get the total output of the controller. Adjust the output signal based on the difference and its changing trend.
[0044] The signal output by the controller will be transmitted to the actuator, thereby changing the flow rate of the fluid; after adjusting the flow rate, the current liquid capacity is read again and the new data is fed back to the controller.
[0045] The present invention provides a water dispenser, comprising: a normal temperature water tank, a hot water pump, a normal temperature water pump, a carbon dioxide gas cylinder, a refrigeration water tank, a cold water pump and three water outlets;
[0046] Among them, a water level detector is installed on the side wall of the normal temperature water tank. The normal temperature water tank is connected to the inlet ends of the hot water pump, the normal temperature water pump and the refrigeration water tank through pipelines; the outlet end of the hot water pump is connected to the heating pipe assembly, and a thermostat is installed on the heating pipe assembly. The heating pipe assembly is connected to the hot water solenoid valve, and the hot water solenoid valve is connected to the water vapor separation box, and then connected to the No. 3 water outlet; the normal temperature water pump is connected to the normal temperature water solenoid valve and the normal temperature bubble water solenoid valve, and the normal temperature water solenoid valve is connected to the No. 2 water outlet; the normal temperature bubble water solenoid valve is connected to the bubble water bottle Then, the bubble water bottle is connected to the carbon dioxide cylinder, the bubble water bottle is connected to the bubble water outlet solenoid valve, the bubble water outlet solenoid valve is connected to the bubble water outlet pump, and the bubble water outlet pump is connected to water outlet No. 1; the bubble water bottle is connected to the steering gear pressure relief valve, and the air pressure exceeds the safety value and automatically releases pressure; the refrigeration water tank is equipped with a semiconductor refrigeration component, the refrigeration water tank is connected to the cold water pump, the cold water pump is connected to the cold water bubble solenoid valve and the cold water solenoid valve, the cold water bubble solenoid valve is connected to the bubble water bottle, and the cold water solenoid valve is connected to water outlet No. 2.
[0047] The user demand identification of the present invention enables the controller to accurately identify the user's operation and ensure immediate response after the user completes the selection; by identifying the user's control selection, the water dispenser can accurately understand the user's purpose and needs, such as cooling and heating. Significance achieved: The user can quickly and intuitively select the required functions without complicated operating steps; the water dispenser can provide customized water-making services based on the user's selection to meet the needs of different users. Water-making mode retrieval and execution can quickly retrieve the corresponding water-making mode according to user needs, such as cold drinks, hot drinks, room temperature, etc.; after the water-making mode is started, the corresponding execution structure (such as heater, refrigerator, filter, etc.) starts working to ensure that the water quality meets user needs. Significance achieved: The corresponding water-making program can be quickly started according to user needs to shorten the water-making time; through the preset water-making program, the quality of each cup of water is guaranteed to meet the standards, thereby improving user satisfaction. After the water production is completed, the intelligent control obtains the capacity of the water container through the image acquisition device to achieve precise control of the water output; the water flow rate is calculated according to the capacity to ensure that the water container automatically stops discharging water when the preset capacity is reached; when the water container reaches the preset capacity, the water dispenser issues a reminder to inform the user that the water container can be removed. The significance achieved: Through precise capacity control, overflow problems caused by excessive water output are avoided, and safety is improved; users do not need to monitor the water output process at all times, and the water dispenser automatically completes capacity control and reminders, which improves the convenience of operation; through precise water output control, water resource waste is reduced, which is in line with the concept of energy conservation and environmental protection.
[0048] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.
[0049] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0051] Figure 1 This is a flow chart of a control method for a multifunctional water dispenser in Embodiment 1 of the present invention;
[0052] Figure 2 A process diagram of working water production according to a preset water production procedure in a water production mode in Embodiment 2 of the present invention;
[0053] Figure 3 A process diagram of working water production according to a preset water production procedure in a water production mode in Embodiment 3 of the present invention;
[0054] Figure 4 This is a diagram of the selection process of the third water production mode in Example 4 of the present invention;
[0055] Figure 5 A process diagram of a logic judgment module generating a mode switching instruction in Embodiment 5 of the present invention;
[0056] Figure 6 This is a process diagram for determining whether the conditions for switching to the third water production mode are met in Embodiment 6 of the present invention;
[0057] Figure 7 A process diagram for confirming the start of the cold water or normal temperature water mode of the first water production mode in Embodiment 7 of the present invention;
[0058] Figure 8 This is a process diagram of obtaining the flow rate of water outflow from a water pump according to capacity calculation in Example 8 of the present invention;
[0059] Fig. 9 This is a process diagram of adjusting the flow rate in real time in Example 9 of the present invention;
[0060] Fig.10 This is a schematic diagram of a water dispenser in Embodiment 10 of the present invention. DETAILED DESCRIPTION
[0061] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0062] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a", "said" and "the" used in the embodiments of the present application are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in this article refers to and includes any or all possible combinations of one or more associated listed items.
[0063] When the following description relates to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the present application. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances.
[0064] Example 1: Figure 1 As shown, an embodiment of the present invention provides a control method for a multifunctional water dispenser, comprising the following steps:
[0065] S100: The user manipulates the water production selection function on the control interface, and after the manipulation is completed, the controller receives an operation termination instruction; the controller triggers a user demand program according to the termination instruction, and the user demand program identifies the manipulation selection function to obtain the user's purpose demand;
[0066] S200: according to the purpose demand, the corresponding water production mode is called, the water production mode starts the corresponding execution structure, and the working water production is carried out according to the preset water production program of the water production mode;
[0067] Among them, there are three water production modes. The first water production mode includes cold water and normal temperature water, the second water production mode includes hot water, and the third water production mode includes normal temperature sparkling water and cold sparkling water;
[0068] S300: After the water production is completed, the capacity of the water container is obtained through the image acquisition device, and the flow rate of the water pump is calculated according to the capacity; when the water container reaches the preset capacity, the controller stops discharging water and sends a reminder to the user to take away the water container.
[0069] The working principle and beneficial effects of the above technical solution are as follows: in this embodiment, the user first manipulates the water making selection function of the control interface, and the controller receives the operation cut-off instruction after the manipulation is completed; the controller triggers the user demand program according to the cut-off instruction, and the user demand program identifies the manipulation selection function to obtain the user's purpose demand; secondly, the corresponding water making mode is called according to the purpose demand, and the water making mode starts the corresponding execution structure, and works according to the preset water making program of the water making mode to make water; finally, after the water making is completed, the capacity of the water container is obtained through the image acquisition device, and the flow rate of the water pump is calculated according to the capacity; when the water container reaches the preset capacity, the controller stops the water discharge and issues a reminder for the user to take away the water container. In the step S100 of the above scheme, the controller can accurately identify the user's operation and ensure that it responds immediately after the user completes the selection; by identifying the user's manipulation selection, the water dispenser can accurately understand the user's purpose demand, such as cooling, heating and filtering. The significance achieved: the user can quickly and intuitively select the required function without complicated operation steps; the water dispenser can provide customized water making services according to the user's selection to meet the needs of different users. Step S200: Retrieve and execute water making mode, which can quickly retrieve corresponding water making mode according to user needs, such as cold drink, hot drink, room temperature, etc.; after the water making mode is started, the corresponding execution structure (such as heater, refrigerator, filter, etc.) starts to work to ensure that the water quality meets user needs. Significance achieved: It can quickly start the corresponding water making program according to user needs to shorten the water making time; through the preset water making program, it is ensured that the quality of each cup of water meets the standard and improves user satisfaction. Step S300: Intelligent control after water making is completed, obtain the capacity of the water container through the image acquisition device, and realize precise control of the water output; calculate the water flow rate according to the capacity to ensure that the water container automatically stops discharging water when the preset capacity is reached; when the water container reaches the preset capacity, the water dispenser issues a reminder to inform the user that the water container can be removed. Significance achieved: Through precise capacity control, overflow problems caused by excessive water output can be avoided, thereby improving safety; users do not need to monitor the water output process all the time, and the water dispenser automatically completes capacity control and reminders, improving the convenience of operation; through precise water output control, the waste of water resources is reduced, which is in line with the concept of energy conservation and environmental protection.
[0070] In summary, this embodiment not only improves the user's convenience and experience through intelligent and automated operation procedures, but also ensures the safety and stability of water quality, which is in line with the development trend of modern smart home devices. The water-making mode can meet the user's diverse drinking water needs and simplify the operation. The present invention can meet the user's 9 drinking needs, produce 10-15 degree cold water through semiconductor refrigeration sheets, use nano-coated quartz tubes to produce 45 degree, 60 degree, 80 degree, 90 degree and 100 degree hot water, and can directly use room temperature water. In addition, the touch panel can be used to intelligently produce sparkling water. The water bottle is built into the product, and the user can make sparkling water according to the amount required to reduce the waste of carbon dioxide gas.
[0071] Example 2: Figure 2 As shown, based on Example 1, the process of obtaining the user's purpose needs provided by the embodiment of the present invention includes the following steps:
[0072] S101: Acquire specific content of the water production selection function, extract element information corresponding to the specific content, and perform structured processing on the element information, and establish a node for each water production selection function in the user demand program; establish a relationship between the water production selection function and the water production mode according to the association relationship in the node, and generate a function relationship diagram based on the nodes and relationships; wherein the specific content includes cold water, hot water, normal temperature water, normal temperature bubble water, cold water bubble and temperature, etc.;
[0073] in
[0074]
[0075] Where F is the comprehensive scoring function of the water production mode, T is the temperature in degrees Celsius (℃), V is the water flow rate in milliliters per second (ml / s), P is the bubble density in the number of bubbles per milliliter, B is the bubble size in millimeters (mm), H is the water hardness in milligrams per liter (mg / L), R is the water flow rotation speed in revolutions per minute (rpm), S is the water flow shape, represented by a shape factor, α i represents the temperature weight coefficient, β i represents the water velocity weight coefficient, γ i represents the bubble density weight coefficient, δ i represents the bubble size weight coefficient, η i Represents the water hardness weight coefficient, θ i represents the water flow rotation speed weight coefficient, κ irepresents the water flow shape weight coefficient; ∈ represents a hyperparameter used to adjust the influence of the hyperbolic tangent function (tanh), ζ represents a hyperparameter used to adjust the influence of the sigmoid function; n represents the upper limit of the summation, that is, the total number of items in the summation operation, representing the number of different parameters that need to be considered, and i represents the index variable of the summation, which is used to traverse each parameter;
[0076] S102: Record the water production selection function input by the user in real time, perform preprocessing to extract element information from the record, distinguish the element information, and obtain the target demand and temperature set; construct the corresponding code according to the target demand, and search the corresponding water production model from the function relationship diagram;
[0077] S103: Input the temperature and water production mode in the set into the controller through the data interface; the controller determines the temperature and water production mode, and starts the water production mode if they meet the water production program.
[0078] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, the specific content of the water production selection function is first obtained, the element information corresponding to the specific content is extracted, and the element information is structured, and a node is established for each water production selection function in the user demand program; according to the association relationship in the node, the relationship between the water production selection function and the water production mode is established, and a functional relationship diagram is generated based on the nodes and the relationship; wherein the specific content includes cold water, hot water, normal temperature water, normal temperature bubble water, cold water bubbles and temperature, etc.; secondly, the water production selection function input by the user in real time is recorded, and the element information is extracted from the record by pre-processing, and the element information is distinguished to obtain the target demand and temperature set; the corresponding code is constructed according to the target demand, and the corresponding water production model is searched from the functional relationship diagram; finally, the temperature and water production mode in the set are input into the controller through the data interface; the controller judges the temperature and water production mode, and starts the water production mode if it meets the water production program. In step S101 of the above scheme, the specific content of the water production selection function is obtained. By extracting and structuring the specific content of the water production selection function, different water production requirements, such as cold water, hot water, and normal temperature water, can be clearly identified and classified; a functional relationship diagram is generated based on nodes and association relationships, which helps the water dispenser understand and remember the relationship between different water production functions and provide a basis for decision-making. Significance: Through structured processing and the generation of relationship diagrams, the water dispenser can better understand the specific needs of users, laying the foundation for accurate matching and execution; it can quickly adjust according to different water production requirements to adapt to diverse user needs. Step S102 records the water production selection function input by the user in real time, records the user's input in real time, and extracts element information through preprocessing to ensure that the user's needs can be responded to in a timely manner; by distinguishing the element information, the user's purpose needs can be accurately identified, and the corresponding code can be constructed, so that the water dispenser can quickly find and match the water production model. Significance: Real-time recording and preprocessing ensure rapid response to user needs and improve user experience; through differential processing and code construction, the user's specific needs can be accurately matched to ensure the accurate start of the water production mode. Step S103 inputs the temperature and water-making mode in the set to the controller, and inputs the temperature and water-making mode to the controller through the data interface to ensure accurate transmission of information; the controller determines the input temperature and water-making mode, and starts the corresponding water-making mode if it meets the standard, to ensure the accuracy and safety of the water-making process. Significance: Through the determination and execution of the controller, the water-making process is ensured to meet the standard, avoiding misoperation and safety hazards; the intervention of the controller ensures the stable operation of the water dispenser and improves the reliability of the overall water dispenser.
[0079] In summary, through the above steps and standards, this embodiment can respond to user needs more quickly and accurately and improve the overall user experience; structured processing and generation of relationship diagrams, as well as real-time recording and preprocessing, enhance the intelligence level of the water dispenser, enabling it to better adapt to and meet diverse user needs; through the intervention of the controller, the accuracy and safety of the water production process are guaranteed to avoid potential risks.
[0080] Example 3: Figure 3 As shown, based on Example 1, the process of performing working water production according to the preset water production program of the water production mode provided by the embodiment of the present invention includes the following steps:
[0081] S201: obtaining the temperature output by the controller and the water production mode corresponding to the water production program, and starting the target water production mode starting program according to the temperature and the water production mode. The target water production mode starting program first selects a water production mode from the functional relationship diagram according to the temperature content;
[0082] S202: After a water production mode is selected, it is confirmed whether there are bubbles in the target demand. If there are bubbles, the water production mode is directly selected as the third water production mode, and normal temperature bubble water or cold bubble water is confirmed according to the temperature content; if there are no bubbles, it is confirmed whether heating is required according to the temperature content, and if heating is required, the water production mode is selected as the second water production mode;
[0083] S203: When the target demand does not include bubbles and heating, confirming to start the cold water mode or normal temperature water mode of the first water making mode according to the temperature content.
[0084] The working principle and beneficial effects of the above technical solution are as follows: the present embodiment first obtains the temperature output by the controller and the water production mode corresponding to the water production program, and starts the target water production mode start-up program according to the temperature and the water production mode. The target water production mode start-up program first selects a water production mode from the functional relationship diagram according to the temperature content; secondly, after selecting a water production mode, confirm whether there are bubbles in the target demand. If there are bubbles, directly select a water production mode as the third water production mode; if there are no bubbles, confirm whether heating is required according to the temperature content. If heating is required, select a water production mode as the second water production mode; finally, when the target demand does not contain bubbles and heating, confirm whether to start the cold water or normal temperature water mode of the first water production mode according to the temperature content. Step S201 of the above solution obtains the temperature output by the controller and the water production mode corresponding to the water production program. By obtaining the temperature and water production mode output by the controller, the current working environment and user needs can be accurately identified. Significance: It ensures that the corresponding water production mode can be started according to actual needs, and provides accurate data support for subsequent steps. Step S202 selects the water production mode. According to the bubbles and temperature information in the purpose requirements, the appropriate water production mode can be intelligently selected; if bubbles exist, the third water production mode is selected to ensure the treatment effect of the bubbles; if there are no bubbles but heating is required, the second water production mode is selected to ensure that the water temperature meets the requirements. Significance: By intelligently selecting the water production mode, the water dispenser can efficiently meet the diverse needs of users and improve the user experience. Step S203 selects the cold water or normal temperature water mode. When the purpose requirements do not contain bubbles and heating is not required, the appropriate cold water or normal temperature water mode can be selected according to the temperature information. Significance: Ensure that cold water or normal temperature water that meets user needs can be provided without the need for special treatment, simplify the operating process, and improve water production efficiency.
[0085] To sum up, the entire water production process in this embodiment is processed intelligently to ensure the efficiency and accuracy of the water production process; through various steps, it can fully meet the diverse needs of users, improve user experience, and at the same time optimize resource utilization, reduce energy consumption, and achieve the goals of intelligence and energy saving.
[0086] Example 4: Figure 4 As shown, based on Example 3, the selection process of the third water production mode provided in this embodiment of the present invention includes the following steps:
[0087] S2021: The logic judgment module built into the controller performs logic judgment according to the detection result of the target demand. If bubbles are detected, the logic judgment module triggers the mode switching instruction. The logic judgment module generates the mode switching instruction, and the mode switching instruction includes the identification information of the target mode (the third water production mode) and the switching timestamp.
[0088] S2022: The controller calls a preset mode switching logic and responds to the mode switching instruction. The state transition table of the mode switching logic records the transition path and operation steps from the current mode to the target mode.
[0089] The current mode may be other water production modes or an initial mode (without any water production mode);
[0090] S2023: According to the state transition table, the controller executes a state transition from the current mode to the third water production mode, closes the execution structure of the current mode, and initializes the execution structure of the third water production mode.
[0091] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, the logic judgment module built into the controller performs logic judgment according to the detection results of the target requirements. If bubbles are detected, the logic judgment module triggers the mode switching instruction; the logic judgment module generates the mode switching instruction, and the mode switching instruction includes the identification information of the target mode (the third water-making mode) and the switching timestamp; secondly, the controller calls the preset mode switching logic and responds to the mode switching instruction. The state transition table of the mode switching logic records the transfer path and operation steps from the current mode to the target mode; finally, according to the state transition table, the controller executes the state transfer from the current mode to the third water-making mode, closes the execution structure of the current mode, and initializes the execution structure of the third water-making mode. In step S2021 of the above scheme, the logic judgment and mode switching instruction generation can intelligently identify the existence of bubbles through the built-in logic judgment module, and make judgments according to the preset logic rules; generate instructions containing the target mode identification and timestamp to ensure the traceability and accuracy of the switching process. Significance: It can automatically adjust the working mode according to the real-time detection results, which improves the intelligence level of the water dispenser; by generating detailed switching instructions, it ensures the precise control of the switching process and avoids misoperation. Step S2022: Mode switching logic call. The water dispenser calls the preset mode switching logic to ensure the standardization and consistency of the switching process. Through the state transfer table, the water dispenser can clearly understand the transfer path and operation steps from the current mode to the target mode. Significance: Through the preset logic, it is ensured that each switch follows the same specifications to reduce human errors. The use of the state transfer table makes the switching process more efficient and reduces unnecessary operations and time waste. Step S2023: State transfer and execution structure initialization. According to the state transfer table, the water dispenser can accurately transfer from the current mode to the third water-making mode. Close the execution structure of the current mode and initialize the execution structure of the third water-making mode to ensure the smooth start of the new mode. Significance: By closing the old mode and initializing the new mode, the stable operation of the water dispenser during the switching process is guaranteed to avoid failures caused by mode conflicts. The water dispenser can quickly adapt to different working modes, which improves the flexibility and adaptability of the water dispenser.
[0092] In summary, the selection process of the third water-making mode in this embodiment not only realizes precise technical control and efficient switching, but also improves the intelligence and stability of the water dispenser, ensures the reliability and efficiency of the water dispenser in different working modes, and provides users with a better service experience.
[0093] Example 5: Figure 5 As shown, based on Example 4, the process of generating a mode switching instruction by a logic judgment module provided in an embodiment of the present invention includes the following steps:
[0094] S20211: After the bubble detection is completed, the logic judgment module starts the logic operation, matches the detected bubble state with the preset conditions, and determines whether the conditions for switching to the third water production mode are met; if the switching conditions are met, the logic judgment module generates a switching decision and prepares to generate a mode switching instruction;
[0095] S20212: the logic judgment module calls a preset mode switching instruction template, which includes a basic structure and necessary fields; fills the identification information of the third water production mode into the mode switching instruction template, adds the current timestamp, and records the time when the instruction is generated; after generating the instruction, checks whether all fields and information in the mode switching instruction have been filled;
[0096] S20213: The logic judgment module activates the communication interface of the controller, transmits the generated mode switching instruction to the mode switching logic module, and waits for the confirmation signal of the mode switching logic module.
[0097] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, first, after the bubble detection is completed, the logic judgment module starts the logic operation, matches the detected bubble state with the preset conditions, and determines whether the conditions for switching to the third water-making mode are met; if the switching conditions are met, the logic judgment module generates a switching decision and prepares to generate a mode switching instruction; secondly, the logic judgment module calls the preset mode switching instruction template, which includes the basic structure and necessary fields; fills the identification information of the third water-making mode into the mode switching instruction template, adds the current timestamp, and records the time when the instruction is generated; after generating the instruction, check that all fields and information in the mode switching instruction have been filled; finally, the logic judgment module activates the communication interface of the controller, passes the generated mode switching instruction to the mode switching logic module, and waits for the confirmation signal of the mode switching logic module. Step S20211 of the above scheme After the bubble detection is completed, the logic judgment module starts the logic operation; through the logic operation, the detected bubble state is matched with the preset conditions to determine whether the conditions for switching to the third water-making mode are met. Significance: It ensures that the decision of mode switching is based on the current environment and demand status, avoids unnecessary mode switching, and improves the stability and efficiency of the water dispenser. Step S20212 calls the preset mode switching instruction template, fills in relevant information, calls the preset instruction template, fills in the identification information of the third water-making mode and the current timestamp, and ensures the integrity and accuracy of the instruction. Significance: Generating instructions in a templated manner reduces the possibility of human errors, and also improves the efficiency and consistency of instruction generation. The addition of a timestamp facilitates subsequent tracking and debugging. Step S20213 activates the communication interface of the controller, transmits instructions and waits for a confirmation signal, passes the generated mode switching instruction to the mode switching logic module, and ensures the correct receipt and execution of the instruction through a confirmation signal. Significance: It ensures the reliable transmission and execution of instructions, avoids the loss or erroneous execution of instructions due to communication problems, and improves the reliability and safety of the water dispenser.
[0098] In summary, this embodiment ensures the stable operation of the water dispenser through the logic judgment and instruction generation process, and reduces the water dispenser failure caused by improper mode switching; the templated instruction generation method and the automatic communication interface activation improve the operation efficiency of the water dispenser and reduce the time and cost of human intervention; the use of timestamp recording and confirmation signals makes each mode switch traceable, which is convenient for subsequent troubleshooting and water dispenser optimization. Through these steps, the logic judgment module not only realizes efficient and stable mode switching, but also provides solid technical support for the long-term operation and maintenance of the water dispenser.
[0099] Example 6: Figure 6 As shown, based on Example 5, the process of determining whether the condition for switching to the third water production mode is met provided in the embodiment of the present invention includes the following steps:
[0100] S202111: Compare the bubble detection in the target demand with the demand parameters of the third water production mode. If there are bubbles, match the water volume and temperature. If not, perform other modes. Use Boolean operators to combine multiple parameter conditions, perform first-level Boolean operations on water flow and temperature, and determine whether they are within the range of the third water production mode.
[0101] S202112: Obtain the required temperature of the bubble water in the target demand, obtain the output temperature of the bubble, and perform a second-level Boolean operation on the bubble temperature range required by the third water production mode; analyze the distribution of bubbles corresponding to the output temperature in different areas, and use Boolean operations to determine whether it meets the requirements of the third water production mode;
[0102] S202113: Comprehensively match the Boolean operation results of the first level and the second level, and use multi-level Boolean operations to determine whether the switching conditions for the third water production mode are met.
[0103] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, the bubble detection in the target demand is first compared with the demand parameters of the third water production mode. If there are bubbles, the water volume and temperature are matched. If not, other modes are used; Boolean operators are used to combine multiple parameter conditions, and the water flow rate and temperature are subjected to the first-level Boolean operation to determine whether they are within the range of the third water production mode; secondly, the required temperature of the bubble water in the target demand is obtained, the output temperature of the bubble is obtained, and the second-level Boolean operation is performed with the bubble temperature range required by the third water production mode; the distribution of bubbles corresponding to the output temperature in different areas is analyzed, and Boolean operations are used to determine whether the requirements of the third water production mode are met; finally, the first-level and second-level Boolean operation results are comprehensively matched, and multi-level Boolean operations are used to determine whether the switching conditions of the third water production mode are met. Step S202111 of the above solution is the first-level Boolean operation, which compares the bubble detection in the target demand with the demand parameters of the third water production mode, and uses Boolean operators to combine multiple parameter conditions, and the first-level Boolean operation is performed on the water flow rate and temperature; the Boolean operation can preliminarily screen out the water flow rate and temperature range that meet the basic requirements of the third water production mode. Significance achieved: Through preliminary screening, the situations that do not meet the basic conditions can be quickly eliminated, and the processing efficiency of the water dispenser can be improved; the water flow and temperature can be ensured to be within the range of the third water production mode, laying the foundation for subsequent detailed judgment. Step S202112: Second-level Boolean operation, obtain the required temperature of the bubble water in the target demand, obtain the output temperature of the bubble, and perform the second-level Boolean operation with the bubble temperature range required by the third water production mode; analyze the distribution of bubbles corresponding to the output temperature in different areas, and use Boolean operation to determine whether it meets the requirements of the third water production mode. Significance achieved: Through matching the temperature range, ensure that the temperature of the bubble water meets the requirements of the third water production mode and improve the water production quality; analyze the distribution of bubbles in different areas, ensure that the distribution of bubbles is uniform, meet the requirements of the third water production mode, and improve the overall water production effect. Step S202113: Comprehensive matching and multi-level Boolean operation, comprehensively match the results of the first-level and second-level Boolean operations, and use multi-level Boolean operations to comprehensively judge whether the switching conditions of the third water production mode are met; through multi-level Boolean operations, comprehensively evaluate each parameter condition to ensure the accuracy and reliability of the switching decision. Significance achieved: Through comprehensive matching and multi-level Boolean operations, the decision to switch to the third water-making mode is based on comprehensive parameter comparison and analysis, thereby improving the accuracy of the decision; it is ensured that when the water dispenser switches the water-making mode, various parameter conditions can be fully considered to avoid switching failures due to a single parameter not meeting the requirements, thereby improving the overall reliability of the water dispenser.
[0104] In summary, this embodiment can comprehensively and accurately determine whether the conditions for switching to the third water production mode are met, ensuring the efficiency and reliability of the water production process. Each step complements each other and jointly improves the overall performance of the water dispenser.
[0105] Example 7: Figure 7 As shown, based on Example 3, the process of confirming the start of the cold water or normal temperature water mode of the first water production mode provided in the embodiment of the present invention includes the following steps:
[0106] S2031: Compare the temperature in the target demand with the preset temperature range of the first water production mode, the temperature range of the cold water mode is set between 0°C and 10°C, and the temperature range of the normal temperature water mode is set between 10°C and 25°C;
[0107] S2032: When the detected temperature is lower than 10°C, the cold water mode is automatically selected, and the water source is directly delivered to the water outlet through the cold water pipe; when the detected temperature is between 10°C and 25°C, the normal temperature water mode is selected, and the water source is delivered to the water outlet through the normal temperature water pipe;
[0108] S2033: After selecting the corresponding mode, start the first water production mode and begin the water production process.
[0109] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, the temperature in the target demand is first compared with the preset temperature range of the first water-making mode. The temperature range of the cold water mode is set between 0°C and 10°C, while the temperature range of the normal temperature water mode is set between 10°C and 25°C; secondly, if the detected temperature is lower than 10°C, the cold water mode is automatically selected; the water source is directly delivered to the water outlet through the cold water pipe; if the detected temperature is between 10°C and 25°C, the normal temperature water mode is selected, and the water source is delivered to the water outlet through the normal temperature water pipe; finally, after selecting the corresponding mode, the first water-making mode is started to start the water-making process. In the temperature range comparison of step S2031 of the above scheme, by comparing the temperature in the target demand with the preset temperature range, the water dispenser can accurately determine whether the temperature of the current water source meets the requirements of the cold water or normal temperature water mode. Significance: It ensures that the water dispenser can select the appropriate water-making mode according to the actual temperature conditions, avoiding the wrong water-making mode selection caused by temperature misjudgment, thereby improving water-making efficiency and user satisfaction. Step S2032: Mode selection and pipeline transportation. According to the temperature detection result, the water dispenser automatically selects the corresponding water production mode (cold water mode or normal temperature water mode) and transports the water source to the water outlet through the corresponding pipeline. Significance: It ensures that users can obtain drinking water temperatures that meet their needs, whether it is cold water or normal temperature water; automated mode selection and pipeline transportation reduce the need for manual intervention and improve the convenience and accuracy of water production. Step S2033: Mode confirmation and start-up. After selecting the corresponding mode, the water dispenser starts the first water production mode and begins the water production process. Significance: It ensures that users can clearly understand the current water production mode and avoid water production problems caused by misoperation or misunderstanding. Voice prompts enhance the user experience and make the entire water production process more transparent and friendly. At the same time, automatically starting the water production mode reduces the user's waiting time and improves the water production efficiency.
[0110] In summary, the entire water production process of this embodiment is automated, intelligent and user-friendly; it can automatically select the appropriate water production mode according to the actual temperature conditions, and ensure that users obtain drinking water that meets their needs through voice prompts and automatic start. This not only improves the efficiency and accuracy of water production, but also enhances the user experience, making the entire water production process more convenient, transparent and reliable.
[0111] Example 8: Figure 8 As shown, based on Example 1, the process of obtaining the flow rate of water outflow from the water pump according to the capacity calculation provided by the embodiment of the present invention includes the following steps:
[0112] S301: obtaining geometric parameters of the water container, including height, diameter and wall thickness, etc., using ultrasound to detect the surface height of the liquid in the container in real time, converting it into a digital signal through an analog-to-digital converter, and calculating the target capacity;
[0113] S302: Calculate the volume of the liquid in the current container according to the geometric parameters of the container and the height of the liquid surface detected in real time; establish a fluid mechanics model, including the geometric parameters of the container, the density and viscosity of the water, and the gravitational acceleration, and perform numerical solution through finite element analysis;
[0114] The expression of the fluid mechanics model is:
[0115] The basic form of the Bernoulli equation is:
[0116]
[0117] Where: P is the fluid pressure (unit: Pascal, Pa), ρ is the fluid density (unit: kilograms / cubic meter, kg / m 3 ), v is the fluid velocity (unit: meter per second, m / s), g is the acceleration due to gravity (unit: meter per second 2 , m / s 2 ), z is the height (unit: meter, m)
[0118] Flow rate calculation formula:
[0119]
[0120] Where: Δh is the height difference of the liquid (unit: meter, m)
[0121] The expression of the fluid mechanics model is:
[0122]
[0123] Where: t is time (unit: seconds, s), is the gradient operator, μ is the fluid viscosity (unit: Pascal seconds, Pa·s);
[0124] S303: According to the fluid mechanics model and the target capacity, the flow rate calculation formula is applied, and the current capacity and the target capacity are combined to calculate the required flow rate; the controller adjusts the flow rate in real time according to the current capacity and the target capacity.
[0125] The working principle and beneficial effects of the above technical solution are as follows: this embodiment first obtains the geometric parameters of the water container (this embodiment considers a regular water container), including height, diameter and wall thickness, and uses ultrasound to detect the surface height of the liquid in the container in real time, converts it into a digital signal through an analog-to-digital converter, and calculates the target capacity; secondly, based on the geometric parameters of the container, combined with the real-time detected liquid surface height, calculate the current volume of the liquid in the container; establish a fluid mechanics model, including the geometric parameter shape of the container, water density, viscosity, gravity acceleration and other factors, and perform numerical solution through finite element analysis; finally, based on the fluid mechanics model and the target capacity, apply the flow rate calculation formula, combined with the current capacity and the target capacity, calculate the required flow rate; the controller adjusts the flow rate in real time according to the current capacity and the target capacity. Step S301 of the above scheme obtains the geometric parameters and real-time liquid level detection of the water container, and provides basic data for subsequent volume calculation by obtaining the geometric parameters such as the height, diameter and wall thickness of the container; uses ultrasonic technology to detect the surface height of the liquid in the container in real time, and converts the analog signal into a digital signal through an analog-to-digital converter to ensure the accuracy and real-time nature of the data; calculates the target capacity based on the real-time detected liquid level height and the geometric parameters of the container, providing a basis for subsequent flow rate control. Significance: Through precise geometric parameters and real-time liquid level detection, the accuracy of capacity calculation is guaranteed, and reliable data support is provided for flow rate control; the automatic management of the container is realized, manual intervention is reduced, and work efficiency and accuracy are improved. Step S302 establishes a fluid mechanics model and numerical solution, and establishes a fluid mechanics model by combining the geometric parameters of the container, the density and viscosity of water, and the acceleration of gravity, etc., to provide a theoretical basis for flow rate calculation; numerical solutions are performed through finite element analysis to simulate the flow state of the liquid in the container, thereby improving the accuracy and reliability of the calculation. Significance: Through scientific fluid mechanics models and numerical solution methods, the scientificity and accuracy of flow rate calculation are guaranteed, providing theoretical support for practical applications; through the analysis of fluid mechanics models, the design of containers can be optimized and the efficiency and performance of containers can be improved. Step S303 flow rate calculation and real-time adjustment: According to the fluid mechanics model and target capacity, the flow rate calculation formula is applied, combined with the current capacity and target capacity, to calculate the required flow rate; the controller adjusts the flow rate in real time according to the current capacity and target capacity to ensure the stability and accuracy of liquid flow. Significance: By adjusting the flow rate in real time, dynamic control of liquid flow is guaranteed to meet the needs under different working conditions; through precise flow rate control, energy consumption is reduced, work efficiency is improved, and the goal of energy saving and high efficiency is achieved.
[0126] In summary, this embodiment realizes the complete process from geometric parameter acquisition, fluid mechanics modeling to flow rate calculation and control. Each step together ensures the precise control and efficient management of liquid flow, providing strong technical support for practical applications.
[0127] Example 9: Fig. 9 As shown, based on Example 8, the process of adjusting the flow rate in real time provided by the embodiment of the present invention includes the following steps:
[0128] S3031: Obtain the liquid capacity in the current container. The controller reads the liquid capacity in real time, compares it with the target capacity, and calculates the difference;
[0129] S3032: Determine how to adjust the flow rate according to the difference, calculate the proportional control output according to the size of the difference through the PID control algorithm; calculate the integral of the difference to obtain the integral control output; calculate the rate of change of the difference to obtain the differential control output; add the outputs of the proportional, integral and differential controls to obtain the total output of the controller, and adjust the output signal according to the size of the difference and its changing trend;
[0130] S3033: The signal output by the controller will be transmitted to the actuator, thereby changing the flow rate of the fluid; after adjusting the flow rate, the current liquid capacity is read again and the new data is fed back to the controller.
[0131] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, the liquid capacity in the current container is first obtained, and the controller reads the liquid capacity in real time, compares it with the target capacity, and calculates the difference; secondly, the flow rate is determined according to the difference, and the proportional control output is calculated according to the size of the difference through the PID control algorithm; the integral of the difference is calculated to obtain the integral control output; the rate of change of the difference is calculated to obtain the differential control output; the outputs of the proportional, integral and differential controls are added to obtain the total output of the controller; the output signal is adjusted according to the size of the difference and its change trend; finally, the signal output by the controller is transmitted to the actuator, thereby changing the flow rate of the fluid; after adjusting the flow rate, the current liquid capacity is read again, and the new data is fed back to the controller. Step S3031 of the above scheme obtains the liquid capacity in the current container, and the controller reads the liquid capacity in real time, compares it with the target capacity, and calculates the difference; it realizes real-time monitoring of the liquid capacity and tracking of the target capacity. By comparing the current capacity with the target capacity, it can be known whether the target capacity is reached and how much liquid is needed. Significance: It ensures that the control algorithm can make adjustments based on the current actual situation, so that the addition or discharge of liquid can be accurately controlled. Step S3032 determines how to adjust the flow rate according to the difference, and calculates the proportional, integral and differential control outputs through the PID control algorithm; the dynamic adjustment of the flow rate is achieved through the PID algorithm. Proportional control responds to the current difference, integral control responds to the accumulated error, and differential control responds to the trend of error change. Significance: The PID control algorithm can quickly respond to changes, reduce overshoot and oscillation, and enable the water dispenser to stably reach and maintain the target capacity by carefully adjusting the three parameters of proportion, integral and differential; it improves the flexibility and accuracy of the water dispenser and is suitable for various complex fluid control scenarios. Step S3033 The signal output by the controller is transmitted to the actuator to change the flow rate of the fluid and feedback the new data to the controller; the flow rate of the fluid is actually changed through the actuator, realizing the closed-loop regulation of the fluid control; at the same time, through the feedback mechanism, the controller can obtain the latest liquid capacity data for the next adjustment. Significance: The real-time and dynamic control of the water dispenser is guaranteed; through real-time feedback and adjustment, the water dispenser can quickly respond to changes in external conditions and maintain accurate control of the liquid capacity; the existence of closed-loop control makes the entire fluid control process more stable and reliable.
[0132] In summary, the present embodiments together constitute a closed-loop control process, so that the flow rate of the fluid can be dynamically adjusted according to actual needs, ensuring accurate control of the liquid capacity.
[0133] Example 10: Fig.10 As shown, on the basis of Embodiment 1 to Embodiment 9, the water dispenser provided in the embodiment of the present invention comprises: a normal temperature water tank, a hot water pump, a normal temperature water pump, a carbon dioxide gas cylinder, a refrigeration water tank, a cold water pump and three water outlets;
[0134] Among them, a water level detector is installed on the side wall of the normal temperature water tank. The normal temperature water tank is connected to the inlet ends of the hot water pump, the normal temperature water pump and the refrigeration water tank through pipelines; the outlet end of the hot water pump is connected to the heating pipe assembly, and a thermostat is installed on the heating pipe assembly. The heating pipe assembly is connected to the hot water solenoid valve, and the hot water solenoid valve is connected to the water vapor separation box, and then connected to the No. 3 water outlet; the normal temperature water pump is connected to the normal temperature water solenoid valve and the normal temperature bubble water solenoid valve, and the normal temperature water solenoid valve is connected to the No. 2 water outlet; the normal temperature bubble water solenoid valve is connected to the bubble water bottle Then, the bubble water bottle is connected to the carbon dioxide cylinder, the bubble water bottle is connected to the bubble water outlet solenoid valve, the bubble water outlet solenoid valve is connected to the bubble water outlet pump, and the bubble water outlet pump is connected to water outlet No. 1; the bubble water bottle is connected to the steering gear pressure relief valve, and the air pressure exceeds the safety value and automatically releases pressure; the refrigeration water tank is equipped with a semiconductor refrigeration component, the refrigeration water tank is connected to the cold water pump, the cold water pump is connected to the cold water bubble solenoid valve and the cold water solenoid valve, the cold water bubble solenoid valve is connected to the bubble water bottle, and the cold water solenoid valve is connected to water outlet No. 2.
[0135] The working principle and beneficial effects of the above technical solution are as follows: Normal temperature water supply: The water level detector monitors the water level in the normal temperature water tank to prevent the water tank from lacking water; The normal temperature water pump is responsible for delivering the water in the normal temperature water tank to the water outlet; The normal temperature water solenoid valve controls the flow of normal temperature water, and when normal temperature water is needed, the solenoid valve opens. Hot water supply: The hot water pump delivers the water in the normal temperature water tank to the heating pipe assembly; The heating pipe assembly controls the water temperature through the thermostat to ensure that the hot water reaches the set temperature; The hot water solenoid valve controls the flow of hot water, and when hot water is needed, the solenoid valve opens. Bubble water supply: The normal temperature water pump delivers the water in the normal temperature water tank to the bubble water bottle, and at the same time, the carbon dioxide cylinder injects carbon dioxide into the water through the bubble water bottle to make bubble water; The bubble water solenoid valve controls the flow of bubble water, and when bubble water is needed, the solenoid valve opens; The bubble water bottle is connected to the bubble water outlet solenoid valve, and the bubble water outlet solenoid valve controls the output of bubble water; The mechanical pressure relief is pressed by the steering gear to press the pressure relief valve, and the pressure in the water bottle is automatically relieved when the air pressure exceeds the safety value to ensure safety. Cold water supply: The cooling water tank is equipped with a semiconductor refrigeration component for cooling water; the cold water pump delivers the cold water in the cooling water tank to the outlet; the cold water solenoid valve controls the flow of cold water. Safety and control: * All solenoid valves are controlled to ensure that water flows only when needed, saving energy; when the air pressure in the bubble water bottle exceeds the safety value, it will automatically release pressure to prevent danger caused by excessive pressure.
[0136] The water dispenser of this embodiment can provide hot water, room temperature water and sparkling water to meet different drinking needs; the pump and solenoid valve will work only when water is needed, reducing energy waste; the pressure relief valve can prevent safety accidents caused by excessive air pressure; users can get the required water quality through simple operations without waiting or additional equipment; the water temperature can be adjusted according to the season and personal preferences, providing a personalized drinking experience. Combining multiple functions, it provides users with a convenient, safe and energy-saving drinking water solution.
[0137] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention belong to the scope of equivalent technologies of the present invention, the present invention is also intended to include these modifications and variations.
Claims
1. A control method for a multifunctional water dispenser, characterized in that: The following steps are involved: The user manipulates the water production selection function on the control interface, and after the manipulation is completed, the controller receives an operation termination instruction; the controller triggers the user demand program according to the termination instruction, and the user demand program identifies the manipulation selection function to obtain the user's purpose demand; According to the purpose demand, the corresponding water production mode is called, the water production mode starts the corresponding execution structure, and the working water production is carried out according to the preset water production program of the water production mode; Among them, there are three water production modes. The first water production mode includes cold water and normal temperature water, the second water production mode includes hot water, and the third water production mode includes normal temperature sparkling water and cold sparkling water; After the water production is completed, the capacity of the water container is obtained through the image acquisition device, and the flow rate of the water pump is calculated based on the capacity; when the water container reaches the preset capacity, the controller stops discharging water and sends a reminder to the user to take away the water container.
2. The control method of the multifunctional water dispenser according to claim 1, characterized in that: The process of obtaining the user's purpose needs includes the following steps: The specific content of the water production selection function is obtained, the element information corresponding to the specific content is extracted, and the element information is structured, and a node is established for each water production selection function in the user demand program; according to the association relationship in the node, the relationship between the water production selection function and the water production mode is established, and a functional relationship diagram is generated based on the nodes and relationships; wherein the specific content includes cold water, hot water, normal temperature water, normal temperature bubble water, cold water bubble and temperature; Record the water production selection function input by the user in real time, extract element information from the record through preprocessing, distinguish the element information, and obtain the purpose demand and temperature set; construct the corresponding code according to the purpose demand, and find the corresponding water production model from the functional relationship diagram; The temperature and water-making mode in the set are input into the controller through the data interface; the controller determines the temperature and water-making mode, and starts the water-making mode if they meet the water-making procedure.
3. The control method of the multifunctional water dispenser according to claim 1, characterized in that: The process of working water production according to the preset water production program of the water production mode includes the following steps: The temperature output by the controller and the water making mode corresponding to the water making program are obtained, and the target water making mode starting program is started according to the temperature and the water making mode. The target water making mode starting program first selects a water making mode from the functional relationship diagram according to the temperature content; After selecting a water production mode, confirm whether there are bubbles in the target demand. If there are bubbles, directly select the water production mode as the third water production mode, and confirm whether it is room temperature bubble water or cold bubble water according to the temperature content; if there are no bubbles, confirm whether heating is required according to the temperature content, and if heating is required, select the water production mode as the second water production mode; When the target demand does not include bubbles and heating, the cold water or normal temperature water mode of the first water production mode is confirmed to be started according to the temperature content.
4. The control method of the multifunctional water dispenser according to claim 3, characterized in that: The selection process of the third water production mode includes the following steps: The logic judgment module built into the controller performs logic judgment based on the detection results of the target requirements. If bubbles are detected, the logic judgment module triggers the mode switching instruction; the logic judgment module generates the mode switching instruction, and the mode switching instruction includes the identification information of the target mode and the switching timestamp; The controller calls the preset mode switching logic and responds to the mode switching instruction. The state transition table of the mode switching logic records the transition path and operation steps from the current mode to the target mode. According to the state transition table, the controller executes the state transition from the current mode to the third water production mode, closes the execution structure of the current mode and initializes the execution structure of the third water production mode.
5. The control method of the multifunctional water dispenser according to claim 4, characterized in that: The process of the logic judgment module generating a mode switching instruction includes the following steps: After the bubble detection is completed, the logic judgment module starts the logic operation, matches the detected bubble state with the preset conditions, and determines whether the conditions for switching to the third water production mode are met; if the switching conditions are met, the logic judgment module generates a switching decision and prepares to generate a mode switching instruction; The logic judgment module calls the preset mode switching instruction template, which includes the basic structure and necessary fields; Fill the identification information of the third water production mode into the mode switching instruction template, add the current timestamp, and record the time when the instruction is generated; after generating the instruction, check that all fields and information in the mode switching instruction have been filled; The logic judgment module activates the communication interface of the controller, transmits the generated mode switching instruction to the mode switching logic module, and waits for a confirmation signal from the mode switching logic module.
6. The control method of the multifunctional water dispenser according to claim 5, characterized in that: The process of determining whether the conditions for switching to the third water production mode are met includes the following steps: Compare the bubble detection in the target demand with the demand parameters of the third water-making mode. If there are bubbles, match the water volume and temperature. If not, use other modes. If there are bubbles, match the water volume and temperature. If not, use other modes. Use Boolean operators to combine multiple parameter conditions, perform first-level Boolean operations on water flow and temperature, and determine whether they are within the range of the third water-making mode. Obtain the required temperature of the bubble water in the target demand, obtain the output temperature of the bubble, and perform a second-level Boolean operation with the bubble temperature range required by the third water production mode; analyze the distribution of bubbles corresponding to the output temperature in different areas, and use Boolean operations to determine whether it meets the requirements of the third water production mode; The Boolean operation results of the first level and the second level are comprehensively matched, and multi-level Boolean operations are used to determine whether the switching conditions of the third water production mode are met.
7. The control method of the multifunctional water dispenser according to claim 3, characterized in that: The process of confirming the start of the cold water or normal temperature water mode of the first water production mode includes the following steps: Compare the temperature in the target demand with the preset temperature range of the first water production mode, the temperature range of the cold water mode is set between 0°C and 10°C, and the temperature range of the normal temperature water mode is set between 10°C and 25°C; If the detected temperature is lower than 10℃, the cold water mode is automatically selected. If the cold water button is pressed, the cold water mode is switched to after receiving the cold water button signal. The water source is directly delivered to the water outlet through the cold water pipe. If the detected temperature is between 10℃ and 25℃, the normal temperature water mode is selected and the water source is delivered to the water outlet through the normal temperature water pipe. If the normal temperature water button is pressed, the water switches to cold water mode after receiving the normal temperature water button signal; After selecting the corresponding mode, start the first water production mode and begin the water production process.
8. The control method of the multifunctional water dispenser according to claim 1, characterized in that: The process of calculating the flow rate of water outflow from the water pump based on the capacity includes the following steps: Obtain the geometric parameters of the water container, including height, diameter and wall thickness, use ultrasound to detect the surface height of the liquid in the container in real time, convert it into a digital signal through an analog-to-digital converter, and calculate the target capacity; According to the geometric parameters of the container, combined with the real-time detection of the liquid surface height, the liquid volume in the current container is calculated; a fluid mechanics model is established, including the geometric parameters of the container, the density and viscosity of the water, and the gravitational acceleration factors, and a numerical solution is performed through finite element analysis; According to the fluid mechanics model and the target capacity, the flow rate calculation formula is applied, combined with the current capacity and the target capacity, to calculate the required flow rate; the controller adjusts the flow rate in real time according to the current capacity and the target capacity.
9. The control method of the multifunctional water dispenser according to claim 8, characterized in that: The process of adjusting the flow rate in real time includes the following steps: Obtain the liquid capacity in the current container. The controller reads the liquid capacity in real time, compares it with the target capacity, and calculates the difference; Determine how to adjust the flow rate based on the difference. Calculate the proportional control output based on the difference through the PID control algorithm. Calculate the integral of the difference to get the integral control output. Calculate the rate of change of the difference to get the differential control output. Add the outputs of the proportional, integral and differential controls to get the total output of the controller. Adjust the output signal based on the difference and its changing trend. The signal output by the controller will be transmitted to the actuator, thereby changing the flow rate of the fluid; after adjusting the flow rate, the current liquid capacity is read again and the new data is fed back to the controller.
10. A water dispenser, characterized in that: Includes: normal temperature water tank, hot water pump, normal temperature water pump, carbon dioxide cylinder, refrigeration water tank, cold water pump and three water outlets; Among them, a water level detector is installed on the side wall of the normal temperature water tank. The normal temperature water tank is connected to the inlet ends of the hot water pump, the normal temperature water pump and the refrigeration water tank through pipelines; the outlet end of the hot water pump is connected to the heating pipe assembly, and a thermostat is installed on the heating pipe assembly. The heating pipe assembly is connected to the hot water solenoid valve, and the hot water solenoid valve is connected to the water vapor separation box, and then connected to the No. 3 water outlet; the normal temperature water pump is connected to the normal temperature water solenoid valve and the normal temperature bubble water solenoid valve, and the normal temperature water solenoid valve is connected to the No. 2 water outlet; the normal temperature bubble water solenoid valve is connected to the bubble water bottle Then, the bubble water bottle is connected to the carbon dioxide cylinder, the bubble water bottle is connected to the bubble water outlet solenoid valve, the bubble water outlet solenoid valve is connected to the bubble water outlet pump, and the bubble water outlet pump is connected to water outlet No. 1; the bubble water bottle is connected to the steering gear pressure relief valve, and the air pressure exceeds the safety value and automatically releases pressure; the refrigeration water tank is equipped with a semiconductor refrigeration component, the refrigeration water tank is connected to the cold water pump, the cold water pump is connected to the cold water bubble solenoid valve and the cold water solenoid valve, the cold water bubble solenoid valve is connected to the bubble water bottle, and the cold water solenoid valve is connected to water outlet No. 2.
Citation Information
Patent Citations
Water outlet waterway assembly and water dispenser
CN118356090A
Water dispenser
CN118436243A
Water dispenser water outlet control method and device, water dispenser and medium
CN118806106A