Control method of beverage output equipment, beverage output equipment and computer storage medium
By obtaining the radius and liquid level information of the cup mouth and cup bottom of the water-coating container, it is determined whether the beverage output device meets the stop output conditions, and the problem of inaccurate beverage output control in the prior art is solved, and higher intelligence and accuracy are achieved.
Patent Information
- Application Number
- CN202311592889.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2043-11-24
AI Technical Summary
Existing beverage output equipment cannot accurately determine the size and shape of the water-connected container, resulting in inaccurate control of beverage output, which is prone to abnormal stopping or overflow problems.
By obtaining the first radius of the cup mouth of the water container and the second radius of the bottom of the cup, and combining the liquid level information, it is determined whether the current beverage output meets the stop output condition, thereby controlling the beverage output device to stop outputting the beverage.
It improves the intelligence and accuracy of beverage output control of beverage output equipment, adapts to water-connected containers of different sizes and shapes, and reduces the impact of interferers on output control.
Smart Images

Figure CN120036635A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of beverage output devices, and in particular, to a control method for a beverage output device, a beverage output device, and a computer storage medium. Background Art
[0002] Beverage output devices, such as water dispensers, water purifiers, etc., can only achieve quantitative output of beverages or timed output of beverages, and cannot judge the beverage output capacity according to the different sizes and shapes of water receiving containers. For this reason, ultrasonic sensors are used in related patents to detect the height of the output beverage, so as to control the beverage output device to output beverages or stop outputting beverages. However, ultrasonic sensors have some drawbacks. For example, they cannot distinguish what the object is. For example, when a hand is next to the water receiving container, it may affect the ultrasonic judgment of the height of the beverage, resulting in abnormal stopping of beverage output or overflow. Summary of the Invention
[0003] The present application provides a control method for a beverage output device, a beverage output device, and a computer storage medium to improve the intelligence and accuracy of beverage output control of the beverage output device.
[0004] 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, including: respectively obtaining a first radius of the cup mouth of a water receiving container located in the water receiving area and a second radius of the cup bottom of the water receiving container; in response to the beverage output device outputting beverages, obtaining liquid level information in the water receiving container; determining whether the current beverage output meets the stop output condition based on the first radius, the second radius, and the liquid level information; and in response to the current beverage output meeting the stop output condition, controlling the beverage output device to stop outputting beverages.
[0005] Wherein, the liquid level information includes a liquid level radius. The above determining whether the current beverage output meets the stop output condition based on the first radius, the second radius, and the liquid level information includes: comparing the first radius with the second radius; in response to the first radius being greater than the second radius, obtaining a first ratio between the liquid level radius and the first radius; and in response to the first ratio being greater than a first preset ratio, determining that the current beverage output meets the stop output condition; wherein, the first preset ratio is less than 1 and greater than 0.7.
[0006] Among them, the liquid level information includes the liquid level radius. Determining whether the current beverage output meets the stop output condition based on the first radius, the second radius, and the liquid level information includes: comparing the first radius with the second radius; in response to the first radius being less than the second radius, obtaining a second ratio between the liquid level radius and the second radius; in response to the second ratio being less than a second preset ratio, determining that the current beverage output meets the stop output condition; where the second preset ratio is greater than 0 and less than 0.3.
[0007] Among them, the liquid level information includes the liquid level radius. Determining whether the current beverage output meets the stop output condition based on the first radius, the second radius, and the liquid level information includes: comparing the first radius with the second radius; in response to the first radius being equal to the second radius, obtaining a first volume of the beverage output by the beverage output device; obtaining a second volume of the water receiving container based on the liquid level information; determining whether the current beverage output meets the stop output condition based on the first volume and the second volume.
[0008] Among them, determining whether the current beverage output meets the stop output condition based on the first radius, the second radius, and the liquid level information includes: obtaining a first volume of the beverage output by the beverage output device; determining a second volume of the water receiving container based on the first radius, the second radius, and the liquid level information; determining whether the current beverage output meets the stop output condition based on the first volume and the second volume.
[0009] Among them, determining the second volume of the water receiving container based on the liquid level information includes: obtaining a liquid level area change rate based on the liquid level information, and obtaining a flow rate of the beverage in the water receiving container; obtaining the height of the water receiving container based on the liquid level area change rate and the flow rate; determining the second volume of the water receiving container based on the first radius, the second radius, and the height.
[0010] Among them, determining whether the current beverage output meets the stop output condition based on the first volume and the second volume includes: calculating a third ratio between the first volume and the second volume; in response to the third ratio being less than a third preset ratio, determining that the current beverage output meets the stop output condition; where the third preset ratio is less than 1 and greater than 0.7.
[0011] To solve the above technical problems, another technical solution adopted by this application is: providing a beverage output device, including: a base body provided with a water receiving area; a beverage output mechanism disposed on the base body, and a beverage output port of the beverage output mechanism is located above the water receiving area; a control mechanism connected to the beverage output mechanism and controlling the beverage output mechanism to work by using the above control method.
[0012] Among them, the beverage output device further includes: an image sensor, which is arranged on the seat body and connected to the control mechanism. The image sensor is located above the water receiving area and is used to obtain the image information of the cup mouth of the water receiving container located on the water receiving area. The control mechanism obtains the first radius of the cup mouth based on the image information.
[0013] Among them, the beverage output device further includes: an infrared array sensor, which is arranged on the water receiving area and connected to the control mechanism. The infrared array sensor is used to obtain the occlusion area of the cup bottom of the water receiving container against the water receiving area. The control mechanism obtains the second radius of the cup bottom based on the occlusion area.
[0014] To solve the above technical problems, another technical solution adopted by this application is: to provide a computer storage medium. Program instructions are stored on the computer storage medium, and the program instructions are executed by a processor to implement the above control method.
[0015] The beneficial effects of this application are as follows: The control method of the beverage output device provided by this application first obtains the first radius of the cup mouth of the water receiving container located on the water receiving area and the second radius of the cup bottom of the water receiving container respectively. When the beverage output device outputs beverages, it obtains the liquid level information in the water receiving container on the water receiving area, and determines whether the current beverage output of the beverage output device meets the stop output condition based on the first radius of the cup mouth of the water receiving container, the second radius of the cup bottom, and the liquid level information in the water receiving container; if the stop output condition is met, it controls the beverage output device to stop outputting beverages. In this way, the embodiments of this application can determine whether the current beverage output of the beverage output device meets the stop output condition based on the radius information of the cup mouth and cup bottom of the water receiving container and the liquid level information in the water receiving container when the beverage output device outputs beverages, so that the determination of stopping beverage output in this application can be considered based on factors such as the radius of the cup mouth and cup bottom of the water receiving container. Furthermore, the determination of stopping beverage output in this application can adapt to a variety of water receiving containers with different sizes and shapes. On the one hand, the control method of this application can be applied to a variety of water receiving containers with different sizes and shapes, which can improve the intelligence and accuracy of the beverage output control of the beverage output device; on the other hand, it can improve the influence of interfering substances on the existing method of determining the stop of beverage output based on ultrasonic waves. Therefore, it can further improve the intelligence and accuracy of the beverage output control of the beverage output device. Description of the Drawings
[0016] To more clearly illustrate the technical solutions in the embodiments of this application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of this application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings, where:
[0017] Figure 1 It is a schematic structural diagram of an embodiment of the beverage output device of the present application;
[0018] Figure 2 It is a schematic structural diagram of another embodiment of the beverage output device of the present application;
[0019] Figure 3 It is a schematic flowchart of an embodiment of the control method of the beverage output device of the present application;
[0020] Figure 4 It is Figure 3 A schematic flowchart of an embodiment of step S33 in the embodiment;
[0021] Figure 5 It is Figure 3 A schematic flowchart of another embodiment of step S33 in the embodiment;
[0022] Figure 6 It is Figure 3 A schematic flowchart of yet another embodiment of step S33 in the embodiment;
[0023] Figure 7 It is Figure 6 A schematic flowchart of another embodiment of step S63 in the embodiment;
[0024] Figure 8 It is Figure 3 A schematic flowchart of still another embodiment of step S33 in the embodiment;
[0025] Figure 9 It is a schematic flowchart of another embodiment of the control method of the beverage output device of the present application;
[0026] Figure 10 It is a schematic structural diagram of an embodiment of the computer storage medium of the present application. Specific Embodiments
[0027] 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. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without making creative efforts fall within the scope of protection of the present application.
[0028] 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, 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 drawings). If the specific posture changes, the directional indications will also change accordingly.
[0029] In addition, if the descriptions such as "first" and "second" are involved in the embodiments of the present application, the descriptions of "first", "second", etc. are for descriptive purposes only, and should not be construed 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 such feature. In addition, the technical solutions between various embodiments may be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement them. 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 scope of protection required by the present application.
[0030] The beverage output device proposed in the present application may include a water dispenser, a water purifier, etc., and may also include other devices capable of outputting beverages, such as beverage output devices for scenarios such as kitchens, bathrooms, shopping malls, etc. The beverage output device may be independently provided to implement a movable beverage output device, or the beverage output device may also be provided on the door body of other household appliances, on a wall, on a workbench, etc.
[0031] The beverage output device of the present application can be used to dispense a first type of beverage ingredient and / or a second type of beverage ingredient. The first type of beverage ingredient 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 products, baked products, etc. The second type of beverage ingredient includes ingredients with high fluidity. For example, water, fruit juice, milk, coffee, cola, soy milk, etc.
[0032] The present application first proposes a beverage output device, as Figure 1 shown, Figure 1 is a schematic structural diagram of an embodiment of the beverage output device of the present application. The beverage output device of this embodiment includes: a base 11, a beverage output mechanism 12 and a control mechanism. Among them, the base 11 is provided with a water receiving area; the beverage output mechanism 12 is arranged on the base 11, and the beverage output port of the beverage output mechanism 12 is located above the water receiving area; the control mechanism is connected to the beverage output mechanism 12, and the control mechanism determines whether the current beverage output meets the stop output condition, and controls the beverage output mechanism 12 to stop outputting beverages when the current beverage output meets the stop output condition;
[0033] For the specific determination method of whether the current beverage output meets the stop output condition, reference can be made to the following text, and for the specific control method of the control mechanism, reference can be made to the following text.
[0034] Among them, the water receiving container 01 can not only receive water, ice, and ice-water mixture, but also receive other beverages output by the beverage output mechanism 12; the water receiving area refers to the area for carrying the water receiving container 01 and the like. The liquid level information in the water receiving container 01 refers to the top information of the first type of beverage ingredient and / or the liquid level information of the second type of beverage ingredient in the water receiving container 01.
[0035] Among them, the control mechanism can be set on the seat body 11; the control mechanism can include a microprocessor, such as an integrated control chip like a single-chip microcomputer, or a non-integrated electronic circuit with control and data processing functions, etc., and no specific limitation is made.
[0036] The control mechanism of this embodiment first respectively obtains the first radius R1 of the cup mouth of the water receiving container 01 located in the water receiving area and the second radius R2 of the cup bottom of the water receiving container 01. When the beverage output device, that is, the beverage output mechanism 12 outputs beverages, it obtains the liquid level information in the water receiving container 01 on the water receiving area, and determines whether the current beverage output of the beverage output device meets the stop output condition based on the first radius R1 of the cup mouth of the water receiving container 01, the second radius R2 of the cup bottom, and the liquid level information in the water receiving container 01; if the stop output condition is met, it controls the beverage output mechanism 12 of the beverage output device to stop outputting beverages. The determination of water cut-off in this embodiment can consider factors such as the radii of the cup mouth and cup bottom of the water receiving container 01, so that the determination of stopping beverage output in this embodiment can adapt to various water receiving containers of different sizes and shapes. On the one hand, the control method of this embodiment can be applied to various water receiving containers of different sizes and shapes, which can improve the intelligence and accuracy of beverage output control of the beverage output device; on the other hand, it can reduce the influence of interfering substances on the existing method of determining the stop of beverage output based on ultrasonic waves. Therefore, it can further improve the intelligence and accuracy of beverage output control of the beverage output device.
[0037] Optionally, the beverage output device of this embodiment further includes: an image sensor 14, which is set on the seat body 11 and is connected to the control mechanism. The image sensor 14 is located above the water receiving area and is used to obtain the image information of the cup mouth of the water receiving container 01 located in the water receiving area. The control mechanism obtains the first radius R1 of the cup mouth based on the image information.
[0038] Among them, the image sensor 14 being located above the water receiving area enables the image sensor 14 to be located above the water receiving container 01, so as to improve the accuracy of the image sensor 14 in obtaining the image information of the cup mouth of the water receiving container 01, thereby improving the accuracy of beverage output control of the beverage output device.
[0039] The image sensor 14 can be located at the upper left, upper right, etc. of the water receiving container 01 to reduce the occlusion of the image acquisition view angle of the image sensor 14 by the beverage output mechanism 12. In other embodiments, the image sensor 14 can be disposed on the central axis of the beverage outlet.
[0040] The image sensor 14 detects the interference objects in the water receiving area and the entry and exit of the water receiving container in real time.
[0041] Optionally, the image sensor 14 can include a camera, etc.
[0042] In other embodiments, the beverage output device can also be provided with multiple image sensors to respectively obtain multiple first radii of the cup mouth of the water receiving container, and the control mechanism obtains the first radius of the cup mouth based on the multiple first radii to improve the accuracy of the first radius, thereby improving the accuracy of the beverage output control of the beverage output device.
[0043] Optionally, the beverage output device of this embodiment further includes: an infrared array sensor 13, which is disposed on the water receiving area and connected to the control mechanism. The infrared array sensor 13 is used to obtain the occlusion area of the bottom of the water receiving container 01 against the water receiving area, and the control mechanism obtains the second radius R2 of the bottom of the cup based on the occlusion area.
[0044] The infrared array sensor 13 includes a plurality of infrared detectors arranged in a matrix on the water receiving area. The infrared detectors are connected to the control mechanism. The infrared array sensor 13 obtains the occlusion area of the water receiving container 01 on the water receiving area, and the control mechanism determines the second radius R2 of the bottom of the cup of the water receiving container 01 based on the occlusion area.
[0045] Optionally, the infrared detector can be a reflective infrared sensor, etc.
[0046] In this embodiment, using a plurality of infrared detectors arranged in a matrix on the water receiving area can improve the accuracy of the occlusion area detection.
[0047] In other embodiments, a plurality of pressure detection components, a plurality of ultrasonic detection components, a plurality of microswitches, and / or image detection components, etc. can also be used to replace the above infrared array sensor.
[0048] The plurality mentioned in this application includes two or more.
[0049] In the embodiments of this application, if the cup mouth and the cup bottom are set as a perfect circle, the radius is the radius of the perfect circle; if the cup mouth and the cup bottom are set as an ellipse, the radius is the average value of the major axis radius and the minor axis radius; if the cup mouth and the cup bottom have multiple different radii, the radius is the average value of the multiple different radii.
[0050] In another embodiment, as Figure 2 shown Figure 2It is a schematic structural diagram of another embodiment of the beverage output device of the present application. The beverage output device of this embodiment further includes, on the basis of the above embodiment: an alarm mechanism 21, connected to the control mechanism 22, and the control mechanism 22 controls the alarm mechanism 21 to output an alarm message.
[0051] For example, after the control mechanism 22 controls the beverage output mechanism 12 to stop outputting beverages, it controls the alarm mechanism 21 to output an alarm message to prompt the user that the beverage output is completed; or when the control mechanism 22 determines that the water receiving container 01 is not detected, it controls the alarm mechanism 21 to output an alarm message to prompt the user to place the water receiving container 01 or remove the interfering object; or when the control mechanism determines that the water receiving container 01 is offset, it controls the alarm mechanism 21 to output an alarm message to prompt the user that the water receiving container 01 is placed offset, and so on.
[0052] Among them, the alarm mechanism 21 may include: a buzzer, a horn, an indicator light, a vibrator, a speaker, a display screen, etc., and may output an alarm message in ways such as buzzer prompting, horn voice broadcast, indicator light lighting or flashing, display on a display (text, picture), touch screen display, APP remote reminder, vibrator generating vibration, speaker playing sound, etc.
[0053] Optionally, the beverage output device of this embodiment further includes: an interaction mechanism 23, connected to the control mechanism 22, for realizing interaction operations such as viewing, inputting, and displaying, can view the beverage output situation and the shooting content of the image sensor 14, can also set the beverage output speed and stop output conditions, etc., and can also cancel, set on the remote APP side, or cannot be set;
[0054] Optionally, the control mechanism 22 can also control the interaction mechanism 23 to display the position information of the water receiving container 01 on the water receiving area, so as to facilitate the user to quickly obtain the adjustment orientation of the water receiving container 01; and / or display information such as the cup mouth, cup bottom, and liquid level of the water receiving container 01.
[0055] Optionally, the beverage output device of this embodiment further includes: a communication mechanism 24, connected to the control mechanism 22, for communicatively connecting the control mechanism 22 with an external terminal, the cloud, etc., to realize data communication between the beverage output device and the external terminal.
[0056] Among them, the communication mechanism 24 may include a Wifi module, etc.
[0057] Optionally, the beverage output device of this embodiment further includes: a power supply mechanism 25, connected to the control mechanism 22, the beverage output mechanism 12, the infrared array sensor 13, the alarm mechanism 21, the interaction mechanism 23, the communication mechanism 24, etc., to supply power to the above mechanisms to ensure the normal operation of the above mechanisms, thereby improving the reliability of the beverage output device.
[0058] The control mechanism 22 is used to receive the information of the above-mentioned various mechanisms and external terminals, perform arithmetic processing, and send commands to the various mechanisms and / or generate feedback information to the external terminals.
[0059] The present application further provides a control method for a beverage output device, which can be used for any of the above beverage output devices, such as Figure 3 shown Figure 3 is a schematic flowchart of an embodiment of the control method for the beverage output device of the present application. The control method of this embodiment specifically includes the following steps:
[0060] Step S31: respectively obtain the first radius of the cup mouth of the water receiving container located in the water receiving area and the second radius of the cup bottom of the water receiving container.
[0061] The control mechanism respectively obtains the first radius of the cup mouth of the water receiving container located in the water receiving area and the second radius of the cup bottom of the water receiving container.
[0062] Optionally, in this embodiment, the image information of the water receiving container placed in the water receiving area can be obtained through an image sensor arranged above the water receiving area. The image sensor feeds the image information back to the control mechanism, and the control mechanism identifies the cup mouth image of the water receiving container from the image information, and further obtains the first radius of the cup mouth based on the cup mouth image.
[0063] In an application scenario, only one image sensor is arranged on the base of the beverage output device, and the first radius determined by the control mechanism based on the image information obtained by the image sensor is the first radius of the cup mouth of the water receiving container.
[0064] In another application scenario, multiple different image sensors can be arranged at multiple different positions on the base of the beverage output device. The control mechanism fuses and processes the image information obtained by the multiple image sensors to obtain the image information of the water receiving container, and obtains the first radius of the cup mouth of the water receiving container based on the image information; or the control mechanism obtains the corresponding first radius for each cup based on each image information, and then combines the position information of the multiple image sensors and the corresponding first radius to obtain the first radius of the cup mouth of the water receiving container.
[0065] The image sensor periodically obtains the image information of the water receiving container after the beverage output device is powered on. After the control mechanism determines that there is a water receiving container placed in the water receiving area, it can obtain the image information of the water receiving container after beverage output from the image information fed back by the image sensor; or after the control mechanism determines that there is a water receiving container placed in the water receiving area, it controls the image sensor to obtain the image information of the water receiving container; or the control mechanism controls the image sensor to obtain the image information of the water receiving container in response to the user's beverage output operation or beverage output instruction, and so on.
[0066] Optionally, in this embodiment, an infrared array sensor or the like provided on the water receiving area may be used to obtain the occlusion area of the water receiving container placed on the water receiving area on the water receiving area, and the control mechanism obtains the second radius of the bottom of the water receiving container based on this occlusion area.
[0067] Optionally, the first radius is the inner diameter of the cup mouth, and the second radius is the inner diameter of the cup bottom to improve the control accuracy; or the first radius is the outer diameter of the cup mouth, and the second radius is the outer diameter of the cup bottom to improve the data processing efficiency of the control mechanism.
[0068] Step S32: In response to the beverage output device outputting a beverage, obtain the liquid level information in the water receiving container.
[0069] The control mechanism controls the beverage output mechanism to output a beverage in response to a user's beverage output operation or a beverage output instruction or the like, and periodically obtains the liquid level information in the water receiving container after the beverage output mechanism outputs the beverage.
[0070] Optionally, after the control mechanism controls the beverage output mechanism to output a beverage, it may control an image sensor to obtain the image information of the water receiving container, and obtain the liquid level information in the water receiving container based on this image information; or the image sensor periodically obtains the image information of the water receiving container after the beverage output device is powered on, and the control mechanism obtains the liquid level information in the water receiving container after the beverage is output from the image information fed back by the image sensor after the beverage output mechanism outputs the beverage; or the control mechanism controls the image sensor to obtain the image information of the water receiving container in response to a user's beverage output operation or a beverage output instruction, and obtains the liquid level information in the water receiving container based on this image information, and so on.
[0071] Step S33: Determine whether the current beverage output meets the stop output condition based on the first radius, the second radius, and the liquid level information.
[0072] The control mechanism determines whether the current beverage output meets the stop output condition based on the first radius, the second radius, and the liquid level information.
[0073] Optionally, the liquid level information in this embodiment includes the liquid level radius, and this embodiment may implement step S33 through the method shown in Figure 4 The method of this embodiment includes steps S41 to S43.
[0074] Step S41: Compare the first radius with the second radius.
[0075] Step S42: In response to the first radius being greater than the second radius, obtain the first ratio between the liquid level radius and the first radius.
[0076] Step S43: In response to the first ratio being greater than the first preset ratio, it is determined that the current beverage output meets the stop output condition; wherein, the first preset ratio is less than 1 and greater than 0.7.
[0077] Steps S41 to S43 are introduced together: The control mechanism compares the first radius of the cup mouth of the water receiving container with the second radius of the cup bottom. If the first radius of the cup mouth of the water receiving container is greater than the second radius of the cup bottom, that is, the water receiving container is a container with a larger upper part and a smaller lower part, the control mechanism obtains the liquid surface radius, that is, the first ratio between the current liquid surface radius and the first radius of the cup mouth; if the first ratio is greater than the first preset ratio, the control mechanism determines that the current beverage output meets the stop output condition; wherein, the first preset ratio is less than 1 and greater than 0.7. Otherwise, it is determined that the current beverage output does not meet the stop output condition.
[0078] Among them, the first preset ratio can specifically be 0.9, 0.85, 0.8, 0.75, etc.
[0079] In other embodiments, the first preset ratio can be adjusted based on usage requirements.
[0080] In this embodiment, for a water receiving container with a large cup mouth and a small cup bottom, the ratio between the liquid surface radius in the water receiving container and the first radius of the cup mouth is used to determine the height of the solution in the water receiving container, which can improve the accuracy of determining the stop of beverage output; further, when the ratio between the liquid surface radius and the first radius of the cup mouth is greater than the first preset ratio, it can be determined that the liquid surface is close to the end face of the cup mouth, so as to determine that the current beverage output of the beverage output device meets the stop output condition, which can improve the problem of beverage overflow and premature stop of beverage output due to insufficient beverage volume in the water receiving container.
[0081] In one embodiment, the liquid surface information includes the liquid surface radius, and step S33 can also be implemented by the method as Figure 5 shown. The method of this embodiment includes steps S51 to S53.
[0082] Step S51: Compare the first radius with the second radius.
[0083] Step S52: In response to the first radius being less than the second radius, obtain the second ratio between the liquid surface radius and the second radius.
[0084] Step S53: In response to the second ratio being less than the second preset ratio, it is determined that the current beverage output meets the stop output condition; wherein, the second preset ratio is greater than 0 and less than 0.3.
[0085] Steps S51 to S53 will be introduced together: The control mechanism compares the first radius of the cup mouth of the water receiving container with the second radius of the cup bottom; if the first radius of the cup mouth of the water receiving container is smaller than the second radius of the cup bottom, that is, the water receiving container is a container with a smaller upper part and a larger lower part, the control mechanism obtains the liquid surface radius, that is, the second ratio between the current liquid surface radius and the second radius of the cup bottom; if the second ratio is smaller than the second preset ratio, the control mechanism determines that the current beverage output meets the stop output condition; wherein, the second preset ratio is greater than 0 and less than 0.3. If not, it is determined that the current beverage output does not meet the stop output condition.
[0086] Among them, the second preset ratio can specifically be 0.25, 0.2, 0.15, 0.1, etc.
[0087] In other embodiments, the second preset ratio can be adjusted based on usage requirements.
[0088] In this embodiment, for a water receiving container with a small cup mouth and a large cup bottom, the ratio between the liquid surface radius in the water receiving container and the second radius of the cup bottom is used to determine the height of the beverage in the water receiving container, which can improve the accuracy of determining the stop of beverage output; further, when the ratio between the liquid surface radius and the second radius of the cup bottom is smaller than the second preset ratio, it can be determined that the liquid surface is close to the end face of the cup mouth, so as to determine that the current beverage output of the beverage output device meets the stop output condition, which can improve the problem of beverage overflow and premature stop of beverage output due to insufficient beverage volume in the water receiving container.
[0089] In one embodiment, the liquid surface information in this embodiment includes the liquid surface radius, and this embodiment can implement step S33 through the method shown in Figure 6 The method of this embodiment includes steps S61 to S64.
[0090] Step S61: Compare the first radius with the second radius.
[0091] For specific implementation manners, reference can be made to the above embodiments.
[0092] Step S62: In response to the first radius being equal to the second radius, obtain the first volume of the beverage output by the beverage output device.
[0093] If the first radius of the cup mouth is equal to the second radius of the cup bottom, the control mechanism further obtains the first volume of the beverage output by the beverage output device.
[0094] Specifically, the control mechanism obtains the flow rate, radius and beverage output duration of the beverage output port of the beverage output mechanism, and the control mechanism calculates the product of the flow rate, radius and beverage output duration as the first volume of the beverage output by the beverage output device.
[0095] Among them, the flow rate, radius, etc. of the beverage outlet can be pre-stored in the control mechanism. Or the flow rate of the beverage outlet can be obtained in real time through a flow meter.
[0096] Step S63: Obtain the second volume of the water receiving container based on the liquid level information.
[0097] Optionally, the control mechanism can obtain the liquid level area change rate based on the liquid level information and obtain the flow rate of the beverage in the water receiving container; obtain the height of the water receiving container based on the liquid level area change rate and the flow rate; determine the second volume of the water receiving container based on the first radius, the second radius, and the height.
[0098] In an application scenario, the control mechanism can obtain the liquid level area based on the liquid level image, and can obtain the liquid level area change rate based on the liquid level area corresponding to the previous moment, the liquid level area corresponding to the current moment, and the time duration between the previous moment and the current moment; the control mechanism obtains the flow rate of the beverage outlet based on the flow rate and radius of the beverage outlet, and can obtain the flow rate of the beverage in the water receiving container based on the flow rate of the beverage outlet and the liquid level radius; the control mechanism obtains the height of the water receiving container based on the liquid level area change rate and the flow rate, and determines the second volume of the water receiving container based on the first radius, the second radius, and the height.
[0099] Step S64: Determine whether the current beverage output meets the stop output condition based on the first volume and the second volume.
[0100] In this embodiment, when the radius of the cup mouth is the same as the radius of the cup bottom, it is determined whether the current beverage output of the beverage output mechanism meets the stop output condition by outputting the beverage volume, that is, the first volume and the volume of the water receiving container, that is, the second volume. Since the volume relationship is the most direct and accurate way to determine whether the beverage overflows, this embodiment can improve the accuracy of determining the stop of beverage output.
[0101] Optionally, this embodiment can implement step S63 through the method as Figure 7 shown. The method of this embodiment includes step S71 and step S72.
[0102] Step S71: Calculate the third ratio between the first volume and the second volume.
[0103] Step S72: In response to the third ratio being less than the third preset ratio, determine that the current beverage output meets the stop output condition; where the third preset ratio is less than 1 and greater than 0.7.
[0104] Steps S71 and S72 are introduced together: The control mechanism calculates and outputs the volume of the drink, that is, the third ratio between the first volume and the volume of the water-receiving container, that is, the second volume. If the third ratio is less than the third preset ratio, the control mechanism determines that the current drink output meets the stop output condition. If not, it is determined that the current drink output does not meet the stop output condition.
[0105] Among them, the third preset ratio can specifically be 0.9, 0.85, 0.8, 0.75, etc.
[0106] In other embodiments, the third preset ratio can be adjusted based on usage requirements.
[0107] In another embodiment, regardless of the size between the first radius of the cup mouth and the second radius of the cup bottom, the ratio between the liquid surface radius and the first radius of the cup mouth can be directly obtained to determine whether the current drink output of the drink output device meets the stop output condition based on this ratio and the preset ratio.
[0108] For example, for a water-receiving container with a large cup mouth and a small cup bottom, if the ratio between the liquid surface radius and the first radius of the cup mouth is greater than the third preset ratio, it is determined that the current drink output of the drink output device meets the stop output condition; for a water-receiving container with a small cup mouth and a large cup bottom, if the ratio between the liquid surface radius and the first radius of the cup mouth is greater than the fourth preset ratio, it is determined that the current drink output of the drink output device meets the stop output condition; among them, the third preset ratio is greater than the fourth preset ratio.
[0109] In other embodiments, the corresponding difference can be used instead of the above ratio.
[0110] In another embodiment, step S33 can be implemented by the method as Figure 8 shown. The method of this embodiment includes steps S81 to S83.
[0111] Step S81: Obtain the first volume of the drink output by the drink output device.
[0112] Specifically, the control mechanism obtains the flow rate, radius, and output drink duration of the drink output port of the drink output mechanism, and the control mechanism calculates the product of the flow rate, radius, and output drink duration as the first volume of the drink output by the drink output device.
[0113] Step S82: Determine the second volume of the water-receiving container based on the first radius, second radius, and liquid surface information.
[0114] The control mechanism can obtain the liquid surface area change rate based on the liquid surface information and obtain the flow rate of the liquid in the water-receiving container; obtain the height of the water-receiving container based on the liquid surface area change rate and the flow rate; determine the second volume of the water-receiving container based on the first radius, second radius, and height.
[0115] The control mechanism can also directly determine the height of the water receiving container based on the first volume, the first radius, and the second radius.
[0116] For specific implementation details, refer to step S63.
[0117] Step S83: Determine whether the current beverage output meets the stop output condition based on the first volume and the second volume.
[0118] For specific implementation details, refer to step S64.
[0119] In this embodiment, by using the output beverage volume, i.e., the first volume, and the volume of the water receiving container, i.e., the second volume, to determine whether the current beverage output of the beverage output mechanism meets the stop output condition. Since the volume relationship is the most direct and accurate way to determine whether the beverage overflows, this embodiment can improve the accuracy of determining the stop of beverage output.
[0120] In another embodiment, as Figure 1 shown, the control mechanism can also directly determine the beverage height based on the first volume, the first radius, and the second radius. The first volume V = (1 / 3)*π*h*(R’2 + R2
[0121] + R’*R2), where R’ is the liquid surface radius, R2 is the second radius, and h is the beverage height. The control mechanism obtains the ratio between the height of the output beverage volume and the height of the obtained water receiving container to determine whether the stop output condition is met. For example, when the height of the beverage in the water receiving container is 9 / 10 from the top, i.e., the ratio is 9 / 10, it is determined that the stop output condition is met.
[0122] Step S34: In response to the current beverage output meeting the stop output condition, control the beverage output device to stop outputting beverages.
[0123] If the current beverage output of the beverage output device meets the stop output condition, the control mechanism controls the beverage output mechanism to stop outputting beverages.
[0124] If the current beverage output of the beverage output device does not meet the stop output condition, the beverage output mechanism continues to output beverages, and the control mechanism continues the above detections and determinations.
[0125] This embodiment can determine whether the current beverage output of the beverage output device meets the stop output condition based on the radius information of the cup mouth and the cup bottom of the water receiving container and the liquid level information in the water receiving container when the beverage output device outputs the beverage. This enables the determination of water cut-off in this embodiment to consider factors such as the radius of the cup mouth and the cup bottom of the water receiving container, and further enables the determination of stopping beverage output in this embodiment to adapt to a variety of water receiving containers with different sizes and shapes. On the one hand, the control method of this embodiment can be applied to a variety of water receiving containers with different sizes and shapes, which can improve the intelligence and accuracy of the beverage output control of the beverage output device; on the other hand, it can reduce the influence of interference objects on the existing method of determining the stop of beverage output based on ultrasonic waves. Therefore, it can further improve the intelligence and accuracy of the beverage output control of the beverage output device.
[0126] In one embodiment, in the scenario where the beverage output device outputs water, as Figure 9 shown, the control mechanism detects that there is a water receiving container, such as a water cup, entering the drinking area, such as the water receiving area, based on the image information obtained by the image sensor, such as a camera, and controls the beverage output mechanism to start outputting the beverage; at the same time, the control mechanism obtains the image information of the water cup through the camera to obtain the radius of the upper diameter of the water cup, that is, the first radius R1 of the cup mouth described above, and obtains the radius of the bottom of the cup by detecting the bottom cup area through the sensor on the water receiving area, that is, the second radius R2 of the cup bottom described above; the control mechanism continuously detects the liquid level radius R' based on the image information of the camera and determines whether the liquid level radius R' meets the preset stop output condition; if so, the control mechanism controls the beverage output mechanism to stop outputting the beverage. If not, the control mechanism continues the above detection and judgment. The method for the control mechanism to determine the stop of beverage output can refer to the above embodiment.
[0127] In one embodiment, the camera continuously detects the interference objects in the water dispenser area and the entry and exit of the water receiving container. When the control mechanism detects that there is a water receiving container entering the water receiving area through the camera, it obtains the image information of the water cup through the camera and obtains the first radius R1 of the cup mouth based on the image information.
[0128] In one embodiment, the stop output condition can also be adjusted according to the actual usage scenario and test situation. The user can set the stop output condition through the APP or the screen. For example, the user can set the beverage flow rate to increase or decrease through the APP, and set the stop output condition when the volume of the beverage in the cup reaches 80%. The above conditions are freely set by the user, and the cloud calculates and judges based on the set beverage flow rate, the known radius of the beverage output port, and the values detected by the camera and the bottom sensor.
[0129] Furthermore, abnormal situations where no drink is dispensed can be determined based on the image information obtained by the camera. For example, if the object placed is an interfering object such as a hand, a covered cup, a mobile phone, a cardboard box, etc., the control mechanism will determine that no drink is dispensed, which is an advantage over ultrasonic sensors.
[0130] Meanwhile, during the process of dispensing a drink, when the camera detects an interfering object placed at the mouth of the water cup or the water cup leaves the drinking area, the water supply will automatically stop, which is safer.
[0131] The present application further provides a computer storage medium, such as Figure 10 shown Figure 10 is a schematic structural diagram of an embodiment of the computer storage medium of the present application. The computer storage medium 90 of the embodiment of the present application stores program instructions internally, and the program instructions are executed to implement the control method of the above-mentioned drink dispensing device.
[0132] Among them, the program instructions can form a program file and be stored in the above 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 embodiments of the present application. The aforementioned storage medium includes: USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, optical disks, and other media that can store program codes, or terminal devices such as computers, servers, mobile phones, and tablets.
[0133] The computer storage medium 90 of this embodiment can 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 one embodiment, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer storage medium. The processor of the electronic device reads the computer instructions from the computer storage medium, and the processor executes the computer instructions, so that the electronic device executes the steps in the above method embodiments.
[0135] In addition, when the above functions are implemented in the form of software functions and sold or used as independent products, they can be stored in a storage medium readable by a mobile terminal. That is, the present application also provides a storage device storing program data, and the program data can be executed to implement the methods of the above embodiments. The storage device can be a USB flash drive, an optical disc, a server, etc. That is to say, the present application can be embodied in the form of a software product, which includes several instructions for causing an intelligent terminal to execute all or part of the steps of the methods described in the various embodiments.
[0136] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. 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 are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0137] The above are only the implementation manners of the present application, and do not limit the patent scope of the present application accordingly. All equivalent structural or equivalent process transformations made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, are 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 is provided with a water receiving area, and the control method includes: respectively obtaining a first radius of the cup mouth of a water receiving container located in the water receiving area and a second radius of the cup bottom of the water receiving container; in response to the beverage output device outputting a beverage, obtaining liquid level information in the water receiving container; determining whether the current beverage output meets the stop output condition based on the first radius, the second radius and the liquid level information; in response to the current beverage output meeting the stop output condition, controlling the beverage output device to stop outputting the beverage.
2. The control method according to claim 1, characterized in that, the liquid level information includes a liquid level radius, and determining whether the current beverage output meets the stop output condition based on the first radius, the second radius and the liquid level information includes: comparing the first radius with the second radius; in response to the first radius being greater than the second radius, obtaining a first ratio between the liquid level radius and the first radius; in response to the first ratio being greater than a first preset ratio, determining that the current beverage output meets the stop output condition; wherein, the first preset ratio is less than 1 and greater than 0.
7.
3. The control method according to claim 1, characterized in that, the liquid level information includes a liquid level radius, and determining whether the current beverage output meets the stop output condition based on the first radius, the second radius and the liquid level information includes: comparing the first radius with the second radius; in response to the first radius being less than the second radius, obtaining a second ratio between the liquid level radius and the second radius; in response to the second ratio being less than a second preset ratio, determining that the current beverage output meets the stop output condition; wherein, the second preset ratio is greater than 0 and less than 0.
3.
4. The control method according to claim 1, characterized in that, the liquid level information includes a liquid level radius, and determining whether the current beverage output meets the stop output condition based on the first radius, the second radius and the liquid level information includes: comparing the first radius with the second radius; in response to the first radius being equal to the second radius, obtaining a first volume of the beverage output by the beverage output device; obtaining a second volume of the water receiving container based on the liquid level information; determining whether the current beverage output meets the stop output condition based on the first volume and the second volume.
5. The control method according to claim 1, characterized in that, determining whether the current beverage output meets the stop output condition based on the first radius, the second radius and the liquid level information includes: obtaining a first volume of the beverage output by the beverage output device; determining a second volume of the water receiving container based on the first radius, the second radius and the liquid level information; determining whether the current beverage output meets the stop output condition based on the first volume and the second volume.
6. The control method according to claim 4 or 5, characterized in that, Determining the second volume of the water receiving container based on the liquid level information includes: Obtaining the change rate of the liquid level area based on the liquid level information, and obtaining the flow rate of the drink in the water receiving container; Obtaining the height of the water receiving container based on the change rate of the liquid level area and the flow rate; Determining the second volume of the water receiving container based on the first radius, the second radius and the height.
7. The control method according to claim 6, wherein, Determining whether the current drink output meets the stop output condition based on the first volume and the second volume includes: Calculating a third ratio between the first volume and the second volume; In response to the third ratio being less than a third preset ratio, determining that the current drink output meets the stop output condition; wherein, the third preset ratio is less than 1 and greater than 0.
7.
8. A drink output device, wherein, comprising: A base body provided with a water receiving area; A drink output mechanism disposed on the base body, and a drink output port of the drink output mechanism is located above the water receiving area; A control mechanism connected to the drink output mechanism, and controlling the operation of the drink output mechanism by using the control method according to any one of claims 1 to 7.
9. The drink output device according to claim 8, wherein, The drink output device further includes: An image sensor disposed on the base body and connected to the control mechanism, the image sensor is located above the water receiving area and is used to obtain image information of the cup mouth of the water receiving container located in the water receiving area, and the control mechanism obtains the first radius of the cup mouth based on the image information.
10. The drink output device according to claim 8, wherein, The drink output device further includes: An infrared array sensor disposed on the water receiving area and connected to the control mechanism, the infrared array sensor is used to obtain the occlusion area of the cup bottom of the water receiving container on the water receiving area, and the control mechanism obtains the second radius of the cup bottom based on the occlusion area.
11. A computer storage medium, wherein, Program instructions are stored thereon, and the program instructions are executed by a processor to implement the control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Water dispenser control method, water dispenser and computer readable storage medium
CN111568179A
Water dispenser display control method, water dispenser and computer readable storage medium
CN111568180A
Water dispenser control method, water dispenser and computer readable storage medium
CN111568235A
Water dispenser control method, water dispenser and computer readable storage medium
CN111568245A
Quantitative calculation method for ultrasonic liquid level interface of closed container containing mixed medium
CN113551741A