Dispensing control method and apparatus for beverage machine, and storage medium

By employing a two-stage control method and dynamic correction adjustment, the accuracy deviation problem of multi-pump pipeline output in beverage machines is solved, ensuring the stability and accuracy of beverage output, reducing waiting time and the risk of interruption, and making it suitable for various beverage machines.

WO2026138050A1PCT designated stage Publication Date: 2026-07-02SUZHOU MEGAROBO TECH CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
SUZHOU MEGAROBO TECH CO LTD
Filing Date
2025-09-29
Publication Date
2026-07-02

AI Technical Summary

Technical Problem

Existing beverage machines have precision deviations when dispensing through multi-pump pipelines, resulting in insufficient beverage output or overflow. Furthermore, existing compensation methods suffer from dispensing interruptions and instability.

Method used

A two-stage output control method is adopted. First, the main materials are output through the first target pipeline. Then, the output of the second target pipeline is controlled by real-time weight detection until the target total weight is reached. Subsequently, the preset early stop amount is dynamically adjusted according to the deviation value to correct the deviation and ensure the accuracy of the whole cup output.

Benefits of technology

It achieves stability and precision in beverage production, reduces waiting time, avoids operator misjudgment and interruption issues, and has good versatility and adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025125129_02072026_PF_FP_ABST
    Figure CN2025125129_02072026_PF_FP_ABST
Patent Text Reader

Abstract

A dispensing control method and apparatus (200) for a beverage machine, and a storage medium. The dispensing control method for a beverage machine comprises: a first dispensing step (S110): on the basis of a required weight of a target material to be dispensed in a current recipe of a target beverage, controlling a first target tube, which is used for dispensing the target material to be dispensed, to perform dispensing; a second dispensing step (S120): after the first dispensing step (S110), on the basis of the current recipe of the target beverage, controlling a single second target tube to perform dispensing, acquiring in real time the total weight of the target beverage during the dispensing process, and when the total weight is equal to the difference between a target total weight and a preset early‑stop amount, controlling the single second target tube to stop dispensing; and a deviation correction adjustment step (S130): performing deviation correction adjustment on the preset early‑stop amount on the basis of the deviation between the actual total weight of the target beverage acquired after the second dispensing step (S120) and the target total weight, and updating the preset early‑stop amount. The weight error of the beverage dispensed each time is dynamically controlled, and the type of the target beverage and the accuracy of tubes do not need to be considered.
Need to check novelty before this filing date? Find Prior Art

Description

Beverage machine's dispensing control methods, devices, and storage media

[0001] This application claims priority to Chinese Patent Application No. 202411980431.9, filed on December 27, 2024, entitled "Dispensing Control Method, Apparatus, and Storage Medium for Beverage Machine", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of beverage machines, specifically to a beverage machine's dispensing control method, apparatus, and storage medium. Background Technology

[0003] A beverage machine is an automated device used to provide various beverages on demand, such as water, juice, soft drinks, coffee, and tea. Different liquid materials are stored in separate hoppers within the machine, and then flow into containers placed on a common dispensing base via pump pipes connected to each hopper. Due to variations in the precision of each pump pipe, these precision deviations accumulate when dispensing via multiple pump lines, potentially leading to insufficient dispensing or overflow. Therefore, a stable and efficient method for controlling dispensing precision is needed.

[0004] In related technologies, a common method to control output accuracy is to use pump speed calibration (i.e., the speed at which the pump outputs liquid) for two-stage or multi-stage compensation output. Specifically, taking the two-stage compensation output method as an example, in the first stage of output, multiple pump lines simultaneously output at high speed. Upon completion, output needs to be stopped and weight deviation checked. In the second stage, the pump line with the highest output quantity is controlled to output the corresponding material according to the formula, and this material is used to compensate for the deviation in the current total output quantity. Therefore, there is an issue of output interruption in the two-stage or multi-stage compensation output process, leading to an increase in output time. Furthermore, using the final output to compensate for output quantity deviation only simplifies the multi-line deviation to a single-line deviation; the deviation still exists, and this deviation is related to the accuracy of the pump lines used for compensation, exhibiting instability. Summary of the Invention

[0005] This application is made in consideration of the above-mentioned problems. This application provides a method, apparatus, and storage medium for controlling the output of a beverage machine. This solution can dynamically control the weight error of each beverage output, without considering the type of target beverage or the precision of the piping, and has good versatility.

[0006] According to a first aspect of this application, a method for controlling the dispensing of a beverage machine is provided, for controlling the dispensing of a target beverage, the method comprising: a first dispensing step, wherein, based on the weight required for the target dispensing material in the current recipe of the target beverage, a first target pipeline for dispensing the target dispensing material is controlled to dispense the beverage, thereby completing the dispensing of the first target pipeline; the first target pipeline refers to all pipelines required for dispensing the current recipe except for a single second target pipeline; a second dispensing step, wherein, after the first dispensing step, based on the current recipe of the target beverage, the single second target pipeline is controlled to dispense the beverage, and the total weight of the target beverage is acquired in real time during the dispensing process, and the single second target pipeline is controlled to stop dispensing when the total weight is equal to the difference between the target total weight and a preset early stop amount; and a correction adjustment step, wherein the preset early stop amount is adjusted based on the deviation between the actual total weight of the target beverage and the target total weight acquired after the second dispensing step, and the preset early stop amount is updated.

[0007] In one possible implementation, prior to the first output step, the method further includes: a second target pipeline determination step; the second target pipeline determination step specifically includes: determining the pipeline used to output the single material with the largest required weight in the current formulation as a single second target pipeline.

[0008] In one possible implementation, the first dispensing step further includes: while dispensing the target material through the first target pipeline, controlling the single second target pipeline to dispense at a first preset speed based on a portion of the total weight required by the material in the current formula of the target beverage in the current formula of the single second target pipeline; the second dispensing step specifically includes: controlling the single second target pipeline to dispense at a second preset speed until the total weight of the target beverage is equal to the difference between the target total weight and the preset early stop amount; wherein, the first preset speed is greater than the second preset speed.

[0009] In one possible implementation, the first output step specifically includes: controlling the first target pipeline to complete output before a preset time; wherein, the preset time is the end time of the time period during which a single second target pipeline outputs at a first preset speed.

[0010] In one possible implementation, different pipelines are each set with their own initial value of the preset early stop amount; before the second product output step, the method further includes: determining the initial value of the preset early stop amount or the preset early stop amount updated after the correction adjustment step based on a single second target pipeline in the current formula.

[0011] In one possible implementation, the correction adjustment step specifically includes: determining whether the deviation between the actual total weight and the target total weight is greater than a preset deviation threshold; if the deviation is greater than the preset deviation threshold, adjusting a preset early stop amount; wherein the adjusted preset early stop amount is equal to the sum of the original preset early stop amount and the adjusted value, the adjusted value is equal to the product of the deviation value and a preset adjustment coefficient, and the preset adjustment coefficient is less than 1.

[0012] In one possible implementation, the first output step specifically includes: obtaining the maximum output time of the first target pipeline; calculating the time difference between the maximum output time and the time required for a single second target pipeline to output at a first preset speed; controlling the first target pipeline to start outputting, and after the time difference has elapsed, controlling the single second target pipeline to start outputting at the first preset speed.

[0013] In one possible implementation, prior to the first dispensing step, the method further includes: performing a full-pipe operation on at least one pipe as a target full-pipe pipe, wherein the at least one pipe is used to dispense different materials, wherein the full-pipe operation includes: controlling the target pipe to start dispensing from the dispensing port of the beverage machine according to a full-pipe command, and obtaining a first weight of the target material output from the target pipe flowing out of the dispensing port of the beverage machine; when the first weight is greater than a preset weight threshold, controlling the target pipe to perform at least two dispensing operations under the same driving parameters, and obtaining a second weight of the target pipe flowing out of the dispensing port of the beverage machine under that dispensing operation for each dispensing operation; determining that the full-pipe operation is completed based on whether the second weights of the at least two dispensing operations meet a preset dispensing stability requirement.

[0014] In one possible implementation, the first and second dispensing steps further include: controlling only the target replenishment pipeline used to dispense the target replenishment material based on real-time obtained material shortage and replenishment information and target replenishment material; when only the target replenishment pipeline is controlled to dispense, obtaining the actual total weight of the target beverage in real time; determining whether the actual total weight reaches the target total weight at the time of material shortage; if so, stopping the dispensing of the target replenishment pipeline and continuing to execute the first or second dispensing step.

[0015] In one possible implementation, before the second output step, the method further includes: a third output step: performing single-path output on the first verification pipeline to ensure that the weight of the material output by the first verification pipeline reaches the corresponding preset output quantity; the method further includes: a parameter verification step; the parameter verification step includes: when the current target beverage includes the first verification pipeline, accumulating the output parameters of the first verification pipeline from the triggering time of the third output step to the completion time of the third output step; when the accumulated output parameters meet the preset parameter verification end condition, determining the first verification pipeline as a non-target verification pipeline; when the accumulated output parameters do not meet the preset parameter verification end condition, maintaining the first verification pipeline as the first verification pipeline; wherein, the first verification pipeline is the target pipeline determined by the replenishment operation; the first target pipeline refers to all pipelines required for outputting the current formula, excluding the single second target pipeline and the first verification pipeline.

[0016] In one possible implementation, before the second output step, the method further includes: a fourth output step: controlling only one second verification pipeline to perform single-channel output; the method further includes: an integral verification step; the integral verification step specifically includes: when the difference between the actual total weight after the first output step and the preset output quantity after the first output step meets the output error requirement, accumulating the integrals of each of the first target pipelines in the first output step; if not, resetting the integrals of each of the first target pipelines in the current target output pipeline that is outputting in the first output step to zero; and verifying whether the output accuracy of the second verification pipeline in each fourth output step meets the preset accuracy requirement, if it does, resetting the integral of the second verification pipeline to zero; wherein, the second verification pipeline refers to the target pipeline whose integral meets the verification requirement; the number of fourth output steps is less than or equal to the number of second verification pipelines.

[0017] In one possible implementation, the method further includes: real-time monitoring of the weight of the material in the silo; when controlling the output of a single second target pipeline and / or other pipelines, if the weight of the material in the silo is detected to be less than the minimum weight threshold of the material, stopping the execution of the first output step or the second output step until the weight of the material is detected to be equal to the minimum weight threshold, and then continuing to execute the first output step or the second output step to obtain the target beverage.

[0018] According to a second aspect of this application, a beverage machine dispensing control device is also provided for controlling the dispensing of a target beverage, comprising: a first dispensing module, configured to control a first target pipeline for dispensing the target beverage material to dispense according to the weight required by the target dispensing material in the current recipe of the target beverage, thereby completing the dispensing of the first target pipeline; the first target pipeline refers to all pipelines required for dispensing the current recipe except for a single second target pipeline; a second dispensing module, configured to control the dispensing of a single second target pipeline according to the current recipe of the target beverage, and to obtain the total weight of the target beverage in real time during the dispensing process, and to control the single second target pipeline to stop dispensing when the total weight is equal to the difference between the target total weight and a preset early stop amount; and a deviation adjustment module, configured to adjust the preset early stop amount according to the deviation between the actual total weight of the target beverage and the target total weight, and to update the preset early stop amount.

[0019] According to a third aspect of this application, a storage medium is also provided, on which program instructions are stored, which, when executed, are used to perform the above-described beverage machine dispensing control method.

[0020] The aforementioned technical solution dynamically corrects the preset early stop amount based on the actual total weight of the target beverage, which is beneficial for dynamically controlling the weight error of each beverage output. It eliminates the need to consider the type of target beverage or the precision of the piping, exhibiting good versatility. Furthermore, by dynamically controlling the weight error of each beverage output, the overall accuracy of the cup output can increase as the number of beverages output increases, until the deviation between the actual total weight and the target total weight of the cup is within a preset deviation threshold. In addition, by real-time detection of the total weight of the finished products to control the stopping of the currently outputting products, the waiting time required for the electronic scale to stabilize after multiple outputs is reduced, and the problem of unstable output of the target beverage due to piping precision errors during single-output processes is solved. Moreover, the two-stage output method avoids the problem of operators misjudging the completion of output and removing the container due to output compensation interruptions during the output process.

[0021] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0022] The above and other objects, features, and advantages of this application will become more apparent from the more detailed description of the embodiments of this application in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of this application and form part of the specification. They are used together with the embodiments of this application to explain this application and do not constitute a limitation thereof. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0023] Figure 1 shows a schematic flowchart of a beverage machine dispensing control method according to an embodiment of this application;

[0024] Figure 2 shows a schematic block diagram of a beverage machine dispensing control device according to an embodiment of the present application. Detailed Implementation

[0025] To make the objectives, technical solutions, and advantages of this application more apparent, exemplary embodiments according to this application will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments of this application. It should be understood that this application is not limited to the exemplary embodiments described herein. Based on the embodiments of this application described herein, all other embodiments obtained by those skilled in the art without inventive effort should fall within the protection scope of this application.

[0026] To at least partially solve the above-mentioned technical problems, embodiments of this application disclose a beverage machine's dispensing control method, apparatus, and storage medium.

[0027] Please refer to Figure 1, which is a schematic flowchart of a beverage machine dispensing control method according to an embodiment of this application. According to a first aspect of this application, a beverage machine dispensing control method is provided for controlling the dispensing of a target beverage. The method includes: a first dispensing step S110, a second dispensing step S120, and a correction adjustment step S130.

[0028] In the first output step S110, based on the weight required by the target output material in the current formula of the target beverage, the first target pipeline used to output the target output material is controlled to output, so as to complete the output of the first target pipeline; the first target pipeline refers to all pipelines other than the single second target pipeline among all pipelines required to output the current formula.

[0029] In one possible implementation, the target beverage may be a mixture of multiple liquid materials, such as drinking water, syrup, fruit juice, milk, etc. The current formula of the target beverage may include the types of liquid materials (hereinafter referred to as "materials") and the required weight of each type of material. For example, the current formula of the target beverage may include: 300g of material A, 80g of material B, and 20g of material C. Among the materials included in the current formula of the target beverage, a target output material can be identified, and the pipeline used to output the target output material can be referred to as the first target pipeline. During the process of controlling the first target pipeline to output according to the required weight of the target output material in the current formula of the target beverage, for any target output material, when controlling the first target pipeline to output that target output material, one or more pipelines other than the first target pipeline may simultaneously output. In other words, in the first output step S110, multiple pipelines, including the first target pipeline, can output simultaneously, and the material output by the multiple pipelines includes the target output material. In some embodiments, the multiple pipelines discharged in the first discharge step S110 may include all pipelines required for discharging the current formula, specifically including a first target pipeline and a single second target pipeline. In other embodiments, the multiple pipelines discharged in the first discharge step S110 may include only the first target pipeline. It is understood that the target discharged material corresponding to the first target pipeline is any material in the current formula of the target beverage other than the material discharged using the second target pipeline.

[0030] In the second output step S120, after the first output step S110, the output of a single second target pipeline is controlled according to the current formula of the target beverage, and the total weight of the target beverage is obtained in real time during the output process. When the total weight is equal to the difference between the target total weight and the preset early stop amount, the output of a single second target pipeline is controlled to stop.

[0031] In one possible implementation, after completing the first dispensing step S110, the dispensing of a single second target pipeline can be controlled according to the current formula of the target beverage. Specifically, in the second dispensing step S120, only a single pipeline is controlled for dispensing, and this pipeline is the second target pipeline. In some embodiments, the second target pipeline can dispense the corresponding material in the first dispensing step S110. In this case, the weight of the material dispensed by the second target pipeline in the first dispensing step S110 may be less than the weight required for that material in the current formula, and the second target pipeline can further dispense that material in the second dispensing step S120. During the process of controlling the dispensing of a single second target pipeline, or during the process of controlling both the first target pipeline and the single second target pipeline, the total weight of the target beverage can be obtained in real time. Specifically, a weight sensor (e.g., an electronic scale) can be installed below the dispensing position of the beverage machine. The weight sensor can monitor the total weight of the materials dispensed in the current formula of the target beverage in real time, that is, the total weight of the target beverage can be obtained in real time. When the total weight of the target beverage is detected to be equal to the difference between the target total weight and the preset early stop amount, the dispensing from a single second target pipeline can be stopped. Here, the target total weight is the sum of the required weights of all ingredients in the current formula of the target beverage, representing an ideal value; while the detected total weight is the actual measured value (i.e., the actual total weight), and the preset early stop amount can be a pre-stored default value set by the user based on actual conditions. More specifically, in a beverage machine, each pipeline can be connected to a drive unit (e.g., a pump) for dispensing the corresponding ingredient. Controlling the dispensing from a single second target pipeline is equivalent to stopping the operation of the drive unit connected to the second target pipeline. In reality, even when the drive unit stops operating, a small amount of ingredient still remains in the second target pipeline and can continue to be dispensed; the weight of this small amount can compensate for the preset early stop amount.

[0032] In the correction and adjustment step S130, the preset early stop amount is adjusted based on the deviation between the actual total weight of the target beverage and the target total weight obtained after the second production step S120, and the preset early stop amount is updated.

[0033] In one possible implementation, the actual total weight of the target beverage can be obtained after the second production step. In some embodiments, the total weight of the target beverage is obtained in real time. The deviation between the actual total weight and the target total weight can be equal to the absolute value of the difference between the actual total weight and the target total weight, which can be positive, negative, or 0. When the deviation is greater than a preset deviation threshold, the preset early stop amount can be adjusted for correction. For example, if the difference between the actual total weight and the target total weight is negative and the deviation is greater than the preset deviation threshold, the current preset early stop amount can be reduced; if the difference between the actual total weight and the target total weight is positive and the deviation is greater than the preset deviation threshold, the current preset early stop amount can be increased. The adjusted preset early stop amount can be updated to the current preset early stop amount.

[0034] The aforementioned technical solution dynamically corrects the preset early stop amount based on the actual total weight of the target beverage, which is beneficial for dynamically controlling the weight error of each beverage output. It eliminates the need to consider the type of target beverage or the precision of the piping, exhibiting good versatility. Furthermore, by dynamically controlling the weight error of each beverage output, the overall accuracy of the cup output can increase as the number of beverages output increases, until the deviation between the actual total weight and the target total weight of the cup is within a preset deviation threshold. In addition, by real-time detection of the total weight of the finished products to control the stopping of the currently outputting products, the waiting time required for the electronic scale to stabilize after multiple outputs is reduced, and the problem of unstable output of the target beverage due to piping precision errors during single-output processes is solved. Moreover, the two-stage output method avoids the problem of operators misjudging the completion of output and removing the container due to output compensation interruptions during the output process.

[0035] In one possible implementation, prior to the first output step S110, the method further includes: a second target pipeline determination step; the second target pipeline determination step specifically includes: determining the pipeline used to output the single material with the largest required weight in the current formulation as a single second target pipeline.

[0036] In one possible implementation, after determining the current formula of the target beverage, the material with the largest required weight can be identified among the materials in the current formula, and the pipeline used to dispense that material can be designated as a single second target pipeline. For example, the current formula of the target beverage may include: 300g of material A, 80g of material B, and 20g of material C. If material A is the single material with the largest required weight in the current formula, then the pipeline used to dispense material A can be designated as a single second target pipeline.

[0037] The above technical solution identifies the pipeline of the single material with the largest required output in the current formula as a single second target pipeline. When there is a deviation in the total weight of the target beverage produced in the first output step, the material with the least impact on the taste of the target beverage can be used to compensate for the weight of the target beverage, which helps to ensure the stability of the taste of the final target beverage.

[0038] In one possible implementation, the first dispensing step S110 further includes: while dispensing the target material through the first target pipeline, controlling the single second target pipeline to dispense at a first preset speed based on a portion of the total weight required by the material in the current formula of the target beverage in the current formula of the target beverage; the second dispensing step S120 specifically includes: controlling the single second target pipeline to dispense at a second preset speed until the total weight of the target beverage is equal to the difference between the target total weight and the preset early stop amount; wherein, the first preset speed is greater than the second preset speed.

[0039] In one possible implementation, in the first dispensing step S110, a single second target pipeline can dispense a portion of the total weight required for the corresponding material, which can be a preset value. For example, if the total weight required for the material in a single second target pipeline in the current formula of the target beverage is 100g, the weight required to be dispensed by the single second target pipeline in the first dispensing step S110 can be 85g. Specifically, taking a pump as an example, the pump can have a displacement calibration value, and the unit of measurement for displacement can be, for example, cubic centimeters per revolution. Let V be the displacement of the pump used to drive the material dispensing of the single second target pipeline (denoted as the target pump), and let M be the weight required for the material in a single second target pipeline in the current formula of the target beverage. Then, the calibrated total revolutions of the target pump for the current formula can be M / (V×ρ), where ρ is the density of the material in the second target pipeline (the unit of measurement can be, for example, grams per cubic centimeter). Let M1 be the weight of the product to be discharged from a single second target pipeline in the first discharge step S110. Then, the first calibrated speed of the target pump driving the single second target pipeline to discharge the product can be equal to M1 / (V×ρ). During the discharge of the target product material from the first target pipeline, the target pump can operate with a speed equal to the first calibrated speed M1 / (V×ρ) and a rotation speed equal to the first preset rotation speed (denoted as v1, the unit of measurement can be revolutions per second) to drive the single second target pipeline to discharge the corresponding material at a first preset speed. The unit of measurement for the first preset speed can be, for example, grams per second, which can be equal to V×ρ×v1. It should be noted that due to objective factors such as machining errors and material adhering to the wall, there may be a certain difference between the actual weight of the material discharged from the single second target pipeline in the first discharge step S110 and the weight of the product to be discharged in the first discharge step S110. In the second dispensing step S120, a single second target pipeline can be controlled to dispense at a second preset speed, and the actual total weight of the target beverage can be obtained in real time. When the obtained actual total weight is equal to the difference between the target total weight of the target beverage and the current preset early stop amount, the single second target pipeline can be controlled to stop dispensing.

[0040] The above technical solution, by controlling the output of a single second target pipeline during the process of controlling the output of the first target pipeline, can reduce the time for a single target pipeline to output in the second output step, thereby saving the time for the entire cup of the target beverage to be produced.

[0041] In one possible implementation, the first output step S110 specifically includes: controlling the first target pipeline to complete output before a preset time; wherein, the preset time is the end time of the time period during which a single second target pipeline outputs at a first preset speed.

[0042] In one possible implementation, the duration of the time period during which a single second target pipeline outputs material at a first preset speed can be calculated using the calibrated values ​​of the drive parameters of the drive unit connected to the single second target pipeline (i.e., the drive unit used to drive the material output of the second target pipeline). For example, referring to the aforementioned embodiment, the duration of the time period during which a single second target pipeline outputs material at the first preset speed is t1 = M1 / (V×ρ×v1). Similarly, the output duration t2 of each pipeline of the first target pipeline can be calculated in the same way as that of the single second target pipeline. The start time T1 of each pipeline of the first target pipeline and the start time T2 of a single second target pipeline can be determined according to the duration t1 and duration t2. The determined start time T1 and start time T2 satisfy the following: For any pipeline of the first target pipeline (denoted as pipeline A), the end time T1+t2A of pipeline A's output is before the end time T2+t1 of the time period in which the single second target pipeline outputs at the first preset speed, where t2A represents the output duration of pipeline A.

[0043] The above technical solution can control the first target pipeline to complete the output of the corresponding material according to the current formula before the output of a single second target pipeline ends at the first preset speed. This ensures that only a single second target pipeline outputs the product in the second output step, which has a smaller impact on the weighing of the weight sensor and helps to ensure that the error of the total weight of the target beverage obtained in the second output step is small.

[0044] In one possible implementation, different pipelines are each set with their own initial value of the preset early stop amount; before the second output step S120, the method further includes: determining the initial value of the preset early stop amount or the preset early stop amount updated after the correction adjustment step based on a single second target pipeline in the current formula.

[0045] In one possible implementation, each pipe of the beverage machine can dispense its corresponding material. The preset early stop amount can be a default value pre-stored by the user based on the physical properties of the material, such as viscosity and density. This default value can serve as the initial value of the preset early stop amount for the pipe used to dispense the corresponding material. Before the second dispensing step S120, the current preset early stop amount of a single second target pipe can be determined. Specifically, if the beverage dispensed using a single second target pipe before the target beverage was not corrected after dispensing, the current preset early stop amount of the single second target pipe can be the initial value of the preset early stop amount of the single second target pipe. If the beverage dispensed using a single second target pipe before the target beverage underwent a correction adjustment step after dispensing, the current preset early stop amount of the single second target pipe can be the updated preset early stop amount.

[0046] In the above technical solution, for each current target beverage, the preset early stop amount of a single second target pipeline corresponding to the current formula can be determined. This can adaptively determine the extraction stop amount of different single second target pipelines used to produce different target beverages, thereby helping to ensure that the actual total weight of each target beverage is as close as possible to the target total weight.

[0047] In one possible implementation, the correction adjustment step S130 specifically includes: determining whether the deviation between the actual total weight and the target total weight is greater than a preset deviation threshold; and adjusting a preset early stop amount when the deviation is greater than the preset deviation threshold. The adjusted preset early stop amount is equal to the sum of the original preset early stop amount and the adjusted value, and the adjusted value is equal to the product of the deviation value and a preset adjustment coefficient, wherein the preset adjustment coefficient is less than 1.

[0048] In one possible implementation, when the deviation between the actual total weight of the target beverage and the target total weight exceeds a preset deviation threshold, a corrective adjustment can be made to the preset early stop amount. Specifically, the product of the deviation value and a preset adjustment coefficient can be used to determine the adjustment value of the preset early stop amount. The adjustment value can be positive or negative, and the preset adjustment coefficient can be set by the user based on experience, with a preset adjustment coefficient less than 1. When the difference between the actual total weight and the target total weight of the target beverage is positive, the adjustment value can be positive; when the difference is negative, the adjustment value can be negative. For example, if the preset early stop amount before adjustment is 2g and the preset deviation threshold is 0.5g, and the actual total weight of the target beverage is 102g and the target total weight is 100g, the deviation value is 102g - 100g = 2g. This deviation value exceeds the preset deviation threshold, so a corrective adjustment can be made to the preset early stop amount. If the preset adjustment coefficient is set to 0.5, then the adjustment value Δm = 0.5 × (102g - 100g) = 1g. The adjusted preset early stop amount is 2g + 1g = 3g. For example, the original preset early stop amount was 2g, and the preset deviation threshold was 0.5g. The actual total weight of the target beverage is 99g, and the target total weight is 100g. The deviation value is |99g - 100g| = 1g. This deviation value is greater than the preset deviation threshold, so the preset early stop amount can be adjusted. The difference between the actual total weight and the target total weight is -1g, which is negative. The preset adjustment coefficient is set to 0.5, so the adjustment value Δm = -0.5 × 1 = -0.5g. The adjusted preset early stop amount is 2g + (-0.5g) = 1.5g.

[0049] The above technical solution can adjust the early stop amount of the corresponding single second target pipeline based on the difference between the actual total weight of each target beverage and the target output. This is beneficial because when the next target beverage is still produced using the same single second target pipeline in the second output step, the actual total weight of the target beverage can be closer to the target total weight.

[0050] In one possible implementation, the first output step S110 specifically includes: obtaining the maximum output time of the first target pipeline; calculating the time difference between the maximum output time and the time required for a single second target pipeline to output at a first preset speed; controlling the first target pipeline to start outputting, and after the time difference has elapsed, controlling the single second target pipeline to start outputting at the first preset speed.

[0051] In one possible implementation, the calculation method for the output duration of each pipe of the first target pipeline can refer to the description in the previous embodiment regarding the calculation of the time period for a single second target pipeline to output at a first preset speed, which will not be repeated here. Based on the output duration of each pipe of the first target pipeline, the maximum output duration of the first target pipeline can be obtained. The time difference is obtained by subtracting this maximum output duration from the time required for a single second target pipeline to output the corresponding material at the first preset speed. If the time difference is greater than or equal to 0, from the moment the first target pipeline starts outputting, after the obtained time difference, the single second target pipeline can be controlled to start outputting at the first preset speed. If the time difference is less than 0, from the moment T1 when the single second target pipeline starts outputting at the first preset speed to the moment T2 after the obtained time difference, the first target pipeline can be controlled to start outputting within a preset time period, where the preset time period is the time period from the start of time T1 to the end of time T2. It is understandable that when a single second target pipeline starts to output at the second preset speed, the first target pipeline has already completed the output of the corresponding material.

[0052] The above technical solution allows the first target pipe to complete its output simultaneously with the output of the required weight of the first output step at a first preset speed, instead of waiting for the first target pipe to finish outputting the required weight of the first output step after the second target pipe has finished outputting the first output step. This can significantly save the output time required for the first output step, thereby saving the overall output time of the cup.

[0053] In one possible implementation, before the first dispensing step S110, the method further includes: performing a full-pipe operation on at least one pipe as a target full-pipe pipe, wherein the at least one pipe is used to dispense different materials, wherein the full-pipe operation includes: controlling the target full-pipe pipe to start dispensing from the dispensing port of the beverage machine according to a full-pipe command, and obtaining a first weight of the target full-pipe material output from the target full-pipe pipe flowing out of the dispensing port of the beverage machine; when the first weight is greater than a preset weight threshold, controlling the target full-pipe pipe to perform at least two dispensing operations under the same driving parameters, and obtaining a second weight of the target full-pipe pipe flowing out of the dispensing port of the beverage machine under that dispensing operation for each dispensing operation; determining that the full-pipe operation is completed based on whether the second weights of the at least two dispensing operations meet a preset dispensing stability requirement.

[0054] In one possible implementation, the target full pipe can be a pipe connected to the replenished hopper of the beverage machine. The target full pipe of material can be any liquid, such as drinking water, syrup, juice, or milk. After replenishing the empty hopper, the control device for the beverage machine can generate a full pipe command. Alternatively, the user can input the full pipe command via an input device (e.g., keyboard, joystick, button) connected to the control device. The full pipe command can be used to perform a full pipe operation on the target full pipe. The full pipe operation can include controlling a drive unit (e.g., a pump) connected to the target full pipe to drive the material being dispensed through the target full pipe, so that the target full pipe of material begins to be dispensed from the beverage machine's outlet through the target full pipe. A weight sensor (e.g., an electronic scale) can be installed below the beverage machine's outlet. The control device can acquire the measurement value of the weight sensor in real time and obtain the first weight of the target full pipe of material output from the target full pipe in real time based on the measurement value. In one possible implementation, the preset weight threshold can be set by the user according to actual needs, for example, it can be set to 1g. When the first weight is greater than the preset weight threshold, it can be determined that there is liquid in the target full pipe. Specifically, when the first weight is greater than the preset weight threshold, the drive unit connected to the target full pipe can be controlled to run at least twice according to preset drive parameters (taking a pump as an example, the drive parameters can be, for example, the number of revolutions, or the rotation speed and running time, etc.), so as to control the target full pipe to perform two or more discharge operations under the same drive parameters. Taking a triaxial peristaltic pump connected to the target full pipe as an example, each pulse of the triaxial peristaltic pump is equivalent to 1 / 3 revolution. When performing each discharge operation, the triaxial peristaltic pump can be controlled to rotate N / 3 revolutions, where N is an integer greater than or equal to 1, and the number of revolutions of the triaxial peristaltic pump corresponding to each discharge operation can be equal to N / 3 revolutions.

[0055] In one possible implementation, after each dispensing operation, the measurement value of the weight sensor below the dispensing port of the beverage machine can be obtained to determine the second weight of the target material dispensed from the target pipeline in that dispensing operation. In some embodiments, for each dispensing operation, the control device for the beverage machine can acquire the measurement value of the weight sensor in real time from the start of the dispensing operation. When the measurement value is stable, that is, when the measurement value at a certain moment is the same as the measurement value at the previous moment, the second weight corresponding to that dispensing operation can be determined based on the stable measurement value. In other embodiments, the dispensing duration of each dispensing operation can be determined based on the driving parameters of the pump connected to the target pipeline. From the start of the dispensing duration, after the sum of the dispensing duration and the preset delay duration, the control device can determine the second weight corresponding to that dispensing operation based on the measurement value of the weight sensor at the current moment. In one possible implementation, the preset dispensing stability requirement may include, for example, that the difference between the second weight of each dispensing operation and the theoretical weight is less than or equal to a preset difference threshold. The theoretical weight can be calculated using the drive parameters of the pump connected to the target pipeline, and each output operation corresponds to the same theoretical weight. The preset difference threshold can be set by the user according to actual conditions. Alternatively, the preset output stability requirement may include, for example, that the range between each second weight is less than a preset weight change threshold. Similarly, the preset weight change threshold can be set by the user according to actual conditions. Alternatively, the preset output stability requirement may include, for example, that the range between each second weight is less than a preset weight change threshold and that each second weight is greater than a preset accuracy threshold. The preset accuracy threshold may be, for example, the measurement accuracy of the weight sensor. When each output operation meets the preset output stability requirement, the full-pipe operation can be considered complete.

[0056] In the above technical solution, by monitoring the first output volume of the beverage machine during the full-pipe process, it is possible to determine whether air and impurities in the pipeline have been expelled, and whether the output volume of the pipeline currently performing the full-pipe operation is stable. This helps ensure that air and impurities in the pipeline are completely expelled after the full-pipe operation is completed, and that the pipeline can output products at a stable and uniform speed. This ensures the smooth output of the target material in subsequent output operations and also controls the actual output volume of the material during the full-pipe process, which helps save materials. On the other hand, by controlling the target pipeline to perform at least two output operations under the same driving parameters, it is helpful to ensure the comparability of the second output volumes of each output operation, thereby quickly and accurately determining whether the full-pipe operation has been completed.

[0057] In one possible implementation, the first dispensing step S110 and the second dispensing step S120 further include: based on the real-time obtained material shortage and replenishment information and the target replenishment material, controlling only the target replenishment pipeline used to dispense the target replenishment material for dispensing; when only the target replenishment pipeline is controlled for dispensing, obtaining the actual total weight of the target beverage in real time; determining whether the actual total weight has reached the target total weight at the time of material shortage; if so, stopping the dispensing of the target replenishment pipeline and continuing to execute the first dispensing step S110 or the second dispensing step S120.

[0058] In one possible implementation, during the first dispensing step S110 and the second dispensing step S120, material shortage and replenishment information can be acquired in real time. This information indicates the missing material in the current formula of the target beverage, i.e., the target replenishment material. In some embodiments, the beverage machine may include multiple hoppers for storing different materials. Each hopper may be equipped with a level sensor (e.g., an ultrasonic level sensor). The control device for the beverage machine can be connected to the level sensors in each hopper to acquire the detection results of each sensor in real time. When the material in the hopper corresponding to the detection result of any level sensor is insufficient, the control device can output material shortage and replenishment information for the corresponding material and control the stopping of dispensing from each pipeline. The user can then perform a replenishment operation based on the material shortage and replenishment information. In other embodiments, the control device for the beverage machine can acquire the actual total weight measured by the weight sensor below the dispensing position of the beverage machine in real time, and compare the current actual total weight with the current target total weight. If the absolute value of the difference between the actual total weight and the target total weight is greater than a preset allowable error, it can be determined that there is a shortage of materials in the current formula of the target beverage at the current moment, and the dispensing of each pipeline can be stopped. When a shortage of materials is determined, the control device can output material shortage replenishment information, and the user can manually check each hopper according to the material shortage replenishment information to replenish the hoppers with shortages; or, the control device can acquire the detection results of the liquid level sensors installed in the hoppers of the beverage machine, and output material shortage replenishment information for the corresponding materials according to the detection results, and the user can perform replenishment operations according to the material shortage replenishment information. In one possible implementation, the control device can confirm the completion of replenishment for the target replenishment material based on user-inputted replenishment completion confirmation information or based on the level sensor detected in the hopper used to store the target replenishment material. Upon confirmation of replenishment completion, the control device can control the target replenishment pipeline for dispensing the target replenishment material. During the dispensing process of the target replenishment pipeline, the actual total weight of the target beverage is acquired in real time. When the actual total weight reaches the target total weight at the time of material shortage, the control device can stop dispensing from the target replenishment pipeline and continue executing the first dispensing step S110 or the second dispensing step S120. Specifically, the time of material shortage can be considered as the time when it is determined that there is a material shortage in the current formula of the target beverage, and the control device can use the calibrated values ​​of the driving parameters of the driving components used to drive each pipeline, and the theoretical output of each target pipeline (including the first target pipeline and the second target pipeline) from the time the target beverage began to the time of material shortage, and the sum of the theoretical output of each target pipeline can be used as the target total weight at the time of material shortage. In some embodiments, the specific process of determining whether the actual total weight reaches the target total weight at the time of material shortage may include, for example, determining whether the actual total weight of the target beverage is equal to the target total weight at the time of material shortage.When the actual total weight of the target beverage equals the target total weight at the current time of material shortage, the dispensing from the target replenishment pipeline can be stopped. In some embodiments, the specific process of determining whether the actual total weight of the target beverage reaches the target total weight at the current time of material shortage may include, for example, determining whether the actual total weight of the target beverage is equal to the difference between the target total weight at the current time of material shortage and the preset early stop amount of the target replenishment pipeline. In this case, the preset early stop amount of the target replenishment pipeline can also be adjusted and updated based on the deviation between the actual total weight of the target beverage obtained after the target replenishment pipeline stops dispensing and the target total weight at the current time of material shortage. For example, if the target total weight of the target beverage at the current time of material shortage is 200g, the actual dispensing amount is 180g, and the preset early stop amount of the target replenishment pipeline is 2g, when only the target replenishment pipeline is controlled to dispense, the actual total weight of the target beverage can be obtained in real time, and when the actual total weight of the target beverage reaches 198g, the dispensing from the target replenishment pipeline can be stopped. After the target replenishment pipeline stops dispensing, if the deviation between the actual total weight of the target beverage and the target total weight at the time of the current shortage is greater than a preset deviation threshold, the preset early stop amount of the target replenishment pipeline can be updated. In this embodiment, the preset deviation threshold can be, for example, 0.5g. If the actual total weight of the target beverage obtained after the target replenishment pipeline stops dispensing is 202g, and the deviation between this and the target total weight at the time of the current shortage is 2g, which is greater than the preset deviation threshold, then the preset early stop amount can be updated. The updated preset early stop amount can be, for example, 3g.

[0059] The above technical solution can obtain material shortage and replenishment information in real time, and can control the target replenishment material to be produced separately until the target total weight at the time of material shortage is replenished and the first and second production steps are continued. This can realize that when the current target beverage is short of material, after replenishment, the current target beverage can be produced on the basis of the material that has been produced, which helps to reduce the situation of waste cups.

[0060] In one possible implementation, before the second output step S120, the method further includes: a third output step S140: performing single-path output on the first verification pipeline to ensure that the weight of the material output by the first verification pipeline reaches the corresponding preset output quantity; the method further includes: a parameter verification step S150; the parameter verification step S150 includes: when the current target beverage includes the first verification pipeline, accumulating the output parameters of the first verification pipeline from the triggering time of the third output step S140 to the completion time of the third output step S140; when the accumulated output parameters meet the preset parameter verification end condition, determining the first verification pipeline as a non-target verification pipeline; when the accumulated output parameters do not meet the preset parameter verification end condition, maintaining the first verification pipeline as the first verification pipeline; wherein, the first verification pipeline is the target pipeline determined by the replenishment operation; the first target pipeline refers to all pipelines required for outputting the current formula, excluding the single second target pipeline and the first verification pipeline.

[0061] In one possible implementation, for any beverage, if any storage silo containing the materials required for the beverage is short of material during the beverage production process, the silo needs to be replenished. In this case, the beverage can be referred to as a replenished beverage, and the pipeline connected to the replenished silo can be used as a first verification pipeline. Specifically, the target beverage can be a beverage that appears after the replenished beverage and uses the first verification pipeline. In this case, before the second production step S120, the first verification pipeline can be used for single-path production, and the process of single-path production of the first verification pipeline can be referred to as the third production step S140. The third production step can be executed before or after the first production step S110, but it is preferable to start it before the first production step S110. When all pipelines used for the current target beverage include the first verification pipeline, the first target pipeline refers to all pipelines required for producing the current formula, excluding the single second target pipeline and the first verification pipeline. If the first calibration pipeline is the second target pipeline, the third discharge step S140 may include the second discharge step S120, and the completion time of the third discharge step S140 is the completion time of the second discharge step S120. Before executing the second discharge step S120, the third discharge step S140 can be executed first, controlling the discharge of the first calibration pipeline based on the real-time measured value of the weight sensor. If the second target pipeline is not the first calibration pipeline, the first calibration pipeline can be controlled to discharge only until the weight of the material output by the first calibration pipeline reaches the corresponding preset discharge amount (i.e., the total weight required by the first calibration pipeline in the current formula). If the second target pipeline is the first verification pipeline, the first verification pipeline can be controlled to output material one-way until the weight of the material output by the first verification pipeline reaches a portion of the corresponding preset output quantity. Then, the first verification pipeline can be controlled to stop outputting. If the third output step S140 starts before the first output step S110, the first output step S110 can be executed after the first verification pipeline stops outputting. After the first output step S110 is completed, the first verification pipeline can be controlled to continue outputting, i.e., the second output step S120 can be executed, until the actual total weight of the target beverage equals the difference between the target total weight and the preset early stop quantity. Then, the first verification pipeline can be controlled to stop outputting. It should be noted that "reaching the corresponding preset output quantity" can mean equal to the preset output quantity, or it can mean that the difference from the preset output quantity is within the allowable error range. In one possible implementation, when the target beverage is a beverage using the first verification pipeline that appears after a replenishment beverage, the trigger time for the third output step S140 can be the moment when the target beverage starts outputting (i.e., the moment when the actual total weight of the target beverage begins to change). During the time period from the triggering time of the third output step S140 to the completion time of the third output step S140, the output parameters of the first verification pipeline can be accumulated.The output parameters can be the output time of a single output from the first verification pipeline, or the rotational speed of the pump connected to the first verification pipeline. Specifically, the control device can acquire and accumulate the pump rotational speed in real time starting from the triggering time of the third output step S140. When the accumulated output parameters meet the preset parameter verification end conditions, the first verification pipeline can be determined as a non-target verification pipeline; otherwise, it remains the first verification pipeline.

[0062] The above technical solution uses the replenishment pipeline as the first verification pipeline and performs single-path output from the first verification pipeline to ensure that the actual output of the first verification pipeline reaches the corresponding preset output. This ensures that even with a large amount of air in the first verification pipeline, the actual output of the first verification pipeline can meet the preset output of the corresponding materials required by the target beverage through separate output, thus helping to ensure that the target beverage is not wasted. On the other hand, by accumulating the output parameters of the first verification pipeline from the triggering time of the third output step to the completion time of the third output step, when the accumulated output parameters meet the preset parameter verification end condition, it can be determined that the material filling situation in the first verification pipeline is relatively consistent with the material filling situation before the material shortage, thus helping to ensure that the determined non-target verification pipeline can output normally.

[0063] In one possible implementation, before the second output step S120, the method further includes: a fourth output step S160: controlling only one second verification pipeline to perform single-channel output; the method further includes: an integral verification step S170; the integral verification step S170 specifically includes: when the difference between the actual output quantity after the first output step S110 and the preset output quantity after the first output step S110 meets the output error requirement, accumulating the integrals of each of the first target pipelines in the first output step S110; if not, clearing the integrals of each of the current target output pipelines that are outputting in the first output step S110; and verifying whether the output accuracy of the second verification pipeline in each fourth output step S160 meets the preset accuracy requirement, if it does, clearing the integral of the second verification pipeline to zero; wherein, the second verification pipeline refers to the target pipeline whose integral meets the verification requirement; the number of fourth output steps S160 is less than or equal to the number of second verification pipelines.

[0064] In one possible implementation, the pipeline used for the target beverage may include a second verification pipeline. Each of the multiple pipelines in the beverage machine may have a corresponding score, and the second verification pipeline refers to the target pipeline whose score meets the verification requirements. Specifically, the score may include a score fraction and / or a number of times the score is calculated. When the score fraction includes a score fraction, for each pipeline that needs to be scored in the first dispensing step S110, the total weight required to dispense the target beverage from that pipeline can be used as the score fraction for that pipeline in that dispensing. This score fraction is then added to the score fraction accumulated by that pipeline before that dispensing, and the new score fraction is used as the current accumulated score fraction for that pipeline. When the score fraction includes a number of times the score is calculated, for each pipeline that needs to be scored in the first dispensing step S110, the number of times the score fraction accumulated by that pipeline before that dispensing can be incremented by 1, and the new number of times the score fraction is used as the current accumulated number of times the score fraction is calculated. After determining the scores of each of the multiple pipelines in the beverage machine, one or more pipelines can be selected from the multiple pipelines as the second verification pipeline. In some embodiments, one or more pipes can be identified as second verification pipes from the various pipes of the beverage machine based on the individual integrals of each pipe in the dispensing system. For a target beverage, it can be determined before dispensing the target beverage whether the pipes used for dispensing the target beverage include the second verification pipes. In other embodiments, one or more pipes can be identified as second verification pipes from all the pipes used for the target beverage based on the individual integrals of each pipe. Specifically, there can be one or more second verification pipes. In this case, one or more pipes with an integral greater than or equal to a preset integral threshold can be identified as second verification pipes. There can also be only one second verification pipe. In this case, the single pipe with an integral greater than or equal to the preset integral threshold and the largest integral can be identified as the second verification pipe. If there are multiple pipes with an integral greater than or equal to the preset integral threshold and the largest integral, a pipe can be identified as the second verification pipe according to a preset rule. The preset rule could be, for example, prioritizing pipe numbers from smallest to largest, or randomly selecting any pipe with an integral greater than or equal to the preset integral threshold and the largest integral.

[0065] In one possible implementation, a fourth output step S160 may be included before the second output step S120. In some embodiments, the fourth output step S160 may be performed before or after the first output step S110. The first target pipeline may have a corresponding preset output quantity in the first output step S110. The actual output quantity of the first target pipeline in the first output step S110 can be determined based on the actual total weight of the target beverage obtained after the first output step S110. The actual output quantity after multiple outputs from the first target pipeline can be compared with the corresponding preset output quantity. When the difference between the actual output quantity and the preset output quantity meets the output error requirement, the integrals of each of the first target pipelines participating in the output in the first output step S110 can be accumulated. The output error requirement may include, for example, that the difference between the actual output quantity and the preset output quantity is outside the allowable output error range. When the difference between the actual output and the preset output does not meet the output error requirement, the integrals of each current target output pipeline participating in the output in the first output step S110 can be reset to zero. The current target output pipeline participating in the output in the first output step S110 can include at least the first target pipeline. If a single second target pipeline participates in the output while the first target pipeline is outputting, then the current target output pipeline participating in the output in the first output step S110 can include both the first and second target pipelines. The first target pipeline can refer to any pipeline other than the single second target pipeline and the second verification pipeline.

[0066] In one possible implementation, during the fourth dispensing step S160, only one second verification pipeline can be controlled to dispense a single product. If the number of second verification pipelines is greater than one, each second pipeline can be controlled to dispense a single product sequentially, with only one second verification pipeline dispensing a single product each time. This embodiment does not specifically limit the order of dispensing from multiple second verification pipelines; the order can be random, or it can be based on the preset dispensing quantity of the second verification pipeline from largest to smallest or smallest to largest. It is understood that when the target beverage uses multiple second verification pipelines, the number of times the fourth dispensing step S160 is executed, i.e., the number of fourth dispensing steps S160, can be less than or equal to the number of second verification pipelines used in the target beverage. In other words, each second verification pipeline participating in each fourth dispensing step S160 can be some or all of the second verification pipelines used in the target beverage. When executing the fourth dispensing step S160 based on the second verification pipeline, it can be determined whether the dispensing accuracy of the second verification pipeline meets the preset accuracy requirements. If the output accuracy of the second verification pipeline meets the preset accuracy requirements, the integral of the second verification pipeline can be reset to zero. The weight required to be output by the second verification pipeline in the fourth output step S160 can be the total weight required by the second verification pipeline in the current formula of the target beverage, or it can be a partial weight required by the second verification pipeline in the current formula. When the weight required to be output by the second verification pipeline in the fourth output step S160 is a partial weight required by the second verification pipeline in the current formula: if the second target pipeline is not the second verification pipeline, the second verification pipeline can still output in the first output step S110; if the second target pipeline is the second verification pipeline, the second verification pipeline can output in the second output step S120, or the second verification pipeline can output in both the first output step S110 and the second output step S120. It can be understood that when the second verification pipeline outputs in the first output step S110, the first target pipeline can include the second verification pipeline.

[0067] The aforementioned technical solution integrates the first target pipeline involved in multiple production steps when the actual output meets the production error requirements after the first production step. This method identifies the pipeline with the highest participation rate among the pipelines participating in multiple production steps that meet the production error requirements, thus obtaining the second verification pipeline with the highest probability of accuracy anomalies. On the other hand, when the output accuracy of the second verification pipeline in the fourth step meets the preset accuracy requirements, the integration of the second verification pipeline is reset to zero, excluding pipelines with output accuracy meeting the preset accuracy requirements. This avoids repeated accuracy verification of pipelines with normal accuracy. This solution can dynamically and quickly trigger pipeline accuracy verification, which helps avoid excessive deviations in pipeline output accuracy due to prolonged beverage production, thus ensuring that the overall cup accuracy deviation of each beverage does not become excessive when producing multiple beverages over a long period. Furthermore, automatically triggering accuracy verification through integration effectively solves the problem of the difficulty and time-consuming nature of manually judging pipelines with poor output accuracy.

[0068] It should be noted that when any target pipeline used for the target beverage is simultaneously the target pipeline determined by the replenishment operation (i.e., the first verification pipeline) and the target pipeline whose integration meets the verification requirements (i.e., the second verification pipeline), the target pipeline can be identified as the first verification pipeline. More preferably, when the target beverage includes both the first verification pipeline and the second verification pipeline, and the first verification pipeline and the second verification pipeline are different pipelines, the third dispensing step S140 can be performed based solely on the first verification pipeline.

[0069] In one possible implementation, the method further includes: real-time monitoring of the weight of the material in the silo; when controlling the output of a single second target pipeline and / or other pipelines, if the weight of the material in the silo is detected to be less than the minimum weight threshold of the material, stopping the execution of the first output step S110 or the second output step S120 until the weight of the material is detected to be equal to the minimum weight threshold, and then continuing to execute the first output step S110 or the second output step S120 to obtain the target beverage.

[0070] In one possible implementation, when liquid level sensors are installed in each hopper of the beverage machine, the control device for the beverage machine can be connected to the liquid level sensors in each hopper to acquire the detection results of each liquid level sensor in real time. Based on the detection results of each liquid level sensor, the minimum weight of the material in the corresponding hopper can be determined. When controlling the output of a single second target pipeline and / or other pipelines (e.g., the first target pipeline), if the weight of the material in any hopper corresponding to the current formula is detected to be less than the corresponding preset weight threshold, the first output step S110 or the second output step S120 can be stopped. In other words, the pipeline currently dispensing can be controlled to stop dispensing until the weight of the material in the hopper is detected to be equal to the minimum weight threshold. At this point, it can be determined that the replenishment is complete, and the first output step S110 or the second output step S120 can continue to be executed.

[0071] The above technical solution can monitor the materials in the silo in real time. When the weight of the materials in the silo is less than the corresponding minimum weight threshold, the pipeline can be stopped from discharging until the materials are replenished. This helps to ensure that the current target beverage can be dispensed and the actual total weight can meet the discharging requirements, and greatly avoids the situation of waste cups due to material shortage.

[0072] Please refer to Figure 2, which is a schematic block diagram of a beverage machine dispensing control device according to one embodiment of this application. According to a second aspect of this application, a beverage machine dispensing control device 200 is also provided for controlling the dispensing of a target beverage, including:

[0073] The first output module 210 is used to control the first target pipeline for outputting the target output material to output according to the weight required by the target output material in the current formula of the target beverage, so as to complete the output of the first target pipeline; the first target pipeline refers to all pipelines other than the single second target pipeline among all pipelines required for outputting the current formula.

[0074] The second output module 220 is used to control the output of a single second target pipeline according to the current formula of the target beverage, and to obtain the total weight of the target beverage in real time during the output process. When the total weight is equal to the difference between the target total weight and the preset early stop amount, the module controls the single second target pipeline to stop output.

[0075] The deviation adjustment module 230 is used to adjust the preset early stop amount according to the deviation between the actual total weight of the target beverage and the target total weight, and to update the preset early stop amount.

[0076] According to a third aspect of this application, a storage medium is also provided, on which program instructions are stored. When the program instructions are executed by a computer or processor, the computer or processor performs corresponding steps of the beverage machine dispensing control method described in the embodiments of this application, and is used to implement corresponding modules in the beverage machine dispensing control device according to the embodiments of this application, or corresponding modules in the beverage machine dispensing control device described above. The storage medium may include, for example, a memory card of a smartphone, a storage component of a tablet computer, a hard disk of a personal computer, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. A computer-readable storage medium may be any combination of one or more computer-readable storage media.

[0077] Those skilled in the art can understand the specific implementation and beneficial effects of the beverage machine's dispensing control device by reading the above detailed description of the dispensing control method for the beverage machine. For the sake of brevity, further details will not be elaborated here.

[0078] Example

[0079] Example 1. A method for controlling the dispensing of a beverage machine, used to control the dispensing of a target beverage, comprising:

[0080] The first production step involves controlling the first target pipeline for producing the target material to produce the beverage according to the weight required in the current formula of the target beverage, so as to complete the production of the first target pipeline; the first target pipeline refers to all pipelines other than the single second target pipeline among all pipelines required for producing the current formula.

[0081] The second production step, after the first production step, controls the single second target pipeline to produce the beverage according to the current recipe of the target beverage, and obtains the total weight of the target beverage in real time during the production process. When the total weight is equal to the difference between the target total weight and the preset early stop amount, the single second target pipeline is controlled to stop producing the beverage.

[0082] The correction and adjustment step involves adjusting the preset early stop amount based on the deviation between the actual total weight of the target beverage obtained after the second production step and the target total weight, and updating the preset early stop amount.

[0083] Example 2. The method according to Example 1, wherein, before the first output step, the method further includes: a second target pipeline determination step;

[0084] The second target pipeline determination step specifically includes: determining the pipeline used to produce the single material with the largest weight required in the current formula as the single second target pipeline.

[0085] Example 3. According to the method described in Example 1 or 2, wherein the first output step further includes: while the target output material is output through the first target pipeline, the single second target pipeline is controlled to output at a first preset speed based on a portion of the total weight required by the material in the current formula of the target beverage in the single second target pipeline;

[0086] The second dispensing step specifically includes: controlling the single second target pipeline to dispense at a second preset speed until the total weight of the target beverage is equal to the difference between the target total weight and the preset early stop amount;

[0087] Wherein, the first preset speed is greater than the second preset speed.

[0088] Example 4, according to any one of Examples 1-3, wherein the first output step specifically includes: controlling the first target pipeline to complete output before a preset time; wherein the preset time is the end time of the time period during which the single second target pipeline outputs at the first preset speed.

[0089] Example 5. The method according to any one of Examples 1-4, wherein different pipelines are respectively provided with their own initial values ​​of the preset early stop amount;

[0090] Prior to the second output step, the method further includes:

[0091] Based on the single second target pipeline in the current formulation, determine the initial value of the preset early stop amount or the preset early stop amount updated after the correction adjustment step.

[0092] Example 6. The method according to any one of Examples 1-5, wherein the correction adjustment step specifically includes:

[0093] Determine whether the deviation between the actual total weight and the target total weight is greater than a preset deviation threshold. If the deviation is greater than the preset deviation threshold, adjust the preset early stop amount.

[0094] Wherein, the adjusted preset early stop amount is equal to the sum of the original preset early stop amount and the adjustment value, the adjustment value is equal to the product of the deviation value and the preset adjustment coefficient, and the preset adjustment coefficient is less than 1.

[0095] Example 7. The method according to any one of Examples 1-6, wherein the first output step specifically includes:

[0096] Obtain the maximum output time of the first target pipeline;

[0097] Calculate the time difference between the maximum output time and the time required for a single second target pipeline to output at the first preset speed;

[0098] The first target pipeline is controlled to start producing, and after the time difference has elapsed, the single second target pipeline is controlled to start producing at the first preset speed.

[0099] Example 8. The method according to any one of Examples 1-7, wherein, prior to the first output step, the method further includes:

[0100] A full-pipe operation is performed on at least one pipeline as the target full-pipe pipeline, wherein the at least one pipeline is used to output different materials, and wherein the full-pipe operation includes:

[0101] According to the full pipe command, control the target full pipe to start discharging from the outlet of the beverage machine, and obtain the first weight of the target full pipe material output from the target full pipe that flows out of the outlet of the beverage machine.

[0102] When the first weight is greater than the preset weight threshold, the target full pipe is controlled to perform at least two dispensing operations under the same driving parameters, and for each dispensing operation, the second weight of the target full pipe flowing out of the dispensing port of the beverage machine under that dispensing operation is obtained.

[0103] The full tube operation is determined to be complete when the second weight in each of the at least two output operations meets the preset output stability requirements.

[0104] Example 9. The method according to any one of Examples 1-8, wherein the first output step and the second output step further include:

[0105] Based on the real-time information on material shortage and replenishment and the target replenishment material, only the target replenishment pipeline used to produce the target replenishment material is controlled to produce the product.

[0106] When only the target feeding pipeline is controlled to produce the beverage, the actual total weight of the target beverage is obtained in real time.

[0107] Determine whether the actual total weight has reached the target total weight at the time of the material shortage;

[0108] If so, stop the output of the target feed pipeline and continue to execute the first output step or the second output step.

[0109] Example 10. The method according to any one of Examples 1-9, wherein, before the second output step, the method further includes:

[0110] Third output step: Output material from the first verification pipeline in a single line so that the weight of the material output from the first verification pipeline reaches the corresponding preset output quantity.

[0111] The method further includes: a parameter verification step;

[0112] The parameter verification step includes: when the current target beverage includes the first verification pipeline, accumulating the output parameters of the first verification pipeline from the trigger time of the third output step to the completion time of the third output step; when the accumulated output parameters meet the preset parameter verification end condition, determining the first verification pipeline as a non-target verification pipeline; when the accumulated output parameters do not meet the preset parameter verification end condition, keeping the first verification pipeline as the first verification pipeline;

[0113] The first verification pipeline is the target pipeline determined by the material replenishment operation;

[0114] The first target pipeline refers to all pipelines required for producing the current formula, excluding the single second target pipeline and the first verification pipeline.

[0115] Example 11. The method according to any one of Examples 1-10, wherein, before the second output step, the method further includes:

[0116] Fourth output step: Control only one second verification pipeline for single-channel output;

[0117] The method further includes: an integral verification step;

[0118] The integral verification step specifically includes:

[0119] When the difference between the actual total weight after the first output step and the preset output quantity after the first output step meets the output error requirement, the integrals of each of the first target pipelines in the first output step are accumulated; if not, the integrals of each of the current target output pipelines in the first output step are cleared to zero; and, the output accuracy of the second verification pipeline in each of the fourth output steps is checked to see if it meets the preset accuracy requirement. If it does, the integral of the second verification pipeline is cleared to zero.

[0120] The second verification pipeline refers to the target pipeline whose integration meets the verification requirements;

[0121] The number of the fourth output steps is less than or equal to the number of the second verification pipelines.

[0122] Example 12. The method according to any one of Examples 1-11, wherein the method further comprises:

[0123] The weight of the material in the hopper is monitored in real time. When controlling the output of the single second target pipeline and / or the other pipelines, if the weight of the material in the hopper is detected to be less than the minimum weight threshold of the material, the first output step or the second output step is stopped until the weight of the material is detected to be equal to the minimum weight threshold. Then the first output step or the second output step is continued to obtain the target beverage.

[0124] Example 13. A beverage machine dispensing control device for controlling the dispensing of a target beverage, comprising:

[0125] The first output module is used to control the first target pipeline for outputting the target output material to perform output according to the weight required by the target output material in the current formula of the target beverage, so as to complete the output of the first target pipeline; the first target pipeline refers to all pipelines other than the single second target pipeline among all pipelines required for outputting the current formula.

[0126] The second dispensing module is used to control the dispensing of the single second target pipeline according to the current recipe of the target beverage, and to obtain the total weight of the target beverage in real time during the dispensing process. When the total weight is equal to the difference between the target total weight and the preset early stop amount, the module controls the single second target pipeline to stop dispensing.

[0127] The deviation adjustment module is used to adjust the preset early stop amount according to the deviation between the actual total weight of the target beverage and the target total weight, and to update the preset early stop amount.

[0128] Example 14. A storage medium storing program instructions, wherein the program instructions, when executed, are used to perform a beverage machine dispensing control method as described in any one of Examples 1-12.

[0129] Although exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above exemplary embodiments are merely illustrative and are not intended to limit the scope of this application. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of this application. All such changes and modifications are intended to be included within the scope of this application as claimed in the appended claims.

[0130] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0131] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed.

[0132] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of this application may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0133] Similarly, it should be understood that, in order to streamline this application and aid in understanding one or more of the various inventive aspects, features of this application may sometimes be grouped together in a single embodiment, figure, or description thereof in the description of exemplary embodiments of this application. However, this approach should not be construed as reflecting an intention that the claimed application requires more features than are expressly recited in each claim. Rather, as reflected in the corresponding claims, its inventive point lies in solving the corresponding technical problem with features fewer than all features of a single disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of this application.

[0134] Those skilled in the art will understand that, apart from the mutual exclusion of features, all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or apparatus so disclosed can be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0135] Furthermore, those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are intended to be within the scope of this application and form different embodiments. For example, in the claims, any of the claimed embodiments can be used in any combination.

[0136] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some modules in the beverage machine dispensing control method apparatus according to embodiments of this application. This application can also be implemented as an apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such an implementation of this application can be stored on a computer-readable medium, or can take the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0137] It should be noted that the above embodiments are illustrative of this application and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. This application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

[0138] The above are merely specific embodiments or descriptions of specific embodiments of this application. The scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. The scope of protection of this application shall be determined by the scope of the claims.

Claims

1. A dispensing control method of a beverage machine for controlling a target beverage to be dispensed, characterized by, include: The first production step involves controlling the first target pipeline for producing the target material to produce the beverage according to the weight required in the current formula of the target beverage, so as to complete the production of the first target pipeline; the first target pipeline refers to all pipelines other than the single second target pipeline among all pipelines required for producing the current formula. The second production step, after the first production step, controls the single second target pipeline to produce the beverage according to the current recipe of the target beverage, and obtains the total weight of the target beverage in real time during the production process. When the total weight is equal to the difference between the target total weight and the preset early stop amount, the single second target pipeline is controlled to stop producing the beverage. The correction and adjustment step involves adjusting the preset early stop amount based on the deviation between the actual total weight of the target beverage obtained after the second production step and the target total weight, and updating the preset early stop amount.

2. The method of claim 1, wherein, Prior to the first output step, the method further includes: a second target pipeline determination step; The second target pipeline determination step specifically includes: determining the pipeline used to produce the single material with the largest weight required in the current formula as the single second target pipeline.

3. The method of claim 2, wherein, The first output step further includes: while the target output material is being output through the first target pipeline, the single second target pipeline is controlled to output at a first preset speed based on a portion of the total weight required by the material in the current formula of the target beverage in the single second target pipeline. The second dispensing step specifically includes: controlling the single second target pipeline to dispense at a second preset speed until the total weight of the target beverage is equal to the difference between the target total weight and the preset early stop amount; Wherein, the first preset speed is greater than the second preset speed.

4. The method of claim 3, wherein, The first output step specifically includes: controlling the first target pipeline to complete output before a preset time; wherein, the preset time is the end time of the time period during which the single second target pipeline outputs at the first preset speed.

5. The method according to any one of claims 1 to 4, characterized in that, Different pipelines are each equipped with their own initial value for the preset early stop amount; Prior to the second output step, the method further includes: Based on the single second target pipeline in the current formulation, determine the initial value of the preset early stop amount or the preset early stop amount updated after the correction adjustment step.

6. The method according to any one of claims 1 to 4, characterized in that, The correction and adjustment steps specifically include: Determine whether the deviation between the actual total weight and the target total weight is greater than a preset deviation threshold. If the deviation is greater than the preset deviation threshold, adjust the preset early stop amount. Wherein, the adjusted preset early stop amount is equal to the sum of the original preset early stop amount and the adjustment value, the adjustment value is equal to the product of the deviation value and the preset adjustment coefficient, and the preset adjustment coefficient is less than 1.

7. The method of claim 4, wherein, The first production step specifically includes: Obtain the maximum output time of the first target pipeline; Calculate the time difference between the maximum output time and the time required for a single second target pipeline to output at the first preset speed; The first target pipeline is controlled to start producing, and after the time difference has elapsed, the single second target pipeline is controlled to start producing at the first preset speed.

8. The method according to any one of claims 1 to 4, characterized in that, Prior to the first output step, the method further includes: A full-pipe operation is performed on at least one pipeline as the target full-pipe pipeline, wherein the at least one pipeline is used to output different materials, and wherein the full-pipe operation includes: According to the full pipe command, control the target full pipe to start dispensing from the outlet of the beverage machine, and obtain the first weight of the target full pipe material output from the target full pipe that flows out of the outlet of the beverage machine. When the first weight is greater than a preset weight threshold, the target full pipe is controlled to perform at least two dispensing operations under the same driving parameters, and for each dispensing operation, the second weight of the target full pipe flowing out of the dispensing port of the beverage machine under that dispensing operation is obtained. The full tube operation is determined to be complete when the second weight in each of the at least two output operations meets the preset output stability requirements.

9. The method of claim 4, wherein, The first and second production steps also include: Based on the real-time information on material shortage and replenishment and the target replenishment material, only the target replenishment pipeline used to produce the target replenishment material is controlled to produce the product. When only the target feeding pipeline is controlled to produce the beverage, the actual total weight of the target beverage is obtained in real time. Determine whether the actual total weight has reached the target total weight at the time of the material shortage; If so, stop the output of the target feed pipeline and continue to execute the first output step or the second output step.

10. The method of claim 1, wherein, Before the second output step, the method further includes: Third output step: Output material from the first verification pipeline in a single line so that the weight of the material output from the first verification pipeline reaches the corresponding preset output quantity. The method further includes: a parameter verification step; The parameter verification step includes: when the current target beverage includes the first verification pipeline, accumulating the output parameters of the first verification pipeline from the trigger time of the third output step to the completion time of the third output step; when the accumulated output parameters meet the preset parameter verification end condition, determining the first verification pipeline as a non-target verification pipeline; when the accumulated output parameters do not meet the preset parameter verification end condition, keeping the first verification pipeline as the first verification pipeline; The first verification pipeline is the target pipeline determined by the material replenishment operation; The first target pipeline refers to all pipelines required for producing the current formula, excluding the single second target pipeline and the first verification pipeline.

11. The method of claim 1, wherein, Before the second output step, the method further includes: Fourth output step: Control only one second verification pipeline for single-channel output; The method further includes: an integral verification step; The integral verification step specifically includes: When the difference between the actual total weight after the first output step and the preset output quantity after the first output step meets the output error requirement, the integrals of each of the first target pipelines in the first output step are accumulated; if not, the integrals of each of the current target output pipelines in the first output step are cleared to zero; and, the output accuracy of the second verification pipeline in each of the fourth output steps is checked to see if it meets the preset accuracy requirement. If it does, the integral of the second verification pipeline is cleared to zero. The second verification pipeline refers to the target pipeline whose integration meets the verification requirements; The number of the fourth output steps is less than or equal to the number of the second verification pipelines.

12. The method according to any one of claims 1 to 4, characterized in that, The method further includes: The weight of the material in the hopper is monitored in real time. When controlling the output of the single second target pipeline and / or the other pipelines, if the weight of the material in the hopper is detected to be less than the minimum weight threshold of the material, the first output step or the second output step is stopped until the weight of the material is detected to be equal to the minimum weight threshold. Then the first output step or the second output step is continued to obtain the target beverage.

13. A dispensing control device of a beverage machine for controlling dispensing of a target beverage, characterized by, include: The first output module is used to control the first target pipeline for outputting the target output material to perform output according to the weight required by the target output material in the current formula of the target beverage, so as to complete the output of the first target pipeline; the first target pipeline refers to all pipelines other than the single second target pipeline among all pipelines required for outputting the current formula. The second dispensing module is used to control the dispensing of the single second target pipeline according to the current recipe of the target beverage, and to obtain the total weight of the target beverage in real time during the dispensing process. When the total weight is equal to the difference between the target total weight and the preset early stop amount, the module controls the single second target pipeline to stop dispensing. The deviation adjustment module is used to adjust the preset early stop amount according to the deviation between the actual total weight of the target beverage and the target total weight, and to update the preset early stop amount.

14. A storage medium having stored thereon program instructions, the program instructions being executable by a processor to cause the processor to execute operations comprising: The program instructions, when executed, are used to perform the beverage dispensing control method of the beverage machine as described in any one of claims 1-12.