Water taking control method of tea bar machine

By using the method of variable power start and shutting down the control pump in the tea bar machine, the problems of power restart and resetting and pipeline leakage during the water withdrawal of the tea bar machine are solved, and a more stable and efficient water withdrawal process is achieved, which improves the user experience and extends the equipment life.

CN119791456AActive Publication Date: 2025-04-11HANGZHOU JIUYANG WATER PURIFICATION SYST
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411935170.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-04-11
Estimated Expiration
2044-12-26

AI Technical Summary

Technical Problem

During the water withdrawal process, the existing tea bar machine controls the operation of the water pump through full power opening and closing, which can easily lead to the restart and reset of the machine power supply, and there is a risk of pipeline leakage, affecting the user experience.

Method used

A water withdrawal control method of a tea bar machine is adopted. Through the preset variable power start program, the water pump is controlled to start according to the preset incremental law, and the real-time operating current and power change parameters are collected to determine whether the trigger conditions of the constant power operation stage are met. Then, the constant power operation parameters are determined to control the operation of the water pump. When the water withdrawal end instruction is received, it will be changed to the power-changing stage and the water pump will be closed according to the preset decreasing law.

Benefits of technology

Through variable power start and shutdown control, the instantaneous current of the water pump is reduced, the power supply restart and reset problem is avoided, and the impact on the pipeline is reduced, the risk of pipeline leakage is reduced, the user's water withdrawal experience is improved, and the service life of the tea bar machine is extended.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119791456A_ABST
    Figure CN119791456A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a water taking control method of a tea bar machine and relates to the technical field of tea bar machines, the tea bar machine comprises a water pump, and the method comprises the steps that under triggering of a water taking instruction, the water pump is controlled to be started according to a preset progressive increase rule through a preset variable power starting program and enters a variable power starting stage, the real-time operation current of the water pump and the power change parameters in the variable power starting stage are collected; according to the real-time operation current and the power change parameter, whether the trigger condition of the constant-power operation stage of the water pump is met or not is judged, when the trigger condition of the constant-power operation stage is met, the constant-power operation parameter corresponding to the constant-power operation stage is determined through the power change parameter, and the water pump is controlled to operate through the constant-power operation parameter; and when a water taking ending instruction is received, the constant-power operation stage is converted into a variable-power closing stage, so that the water pump is controlled to be closed according to a preset decreasing rule in the variable-power closing stage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present specification relates to the technical field of tea bar machines, and in particular to a water intake control method for a tea bar machine. Background Art

[0002] As a common drinking water device in life, the stability of the water-drawing function and the user experience of the tea bar machine are crucial. However, when the water-drawing function of the existing tea bar machine is turned on, the starting current of the water pump is generally large, and with the increase of the service life, this starting current will gradually increase. In order to reduce costs, some tea bar machine manufacturers on the market tend to design power supplies conservatively, that is, the power supply capacity is relatively small. When the starting current of the water pump increases to a certain extent, it may exceed the carrying capacity of the power supply, causing the power supply to restart and reset, making it impossible to draw water normally, seriously affecting the normal use of users.

[0003] At present, the water pump control method of tea bar machines on the market mostly adopts full-power opening and closing. Under this control method, the power of the water pump changes rapidly in a short period of time, so it will have a greater impact on the pipeline at the moment of opening and closing. In order to shorten the water extraction time, some tea bar machines have also increased the flow rate of the water pump. The increase in flow rate will aggravate the problem of pipeline impact. Working in this state for a long time, the tea bar machine is prone to pipeline leakage and other faults. When the water pump stops working, the water flow rate in the pipeline will decrease rapidly, causing the pressure in the pipeline to suddenly increase, forming a water hammer, and water may drip from another outlet. Therefore, in the water extraction process of the tea bar machine, the operation of the water pump is controlled by full-power opening and closing, which is easy to cause the problem of restarting and resetting the power of the machine, and there is a risk of pipeline leakage, which affects the user experience. Summary of the invention

[0004] One or more embodiments of the present specification provide a water intake control method for a tea bar machine, which is used to solve the following technical problems: Currently, during the water intake process of the tea bar machine, the water pump operation is controlled by starting and closing at full power, which easily leads to the problem of restarting and resetting the power supply of the machine, and there is a risk of pipeline leakage, which affects the user experience.

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

[0006] One or more embodiments of the present specification provide a water intake control method for a tea bar machine, the tea bar machine including a water pump, the method comprising: under the triggering of a water intake instruction, controlling the water pump to start according to a preset increasing rule through a preset variable power starting program, entering a variable power starting stage, and collecting the real-time operating current of the water pump and the power change parameters of the variable power starting stage; judging whether the triggering conditions of the constant power operation stage of the water pump are met according to the real-time operating current and the power change parameters, when the triggering conditions of 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 operation of the water pump with the constant power operation parameters; when a water intake end instruction is received, the constant power operation stage is changed to a variable power shutoff stage, so that in the variable power shutoff stage, the water pump is controlled to shut down according to a preset decreasing rule.

[0007] Furthermore, before controlling the water pump to start according to a preset increasing rule, the method also includes: performing a whole-machine starting test on the water pump to determine a starting time threshold corresponding to the variable power starting phase of the water pump; and setting a minimum increasing cycle and a minimum increasing control index based on the starting time threshold, so as to adjust the power control index according to the minimum increasing cycle and the minimum increasing control index to determine the increasing rule.

[0008] Through the above technical solution, the water pump is tested for whole-machine startup before leaving the factory to determine the startup time threshold of each water pump, so that the incremental rule can be designed in a targeted manner. The personalized setting ensures that the water pump can transition to a stable water discharge state more smoothly during the startup process, avoiding unstable startup or failure due to improper power adjustment; the minimum incremental cycle and minimum incremental control index set according to the startup time threshold can finely control the power increase process, improve the accuracy of power adjustment, and help reduce energy consumption and wear, and extend the service life of the water pump; in actual use, the user can directly call the preset incremental rule without tedious manual settings or debugging, which simplifies the operation process; due to the performance differences between water pumps of different types and specifications, by customizing the incremental rule for each water pump, it can better adapt to the startup needs of various water pumps.

[0009] Furthermore, a whole-machine startup test is performed on the water pump to determine a startup time threshold corresponding to the variable power startup phase of the water pump, specifically including: performing a whole-machine startup test on the water pump to collect real-time starting currents corresponding to the water pump at multiple observation timestamps after full-power startup; determining a maximum observation time corresponding to a real-time starting current being higher than the theoretical maximum starting current based on a relationship between multiple real-time starting currents and the theoretical maximum starting current corresponding to the water pump; determining a startup time threshold corresponding to the variable power startup phase of the water pump based on the maximum observation time and a preset safety control time.

[0010] Through the above technical solution, through the whole machine startup test, the real-time starting current of the water pump at multiple observation time stamps after full-power startup can be accurately collected, providing a reliable basis for determining the startup time threshold; by comparing the real-time starting current with the theoretical maximum starting current, the observation point where the real-time starting current is higher than the theoretical maximum value can be accurately found, and the maximum observation time can be determined, combined with the preset safety control time, the startup time threshold can be accurately calculated; within the startup time threshold, the power of the water pump can be gradually increased according to actual conditions to avoid mechanical shock and energy waste caused by excessive power; through precise startup time threshold control, mechanical wear and damage caused by excessive or insufficient power during the startup phase of the water pump can be avoided; in addition, the preset safety control time adds an additional safety margin for the determination of the startup time threshold, ensuring that the water pump will not be unable to draw water due to improper power control during the startup process.

[0011] Furthermore, based on the real-time operating current and the power change parameter, it is determined whether the triggering condition of the constant power operation stage of the water pump is met, specifically including: 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 condition of the constant power operation stage is 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 condition of the constant power operation stage is met.

[0012] Through the above technical scheme, by real-time monitoring of the operating current of the water pump and comparing it with the preset maximum current threshold, the water pump can be prevented from overloading and damaging the water pump or other system components due to excessive current; at the same time, monitoring the current power control index can timely discover power control anomalies to ensure that the water pump operates within a safe power range; when the water pump reaches a certain operating current level and the power control index is lower than the preset limit, it is determined to enter the constant power operation stage, which helps the water pump to operate in a more stable and efficient state; the constant power operation stage means that the power output of the water pump is relatively stable; through program preset and real-time monitoring, intelligent judgment of the operating status of the water pump is realized, reducing manual intervention; the initial set current threshold and the preset control index limit can be flexibly adjusted according to the specific model of the water pump, application scenario and system power supply solution, so as to ensure the accuracy and reliability of the judgment logic, so that the technical scheme can be applicable to water pumps of different models and different 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 through 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] Through the above technical scheme, by predetermining the initial setting 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 when working, thereby avoiding the power supply voltage drop and maintaining the stability of the power supply; when the working current of the water pump 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 setting current threshold, this situation can be avoided, thereby protecting the power supply and water pump from damage; by accurately calculating the initial setting current threshold of the water pump, it can be ensured that the water pump operates in the best state, reducing energy consumption and mechanical wear.

[0015] Furthermore, the method also includes: obtaining the maximum operating power of the water pump when it is operating at full power, and determining the control index limit according to the adjustment index corresponding to the maximum operating power.

[0016] Furthermore, the constant power operation parameters corresponding to the constant power operation stage are determined through the power change parameters, specifically including: determining the number of cycles of the minimum incremental cycle and the minimum incremental control index in the power change parameters; determining the current incremental adjustment index corresponding to the trigger condition of the constant power operation stage of the water pump when the trigger condition is met according to the minimum incremental control index and the number of cycles; if the current incremental adjustment index is less than the preset adjustment index limit, determining the constant power operation parameters with 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, determining the constant power operation parameters with the operating power corresponding to the adjustment index limit.

[0017] Through the above technical scheme, by setting the minimum increment cycle and the minimum increment control index, the starting power of the water pump can be smoothly increased, the power mutation during the startup process can be avoided, and the impact can be reduced; the duty cycle D can be gradually increased to make the startup of the water pump more stable, avoid excessive mechanical stress caused by the sudden increase of power, and extend 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 intake efficiency can be optimized while ensuring the stable startup of the water pump; when the water intake time is fixed, by adjusting the startup duration and the power increment law, the water intake volume at startup can be controlled to a certain extent to meet the needs of different scenarios; when the water pump enters the constant power operation stage, 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; the minimum increment cycle and the minimum increment control index are set according to actual needs and experience, which has strong flexibility and adaptability; the startup parameters can be adjusted according to different application scenarios and working environments to achieve the best startup effect and water intake efficiency; the duty cycle based on the PWM wave is easy to implement in the existing control system.

[0018] Furthermore, in the variable power shutdown stage, the water pump is controlled to be shut down according to a preset decreasing rule, specifically including: determining a start-up duration threshold corresponding to the variable power startup stage obtained in advance; determining a variable power shutdown duration corresponding to the variable power shutdown stage according to the start-up duration threshold and a pre-acquired delayed shutdown duration threshold, wherein the variable power shutdown duration is not less than the start-up duration threshold and not greater than the delayed shutdown duration threshold; and setting a minimum decreasing cycle and a minimum decreasing control index based on the variable power shutdown duration, so that within each of the minimum decreasing cycle, the power control index is decreased according to the minimum decreasing control index to control the water pump to be shut down.

[0019] Through the above technical scheme, by reasonably setting the variable power shutdown time threshold, it is ensured that the water pump has enough time to reduce power after receiving the water extraction end instruction, thereby avoiding the water hammer effect caused by power mutation. The water hammer effect is a common physical phenomenon in the water pump shutdown process, which may lead to serious consequences such as pipeline rupture and water pump damage. Through a smooth power reduction process, the risk of water hammer effect is effectively reduced; the setting of the minimum reduction cycle and the minimum reduction control index makes the power reduction process regular and controllable; the smooth reduction of power in each reduction cycle ensures the smoothness of the water pump shutdown process and avoids mechanical vibration and noise caused by power mutation; by reasonably setting the reduction cycle and reduction amount, it can ensure smooth shutdown while minimizing the shutdown delay perceived by the user; the smooth power reduction process reduces the mechanical stress of the water pump and pipeline, extends the service life of the equipment, reduces equipment damage and maintenance costs caused by faults such as water hammer effect, and improves overall reliability.

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

[0021] Through the above technical solution, by collecting the current data of the water pump in real time and comparing it with the preset threshold, the abnormal state of the water pump, such as overload, blockage or motor failure, can be discovered in the first time. The real-time monitoring and early warning mechanism greatly reduces the risk of production interruption or safety accidents caused by water pump failure; by timely discovering and handling the abnormal state of the water pump, the occurrence or expansion of the fault can be effectively avoided, thereby extending the service life of the water pump and reducing the failure rate; by real-time monitoring of the operating status of the water pump, the maintenance plan can be arranged more accurately to avoid unnecessary maintenance operations and waste of resources; when the system issues a water pump abnormality alarm, the maintenance personnel can quickly locate the fault point and take corresponding measures to repair it.

[0022] Furthermore, the power control index is a duty cycle of a water pump voltage pulse width modulation wave, and the water pump power is adjusted by controlling the duty cycle of the water pump voltage pulse width modulation wave.

[0023] Through the above technical solution, by adjusting the duty cycle of the PWM wave, precise control of the water pump power can be achieved. The change of the duty cycle directly affects the average voltage at both ends of the water pump, thereby adjusting the power output of the water pump, which is more accurate and stable than traditional analog regulation and can better meet the needs of various application scenarios; by precisely controlling the water pump power, unnecessary energy consumption can be avoided; the PWM wave control method has a faster response speed and can quickly adjust the power output of the water pump. By quickly adjusting the duty cycle, the required power output can be quickly achieved; by precisely controlling the water pump power, mechanical wear caused by excessive or insufficient power can be avoided.

[0024] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:

[0025] 1. Through the preset variable power starting program, the water pump no longer starts directly at full power, but gradually increases the power according to the preset increasing rule, which can significantly reduce the instantaneous current when the water pump starts, avoiding the direct impact of large current on the power supply, thereby effectively reducing the power restart and reset problem caused by excessive starting current; due to the reduction of starting current, the technical solution reduces the capacity requirements of the power supply, even under a more conservative power supply design, it can ensure the stable startup and operation of the water pump, and improve the compatibility of the tea bar machine with the power supply;

[0026] 2. During the variable power startup and shutdown phases, the power of the water pump changes gradually, rather than being turned on or off at full power instantly. Smooth power changes can effectively reduce the impact on the pipeline and avoid failures such as pipeline leakage caused by power mutations. During the variable power shutdown phase, the water pump gradually reduces power according to the preset decreasing law, so that the water flow rate in the pipeline can be slowly reduced, thereby reducing the pressure mutation in the pipeline, effectively reducing the occurrence of water hammer effect, and avoiding the phenomenon of water dripping from another outlet.

[0027] 3. Through precise power control, the stable operation of the water pump in the constant power operation stage is ensured, thereby ensuring the continuity and stability of water intake, improving the user's water intake experience, reducing the damage to the water pump and pipelines due to power mutations during startup and shutdown, extending the service life of the tea bar machine, and reducing the user's maintenance costs; this technical solution can adaptively adjust the parameters of the constant power operation stage according to the real-time operating current and power change parameters of the water pump to ensure the stable operation of the water pump under different working conditions. Due to the use of intelligent control methods, the maintenance and debugging of the tea bar machine becomes simpler and more convenient, reducing the user's maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:

[0029] Figure 1 A schematic flow chart of a water intake control method for a tea bar machine provided in an embodiment of this specification;

[0030] Figure 2 A schematic diagram of a duty cycle waveform provided in an embodiment of this specification;

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

[0032] Figure 4 A waveform diagram of another water intake process provided in an embodiment of this specification. DETAILED DESCRIPTION

[0033] In order 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 in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0034] The embodiment of this specification provides a water intake control method for a tea bar machine. It should be noted that the execution subject in the embodiment of this specification can be a server or any device with data processing capabilities. Figure 1 A flow chart of a water intake control method for a tea bar machine provided in an embodiment of this specification is shown as follows: Figure 1 As shown, it mainly includes the following steps:

[0035] Step S101, under the triggering of the water intake instruction, the water pump is controlled to start according to the preset increasing rule through the preset variable power starting program, entering the variable power starting stage, and collecting the real-time operating current of the water pump and the power change parameters of the variable power starting stage.

[0036] In one embodiment of the present specification, when a water extraction instruction is received, the water extraction process is executed under the triggering of the water extraction instruction. There is a preset variable power starting program inside the tea bar machine. Different from the traditional full-power start-up, the variable power starting program will gradually increase the power of the water pump according to a preset increasing law to avoid current shock and mechanical wear during startup. The power of the water pump is gradually increased according to the variable power starting program, and this increase process is carried out according to a preset increasing law. When the water pump starts to start according to the increasing law, it enters the variable power starting stage. In the variable power starting stage, the operating current and power change parameters of the water pump are collected in real time. The real-time operating current can reflect the current working state of the water pump, and the power change parameter is used to indicate the power change in the variable power stage.

[0037] Before controlling the water pump to start according to a preset increasing rule, the method also includes: performing a whole-machine starting test on the water pump to determine a starting time threshold corresponding to the variable power starting phase of the water pump; based on the starting time threshold, setting a minimum increasing cycle and a minimum increasing control index, adjusting the power control index according to the minimum increasing cycle and the minimum increasing control index, and determining the increasing rule.

[0038] In one embodiment of the present specification, there are performance differences among water pumps of different types and specifications. In order to ensure the pertinence of the incremental rule, the water pump is tested for whole-machine startup before leaving the factory to determine the startup duration threshold corresponding to the variable power startup stage of the water pump. The incremental rule is determined by the startup duration threshold and written into the variable power startup program for easy calling during actual user use. In this process, the startup duration threshold is the time between the start of the water pump and the stable water discharge. The minimum incremental cycle and the minimum incremental control index in the incremental rule are set by the startup duration threshold. It should be noted that the minimum incremental cycle here refers to how often it increases within the startup duration threshold, and the minimum incremental adjustment control refers to the minimum adjustment amount within each minimum incremental cycle. According to the minimum incremental cycle and the minimum incremental control index, the power control index is adjusted to determine the incremental rule.

[0039] Through the above technical solution, the water pump is tested for whole-machine startup before leaving the factory to determine the startup time threshold of each water pump, so that the incremental rule can be designed in a targeted manner. The personalized setting ensures that the water pump can transition to a stable water discharge state more smoothly during the startup process, avoiding unstable startup or failure due to improper power adjustment; the minimum incremental cycle and minimum incremental control index set according to the startup time threshold can finely control the power increase process, improve the accuracy of power adjustment, and help reduce energy consumption and wear, and extend the service life of the water pump; in actual use, the user can directly call the preset incremental rule without tedious manual settings or debugging, which simplifies the operation process; due to the performance differences between water pumps of different types and specifications, by customizing the incremental rule for each water pump, it can better adapt to the startup needs of various water pumps.

[0040] In one embodiment of the present specification, the power control index is the duty cycle of the water pump voltage pulse width modulation wave, and the water pump power is adjusted by adjusting the duty cycle of the water pump voltage pulse width modulation wave. The water pump power is adjusted by controlling the duty cycle of the water pump voltage pulse width modulation (PWM) wave, thereby controlling the current of the water pump. Figure 2 The duty cycle waveform diagram provided in the embodiments of this specification is as follows: Figure 1 As shown in the figure, when the water pump is at the same speed, the PWM wave with constant amplitude output by the driver and the voltage output by the adjustable DC power supply both directly act on the load. 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, the power of the water pump can be adjusted by adjusting the duty cycle. According to the power calculation formula P=UI, P is power, U is voltage, and I is current. Under the condition that the input voltage of the water pump is constant, as the power of the water pump increases, the starting current of the water pump gradually becomes roughly stable. When the power control index is the duty cycle of the pulse width modulation wave of the water pump voltage, the minimum incremental control index can be the minimum adjustment duty cycle.

[0041] Through the above technical solution, by adjusting the duty cycle of the PWM wave, precise control of the water pump power can be achieved. The change of the duty cycle directly affects the average voltage at both ends of the water pump, thereby adjusting the power output of the water pump, which is more accurate and stable than traditional analog regulation and can better meet the needs of various application scenarios; by precisely controlling the water pump power, unnecessary energy consumption can be avoided; the PWM wave control method has a faster response speed and can quickly adjust the power output of the water pump. By quickly adjusting the duty cycle, the required power output can be quickly achieved; by precisely controlling the water pump power, mechanical wear caused by excessive or insufficient power can be avoided.

[0042] A whole-machine startup test is performed on the water pump to determine the startup time threshold corresponding to the variable power startup stage of the water pump, specifically including: performing a whole-machine startup test on the water pump to collect the real-time starting current corresponding to the water pump at multiple observation timestamps after full-power startup; determining the maximum observation time corresponding to the real-time starting current being higher than the theoretical maximum starting current based on the relationship between the multiple real-time starting currents and the theoretical maximum starting current corresponding to the water pump; determining the startup time threshold corresponding to the variable power startup stage of the water pump based on the maximum observation time and the preset safety control time.

[0043] In one embodiment of the present specification, the water pump is tested for whole-machine startup, the water pump is started, and the real-time startup current of the water pump at multiple observation timestamps after full-power startup is recorded using a current measuring device. The observation timestamp can be set according to the actual situation, for example, once every 10 milliseconds or less. The recorded real-time startup current data is compared with the theoretical maximum startup current. Find all observation points where the real-time startup current is higher than the theoretical maximum startup current, and record the timestamps corresponding to these observation points. In general, the timestamp is a continuous time, and the maximum observation duration is determined by the observation timestamp corresponding to the real-time startup current higher than the theoretical maximum startup current, that is, the longest time that the real-time startup current is higher than the theoretical maximum startup current. According to the maximum observation duration and the preset safety regulation 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 corresponding to the water pump is determined. Startup duration threshold = maximum observation duration + safety regulation duration. Through the whole-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 starting current is analyzed. Finally, the start-up time threshold corresponding to the variable power start-up phase of the water pump is determined. That is, the variable power time in the variable power start-up phase of the water pump should be within the start-up time threshold.

[0044] Through the above technical solution, through the whole machine startup test, the real-time starting current of the water pump at multiple observation time stamps after full-power startup can be accurately collected, providing a reliable basis for determining the startup time threshold; by comparing the real-time starting current with the theoretical maximum starting current, the observation point where the real-time starting current is higher than the theoretical maximum value can be accurately found, and the maximum observation time can be determined, combined with the preset safety control time, the startup time threshold can be accurately calculated; within the startup time threshold, the power of the water pump can be gradually increased according to actual conditions to avoid mechanical shock and energy waste caused by excessive power; through precise startup time threshold control, mechanical wear and damage caused by excessive or insufficient power during the startup phase of the water pump can be avoided; in addition, the preset safety control time adds an additional safety margin for the determination of the startup time threshold, ensuring that the water pump will not be unable to draw water due to improper power control during the startup process.

[0045] Step S102, based on the real-time operating current and the power change parameter, determine whether the trigger condition of the constant power operation stage of the water pump is met. When the trigger condition of the constant power operation stage is met, determine the constant power operation parameter 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 parameter.

[0046] In one embodiment of the present specification, the real-time operating current and power variation parameters of the water pump are monitored to determine whether the conditions for entering the constant power operation stage are met. Once the conditions are met, the constant power operation parameters corresponding to the constant power operation stage are determined according to the power variation parameters, and the water pump is controlled to enter the constant power operation stage and operate at the constant power operation parameters based on the parameters.

[0047] By real-time monitoring of the real-time operating current and power change parameters of the water pump, intelligent monitoring of the water pump operating status is achieved; when the trigger conditions of the constant power operation stage are met, the constant power operation parameters can be automatically determined, and the operation of the water pump can be controlled accordingly, which improves the automation level of the water pump operation and reduces the need for manual intervention; by judging whether to enter the constant power operation stage through the power change parameters, and determining the constant power operation parameters accordingly, precise control of the water pump power output can be achieved to avoid energy waste and mechanical wear caused by excessive or insufficient power; the constant power operation stage means that the water pump will operate at a constant power output, which helps to maintain the stability of the water outlet pressure and flow.

[0048] Based on the real-time operating current and the power change parameter, it is determined whether the triggering condition of the constant power operation stage of the water pump is met, specifically including: when the real-time operating current is not less than the initial set current threshold of the water pump obtained in advance, 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 condition of the constant power operation stage is met; or, when the real-time operating current is less than the initial set current threshold of the water pump obtained in advance, 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 condition of the constant power operation stage is met.

[0049] In one embodiment of the present specification, the operating current of the water pump is monitored in real time and compared with the initial current threshold of the water pump obtained in advance. This initial current threshold is the maximum current value that the program presets the water pump to allow to work, and this value is selected in relation to the proportion of the working power of the water pump to the maximum power of the system power supply scheme. At the same time, the current power control index corresponding to the operating current in the power change parameter is monitored, and this index reflects the control amount of the current power of the water pump. The current power control index is compared with the preset control index limit. According to the above two comparison results, it is determined whether the trigger condition of the constant power operation stage is met. The specific judgment logic is as follows: If the real-time operating current is not less than the initial 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, so it can be determined that the trigger condition of the constant power operation stage is met. Alternatively, if the real-time operating current is less than the initial 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, so it can be determined that the trigger condition is met.

[0050] Through the above technical scheme, by real-time monitoring of the operating current of the water pump and comparing it with the preset maximum current threshold, the water pump can be prevented from overloading and damaging the water pump or other system components due to excessive current; at the same time, monitoring the current power control index can timely discover power control anomalies to ensure that the water pump operates within a safe power range; when the water pump reaches a certain operating current level and the power control index is lower than the preset limit, it is determined to enter the constant power operation stage, which helps the water pump to operate in a more stable and efficient state; the constant power operation stage means that the power output of the water pump is relatively stable; through program preset and real-time monitoring, intelligent judgment of the operating status of the water pump is realized, reducing manual intervention; the initial set current threshold and the preset control index limit can be flexibly adjusted according to the specific model of the water pump, application scenario and system power supply solution, so as to ensure the accuracy and reliability of the judgment logic, so that the technical scheme can be applicable to water pumps of different models and different application scenarios, improving versatility and flexibility.

[0051] 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 through 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 the present specification, it is necessary to predetermine the initial set current threshold corresponding to the water pump, that is, the maximum current value that the program presets for the water pump to allow to work. When the operating current of the water pump approaches or exceeds the maximum capacity of the system power supply, it may cause the power supply voltage to drop, affecting the stability of the power supply. Other electrical equipment may also be affected because the power supply of the entire system needs to provide sufficient current for all devices. If the operating current of the water pump 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, which will cause the tea bar machine to fail to work properly and may even damage the power supply or water pump.

[0053] First, it is necessary to obtain the maximum working power of the water pump under rated conditions, which can usually be found in the technical specifications or nameplate provided by the manufacturer of the water pump, indicating the maximum power that the water pump can output under normal working conditions, and determine the rated voltage of the system voltage of the tea bar machine. By combining the rated voltage of the system voltage with the safety margin ratio, the safe working voltage of the water pump can be determined. It should be noted that the rated voltage of the system power supply (unit: volt, 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 existence of other power systems and the stability of the power supply, it is usually recommended that the value of k is around 0.6 or lower (i.e., not more than 60% of the maximum power of the system power supply). Finally, according to the maximum working power and safe working voltage of the water pump, the power formula (P=V*I) can be used to calculate the maximum working current corresponding to the water pump under the safe working voltage, and it is used as the initial setting current threshold of the water pump, indicating the current value that the water pump should not exceed under normal working conditions to ensure that it will not be overloaded.

[0054] Through the above technical scheme, by predetermining the initial setting 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 when working, thereby avoiding the power supply voltage drop and maintaining the stability of the power supply; when the working current of the water pump 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 setting current threshold, this situation can be avoided, thereby protecting the power supply and water pump from damage; by accurately calculating the initial setting current threshold of the water pump, it can be ensured that the water pump operates in the best state, reducing energy consumption and mechanical wear.

[0055] The method also includes: obtaining the maximum operating power of the water pump when it is running at full power, and determining the control index limit according to the adjustment index corresponding to the maximum operating power.

[0056] In one embodiment of the present 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 the embodiment of the present specification, the adjustment index is the duty cycle of the pulse width modulation wave of the water pump voltage. 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. By adjusting the power of the water pump through the duty cycle of the PWM wave, precise control of the operating state of the water pump can be achieved. Changes in the duty cycle can directly affect the voltage and current of the water pump, thereby adjusting its power output. The precise control method helps to ensure that the water pump can output the required power when needed, while avoiding overload or insufficient power.

[0057] The constant power operation parameters corresponding to the constant power operation stage are determined through the power change parameter, specifically including: determining the number of cycles of the minimum incremental cycle and the minimum incremental control index in the power change parameter; according to the minimum incremental control index and the number of cycles, determining the current incremental adjustment index corresponding to the trigger condition of the constant power operation stage of the water pump when the trigger condition is met; if the current incremental adjustment index is less than the preset adjustment index limit, determining the constant power operation parameters with 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, determining the constant power operation parameters with the operating power corresponding to the adjustment index limit.

[0058] In one embodiment of the present specification, the number of cycles of the minimum increment cycle and the minimum increment control index in the power change parameter of the variable power startup phase are determined, that is, the minimum increment control index is incremented within several minimum increment cycles. The current increment adjustment index corresponding to the trigger condition of the constant power operation phase of the water pump can be determined by multiplying the minimum increment control index and the number of cycles. Next, the duty cycle of the PWM wave is used as an example for explanation: assuming that the minimum increment cycle is T, D1 is the minimum increment control index set in the program, that is, the minimum duty cycle, and D is the duty cycle after multiple cycles. The duty cycle D=0 at the first startup, and the duty cycle is adjusted once after each cycle T, and the minimum duty cycle is added once, that is, after one cycle, D=D1, after 2 cycles D=2 times D1, and after n cycles, D=n times D1. Among them, (D / D1)*T is the total duration corresponding to the variable power startup phase of the water pump, and this time is the maximum when D=1. When the water extraction time is fixed, the longer the time is, the smaller the water volume will be extracted in the same period of time. Therefore, by setting the starting time threshold, the minimum increasing period and the minimum increasing control index in the increasing rule can be set according to actual needs and experience. For example, when setting the minimum increasing period, the integer multiple of the minimum increasing period can be set as the starting time threshold. When setting the minimum increasing control index, the integer multiple of the minimum increasing control index can be designed to satisfy the control index limit. The embodiments of this specification do not make specific limitations here.

[0059] After determining the current incremental adjustment index corresponding to the trigger condition of the constant power operation stage of the water pump, the relationship between the current incremental adjustment index and the adjustment index limit is determined. Since there are two situations in which the trigger condition of the constant power operation stage of the water pump is met, 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, after N minimum incremental cycles, the collected I≥I0 (initial set current threshold) and the duty cycle does not reach 1, at this time, record the current incremental adjustment index at this time, that is, the duty cycle D, and control the water pump to work at this duty cycle D to enter the constant power stage. At this time, the water pump works at constant power with the power corresponding to the duty cycle D. The other is that the real-time operating current is less than the initial current threshold, but the current power control index is not less than the preset control index limit, that is, after multiple minimum increment cycles, the real-time operating current I is always less than I0 (initial current threshold), when the real-time operating current I is less than I0, add a minimum increment control index (minimum duty cycle D1), when the current increment adjustment index (duty cycle D) is equal to the adjustment index limit (duty cycle D is 1), the constant power operation stage is performed with the corresponding operating power under the condition of duty cycle 1. It should be noted that the water pump is working at full power at this time.

[0060] Through the above technical scheme, by setting the minimum increment cycle and the minimum increment control index, the starting power of the water pump can be smoothly increased, the power mutation during the startup process can be avoided, and the impact can be reduced; the duty cycle D can be gradually increased to make the startup of the water pump more stable, avoid excessive mechanical stress caused by the sudden increase of power, and extend 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 intake efficiency can be optimized while ensuring the stable startup of the water pump; when the water intake time is fixed, by adjusting the startup duration and the power increment law, the water intake volume at startup can be controlled to a certain extent to meet the needs of different scenarios; when the water pump enters the constant power operation stage, 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; the minimum increment cycle and the minimum increment control index are set according to actual needs and experience, which has strong flexibility and adaptability; the startup parameters can be adjusted according to different application scenarios and working environments to achieve the best startup effect and water intake efficiency; the duty cycle based on the PWM wave is easy to implement in the existing control system.

[0061] The method also includes: collecting real-time current when controlling the operation of the water pump with the constant power operating parameters; when the current 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 the present specification, in the constant power operation stage, since the operating power is constant, the real-time current in the constant power stage can be used to monitor the abnormal operation of the water pump. After the water pump starts constant power operation, the real-time current data of the water pump is collected. The alarm current threshold is set according to the actual operation situation to determine whether the difference between the real-time current and the initial set current threshold is large enough to trigger an alarm. The real-time current is compared with the initial set current threshold of the water pump. When the current difference between the real-time current and the pre-acquired initial set current threshold is greater than the preset alarm current threshold, a water pump abnormality alarm is sent.

[0063] Through the above technical solution, by collecting the current data of the water pump in real time and comparing it with the preset threshold, the abnormal state of the water pump, such as overload, blockage or motor failure, can be discovered in the first time. The real-time monitoring and early warning mechanism greatly reduces the risk of production interruption or safety accidents caused by water pump failure; by timely discovering and handling the abnormal state of the water pump, the occurrence or expansion of the fault can be effectively avoided, thereby extending the service life of the water pump and reducing the failure rate; by real-time monitoring of the operating status of the water pump, the maintenance plan can be arranged more accurately to avoid unnecessary maintenance operations and waste of resources; when the system issues a water pump abnormality alarm, the maintenance personnel can quickly locate the fault point and take corresponding measures to repair it.

[0064] Step S103, when receiving the water intake end instruction, it changes from the constant power operation stage to the variable power shutdown stage, so that 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 receiving the water intake end instruction, the operating state of the water pump will change 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 shocks or damages caused by sudden power changes. When it is monitored that the water intake operation has been completed, or when receiving the water intake end instruction issued by the user, the transition from the constant power operation stage to the variable power shutdown stage will be 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 output 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 output of the water pump can be smoothly reduced, avoiding the impact of sudden power changes on the water pump itself and the power supply, 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, so that within 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 the present specification, during the variable power shutdown stage, the power reduction should be controlled within the variable power shutdown time threshold to complete the power reduction until the water pump is shut down. The variable power shutdown time threshold here is the time between receiving the water extraction end instruction and the water pump is shut down, which can be set with reference to the variable power start time threshold. It can be set to the same time as the variable power start time threshold, or it can be set to a time higher than the variable power start time threshold. It should be noted that the specific value here can be set according to the actual situation. The shorter the variable power shutdown time threshold, the higher the risk of water hammer effect. The longer the variable power shutdown time, the lower the risk of water hammer effect, but the problem of prolonged shutdown time will also occur. That is, the time between receiving the water extraction end instruction and the water pump is shut down will be prolonged. The length of the prolonged time here is relatively small, such as the millisecond level, and it is relatively prolonged, which will further affect the user experience. Therefore, when setting the variable power shutdown time threshold, the risk of water hammer effect and user experience should be considered comprehensively, and it should be set according to the actual situation. The delayed shutdown time acceptable to users can also be obtained through surveys, and the value range is set to be greater than the startup time threshold corresponding to the variable power startup stage and less than the delayed shutdown time. According to the startup time threshold and the delayed shutdown time threshold, the variable power shutdown time is determined, and this time is not less than the startup time threshold and not greater than the delayed shutdown time threshold.

[0069] The minimum decrement period and the minimum decrement control index are set based on the variable power shutdown duration. The minimum decrement period refers to the length of time required for each power reduction, which should be based on the variable power shutdown duration to ensure that the power can be smoothly reduced within the specified duration. The decrement period should be regular and of moderate length, neither too long nor too short, to ensure the smoothness and efficiency of the power reduction. First, according to the variable power shutdown duration T, a basic decrement period 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 decrement periods N = T / T_base (rounded up) that need to be executed within T. Finally, the actual length of each decrement period can be fine-tuned to ensure that the power can be smoothly reduced within N cycles. The minimum decrement control index refers to the amount by which the power control index (such as the duty cycle of the PWM wave) should be decremented in each minimum decrement cycle, and should be based on the characteristics and actual needs of the water pump to ensure the stability and accuracy of the power decrement. First, determine the operating power P_init of the water pump in the constant power operation stage and the target power P_target (usually zero or close to zero) when it is turned off. According to N, P_init and P_target, calculate the amount of power that should be decremented in each decrement cycle ΔP = (P_init-P_target) / N (round up or adjust according to actual needs). Convert ΔP to the decrement of the corresponding power control index (such as the duty cycle of the PWM wave). For example, if the water pump is controlled by PWM wave, the duty cycle ΔD that should be decremented in each decrement cycle can be calculated based on the relationship between the duty cycle of the PWM wave and the power. Finally, we can use ΔD as the minimum decrement control index, decrement the power control index in each decrement cycle, and control the water pump to shut down.

[0070] Through the above technical solution, by reasonably setting the variable power shutdown time threshold, it is ensured that the water pump has enough time to reduce power after receiving the water extraction end instruction, thereby avoiding the water hammer effect caused by power mutation. The water hammer effect is a common physical phenomenon in the process of shutting down the water pump, which may lead to serious consequences such as pipeline rupture and water pump damage. Through the smooth power reduction process, the risk of water hammer effect is effectively reduced; the setting of the minimum reduction cycle and the minimum reduction control index makes the power reduction process regular and controllable; the smooth reduction of power in each reduction cycle ensures the smoothness of the water pump shutdown process and avoids mechanical vibration and noise caused by power mutation; although the variable power shutdown time threshold may be slightly longer than the variable power start time threshold, this delay is negligible (such as milliseconds) compared with the delay caused by directly shutting down the water pump; by reasonably setting the reduction cycle and the reduction amount, it is possible to ensure smooth shutdown while minimizing the shutdown delay perceived by the user; the smooth power reduction process reduces the mechanical stress of the water pump and the pipeline, extends the service life of the equipment, reduces the equipment damage and maintenance costs caused by faults such as water hammer effect, and improves the overall reliability.

[0071] Figure 3 A waveform diagram of a water intake process provided in an embodiment of this specification, Figure 4 A waveform diagram of another water intake process provided in the embodiment of this specification, wherein Figure 3 When the real-time operating current is not less than the initial set current threshold (maximum allowable current I0), Figure 4 This is the case where the real-time operating current is less than the initial set current threshold (maximum allowable current I0). Figure 3 As shown, the program enters the start-up phase. At this time, the water pump is turned on. The program controls the water pump to start, and the start-up duty cycle is D1. The program collects the working current I of the water pump, recorded as I1, and compares the collected current I1 with the initial maximum allowable current I0. At this time, it is judged 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, and the start-up duty cycle is 2D1. The water pump working current I is collected, recorded as I2, and the collected current I2 is compared with the initial maximum allowable current I0. At this time, it is judged that I<I0, then the duty cycle is increased by D1, and then enters the next cycle, and it is circulated in sequence until the duty cycle is equal to 1, and the water pump enters constant power operation. In the constant power stage, the water pump works at full power. After a period of constant power operation, it enters the water intake closing stage after Δt time from the end of water intake. In the closing stage, the program controls the water pump to start every cycle T, and the duty cycle is reduced by D1 until the water intake time ends and the water pump stops working. The closing process is opposite to the opening process.

[0072] like Figure 4As shown, when the real-time operating current is less than the initial set current threshold (maximum allowable current I0), the corresponding water extraction process is as follows: the program enters the start-up stage, at which time the water pump is turned on, and the program controls the water pump to start, with a start-up duty cycle of D1. The program collects the working current I of the water pump, recorded as I1, and compares the collected current I1 with the initial maximum allowable current I0. At this time, it is judged 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, with a start-up duty cycle of 2D1, and collects the working current I of the water pump, recorded as I2, and compares the collected current I2 with the initial maximum allowable current I0. At this time, it is judged that I<I0 again, and then enters the next cycle. After N cycles, if I≥I0 and the duty cycle has not reached 1, then the duty cycle D is recorded. The program controls the water pump to continue working at this duty cycle D and enters the constant power stage. Figure 4 In the third cycle shown, when the duty cycle is D=3D1, the working current I of the water pump has reached the preset maximum current value, and the program controls the water pump to work at a duty cycle of D=3D1. In the constant power stage, the water pump works at constant power. After a period of constant power operation, it enters the water intake shutdown stage after Δt time from the end of water intake. In the shutdown stage, the program controls the water pump to start reducing the duty cycle by D1 every cycle T until the water intake time ends and the water pump stops working.

[0073] By adopting this water intake control method, even when the system power supply solution is relatively small, the problem of machine power restart or reset caused by excessive water pump starting power can be effectively reduced; this solution does not need to rely on a larger power supply solution, and the consistency requirements for the water pump are relatively low, which can greatly reduce the increase in costs and achieve more economical and efficient operation; the water pump adopts variable power starting or opening method, which can significantly reduce the impact on the pipeline at the moment of opening or closing, thereby reducing the risk of water leakage in the machine pipeline; it has the function of intelligently recording the duty cycle during water intake, and can adaptively adjust the starting power according to the characteristics of different machines and different water pumps, without the need for tedious manual calibration process, to achieve more accurate and efficient power control.

[0074] Through the technical solution provided in the embodiments of this specification, through the preset variable power starting program, the water pump is no longer started directly at full power, but the power is gradually increased according to the preset increasing law, which can significantly reduce the instantaneous current when the water pump is started, and avoid the direct impact of large current on the power supply, thereby effectively reducing the problem of power restart and reset caused by excessive starting current; since the starting current is reduced, the technical solution has lower requirements on the capacity of the power supply, and even under a more conservative power supply design scheme, it can ensure the stable starting and operation of the water pump, thereby improving the compatibility of the tea bar machine with the power supply; in the variable power startup and shutdown stage, the power of the water pump changes gradually, rather than instantly turning on or off at full power. The smooth power change can effectively reduce the impact on the pipeline, and avoid failures such as pipeline leakage caused by sudden power changes; in the variable power shutdown stage, the water pump is started according to The preset decreasing law gradually reduces the power so that the water flow rate in the pipeline can be slowly reduced, thereby reducing the pressure mutation in the pipeline, effectively reducing the occurrence of water hammer effect, and avoiding the phenomenon of water dripping from another outlet; through precise power control, the stable operation of the water pump in the constant power operation stage is ensured, thereby ensuring the continuity and stability of water intake, improving the user's water intake experience, reducing the damage to the water pump and pipeline due to power mutations during startup and shutdown, extending the service life of the tea bar machine, and reducing the user's maintenance cost; this technical solution can adaptively adjust the parameters of the constant power operation stage according to the real-time operating current and power change parameters of the water pump, ensuring the stable operation of the water pump under different working conditions, and adopting an intelligent control method, making the maintenance and debugging of the tea bar machine simpler and more convenient, reducing the user's maintenance cost.

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

[0076] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0077] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0078] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions 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] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0081] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0082] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0083] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.

Claims

1. A water intake control method for a tea bar machine, the tea bar machine comprising a water pump, characterized in that: The method comprises: Under the triggering of the water intake instruction, the water pump is controlled to start according to the preset increasing rule through the preset variable power starting program, entering the variable power starting stage, and collecting the real-time operating current of the water pump and the power change parameters of the variable power starting stage; According to the real-time operating current and the power change parameter, determine whether the trigger condition of the constant power operation stage of the water pump is met; when the trigger condition of the constant power operation stage is met, determine the constant power operation parameter 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 parameter; When the water extraction end instruction is received, the constant power operation stage is changed to the variable power shutdown stage, so that in the variable power shutdown stage, the water pump is controlled to be shut down according to a preset decreasing law.

2. The water intake control method of a tea bar machine according to claim 1, characterized in that: Before controlling the water pump to start according to a preset increasing rule, the method further includes: Performing a whole-machine startup test on the water pump to determine a startup time threshold corresponding to a variable power startup phase of the water pump; Based on the startup duration threshold, a minimum incremental cycle and a minimum incremental regulation index are set, and the power regulation index is adjusted according to the minimum incremental cycle and the minimum incremental regulation index to determine the incremental rule.

3. The water intake control method of a tea bar machine according to claim 2, characterized in that: Performing a whole machine startup test on the water pump to determine a startup time threshold corresponding to the variable power startup phase of the water pump, specifically including: Performing a whole-machine startup test on the water pump to collect the real-time starting current corresponding to multiple observation time stamps of the water pump after full-power startup; According to the relationship between the multiple real-time starting currents and the theoretical maximum starting current corresponding to the water pump, determine the maximum observation time duration corresponding to the real-time starting current being higher than the theoretical maximum starting current; The starting time threshold corresponding to the variable power starting phase of the water pump is determined based on the maximum observation time and the preset safety control time.

4. The water intake control method of a tea bar machine according to claim 1, characterized in that: Judging whether the triggering condition of the constant power operation stage of the water pump is met according to the real-time operating current and the power change parameter, specifically includes: When the real-time operating current is not less than the pre-acquired initial setting current threshold of the water pump, and the current power regulation index in the power change parameter is lower than the preset regulation index limit, it is determined that the trigger condition of the constant power operation stage is met; Or, when the real-time operating current is less than the initially set current threshold of the water pump obtained in advance, 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 trigger condition of the constant power operation stage is met.

5. The water intake control method of a tea bar machine according to claim 4, characterized in that: The method further comprises: 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 the rated voltage and the preset safety margin ratio; An initial set current threshold corresponding to the water pump is determined according to the maximum operating power of the water pump and the safe operating voltage.

6. The water intake control method of a tea bar machine according to claim 4, characterized in that: The method further comprises: The maximum operating power of the water pump when operating at full power is obtained, and the control index limit is determined according to the adjustment index corresponding to the maximum operating power.

7. The water intake control method of a tea bar machine according to claim 1, characterized in that: Determining the constant power operation parameters corresponding to the constant power operation stage through the power change parameters specifically includes: Determine the minimum increment cycle number and the minimum increment control index in the power variation parameter; Determine, according to the minimum incremental control index and the number of cycles, a current incremental adjustment index corresponding to when the trigger condition of the constant power operation stage of the water pump is met; If the current incremental adjustment index is less than the preset adjustment index limit, the constant power operation parameter is determined according to the operation power corresponding to the current incremental adjustment index; If the current incremental adjustment index is not less than a preset adjustment index limit, the constant power operation parameter is determined according to the operation power corresponding to the adjustment index limit.

8. The water intake control method of a tea bar machine according to claim 1, characterized in that: In the variable power shutdown stage, the water pump is controlled to be shut down according to a preset decreasing rule, specifically including: Determine a start-up time threshold corresponding to a pre-acquired variable power start-up phase; Determine the variable power shutdown duration corresponding to the variable power shutdown stage according to 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; The minimum decreasing cycle and the minimum decreasing regulation index are set according to the variable power shut-off time, so that within each minimum decreasing cycle, the power regulation index is decreased according to the minimum decreasing regulation index to control the water pump to shut down.

9. The water intake control method of a tea bar machine according to claim 1, characterized in that: The method further comprises: When the water pump is operated under the constant power operating parameters, real-time current is collected; When the current difference between the real-time current and the pre-acquired initial setting current threshold is greater than the preset alarm current threshold, a water pump abnormality alarm is sent.

10. The water intake control method of a tea bar machine according to claim 2, characterized in that: The power control index is the duty cycle of the water pump voltage pulse width modulation wave. The water pump power is adjusted by controlling the duty cycle of the water pump voltage pulse width modulation wave.

Citation Information

Patent Citations

  • Radiation control method of electromagnetic heating system and electromagnetic heating system

    CN110493906A

  • Water pump switching control method and device, computer equipment and storage medium

    CN114279068A

  • Full-frequency-conversion constant-pressure water supply control system and control method

    CN114810565A

  • Method and system for determining fluid flow of water pump

    CN117662450A

  • Constant voltage energy -saving water supply device

    CN205012410U