A water dispensing control method for a tea bar machine

By adopting a variable power start-up and shutdown control method in the tea bar machine, the problems of power restart and reset and pipeline leakage during water dispensing were solved, achieving stable operation of the water pump and improving the user experience.

CN119791456BActive Publication Date: 2026-03-13HANGZHOU JIUYANG WATER PURIFICATION SYST
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

The existing tea bar machine controls the water pump to run at full power during the water dispensing process, which can easily lead to the machine power restarting and resetting, as well as water leakage in the pipes, affecting the user experience.

Method used

A preset variable power start-up program is used to control the water pump to start in an increasing manner. By monitoring the operating current and power change parameters in real time, it is determined whether the triggering conditions for the constant power operation stage are met. Then, the constant power operation stage is entered, and the water pump is shut down in a decreasing manner when the water intake ends.

Benefits of technology

It effectively avoids power restart and reset problems and pipeline leakage caused by power fluctuations, improves the stability of water intake and user experience, extends the service life of the water pump, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119791456B_ABST
    Figure CN119791456B_ABST
Patent Text Reader

Abstract

This specification discloses a water dispensing control method for a tea bar machine, relating to the field of tea bar machine technology. The tea bar machine includes a water pump. The method includes: upon triggering a water dispensing command, controlling the water pump to start according to a preset increasing rule through a preset variable power start-up program, entering a variable power start-up stage, and collecting the real-time operating current of the water pump and power change parameters during the variable power start-up stage; based on the real-time operating current and power change parameters, determining whether the triggering conditions for the constant power operation stage of the water pump are met; when the triggering conditions for the constant power operation stage are met, determining the constant power operation parameters corresponding to the constant power operation stage through the power change parameters, and controlling the water pump operation with the constant power operation parameters; upon receiving a water dispensing end command, transitioning from the constant power operation stage to a variable power shutdown stage, and controlling the water pump to shut down according to a preset decreasing rule during the variable power shutdown stage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This manual relates to the field of tea bar machine technology, and in particular to a water dispensing control method for a tea bar machine. Background Technology

[0002] As a common drinking water device in daily life, the stability of the water dispensing function and the user experience of tea bar machines are crucial. However, existing tea bar machines generally have a high starting current for the water pump when the water dispensing function is activated, and this starting current gradually increases with the increase in usage years. Because some tea bar machine manufacturers often adopt conservative power supply designs to reduce costs, the power supply capacity is relatively small. When the starting current of the water pump increases to a certain level, it may exceed the power supply's capacity, causing the power supply to restart and reset, thus failing to dispense water normally and seriously affecting the user's normal use.

[0003] Currently, most tea bar machines on the market use full-power on / off control for their water pumps. This method causes rapid changes in pump power within a short time, resulting in significant impact on the piping during these transitions. To further shorten water dispensing time, some machines increase the pump's flow rate, exacerbating the impact on the piping. Prolonged operation under these conditions can lead to pipe leaks and other malfunctions. When the pump stops, the water flow rate decreases rapidly, causing a sudden increase in pressure and potentially creating water hammer, which may result in water dripping from another outlet. Therefore, current full-power pump control during water dispensing in tea bar machines can easily cause the machine to restart and reset, and carries the risk of pipe leaks, negatively impacting the user experience. Summary of the Invention

[0004] This specification provides one or more embodiments of a water dispensing control method for a tea bar machine, which solves the following technical problem: Currently, in the water dispensing process of a tea bar machine, controlling the water pump operation by starting and stopping at full power can easily lead to the machine power restarting and resetting, and there is also a risk of water leakage in the pipeline, which affects the user experience.

[0005] One or more embodiments of this specification employ the following technical solutions:

[0006] This specification provides one or more embodiments of a water dispensing control method for a tea bar machine, the tea bar machine including a water pump. The method includes: upon triggering a water dispensing command, controlling the water pump to start according to a preset increasing rule through a preset variable power start-up program, entering a variable power start-up stage, and collecting the real-time operating current of the water pump and the power change parameters of the variable power start-up stage; determining whether the triggering conditions for a constant power operation stage of the water pump are met based on the real-time operating current and the power change parameters; when the triggering conditions for the constant power operation stage are met, determining the constant power operation parameters corresponding to the constant power operation stage through the power change parameters, and controlling the water pump operation with the constant power operation parameters; when a water dispensing end command is received, transitioning from the constant power operation stage to a variable power shutdown stage, and controlling the water pump to shut down according to a preset decreasing rule during the variable power shutdown stage.

[0007] Furthermore, before controlling the water pump to start according to a preset incremental pattern, the method further includes: performing a whole-machine start-up test on the water pump to determine the start-up duration threshold corresponding to the variable power start-up stage of the water pump; setting a minimum incremental period and a minimum incremental control index based on the start-up duration threshold; adjusting the power control index according to the minimum incremental period and the minimum incremental control index to determine the incremental pattern.

[0008] Through the above technical solution, a whole-machine start-up test is conducted on the water pumps before they leave the factory to determine the start-up time threshold for each pump. This allows for the design of targeted increment rules, and personalized settings ensure that the water pumps can smoothly transition to a stable water output state during startup, avoiding instability or failure caused by improper power adjustment. The minimum increment cycle and minimum increment control index set according to the start-up time threshold allow for precise control of the power increment process, improving the accuracy of power adjustment and helping to reduce energy consumption and wear, thus extending the pump's service life. In actual use, users can directly call the preset increment rules without cumbersome manual settings or adjustments, simplifying the operation process. Since different types and specifications of water pumps have performance differences, customizing increment rules for each pump better adapts to the startup needs of various pumps.

[0009] Furthermore, a whole-machine start-up test is performed on the water pump to determine the start-up duration threshold corresponding to the variable power start-up stage of the water pump. Specifically, this includes: performing a whole-machine start-up test on the water pump to collect the real-time start-up current corresponding to multiple observation timestamps after the water pump starts at full power; determining the maximum observation duration corresponding to the real-time start-up current being higher than the theoretical maximum start-up current based on the relationship between the multiple real-time start-up currents and the theoretical maximum start-up current of the water pump; and determining the start-up duration threshold corresponding to the variable power start-up stage of the water pump based on the maximum observation duration and a preset safety control duration.

[0010] Through the above technical solution, the real-time starting current of the water pump can be accurately collected at multiple observation time stamps after the pump starts at full power, providing a reliable basis for determining the starting duration threshold. By comparing the real-time starting current with the theoretical maximum starting current, the observation point where the real-time starting current exceeds the theoretical maximum value can be accurately identified, and the maximum observation duration can be determined. Combined with the preset safety control duration, the starting duration threshold can be accurately calculated. Within the starting duration threshold, the power of the water pump can be gradually increased according to the actual situation to avoid mechanical shock and energy waste caused by excessive power. Through precise control of the starting duration threshold, mechanical wear and damage to the water pump caused by excessive or insufficient power during the start-up phase can be avoided. In addition, the preset safety control duration adds an extra safety margin to the determination of the starting duration threshold, ensuring that the water pump will not fail to draw water due to improper power control during the start-up process.

[0011] Further, based on the real-time operating current and the power change parameters, it is determined whether the triggering conditions for the constant power operation phase of the water pump are met. Specifically, this includes: when the real-time operating current is not less than the pre-acquired initial set current threshold of the water pump, and the current power control index in the power change parameters is lower than the preset control index limit, it is determined that the triggering conditions for the constant power operation phase are met; or, when the real-time operating current is less than the pre-acquired initial set current threshold of the water pump, and the current power control index in the power change parameters is not lower than the preset control index limit, it is determined that the triggering conditions for the constant power operation phase are met.

[0012] By employing the aforementioned technical solution, real-time monitoring of the pump's operating current and comparison with a preset maximum current threshold can prevent overload operation and avoid damage to the pump or other system components due to excessive current. Simultaneously, monitoring the current power control parameters allows for timely detection of power control anomalies, ensuring the pump operates within a safe power range. When the pump reaches a certain operating current level and the power control parameters are below the preset limits, it is determined to have entered a constant power operation phase, which helps the pump operate in a more stable and efficient state. The constant power operation phase signifies relatively stable power output from the pump. Through program presets and real-time monitoring, intelligent judgment of the pump's operating status is achieved, reducing manual intervention. The initial current threshold and preset control parameter limits can be flexibly adjusted according to the specific pump model, application scenario, and system power supply scheme, ensuring the accuracy and reliability of the judgment logic. This allows the technical solution to be applied to different pump models and application scenarios, improving versatility and flexibility.

[0013] Furthermore, the method also includes: obtaining the maximum operating power of the water pump and the rated voltage of the system voltage of the tea bar machine; determining the safe operating voltage of the water pump by using the rated voltage and a preset safety margin ratio; and determining the initial set current threshold corresponding to the water pump based on the maximum operating power of the water pump and the safe operating voltage.

[0014] By using the above technical solution, and by pre-determining the initial current threshold of the water pump, it can be ensured that the water pump will not exceed the maximum carrying capacity of the system power supply during operation, thereby avoiding voltage drop and maintaining power supply stability. When the water pump's operating current exceeds the carrying capacity of the system power supply, the power supply may automatically reset or shut down due to overload to protect the circuit from damage. By setting a reasonable initial current threshold, this situation can be avoided, thereby protecting the power supply and water pump from damage. By accurately calculating the initial current threshold of the water pump, it can be ensured that the water pump operates in optimal condition, reducing energy consumption and mechanical wear.

[0015] Furthermore, the method also includes: obtaining the maximum operating power of the water pump under full power operation, and determining the control index limit based on the adjustment index corresponding to the maximum operating power.

[0016] Furthermore, by using the power change parameters, the constant power operation parameters corresponding to the constant power operation stage are determined, specifically including: determining the number of minimum increment cycles and the minimum increment control index in the power change parameters; determining the current increment adjustment index corresponding to the time when the triggering condition of the constant power operation stage of the water pump is met based on the minimum increment control index and the number of cycles; if the current increment adjustment index is less than the preset adjustment index limit, then the constant power operation parameters are determined based on the operating power corresponding to the current increment adjustment index; if the current increment adjustment index is not less than the preset adjustment index limit, then the constant power operation parameters are determined based on the operating power corresponding to the adjustment index limit.

[0017] Through the above technical solutions, by setting the minimum increment period and minimum increment control index, the starting power of the water pump can be smoothly increased, avoiding sudden power changes during the startup process and thus reducing impact. Gradually increasing the duty cycle D makes the water pump startup more stable, avoiding excessive mechanical stress caused by sudden power increases and extending the service life of the water pump. By controlling the total duration of the variable power startup phase (determined by (D / D1)*T), the water pump startup stability can be ensured while optimizing water intake efficiency. When the water intake time is fixed, by adjusting the startup duration and power increment pattern, the water intake volume during startup can be controlled to a certain extent to meet the needs of different scenarios. When the water pump enters the constant power operation phase, the working state of the water pump can be dynamically adjusted according to the real-time operating current and the preset control index limit to avoid unnecessary energy consumption. Setting the minimum increment period and minimum increment control index according to actual needs and experience has strong flexibility and adaptability. Startup parameters can be adjusted according to different application scenarios and working environments to achieve the best startup effect and water intake efficiency. Control based on the duty cycle of the PWM wave is easy to implement in existing control systems.

[0018] Furthermore, during the variable power shutdown phase, the water pump is controlled to shut down according to a preset decreasing pattern. This specifically includes: determining a pre-acquired startup duration threshold corresponding to the variable power startup phase; determining the variable power shutdown duration corresponding to the variable power shutdown phase based on the startup duration threshold and the pre-acquired delayed shutdown duration threshold, wherein the variable power shutdown duration is not less than the startup duration threshold and not greater than the delayed shutdown duration threshold; setting a minimum decreasing cycle and a minimum decreasing control index based on the variable power shutdown duration, so that within each minimum decreasing cycle, the power control index is decreased according to the minimum decreasing control index to control the water pump to shut down.

[0019] By employing the aforementioned technical solution and rationally setting the variable power shutdown duration threshold, sufficient time is ensured for the water pump to reduce its power after receiving the water intake termination command. This avoids water hammer effects caused by sudden power changes, a common physical phenomenon during pump shutdown that can lead to serious consequences such as pipe rupture and pump damage. A smooth power reduction process effectively mitigates the risk of water hammer. The setting of minimum reduction cycle and minimum reduction control index ensures the regularity and controllability of the power reduction process. The stable power reduction within each cycle ensures the smoothness of the pump shutdown process, avoiding mechanical vibration and noise caused by sudden power changes. By rationally setting the reduction cycle and reduction amount, the perceived shutdown delay can be minimized while ensuring a smooth shutdown. The smooth power reduction process reduces mechanical stress on the pump and pipeline, extends equipment lifespan, reduces equipment damage and maintenance costs caused by water hammer and other malfunctions, and improves overall reliability.

[0020] Furthermore, the method also includes: controlling the water pump to run using the constant power operating parameters, and collecting real-time current; when the difference between the real-time current and the pre-acquired initial set current threshold is greater than the preset alarm current threshold, sending a water pump abnormality alarm.

[0021] By employing the aforementioned technical solutions, and through real-time acquisition of water pump current data and comparison with preset thresholds, abnormal water pump conditions, such as overload, blockage, or motor failure, can be detected immediately. This real-time monitoring and early warning mechanism significantly reduces the risk of production interruptions or safety accidents caused by water pump malfunctions. Timely detection and handling of abnormal water pump conditions effectively prevents the occurrence or escalation of faults, thereby extending the water pump's service life and reducing the failure rate. Real-time monitoring of the water pump's operating status allows for more precise maintenance planning, avoiding unnecessary maintenance operations and resource waste. When the system issues a water pump malfunction alarm, maintenance personnel can quickly locate the fault point and take appropriate measures for repair.

[0022] Furthermore, the power regulation index is the duty cycle of the water pump voltage pulse width modulation wave. By adjusting the duty cycle of the water pump voltage pulse width modulation wave, the water pump power is regulated.

[0023] The above technical solution allows for precise control of the water pump power by adjusting the duty cycle of the PWM wave. Changes in the duty cycle directly affect the average voltage across the water pump, thereby regulating the pump's power output. This method is more precise and stable than traditional analog regulation, better meeting the needs of various application scenarios. Precise control of the water pump power avoids unnecessary energy consumption. The PWM wave control method has a fast response speed, enabling rapid adjustment of the water pump's power output. By quickly adjusting the duty cycle, the required power output can be achieved quickly. Precise control of the water pump power also prevents mechanical wear caused by excessive or insufficient power.

[0024] The above-described at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:

[0025] 1. Through a preset variable power start-up program, the water pump no longer starts directly at full power, but gradually increases power according to a preset incremental pattern. This significantly reduces the instantaneous current during pump startup, avoiding direct impact of high current on the power supply. This effectively reduces the problem of power restart and reset caused by excessive starting current. Because the starting current is reduced, the power supply capacity requirement of this technical solution is lowered. Even under a more conservative power supply design, the stable startup and operation of the water pump can be guaranteed, improving the compatibility of the tea bar machine with power supplies.

[0026] 2. During the variable power start-up and shutdown phases, the power of the water pump changes gradually, rather than instantaneously turning on or off at full power. This smooth power change effectively reduces the impact on the pipeline and avoids malfunctions such as pipeline leakage caused by sudden power changes. During the variable power shutdown phase, the water pump gradually reduces its power according to a preset decreasing pattern, allowing the water flow velocity in the pipeline to decrease slowly. This reduces sudden pressure changes in the pipeline, effectively reduces the occurrence of water hammer, and prevents water from dripping from another outlet.

[0027] 3. Precise power control ensures stable operation of the water pump during constant power operation, thereby guaranteeing the continuity and stability of water supply, improving the user's water dispensing experience, reducing damage to the water pump and pipeline caused by power surges during startup and shutdown, extending the service life of the tea bar machine, and reducing user maintenance costs. This technical solution can adaptively adjust the parameters during constant power operation based on the real-time operating current and power variation parameters of the water pump, ensuring stable operation of the water pump under different working conditions. Due to the adoption of intelligent control methods, the maintenance and debugging of the tea bar machine becomes simpler and more convenient, reducing user maintenance costs. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0029] Figure 1 A flowchart illustrating a water dispensing control method for a tea bar machine provided in an embodiment of this specification;

[0030] Figure 2 This is a schematic diagram of the duty cycle waveform provided in the embodiments of this specification;

[0031] Figure 3 A waveform diagram illustrating a water intake process provided in an embodiment of this specification;

[0032] Figure 4 This is a waveform diagram illustrating another water intake process provided in the embodiments of this specification. Detailed Implementation

[0033] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.

[0034] This specification provides a water dispensing control method for a tea bar machine. It should be noted that the executing entity in this specification embodiment can be a server or any device with data processing capabilities. Figure 1 This is a flowchart illustrating a water dispensing control method for a tea bar machine provided in an embodiment of this specification, as shown below. Figure 1 As shown, the main steps include the following:

[0035] In step S101, triggered by the water intake command, the water pump is controlled to start according to a preset incremental pattern through a preset variable power start-up program, entering the variable power start-up stage, and the real-time operating current of the water pump and the power change parameters during the variable power start-up stage are collected.

[0036] In one embodiment of this specification, when a water dispensing command is received, the water dispensing process is executed upon triggering the command. The tea bar machine has a preset variable power start-up program. Unlike traditional full-power start-up, the variable power start-up program gradually increases the water pump power according to a preset incremental pattern to avoid current surges and mechanical wear during startup. The water pump power is gradually increased according to the variable power start-up program, following a preset incremental pattern. When the water pump starts starting according to the incremental pattern, the variable power start-up stage begins. During the variable power start-up stage, the water pump's operating current and power change parameters are collected in real time. The real-time operating current reflects the current operating status of the water pump, while the power change parameters represent the power changes during the variable power stage.

[0037] Before controlling the water pump to start according to the preset incremental pattern, the method further includes: performing a whole-machine start-up test on the water pump to determine the start-up duration threshold corresponding to the variable power start-up stage of the water pump; setting a minimum incremental period and a minimum incremental control index based on the start-up duration threshold; adjusting the power control index according to the minimum incremental period and the minimum incremental control index to determine the incremental pattern.

[0038] In one embodiment of this specification, different types and specifications of water pumps exhibit performance differences. To ensure the specificity of the incremental pattern, a whole-machine start-up test is performed on the water pump before it leaves the factory to determine the start-up duration threshold corresponding to the variable power start-up stage of the water pump. This start-up duration threshold is used to determine the incremental pattern, which is then written into the variable power start-up program for easy invocation during actual user operation. In this process, the start-up duration threshold is the time from the start of the water pump to stable water output. Based on the start-up duration threshold, the minimum increment cycle and minimum increment control index in the incremental pattern are set. It should be noted that the minimum increment cycle here refers to how often the increment occurs within the start-up duration threshold, and the minimum increment adjustment control refers to the minimum adjustment amount within each minimum increment cycle. The power control index is adjusted according to this minimum increment cycle and the minimum increment control index to determine the incremental pattern.

[0039] Through the above technical solution, a whole-machine start-up test is conducted on the water pumps before they leave the factory to determine the start-up time threshold for each pump. This allows for the design of targeted increment rules, and personalized settings ensure that the water pumps can smoothly transition to a stable water output state during startup, avoiding instability or failure caused by improper power adjustment. The minimum increment cycle and minimum increment control index set according to the start-up time threshold allow for precise control of the power increment process, improving the accuracy of power adjustment and helping to reduce energy consumption and wear, thus extending the pump's service life. In actual use, users can directly call the preset increment rules without cumbersome manual settings or adjustments, simplifying the operation process. Since different types and specifications of water pumps have performance differences, customizing increment rules for each pump better adapts to the startup needs of various pumps.

[0040] In one embodiment of this specification, the power regulation index is the duty cycle of the pump voltage pulse width modulation (PWM) wave. By adjusting the duty cycle of the pump voltage PWM wave, the pump power is regulated. By controlling the duty cycle of the pump voltage PWM wave to regulate the pump power, the pump current is controlled. Figure 2 This is a schematic diagram of the duty cycle waveform provided in the embodiments of this specification, such as... Figure 1 As shown, when the water pump operates at a constant speed, both the PWM wave output by the driver and the voltage output by the adjustable DC power supply directly affect the load. The larger the duty cycle of the PWM wave, the closer the corresponding DC voltage is to the amplitude of the PWM wave; conversely, the smaller the duty cycle, the closer it is to 0V. Therefore, the power of the water pump can be adjusted by regulating the duty cycle. According to the power calculation formula P = UI, where P is power, U is voltage, and I is current, under the condition of a fixed input voltage, as the power of the water pump increases, the starting current of the water pump gradually increases and stabilizes. When the power control index is the duty cycle of the water pump voltage pulse width modulation wave, the minimum incremental control index can be the minimum adjustable duty cycle.

[0041] The above technical solution allows for precise control of the water pump power by adjusting the duty cycle of the PWM wave. Changes in the duty cycle directly affect the average voltage across the water pump, thereby regulating the pump's power output. This method is more precise and stable than traditional analog regulation, better meeting the needs of various application scenarios. Precise control of the water pump power avoids unnecessary energy consumption. The PWM wave control method has a fast response speed, enabling rapid adjustment of the water pump's power output. By quickly adjusting the duty cycle, the required power output can be achieved quickly. Precise control of the water pump power also prevents mechanical wear caused by excessive or insufficient power.

[0042] A full-machine startup test was conducted on the water pump to determine the startup duration threshold corresponding to the variable power startup phase of the water pump. Specifically, this included: conducting a full-machine startup test on the water pump to collect the real-time startup current corresponding to multiple observation timestamps after the water pump started at full power; determining the maximum observation duration corresponding to the real-time startup current being higher than the theoretical maximum startup current based on the relationship between the multiple real-time startup currents and the theoretical maximum startup current of the water pump; and determining the startup duration threshold corresponding to the variable power startup phase of the water pump based on the maximum observation duration and the preset safety control duration.

[0043] In one embodiment of this specification, a full-machine startup test is performed on the water pump. The water pump is started, and a current measuring device is used to record the real-time startup current at multiple observation timestamps after the pump starts at full power. The observation timestamps can be set according to actual conditions, for example, recording once every 10 milliseconds or less. The recorded real-time startup current data is compared with the theoretical maximum startup current. All observation points where the real-time startup current is higher than the theoretical maximum startup current are identified, and the timestamps corresponding to these observation points are recorded. Generally, the timestamps are continuous. By using the observation timestamps corresponding to the real-time startup current being higher than the theoretical maximum startup current, the maximum observation duration is determined, i.e., the longest time the real-time startup current remains higher than the theoretical maximum startup current. Based on the maximum observation duration and a preset safety control duration (for example, for safety reasons, an additional safety time, such as 5 milliseconds or 10 milliseconds, can be set), the startup duration threshold corresponding to the variable power startup stage of the water pump is determined. Startup duration threshold = maximum observation duration + safety control duration. Through the full-machine startup test, the real-time startup current data of the water pump after full-power startup is obtained, and the relationship between these data and the theoretical maximum startup current is analyzed. Finally, the threshold for the start-up duration of the variable power start-up phase of the water pump is determined. In other words, the variable power duration during the start-up phase of the water pump should be within the threshold for start-up duration.

[0044] Through the above technical solution, the real-time starting current of the water pump can be accurately collected at multiple observation time stamps after the pump starts at full power, providing a reliable basis for determining the starting duration threshold. By comparing the real-time starting current with the theoretical maximum starting current, the observation point where the real-time starting current exceeds the theoretical maximum value can be accurately identified, and the maximum observation duration can be determined. Combined with the preset safety control duration, the starting duration threshold can be accurately calculated. Within the starting duration threshold, the power of the water pump can be gradually increased according to the actual situation to avoid mechanical shock and energy waste caused by excessive power. Through precise control of the starting duration threshold, mechanical wear and damage to the water pump caused by excessive or insufficient power during the start-up phase can be avoided. In addition, the preset safety control duration adds an extra safety margin to the determination of the starting duration threshold, ensuring that the water pump will not fail to draw water due to improper power control during the start-up process.

[0045] Step S102: Based on the real-time operating current and the power change parameter, determine whether the triggering conditions for the constant power operation stage of the water pump are met. When the triggering conditions for the constant power operation stage are met, determine the constant power operation parameters corresponding to the constant power operation stage through the power change parameter, and control the operation of the water pump with the constant power operation parameters.

[0046] In one embodiment of this specification, the conditions for entering the constant power operation stage are determined by monitoring the real-time operating current and power change parameters of the water pump. Once the conditions are met, the constant power operation parameters corresponding to the constant power operation stage are determined based on the power change parameters, and the water pump is controlled to enter the constant power operation stage and operate at the constant power operation parameters using these parameters.

[0047] By monitoring the real-time operating current and power changes of the water pump, intelligent monitoring of the pump's operating status is achieved. When the triggering conditions for the constant power operation phase are met, the constant power operation parameters can be automatically determined, and the pump's operation can be controlled accordingly, improving the automation level of the pump's operation and reducing the need for manual intervention. By using power change parameters to determine whether the constant power operation phase has been entered, and accordingly determining the constant power operation parameters, precise control of the pump's power output can be achieved, avoiding energy waste and mechanical wear caused by excessive or insufficient power. The constant power operation phase means that the pump will operate with a constant power output, which helps to maintain stable outlet water pressure and flow.

[0048] Based on the real-time operating current and the power change parameter, it is determined whether the triggering conditions for the constant power operation phase of the water pump are met. Specifically, this includes: when the real-time operating current is not less than the pre-acquired initial set current threshold of the water pump, and the current power control index in the power change parameter is lower than the preset control index limit, it is determined that the triggering conditions for the constant power operation phase are met; or, when the real-time operating current is less than the pre-acquired initial set current threshold of the water pump, and the current power control index in the power change parameter is not lower than the preset control index limit, it is determined that the triggering conditions for the constant power operation phase are met.

[0049] In one embodiment of this specification, the operating current of the water pump is monitored in real time and compared with a pre-acquired initial set current threshold for the water pump. This initial set current threshold is the maximum current value that the water pump is allowed to operate at, preset by the program. This value is selected based on the proportion of the water pump's operating power to the maximum power of the system power supply scheme. Simultaneously, the current power control index corresponding to the operating current in the power change parameters is monitored. This index reflects the current power control amount of the water pump. The current power control index is compared with a preset control index limit. Based on the above two comparison results, it is determined whether the triggering condition for the constant power operation stage is met. The specific determination logic is as follows: If the real-time operating current is not less than the initial set current threshold, and the current power control index is lower than the preset control index limit, this indicates that the water pump has reached a certain operating current level, and therefore it can be determined that the triggering condition for the constant power operation stage is met. Alternatively, if the real-time operating current is less than the initial set current threshold, but the current power control index is not lower than the preset control index limit, that is, the adjustment limit of the control index has been reached, and therefore it can be determined that the triggering condition is met.

[0050] By employing the aforementioned technical solution, real-time monitoring of the pump's operating current and comparison with a preset maximum current threshold can prevent overload operation and avoid damage to the pump or other system components due to excessive current. Simultaneously, monitoring the current power control parameters allows for timely detection of power control anomalies, ensuring the pump operates within a safe power range. When the pump reaches a certain operating current level and the power control parameters are below the preset limits, it is determined to have entered a constant power operation phase, which helps the pump operate in a more stable and efficient state. The constant power operation phase signifies relatively stable power output from the pump. Through program presets and real-time monitoring, intelligent judgment of the pump's operating status is achieved, reducing manual intervention. The initial current threshold and preset control parameter limits can be flexibly adjusted according to the specific pump model, application scenario, and system power supply scheme, ensuring the accuracy and reliability of the judgment logic. This allows the technical solution to be applied to different pump models and application scenarios, improving versatility and flexibility.

[0051] The method further includes: obtaining the maximum operating power of the water pump and the rated voltage of the system voltage of the tea bar machine; determining the safe operating voltage of the water pump by using the rated voltage and a preset safety margin ratio; and determining the initial set current threshold corresponding to the water pump based on the maximum operating power of the water pump and the safe operating voltage.

[0052] In one embodiment of this specification, it is necessary to pre-determine the initial current threshold for the water pump, which is the maximum current value that the water pump is allowed to operate at (preset by the program). When the water pump's operating current approaches or exceeds the maximum capacity of the system power supply, it may cause a drop in power supply voltage, affecting the stability of the power supply. Other electrical devices may also be affected, as the power supply of the entire system needs to provide sufficient current to all devices. If the water pump's operating current exceeds the system power supply's carrying capacity, the power supply may automatically reset or shut down due to overload to protect the circuit from damage, which will cause the tea bar machine to malfunction and may even damage the power supply or water pump.

[0053] First, it's necessary to obtain the maximum operating power of the water pump under rated conditions. This can usually be found in the pump manufacturer's technical specifications or nameplate, indicating the maximum power the pump can output under normal operating conditions. Then, determine the rated voltage of the tea bar machine's system voltage. By combining the rated voltage of the system voltage with a safety margin ratio, the safe operating voltage of the water pump can be determined. It should be noted that the rated voltage of the system power supply (unit: volts, V) refers to the rated voltage of the power network to which the tea bar machine is connected. The preset safety margin ratio is generally less than 1 to ensure that the current does not approach or exceed the maximum carrying capacity of the system power supply. Considering the presence of other electrical systems and the stability of the power supply, it is generally recommended that the value of k be around 0.6 or lower (i.e., not exceeding 60% of the maximum power of the system power supply). Finally, based on the water pump's maximum operating power and safe operating voltage, the maximum operating current corresponding to the water pump under the safe operating voltage can be calculated using the power formula (P = V * I). This value is used as the initial set current threshold for the water pump, representing the current value that the water pump should not exceed under normal operating conditions to ensure that it does not operate under overload.

[0054] By using the above technical solution, and by pre-determining the initial current threshold of the water pump, it can be ensured that the water pump will not exceed the maximum carrying capacity of the system power supply during operation, thereby avoiding voltage drop and maintaining power supply stability. When the water pump's operating current exceeds the carrying capacity of the system power supply, the power supply may automatically reset or shut down due to overload to protect the circuit from damage. By setting a reasonable initial current threshold, this situation can be avoided, thereby protecting the power supply and water pump from damage. By accurately calculating the initial current threshold of the water pump, it can be ensured that the water pump operates in optimal condition, reducing energy consumption and mechanical wear.

[0055] The method also includes: obtaining the maximum operating power of the water pump under full power operation, and determining the limit of the control index based on the adjustment index corresponding to the maximum operating power.

[0056] In one embodiment of this specification, the maximum operating power of the water pump under full power operation is determined, and the control index limit under the maximum operating power is determined according to the power adjustment value corresponding to the adjustment index. For example, in this embodiment, the adjustment index is the duty cycle of the water pump voltage pulse width modulation wave. When the duty cycle of the PWM wave is larger, the corresponding DC voltage is closer to the amplitude of the PWM wave; conversely, it is closer to 0V. Therefore, under this adjustment index, the corresponding control index limit is a duty cycle of 1. Adjusting the water pump power by the duty cycle of the PWM wave can achieve precise control of the water pump's operating state. Changes in the duty cycle can directly affect the water pump's voltage and current, thereby adjusting its power output. Precise control helps ensure that the water pump can output the required power when needed, while avoiding overload or insufficient power.

[0057] By using this power change parameter, the constant power operation parameters corresponding to the constant power operation stage are determined. Specifically, this includes: determining the number of minimum increment cycles and the minimum increment control index in the power change parameter; determining the current increment adjustment index corresponding to the triggering condition of the constant power operation stage of the water pump when the minimum increment control index and the number of cycles are met; if the current increment adjustment index is less than the preset adjustment index limit, then the constant power operation parameter is determined based on the operating power corresponding to the current increment adjustment index; if the current increment adjustment index is not less than the preset adjustment index limit, then the constant power operation parameter is determined based on the operating power corresponding to the adjustment index limit.

[0058] In one embodiment of this specification, the number of minimum increment cycles and the minimum increment control index in the power change parameters of the variable power start-up phase are determined. This means that the power is incremented according to the minimum increment control index within several minimum increment cycles. The current increment adjustment index corresponding to the constant power operation phase of the water pump can be determined by multiplying the minimum increment control index and the number of cycles. The following explanation uses the duty cycle of the PWM wave as an example: Assume the minimum increment cycle is T, D1 is the minimum increment control index set in the program, i.e., the minimum duty cycle, and D is the duty cycle after multiple cycles. At the first start-up, the duty cycle D = 0. Each time a cycle T passes, the duty cycle is adjusted once, and the minimum duty cycle is added once. That is, after one cycle, D = D1; after two cycles, D = 2 times D1; ​​after n cycles, D = n times D1. Where (D / D1)*T is the total duration corresponding to the variable power start-up phase of the water pump, with the maximum duration when D = 1. When the water intake time is fixed, the longer the time, the smaller the water intake within the same time period. Therefore, by setting the minimum increment period and minimum increment control index in the increment law through the start-up duration threshold, the settings can be set according to actual needs and experience. For example, when setting the minimum increment period, the start-up duration threshold can be set as an integer multiple of the minimum increment period. When setting the minimum increment control index, it can be designed to satisfy the limit of the control index as an integer multiple of the minimum increment control index. The embodiments in this specification are not specifically limited here.

[0059] After determining the current incremental adjustment index corresponding to the trigger condition for the constant power operation phase of the water pump, the relationship between the current incremental adjustment index and the adjustment index limit is judged. Since there are two situations for the trigger condition of the constant power operation phase of the water pump, one is that the real-time operating current is not less than the initial set current threshold, and the current power control index is lower than the preset control index limit. That is to say, after N minimum increment cycles, the collected I ≥ I0 (initial set current threshold) and the duty cycle has not reached 1. At this time, the current incremental adjustment index, i.e., the duty cycle D, is recorded, and the water pump is controlled to continue to operate at this duty cycle D to enter the constant power phase. At this time, the water pump operates at constant power with the power corresponding to the duty cycle D. Another approach is when the real-time operating current is less than the initially set current threshold, but the current power control index is not lower than the preset control index limit. That is, after multiple minimum increment cycles, the real-time operating current I is always less than I0 (the initially set current threshold). When the real-time operating current I is less than I0, a minimum increment control index (minimum duty cycle D1) is added. When the current increment adjustment index (duty cycle D) equals the adjustment index limit (duty cycle D is 1), a constant power operation phase is performed at the operating power corresponding to a duty cycle of 1. It should be noted that the water pump operates at full power during this phase.

[0060] Through the above technical solutions, by setting the minimum increment period and minimum increment control index, the starting power of the water pump can be smoothly increased, avoiding sudden power changes during the startup process and thus reducing impact. Gradually increasing the duty cycle D makes the water pump startup more stable, avoiding excessive mechanical stress caused by sudden power increases and extending the service life of the water pump. By controlling the total duration of the variable power startup phase (determined by (D / D1)*T), the water pump startup stability can be ensured while optimizing water intake efficiency. When the water intake time is fixed, by adjusting the startup duration and power increment pattern, the water intake volume during startup can be controlled to a certain extent to meet the needs of different scenarios. When the water pump enters the constant power operation phase, the working state of the water pump can be dynamically adjusted according to the real-time operating current and the preset control index limit to avoid unnecessary energy consumption. Setting the minimum increment period and minimum increment control index according to actual needs and experience has strong flexibility and adaptability. Startup parameters can be adjusted according to different application scenarios and working environments to achieve the best startup effect and water intake efficiency. Control based on the duty cycle of the PWM wave is easy to implement in existing control systems.

[0061] The method further includes: controlling the water pump to run using the constant power operating parameters, and collecting real-time current; when the difference between the real-time current and the pre-acquired initial set current threshold is greater than the preset alarm current threshold, sending a water pump abnormality alarm.

[0062] In one embodiment of this specification, during the constant power operation phase, since the operating power is constant, the real-time current during this phase can be used to monitor pump operation for anomalies. After the pump begins constant power operation, real-time current data is collected. An alarm current threshold is set based on the actual operating conditions to determine if the difference between the real-time current and the initially set current threshold is large enough to trigger an alarm. The real-time current is compared with the pump's initially set current threshold; when the difference between the real-time current and the pre-acquired initially set current threshold is greater than the preset alarm current threshold, a pump anomaly alarm is sent.

[0063] By employing the aforementioned technical solutions, and through real-time acquisition of water pump current data and comparison with preset thresholds, abnormal water pump conditions, such as overload, blockage, or motor failure, can be detected immediately. This real-time monitoring and early warning mechanism significantly reduces the risk of production interruptions or safety accidents caused by water pump malfunctions. Timely detection and handling of abnormal water pump conditions effectively prevents the occurrence or escalation of faults, thereby extending the water pump's service life and reducing the failure rate. Real-time monitoring of the water pump's operating status allows for more precise maintenance planning, avoiding unnecessary maintenance operations and resource waste. When the system issues a water pump malfunction alarm, maintenance personnel can quickly locate the fault point and take appropriate measures for repair.

[0064] Step S103, when the water intake end instruction is received, it changes from the constant power operation stage to the variable power shutdown stage, and in the variable power shutdown stage, the water pump is controlled to shut down according to a preset decreasing rule.

[0065] In an embodiment of this specification, when the water intake end instruction is received, the operating state of the water pump changes from the constant power operation stage to the variable power shutdown stage, ensuring that the water pump can be shut down smoothly and orderly, and avoiding impacts or damages caused by sudden power changes. When it is monitored that the water intake operation has been completed, or when the water intake end instruction sent by the user is received, the transition from the constant power operation stage to the variable power shutdown stage is triggered. The power output of the water pump starts to be controlled according to a preset decreasing rule, and the decreasing rule is opposite to the increasing rule in the variable power startup stage. For example, the duty cycle of the PWM wave can be used as an adjustment index, and the duty cycle is gradually reduced in the shutdown stage, thereby reducing the power output of the water pump. In the variable power shutdown stage, the duty cycle of the PWM wave can be gradually reduced, thereby reducing the voltage and current outputs of the water pump. The decreasing step size and rate of the duty cycle can be preset and adjusted according to actual needs. For example, a decreasing period T' can be set, and within each decreasing period, the duty cycle is reduced by a preset step size D' (D' < D1, D1 is the minimum increasing regulation index in the startup stage). Through the cumulative effect of multiple decreasing periods, the duty cycle will gradually decrease to zero or a state close to zero.

[0066] By gradually reducing the duty cycle of the PWM wave, the voltage and current outputs of the water pump can be smoothly reduced, avoiding impacts on the water pump itself and the power supply caused by sudden power changes, protecting the motor and mechanical components of the water pump, and reducing wear and damage caused by sudden shutdown; the smooth shutdown process reduces the stress concentration of the water pump at the moment of shutdown, thereby extending the service life of the water pump and its related equipment; the shutdown method of gradually reducing the power of the water pump helps to maintain the stability of the power supply system. Sudden power changes may cause fluctuations in the grid voltage and affect the normal operation of other equipment. By smoothly shutting down the water pump, such potential instability factors are reduced.

[0067] In this variable power shutdown stage, the water pump is controlled to shut down according to a preset decreasing rule, specifically including: determining the startup duration threshold corresponding to the previously obtained variable power startup stage; determining the variable power shutdown duration corresponding to this variable power shutdown stage according to this startup duration threshold and the previously obtained delay shutdown duration threshold, where the variable power shutdown duration is not less than this startup duration threshold and not greater than this delay shutdown duration threshold; setting the minimum decreasing period and the minimum decreasing regulation index with this variable power shutdown duration, and in each of this minimum decreasing periods, the power regulation index is decreased according to this minimum decreasing regulation index to control the shutdown of this water pump.

[0068] In one embodiment of this specification, during the variable power shutdown phase, the power reduction to the point where the water pump shuts off should be controlled within a variable power shutdown duration threshold. This variable power shutdown duration threshold is the time between receiving the water intake end command and the water pump shutting off, and can be set with reference to the variable power start-up duration threshold. It can be set to the same duration as the variable power start-up duration threshold, or it can be set to a duration higher than the variable power start-up duration threshold. It should be noted that the specific value here can be set according to the actual situation. The shorter the variable power shutdown duration threshold, the higher the risk of water hammer effect; the longer the variable power shutdown duration, the lower the risk of water hammer effect, but it will still result in a longer shutdown time. That is, the time between receiving the water intake end command and the water pump shutting off will be longer. This extended time is relatively small, such as on the order of milliseconds, and is a relative extension, which will further affect the user experience. Therefore, when setting the variable power shutdown duration threshold, both the risk of water hammer effect and the user experience should be considered comprehensively, and the setting should be based on the actual situation. Alternatively, a survey can be conducted to determine the user-acceptable delayed shutdown duration. This duration should be set within a range greater than the startup duration threshold corresponding to the variable power startup phase and less than the delayed shutdown duration. Based on the startup duration threshold and the delayed shutdown duration threshold, the variable power shutdown duration is determined, ensuring it is neither less than the startup duration threshold nor greater than the delayed shutdown duration threshold.

[0069] Based on the variable power shutdown duration, a minimum decrease cycle and a minimum decrease control index are set. The minimum decrease cycle refers to the time required for each power decrease, and should be based on the variable power shutdown duration to ensure a smooth power decrease within the specified time. The decrease cycle should be regular and of moderate length, neither too long nor too short, to ensure the smoothness and efficiency of power decrease. First, based on the variable power shutdown duration T, a base decrease cycle T_base (unit: milliseconds or microseconds) can be set. For example, if T = 10 milliseconds, we can set T_base = 100 microseconds (or adjust according to actual needs). Then, based on T_base, we can calculate the number of decrease cycles N = T / T_base (rounded up) required within T. Finally, the actual length of each decrease cycle can be fine-tuned to ensure a smooth power decrease within N cycles. The minimum reduction control index refers to the amount by which the power control index (such as the duty cycle of the PWM wave) should decrease within each minimum reduction cycle. It should be based on the characteristics of the water pump and actual needs to ensure the smoothness and accuracy of the power reduction. First, determine the operating power P_init of the water pump during the constant power operation phase and the target power P_target when shutting down (usually zero or close to zero). Based on N, P_init, and P_target, calculate the power reduction amount ΔP = (P_init - P_target) / N (rounded up or adjusted according to actual needs) for each reduction cycle. Convert ΔP into the corresponding reduction amount of the power control index (such as the duty cycle of the PWM wave). For example, if the water pump uses PWM wave control, the duty cycle reduction amount ΔD for each reduction cycle can be calculated based on the relationship between the PWM wave duty cycle and power. Finally, we can use ΔD as the minimum reduction control index, reducing the power control index within each reduction cycle to control the water pump to shut down.

[0070] By employing the aforementioned technical solution and rationally setting the variable power shutdown duration threshold, sufficient time is ensured for the water pump to reduce its power after receiving the water intake termination command. This avoids water hammer effects caused by sudden power changes, a common physical phenomenon during pump shutdown that can lead to serious consequences such as pipe rupture and pump damage. A smooth power reduction process effectively mitigates the risk of water hammer. The setting of the minimum reduction cycle and minimum reduction control index ensures the regularity and controllability of the power reduction process. The stable power reduction within each reduction cycle ensures the smoothness of the pump shutdown process, avoiding mechanical vibration and noise caused by sudden power changes. Although the variable power shutdown duration threshold may be slightly longer than the variable power start-up duration threshold, this delay is negligible (on the order of milliseconds) compared to the delay caused by directly shutting down the pump. By rationally setting the reduction cycle and reduction amount, the perceived shutdown delay can be minimized while ensuring a smooth shutdown. The smooth power reduction process reduces mechanical stress on the pump and pipeline, extends equipment lifespan, reduces equipment damage and maintenance costs caused by water hammer and other malfunctions, and improves overall reliability.

[0071] Figure 3 This is a waveform diagram illustrating a water intake process provided in an embodiment of this specification. Figure 4 A waveform diagram illustrating another water intake process provided in this embodiment of the specification, wherein... Figure 3 To ensure that the real-time operating current is not less than the initially set current threshold (maximum allowable current I0), Figure 4 This applies to situations where the real-time operating current is less than the initially set current threshold (maximum allowable current I0). For example... Figure 3 As shown, the program enters the start-up phase, at which point the water pump starts. The program controls the water pump to start, with a duty cycle of D1. The program collects the water pump's operating current I, denoted as I1, and compares the collected current I1 with the initial maximum allowable current I0. If I < I0, the duty cycle is increased by D1, and then the program enters the second cycle. In this second cycle, the program controls the water pump to start, with a duty cycle of 2D1. The program collects the water pump's operating current I, denoted as I2, and compares the collected current I2 with the initial maximum allowable current I0. If I < I0, the duty cycle is increased by D1, and then the program enters the next cycle. This cycle repeats until the duty cycle equals 1, at which point the water pump enters constant power operation. During the constant power phase, the water pump operates at full power. After a period of constant power operation, and after a time Δt before the end of the water intake period, the program enters the water intake shutdown phase. During the shutdown phase, the program controls the water pump to decrease the duty cycle by D1 every cycle T until the water intake time ends and the water pump stops operating. The shutdown process is the reverse of the start-up process.

[0072] like Figure 4As shown, the water intake process when the real-time operating current is less than the initial set current threshold (maximum allowable current I0) is as follows: The program enters the start-up phase, at which time the water pump starts, the program controls the water pump to start, the start-up duty cycle is D1, the program collects the water pump operating current I, recorded as I1, compares the collected current I1 with the initial maximum allowable current I0, at this time it is determined that I < I0, then the duty cycle is increased by D1, and then enters the second cycle, at this time the program controls the water pump to start, the start-up duty cycle is 2D1, collects the water pump operating current I, recorded as I2, compares the collected current I2 with the initial maximum allowable current I0, at this time it is determined again that I < I0, and then enters the next cycle. After N cycles, at this time I ≥ I0 and the duty cycle has not reached 1, then this duty cycle D is recorded, the program controls the water pump to continue to operate at this duty cycle D and enters the constant power phase. Figure 4 As shown in the third cycle, when the duty cycle is D = 3D1, the pump's operating current I has reached the preset maximum current value, and the program controls the pump to operate at a duty cycle of D = 3D1. During the constant power stage, the pump operates at constant power. After operating at constant power for a period of time, and after a time Δt before the end of the water intake period, it enters the water intake shutdown stage. During the shutdown stage, the program controls the pump to decrease the duty cycle D1 every cycle T until the water intake time ends and the pump stops working.

[0073] By adopting this water intake control method, even with a relatively small system power supply, it can effectively reduce machine power restarts or resets caused by excessive pump starting power. This solution does not rely on a larger power supply and has relatively low requirements for pump consistency, thus significantly reducing cost increases and achieving more economical and efficient operation. The pump uses a variable power start or turn-on method, which can significantly reduce the impact on the pipeline at the moment of start-up or shutdown, thereby reducing the risk of machine pipeline leakage. It has the function of intelligently recording the duty cycle during water intake, which can adaptively adjust the starting power according to the characteristics of different machines and different pumps, eliminating the need for a cumbersome manual calibration process and achieving more precise and efficient power control.

[0074] The technical solution provided in the embodiments of this specification, through a preset variable power start-up program, prevents the water pump from starting directly at full power. Instead, it gradually increases power according to a preset incremental pattern, significantly reducing the instantaneous current during pump startup and avoiding direct impact of high current on the power supply. This effectively reduces power restart and reset issues caused by excessive starting current. Because the starting current is reduced, the power supply capacity requirement is lowered. Even with a conservative power supply design, stable pump startup and operation are guaranteed, improving the tea bar machine's power supply compatibility. During the variable power start-up and shutdown phases, the pump power changes gradually, rather than instantaneously starting or stopping at full power. This smooth power change effectively reduces impact on the pipeline, preventing leaks and other malfunctions caused by sudden power changes. During the variable power shutdown phase, the water pump... The preset decreasing power gradually reduces the water flow velocity in the pipeline, thereby reducing pressure surges and effectively minimizing water hammer, preventing water from dripping from another outlet. Precise power control ensures stable pump operation during constant power operation, guaranteeing continuous and stable water supply, improving the user's experience, reducing damage to the pump and pipeline caused by power surges during startup and shutdown, extending the lifespan of the tea bar machine, and reducing user maintenance costs. This technology can adaptively adjust parameters during constant power operation based on real-time pump operating current and power variations, ensuring stable pump operation under different conditions. The intelligent control method simplifies and facilitates tea bar machine maintenance and debugging, further reducing user maintenance costs.

[0075] Those skilled in the art will understand that embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0076] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0077] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0078] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0079] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0080] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0081] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0082] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0083] The above description is merely one or more embodiments of this specification and is not intended to limit this specification. Various modifications and variations can be made to the one or more embodiments of this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of one or more embodiments of this specification should be included within the scope of the claims of this specification.

Claims

1. A water dispensing control method for a tea bar machine, the tea bar machine comprising a water pump, characterized in that, The method includes: Upon triggering a water intake command, the water pump is controlled to start according to a preset incremental pattern through a pre-defined variable power start-up program, entering the variable power start-up stage, and the real-time operating current of the water pump and the power change parameters during the variable power start-up stage are collected. Based on the real-time operating current and the power change parameters, it is determined whether the triggering conditions for the constant power operation stage of the water pump are met. Specifically, it is determined that the triggering conditions for the constant power operation stage are met when the real-time operating current is not less than the pre-acquired initial set current threshold of the water pump, and the current power control index in the power change parameters is lower than the preset control index limit. Alternatively, when the real-time operating current is less than the pre-acquired initial set current threshold of the water pump, and the current power control index in the power change parameters is not lower than the preset control index limit, it is determined that the triggering condition for the constant power operation stage is met. When the triggering conditions for the constant power operation phase are met, the constant power operation parameters corresponding to the constant power operation phase are determined through the power change parameters, and the water pump is controlled to operate using the constant power operation parameters. When a water intake termination command is received, the system switches from the constant power operation phase to the variable power shutdown phase, in which the water pump is controlled to shut down according to a preset decreasing pattern.

2. The water dispensing control method for a tea bar machine according to claim 1, characterized in that, Before controlling the water pump to start according to a preset incremental pattern, the method further includes: Perform a full-machine start-up test on the water pump to determine the start-up duration threshold corresponding to the variable power start-up stage of the water pump; Based on the startup duration threshold, a minimum increment period and a minimum increment control index are set, and the power control index is adjusted according to the minimum increment period and the minimum increment control index to determine the increment pattern.

3. The water dispensing control method for a tea bar machine according to claim 2, characterized in that, A full-machine start-up test is performed on the water pump to determine the start-up duration threshold corresponding to the variable power start-up phase of the water pump, specifically including: A whole-machine start-up test was performed on the water pump to collect the real-time start-up current corresponding to multiple observation timestamps after the water pump started at full power. Based on the relationship between the multiple real-time starting currents and the theoretical maximum starting current of the water pump, the maximum observation duration corresponding to the real-time starting current being higher than the theoretical maximum starting current is determined. The starting time threshold corresponding to the variable power starting stage of the water pump is determined based on the maximum observation time and the preset safety control time.

4. The water dispensing control method for a tea bar machine according to claim 1, characterized in that, The method further includes: Obtain the maximum operating power of the water pump and the rated voltage of the system voltage of the tea bar machine; The safe operating voltage of the water pump is determined by the rated voltage and the preset safety margin ratio. The initial current threshold corresponding to the water pump is determined based on the maximum operating power of the water pump and the safe operating voltage.

5. The water dispensing control method for a tea bar machine according to claim 1, characterized in that, The method further includes: Obtain the maximum operating power of the water pump under full power operation, and determine the limit of the control index based on the adjustment index corresponding to the maximum operating power.

6. The water dispensing control method for a tea bar machine according to claim 1, characterized in that, The constant power operation parameters corresponding to the constant power operation phase are determined by the power change parameters, specifically including: Determine the number of minimum increment cycles and the minimum increment control index in the power change parameters; Based on the minimum incremental control index and the number of cycles, determine the current incremental adjustment index corresponding to the trigger condition of the constant power operation stage of the water pump. If the current incremental adjustment index is less than the preset adjustment index limit, then the constant power operation parameter is determined based on the operating power corresponding to the current incremental adjustment index. If the current incremental adjustment index is not less than the preset adjustment index limit, then the constant power operating parameter is determined based on the operating power corresponding to the adjustment index limit.

7. The water dispensing control method for a tea bar machine according to claim 1, characterized in that, During the variable power shutdown phase, the water pump is controlled to shut down according to a preset decreasing pattern, specifically including: Determine the startup duration threshold corresponding to the pre-acquired variable power startup phase; Based on the startup duration threshold and the pre-acquired delayed shutdown duration threshold, the variable power shutdown duration corresponding to the variable power shutdown phase is determined, wherein the variable power shutdown duration is not less than the startup duration threshold and not greater than the delayed shutdown duration threshold; Based on the variable power shutdown duration, a minimum decrease cycle and a minimum decrease control index are set. Within each minimum decrease cycle, the power control index is decreased according to the minimum decrease control index to control the water pump to shut down.

8. The water dispensing control method for a tea bar machine according to claim 1, characterized in that, The method further includes: When the water pump is controlled by the constant power operating parameters, real-time current is collected. When the difference between the real-time current and the pre-acquired initial current threshold is greater than the preset alarm current threshold, a water pump abnormality alarm is sent.

9. The water dispensing control method for a tea bar machine according to claim 2, characterized in that, The power regulation index is the duty cycle of the water pump voltage pulse width modulation wave. By adjusting the duty cycle of the water pump voltage pulse width modulation wave, the water pump power is adjusted.

Citation Information

Patent Citations

  • Constant voltage energy -saving water supply device

    CN205012410U

  • Small -size reverse osmosis water purification machine system

    CN205527871U

  • Coffee machine

    CN219877962U