Control method for beverage output equipment, beverage output equipment and storage medium
By using induction components in the beverage output device to move synchronously with the beverage output port, adjusting the distance between the output port and the edge of the container opening, the problem of splashing during beverage output is solved, and a more efficient beverage output and a better user experience is achieved.
Patent Information
- Application Number
- CN202311598899.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2025-05-27
AI Technical Summary
Existing beverage output devices often experience splashing problems when outputting beverage ingredients, especially ice cubes and liquids.
A control method for a beverage output device is provided, through the induction component and the beverage output port synchronously, the vertical distance between the beverage output port and the edge of the container opening is determined, and the motion track of the beverage output port is adjusted to reduce the possibility of beverage splashing.
By optimizing the motion track and position of the induction components of the beverage output port, it can effectively reduce beverage splash, improve output accuracy, and improve user experience.
Smart Images

Figure CN120036636A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of household appliances, and particularly to a control method for a beverage output device, a beverage output device, and a storage medium. Background Art
[0002] In the prior art, when a beverage output device outputs beverage ingredients, the situation of beverage ingredient splashing often occurs. For example, the beverage output device outputs ice cubes and / or liquids. Therefore, how to improve the splashing of beverage ingredients is a technical problem that needs to be solved urgently at present. Summary of the Invention
[0003] The present application provides a control method for a beverage output device, a beverage output device, and a storage medium, which can solve the technical problem of beverage splashing during the process of the beverage output device outputting beverages.
[0004] The present application provides a control method for a beverage output device. The beverage output device has a sensing component and a beverage output port. The beverage output port and the sensing component are located above a carrier. The sensing component is used to move synchronously with the beverage output port. The control method includes receiving a user instruction. The user instruction includes a first instruction, a second instruction, and a third instruction. The first instruction is an instruction to output a first type of beverage ingredient, the second instruction is an instruction to output a second type of beverage ingredient, and the third instruction is an instruction to output the first type of beverage ingredient and the second type of beverage ingredient; the beverage output port moves downward from an initial position; it is judged whether the vertical distance C2 between the initial position obtained when the beverage output port is at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening; if so, the current position is used as the target position, and the downward movement of the beverage output port is stopped; according to the user instruction, the first type of beverage ingredient and / or the second type of beverage ingredient is output to the container for receiving the beverage, and in response to the detected information obtained meeting a preset condition, the output of the first type of beverage ingredient and / or the second type of beverage ingredient is stopped; if not, the state of the downward movement of the beverage output port is maintained, and the step of judging whether the vertical distance C2 between the initial position obtained when the beverage output port is at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening is returned to be executed.
[0005] Wherein, the beverage output device includes a carrier for carrying a container. The beverage output port is located above the carrier. The beverage output port has a movement track. The movement track has a first end far from the carrier and a second end close to the carrier. The initial position is located at the first end. In the step of the beverage output port moving downward from the initial position, the beverage output port moves from the first end to the second end.
[0006] Among them, the vertical distance C1 between the initial position and the edge of the container opening is the sum of the vertical distance B1 by which the beverage outlet moves downward and the vertical distance A1 between the beverage outlet and the edge of the container opening obtained by the sensing component.
[0007] Among them, the detection information includes the first information and / or the second information. In the step of stopping the output of the first type of beverage ingredient and / or outputting the second type of beverage ingredient according to the user instruction in response to the obtained detection information meeting the preset conditions, it includes: in response to the user instruction being the first instruction, outputting the first type of beverage ingredient according to the first instruction, and stopping the output of the first type of beverage ingredient when the obtained first information meets the first preset condition; or in response to the user instruction being the second instruction, outputting the second type of beverage ingredient according to the second instruction, and stopping the output of the second type of beverage ingredient when the obtained second information meets the second preset condition; or in response to the user instruction being the third instruction, outputting the first type of beverage ingredient according to the third instruction, stopping the output of the first type of beverage ingredient when the obtained first information meets the first preset condition; outputting the second type of beverage ingredient according to the third instruction, and stopping the output of the second type of beverage ingredient when the obtained second information meets the second preset condition.
[0008] Among them, the first information is the difference between the sum of the vertical distance B2 by which the beverage outlet moves downward and the vertical distance D between the beverage outlet and the top of the first type of beverage ingredient obtained by the sensing component when the beverage outlet is at the target position and the vertical distance C2 between the initial position and the edge of the container opening obtained at the current position; the second information is the difference between the sum of the vertical distance B2 by which the beverage outlet moves downward and the vertical distance D between the beverage outlet and the liquid level of the second type of beverage ingredient obtained by the sensing component when the beverage outlet is at the target position and the vertical distance C2 between the initial position and the edge of the container opening obtained at the current position.
[0009] Among them, the first information is the vertical distance between the edge of the container opening and the top of the first type of beverage ingredient when the beverage outlet is at the target position, and the second information is the vertical distance between the edge of the container opening and the liquid level of the second type of beverage ingredient when the beverage outlet is at the target position.
[0010] Among them, the first preset condition is that the vertical distance between the edge of the container opening and the top of the first type of beverage ingredient is less than or equal to the first preset value, and the second preset condition is that the vertical distance between the edge of the container opening and the liquid level of the second type of beverage ingredient is less than or equal to the second preset value.
[0011] Among them, the beverage output device further includes a water receiving box and a prompting component. A water level sensor is arranged in the water receiving box. The water receiving box is located under the bearing platform. The prompting component is used to output a prompting message. The control method further includes a step of responding to the step of stopping the downward movement of the beverage output port, and judging whether the water level in the water receiving box reaches a preset water level according to the signal obtained by the water level sensor; if so, the prompting component outputs a prompting message; if not, return to execute the step of outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient to the container for receiving the beverage according to the user instruction, and continuously keep judging whether the water level in the water receiving box reaches the preset water level according to the detection signal obtained by the water level sensor. If so, stop outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient and output a prompting message; or the control method further includes a step of responding to receiving the user instruction, and judging whether the water level in the water receiving box reaches the preset water level according to the detection signal obtained by the water level sensor; if so, the prompting component outputs a prompting message; if not, execute the step of moving the beverage output port downward from the initial position.
[0012] Among them, in response to stopping outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient, control the beverage output port to move to the initial position.
[0013] Among them, in the step of judging whether the vertical distance C2 between the initial position obtained when the beverage output port is in the current position and the edge of the container opening is less than all the vertical distances C1 between the initial positions obtained before the current time point and the edge of the container opening, it includes the transmitting end of the induction component emitting a detection wave; the receiving end of the induction component receiving the echo of the detection wave; in response to the signal intensity of the echo being lower than the lower limit of the preset signal intensity range, increase the transmitting power of the transmitting end of the induction component; in response to the signal intensity of the echo being higher than the upper limit of the preset signal intensity range, decrease the transmitting power of the transmitting end of the induction component.
[0014] Among them, the detection information includes the vertical distance between the top of the object received in the container and the edge of the container opening.
[0015] The present application provides a beverage output device, which includes an instruction receiving component, a beverage output port, a moving component, an induction component and a processor. The instruction receiving component is used to receive user instructions. The user instructions include a first instruction, a second instruction and a third instruction. The first instruction is an instruction to output the first type of beverage ingredient, the second instruction is an instruction to output the second type of beverage ingredient, and the third instruction is an instruction to output the first type of beverage ingredient and output the second type of beverage ingredient; the beverage output port is used to output beverages, and the beverages include the first type of beverage ingredient and / or the second type of beverage ingredient; the moving component is connected to the beverage output port, and the moving component is used to move the beverage output port; the induction component is located above the bearing platform; the processor is connected to the instruction receiving component, the moving component and the induction component, and the processor is used to execute the above control method.
[0016] Among them, the beverage outlet has a movement track, and the movement track has a first end far from the carrier and a second end close to the carrier.
[0017] Among them, the sensing component is an ultrasonic detector, a time-of-flight detector, and a camera.
[0018] Among them, the beverage output device further includes a water receiving box and a prompting component. A water level sensor is arranged in the water receiving box. The water level sensor is connected to the processor. The water receiving box is located under the carrier; the prompting component is connected to the processor, and the prompting component is used to output a prompting message under the control of the processor.
[0019] This application provides a storage medium, and the storage medium stores program instructions that can be executed to implement the above control method.
[0020] The beneficial effects of the present application are as follows: The present application provides a control method for a beverage output device. Among them, the beverage output device has a sensing component and a beverage output port. The beverage output port and the sensing component are located above a carrying platform. The sensing component is used to move synchronously with the beverage output port. The control method includes receiving a user instruction, where the user instruction includes a first instruction, a second instruction, and a third instruction. The first instruction is an instruction to output a first type of beverage ingredient, the second instruction is an instruction to output a second type of beverage ingredient, and the third instruction is an instruction to output the first type of beverage ingredient and the second type of beverage ingredient; the beverage output port moves downward from the initial position; it is judged whether the vertical distance C2 between the initial position obtained when the beverage output port is at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening; if so, the current position is used as the target position, and the downward movement of the beverage output port is stopped; according to the user instruction, the first type of beverage ingredient and / or the second type of beverage ingredient is output to the container for receiving the beverage, and in response to the detected information obtained meeting the preset conditions, the output of the first type of beverage ingredient and / or the second type of beverage ingredient is stopped; if not, the state of the downward movement of the beverage output port is maintained, and the step of judging whether the vertical distance C2 between the initial position obtained when the beverage output port is at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening is returned to be executed. Through the above method, after receiving the user instruction, the beverage output device controls the beverage output port to move downward from the initial position, and continuously confirms during the downward movement whether the vertical distance C2 between the initial position obtained at the current position of the beverage output port and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening, until the vertical distance C2 between the initial position obtained at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening, and then the downward movement is stopped, and the current position is used as the target position. Therefore, when the distance between the beverage output port at the target position and the edge of the container opening is less than the distance between the initial position and the edge of the container opening, the path from the beverage output port to the container for the first type of beverage ingredient and / or the second type of beverage ingredient becomes shorter, and the problem of splashing of the first type of beverage ingredient and / or the second type of beverage ingredient can be improved. At the same time, the sensing component makes the edge of the container opening, the top of the first type of beverage ingredient in the container, and / or the liquid level of the second type of beverage ingredient in the container during the process of outputting the first type of beverage ingredient and / or the second type of beverage ingredient all within the sensing range of the sensing component at the target position. Thus, during the process of the beverage output device outputting the first type of beverage ingredient and / or the second type of beverage ingredient to the container, the sensing component obtains the detected information, and when the detected information meets the preset conditions, the output of the first type of beverage ingredient and / or the second type of beverage ingredient is stopped, which can avoid the overflow of the first type of beverage ingredient and / or the second type of beverage ingredient. Description of the Drawings
[0021] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings, where:
[0022] Figure 1 is a schematic diagram of the electrical connection structure of an embodiment of the beverage output device provided by the present application;
[0023] Figure 2 is a schematic diagram of the structure of an embodiment of the beverage output device provided by the present application;
[0024] Figure 3 is a schematic diagram of the structure of an embodiment of the movement track provided by the present application;
[0025] Figure 4 is a schematic flowchart of an embodiment of the control method for the beverage output device provided by the present application;
[0026] Figure 5 is a schematic diagram of an embodiment for obtaining the vertical distance C1 between the initial position of the beverage output port and the edge of the container opening in the control method for the beverage output device provided by the present application;
[0027] Figure 6 is a schematic flowchart of another embodiment of the control method for the beverage output device provided by the present application;
[0028] Figure 7 is a schematic flowchart of yet another embodiment of the control method for the beverage output device provided by the present application;
[0029] Figure 8 is a schematic flowchart of an embodiment of step S130 (or S230, or S330) in the control method for the beverage output device provided by the present application;
[0030] Figure 9 is a schematic diagram of the top distance detection of the first type of beverage ingredient in an embodiment of the control method for the beverage output device provided by the present application;
[0031] Figure 10 is a schematic diagram of the liquid level distance detection of the second type of beverage ingredient in an embodiment of the control method for the beverage output device provided by the present application;
[0032] Figure 11It is a schematic diagram for detecting the distance from the top of the first type of beverage ingredient to the liquid level of the second type of beverage ingredient in an embodiment of the control method for a beverage output device provided by the present application;
[0033] Figure 12 It is a schematic structural diagram of an embodiment of a storage medium provided by the present application. Detailed implementation manners
[0034] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0035] It should be noted that if there are directional indications (such as up, down, left, right, front, back,...) involved in the embodiments of the present application, then the directional indications are only used to explain the relative positional relationship and movement conditions between components in a specific posture (as shown in the accompanying drawings). If this specific posture changes, the directional indications will also change accordingly.
[0036] In addition, if there are descriptions such as "first", "second", etc. involved in the embodiments of the present application, then the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between various embodiments can be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope required by the present application.
[0037] The present application provides a beverage output device. Refer to Figures 1 to 3 , Figure 1 It is a schematic diagram of the electrical connection structure of an embodiment of the beverage output device provided by the present application, Figure 2 It is a schematic diagram of the structure of an embodiment of the beverage output device provided by the present application, Figure 3 It is a schematic diagram of the structure of an embodiment of the movement track provided by the present application, as Figures 1 to 3As shown in the figure, the beverage output device 10 provided in the present application includes an instruction receiving component 110, a beverage output port 120, a moving component 130, a sensing component 140, and a processor 180. Among them, the instruction receiving component 110 is used to receive user instructions, and the user instructions include a first instruction, a second instruction, and a third instruction. The first instruction is an instruction to output the second type of beverage ingredients, the second instruction is an instruction to output the first type of beverage ingredients, and the third instruction is an instruction to output the first type of beverage ingredients and the second type of beverage ingredients. Among them, the instruction receiving component 110 may include an input area of a button, a knob, a microphone, a camera, or a display screen provided on the beverage output device 10; or the beverage output device 10 is used to be wired or wirelessly connected to the user's client, and the instruction receiving component 110 includes an antenna, a connector provided on the beverage output device 10, and an input area of a button, a knob, a microphone, a camera, or a display screen provided on the client.
[0038] The beverage output port 120 is used to output beverages, where the beverages include the first type of beverage ingredients and / or the second type of beverage ingredients. Specifically, the first type of beverage ingredients may include ingredients with a fixed shape, elastic ingredients, and ingredients with poor fluidity. For example, ice cubes, crushed ice, red beans, mung beans, peanuts, pearls in pearl milk tea, nata de coco, taro balls, milk jelly, jelly, turtle jelly, fruit puree, taro puree, ice cream, puffed food, baked food, etc.; the second type of beverage ingredients may include ingredients with high fluidity. For example, water, fruit juice, milk, coffee, cola, soy milk, etc. The moving component 130 is connected to the beverage output port 120, and the moving component 130 is used to move the beverage output port 120. The beverage output port 120 and the sensing component 140 are located above the carrying platform 160, and the carrying platform 160 is used to carry the container 150, and the container 150 is used to receive the beverage. Among them, the sensing component 140 is relatively fixed with the beverage output port 120, that is, during the synchronous movement of the sensing component 140 and the beverage output port 120, the relative positional relationship between the sensing component 140 and the beverage output port 120 remains unchanged. Among them, the sensing component 140 is used to collect sensing signals. The processor 180 is connected to the instruction receiving component 110, the moving component 130, and the sensing component 140.
[0039] Among them, the processor 180 is used to execute a control method for controlling the beverage output device 10. The processor 180 receives user instructions, which include a first instruction, a second instruction, and a third instruction. The first instruction is an instruction to output a second type of beverage ingredient, the second instruction is an instruction to output a first type of beverage ingredient, and the third instruction is an instruction to output a first type of beverage ingredient and a second type of beverage ingredient; the processor 180 controls the moving component 130 to move the beverage outlet 120 downward from the initial position; the processor 180 determines whether the vertical distance C2 between the initial position obtained at the current position of the beverage outlet and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening; if so, taking the current position as the target position, the processor 180 controls the moving component 130 to stop to control the beverage outlet 120 to stop moving downward; the beverage outlet 120 outputs the first type of beverage ingredient and / or the second type of beverage ingredient to the container 150 for receiving the beverage according to the user instruction, and stops outputting the first type of beverage ingredient and / or the second type of beverage ingredient in response to the detected information obtained meeting the preset conditions; if not, the state of the downward movement of the beverage outlet 120 is maintained, and the step of determining whether the vertical distance C2 between the initial position obtained when the beverage outlet is at the current position and the edge of the opening of the container 150 is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the opening of the container 150 is returned for execution.
[0040] For the specific control method for the beverage output device, reference can be made to the following text.
[0041] After receiving a user instruction, the beverage output device 10 of this embodiment controls the moving component 130 to move the beverage output port 120 downward from the initial position, and during the downward movement, it determines whether the vertical distance C2 between the initial position obtained when the beverage output port 120 is at the current position and the opening edge of the container 150 is less than the vertical distance C1 between all the initial positions obtained before the current time point and the opening edge of the container 150. When the vertical distance C2 between the initial position obtained when at the current position and the opening edge of the container 150 is greater than or equal to the vertical distance C1 between all the initial positions obtained before the current time point and the opening edge of the container 150, it means that the distance between the opening edge of the container 150 and the sensing component 140 is relatively large, and the opening edge of the container 150 may be in an area with low accuracy of the sensing component 140. Then, it controls the beverage output port 120 to continue moving downward until the vertical distance C2 between the initial position obtained when at the current position and the opening edge of the container 150 is less than the vertical distance C1 between all the initial positions obtained before the current time point and the opening edge of the container 150, and stops moving downward, and takes the current position as the target position, so that during the process of the opening edge of the container 150, outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient, the top of the first type of beverage ingredient and / or the liquid level of the second type of beverage ingredient in the container 150 are all within the sensing range of the sensing component 140, thereby improving the accuracy of the sensing component 140 and reducing the probability of beverage splashing; further, improving the user experience of the beverage output device 10.
[0042] Optionally, the beverage output port 120 of this embodiment has a movement track 121. The movement track 121 has a first end 1211 far from the carrier 160 and a second end 1212 close to the carrier 160. The processor 180 controls the moving component 130 to move so that the beverage output port 120 moves on the movement track 121 between the first end 1211 and the second end 1212, thereby changing the distance between the beverage output port 120 and the opening edge of the container 150, and further reducing the probability of the first type of beverage ingredient and / or the second type of beverage ingredient splashing or overflowing the container 150 during the process of the beverage output port 120 outputting beverages to the container 150; further, improving the user experience of the beverage output device 10.
[0043] Optionally, the sensing component 140 is an ultrasonic detector, a time-of-flight detector or a camera.
[0044] Optionally, the beverage output device 10 of this embodiment further includes a water receiving box 170 and a prompting component 190. Among them, the prompting component 190 is connected to the processor 180, and the prompting component 190 is used to output a prompt message under the control of the processor 180. Specifically, the prompting component 190 may include: a buzzer, a speaker, an indicator light, etc. The prompt message can be output in ways such as buzzer prompt, speaker voice broadcast, indicator light lighting or flashing, display on a display, touch screen display, APP remote reminder, etc. The prompt message can be text or a picture output by the display screen; the LED light emits light or flashes; the speaker plays sound; the vibrator generates vibration, etc.
[0045] Among them, a water level sensor 171 is arranged in the water receiving box 170. The water level sensor 171 is connected to the processor 180, and the water receiving box 170 is located under the carrying platform 160. Among them, the water receiving box 170 is used to receive the liquid flowing out of the carrying platform 160 to avoid, for example, the first type of beverage ingredients and / or the second type of beverage ingredients output from the beverage output port 120 staying on the carrying platform 160 due to situations such as a user temporarily taking away the container 150, moving the container 150, or replacing the container 150. Further, the processor 180 obtains the water level of the water receiving box 170 from the water level sensor 171, and reminds the user to pour water when the water receiving box 170 reaches the preset water level, so as to avoid the water in the water receiving box 170 overflowing during the process of the beverage output device 10 outputting the first type of beverage ingredients and / or outputting the second type of beverage ingredients.
[0046] For example, the processor 180 obtains the water level of the water receiving box 170 from the water level sensor 171, determines that the current water level of the water receiving box 170 reaches the preset water level, and the beverage output port 120 will not output the first type of beverage ingredients and / or output the second type of beverage ingredients. The processor 180 controls the prompting component 190 to output a prompt message corresponding to the water level of the water receiving box 170 to remind the user to clean the water receiving box 170 in time.
[0047] Among them, the beverage output device 10 can be independently set to implement a movable beverage output device 10, or the beverage output device 10 can also be set on, for example, the door body of other household electrical appliances such as a refrigerator, a wall, a workbench surface, etc.
[0048] This application provides a control method for a beverage output device. Among them, the beverage output device is any one of the beverage output device embodiments described above. The beverage output device of this embodiment has a sensing component and a beverage output port. The beverage output port and the sensing component are located above the carrying platform. The sensing component is used to move synchronously with the beverage output port, and the carrying platform is used to carry the container. Refer to Figure 4 , Figure 4 is a schematic flowchart of an embodiment of the control method for a beverage output device provided by this application. As Figure 4 shown, the control method includes the following steps:
[0049] Step S110: Receive a user instruction, where the user instruction includes a first instruction, a second instruction, and a third instruction. The first instruction is an instruction to output the first type of beverage ingredient, the second instruction is an instruction to output the second type of beverage ingredient, and the third instruction is an instruction to output the first type of beverage ingredient and the second type of beverage ingredient.
[0050] The beverages that the beverage output device can output include the first type of beverage ingredient and / or the second type of beverage ingredient. Then, the user instructions of the beverage output device can include a first instruction, a second instruction, and a third instruction. Among them, the first instruction is an instruction to output the first type of beverage ingredient, the second instruction is an instruction to output the second type of beverage ingredient, and the third instruction is an instruction to first output the first type of beverage ingredient and then output the second type of beverage ingredient.
[0051] Step S120: The beverage outlet moves downward from the initial position.
[0052] After receiving the user instruction, the beverage outlet moves downward from the initial position. The beverage outlet can be close to the opening edge of the container to prevent the first type of beverage ingredient and / or the second type of beverage ingredient from splashing due to the beverage outlet being too high from the opening edge of the container. At the same time, the sensing component moves synchronously with the beverage outlet, so that the sensing component is located at a suitable position where it can detect the opening edge of the container and the top of the first type of beverage ingredient and / or the liquid level of the second type of beverage ingredient in the container, that is, the opening edge of the container and the top of the first type of beverage ingredient and / or the liquid level of the second type of beverage ingredient in the container are within the inspection range of the sensing component, avoiding any one of the opening edge of the container, the top of the first type of beverage ingredient in the container, and the liquid level of the second type of beverage ingredient in the container from being in the blind area of the sensing component.
[0053] Optionally, the beverage output device of this embodiment further includes a carrier for carrying the container. The beverage outlet is located above the carrier. The beverage outlet has a movement track with a first end away from the carrier and a second end close to the carrier, and the initial position is at the first end. It can be understood that since the movement track of the beverage outlet has a first end away from the carrier and a second end close to the carrier, when the beverage outlet moves on the movement track between the first end and the second end, the beverage outlet moves upward when moving towards the first end, and the beverage outlet moves downward when moving towards the second end. Correspondingly, when the beverage outlet moves towards the second end, it can be close to the opening edge of the container, and when the beverage outlet moves towards the first end, it can be away from the opening edge of the container. The initial position of this embodiment is the first end. Then, in the step of the beverage outlet moving downward from the initial position, the beverage outlet moves from the first end towards the second end.
[0054] The initial position of this embodiment is set at the first end away from the carrier, so that the sensing component moves from the position farthest from the container towards the second end and gradually approaches the opening edge of the container to find a suitable position.
[0055] Step S130: Determine whether the vertical distance C2 between the initial position obtained when the beverage outlet is at the current position and the opening edge of the container is less than the vertical distance C1 between all the initial positions obtained before the current time point and the opening edge of the container.
[0056] The beverage outlet moves synchronously with the sensing component. During the process of the beverage outlet moving downward from the initial position, the sensing component measures in real time the distance between the sensing component and the opening edge of the container, that is, measures the vertical distance between the beverage outlet and the opening edge of the container, and continuously updates the vertical distance between the initial position obtained at the current position and the opening edge of the container. Among them, there is a situation where the actual opening edge of the container cannot be detected during the downward movement of the sensing component. For example, the edge obtained by the sensing component is the bottom of the container, or the edge of the side wall between the opening edge of the container and the bottom of the container. Therefore, during the downward movement, when the vertical distance C2 between the initial position obtained by the sensing component at the current position and the opening edge of the container is less than the vertical distance C1 between all the initial positions obtained before the current time point and the opening edge of the container, it can be considered that the sensing component has detected the actual position of the opening edge of the container. In order to find the actual position of the opening edge of the container and find a suitable beverage output position for the container, it is determined whether the vertical distance C2 between the initial position obtained when the beverage outlet is at the current position and the opening edge of the container is less than the vertical distance C1 between all the initial positions obtained before the current time point and the opening edge of the container during the downward movement of the beverage outlet.
[0057] Optionally, the method for obtaining the vertical distance C1 between the initial position of the beverage outlet and the opening edge of the container can be referred to Figure 5 , Figure 5 is a schematic structural diagram of an embodiment for obtaining the vertical distance C1 between the initial position of the beverage outlet and the opening edge of the container in the control method for a beverage output device provided by the present application. As Figure 5 shown, the vertical distance that the beverage outlet moves downward is B1, and the vertical distance between the beverage outlet obtained by the sensing component and the opening edge of the container is A1. Then, the vertical distance C1 between the initial position of the beverage outlet and the opening edge of the container is the sum of the vertical distance B1 that the beverage outlet moves downward and the vertical distance A1 between the beverage outlet and the opening edge of the container. It can be expressed by the formula as:
[0058] C1 = A1 + B1
[0059] Step S140: If so, use the current position as the target position, stop the downward movement of the beverage outlet, and output the first type of beverage ingredient and / or the second type of beverage ingredient to the container for receiving the beverage according to the user instruction. In response to the detected information meeting the preset conditions, stop outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient.
[0060] If the vertical distance C2 between the initial position obtained at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening, it can be considered that the sensing component has detected the actual edge of the container opening, and the distance between the beverage outlet and the edge of the container opening is relatively close. The beverage output device stops the downward movement of the beverage outlet with the current position as the target position. After the beverage outlet stops moving, the beverage outlet outputs the beverage corresponding to the user instruction to the container for receiving the beverage at the target position. During the process of the beverage outlet outputting the beverage to the container, the detection information inside the container is obtained in real time. The beverage output device stops outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient in response to the detected information meeting the preset conditions, so as to prevent the first type of beverage ingredient and / or the second type of beverage ingredient from splashing or overflowing. Among them, the detection information can be the distance between the top of the first type of beverage ingredient and / or the liquid level of the second type of beverage ingredient and the bearing platform, or can be the vertical distance between the top of the first type of beverage ingredient and / or the liquid level of the second type of beverage ingredient and the beverage outlet, or can be the vertical distance between the top of the first type of beverage ingredient and / or the liquid level of the second type of beverage ingredient and the sensing component.
[0061] The detection information includes the first information and / or the second information.
[0062] Optionally, in this embodiment, the first information is the vertical distance between the edge of the container opening and the top of the first type of beverage ingredient, and the second information is the vertical distance between the edge of the container opening and the liquid level of the second type of beverage ingredient. In this embodiment, by monitoring in real time the vertical distance between the edge of the container opening and the top of the first type of beverage ingredient, and / or the vertical distance between the edge of the container opening and the liquid level of the second type of beverage ingredient, and stopping outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient when the vertical distance between the edge of the container opening and the top of the first type of beverage ingredient and / or the liquid level of the second type of beverage ingredient in the container meets the preset conditions, so as to prevent the first type of beverage ingredient and / or the second type of beverage ingredient from splashing or overflowing.
[0063] For example, to prevent the beverage from overflowing the container or splashing, during the output of the beverage, it is determined whether the detection information in the container meets the preset conditions. When the sensing component detects that the vertical distance between the edge of the container opening and the top of the first type of beverage ingredient meets the first piece of information, the beverage output port stops outputting the first type of beverage ingredient; when the sensing component detects that the vertical distance between the edge of the container opening and the liquid level of the first type of beverage ingredient meets the second piece of information, the beverage output port stops outputting the second type of beverage ingredient.
[0064] Step S150: If not, then maintain the state of the beverage output port moving downward, and return to execute the step of determining whether the vertical distance C2 between the initial position obtained when the beverage output port is at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening.
[0065] If the vertical distance C2 between the initial position obtained at the current position and the edge of the container opening is not less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening, that is, the sensing component does not detect the actual edge of the container opening, then maintain the state of the beverage output port moving downward, and return to execute step S130.
[0066] The present application provides a control method for a beverage output device. The beverage output device has a sensing component and a beverage outlet. The beverage outlet and the sensing component are located above a carrying platform. The sensing component is used to move synchronously with the beverage outlet. The control method includes receiving a user instruction, where the user instruction includes a first instruction, a second instruction, and a third instruction. The first instruction is an instruction to output a first type of beverage ingredient, the second instruction is an instruction to output a second type of beverage ingredient, and the third instruction is an instruction to output the first type of beverage ingredient and the second type of beverage ingredient. The beverage outlet moves downward from an initial position. It is determined whether the vertical distance C2 between the initial position obtained when the beverage outlet is at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening. If so, the current position is taken as the target position, and the downward movement of the beverage outlet is stopped. The first type of beverage ingredient and / or the second type of beverage ingredient is output to the container receiving the beverage according to the user instruction. In response to the detected information obtained meeting a preset condition, the output of the first type of beverage ingredient and / or the second type of beverage ingredient is stopped. If not, the state of the downward movement of the beverage outlet is maintained, and the step of determining whether the vertical distance C2 between the initial position obtained when the beverage outlet is at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening is returned for execution. Through the above method, after receiving the user instruction, the beverage output device controls the beverage outlet to move downward from the initial position, and continuously confirms during the downward movement whether the vertical distance C2 between the initial position obtained at the current position of the beverage outlet and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening until the vertical distance C2 between the initial position obtained at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point, at which time the downward movement is stopped, and the current position is taken as the target position. Therefore, when the distance between the beverage outlet at the target position and the edge of the container opening is less than the distance between the initial position and the edge of the container opening, the path of the first type of beverage ingredient and / or the second type of beverage ingredient from the beverage outlet to the container becomes shorter, and the problem of splashing of the first type of beverage ingredient and / or the second type of beverage ingredient can be improved. At the same time, at the target position, the sensing component enables the edge of the container opening, the top of the first type of beverage ingredient and / or the liquid surface of the second type of beverage ingredient in the container during the output of the first type of beverage ingredient and / or the second type of beverage ingredient to be within the sensing range of the sensing component, so that during the process of the beverage output device outputting the first type of beverage ingredient and / or the second type of beverage ingredient to the container, the sensing component obtains detected information, and when the detected information meets the preset condition, the output of the first type of beverage ingredient and / or the second type of beverage ingredient is stopped, which can avoid the overflow of the first type of beverage ingredient and / or the second type of beverage ingredient.
[0067] Refer to Figure 6 , Figure 6 which is a schematic flowchart of another embodiment of the control method for a beverage output device provided by this application. As Figure 6 shown, the control method for the beverage output device in this embodiment includes steps S210 - S270:
[0068] Step S210: Receive a user instruction, where the user instruction includes a first instruction, a second instruction, and a third instruction. The first instruction is an instruction to output a first type of beverage ingredient, the second instruction is an instruction to output a second type of beverage ingredient, and the third instruction is an instruction to output both the first type of beverage ingredient and the second type of beverage ingredient.
[0069] For the specific implementation manner of step S210, any implementation manner of step S110 can be referred to, and details are not described here.
[0070] Step S220: The beverage output port moves downward from the initial position.
[0071] For the specific implementation manner of step S220, any implementation manner of step S120 can be referred to, and details are not described here.
[0072] Step S230: Determine whether the vertical distance C2 between the initial position obtained when the beverage output port is at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening.
[0073] For the specific implementation manner of step S230, any implementation manner of step S130 can be referred to, and details are not described here.
[0074] Step S240: If so, use the current position as the target position, stop the downward movement of the beverage output port, output the first type of beverage ingredient and / or the second type of beverage ingredient to the container for receiving the beverage according to the user instruction, and stop outputting the first type of beverage ingredient and / or the second type of beverage ingredient in response to the detected information meeting the preset conditions.
[0075] For the specific implementation manner of step S240, any implementation manner of step S140 can be referred to, and details are not described here.
[0076] Step S250: If not, maintain the state of the downward movement of the beverage output port, and return to execute the step of determining whether the vertical distance C2 between the initial position obtained when the beverage output port is at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening.
[0077] For the specific implementation manner of step S250, any implementation manner of step S150 can be referred to, and details are not described here.
[0078] Step S260: In response to the step of stopping the beverage outlet from moving downward, determining whether the water level in the water receiving box reaches a preset water level according to a signal obtained by the water level sensor.
[0079] The water receiving box is used to receive the first type of beverage ingredients and / or the second type of beverage ingredients flowing out of the carrier, so as to avoid the first type of beverage ingredients and / or the second type of beverage ingredients outputted from the beverage output port from being retained on the carrier due to, for example, the user temporarily taking away the container, moving the container or replacing the container. The beverage output device obtains the amount of water in the water receiving box from the water level sensor, and does not output the first type of beverage ingredients and / or the second type of beverage ingredients when the water receiving box reaches the preset water level of the preset carrying capacity, so as to avoid the water in the water receiving box from overflowing during the process of the beverage output device outputting the first type of beverage ingredients and / or the second type of beverage ingredients. Generally, after the beverage output port moves downward to a suitable position, the beverage output device will output the first type of beverage ingredients and / or the second type of beverage ingredients to the container according to the user's instructions. In order to avoid the first type of beverage ingredients and / or the second type of beverage ingredients outputted from the beverage output port from filling the water receiving box and then overflowing due to, for example, the user temporarily taking away the container, moving the container or replacing the container, the water level in the water receiving box can be detected by setting a water level sensor to control whether the beverage output port outputs.
[0080] Step S270: If yes, the prompt component outputs prompt information.
[0081] If the water level in the water receiving box reaches the preset water level, that is, the water volume in the water receiving box reaches the preset water volume, it means that if the first category of beverage ingredients and / or the second category of beverage ingredients enter the water receiving box, the liquid in the water receiving box will overflow. Therefore, at this time, the beverage output device will not output the first category of beverage ingredients and / or output the second category of beverage ingredients, and the prompt component outputs a water receiving box prompt information to remind the user to clean the water receiving box in time.
[0082] If the water level in the water receiving box does not reach the preset water level, that is, the water receiving box continues to receive a certain amount of water without overflowing, the beverage output device returns to execute the output of the first category of beverage ingredients and / or the second category of beverage ingredients to the container for receiving the beverage according to the user's instructions, and at the same time continues to determine whether the water level in the water receiving box reaches the preset water level based on the detection signal obtained by the water level sensor. If so, stop outputting the first category of beverage ingredients and / or the second category of beverage ingredients and outputting prompt information.
[0083] After the step of stopping the downward movement of the beverage outlet, before the beverage output device outputs the first type of beverage ingredient and / or outputs the second type of beverage ingredient to the container for receiving the beverage according to the user instruction, it is determined whether the water level in the water receiving box reaches the preset water level. When the water level in the water receiving box reaches the preset water level, the beverage outlet will not output the first type of beverage ingredient and / or output the second type of beverage ingredient, so as to prevent the water in the water receiving box from overflowing during the process of the beverage output device outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient, and the prompting component outputs a water receiving box prompt message to remind the user to clean the water receiving box in time.
[0084] Optionally, referring to Figure 7 , Figure 7 is a schematic flowchart of another embodiment of the control method for a beverage output device provided by the present application. As Figure 7 shown, the control method may further include steps S310 - S370:
[0085] Step S310: Receive a user instruction, where the user instruction includes a first instruction, a second instruction, and a third instruction. The first instruction is an instruction to output the first type of beverage ingredient, the second instruction is an instruction to output the second type of beverage ingredient, and the third instruction is an instruction to output the first type of beverage ingredient and the second type of beverage ingredient.
[0086] Among them, the user instruction includes a first instruction, a second instruction, and a third instruction. Specifically, the specific implementation manner of step S310 may refer to any one of the implementation manners of step S110, which will not be elaborated here.
[0087] Step S320: The beverage outlet moves downward from the initial position.
[0088] The specific implementation manner of step S320 may refer to any one of the implementation manners of step S120, which will not be elaborated here.
[0089] Step S330: Determine whether the vertical distance C2 between the initial position and the edge of the container opening obtained when the beverage outlet is at the current position is less than the vertical distance C1 between all the initial positions and the edge of the container opening obtained before the current time point.
[0090] The specific implementation manner of step S330 may refer to any one of the implementation manners of step S130, which will not be elaborated here.
[0091] Step S340: If so, use the current position as the target position, stop the downward movement of the beverage outlet, output the first type of beverage ingredient and / or output the second type of beverage ingredient to the container for receiving the beverage according to the user instruction, and stop outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient in response to the obtained detection information meeting the preset conditions.
[0092] For the specific implementation of step S340, any implementation of step S140 can be referred to, which will not be elaborated here.
[0093] Step S350: If not, maintain the state of the beverage outlet moving downward, and return to execute the step of determining whether the vertical distance C2 between the obtained initial position when the beverage outlet is at the current position and the edge of the container opening is less than the vertical distance C1 between all the previously obtained initial positions and the edge of the container opening before the current time point.
[0094] For the specific implementation of step S350, any implementation of step S150 can be referred to, which will not be elaborated here.
[0095] Step S360: In response to the step of receiving a user instruction, determine whether the water level in the water receiving box reaches a preset water level according to the detection signal obtained by the water level sensor.
[0096] The beverage output device determines the water level of the water receiving box according to the signal obtained by the water level sensor, and when the water level of the water receiving box reaches the preset water level of the preset carrying capacity, the prompting component outputs a water receiving box prompt message to prevent the water in the water receiving box from overflowing during the process of the beverage output device outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient.
[0097] Step S370: If so, the prompting component outputs a prompt message.
[0098] If the water level in the water receiving box reaches the preset water level, the prompting component outputs a water receiving box prompt message to remind the user to clean the water receiving box.
[0099] If the water level in the water receiving box does not reach the preset water level, that is, a certain amount of water can continue to be received in the water receiving box without overflowing, then step S320 is continued to be executed.
[0100] In this embodiment, after receiving a user instruction, it is determined whether the water level in the water receiving box reaches the preset water level. When the water level in the water receiving box reaches the preset water level, the prompting component outputs a water receiving box prompt message to remind the user to clean the water receiving box to prevent the water in the water receiving box from overflowing during the process of the beverage output device outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient.
[0101] Optionally, in response to stopping the output of the first type of beverage ingredient and / or outputting the second type of beverage ingredient, control the beverage outlet to move to the initial position. That is, after stopping the output of the first type of beverage ingredient and / or outputting the second type of beverage ingredient, the beverage outlet can also be controlled to move to the initial position to facilitate the removal of the container and the cleaning of the water receiving box.
[0102] Optionally, refer to Figure 8 , Figure 8 is a schematic flowchart of an embodiment of step S130 (or S230, or S330) provided by this application. AsFigure 8 As shown, the specific implementation of step S130 (or S230, or S330) may include steps S131 - S134:
[0103] Step S131: The transmitting end of the sensing component emits a detection wave.
[0104] During the process of the beverage outlet moving downward from the initial position, the sensing component moves downward synchronously, and the beverage output device controls the transmitting end of the sensing component to emit a detection wave to the container. Wherein, the sensing component in this embodiment is an ultrasonic sensing component, so the detection wave is ultrasonic wave.
[0105] Step S132: The receiving end of the sensing component receives the echo of the detection wave.
[0106] After the detection wave encounters the edge of the container, it is reflected, and the receiving end of the sensing component receives the reflected detection wave, that is, the receiving end of the sensing component receives the echo of the ultrasonic wave. In this embodiment, after the detection wave encounters the edge of the container opening, it is reflected back to the receiving end of the sensing component.
[0107] Step S133: In response to the signal intensity of the echo being lower than the lower limit of the preset signal intensity range, increase the transmitting power of the transmitting end of the sensing component.
[0108] When the sensing component measures the edge of the container opening at the initial position, at this time, the sensing component is the farthest from the edge of the container opening, and there is a situation where the signal intensity of the echo is lower than the lower limit of the preset signal intensity range of the receiving end of the sensing component. In order to improve the accuracy of measuring the position of the container opening edge, the beverage output device increases the transmitting power of the transmitting end of the sensing component in response to the signal intensity of the echo being lower than the lower limit of the preset signal intensity range, increases the signal intensity of the detection wave, and thus increases the signal intensity of the echo.
[0109] Specifically, the beverage output device increases the transmitting power of the transmitting end of the sensing component until the signal intensity of the echo received by the receiving end of the sensing component at the initial position reaches the lower limit of the preset signal intensity range.
[0110] In other embodiments, the beverage output device sets the transmitting power of the transmitting end of the sensing component to the maximum transmitting power. If the signal intensity of the echo at this time does not reach the upper limit of the preset signal intensity range, the transmitting power of the transmitting end of the sensing component is maintained at the maximum transmitting power.
[0111] Step S134: In response to the signal intensity of the echo being higher than the upper limit of the preset signal intensity range, decrease the transmitting power of the transmitting end of the sensing component.
[0112] During the process of the sensing component moving downward from the initial position, the distance between the sensing component and the edge of the container opening gradually decreases, and there is a situation where the signal intensity of the echo exceeds the upper limit of the preset signal intensity range of the receiving end of the sensing component. To improve the accuracy of measuring the position of the container opening edge, when the signal intensity of the echo is higher than the upper limit of the preset signal intensity range, the beverage output device reduces the transmission power of the transmitting end of the sensing component to reduce the signal intensity of the detection wave, thereby reducing the echo signal intensity.
[0113] In the beverage output device of this embodiment, during the process of the beverage outlet moving downward from the initial position, the transmitting end of the sensing component is controlled to emit a detection wave, and when the signal intensity of the echo received by the receiving end of the sensing component is lower than the lower limit of the preset signal intensity range, the transmission power of the transmitting end of the sensing component is increased, and when the signal intensity of the echo is higher than the upper limit of the preset signal intensity range, the transmission power of the transmitting end of the sensing component is reduced, so as to improve the signal intensity of the echo by adjusting the transmission power of the transmitting end of the sensing component in real time, thereby improving the detection accuracy of the position of the container opening edge.
[0114] Optionally, this embodiment provides a method for obtaining detection information, where the detection information includes the first information and / or the second information. The first information is the vertical distance E1 between the edge of the container opening and the top of the first type of beverage ingredient; the second information is the vertical distance E2 between the edge of the container opening and the liquid level of the second type of beverage ingredient. When the beverage outlet outputs the first type of beverage ingredient to the container at the target position, at this time, the vertical distance that the beverage outlet moves downward is B2, the vertical distance between the beverage outlet and the top of the first type of beverage ingredient obtained by the sensing component is D, and the vertical distance between the initial position and the edge of the container opening obtained at the current position (i.e., the target position) is C2. Then the first information is the difference between the sum of the vertical distance B2 that the beverage outlet moves downward and the vertical distance D between the beverage outlet and the top of the first type of beverage ingredient obtained by the sensing component and the vertical distance C2 between the initial position and the edge of the container opening obtained at the current position; or, the second information is the difference between the sum of the vertical distance B2 that the beverage outlet moves downward and the vertical distance D between the beverage outlet and the liquid level of the second type of beverage ingredient obtained by the sensing component and the vertical distance C2 between the initial position and the edge of the container opening obtained at the current position.
[0115] The first information of this embodiment can be expressed by the formula: E1 = B2 + D - C2.
[0116] The second information of this embodiment can be expressed by the formula: E2 = B2 + D - C2.
[0117] Optionally, in step S140, according to the user instruction, in response to the obtained detection information meeting the preset conditions, the specific implementation manners of stopping the output of the first type of beverage ingredient and / or outputting the second type of beverage ingredient may include:
[0118] In response to the user instruction being the first instruction, output the first type of beverage ingredient according to the first instruction, and stop outputting the first type of beverage ingredient when the acquired first information meets the first preset condition.
[0119] In response to the user instruction being the first instruction, the beverage output device outputs the first type of beverage ingredient according to the first instruction. Among them, refer to Figure 9 , Figure 9 is a schematic diagram of the top distance detection of the first type of beverage ingredient in an embodiment of the control method for a beverage output device provided by the present application. As Figure 9 shown, the vertical distance between the beverage output port and the top of the first type of beverage ingredient acquired by the sensing component is D, the vertical distance between the initial position acquired at the current position (i.e., the target position) and the edge of the container opening is C2, and the vertical distance by which the beverage output port moves downward is B2. The vertical distance between the edge of the container opening and the top of the first type of beverage ingredient when stopping the output of the first type of beverage ingredient is E 第一 , E 第一 is the minimum vertical distance between the edge of the container opening and the top of the first type of beverage ingredient when the first type of beverage ingredient will not splash out of the container according to data statistics or experience. During the process of the beverage output device outputting the first type of beverage ingredient to the container, the sensing component continuously detects and confirms the vertical distance D between the beverage output port and the top of the first type of beverage ingredient. When it is determined that B2 + D - C2 > E 第一 , that is, E1 > E 第一 , continue to output the first type of beverage ingredient; when it is determined that B2 + D - C2 ≤ E 第一 , that is, E1 ≤ E 第一 , it indicates that if the first type of beverage ingredient is continued to be filled, the phenomenon of splashing or overflowing of the first type of beverage ingredient will occur. At this time, stop outputting the first type of beverage ingredient. The first information meeting the first preset condition means that B2 + D - C2 ≤ E 第一 .
[0120] In response to the user instruction being the second instruction, output the second type of beverage ingredient according to the second instruction, and stop outputting the second type of beverage ingredient when the acquired second information meets the second preset condition.
[0121] In response to the user instruction being the second instruction, the beverage output device outputs the second type of beverage ingredient according to the second instruction. Among them, refer to Figure 10 , Figure 10 is a schematic diagram of the liquid level distance detection of the second type of beverage ingredient in an embodiment of the control method for a beverage output device provided by the present application. As Figure 10As shown, the vertical distance between the beverage outlet obtained by the induction component and the liquid level of the second type of beverage ingredient is D, the vertical distance between the initial position obtained at the current position (i.e., the target position) and the edge of the container opening is C2, and the vertical distance by which the beverage outlet moves downward is B2. The vertical distance between the edge of the container opening and the liquid level of the second type of beverage ingredient when stopping the output of the second type of beverage ingredient is E 第二 , E 第二 is the minimum vertical distance between the edge of the container opening and the liquid level of the second type of beverage ingredient when the second type of beverage ingredient will not splash out of the container, obtained based on data statistics or experience. During the process of the beverage output device outputting the second type of beverage ingredient to the container, the induction component continuously detects and confirms the vertical distance D between the beverage outlet and the liquid level of the second type of beverage ingredient. When it is determined that B2 + D - C2 > E 第二 , that is, E2 > E 第二 , continue to output the second type of beverage ingredient; when it is determined that B2 + D - C2 ≤ E 第二 , that is, E2 ≤ E 第二 , it means that if the second type of beverage ingredient is further filled, the second type of beverage ingredient will splash or overflow. At this time, stop outputting the second type of beverage ingredient. The second information meets the second preset condition, that is, B2 + D - C2 ≤ E 第二 .
[0122] In response to the user instruction being the third instruction, output the first type of beverage ingredient according to the third instruction. When the obtained first information meets the first preset condition, stop outputting the first type of beverage ingredient; output the second type of beverage ingredient according to the user instruction. When the obtained second information meets the second preset condition, stop outputting the second type of beverage ingredient.
[0123] In response to the user instruction being the third instruction, the beverage output device first outputs the first type of beverage ingredient according to the third instruction, and then outputs the second type of beverage ingredient. Refer to Figure 11 , Figure 11 is a schematic diagram of the top of the first type of beverage ingredient / liquid level distance detection of the second type of beverage ingredient in an embodiment of the control method for a beverage output device provided by the present application. As Figure 11 shown, when outputting the first type of beverage ingredient according to the third instruction, the induction component continuously detects and confirms the vertical distance D between the beverage outlet and the top of the first type of beverage ingredient. When it is determined that B2 + D - C2 > E 第一 , that is, E1 > E 第一 , continue to output the first type of beverage ingredient; when it is determined that B2 + D - C2 ≤ E 第一 , that is, E1 ≤ E 第一 , it means that if the first type of beverage ingredient is further filled, the first type of beverage ingredient will splash. At this time, the first information meets the first preset condition, and stop outputting the first type of beverage ingredient.
[0124] After the first type of drink ingredient is output, the second type of drink ingredient is output. When the second type of drink ingredient is output according to the third instruction, the sensing component detects and confirms the vertical distance D between the drink output port and the liquid level of the second type of drink ingredient in real time. When it is determined that B2 + D - C2 > E 第二 that is, E2 > E 第二 , continue to output the second type of drink ingredient; when it is determined that B2 + D - C2 ≤ E 第二 that is, E2 ≤ E 第二 , it means that splashing of the second type of drink ingredient will occur if the second type of drink ingredient is continued to be filled. At this time, the second information meets the second preset condition, and the output of the second type of drink ingredient is stopped.
[0125] It should be noted that outputting the first type of drink ingredient first and then the second type of drink ingredient can prevent splashing of the first type of drink ingredient and / or the second type of drink ingredient. In other implementation manners, it can also be outputting the second type of drink ingredient first and then the first type of drink ingredient.
[0126] Optionally, the first information in this embodiment is the vertical distance between the opening edge of the container and the top of the first type of drink ingredient, the first preset condition is that the vertical distance between the opening edge of the container and the top of the first type of drink ingredient is less than or equal to the first preset value, the second information is the vertical distance between the opening edge of the container and the liquid level of the second type of drink ingredient, and the second preset condition is that the vertical distance between the opening edge of the container and the liquid level of the second type of drink ingredient is less than or equal to the second preset value. Among them, the first preset value is greater than the second preset value. The first preset value can be 3 cm, 5 cm, 8 cm, 10 cm, 15 cm, etc., and the second preset value can be 1 cm, 2 cm, 4 cm, 5 cm, 7 cm, etc. Specifically, the first information is the vertical distance E1 between the opening edge of the container and the top of the first type of drink ingredient. The first preset condition is B2 + D - C2 ≤ the first preset value, that is, when the vertical distance between the opening edge of the container and the top of the first type of drink ingredient is less than or equal to the first preset value, the output of the first type of drink ingredient is stopped. The second information is the vertical distance E2 between the opening edge of the container and the liquid level of the second type of drink ingredient. The second preset condition is B2 + D - C2 ≤ the second preset value, that is, when the vertical distance between the opening edge of the container and the liquid level of the second type of drink ingredient is less than or equal to the second preset value, the output of the second type of drink ingredient is stopped. It should be noted that in other implementation manners, it is not limited that the first preset condition is that the vertical distance between the opening edge of the container and the top of the first type of drink ingredient is less than or equal to the first preset value, and the second preset condition is that the vertical distance between the opening edge of the container and the liquid level of the second type of drink ingredient is less than or equal to the second preset value. It can also be less than or equal to other distances, which is not limited here.
[0127] In some embodiments, the detection information includes the vertical distance between the top of the contents in the container and the edge of the container opening.
[0128] When there is only the first type of beverage ingredient in the container, the vertical distance between the top of the contents in the container and the edge of the container opening is the first information.
[0129] When there is only the second type of beverage ingredient in the container, the vertical distance between the top of the contents in the container and the edge of the container opening is the second information.
[0130] When the contents in the container include a mixture of the first type of beverage ingredient and the second type of beverage ingredient, if the first type of beverage ingredient sinks to the bottom of the second type of beverage ingredient or suspends in the second type of beverage ingredient, the vertical distance between the top of the contents in the container and the edge of the container opening is the second information; if the first type of beverage ingredient floats on the second type of beverage ingredient and the distance between the top of the first type of beverage ingredient protruding above the liquid level of the second type of beverage ingredient and the liquid level of the second type of beverage ingredient is small, for example, it can be less than 2 mm, less than 3 mm, less than 5 mm, etc., the vertical distance between the top of the contents in the container and the edge of the container opening is the second information or the first information; if the first type of beverage ingredient floats on the second type of beverage ingredient and the distance between the top of the first type of beverage ingredient protruding above the liquid level of the second type of beverage ingredient and the liquid level of the second type of beverage ingredient is large, for example, it can be greater than or equal to 5 mm, greater than or equal to 8 mm, greater than or equal to 1 cm, etc., the vertical distance between the top of the contents in the container and the edge of the container opening is the first information.
[0131] This application provides a storage medium. Refer to Figure 12 , Figure 12 is a schematic structural diagram of an embodiment of the storage medium provided by this application. As Figure 12 shown, the storage medium 90 stores program instructions, and the program instructions can be executed to implement any one of the control methods in the above-mentioned embodiments of the control method for the beverage output device.
[0132] Among them, the program instructions can form a program file and be stored in the above-mentioned storage medium in the form of a software product, so that an electronic device (which can be a personal computer, a server, or a network device, etc.) or a processor can execute all or part of the steps of the methods in various implementation manners of this application. And the aforementioned storage medium includes: various media that can store program codes such as USB flash drives, external hard drives, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks or optical discs, or terminal devices such as computers, servers, mobile phones, and tablets.
[0133] The storage medium 90 of this embodiment may be, but is not limited to, a USB flash drive, an SD card, a PD optical drive, a mobile hard disk, a large-capacity floppy drive, a flash memory, a multimedia memory card, a server, etc.
[0134] In the description of the present application, the description with reference to terms such as "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0135] The above are only the implementation manners of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.
Claims
1. A control method for a beverage output device, characterized in that, the beverage output device has a sensing component and a beverage output port, the beverage output port and the sensing component are located above a carrier, the sensing component is used to move synchronously with the beverage output port, and the control method includes: receiving a user instruction, the user instruction includes a first instruction, a second instruction, and a third instruction, the first instruction is an instruction to output a first type of beverage ingredient, the second instruction is an instruction to output a second type of beverage ingredient, and the third instruction is an instruction to output a first type of beverage ingredient and a second type of beverage ingredient; the beverage output port moves downward from an initial position; judging whether the vertical distance C2 between the initial position obtained when the beverage output port is at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening; if so, taking the current position as the target position, stopping the downward movement of the beverage output port; outputting a first type of beverage ingredient and / or a second type of beverage ingredient to a container for receiving the beverage according to the user instruction, and stopping outputting the first type of beverage ingredient and / or the second type of beverage ingredient in response to the obtained detection information meeting a preset condition; if not, maintaining the state of the downward movement of the beverage output port, and returning to execute the step of judging whether the vertical distance C2 between the initial position obtained when the beverage output port is at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening.
2. The control method according to claim 1, characterized in that, the beverage output device includes a carrier for carrying the container, the beverage output port is located above the carrier, the beverage output port has a movement track, the movement track has a first end away from the carrier and a second end close to the carrier, the initial position is located at the first end, and in the step of the beverage output port moving downward from the initial position, the beverage output port moves from the first end to the second end.
3. The control method according to claim 1, characterized in that, the vertical distance C1 between the initial position and the edge of the container opening is the sum of the vertical distance B1 of the downward movement of the beverage output port and the vertical distance A1 between the beverage output port and the edge of the container opening obtained by the sensing component.
4. The control method according to claim 1, characterized in that, the detection information includes first information and / or second information, and in the step of stopping outputting the first type of beverage ingredient and / or the second type of beverage ingredient according to the user instruction in response to the obtained detection information meeting a preset condition, it includes: in response to the user instruction being the first instruction, outputting the first type of beverage ingredient according to the first instruction, and stopping outputting the first type of beverage ingredient when the obtained first information meets a first preset condition; or In response to the user instruction being the second instruction, output the second type of drink ingredient according to the second instruction, and stop outputting the second type of drink ingredient when the acquired second information meets the second preset condition; or In response to the user instruction being the third instruction, output the first type of drink ingredient according to the third instruction, and stop outputting the first type of drink ingredient when the acquired first information meets the first preset condition; output the second type of drink ingredient according to the third instruction, and stop outputting the second type of drink ingredient when the acquired second information meets the second preset condition.
5. The control method according to claim 4, characterized in that the first information is the difference between the sum of the vertical distance B2 by which the drink outlet moves downward when the drink outlet is at the target position and the vertical distance D between the drink outlet and the top of the first type of drink ingredient acquired by the sensing component and the vertical distance C2 between the initial position acquired at the current position and the edge of the container opening; the second information is the difference between the sum of the vertical distance B2 by which the drink outlet moves downward when the drink outlet is at the target position and the vertical distance D between the drink outlet and the liquid level of the second type of drink ingredient acquired by the sensing component and the vertical distance C2 between the initial position acquired at the current position and the edge of the container opening.
6. The control method according to claim 4, characterized in that the first information is the vertical distance between the edge of the container opening and the top of the first type of drink ingredient when the drink outlet is at the target position, and the second information is the vertical distance between the edge of the container opening and the liquid level of the second type of drink ingredient when the drink outlet is at the target position.
7. The control method according to claim 5 or 6, characterized in that the first preset condition is that the vertical distance between the edge of the container opening and the top of the first type of drink ingredient is less than or equal to a first preset value, and the second preset condition is that the vertical distance between the edge of the container opening and the liquid level of the second type of drink ingredient is less than or equal to a second preset value, wherein the first preset value is greater than the second preset value.
8. The control method according to claim 1, characterized in that the drink output device further includes a water receiving box and a prompting component, a water level sensor is arranged in the water receiving box, the water receiving box is located under the bearing table, the prompting component is used to output a prompting message, and the control method further includes: In response to the step of stopping the downward movement of the drink outlet, judge whether the water level in the water receiving box reaches a preset water level according to the signal acquired by the water level sensor; if so, the prompting component outputs a prompting message; if not, return to execute outputting the first type of drink ingredient and / or outputting the second type of drink ingredient to the container for receiving the drink according to the user instruction, and at the same time continuously keep judging whether the water level in the water receiving box reaches the preset water level according to the detection signal acquired by the water level sensor, if so, stop outputting the first type of drink ingredient and / or outputting the second type of drink ingredient and outputting the prompting message; or The control method further includes: In response to the step of receiving the user instruction, judging whether the water level in the water receiving box reaches a preset water level according to the detection signal obtained by the water level sensor; If so, the prompting component outputs a prompt message; If not, execute the step of moving the drink outlet downward from the initial position.
9. The control method according to claim 8, wherein, it further includes: In response to stopping outputting the first type of drink ingredients and / or outputting the second type of drink ingredients, controlling the drink outlet to move towards the initial position.
10. The control method according to claim 1, wherein, In the step of judging whether the vertical distance C2 between the initial position obtained when the drink outlet is at the current position and the edge of the container opening is less than the vertical distance C1 between all the initial positions obtained before the current time point and the edge of the container opening, it includes: The transmitting end of the induction component emits a detection wave; The receiving end of the induction component receives the echo of the detection wave; In response to the signal intensity of the echo being lower than the lower limit of the preset signal intensity range, increasing the transmitting power of the transmitting end of the induction component; In response to the signal intensity of the echo being higher than the upper limit of the preset signal intensity range, decreasing the transmitting power of the transmitting end of the induction component.
11. The control method according to claim 1, wherein, The detection information includes the vertical distance between the top of the contents in the container and the edge of the container opening.
12. A drink output device, wherein, it includes: An instruction receiving component for receiving user instructions, the user instructions including a first instruction, a second instruction, and a third instruction, the first instruction being an instruction to output the first type of drink ingredients, the second instruction being an instruction to output the second type of drink ingredients, and the third instruction being an instruction to output the first type of drink ingredients and the second type of drink ingredients; A drink outlet for outputting drinks, the drinks including the first type of drink ingredients and / or the second type of drink ingredients; A moving component connected to the drink outlet, the moving component being used to move the drink outlet; An induction component, the induction component being located above the bearing platform; A processor connected to the instruction receiving component, the moving component, and the induction component, the processor being used to execute the control method according to any one of claims 1-11.
13. The drink output device according to claim 12, wherein, The drink outlet has a movement track, and the movement track has a first end away from the bearing platform and a second end close to the bearing platform.
14. The drink output device according to claim 12, wherein, The induction component is an ultrasonic detector, a time-of-flight detector, or a camera.
15. The drink output device according to any one of claims 12-14, wherein, The beverage output device further includes a water receiving box and a prompting component. A water level sensor is disposed in the water receiving box. The water level sensor is connected to the processor. The water receiving box is located below the bearing platform. The prompting component is connected to the processor, and the prompting component is configured to output a prompt message under the control of the processor.
16. A storage medium, characterized in that, the storage medium stores program instructions, and the program instructions can be executed to implement the control method according to any one of claims 1-11.