Control method for beverage output equipment, beverage output equipment and storage medium
By using the first induction assembly rotating around the beverage output port in the beverage output device, the problem of low container positioning accuracy in the prior art is solved, and accurate detection of container height and liquid level height is achieved.
Patent Information
- Application Number
- CN202311599112.9
- 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
The existing beverage output equipment has low accuracy in positioning the container, resulting in inaccurate detection of container height and water level height.
A beverage output device including a carrier table, a beverage output port and a first induction assembly are used. The first induction assembly is located above the carrier table and rotates around the beverage output port for emitting detection waves and receiving echoes, thereby accurately detecting the height of the container.
Through the rotation detection of the first induction assembly, the detection range is expanded, the presence of the container is accurately detected and the height of the container is determined, and the accuracy of the detection of the container height and liquid level height is improved.
Smart Images

Figure CN120036642A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of beverage output devices, 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, ultrasonic technology is widely used in life to detect the presence of an object. It is applied in a beverage output device to detect the container and the height of the water level. However, in the prior art, the accuracy of container positioning by the ultrasonic detection method is low, resulting in inaccurate detection of the container height and the water level height. Summary of the Invention
[0003] In view of this, the present application provides a control method for a beverage output device, a beverage output device, and a storage medium to solve the problem of low accuracy of container positioning in the prior art for beverage output devices.
[0004] To solve the above technical problems, one technical solution adopted by the present application is: to provide a beverage output device, including: a carrying platform for carrying a container, where the container is used to receive beverages; a beverage output port for outputting beverages to the container, where the beverages include a first type of beverage ingredient and / or a second type of beverage ingredient; a first sensing component located above the carrying platform, and the first sensing component is rotationally arranged around the beverage output port for emitting a first detection wave and receiving the echo of the first detection wave.
[0005] According to an embodiment of the present application, the beverage output device includes a moving component connected to the beverage output port, and the moving component is used to drive the beverage output port to move along a first direction, and the first sensing component and the beverage output port move synchronously in the first direction.
[0006] According to an embodiment of the present application, the moving component includes: a sleeve group including at least two sleeves sleeved hierarchically, the innermost sleeve or the outermost sleeve is fixedly arranged at a first end, and the remaining multiple sleeves are relatively movable along the first direction to achieve expansion and contraction. A beverage output channel is formed inside the sleeve group. When the sleeve group is in an extended state, the sleeve close to the carrying platform is the first sleeve, and the sleeve far from the carrying platform is the second sleeve. The bottom of the first sleeve forms the beverage output port; wherein, the first end is the end far from the carrying platform; a first driving component for driving the first sleeve to move along the first direction.
[0007] According to an embodiment of the present application, when the sleeve group is in an extended state, the inner diameter of the conveying channel gradually increases or decreases in the direction close to the beverage output port.
[0008] According to an embodiment of the present application, the first sensing component is disposed at the bottom of the first sleeve, and the first sensing component is farther from the central axis of the sleeve group than the beverage outlet. The beverage output device further includes: a second driving component for driving the second sleeve to rotate and driving the first sleeve to rotate, and the first sensing component is rotatably disposed around the beverage outlet.
[0009] According to an embodiment of the present application, the second driving component includes: a motor disposed outside the sleeve group; a driving gear disposed at the output end of the motor; and a driven gear sleeved on the outer periphery of the second sleeve and meshing with the driving gear.
[0010] To solve the above technical problems, another technical solution adopted by the present application is: to provide a control method for a beverage output device, which is applied to the beverage output device described in any one of the above, and the control method includes: controlling the first sensing component to rotate around the beverage outlet and controlling the first sensing component to emit a detection wave; determining the upper edge height of the container according to the echo duration of the highest echo amplitude of the detection echo received by the first sensing component.
[0011] According to an embodiment of the present application, the beverage output device further includes a moving component, the moving component is connected to the beverage outlet, the moving component is used to drive the beverage outlet to move along a first direction, the first sensing component and the beverage outlet move synchronously in the first direction, and the control method further includes: determining whether the distance between the first sensing component and the container is within a predetermined distance; if not, controlling the moving component to drive the beverage outlet to descend until the distance between the first sensing component and the container is within the predetermined distance.
[0012] According to an embodiment of the present application, the controlling the first sensing component to emit a detection wave includes: controlling the first sensing component to send a set of detection waves every time it rotates a predetermined angle or every predetermined time interval; the determining the upper edge height of the container according to the echo duration of the highest echo amplitude of the detection echo received by the first sensing component includes: the first sensing component obtaining multiple sets of detection echoes; obtaining the first echo amplitude in each set of the detection echoes, the first echo amplitude being the highest echo amplitude in each set of the detection echoes; selecting the top predetermined number of the first echo amplitudes with the highest values among the first echo amplitudes; and determining the upper edge height of the container according to the average echo duration of the top predetermined number of the first echo amplitudes.
[0013] According to an embodiment of the present application, the control method for a beverage output device further includes: outputting a first type of beverage ingredient and / or outputting a second type of beverage ingredient to the container according to a user instruction; in response to detecting that the detection information in the container meets a preset condition, stopping outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient, where the detection information includes first information and / or second information.
[0014] To solve the above technical problems, another technical solution adopted by the present application is: providing a readable storage medium storing program instructions that can be executed to implement the control method for a beverage output device described in any one of the above.
[0015] The beneficial effect of the present application is: providing a beverage output device, which includes a carrier, a beverage output port, and a first sensing component. The first sensing component of the present application is located above the carrier and is rotatably arranged around the beverage output port. By using the first sensing component to emit a first detection wave and receive the echo of the first detection wave, and at the same time the first sensing component rotates for detection, the detection range is expanded, the presence of the container can be accurately detected, and the height of the container can be determined, improving the accuracy of detecting the height of the container and the liquid level. Description of the Drawings
[0016] 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 following drawings 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. Among them:
[0017] Figure 1 is a schematic structural diagram of an embodiment of the beverage output device of the present application;
[0018] Figure 2 is a partial structural diagram of an embodiment of the beverage output device of the present application;
[0019] Figure 3 is another partial structural diagram of an embodiment of the beverage output device of the present application;
[0020] Figure 4 is a schematic flowchart of an embodiment of the control method for a beverage output device of the present application;
[0021] Figure 5 is a schematic flowchart of an embodiment of the control method for a beverage output device of the present application;
[0022] Figure 6 is a schematic framework diagram of an embodiment of a readable storage medium of the present application. Detailed Embodiments
[0023] To make the above objects, features, and advantages of the present application more apparent and understandable, the following provides a detailed description of the specific embodiments of the present application with reference to the accompanying drawings. It can be understood that the specific embodiments described herein are only for explaining the present application and not for limiting the present application. Additionally, it should be noted that for the convenience of description, only the parts related to the present application rather than all the structures are shown in the drawings. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present application.
[0024] The mention of "embodiment" in this document means that the specific features, structures, or characteristics described in connection with the embodiment can be included in at least one embodiment of the present application. The appearance of this phrase at various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0025] With the continuous improvement of people's living standards in modern society, there are more and more functional requirements for beverage output devices. An intelligent beverage output device with the functions of outputting the first type of beverage ingredients and water can achieve automatic full cup, provided that the presence of the container is detected, the height of the container is known, and the height of the water level in the container needs to be detected during the process of injecting ice and water to determine whether to stop injecting ice or water. Since the position of the container when it enters is not fixed, it will cause inaccurate detection of the presence of the container by the ultrasonic sensor.
[0026] The present application provides a beverage output device 10. Referring to Figure 1 and Figure 2 , the beverage output device 10 includes a carrier table 11, a beverage output port 12, and a first sensing component 13. The carrier table 11 is used to carry the container 14, and the container 14 is used to receive the beverage; the beverage output port 12 is used to output the beverage to the container 14, and the beverage includes the first type of beverage ingredients and / or the second type of beverage ingredients; the first sensing component 13 is located above the carrier table 11, and the first sensing component 13 is rotatably arranged around the beverage output port 12 and is used to emit a first detection wave and receive the echo of the first detection wave.
[0027] Specifically, when the container 14 is placed on the carrier table 11, the first sensing component 13 disposed around the beverage outlet 12 starts to rotate. The first sensing component 13 emits a first detection wave and receives the echo of the first detection wave to confirm the height of the rim of the container 14. If the container 14 is placed off-center and not directly below the beverage outlet 12, the height detected by the first detection wave emitted by the first sensing component 13 for the first time and the received echo may be, for example, the height of the handle of the container 14, the side wall of the container 14, or the bottom of the container 14. If the height of the handle of the container 14, the side wall of the container 14, or the bottom of the container 14 detected is mistakenly taken as the height of the rim of the container 14, then the height for stopping the output of the first type of beverage ingredients and the output of the second type of beverage ingredients judged based on the wrong rim height in the subsequent output of the first type of beverage ingredients and the output of the second type of beverage ingredients will also be inaccurate. If the container 14 is not placed directly below the beverage outlet 12, in this embodiment, the first sensing component 13 around the beverage outlet 12 rotates one circle to fully cover and scan the carrier table 11 to confirm the height of the upper edge of the container 14, avoiding incorrect height judgment caused by incomplete detection, thereby improving the accuracy of detection.
[0028] The first type of beverage ingredients includes 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 includes ingredients with high fluidity. For example, water, fruit juice, milk, coffee, cola, soy milk, etc.
[0029] In this embodiment, the first sensing component 13 can be an ultrasonic detector or a time-of-flight detector (TOF).
[0030] In this embodiment, the beverage output device 10 includes a moving component (not shown in the figure). The moving component is connected to the beverage outlet 12 and is used to drive the beverage outlet 12 to move along the first direction x. The first sensing component 13 and the beverage outlet 12 move synchronously in the first direction x. Specifically, the first sensing component 13 and the beverage outlet 12 are basically on the same horizontal plane. If the rim of the placed container 14 is too low, in order to make the detected echo received by the first sensing component 13 clearer and to prevent the beverage ingredients from splashing due to the beverage outlet 12 being too high from the rim of the container 14, in this embodiment, the moving component simultaneously lowers the first sensing component 13 and the beverage outlet 12 in the first direction x to reduce the distance between the first sensing component 13 and the beverage outlet 12 and the rim of the container 14. The first sensing component 13 and the beverage outlet 12 move synchronously in the first direction x so that the first sensing component 13 can not only detect the height of the container 14 but also detect the height of the beverage ingredients in the container 14.
[0031] The first sensing component 13 is relatively fixed to the beverage outlet 12, that is, during the synchronous movement of the first sensing component 13 and the beverage outlet 12, the relative positional relationship between the first sensing component 13 and the beverage outlet 12 remains unchanged.
[0032] In this embodiment, the moving component includes a sleeve group 15 and a first driving component (not shown in the figure). The sleeve group 15 includes at least two sleeves sleeved hierarchically. The innermost sleeve or the outermost sleeve is fixedly arranged at the first end a, and the remaining sleeves are relatively movable along the first direction x to achieve telescoping. A beverage output channel is formed inside the sleeve group 15. When the sleeve group 15 is in the extended state, the sleeve close to the carrying platform 11 is the first sleeve 151, and the sleeve far from the carrying platform 11 is the second sleeve 152. The bottom of the first sleeve 151 forms the beverage outlet 12; wherein, the first end a is the end far from the carrying platform 11; the first driving component is used to drive the first sleeve 151 to move along the first direction x.
[0033] Specifically, the moving component includes a sleeve group 15 and a first driving component. The sleeve group 15 includes at least two sleeves sleeved hierarchically. When the innermost sleeve is fixedly arranged at the first end a, the sleeve group 15 has a structure with a smaller upper part and a larger lower part; when the outermost sleeve is fixedly arranged at the first end a, the sleeve group 15 has a structure with a larger upper part and a smaller lower part. The remaining sleeves can be relatively movable in the first direction x to achieve telescoping. In this embodiment, all the attached drawings take the sleeve group with a larger upper part and a smaller lower part as an example for illustration. When the sleeve group 15 is in the extended state, the sleeve close to the carrying platform 11 is the first sleeve 151, and the sleeve far from the carrying platform 11 is the second sleeve 152. The second sleeve 152 is rotatably connected to the beverage output device 10 to realize the support of the second sleeve 152. The bottom of the first sleeve 151 relative to the carrying platform 11 forms the beverage outlet 12. The first driving component is used to drive the sleeves except the second sleeve 152 to move in a direction close to or away from the carrying platform 11. In this embodiment, the first driving component is used to drive the first sleeve 151 to move along the first direction x. When the first sleeve 151 moves in the direction close to the carrying platform 11, it can avoid the splashing of beverage ingredients caused by the excessive height of the beverage outlet 12 from the cup edge of the container 14, and at the same time improve the accuracy of the first sensing component 13 in detecting the cup edge height of the container 14 and the liquid level height in the container 14.
[0034] In this embodiment, when the sleeve group 15 is in the extended state, the inner diameter of the delivery channel gradually increases or decreases in the direction approaching the beverage outlet 12. Specifically, when the sleeve group 15 has a structure with a smaller upper part and a larger lower part, the inner diameter of the delivery channel gradually increases in the direction approaching the beverage outlet 12. The setting of the gradually increasing inner diameter of the delivery channel can prevent the clogging of beverage ingredients. When the sleeve group 15 has a structure with a larger upper part and a smaller lower part, the inner diameter of the delivery channel gradually decreases in the direction approaching the beverage outlet 12. The setting of the gradually decreasing inner diameter of the delivery channel can converge the delivery path of beverage ingredients.
[0035] In this embodiment, the first sensing component 13 is disposed at the bottom of the first sleeve 151, and the first sensing component 13 is farther from the central axis of the sleeve group 15 than the beverage outlet 12. The beverage output device 10 further includes a second driving component (not shown in the figure), and the second driving component is configured to drive the second sleeve 152 to rotate and drive the first sleeve 151 to rotate, and the first sensing component 13 is rotatably disposed around the beverage outlet 12.
[0036] Specifically, the first sensing component 13 and the beverage outlet 12 are disposed at the bottom of the first sleeve 151, and the first sensing component 13 is farther from the central axis of the sleeve group 15 than the beverage outlet 12. The distance between the first sensing component 13 and the beverage outlet 12 is not limited in this embodiment. In one embodiment, it is preferably to dispose the first sensing component 13 at the outermost periphery of the first sleeve 151 so as to further expand the detection range of the first sensing component 13 for the carrier 11 when the first sensing component 13 rotates for detection. In addition, the second driving component is configured to drive the second sleeve 152 to rotate, and the second sleeve 152 rotates and drives the first sleeve 151 to rotate, and the first sensing component 13 fixedly disposed on the first sleeve 151 rotates around the beverage outlet 12. Under the action of the second driving component, the rotation of the sleeve 15 can be realized, thereby realizing the rotation of the first sensing component 13. When the first sensing component 13 rotates one circle, the carrier 11 can be comprehensively scanned and covered, and the height of the cup rim of the container 14 and the height of the liquid level inside can be accurately detected.
[0037] In this embodiment, referring to Figure 3, the second driving component includes a motor 16, a driving gear 17 and a driven gear 18. The motor 16 is arranged outside the sleeve group 15; the driving gear 17 is arranged at the output end of the motor 16; the driven gear 18 is sleeved on the outer periphery of the second sleeve 152 and meshes with the driving gear 17. Specifically, the realization of the rotation of the sleeve group 15 by the second driving component is specifically manifested as follows: the motor 16 drives the driving gear 17 arranged at the output end of the motor 16 to transmit power, and the meshed driven gear 18 rotates, thereby driving the second sleeve 152 penetrated through the driven gear 18 to rotate, and driving the first sleeve 151 to rotate. The first induction component 13 fixedly arranged on the first sleeve 151 rotates around the beverage outlet 12. The rotation of the first induction component 13 is realized by the motor 16 to adjust the detection position of the first induction component 13 and achieve the effect of expanding the detection area.
[0038] It should be noted that the second sleeve 152 is rotationally connected to the main body structure of the beverage output device 10, and the sleeves in the sleeve group are sequentially slidably connected to realize the expansion and contraction in the first direction x. The first driving component can be arranged in the sleeve group 15. The driving end of the first driving component is relatively fixed to the second sleeve 152 and is drivingly connected to the first sleeve 151. The expansion and contraction of the sleeve group 15 is realized by driving the first sleeve 151 to reciprocate in the first direction x. The first driving component can be a pulley and rope transmission mechanism, a gear and rack transmission mechanism, a linear motor transmission mechanism, etc., which is not limited here.
[0039] The beverage output device 10 can be a water dispenser, a beverage machine, or a refrigeration device such as a refrigerator.
[0040] To solve the above technical problems, the present application also provides a control method for a beverage output device. The control method is applied to the beverage output device described in any one of the above. The control method of the beverage output device includes: controlling the first induction component to rotate around the beverage outlet and controlling the first induction component to emit a detection wave; determining the upper edge height of the container according to the echo duration of the highest echo amplitude of the detection echo received by the first induction component.
[0041] Specifically, referring to Figure 4 , the control method of the beverage output device includes the following steps:
[0042] S1: Control the first induction component to rotate around the beverage outlet and control the first induction component to emit a detection wave.
[0043] The beverage output device has a first sensing component at one end of the beverage output port. While controlling the first sensing component to rotate around the beverage output port, a detection wave is emitted to detect the upper edge height of the container. Among them, the detection wave can be emitted in real time, at intervals, or triggered by other means. In this embodiment, only one first sensing component is provided, which can reduce the equipment cost. At this time, control the first sensing component to rotate one week to achieve full coverage of the scanning carrier.
[0044] It should be noted that the number of the first sensing components is not limited to one. Two can be set, and the connection line between the two first sensing components passes through the central axis. At this time, control the first sensing component to rotate 180°, and full coverage of the scanning carrier can be achieved. In other embodiments, more than two first sensing components can also be set, and the rotation angle of the first sensing component is controlled to be able to fully cover the scanning carrier.
[0045] By rotating the first sensing component, the detection area of the upper surface of the carrier is increased, avoiding incorrect determination of the container height due to incomplete detection, thereby improving the detection accuracy.
[0046] S2: Determine the upper edge height of the container according to the echo duration of the highest echo amplitude of the detection echo received by the first sensing component.
[0047] The first sensing component receives the detection echo and judges the echo with the highest echo amplitude in the detection echo, which is the height of the container opening edge.
[0048] It should be noted that there are some interference echoes in the detection echoes received by the first sensing component, which are interference factors caused by circuit aftershocks, etc. and are determined by the hardware characteristics. When selecting the detection echo with the highest echo amplitude, only valid detection echoes are selected, and the interference echoes can be excluded by any existing means, including but not limited to selecting the detection echo with the highest echo amplitude within a preset time period according to experiments or experience.
[0049] In this embodiment, controlling the first sensing component to emit a detection wave includes: controlling the first sensing component to send a group of detection waves every time it rotates a predetermined angle or at every predetermined time interval; determining the upper edge height of the container according to the echo duration of the highest echo amplitude of the detection echo received by the first sensing component includes: the first sensing component obtains multiple groups of detection echoes; obtains the first echo amplitude in each group of detection echoes, and the first echo amplitude is the highest echo amplitude in each group of detection echoes; selects the highest first predetermined number of first echo amplitudes among the first echo amplitudes; determines the upper edge height of the container according to the average echo duration of the first predetermined number of first echo amplitudes.
[0050] Specifically, refer to Figure 5, step S2 determines the upper edge height of the container according to the echo duration of the highest echo amplitude of the detection echo received by the first sensing component. In some embodiments, it includes steps S21-S24.
[0051] S21: Control the first sensing component to send a set of detection waves every time it rotates a predetermined angle or at every predetermined time interval.
[0052] The rotation of the first sensing component can be to emit a set of detection waves every time it rotates a predetermined angle, or to send a set of detection waves at every predetermined time interval. Then, after the first sensing component rotates one week, it receives the detection echoes of multiple sets of detection waves. Controlling the first sensing component to send a set of detection waves every time it rotates a predetermined angle, that is, controlling the rotation angle of the first sensing component to be 2°, 3°, 5°, etc., and sending a set of detection waves every time it rotates the preset angle. The predetermined angle is determined according to the rotation speed. It should be noted that it is necessary to control the first sensing component to rotate multiple predetermined angles to achieve a full coverage scan of the carrier table. One implementation can be to control the first sensing component to rotate one week, and another implementation is to control the first sensing component to rotate multiple predetermined angles until it reaches an appropriate angle that can detect the upper edge height of the container, and then stop the rotation of the first sensing component.
[0053] Controlling the first sensing component to send a set of detection waves at every predetermined time interval means controlling the first sensing component to send a set of detection waves every certain time interval during the rotation process, such as 0.002s, 0.05s, 1s, 1.5s, etc. The predetermined time interval is determined according to the rotation speed. It should be noted that it is necessary to control the first sensing component to rotate multiple predetermined time intervals to achieve a full coverage scan of the carrier table. One implementation can be to control the first sensing component to rotate one week, and another implementation is to control the first sensing component to rotate multiple predetermined time intervals until the upper edge height of the container is detected, and then stop the rotation of the first sensing component.
[0054] S22: The first sensing component obtains multiple sets of detection echoes.
[0055] After the first sensing component rotates one week, it receives the detection echoes of multiple sets of detection waves.
[0056] S23: Obtain the first echo amplitude in each set of detection echoes, and the first echo amplitude is the highest echo amplitude in each set of detection echoes.
[0057] There will be a highest echo amplitude in each set of detection echoes. Obtain the highest echo amplitude in each set of detection echoes to obtain multiple first echo amplitudes.
[0058] S24: Select the top predetermined number of the highest first echo amplitudes among the first echo amplitudes; determine the upper edge height of the container according to the average echo duration of the top predetermined number of first echo amplitudes.
[0059] Select the top predetermined number of the first echo amplitudes in the first echo amplitudes, and calculate the average echo duration of the top predetermined number of the first echo amplitudes. Calculate the upper edge height of the container based on the average echo duration and the propagation speed of the detection wave in the air. Taking the top predetermined number of the first echo amplitudes can be exemplified as taking the top 50% of the first echo amplitudes, and discarding the subsequent echo amplitudes such as the handle of container 14 or the side wall of container 14 or the bottom of container 14, which can improve the calculation efficiency.
[0060] In this embodiment, by obtaining the first echo amplitudes in each group of detection echoes, comparing these first echo amplitudes, obtaining the top predetermined number of the first echo amplitudes, and confirming the upper edge height of the container according to the average echo duration of the top predetermined number of the first echo amplitudes. Because when the container is placed obliquely and not directly below the beverage outlet, the first sensing component receives one of the groups of detection echoes, and the highest echo amplitude of this group of detection echoes may be the height of the container handle. If the height of the container handle detected by mistake is regarded as the height of the cup edge of the container, then when outputting the first type of beverage ingredients and / or outputting the second type of beverage ingredients subsequently and judging the height to stop outputting the first type of beverage ingredients and / or outputting the second type of beverage ingredients according to the wrong cup edge height, it is inaccurate. Therefore, it is necessary to obtain multiple groups of detection echoes, obtain the top predetermined number of the first echo amplitudes from them, calculate the average echo duration of these first echo amplitudes, calculate the upper edge height of the container based on the average echo duration and the propagation speed of the detection wave in the air, and improve the detection accuracy. Obtaining the average echo duration can remove some invalid values to avoid accidental data values.
[0061] In this embodiment, the beverage output device further includes a moving component. The moving component is connected to the beverage outlet. The moving component is used to drive the beverage outlet to move along a first direction. The first sensing component moves synchronously with the beverage outlet in the first direction. The control method further includes: judging whether the distance between the first sensing component and the container is within a predetermined distance; if not, controlling the moving component to drive the beverage outlet to descend until the distance between the first sensing component and the container is within the predetermined distance.
[0062] Specifically, if the opening edge of the container is too low, in order to make the detection echoes received by the first sensing component clearer, and in order to prevent the beverage ingredients from splashing due to the beverage outlet being too high from the opening edge of the container, it is necessary to simultaneously lower the first sensing component and the beverage outlet in the first direction x by the moving component of the beverage output device to reduce the distance between the first sensing component, the beverage outlet and the cup edge of the container. The first sensing component and the beverage outlet move synchronously in the first direction x so that the first sensing component can not only detect the height of the container but also detect the liquid level height in the container.
[0063] Refer to Figure 5, Step S2 further includes steps S25 - S26.
[0064] S25: Determine whether the distance between the first sensing component and the container is within a predetermined distance.
[0065] If the distance between the first sensing component and the container is within the preset distance, then the detection echo obtained by the first sensing component is relatively clear, the height of the upper edge of the container obtained is relatively accurate, and there will be no splashing when the drink outlet outputs the second type of drink ingredient or the first type of drink ingredient. Then, execute step S3.
[0066] S26: If not, control the moving component to drive the drink outlet to descend until the distance between the first sensing component and the container is within the predetermined distance.
[0067] If the distance between the first sensing component and the container is not within the preset distance, it means that the distance between the first sensing component and the opening edge of the container is relatively high and the container is relatively low. At this time, in order to improve the test accuracy and prevent the drink ingredients from splashing, it is necessary to control the moving component to drive the drink outlet to descend until the distance between the first sensing component and the opening edge of the container is within the predetermined distance.
[0068] In this embodiment, the control method for the drink output device further includes:
[0069] S3: Output the first type of drink ingredient and / or the second type of drink ingredient to the container according to the user instruction.
[0070] S31: In response to detecting that the detection information in the container meets the preset conditions, stop outputting the first type of drink ingredient and / or the second type of drink ingredient, where the detection information includes the first information and / or the second information.
[0071] Specifically, the detection information includes the first information and / or the second information. The first information is the top information of the first type of drink ingredient, that is, the vertical distance between the opening edge of the container 14 and the top of the first type of drink ingredient. When it is detected that the vertical distance between the opening edge of the container 14 and the top of the first type of drink ingredient meets the preset conditions, stop outputting the first type of drink ingredient; the second information is the liquid level information of the second type of drink ingredient, that is, the vertical distance between the opening edge of the container 14 and the liquid level of the second type of drink ingredient; when it is detected that the vertical distance between the opening edge of the container 14 and the liquid level of the second type of drink ingredient meets the preset conditions, stop outputting the second type of drink ingredient.
[0072] The control method for the drink output device includes:
[0073] Method 1: In response to the user instruction being the first instruction, output the first type of drink ingredient according to the user instruction, and stop outputting the first type of drink ingredient when it is detected that the first information in the container 14 meets the first preset conditions.
[0074] Refer to Figure 2 Figure 2 , the beverage output device 10 detects the distance Hc, where the distance Hc is the vertical distance between the beverage outlet 12 and the opening edge of the container 14. When stopping the output of the first type of beverage ingredient, the distance between the beverage outlet 12 and the top of the first type of beverage ingredient is Hc + h1, and h1 is the minimum vertical distance between the opening edge and the top of the first type of beverage ingredient when the first type of beverage ingredient cannot splash out of the container 14, obtained based on data statistics or experience. When outputting the first type of beverage ingredient according to the user instruction, the beverage output device 10 detects and confirms in real time the vertical distance H1 between the beverage outlet 12 and the top of the first type of beverage ingredient. When it is determined that H1 - Hc > h1, continue to output the first type of beverage ingredient; when it is determined that H1 - Hc ≤ h1, it means that splashing of the first type of beverage ingredient will occur if the first type of beverage ingredient is further loaded, and at this time, stop outputting the first type of beverage ingredient. The first information conforming to the first preset condition means that H1 - Hc ≤ h1 is satisfied.
[0075] Method 2: Or in response to the user instruction being the second instruction, output the second type of beverage ingredient according to the user instruction, and stop outputting the second type of beverage ingredient in response to detecting that the second information in the container 14 conforms to the second preset condition.
[0076] The beverage output device 10 detects the distance Hc, where the distance Hc is the vertical distance between the beverage outlet 12 and the opening edge of the container 14. When stopping the output of the second type of beverage ingredient, the distance between the beverage outlet 12 and the liquid level of the second type of beverage ingredient is Hc + h2, and h2 is the minimum vertical distance between the opening edge and the liquid level of the second type of beverage ingredient when the second type of beverage ingredient cannot splash out of the container 14, obtained based on data statistics or experience. When outputting the second type of beverage ingredient according to the user instruction, the beverage output device 10 detects and confirms in real time the vertical distance H2 between the beverage outlet 12 and the liquid level of the second type of beverage ingredient. When it is determined that H2 - Hc > h2, continue to output the second type of beverage ingredient; when it is determined that H2 - Hc ≤ h2, it means that splashing of the second type of beverage ingredient will occur if the second type of beverage ingredient is further loaded, and at this time, stop outputting the second type of beverage ingredient. The second information conforming to the second preset condition means that H2 - Hc ≤ h2 is satisfied.
[0077] Method 3: Or in response to the user instruction being the third instruction, output the first type of beverage ingredient according to the user instruction, and stop outputting the first type of beverage ingredient in response to detecting that the first information in the container 14 conforms to the first preset condition; output the second type of beverage ingredient according to the user instruction, and stop outputting the second type of beverage ingredient in response to detecting that the second information in the container 14 conforms to the second preset condition.
[0078] When the response to the user instruction is the third instruction, first output the first type of beverage ingredient. The beverage output device 10 detects the distance Hc, where Hc is the vertical distance between the beverage outlet 12 and the opening edge of the container 14. When stopping the output of the first type of beverage ingredient, the distance between the beverage outlet 12 and the top of the first type of beverage ingredient is Hc + h1, and h1 is the minimum vertical distance between the opening edge and the top of the first type of beverage ingredient when the first type of beverage ingredient cannot splash out of the container 14, obtained based on data statistics or experience. When outputting the first type of beverage ingredient according to the user instruction, the beverage output device 10 detects and confirms in real time the vertical distance H1 between the beverage outlet 12 and the top of the first type of beverage ingredient. When it is determined that H1 - Hc > h1, continue to output the first type of beverage ingredient; when it is determined that H1 - Hc ≤ h1, it means that continuing to fill the first type of beverage ingredient will cause the first type of beverage ingredient to splash, and at this time, stop outputting the first type of beverage ingredient. The first information conforms to the first preset condition, that is, H1 - Hc ≤ h1 is satisfied.
[0079] After the output of the first type of beverage ingredient is completed, output the second type of beverage ingredient. When stopping the output of the second type of beverage ingredient, the distance between the beverage outlet 12 and the liquid level of the second type of beverage ingredient is Hc + h2, and h2 is the minimum vertical distance between the opening edge and the liquid level of the second type of beverage ingredient when the second type of beverage ingredient cannot splash out of the container 14, obtained based on data statistics or experience. When outputting the second type of beverage ingredient according to the user instruction, the beverage output device 10 detects and confirms in real time the vertical distance H2 between the beverage outlet 12 and the liquid level of the second type of beverage ingredient. When it is determined that H2 - Hc > h2, continue to output the second type of beverage ingredient; when it is determined that H2 - Hc ≤ h2, it means that continuing to fill the second type of beverage ingredient will cause the second type of beverage ingredient to splash, and at this time, stop outputting the second type of beverage ingredient. The second information conforms to the second preset condition, that is, H2 - Hc ≤ h2 is satisfied.
[0080] It should be noted that outputting the first type of beverage ingredient first and then the second type of beverage ingredient can prevent the first type of beverage ingredient and / or the second type of beverage ingredient from splashing. In other embodiments, it can also be outputting the second type of beverage ingredient first and then the first type of beverage ingredient.
[0081] According to an embodiment of the present application, the first information is the vertical distance between the opening edge of the container 14 and the top of the first type of beverage ingredient, the first preset condition is that the vertical distance between the opening edge of the container 14 and the top of the first type of beverage 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 14 and the liquid level of the second type of beverage ingredient, and the second preset condition is that the vertical distance between the opening edge of the container 14 and the liquid level of the second type of beverage ingredient is less than or equal to the second preset value; wherein, 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. The first information is the vertical distance between the opening edge of the container 14 and the top of the first type of beverage ingredient, that is, H1 - Hc. The first preset condition is H1 - Hc ≤ the first preset value, that is, when the vertical distance between the opening edge of the container 14 and the top of the first type of beverage ingredient is less than or equal to the first preset value, the output of the first type of beverage ingredient is stopped. The second information is the vertical distance between the opening edge of the container 14 and the liquid level of the second type of beverage ingredient, that is, H2 - Hc. The second preset condition is H2 - Hc ≤ the second preset value, that is, when the vertical distance between the opening edge of the container 14 and the liquid level of the second type of beverage ingredient is less than or equal to the second preset value, the output of the second type of beverage ingredient is stopped. It should be noted that in other embodiments, it is not limited that the first preset condition is that the vertical distance between the opening edge of the container 14 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 opening edge of the container 14 and the liquid level of the second type of beverage ingredient is less than or equal to the second preset value. It can also be less than other distances, which is not limited here.
[0082] In some embodiments, the detection information includes the vertical distance between the top of the content in the container and the opening edge of the container.
[0083] Wherein, when there is only the first type of beverage ingredient in the container, the vertical distance between the top of the content in the container and the opening edge of the container is the first information.
[0084] When there is only the second type of beverage ingredient in the container, the vertical distance between the top of the content in the container and the opening edge of the container is the second information.
[0085] When the contents in the container include the first type of beverage ingredient and the mixture of 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 opening edge of the container 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 from the liquid surface of the second beverage ingredient and the liquid surface 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 opening edge of the container 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 from the liquid surface of the second beverage ingredient and the liquid surface 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 opening edge of the container is the first information.
[0086] To solve the above technical problems, the present application further provides a readable storage medium 20, which stores program instructions that can be executed to implement any one of the above control methods for a beverage output device.
[0087] In several embodiments provided by the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation manners described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of devices or units can be in electrical, mechanical or other forms.
[0088] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0089] In addition, each functional unit in various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0090] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium 20. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium 20 and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods in various embodiments of this application. The aforementioned storage medium 20 includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.
[0091] The terms "first", "second", and "third" in this application are only used for descriptive purposes and cannot be construed as indicating the quantity of the indicated technical features. Thus, the features defined with "first", "second", and "third" may explicitly or implicitly include at least one of such features. All directional indications (such as up, down, left, right, front, back...) in the embodiments of this application are only used to explain the relative positional relationship and movement conditions between components in a specific posture (as shown in the drawings). If this specific posture changes, then the directional indications will also change accordingly. In addition, the terms "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.
[0092] The above description is only the embodiment of this application and does not limit the patent scope of this application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of this application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of this application.
Claims
1. A beverage output device, characterized in that, comprising: a carrier for carrying a container for receiving a beverage; a beverage output port for outputting a beverage to the container, the beverage including a first type of beverage ingredient and / or a second type of beverage ingredient; a first sensing component located above the carrier, the first sensing component being rotatably arranged around the beverage output port for emitting a first detection wave and receiving an echo of the first detection wave.
2. The beverage output device according to claim 1, characterized in that, comprising: a moving component connected to the beverage output port, the moving component being used to drive the beverage output port to move along a first direction, and the first sensing component and the beverage output port moving synchronously in the first direction.
3. The beverage output device according to claim 2, characterized in that, the moving component includes: a sleeve group including at least two sleeves sleeved hierarchically, the sleeve located innermost or outermost being fixedly arranged at a first end, and the remaining sleeves relatively moving along the first direction to achieve expansion and contraction. A beverage output channel is formed within the sleeve group. When the sleeve group is in an extended state, the sleeve close to the carrier is the first sleeve, and the sleeve far from the carrier is the second sleeve. The bottom of the first sleeve forms the beverage output port; wherein, the first end is the end far from the carrier; a first driving component for driving the first sleeve to move along the first direction.
4. The beverage output device according to claim 3, characterized in that, when the sleeve group is in an extended state, the inner diameter of the conveying channel gradually increases or decreases in the direction close to the beverage output port.
5. The beverage output device according to claim 3, characterized in that, the first sensing component is arranged at the bottom of the first sleeve, and the first sensing component is farther from the central axis of the sleeve group than the beverage output port. The beverage output device further includes: a second driving component for driving the second sleeve to rotate and driving the first sleeve to rotate, and the first sensing component is rotatably arranged around the beverage output port.
6. The beverage output device according to claim 5, characterized in that, the second driving component includes: a motor arranged outside the sleeve group; a driving gear arranged at the output end of the motor; a driven gear sleeved on the outer periphery of the second sleeve and meshing with the driving gear.
7. A control method for a beverage output device, characterized in that, applied to the beverage output device according to any one of claims 1-6 above, the control method includes: controlling the first sensing component to rotate around the beverage output port and controlling the first sensing component to emit a detection wave; determining the height of the upper edge of the container according to the echo duration of the highest echo amplitude of the detection echo received by the first sensing component.
8. The control method for a beverage output device according to claim 7, characterized in that, Controlling the first sensing component to emit a detection wave includes: controlling the first sensing component to send a set of detection waves every time it rotates a predetermined angle or at every predetermined time interval; Determining the upper edge height of the container according to the echo duration of the highest echo amplitude of the detection echo received by the first sensing component includes: The first sensing component obtains multiple sets of detection echoes; Obtaining the first echo amplitude in each set of the detection echoes, where the first echo amplitude is the highest echo amplitude in each set of the detection echoes; Selecting the top predetermined number of the first echo amplitudes that are the highest among the first echo amplitudes; Determining the upper edge height of the container according to the average echo duration of the top predetermined number of first echo amplitudes.
9. The control method for a beverage output device according to claim 7, wherein, The beverage output device further includes a moving component, the moving component is connected to the beverage output port, the moving component is used to drive the beverage output port to move along a first direction, the first sensing component and the beverage output port move synchronously in the first direction, and the control method further includes: Judging whether the distance between the first sensing component and the container is within a predetermined distance; If not, then controlling the moving component to drive the beverage output port to descend until the distance between the first sensing component and the container is within the predetermined distance.
10. The control method for a beverage output device according to claim 7, wherein, It further includes: Outputting a first type of beverage ingredient and / or outputting a second type of beverage ingredient to the container according to a user instruction; In response to detecting that the detection information in the container meets a preset condition, stopping outputting the first type of beverage ingredient and / or outputting the second type of beverage ingredient, where the detection information includes first information and / or second information.
11. A readable storage medium, wherein, The readable storage medium stores program instructions, and the program instructions can be executed to implement the control method for a beverage output device according to any one of claims 7-10.
Citation Information
Patent Citations
Intelligent water injection device and method
CN109717749A
Drink maker
CN1765270A
Intelligent water drinking device with efficient filtering structure
CN214433679U
Intelligent water drinking equipment with water quality monitoring structure
CN215686812U
vending machine
DE102015113258A1