Beverage delivery method and apparatus, beverage machine, and storage medium
By performing single-channel output and parameter calibration on the target calibration pipeline of the beverage machine, the problem of output parameter deviation caused by material shortage in the hopper was solved, ensuring beverage quality and efficiency.
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
In beverage machines, when the hopper is low on ingredients, a large amount of air will accumulate in the pipes, causing deviations in the output parameters and affecting the quality of the beverage.
By performing single-line output on the target verification pipeline after the replenishment operation, we ensure that the actual output reaches the preset amount, and determine whether the pipeline is normal through parameter verification to avoid waste cups.
Ensure accurate beverage output to avoid wasted cups due to insufficient ingredients, thereby improving production precision and efficiency.
Smart Images

Figure CN2025125147_02072026_PF_FP_ABST
Abstract
Description
Beverage production methods, equipment, beverage machines, and storage media
[0001] This application claims priority to Chinese Patent Application No. 202411959286.6, filed on December 27, 2024, entitled "Beverage Dispensing Method, Apparatus, Beverage Machine, Storage Medium", 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 dispensing method, apparatus, beverage machine, 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 beverages are stored in separate hoppers within the machine, and flow into containers placed on a common dispensing base via pipes connected to each hopper. During the dispensing process, a shortage of material may occur in the hoppers, requiring refilling. Because the dispensing process stops during shortages and refilling, a significant amount of air remains in the refilled pipes. Continuing to dispense beverages based on the calibration values of the pump's drive parameters for the current beverage will result in a large discrepancy between the actual dispensing volume and the preset dispensing volume of that material in the beverage's formula. Summary of the Invention
[0004] This application is made in consideration of the above-mentioned problems. This application provides a beverage dispensing method, apparatus, beverage machine, and storage medium. This solution ensures that the actual dispensing volume of the first target verification pipeline meets the preset dispensing volume of the corresponding materials required for the current beverage through separate dispensing from the first target verification pipeline, thereby helping to ensure that the beverage is not wasted.
[0005] According to a first aspect of this application, a beverage dispensing method is provided, comprising: a dispensing step including a first single-channel dispensing sub-step of dispensing the beverage through a first target verification pipeline, so that the actual dispensing quantity of the first target verification pipeline reaches a corresponding preset dispensing quantity; wherein the first target verification pipeline is a target pipeline determined by a replenishment operation; and a parameter verification step: when the current beverage includes the first target verification pipeline, accumulating first dispensing parameters of the first target verification pipeline from the triggering time of the first single-channel dispensing sub-step to the completion time of the first single-channel dispensing sub-step; when the accumulated first dispensing parameters meet a preset parameter verification end condition, determining the first target verification pipeline as a non-target verification pipeline; and when the accumulated first dispensing parameters do not meet the preset parameter verification end condition, maintaining the first target verification pipeline as the first target verification pipeline.
[0006] In one possible implementation, the parameter verification step S120 specifically includes: for each second beverage, accumulating the first output parameters of the first target verification pipeline from the triggering time of the first single-channel output sub-step to the completion time of the first single-channel output sub-step; wherein, the second beverage refers to the beverage that is after the first beverage in which the replenishment operation is triggered and includes the first target verification pipeline.
[0007] In one possible implementation, when the current beverage is the second beverage, the second beverage refers to the beverage that follows the first beverage where the replenishment operation is triggered and includes the first target verification pipeline; the first single-channel output sub-step specifically includes: firstly controlling the first target verification pipeline to perform single-channel output according to the second output parameters; wherein, the second output parameters are the ideal output parameters required for the preset output quantity of single-channel output; then continuing to perform single-channel output according to the actual output quantity and the preset output quantity until the actual output quantity of the first target verification pipeline reaches the preset output quantity; the parameter verification step further includes: obtaining the actual output quantity after controlling the first target verification pipeline to perform single-channel output according to the second output parameters; when the accumulated first output parameters meet the preset parameter verification end condition and the actual output quantity meets the preset output quantity, the first target verification pipeline is determined as a non-target verification pipeline; when the accumulated first output parameters do not meet the preset parameter verification end condition or the actual output quantity does not meet the preset output quantity, the first target verification pipeline remains the first target verification pipeline.
[0008] In one possible implementation, when the first output parameter meets the preset parameter verification end condition and the actual output quantity does not meet the preset output quantity, the number of verifications of the first target verification pipeline is accumulated; when the number of verifications is greater than or equal to the preset number of verifications threshold, an alarm message is output.
[0009] In one possible implementation, when the current beverage is the second beverage, the second beverage refers to the beverage that follows the first beverage where the replenishment operation is triggered and includes the first target verification pipeline; the dispensing step further includes a multi-way dispensing sub-step, which specifically includes: controlling a first specific pipeline required for the current beverage to perform multi-way dispensing, the first specific pipeline including other pipelines besides the first target verification pipeline that performs the first single-way dispensing sub-step; after the first single-way dispensing sub-step and the multi-way dispensing sub-step, the method further includes: a second single-way dispensing sub-step: controlling a second specific pipeline required for the current beverage to perform single-way dispensing, the second specific pipeline being the pipeline with the largest weight required for dispensing the current beverage.
[0010] In one possible implementation, the multi-output sub-step specifically includes: while the current beverage is being dispensed through a first specific pipeline, the second specific pipeline is controlled to dispense at a first preset speed based on the weight of the portion of the beverage to be dispensed through the second specific pipeline in the multi-output sub-step; the second single-output sub-step specifically includes: controlling the second specific pipeline to dispense at a second preset speed until the actual total weight of the current beverage equals the difference between the target total weight of the current beverage and the current early stop amount, at which point the second specific pipeline is controlled to stop dispensing; wherein, the first preset speed is greater than the second preset speed.
[0011] In one possible implementation, different pipelines are each set with their own initial value for early stop amount. The method also includes an early stop amount correction step: after the second single-channel output sub-step controls the second specific pipeline to stop output, the actual total weight of the current beverage is obtained; the early stop amount of the second specific pipeline is corrected and updated based on the deviation between the actual total weight obtained after the second single-channel output sub-step and the target total weight.
[0012] In one possible implementation, the method further includes an integral verification step; the dispensing step further includes: a third single-channel dispensing sub-step for dispensing the current beverage through a second target verification pipeline, wherein the second target verification pipeline refers to a target pipeline whose integral meets the verification requirements; in the multi-channel dispensing sub-step, the first specific pipeline also includes other pipelines besides the second target verification pipeline that performs the third single-channel dispensing sub-step; the integral verification step includes: accumulating the integrals of each of the first specific pipelines when the difference between the actual dispensing quantity after multi-channel dispensing through the first specific pipeline and the corresponding preset dispensing quantity meets the dispensing error requirement; if it does not meet the requirement, resetting the integrals of each of the first specific pipelines to zero; and verifying whether the dispensing accuracy of the second target verification pipeline in each third single-channel dispensing sub-step meets the preset accuracy requirement, and if it does, resetting the integral of the second target verification pipeline to zero; wherein the number of third single-channel dispensing sub-steps is less than or equal to the number of second target verification pipelines.
[0013] In one possible implementation, when the current beverage includes a first target verification pipeline and a second target verification pipeline, and the first target verification pipeline and the second target verification pipeline are different pipelines, the third single-channel dispensing sub-step includes: controlling the second target verification pipeline to dispense beverages single-channel until the actual dispensing quantity of the second target verification pipeline meets the preset quantity of the single-channel dispensing quantity of the second target verification pipeline; when the preset quantity is less than the weight of the beverage required to be dispensed by the second target verification pipeline in the third single-channel dispensing sub-step and the multi-channel dispensing sub-step, in the multi-channel dispensing sub-step, the first specific pipeline also includes the second target verification pipeline that performs the third single-channel dispensing sub-step.
[0014] In one possible implementation, the dispensing step includes one of a first single-path dispensing sub-step and a third single-path dispensing sub-step; when the same target pipeline for the current beverage is simultaneously used as both a first target verification pipeline and a second target verification pipeline, the target pipeline is determined as the first target verification pipeline; when the current beverage includes both a first target verification pipeline and a second target verification pipeline, and the first target verification pipeline and the second target verification pipeline are different pipelines, the first single-path dispensing sub-step is performed only based on the first target verification pipeline.
[0015] In one possible implementation, the preset parameter verification termination condition includes: the accumulated first output parameter is greater than or equal to the preset output parameter threshold; the material type of each pipeline output corresponds to its own preset output parameter threshold.
[0016] According to a second aspect of this application, a beverage dispensing device is also provided, comprising: a dispensing module: configured to perform a first single-channel dispensing sub-step on a first target verification pipeline of the current beverage, so that the actual dispensing quantity of the first target verification pipeline reaches a corresponding preset dispensing quantity; wherein, the first target verification pipeline is a target pipeline determined by a replenishment operation; and a parameter verification module: configured to, when the current beverage includes the first target verification pipeline, accumulate first dispensing parameters of the first target verification pipeline from the triggering time of the first single-channel dispensing sub-step to the completion time of the first single-channel dispensing sub-step; when the accumulated first dispensing parameters meet a preset parameter verification end condition, determine the first target verification pipeline as a non-target verification pipeline; and when the accumulated first dispensing parameters do not meet the preset parameter verification end condition, maintain the first target verification pipeline as the first target verification pipeline.
[0017] According to a third aspect of this application, a beverage machine is also provided for performing the above-described beverage dispensing method.
[0018] According to a fourth 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 dispensing method.
[0019] The above technical solution uses the pipeline determined based on the replenishment operation as the first target verification pipeline. Single-channel output from the first target verification pipeline ensures that the actual output reaches the corresponding preset output. This ensures that even with a large amount of air in the first target verification pipeline, the individual output from the first target verification pipeline meets the preset output of the corresponding materials required for the current beverage, thus preventing waste. Furthermore, by accumulating the first output parameters of the first target verification pipeline from the trigger time to the completion time of the first single-channel output sub-step to determine whether the preset parameter verification end condition is met, it helps to determine whether the material filling status in the first target verification pipeline is consistent with the material filling status before the material shortage, thus ensuring that the determined non-target verification pipeline can output normally.
[0020] 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
[0021] 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.
[0022] Figure 1 shows a schematic flowchart of a beverage dispensing method according to an embodiment of this application;
[0023] Figure 2 shows a schematic block diagram of a beverage dispensing device according to an embodiment of this application;
[0024] Figure 3 shows a schematic block diagram of an electronic 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 provide a beverage dispensing method, apparatus, beverage machine, and storage medium.
[0027] Please refer to Figure 1, which is a schematic flowchart of a beverage serving method according to an embodiment of this application. According to a first aspect of this application, a beverage serving method is provided, including: serving step S110 and parameter verification step S120.
[0028] In the production step S110, there is a first single-output sub-step of producing single output from the first target verification pipeline of the current beverage, so that the actual output of the first target verification pipeline reaches the corresponding preset output; wherein, the first target verification pipeline is the target pipeline determined by the replenishment operation.
[0029] In one possible implementation, the beverage machine can be used to dispense beverages, which can be mixtures of various ingredients, such as drinking water, syrup, juice, milk, and other liquids. The beverage formula can include the types of ingredients and the required weight of each ingredient; for example, the beverage formula could include: 300g of ingredient A, 80g of ingredient B, and 20g of ingredient C. The beverage machine (e.g., a beverage dispenser) can include multiple pipes and multiple hoppers, each pipe connected to a specific hopper, and each hopper storing its corresponding ingredient, such as drinking water, syrup, juice, milk, etc. Each pipe of the beverage machine can be connected to a corresponding pump, which can drive the material in the hopper connected to the corresponding pipe to be dispensed through the pipe. The beverage machine may also include a control device, which can be communicatively connected to each pump to control the operation of the pumps and thus control the dispensing from the corresponding pipe. In one possible implementation, for any beverage, if any storage hopper containing the materials required for that beverage is short of materials during the beverage production process, a replenishment operation needs to be performed on that hopper. After the replenishment operation, the beverage can continue to be produced. In this case, the beverage in which the replenishment operation took place can be referred to as the first beverage, and the pipeline connected to the hopper that underwent the replenishment operation can serve as the first target verification pipeline. Specifically, the current beverage can be the first beverage, or it can be the second beverage that follows the first beverage and uses the first target verification pipeline.
[0030] In one possible implementation, in the dispensing step S110, the first target verification pipeline can be dispensed in a single stream, and this process can be referred to as the first single-stream dispensing sub-step. If the current beverage is the first beverage, the first target verification pipeline can also participate in dispensing before the first single-stream dispensing sub-step. In this case, the preset dispensing quantity corresponding to the first target verification pipeline in the first single-stream dispensing sub-step can be a portion of the weight of the beverage required to be dispensed by the first target verification pipeline. Specifically, the control device can determine the theoretical total weight of the current beverage at each moment during the dispensing process based on the calibration values of the drive parameters (e.g., speed, displacement, etc.) of the pumps connected to each dispensing pipeline, and can also determine the theoretical dispensing quantity of each dispensing pipeline at each moment. In the event of a material shortage, other dispensing pipelines besides the first target verification pipeline may have not completed dispensing, or they may have already completed dispensing. In the event of a material shortage due to other dispensing pipelines besides the first target verification pipeline not completing dispensing, all dispensing pipelines will suspend dispensing. The control device can obtain the theoretical output of the first target calibration pipeline at the time of material shortage, and calculate the first weight difference between the total weight of the first target calibration pipeline required for the current beverage and the theoretical output of the first target calibration pipeline at the time of material shortage. The control device can also subtract the theoretical total weight of the current beverage at the time of material shortage from the actual total weight of the current beverage obtained at the time of material shortage to obtain a second weight difference. The sum of the first weight difference and the second weight difference can be recorded as the target output of the first target calibration pipeline in the first single-path output sub-step.
[0031] In some embodiments, the current beverage is the first beverage, and the first target calibration pipeline is not used for weight compensation of the current beverage. At the time of material shortage, if other outlet pipelines besides the first target calibration pipeline have not completed dispensing, the first single-path dispensing sub-step can be started after the replenishment operation. The actual dispensing quantity of the first target calibration pipeline can be counted from zero. In this case, when the actual dispensing quantity of the first target calibration pipeline reaches the target dispensing quantity, other outlet pipelines besides the first target calibration pipeline can continue dispensing according to the difference between the dispensing parameters calculated based on the calibration values of the drive parameters of the pumps connected to each dispensing pipeline and the dispensing parameters accumulated from the start of dispensing the current beverage to the time of material shortage, until the dispensing of the current beverage is completed. It is understandable that the actual output of the first target verification pipeline can also be calculated from the actual output before the material shortage time (which is equal to the difference between the theoretical output of the first target verification pipeline at the material shortage time and the second weight difference). In this case, when the actual output of the first target verification pipeline reaches the total weight of the beverage required by the first target verification pipeline, other output pipelines besides the first target verification pipeline can continue to output. The preset output of the first target verification pipeline in the first single-path output sub-step can be equal to the target output. For example, the current beverage requires only three pipelines: pipeline A, pipeline B, and pipeline C. Pipeline B is used for weight compensation of the current beverage. When multiple pipelines are discharging the beverage, if pipeline A runs out of material, after replenishing the hopper connected to pipeline A, the first single-path discharging sub-step can be performed based on pipeline A until the actual output of pipeline A reaches the corresponding preset output. Then, pipelines B and C can be controlled to continue discharging the beverage in multiple paths. After pipelines B and C have completed discharging the beverage in multiple paths, pipeline B will discharge the beverage in a single path to complete the weight compensation.
[0032] In other embodiments, the current beverage is a first beverage, and a first target calibration pipeline is used for weight compensation of the current beverage. The difference between the first target calibration pipeline and a preset compensation weight is recorded as a specific weight, which is less than the total weight of the current beverage required to be produced by the first target calibration pipeline. At the time of material shortage, if other outlet pipelines besides the first target calibration pipeline have not completed production, a first single-channel production sub-step can be started after the replenishment operation. The actual production volume of the first target calibration pipeline can be counted from zero. In this case, when the actual production volume of the first target calibration pipeline reaches the difference between the specific weight and the actual production volume at the time of material shortage, other outlet pipelines besides the first target calibration pipeline can continue production according to the difference between the production parameters calculated based on the calibration values of the drive parameters of the pumps connected to each outlet pipeline and the production parameters accumulated from the start of production of the current beverage to the time of material shortage. When other pipelines complete production, the actual total weight of the current beverage can be determined, and the first target calibration pipeline can be controlled to continue single-channel production until the current beverage is produced. The actual output of the first target verification pipeline can also be calculated from the actual output before the material shortage point. In this case, when the actual output of the first target verification pipeline reaches a specific weight, other output pipelines besides the first target verification pipeline can continue to output. When other pipelines have finished outputting, the actual total weight of the current beverage can be determined, and the first target verification pipeline can be controlled to continue single-channel output until the current beverage is finished. The difference between the specific weight and the actual output of the first target verification pipeline at the material shortage point is denoted as 'a', and the difference between the target total weight of the current beverage and the actual total weight of the current beverage when other pipelines have finished outputting is denoted as 'b'. The preset output of the first target verification pipeline in the first single-channel output sub-step can be equal to a + b. For example, the current beverage requires only three pipelines: pipeline A, pipeline B, and pipeline C. Pipeline A is used for weight compensation of the current beverage. When all pipelines are dispensing multiple products, if pipeline A runs out of material, after replenishing the hopper connected to pipeline A, the first single-product dispensing sub-step can be performed based on pipeline A. The actual dispensing quantity of pipeline A is calculated from the actual dispensing quantity before the material shortage. In this case, when the actual dispensing quantity of the first target verification pipeline reaches a specific weight, pipelines B and C can be controlled to continue dispensing multiple products. After pipelines B and C complete dispensing multiple products, pipeline A dispenses a single product to complete weight compensation. The moment when pipeline A completes weight compensation for single-product dispensing can be taken as the completion time of the first single-product dispensing sub-step.
[0033] In other embodiments, the current beverage is the first beverage, and other output pipelines except the first target verification pipeline have completed output. In this case, the first target verification pipeline can be controlled to output only until the current beverage is output. Whether the current beverage has been output can be determined in real time by the actual total weight of the current beverage.
[0034] If the current beverage is the second beverage, in some embodiments, the first single-channel dispensing sub-step can be executed first. When the first target verification pipeline is not used for weight compensation of the current beverage, the preset dispensing quantity corresponding to the first target verification pipeline in the first single-channel dispensing sub-step can be equal to the total weight of the current beverage required by the first target verification pipeline. When the first target verification pipeline can be used for weight compensation of the current beverage, the difference between the total weight of the first target verification pipeline and the preset compensation weight is denoted as c. The difference between the target total weight of the current beverage and the actual total weight of the current beverage after the first target verification pipeline performs single-channel dispensing according to c and all other dispensing pipelines except the first target verification pipeline have completed dispensing is denoted as d. The preset dispensing quantity of the first target verification pipeline in the first single-channel dispensing sub-step can be equal to c+d. In other embodiments, other pipelines besides the first target verification pipeline can be controlled to dispense first, and then the first target verification pipeline can be controlled to execute the first single-channel dispensing sub-step. If a specific pipeline in other pipelines is used for weight compensation of the current beverage, single-channel output from that specific pipeline can be controlled after the first single-channel output sub-step is completed. If the first single-channel output sub-step is used for weight compensation of the current beverage, single-channel output from the first target verification pipeline can continue to be controlled when the actual output of the first target verification pipeline reaches the difference between the total weight and the preset compensation weight. In this case, the output speed of the first target verification pipeline when outputting according to the specific weight and when outputting the single channel for weight compensation of the current beverage can be the same or different.
[0035] The "weight compensation" mentioned above can be understood as follows: a specific pipeline among the pipelines used to produce the current beverage can be used for single-output production at the end, and it has a preset compensation weight. Before the specific pipeline produces single-output production at the end, it can produce beverages according to the difference between the total weight of the specific pipeline required for the current beverage and the preset compensation weight. After the other production pipelines except the specific pipeline have completed production and the specific pipeline has completed production according to the difference between the total weight of the specific pipeline required for the current beverage and the preset compensation weight, the specific pipeline can produce single-output production at the end. The cessation of single-output production is determined in real time based on the actual total weight of the current beverage obtained during the implementation.
[0036] It is important to note that due to errors caused by machining, material adhesion, and other factors, in the statement "outputting according to the difference between the total weight required by the specific pipeline for the current beverage and the preset compensation weight," the actual output of that specific pipeline in the process may not necessarily equal the difference between the total weight required by the specific pipeline for the current beverage and the preset compensation weight. Similarly, the actual output of other output pipelines may not necessarily equal their respective theoretical outputs. Accordingly, when that specific pipeline finally outputs a single batch, it does not output according to the preset compensation weight, but rather according to the actual total weight of the current beverage. Likewise, "reaching the corresponding preset output" can mean equal to the preset output, or it can mean that the difference from the preset output is within the allowable error range.
[0037] In parameter verification step S120, when the current beverage includes a first target verification pipeline, the first output parameters of the first target verification pipeline are accumulated from the trigger time of the first single-channel output sub-step to the completion time of the first single-channel output sub-step; when the accumulated first output parameters meet the preset parameter verification end condition, the first target verification pipeline is determined as a non-target verification pipeline; when the accumulated first output parameters do not meet the preset parameter verification end condition, the first target verification pipeline is kept as the first target verification pipeline.
[0038] In one possible implementation, when the current beverage is the first beverage, the trigger time for the first single-path dispensing sub-step can be the moment when replenishment is completed, or the moment when the first target verification pipeline begins dispensing after replenishment is completed. When the current beverage is the second beverage, the trigger time for the first single-path dispensing sub-step can be the moment when the current beverage begins dispensing (i.e., the moment when the actual total weight of the current beverage begins to change). For each current beverage, the completion time of the first single-path dispensing sub-step is the moment when the first target verification pipeline ends dispensing. During the time period from the trigger time to the completion time of the first single-path dispensing sub-step, the first dispensing parameter of the first target verification pipeline can be accumulated. The first dispensing parameter can be the dispensing time of the first target verification pipeline for single-path dispensing. It should be noted that this dispensing time is not necessarily equal to the duration of the time period from the trigger time to the completion time of the first single-path dispensing sub-step. In some embodiments, only the first single-channel output sub-step is executed within this time period; in other words, only the first target verification pipeline performs single-channel output within this time period. In this case, the output time of the first target verification pipeline can be equal to the duration of this time period. In other embodiments, other output sub-steps besides the first single-channel output sub-step can also be executed within this time period. When other output sub-steps are executed, the first single-channel output sub-step is paused; in other words, the first target verification pipeline does not output when other output sub-steps are executed. In this case, the output time of the first target verification pipeline is not equal to the duration of this time period. When the first output parameter is the output time of the first target verification pipeline performing single-channel output, the preset parameter verification end condition can be, for example, that the accumulated output time of the first target verification pipeline performing single-channel output is greater than or equal to the preset duration. The first output parameter can also be the rotational speed of the pump connected to the first target verification pipeline. The control device can acquire and accumulate the pump rotational speed in real time starting from the trigger time of the first single-channel output sub-step. When the first output parameter is the pump speed connected to the first target verification pipeline, the preset parameter verification termination condition can be, for example, that the accumulated pump speed is greater than or equal to a preset speed. When it is determined that the accumulated first output parameter meets the preset parameter verification termination condition, the first target verification pipeline is designated as a non-target verification pipeline.
[0039] In one possible implementation, the first beverage (first beverage) or the second beverage (first second beverage) in the output pipeline that includes the first target verification pipeline is denoted as beverage P. When the current beverage is beverage P, the first output parameters of the first target verification pipeline from the trigger time of the first single-path output sub-step to the completion time of the first single-path output sub-step are accumulated. The accumulated first output parameters can be denoted as p. If the accumulated first output parameters p do not meet the preset parameter verification end condition, the first target verification pipeline remains the first target verification pipeline. The first beverage that uses the first target verification pipeline after beverage P is denoted as beverage Q. When the current beverage is beverage Q, the first output parameter of the first target verification pipeline is accumulated from the trigger time of the first single-channel output sub-step to the completion time of the first single-channel output sub-step. The initial value of the first output parameter of the first target verification pipeline at the trigger time of the first single-channel output sub-step for beverage Q is p. If the first output parameter of the first target verification pipeline from the trigger time of the first single-channel output sub-step to the completion time of the first single-channel output sub-step is q, then the accumulated first output parameter of the first target verification pipeline at the completion time of the first single-channel output sub-step for beverage Q is p+q. It can be understood that if the accumulated first output parameter p+q still does not meet the preset parameter verification termination condition, then in the first beverage using the first target verification pipeline that appears after beverage Q, the initial value of the first output parameter of the first target verification pipeline at the trigger time of the first single-channel output sub-step is p+q, and so on.
[0040] The above technical solution uses the pipeline determined based on the replenishment operation as the first target verification pipeline. Single-channel output from the first target verification pipeline ensures that the actual output reaches the corresponding preset output. This ensures that even with a large amount of air in the first target verification pipeline, the individual output from the first target verification pipeline meets the preset output of the corresponding materials required for the current beverage, thus preventing waste. Furthermore, by accumulating the first output parameters of the first target verification pipeline from the trigger time to the completion time of the first single-channel output sub-step to determine whether the preset parameter verification end condition is met, it helps to determine whether the material filling status in the first target verification pipeline is consistent with the material filling status before the material shortage, thus ensuring that the determined non-target verification pipeline can output normally.
[0041] In one possible implementation, the parameter verification step S120 specifically includes: for each second beverage, accumulating the first output parameters of the first target verification pipeline from the triggering time of the first single-channel output sub-step to the completion time of the first single-channel output sub-step; wherein, the second beverage refers to the beverage that is after the first beverage in which the replenishment operation is triggered and includes the first target verification pipeline.
[0042] In one possible implementation, during the first single-path dispensing sub-step for the first beverage, the first dispensing parameter of the first target verification pipeline may not be accumulated. In other words, when the current beverage is the first second beverage after the first beverage, the accumulation of the first dispensing parameter of the first target verification pipeline may begin at the triggering time of the first single-path dispensing sub-step. That is, at the triggering time of the first single-path dispensing sub-step for the first second beverage, the accumulated first dispensing parameter of the first target verification pipeline is 0.
[0043] The above technical solution accumulates the first output parameters of the second beverage, including the first target verification pipeline, after the first beverage where the replenishment operation is triggered. This accumulation begins after the first beverage where the replenishment operation is performed has finished dispensing. In the first beverage where the replenishment operation is performed, the first output parameters of the first target verification pipeline are not accumulated. This helps to eliminate the possibility of abnormal output parameters caused by abnormalities in the initial dispensing period after the replenishment operation, thus ensuring the reliability of the accumulated first output parameters. Accumulating the first output parameters can largely indicate the actual workload of the first target verification pipeline after the replenishment operation, allowing for a more objective and accurate assessment of whether the actual workload of the first target verification pipeline after the replenishment operation can rule out the abnormal situation of incomplete material filling in the pipeline due to material shortage during replenishment.
[0044] In one possible implementation, when the current beverage is the second beverage, the second beverage refers to the beverage that follows the first beverage where the replenishment operation is triggered and includes the first target verification pipeline; the first single-channel output sub-step specifically includes: firstly controlling the first target verification pipeline to perform single-channel output according to the second output parameters; wherein, the second output parameters are the ideal output parameters required for the preset output quantity of single-channel output; then continuing to perform single-channel output according to the actual output quantity and the preset output quantity until the actual output quantity of the first target verification pipeline reaches the preset output quantity; the parameter verification step further includes: obtaining the actual output quantity after controlling the first target verification pipeline to perform single-channel output according to the second output parameters; when the accumulated first output parameters meet the preset parameter verification end condition and the actual output quantity meets the preset output quantity, the first target verification pipeline is determined as a non-target verification pipeline; when the accumulated first output parameters do not meet the preset parameter verification end condition or the actual output quantity does not meet the preset output quantity, the first target verification pipeline remains the first target verification pipeline.
[0045] In one possible implementation, the output parameters required for a preset output quantity of a single flow of the first target verification pipeline can be calculated based on the calibration values of the pump's drive parameters (e.g., speed, displacement, etc.) connected to the first target verification pipeline. These output parameters can be denoted as ideal output parameters, i.e., the second output parameters. After the first target verification pipeline performs single-flow output according to the second output parameters, the actual output quantity of the first target verification pipeline can be obtained. Specifically, the actual output quantity of the first target verification pipeline performing single-flow output according to the second output parameters may match the preset output quantity. In this case, if the accumulated first output parameters of the first target verification pipeline meet the preset parameter verification termination condition, the first target verification pipeline can be identified as a non-target verification pipeline; if the accumulated first output parameters of the first target verification pipeline do not meet the preset parameter verification termination condition, the first target verification pipeline will still be maintained as the first target verification pipeline. The actual output of the first target verification pipeline, when outputting a single channel according to the second output parameter, may not meet the preset output quantity. In this case, the first target verification pipeline can continue single-channel output until the actual output of the first target verification pipeline reaches the preset output quantity, and the first target verification pipeline remains the first target verification pipeline. "Meets the 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. It should be noted that the condition for whether the first target verification pipeline stops outputting is not whether the output parameter reaches the ideal output parameter (second output parameter) in the current first single-channel output sub-step, but whether the actual output quantity of the first target verification pipeline reaches the preset output quantity. That is to say, if the output parameter of the first target verification pipeline reaches the second output parameter in the current first single-channel output sub-step but the actual output quantity does not reach the preset quantity, the first target verification pipeline does not stop outputting, but continues single-channel outputting until the actual output quantity reaches the preset quantity.
[0046] The above technical solution determines whether the first target verification pipeline can be identified as a non-target verification pipeline by comprehensively comparing the first output parameters with the preset full-pipe output parameters and comparing the actual output quantity produced according to the ideal output parameters with the preset output quantity. This can accurately determine whether the first target verification pipeline meets the pipeline accuracy requirements for normal output when producing according to the ideal output parameters, thereby helping the accuracy of the identified non-target verification pipeline to meet the pipeline accuracy requirements.
[0047] In one possible implementation, when the first output parameter meets the preset parameter verification end condition and the actual output quantity does not meet the preset output quantity, the number of verifications of the first target verification pipeline is accumulated; when the number of verifications is greater than or equal to the preset number of verifications threshold, an alarm message is output.
[0048] In one possible implementation, if the first output parameter meets the preset parameter verification termination condition, but the actual output quantity of the first target verification pipeline according to the second output parameter does not meet the preset output quantity, it can be considered that the output accuracy of the first target verification pipeline does not meet the pipeline accuracy requirements. In this case, the verification count of the first target verification pipeline can be accumulated. Specifically, the verification count accumulated by the first target verification pipeline before this output can be incremented by 1, and the new verification count can be used as the current accumulated verification count of the first target verification pipeline. When the verification count is greater than or equal to a first preset threshold (e.g., 3), an alarm message can be output, and / or the first target verification pipeline can be identified as a pipeline to be calibrated so that the driving parameters of the pipeline to be calibrated can be recalibrated using a preset pipeline calibration algorithm.
[0049] The above technical solution can quickly identify pipelines in beverage machines with precision issues. This helps avoid repeatedly calibrating the first target pipeline when its precision is compromised. It also allows for timely reminders to the user to perform relevant calibration operations once the pipeline with the precision problem is identified.
[0050] In one possible implementation, when the current beverage is the second beverage, the second beverage refers to the beverage that follows the first beverage where the replenishment operation is triggered and includes the first target verification pipeline; the dispensing step further includes a multi-way dispensing sub-step, which specifically includes: controlling a first specific pipeline required for the current beverage to perform multi-way dispensing, the first specific pipeline including other pipelines besides the first target verification pipeline that performs the first single-way dispensing sub-step; after the first single-way dispensing sub-step and the multi-way dispensing sub-step, the method further includes: a second single-way dispensing sub-step: controlling a second specific pipeline required for the current beverage to perform single-way dispensing, the second specific pipeline being the pipeline with the largest weight required for dispensing the current beverage.
[0051] In one possible implementation, a multi-output sub-step can be executed before or after the first single-output sub-step. In the multi-output sub-step, a first specific pipeline required for the current beverage can be controlled to output multiple streams. The first specific pipeline may only include all pipelines required for the current beverage, excluding the first target verification pipeline. Based on the current beverage's formula, the material with the largest required weight can be determined, and the pipeline used to output this material can be designated as the second specific pipeline. For example, if the current beverage's formula includes 300g of material A, 80g of material B, and 20g of material C, then the pipeline used to output material A can be designated as the second specific pipeline. After the multi-output sub-step, a second single-output sub-step can also be executed. In the second single-output sub-step, the second specific pipeline can be controlled to output a single stream. The first target verification pipeline may be the second specific pipeline; in this case, the first single-output sub-step includes the second single-output sub-step, and the completion time of the second single-output sub-step is the completion time of the first single-output sub-step. It is understood that the second single-output sub-step is used for weight compensation of the current beverage. For a detailed explanation of weight compensation, please refer to the aforementioned embodiments, which will not be repeated here.
[0052] In the above technical solution, all pipelines used in the current beverage production process, except for the first target verification pipeline, can participate in multi-output, which can save output time in other pipelines and improve the output efficiency of the current beverage. On the other hand, by designating the pipeline that produces the material with the largest weight required for the current beverage as the second specific pipeline, when there is a deviation in the actual total weight of the current beverage produced before the second single-output sub-step, the material with the least impact on the taste of the current beverage can be used to compensate for the weight of the current beverage, which helps to ensure the stability of the taste of the final current beverage.
[0053] In one possible implementation, the multi-output sub-step specifically includes: while the current beverage is being dispensed through a first specific pipeline, the second specific pipeline is controlled to dispense at a first preset speed based on the weight of the portion of the beverage to be dispensed through the second specific pipeline in the multi-output sub-step; the second single-output sub-step specifically includes: controlling the second specific pipeline to dispense at a second preset speed until the actual total weight of the current beverage equals the difference between the target total weight of the current beverage and the current early stop amount, at which point the second specific pipeline is controlled to stop dispensing; wherein, the first preset speed is greater than the second preset speed.
[0054] In one possible implementation, taking the current beverage as a second beverage and the second specific pipeline as not being the first target verification pipeline as an example, in the multi-output sub-step, the second specific pipeline can output a portion of the total weight required by the corresponding material, which can be a preset value. For example, if the total weight required by the material in the second specific pipeline in the current formula of the current beverage is 100g, the weight required by the second specific pipeline to output in the multi-output sub-step can be 85g. Specifically, taking the pump's drive parameters for the second specific pipeline, including displacement, as an example, the pump can have a calibrated displacement 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 connect to the second specific pipeline (denoted as the target pump), and M be the total weight required by the second specific pipeline for the current 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 specific 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 the second specific pipeline in the multi-output sub-step. The first rated rotational speed of the target pump driving the second specific pipeline to discharge the product, based on M1, can be equal to M1 / (V×ρ). During the multi-output process of the first specific pipeline, the target pump can operate with a rotational speed equal to the first rated rotational speed M1 / (V×ρ) and a rotational speed equal to the first preset rotational speed (denoted as v1, the unit of measurement can be revolutions per second) to drive the second specific 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. The magnitude of the first preset speed can be controlled by controlling the value of v1. The method for setting the second preset speed is similar to that of the first preset speed. It should be noted that due to objective factors such as machining errors and material adhesion to the wall, the actual weight of the material discharged from the second specific pipeline during the multi-output sub-step may differ from the weight of the product to be discharged in the multi-output sub-step. In the second single-output sub-step, the second specific pipeline can be controlled to output at a second preset speed, and the actual total weight of the current beverage can be obtained in real time. When the obtained actual total weight equals the difference between the target total weight of the current beverage and the current early stop amount, the second specific pipeline can be controlled to stop outputting. It should be noted that if the current beverage is the second beverage and the second specific pipeline is the first target verification pipeline, in this case, the weight of the beverage to be output by the second specific pipeline in the multi-output sub-step is zero, that is, it does not participate in the multi-output sub-step.
[0055] The above technical solution, by controlling the output of the second specific pipeline during the process of controlling the output of the first specific pipeline, can reduce the output time of the second specific pipeline in the second single-path output sub-step, thereby saving the overall output time of the current beverage. By controlling the first preset speed of the second specific pipeline in the multi-path output sub-step to be greater than the second preset speed in the second single-path output sub-step, it is beneficial to ensure that the actual total weight of the current beverage measured in real time in the second single-path output sub-step can approximate the actual output of all pipelines, thus ensuring more accurate compensation for the weight of the current beverage.
[0056] In one possible implementation, different pipelines are each set with their own initial value for early stop amount. The method also includes an early stop amount correction step: after the second single-channel output sub-step controls the second specific pipeline to stop output, the actual total weight of the current beverage is obtained; the early stop amount of the second specific pipeline is corrected and updated based on the deviation between the actual total weight obtained after the second single-channel output sub-step and the target total weight.
[0057] In one possible implementation, when the second specific pipeline stops dispensing, the beverage machine's outlet is still dispensing. Therefore, the actual total weight obtained at the moment the second specific pipeline stops dispensing cannot be equal to the actual total weight dispensed from all pipelines required for the current beverage. After the second specific pipeline stops dispensing, the actual total weight at a given moment can be used as the final determined actual total weight of the current beverage when the actual total weight is stable—that is, when the actual total weight obtained at a certain moment has not changed compared to the actual total weight at the previous moment. The deviation between the actual total weight of the current beverage and the preset dispensing quantity can be positive, negative, or 0. When the absolute value of this deviation is greater than a preset deviation threshold, the early stop amount can be adjusted. For example, if the absolute value of the deviation is greater than the preset deviation threshold and the deviation is negative, the current early stop amount can be reduced; if the absolute value of the deviation is greater than the preset deviation threshold and the deviation is positive, the current early stop amount can be increased. The adjusted early stop amount can be updated to the current early stop amount.
[0058] In the above technical solution, for each current beverage, the advance stop amount of the second specific pipeline corresponding to the current beverage can be determined. This can adaptively determine the extraction stop amount of different second specific pipelines used to produce different beverages, thereby helping to ensure that the actual total weight of each beverage is as close as possible to the corresponding target total weight.
[0059] In one possible implementation, the method further includes an integral verification step; the dispensing step further includes: a third single-channel dispensing sub-step for dispensing the current beverage through a second target verification pipeline, wherein the second target verification pipeline refers to a target pipeline whose integral meets the verification requirements; in the multi-channel dispensing sub-step, the first specific pipeline also includes other pipelines besides the second target verification pipeline that performs the third single-channel dispensing sub-step; the integral verification step includes: accumulating the integrals of each of the first specific pipelines when the difference between the actual dispensing quantity after multi-channel dispensing through the first specific pipeline and the corresponding preset dispensing quantity meets the dispensing error requirement; if it does not meet the requirement, resetting the integrals of each of the first specific pipelines to zero; and verifying whether the dispensing accuracy of the second target verification pipeline in each third single-channel dispensing sub-step meets the preset accuracy requirement, and if it does, resetting the integral of the second target verification pipeline to zero; wherein the number of third single-channel dispensing sub-steps is less than or equal to the number of second target verification pipelines.
[0060] In one possible implementation, the piping used for the current beverage may include a second target verification piping. Each of the multiple piping systems in the beverage machine may have a corresponding score, and the second target verification piping refers to the target piping whose score meets the verification requirements. Specifically, the score may include a score and / or the number of times the score is calculated. When the score includes a score, for each piping that needs to be scored in the multi-output sub-step, the total weight required to produce the current beverage from that piping can be used as the score for that output. This score is then added to the score accumulated by that piping before that output, and the new score is used as the current accumulated score for that piping. When the score includes the number of times the score is calculated, for each piping that needs to be scored in the multi-output sub-step, the number of times the score is accumulated by that piping before that output can be incremented by 1, and the new number of times the score is used as the current accumulated number of times the score is calculated. After determining the scores of each of the multiple piping systems in the beverage machine, one or more piping systems can be selected as the second target verification piping. In some embodiments, one or more pipes can be identified as second target verification pipes based on the individual integrals of each pipe in the beverage machine. For the current beverage, it can be determined before dispensing the current beverage whether the pipes used for dispensing the current beverage include the second target verification pipes. In other embodiments, one or more pipes can be identified as second target verification pipes based on the individual integrals of all pipes used for the current beverage. Specifically, there can be one or more second target verification pipes. In this case, one or more pipes with integrals greater than or equal to a preset integral threshold can be identified as second target verification pipes. There can also be only one second target 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 target verification pipe. If there are multiple pipes with integrals greater than or equal to the preset integral threshold and the largest integral, a pipe can be identified as the second target 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.
[0061] In one possible implementation, a third single-output sub-step may be included before the second single-output sub-step. The first specific pipeline may have a corresponding preset output quantity in the multi-output sub-step. This preset output quantity may be set by the user, or it may be calculated based on the calibration values of the pump drive parameters (e.g., pump speed, displacement, etc.) connected to the first specific pipeline during the time period from the start to the end of the multi-output sub-step. The first specific pipeline may include pipelines other than the first and second target verification pipelines, and in one possible implementation, it may include the second target verification pipeline. The actual output quantity of the first specific pipeline in the multi-output sub-step can be determined based on the actual total weight of the beverage obtained after the multi-output sub-step. After multiple outputs from the first specific pipeline, the actual output quantity can be compared with the corresponding preset output quantity. If the difference between the actual output quantity and the preset output quantity meets the output error requirement, the integrals of each of the first specific pipelines involved in the multi-output sub-step 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. If the difference between the actual output quantity and the preset output quantity does not meet the output error requirement, the integrals of each of the first specific pipelines involved in the multi-output sub-step can be reset to zero.
[0062] In one possible implementation, during the execution of the third single-output sub-step, only one second target verification pipeline can be controlled to output the product in a single stream. If the number of second target verification pipelines is greater than one, each second pipeline can be controlled to output the product in a single stream sequentially, with only one second target verification pipeline outputting the product at a time. This application does not specifically limit the order of single-output from multiple second target verification pipelines; this order can be, for example, random, or it can be based on the preset output quantity of the second target verification pipelines from largest to smallest or smallest to largest. It is understood that when the number of second target verification pipelines used in the current beverage is multiple, the number of times the third single-output sub-step is executed, i.e., the number of third single-output sub-steps, can be less than or equal to the number of second target verification pipelines used in the current beverage. In other words, each second target verification pipeline participating in each third single-output sub-step can be some or all of the second target verification pipelines used in the current beverage. When performing the third single-output sub-step based on the second target verification pipeline, it can be determined whether the output accuracy of the second target verification pipeline meets the preset accuracy requirements. If the output accuracy of the second target verification pipeline meets the preset accuracy requirements, the integral of the second target verification pipeline can be reset to zero. When the second target verification pipeline is not the second specific pipeline, the weight of the product required to be output by the second target verification pipeline in the third single-output sub-step can be the total weight of the current beverage required to be output by the second target verification pipeline. When the second target verification pipeline is the second specific pipeline, the weight of the product required to be output by the second target verification pipeline in the third single-output sub-step can be a partial weight of the current beverage required to be output by the second target verification pipeline. When the weight of the beverage to be dispensed by the second target verification pipeline in the third single-output sub-step is a portion of the weight of the beverage to be dispensed by the second target verification pipeline: if the second specific pipeline is not the second target verification pipeline, the second target verification pipeline can also dispense in the multi-output sub-step; if the second specific pipeline is the second target verification pipeline, the second target verification pipeline can dispense in the second single-output sub-step, or the second target verification pipeline can dispense in both the multi-output sub-step and the second single-output sub-step. It can be understood that when the second target verification pipeline dispenses in the multi-output sub-step, the first specific pipeline may include the second target verification pipeline.
[0063] The aforementioned technical solution integrates the first specific pipeline involved in the multi-stage output sub-steps when the actual output meets the output error requirements. This method identifies the pipeline with the highest participation rate among the pipelines participating in the multi-stage output sub-steps that meet the output error requirements, thus obtaining the second target verification pipeline with the highest probability of accuracy anomalies. On the other hand, when the output accuracy of the second target verification pipeline in the third single-stage output sub-step meets the preset accuracy requirements, the integration of the second target verification pipeline is reset to zero. This excludes pipelines with output accuracy meeting the preset accuracy requirements, thus avoiding 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 output, thereby ensuring that the overall cup accuracy deviation of each beverage does not become excessive when outputting 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.
[0064] In one possible implementation, when the current beverage includes a first target verification pipeline and a second target verification pipeline, and the first target verification pipeline and the second target verification pipeline are different pipelines, the third single-channel dispensing sub-step includes: controlling the second target verification pipeline to dispense beverages single-channel until the actual dispensing quantity of the second target verification pipeline meets the preset quantity of the single-channel dispensing quantity of the second target verification pipeline; when the preset quantity is less than the weight of the beverage required to be dispensed by the second target verification pipeline in the third single-channel dispensing sub-step and the multi-channel dispensing sub-step, in the multi-channel dispensing sub-step, the first specific pipeline also includes the second target verification pipeline that performs the third single-channel dispensing sub-step.
[0065] In one possible implementation, all the piping required for the current beverage may include a first target verification piping and a second target verification piping, and the first and second target verification piping may be different piping. The second target verification piping may participate only in the third single-path output sub-step, or it may participate in both the third and second single-path output sub-steps, or it may participate in both the third and multiple-path output sub-steps, or it may participate in the third, multiple-path, and second single-path output sub-steps. When the second target verification piping participates in the second single-path output sub-step, the weight of the beverage to be output by the second target verification piping in the third and multiple-path output sub-steps is a portion of the weight of the second target verification piping required for the current beverage. When the second target verification piping does not participate in the second single-path output sub-step, the weight of the beverage to be output by the second target verification piping in the third and multiple-path output sub-steps is the total weight of the second target verification piping required for the current beverage. The preset quantity of the product required by the second target verification pipeline in the third single-output sub-step can be less than the weight of the product required in the third single-output sub-step and the multi-output sub-step. In this case, the second target verification pipeline can participate in the multi-output sub-step, and the first specific pipeline can also include the second target verification pipeline.
[0066] In the above technical solution, the second target verification pipeline can participate in multiple output sub-steps, which can reduce the execution time of the third single output sub-step and improve the efficiency of the current beverage's overall output.
[0067] In one possible implementation, the dispensing step includes one of a first single-path dispensing sub-step and a third single-path dispensing sub-step; when the same target pipeline for the current beverage is simultaneously used as both a first target verification pipeline and a second target verification pipeline, the target pipeline is determined as the first target verification pipeline; when the current beverage includes both a first target verification pipeline and a second target verification pipeline, and the first target verification pipeline and the second target verification pipeline are different pipelines, the first single-path dispensing sub-step is performed only based on the first target verification pipeline.
[0068] In one possible implementation, when a target pipeline used for the current beverage can serve as both a first target verification pipeline and a second target verification pipeline, that target pipeline can be designated as the first target verification pipeline. If all pipelines used for the current beverage include both the first and second target verification pipelines, and the first and second target verification pipelines are different pipelines, the first single-path output sub-step is performed only based on the first target verification pipeline. The second target verification pipeline can be considered a pipeline for normal output. In other words, for the current beverage, the state of the second target verification pipeline can be considered consistent with the state of other pipelines that are neither the first nor the second target verification pipeline; that is, the third single-path output sub-step is not performed.
[0069] In the above technical solution, when the pipelines required for the current beverage include both a first target verification pipeline and a second target verification pipeline, the first single-path output sub-step can be performed only based on the first target verification pipeline. This reduces the output time per path and helps improve the overall output speed. On the other hand, when the same pipeline serves as both the first and second target verification pipelines, designating it as the first target verification pipeline increases the likelihood that its output accuracy meets the preset accuracy requirements when the first target verification pipeline meets the preset parameter verification termination conditions. In other words, the integral of this pipeline may be due to the cumulative accuracy issues caused by material shortages. By designating it as the first target verification pipeline, repeated single-path output verification of this pipeline can be avoided.
[0070] In one possible implementation, the preset parameter verification termination condition includes: the accumulated first output parameter is greater than or equal to the preset output parameter threshold; the material type of each pipeline output corresponds to its own preset output parameter threshold.
[0071] In one possible implementation, when the first output parameter is output time, the preset output parameter threshold can be a preset duration. This preset duration threshold can be, for example, the duration required for a full-pipe operation, or it can be set by the user based on the duration required for a full-pipe operation, and it can be less than / equal to / greater than the duration required for a full-pipe operation. A description of the full-pipe operation can be found in the foregoing embodiments, and will not be repeated here. In this case, when the accumulated output time is greater than or equal to the preset duration threshold, it can be determined that the first target verification pipeline meets the preset parameter verification termination condition. When the first output parameter is the revolutions per minute of the pump connected to the first target verification pipeline, the preset output parameter threshold can be a preset revolutions per minute threshold. This preset revolutions per minute threshold can be the revolutions per minute of the pump required for a full-pipe operation, or it can be set by the user based on the revolutions per minute of the pump required for a full-pipe operation, and it can be less than / equal to / greater than the revolutions per minute of the pump required for a full-pipe operation. In this case, when the accumulated pump revolutions are greater than or equal to the preset revolutions per minute threshold, it can be determined that the first target verification pipeline meets the preset parameter verification termination condition. In one possible implementation, the material output from the first target verification pipeline can have a corresponding viscosity. It is understood that when the material has high viscosity, its flowability is low, and the preset output parameter threshold can be relatively large. For example, for highly viscous materials, a lower pump speed / shorter output time (i.e., shorter pump running time) might prevent output due to the high viscosity. Therefore, the preset output parameter threshold for the first target verification pipeline used to output highly viscous materials can be relatively large. Specifically, materials of different viscosities can correspond to different preset output parameter thresholds, and correspondingly, each first target verification pipeline used to output materials of different viscosities can correspond to its own preset output parameter threshold.
[0072] In the above technical solution, the preset output parameter threshold can correspond to the type of material output from the first target verification pipeline. This helps to ensure that when the output parameters of the first target verification pipeline reach the corresponding preset output parameter threshold, the corresponding material can fill the pipeline as much as possible, and also helps the determined non-target verification pipeline to output smoothly and stably.
[0073] Please refer to Figure 2, which is a schematic block diagram of a beverage dispensing device according to one embodiment of this application. According to a second aspect of this application, a beverage dispensing device 200 is also provided, the device 200 comprising:
[0074] Output module 210: Used to perform a first single-output sub-step for the first target verification pipeline of the current beverage to output the beverage in a single output, so that the actual output of the first target verification pipeline reaches the corresponding preset output; wherein, the first target verification pipeline is the target pipeline determined by the replenishment operation;
[0075] Parameter verification module 220: When the current beverage includes a first target verification pipeline, it accumulates the first output parameters of the first target verification pipeline from the trigger time of the first single-channel output sub-step to the completion time of the first single-channel output sub-step; when the accumulated first output parameters meet the preset parameter verification end condition, it determines the first target verification pipeline as a non-target verification pipeline; when the accumulated first output parameters do not meet the preset parameter verification end condition, it keeps the first target verification pipeline as the first target verification pipeline.
[0076] According to a third aspect of this application, a beverage machine is also provided for performing the above-described beverage dispensing method.
[0077] According to a fourth 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 the corresponding steps of the beverage dispensing method described in the embodiments of this application, and is used to implement the corresponding modules in the beverage dispensing apparatus according to the embodiments of this application, or the corresponding modules in the beverage dispensing apparatus described above. The storage medium may, for example, include 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.
[0078] Please refer to Figure 3, which is a schematic block diagram of an electronic device according to an embodiment of this application. According to a fifth aspect of this application, an electronic device is also provided, including: a processor 310 and a memory 320, wherein the memory 320 stores computer program instructions, which are executed by the processor 310 to perform the above-described beverage dispensing method.
[0079] According to a sixth aspect of this application, a computer program product is also provided, including computer program instructions that, when executed, are used to perform the beverage preparation method as described above.
[0080] Those skilled in the art can understand the specific implementation and beneficial effects of the above-described beverage dispensing device and beverage machine by reading the detailed description of the beverage dispensing method above, and for the sake of brevity, they will not be described in detail here.
[0081] Example
[0082] Example 1. A method for producing a beverage, wherein the method includes:
[0083] The production process includes a first single-output sub-step of outputting the current beverage through the first target verification pipeline, so that the actual output of the first target verification pipeline reaches the corresponding preset output; wherein, the first target verification pipeline is the target pipeline determined by the replenishment operation.
[0084] Parameter verification steps: When the current beverage includes the first target verification pipeline, the first output parameters of the first target verification pipeline from the trigger time of the first single-channel output sub-step to the completion time of the first single-channel output sub-step are accumulated; when the accumulated first output parameters meet the preset parameter verification end condition, the first target verification pipeline is determined as a non-target verification pipeline; when the accumulated first output parameters do not meet the preset parameter verification end condition, the first target verification pipeline is kept as the first target verification pipeline.
[0085] Example 2. According to the method described in Example 1, the parameter verification step specifically includes:
[0086] For each second beverage, the first output parameters of the first target verification pipeline are accumulated from the triggering time of the first single-channel output sub-step to the completion time of the first single-channel output sub-step; wherein, the second beverage refers to the beverage that is triggered after the first beverage in which the replenishment operation is performed and includes the first target verification pipeline.
[0087] Example 3. According to the method described in Example 1 or 2, wherein when the current beverage is the second beverage, the second beverage refers to the beverage that follows the first beverage in which the replenishment operation is triggered and includes the first target verification pipeline;
[0088] The first single-channel output sub-step specifically includes:
[0089] First, control the first target verification pipeline to output a single product according to the second output parameters; wherein, the second output parameters are the ideal output parameters required for the preset output quantity of the single-channel output;
[0090] Then, based on the actual output and the preset output, single-channel output continues until the actual output of the first target verification pipeline reaches the preset output.
[0091] The parameter verification step further includes:
[0092] Obtain the actual output quantity of the first target verification pipeline after single-channel output according to the second output parameters;
[0093] When the accumulated first output parameter meets the preset parameter verification end condition and the actual output quantity meets the preset output quantity, the first target verification pipeline is determined as a non-target verification pipeline.
[0094] If the accumulated first output parameter does not meet the preset parameter verification end condition or the actual output quantity does not meet the preset output quantity, then the first target verification pipeline remains the first target verification pipeline.
[0095] Example 4. The method according to any one of Examples 1-3, wherein the product output step further includes:
[0096] When the first output parameter meets the preset parameter verification end condition and the actual output quantity does not meet the preset output quantity, the number of verifications of the first target verification pipeline is accumulated.
[0097] When the number of verifications is greater than or equal to a preset verification threshold, an alarm message is output.
[0098] Example 5. The method according to any one of Examples 1-4, wherein when the current beverage is the second beverage, the second beverage refers to the beverage that follows the first beverage in which the replenishment operation is triggered and includes the first target verification pipeline;
[0099] The output step also includes a multi-output sub-step, which specifically includes:
[0100] Control the first specific pipeline required for the current beverage to produce multiple products, the first specific pipeline including other pipelines besides the first target verification pipeline that performs the first single-output sub-step;
[0101] After the first single-output sub-step and the multi-output sub-step, the method further includes:
[0102] The second single-flow output sub-step involves controlling the second specific pipeline required for the current beverage to output the beverage in a single flow. The second specific pipeline is the pipeline with the largest weight required for the current beverage.
[0103] Example 6. The method according to any one of Examples 1-5, wherein the multi-output sub-step specifically includes:
[0104] While the beverage is being dispensed through the first specific pipeline, the second specific pipeline is also controlled to dispense at a first preset speed based on the weight of the beverage to be dispensed through the second specific pipeline in the multi-dispensing sub-step.
[0105] The second single-channel output sub-step specifically includes: controlling the second specific pipeline to output at a second preset speed until the actual total weight of the current beverage is equal to the difference between the target total weight of the current beverage and the current early stop amount, and then controlling the second specific pipeline to stop output;
[0106] Wherein, the first preset speed is greater than the second preset speed.
[0107] Example 7. The method according to any one of Examples 1-6, wherein different pipelines are respectively provided with their own initial values for the early stop amount, and the method further includes an early stop amount correction step:
[0108] After the second single-channel output sub-step controls the second specific pipeline to stop outputting, the actual total weight of the current beverage is obtained;
[0109] The early stop amount of the second specific pipeline is adjusted and updated based on the deviation between the actual total weight obtained after the second single-output sub-step and the target total weight.
[0110] Example 8. The method according to any one of Examples 1-7, wherein the method further includes an integration verification step;
[0111] The product output step further includes a third single-output sub-step of outputting the current beverage through the second target verification pipeline, wherein the second target verification pipeline refers to the target pipeline whose integral meets the verification requirements.
[0112] In the multi-output sub-step, the first specific pipeline also includes at least other pipelines besides the second target verification pipeline that performs the third single-output sub-step.
[0113] The integral verification step includes: when the difference between the actual output quantity after multiple outputs from the first specific pipeline and the corresponding preset output quantity meets the output error requirement, accumulating the integrals of each of the first specific pipelines; if not, resetting the integrals of each of the first specific pipelines to zero; and verifying whether the output accuracy of the second target verification pipeline in each of the third single-output sub-steps meets the preset accuracy requirement, and if it does, resetting the integral of the second target verification pipeline to zero.
[0114] The number of the third single-output sub-steps is less than or equal to the number of the second target verification pipelines.
[0115] Example 9. The method according to any one of Examples 1-8, wherein, when the current beverage includes the first target verification pipeline and the second target verification pipeline, and the first target verification pipeline and the second target verification pipeline are different pipelines,
[0116] The third single-channel output sub-step includes: controlling the single-channel output of the second target verification pipeline until the actual output of the second target verification pipeline meets the preset output of the single channel of the second target verification pipeline;
[0117] When the preset amount is less than the weight of the product required by the second target verification pipeline in the third single-output sub-step and the multi-output sub-step, in the multi-output sub-step, the first specific pipeline further includes the second target verification pipeline that performs the third single-output sub-step.
[0118] Example 10. The method according to any one of Examples 1-9, wherein the output step includes one of the first single-channel output sub-step and the third single-channel output sub-step;
[0119] When the same target pipeline of the current beverage is simultaneously used as both the first target verification pipeline and the second target verification pipeline, the target pipeline is determined as the first target verification pipeline;
[0120] When the current beverage includes the first target verification pipeline and the second target verification pipeline, and the first target verification pipeline and the second target verification pipeline are different pipelines, the first single-path output sub-step is performed only based on the first target verification pipeline.
[0121] Example 11. The method according to any one of Examples 1-10, wherein the preset parameter verification termination condition includes: the accumulated first output parameter is greater than or equal to the preset output parameter threshold;
[0122] The types of materials produced by each pipeline correspond to their respective preset output parameter thresholds.
[0123] Example 12. A beverage dispensing device, wherein the device comprises:
[0124] The output module is used to perform a first single-output sub-step on the first target verification pipeline of the current beverage, so that the actual output of the first target verification pipeline reaches the corresponding preset output; wherein, the first target verification pipeline is the target pipeline determined by the replenishment operation;
[0125] Parameter verification module: When the current beverage includes the first target verification pipeline, it accumulates the first output parameters of the first target verification pipeline from the trigger time of the first single-channel output sub-step to the completion time of the first single-channel output sub-step; when the accumulated first output parameters meet the preset parameter verification end condition, the first target verification pipeline is determined as a non-target verification pipeline; when the accumulated first output parameters do not meet the preset parameter verification end condition, the first target verification pipeline is kept as the first target verification pipeline.
[0126] Example 13. A beverage machine, wherein it is used to perform a beverage dispensing method as described in any one of Examples 1-11.
[0127] Example 14. A storage medium storing program instructions, wherein the program instructions, when executed, are used to perform a beverage dispensing method as described in any one of Examples 1-11.
[0128] 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.
[0129] 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.
[0130] 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.
[0131] 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.
[0132] 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.
[0133] 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.
[0134] 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.
[0135] 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 a beverage dispensing device 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.
[0136] 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.
[0137] 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 method for producing a beverage, characterized in that, The method includes: The production process includes a first single-output sub-step of outputting the current beverage through the first target verification pipeline, so that the actual output of the first target verification pipeline reaches the corresponding preset output; wherein, the first target verification pipeline is the target pipeline determined by the replenishment operation. Parameter verification steps: When the current beverage includes the first target verification pipeline, the first output parameters of the first target verification pipeline from the trigger time of the first single-channel output sub-step to the completion time of the first single-channel output sub-step are accumulated; when the accumulated first output parameters meet the preset parameter verification end condition, the first target verification pipeline is determined as a non-target verification pipeline; when the accumulated first output parameters do not meet the preset parameter verification end condition, the first target verification pipeline is kept as the first target verification pipeline.
2. The method according to claim 1, characterized in that, The parameter verification step specifically includes: For each second beverage, the first output parameters of the first target verification pipeline are accumulated from the triggering time of the first single-channel output sub-step to the completion time of the first single-channel output sub-step; wherein, the second beverage refers to the beverage that is triggered after the first beverage in which the replenishment operation is performed and includes the first target verification pipeline.
3. The method according to claim 1, characterized in that, When the current beverage is the second beverage, the second beverage refers to the beverage that occurred after the first beverage in which the replenishment operation was triggered and includes the first target verification pipeline; The first single-channel output sub-step specifically includes: First, control the first target verification pipeline to output a single product according to the second output parameters; wherein, the second output parameters are the ideal output parameters required for the preset output quantity of the single-channel output; Then, based on the actual output and the preset output, continue to output single-channel products until the actual output of the first target verification pipeline reaches the preset output. The parameter verification step further includes: Obtain the actual output quantity of the first target verification pipeline after single-channel output according to the second output parameters; When the accumulated first output parameter meets the preset parameter verification end condition and the actual output quantity meets the preset output quantity, the first target verification pipeline is determined as a non-target verification pipeline. If the accumulated first output parameter does not meet the preset parameter verification end condition or the actual output quantity does not meet the preset output quantity, then the first target verification pipeline remains the first target verification pipeline.
4. The method according to claim 3, characterized in that, The production process also includes: When the first output parameter meets the preset parameter verification end condition and the actual output quantity does not meet the preset output quantity, the number of verifications of the first target verification pipeline is accumulated. When the number of verifications is greater than or equal to a preset verification threshold, an alarm message is output.
5. The method according to any one of claims 1-4, characterized in that, When the current beverage is the second beverage, the second beverage refers to the beverage that occurred after the first beverage in which the replenishment operation was triggered and includes the first target verification pipeline; The output step also includes a multi-output sub-step, which specifically includes: Control the first specific pipeline required for the current beverage to produce multiple products, the first specific pipeline including other pipelines besides the first target verification pipeline that performs the first single-output sub-step; After the first single-output sub-step and the multi-output sub-step, the method further includes: The second single-flow output sub-step involves controlling the second specific pipeline required for the current beverage to output the beverage in a single flow. The second specific pipeline is the pipeline with the largest weight required for the current beverage.
6. The method according to claim 5, characterized in that, The multi-output sub-step specifically includes: While the beverage is being dispensed through the first specific pipeline, the second specific pipeline is also controlled to dispense at a first preset speed based on the weight of the beverage to be dispensed through the second specific pipeline in the multi-dispensing sub-step. The second single-channel output sub-step specifically includes: controlling the second specific pipeline to output at a second preset speed until the actual total weight of the current beverage is equal to the difference between the target total weight of the current beverage and the current early stop amount, and then controlling the second specific pipeline to stop output; Wherein, the first preset speed is greater than the second preset speed.
7. The method according to claim 6, characterized in that, Different pipelines are each configured with their own initial values for the early stop amount, and the method further includes an early stop amount correction step: After the second single-channel output sub-step controls the second specific pipeline to stop outputting, the actual total weight of the current beverage is obtained; The early stop amount of the second specific pipeline is adjusted and updated based on the deviation between the actual total weight obtained after the second single-path output sub-step and the target total weight.
8. The method according to claim 5, characterized in that, The method also includes an integral verification step; The product output step further includes a third single-output sub-step of outputting the current beverage through the second target verification pipeline, wherein the second target verification pipeline refers to the target pipeline whose integral meets the verification requirements. In the multi-output sub-step, the first specific pipeline also includes at least other pipelines besides the second target verification pipeline that performs the third single-output sub-step. The integral verification step includes: when the difference between the actual output quantity after multiple outputs from the first specific pipeline and the corresponding preset output quantity meets the output error requirement, accumulating the integrals of each of the first specific pipelines; if not, resetting the integrals of each of the first specific pipelines to zero; and verifying whether the output accuracy of the second target verification pipeline in each of the third single-output sub-steps meets the preset accuracy requirement, and if it does, resetting the integral of the second target verification pipeline to zero. The number of the third single-output sub-steps is less than or equal to the number of the second target verification pipelines.
9. The method according to claim 8, characterized in that, When the current beverage includes the first target verification pipeline and the second target verification pipeline, and the first target verification pipeline and the second target verification pipeline are different pipelines, The third single-channel output sub-step includes: controlling the single-channel output of the second target verification pipeline until the actual output of the second target verification pipeline meets the preset output of the single-channel output of the second target verification pipeline; When the preset amount is less than the weight of the product required by the second target verification pipeline in the third single-output sub-step and the multi-output sub-step, in the multi-output sub-step, the first specific pipeline further includes the second target verification pipeline that performs the third single-output sub-step.
10. The method according to claim 8, characterized in that, The output step includes one of the first single-channel output sub-step and the third single-channel output sub-step; When the same target pipeline of the current beverage is simultaneously used as both the first target verification pipeline and the second target verification pipeline, the target pipeline is determined as the first target verification pipeline; When the current beverage includes the first target verification pipeline and the second target verification pipeline, and the first target verification pipeline and the second target verification pipeline are different pipelines, the first single-path output sub-step is performed only based on the first target verification pipeline.
11. The method according to any one of claims 1-4, characterized in that, The preset parameter verification end condition includes: the accumulated first output parameter is greater than or equal to the preset output parameter threshold. The types of materials produced by each pipeline correspond to their respective preset output parameter thresholds.
12. A beverage dispensing device, characterized in that, The device includes: The output module is used to perform a first single-output sub-step on the first target verification pipeline of the current beverage, so that the actual output of the first target verification pipeline reaches the corresponding preset output; wherein, the first target verification pipeline is the target pipeline determined by the replenishment operation; Parameter verification module: When the current beverage includes the first target verification pipeline, it accumulates the first output parameters of the first target verification pipeline from the trigger time of the first single-channel output sub-step to the completion time of the first single-channel output sub-step; when the accumulated first output parameters meet the preset parameter verification end condition, the first target verification pipeline is determined as a non-target verification pipeline; when the accumulated first output parameters do not meet the preset parameter verification end condition, the first target verification pipeline is kept as the first target verification pipeline.
13. A beverage machine, characterized in that, Used to perform the beverage production method as described in any one of claims 1-11.
14. A storage medium on which program instructions are stored, characterized in that, The program instructions, when executed, are used to perform the beverage preparation method as described in any one of claims 1-11.