Control method of beverage output device, beverage output device, and computer storage medium
By acquiring information about the rim and bottom radius of the water container and the liquid level, and using image sensors and infrared array sensors, the problem of beverage dispensing devices being unable to adapt to containers of different sizes and shapes has been solved, achieving more intelligent and precise beverage dispensing control.
Patent Information
- Application Number
- CN202311592889.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2043-11-24
AI Technical Summary
Existing beverage dispensing equipment cannot accurately control beverage dispensing based on the different sizes and shapes of the water containers, and ultrasonic sensors are easily interfered with, leading to abnormal output or overflow.
By acquiring the rim and bottom radius of the water container, as well as the liquid level information, the system uses image sensors and infrared array sensors to determine the stop output conditions, and combines various ratios and volume relationships to achieve precise control.
This improves the adaptability of beverage dispensing equipment to water containers of different sizes and shapes, reduces the impact of interference on control, and enhances the intelligence and accuracy of output control.
Smart Images

Figure CN120036635B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of beverage dispensing equipment technology, and in particular to a control method for a beverage dispensing equipment, a beverage dispensing equipment, and a computer storage medium. Background Technology
[0002] Beverage dispensing devices, such as water dispensers and purifiers, can only dispense beverages in fixed quantities or at set times. They cannot determine the beverage dispensing capacity based on the different sizes and shapes of the water containers. To address this, related patents use ultrasonic sensors to detect the height of the dispensed beverage, thereby controlling the dispensing device to dispense or stop dispensing. However, ultrasonic sensors have some drawbacks. For example, they cannot distinguish between objects; a hand near the water container may interfere with the ultrasonic sensor's ability to determine the beverage height, leading to abnormal dispensing stops or spills. Summary of the Invention
[0003] This application provides a control method for a beverage dispensing device, a beverage dispensing device, and a computer storage medium to improve the intelligence and accuracy of beverage dispensing control.
[0004] To solve the above-mentioned technical problems, another technical solution adopted in this application is: providing a control method for a beverage dispensing device, comprising: acquiring a first radius of the cup opening of a water receiving container located on the water receiving area and a second radius of the cup bottom of the water receiving container; in response to the beverage dispensing device dispensing beverage, acquiring liquid level information in the water receiving container; determining whether the current beverage dispensing meets a stop dispensing condition based on the first radius, the second radius, and the liquid level information; and in response to the current beverage dispensing meeting the stop dispensing condition, controlling the beverage dispensing device to stop dispensing beverage.
[0005] The liquid surface information includes the liquid surface radius. The above-mentioned determination of whether the current beverage output meets the stop output condition based on the first radius, the second radius, and the liquid surface 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 surface 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.
[0006] The liquid surface information includes the liquid surface radius. The above-mentioned determination of whether the current beverage output meets the stop output condition based on the first radius, the second radius, and the liquid surface 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 surface 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.
[0007] The liquid level information includes the liquid level radius. The above-mentioned determination of 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 the first volume of the beverage output device; obtaining the second volume of the water receiving container based on the liquid level information; and determining whether the current beverage output meets the stop output condition based on the first volume and the second volume.
[0008] The process of 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 the first volume of the beverage output device; determining the second volume of the water receiving container based on the first radius, the second radius, and the liquid level information; and determining whether the current beverage output meets the stop output condition based on the first volume and the second volume.
[0009] The method of determining the second volume of the water receiving container based on the liquid level information includes: obtaining the liquid level area change rate and the flow rate of the beverage in the water receiving container based on the liquid level information; obtaining the height of the water receiving container based on the liquid level area change rate and the flow rate; and determining the second volume of the water receiving container based on the first radius, the second radius, and the height.
[0010] The method of 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; and determining that the current beverage output meets the stop output condition in response to the third ratio being less than a third preset ratio; wherein the third preset ratio is less than 1 and greater than 0.7.
[0011] To solve the above-mentioned technical problems, another technical solution adopted in this application is: to provide a beverage dispensing device, including: a base with a water receiving area; a beverage dispensing mechanism disposed on the base, with the beverage dispensing port of the beverage dispensing mechanism located above the water receiving area; and a control mechanism connected to the beverage dispensing mechanism, which uses the above-mentioned control method to control the operation of the beverage dispensing mechanism.
[0012] The beverage dispensing device also includes an image sensor, which is mounted on the base and connected to the control mechanism. The image sensor is located above the water receiving area and is used to acquire image information of the cup opening of the water receiving container located in the water receiving area. The control mechanism acquires the first radius of the cup opening based on the image information.
[0013] The beverage dispensing device also includes an infrared array sensor, which is installed on the water receiving area and connected to the control mechanism. The infrared array sensor is used to obtain the area of the bottom of the water receiving container that is blocked from the water receiving area, and the control mechanism obtains the second radius of the bottom of the cup based on the blocked area.
[0014] To solve the aforementioned technical problems, another technical solution adopted in this application is to provide a computer storage medium. This computer storage medium stores program instructions, which are executed by a processor to implement the aforementioned control method.
[0015] The beneficial effects of this application are as follows: The control method for the beverage dispensing device provided by this application first obtains the first radius of the cup opening of the water receiving container located on the water receiving area and the second radius of the cup bottom of the water receiving container. When the beverage dispensing device dispenses beverage, it obtains the liquid level information in the water receiving container on the water receiving area, and determines whether the current beverage dispensing of the beverage dispensing device meets the stop dispensing condition based on the first radius of the cup opening, the second radius of the cup bottom, and the liquid level information in the water receiving container. If the stop dispensing condition is met, the beverage dispensing device is controlled to stop dispensing beverage. In this way, the embodiments of this application can determine whether the current beverage output of the beverage dispensing device meets the stop-output condition based on the radius information of the cup opening and bottom of the water receiving container and the liquid level information in the water receiving container when the beverage is dispensing. This allows the determination of stopping beverage output to be based on factors such as the radius of the cup opening and bottom of the water receiving container, thereby making the determination of stopping beverage output adaptable to various water receiving containers of different sizes and shapes. On the one hand, this makes the control method of this application applicable to various water receiving containers of different sizes and shapes, and can improve the intelligence and accuracy of beverage output control of the beverage dispensing device. On the other hand, it can improve the influence of interference objects on the existing method of determining the stop of beverage output based on ultrasound. Therefore, it can further improve the intelligence and accuracy of beverage output control of the beverage dispensing device. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, wherein:
[0017] Figure 1 This is a schematic diagram of the structure of an embodiment of the beverage dispensing device of this application;
[0018] Figure 2 This is a schematic diagram of another embodiment of the beverage dispensing device of this application;
[0019] Figure 3 This is a flowchart illustrating an embodiment of the control method for the beverage output device of this application;
[0020] Figure 4 yes Figure 3 Step S33 in the embodiment is a flowchart of an embodiment;
[0021] Figure 5 yes Figure 3 A flowchart illustrating another embodiment of step S33 in the example;
[0022] Figure 6 yes Figure 3 A flowchart illustrating step S33 in another embodiment of the present invention;
[0023] Figure 7 yes Figure 6 A flowchart illustrating another embodiment of step S63 in the example;
[0024] Figure 8 yes Figure 3 A flowchart illustrating step S33 in another embodiment;
[0025] Figure 9 This is a flowchart illustrating another embodiment of the control method for the beverage output device of this application;
[0026] Figure 10 This is a schematic diagram of the structure of an embodiment of the computer storage medium of this application. Detailed Implementation
[0027] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0028] It should be noted that if the embodiments of this application involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.
[0029] Furthermore, if the embodiments of this application involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.
[0030] The beverage dispensing devices proposed in this application may include water dispensers, beverage purifiers, and other devices capable of dispensing beverages, such as those used in kitchens, bathrooms, shopping malls, and other similar settings. The beverage dispensing devices can be independently installed, making them portable, or they can be mounted on the doors of other household appliances, walls, work surfaces, etc.
[0031] The beverage output device of this application can be used to export first-class beverage ingredients and / or second-class beverage ingredients. First-class beverage ingredients include ingredients with fixed shapes, elastic ingredients, and ingredients with poor flowability, such as ice cubes, crushed ice, red beans, mung beans, peanuts, tapioca pearls in bubble tea, coconut jelly, taro balls, milk jelly, fruit jelly, herbal jelly, fruit puree, taro puree, ice cream, puffed foods, baked goods, etc. Second-class beverage ingredients include highly fluid ingredients, such as water, fruit juice, milk, coffee, cola, soy milk, etc.
[0032] This application first proposes a beverage dispensing device, such as... Figure 1 As shown, Figure 1 This is a schematic diagram of the structure of an embodiment of the beverage dispensing device of this application. The beverage dispensing device of this embodiment includes: a base 11, a beverage dispensing mechanism 12, and a control mechanism. The base 11 is provided with a water receiving area; the beverage dispensing mechanism 12 is disposed on the base 11, and the beverage dispensing port of the beverage dispensing mechanism 12 is located above the water receiving area; the control mechanism is connected to the beverage dispensing mechanism 12, and the control mechanism determines whether the current beverage dispensing meets the stop dispensing condition, and controls the beverage dispensing mechanism 12 to stop dispensing beverage when the current beverage dispensing meets the stop dispensing condition.
[0033] For details on the method for determining whether the current beverage output meets the conditions for stopping output, please refer to the following text. For details on the control method of the control mechanism, please refer to the following text.
[0034] The water receiving container 01 can receive not only water, ice, and ice-water mixtures, but also other beverages dispensed by the beverage dispensing mechanism 12. The water receiving area refers to the area used to hold the water receiving container 01, etc. The liquid level information inside the water receiving container 01 refers to the top information of the first type of beverage ingredients and / or the liquid level information of the second type of beverage ingredients inside the water receiving container 01.
[0035] The control mechanism can be mounted on the base 11; the control mechanism may include a microprocessor, such as a microcontroller or other integrated control chip, or a non-integrated electronic circuit with control and data processing functions, etc., and there is no specific limitation.
[0036] In this embodiment, the control mechanism first acquires the first radius R1 of the cup opening 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, i.e. the beverage output mechanism 12, outputs beverage, it acquires the liquid level information in the water receiving container 01 in 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 opening 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, the beverage output mechanism 12 of the beverage output device is controlled to stop outputting beverage. This embodiment determines whether water supply stops based on factors such as the radius of the cup opening and bottom of the water receiving container 01. This allows the determination of stopping beverage output in this embodiment to be adaptable to various water receiving containers of different sizes and shapes. On the one hand, this makes the control method applicable to various water receiving containers of different sizes and shapes, improving the intelligence and accuracy of beverage output control in the beverage output device. On the other hand, it can reduce the influence of interference on existing methods of stopping beverage output based on ultrasound. Therefore, it can further improve the intelligence and accuracy of beverage output control in the beverage output device.
[0037] Optionally, the beverage output device in this embodiment further includes: an image sensor 14, which is disposed on the base 11 and connected to the control mechanism. The image sensor 14 is located above the water receiving area and is used to acquire image information of the cup opening of the water receiving container 01 located on the water receiving area. The control mechanism acquires the first radius R1 of the cup opening based on the image information.
[0038] The image sensor 14 is located above the water receiving area, which allows the image sensor 14 to be positioned above the water receiving container 01. This improves the accuracy of the image sensor 14 in acquiring image information of the cup opening of the water receiving container 01, thereby improving the accuracy of the beverage output control of the beverage output device.
[0039] The image sensor 14 can be located at the upper left or upper right of the water container 01 to reduce the obstruction of the image acquisition view of the image sensor 14 by the beverage dispensing mechanism 12. In other embodiments, the image sensor 14 can be positioned on the central axis of the beverage dispensing port.
[0040] Image sensor 14 detects interference in the water receiving area and the entry and exit of water receiving containers in real time.
[0041] Optionally, the image sensor 14 may include a camera, etc.
[0042] In other embodiments, the beverage dispensing device may also be equipped with multiple image sensors to acquire multiple first radii of the cup opening of the water receiving container. The control mechanism acquires the first radius of the cup opening based on the multiple first radii to improve the accuracy of the first radius, thereby improving the accuracy of the beverage dispensing control of the beverage dispensing device.
[0043] Optionally, the beverage output device in 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 area of the bottom of the water receiving container 01 that blocks the water receiving area. The control mechanism obtains the second radius R2 of the bottom of the cup based on the blocked area.
[0044] The infrared array sensor 13 includes multiple 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 acquires the occlusion area of the water receiving container 01 on the water receiving area. The control mechanism determines the second radius R2 of the bottom of the water receiving container 01 based on the occlusion area.
[0045] Alternatively, the infrared detector can be a reflective infrared sensor, etc.
[0046] This embodiment uses multiple infrared detectors arranged in a matrix on the water contact area to improve the accuracy of detecting obstructed areas.
[0047] In other embodiments, multiple pressure sensors, multiple ultrasonic sensors, multiple microswitches and / or image sensors may be used instead of the infrared array sensor.
[0048] The term "multiple" as used in this application includes two or more.
[0049] In this embodiment, if the cup rim and cup bottom are perfectly circular, their radius is the radius of a perfect circle; if the cup rim and cup bottom are elliptical, their radius is the average of the major axis radius and the minor axis radius; if the cup rim and cup bottom have multiple different radii, their radius is the average of the multiple different radii.
[0050] In another embodiment, such as Figure 2 As shown, Figure 2This is a schematic diagram of another embodiment of the beverage dispensing device of this application. Based on the above embodiment, the beverage dispensing device of this embodiment further includes: an alarm mechanism 21, connected to a control mechanism 22, wherein the control mechanism 22 controls the alarm mechanism 21 to output alarm information.
[0051] For example, after the control mechanism 22 stops dispensing beverages from the beverage dispensing mechanism 12, the control mechanism 22 controls the alarm mechanism 21 to output an alarm message to remind the user that the beverage dispensing is complete; or when the control mechanism 22 determines that the water receiving container 01 has not been detected, the control mechanism 22 controls the alarm mechanism 21 to output an alarm message to remind the user to place the water receiving container 01 or remove any obstructions; or when the control mechanism determines that the water receiving container 01 has shifted, the control mechanism 21 controls the alarm mechanism 21 to output an alarm message to remind the user that the water receiving container 01 has shifted, and so on.
[0052] The alarm mechanism 21 may include: a buzzer, a horn, an indicator light, a vibrator, a speaker, a display screen, etc. It can output alarm information by means of buzzer prompts, horn voice broadcasts, indicator light illumination or flashing, display screen (text, image), touch screen display, APP remote reminders, vibrator vibration, and speaker sound playback.
[0053] Optionally, the beverage output device in this embodiment further includes: an interactive mechanism 23, which is connected to the control mechanism 22, and is used to realize interactive operations such as viewing, inputting and displaying. It can view the beverage output status and the content captured by the image sensor 14, and can also set the beverage output speed and stop output conditions, etc., or cancel them. It can be set on the remote APP terminal, or it can not be set.
[0054] Optionally, the control mechanism 22 can also control the interactive mechanism 23 to display the position information of the water receiving container 01 on the water receiving area, so that the user can quickly obtain the adjustment position of the water receiving container 01; and / or display the cup mouth, cup bottom and liquid level information of the water receiving container 01, etc.
[0055] Optionally, the beverage output device in this embodiment further includes a communication mechanism 24, which is connected to the control mechanism 22 and is used to establish a communication connection between the control mechanism 22 and an external terminal, the cloud, etc., so as to realize data communication between the beverage output device and the external terminal.
[0056] The communication mechanism 24 may include a Wi-Fi module, etc.
[0057] Optionally, the beverage output device in this embodiment further includes a power supply mechanism 25, which is 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, so as to ensure the normal operation of the above mechanisms and thereby improve the reliability of the beverage output device.
[0058] The control mechanism 22 is used to receive information from the above-mentioned mechanisms and external terminals, perform calculations and processing, send commands to each mechanism and / or generate feedback information to the external terminal.
[0059] This application further proposes a control method for a beverage dispensing device, which can be used for any of the aforementioned beverage dispensing devices, such as... Figure 3 As shown, Figure 3 This is a flowchart illustrating an embodiment of the control method for the beverage output device of this application. The control method of this embodiment specifically includes the following steps:
[0060] Step S31: Obtain the first radius of the cup opening 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 obtains the first radius of the cup opening 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, an image sensor positioned above the water receiving area can be used to acquire image information of a water receiving container placed on the water receiving area. The image sensor feeds the image information back to the control mechanism, which identifies the image of the rim of the water receiving container from the image information and further obtains the first radius of the rim based on the image of the rim.
[0063] In one application scenario, only one image sensor is installed on the base of the beverage dispensing device. 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 opening of the water receiving container.
[0064] In another application scenario, multiple different image sensors can be set at different positions on the base of the beverage dispensing device. The control mechanism fuses and processes the image information acquired by the multiple image sensors to obtain the image information of the water receiving container, and obtains the first radius of the cup opening of the water receiving container based on the image information; or the control mechanism obtains the corresponding first radius 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 opening of the water receiving container.
[0065] After the beverage dispensing device is powered on, the image sensor periodically acquires image information of the water receiving container. After the control mechanism determines that a water receiving container is placed in the water receiving area, it can obtain the image information of the water receiving container after the beverage is dispensed from the image information fed back by the image sensor; or the control mechanism can control the image sensor to acquire the image information of the water receiving container after determining that a water receiving container is placed in the water receiving area; or the control mechanism can control the image sensor to acquire the image information of the water receiving container in response to the user's beverage dispensing operation or beverage dispensing command, and so on.
[0066] Optionally, in this embodiment, an infrared array sensor or similar device can be used to obtain the obstruction area of the water receiving container placed on the water receiving area, and the control mechanism can obtain the second radius of the bottom of the water receiving container based on the obstruction area.
[0067] Optionally, the first radius is the inner diameter of the cup opening and the second radius is the inner diameter of the cup bottom to improve control accuracy; or the first radius is the outer diameter of the cup opening 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 dispensing device dispensing beverage, obtain the liquid level information in the water receiving container.
[0069] The control mechanism responds to the user's beverage output operation or beverage output command to control the beverage output mechanism to output beverage, and periodically obtains the liquid level information in the water receiving container after the beverage output mechanism outputs beverage.
[0070] Optionally, after controlling the beverage dispensing mechanism to dispense beverage, the control mechanism can control the image sensor to acquire image information of the water receiving container and obtain liquid level information in the water receiving container based on the image information; or the image sensor periodically acquires image information of the water receiving container after the beverage dispensing device is powered on, and the control mechanism obtains liquid level information in the water receiving container after dispensing beverage from the image information fed back by the image sensor; or the control mechanism responds to the user's beverage dispensing operation or beverage dispensing command to control the image sensor to acquire image information of the water receiving container and obtain liquid level information in the water receiving container based on the 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, which can be obtained by means of, for example... Figure 4 The method shown implements step S33. The method in 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 surface 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 described below: The control mechanism compares the first radius of the rim of the water container with the second radius of the bottom. If the first radius of the rim is greater than the second radius of the bottom (i.e., the water container is larger at the top and smaller at the bottom), the control mechanism obtains the liquid surface radius, which is the first ratio between the current liquid surface radius and the first radius of the rim. If the first ratio is greater than a first preset ratio, the control mechanism determines that the current beverage output meets the stop output condition. 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] Specifically, the first preset ratio can 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] This embodiment targets water-receiving containers with a large opening and a small base. It uses the ratio between the radius of the liquid surface inside the container and the first radius of the cup opening to determine the solution level inside the container, which can improve the accuracy of determining when to stop dispensing beverages. Furthermore, when the ratio between the radius of the liquid surface and the first radius of the cup opening is greater than a first preset ratio, it can be determined that the liquid surface is close to the end face of the cup opening, thereby determining that the current beverage dispensing device meets the stop dispensing condition. This can improve the problems of beverage overflow and premature stop dispensing of beverages due to insufficient beverage volume in the container.
[0081] In one embodiment, the liquid level information includes the liquid level radius, and can also be obtained through methods such as... Figure 5 The method shown implements step S33. The method in 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 smaller 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 are described below: The control mechanism compares the first radius of the rim of the water container with the second radius of the bottom. If the first radius of the rim is smaller than the second radius of the bottom (i.e., the water container is smaller at the top and larger at the bottom), the control mechanism obtains the liquid surface radius, which is the second ratio between the current liquid surface radius and the second radius of the bottom. If the second ratio is less than a second preset ratio, the control mechanism determines that the current beverage output meets the stop output condition. The second preset ratio is greater than 0 and less than 0.3. Otherwise, it is determined that the current beverage output does not meet the stop output condition.
[0086] The second preset ratio can 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] This embodiment targets water containers with small openings and large bottoms. It uses the ratio between the radius of the liquid surface inside the container and the second radius of the bottom of the cup to determine the height of the beverage in the container, which can improve the accuracy of determining when to stop beverage output. Furthermore, when the ratio between the radius of the liquid surface and the second radius of the bottom of the cup is less than a second preset ratio, it can be determined that the liquid surface is close to the end face of the cup opening, thereby determining that the current beverage output of the beverage output device meets the stop output condition, which can improve the problems of beverage overflow and premature stop of beverage output due to insufficient beverage in the water container.
[0089] In one embodiment, the liquid level information includes the liquid level radius, which can be obtained by means of, for example... Figure 6 The method shown implements step S33. The method in this embodiment includes steps S61 to S64.
[0090] Step S61: Compare the first radius with the second radius.
[0091] For detailed implementation methods, please refer to the above embodiments.
[0092] Step S62: In response to the first radius being equal to the second radius, the first volume of the beverage output device is obtained.
[0093] If the first radius of the cup opening 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 time of the beverage output port of the beverage output mechanism, and calculates the product of the flow rate, radius, and beverage output time as the first volume of beverage output by the beverage output device.
[0095] The flow rate and radius of the beverage outlet can be pre-stored in the control mechanism. Alternatively, the flow rate of the beverage outlet can be obtained in real time via 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 rate of change of liquid surface area and the flow rate of beverage in the water receiving container based on the liquid surface information; obtain the height of the water receiving container based on the rate of change of liquid surface area and the flow rate; and determine the second volume of the water receiving container based on the first radius, the second radius, and the height.
[0098] In one application scenario, the control mechanism can obtain the liquid surface area based on the liquid surface image. The control mechanism can obtain the liquid surface area change rate based on the liquid surface area at the previous moment, the liquid surface area at the current moment, and the time between the previous moment and the current moment. The control mechanism can obtain the flow rate of the beverage outlet based on the flow velocity and radius of the beverage outlet. The control mechanism can obtain the flow velocity of the beverage in the water receiving container based on the flow rate of the beverage outlet and the liquid surface radius. The control mechanism can obtain the height of the water receiving container based on the liquid surface area change rate and flow velocity, and determine 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 opening is the same as the radius of the cup bottom, the current beverage output of the beverage output mechanism is determined by the volume of the output beverage, i.e., the first volume, and the volume of the water receiving container, i.e., the second volume. Since the volume relationship is the most direct and accurate way to determine whether the beverage has overflowed, this embodiment can improve the accuracy of determining whether to stop the beverage output.
[0101] Optionally, this embodiment can be achieved through, as follows: Figure 7 The method shown implements step S63. The method in this embodiment includes steps S71 and 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, it is determined that the current beverage output meets the stop output condition; wherein, the third preset ratio is less than 1 and greater than 0.7.
[0104] Steps S71 and S72 are described below: The control mechanism calculates the third ratio between the output beverage volume, i.e., the first volume, and the volume of the water receiving container, i.e., the second volume. If the third ratio is less than the third preset ratio, the control mechanism determines that the current beverage output meets the stop output condition. Otherwise, it determines that the current beverage output does not meet the stop output condition.
[0105] The third preset ratio can 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 opening and the second radius of the cup bottom, the ratio between the liquid surface radius and the first radius of the cup opening can be directly obtained, and the current beverage output of the beverage output device can be determined based on the ratio and a preset ratio to determine whether the current beverage output of the beverage output device meets the stop output condition.
[0108] For example, for a water container with a large opening and a small bottom, if the ratio between the radius of the liquid surface and the first radius of the opening is greater than a third preset ratio, then the current beverage output of the beverage dispensing device is determined to meet the stop output condition; for a water container with a small opening and a large bottom, if the ratio between the radius of the liquid surface and the first radius of the opening is greater than a fourth preset ratio, then the current beverage output of the beverage dispensing device is determined to meet the stop output condition; wherein, the third preset ratio is greater than the fourth preset ratio.
[0109] In other embodiments, the corresponding difference can be used instead of the ratio described above.
[0110] In another embodiment, it can be achieved as follows: Figure 8 The method shown implements step S33. The method in this embodiment includes steps S81 to S83.
[0111] Step S81: Obtain the first volume of the beverage output device.
[0112] Specifically, the control mechanism obtains the flow rate, radius, and beverage output time of the beverage output port of the beverage output mechanism, and calculates the product of the flow rate, radius, and beverage output time as the first volume of beverage output by the beverage output device.
[0113] Step S82: Determine the second volume of the water receiving container based on the first radius, the second radius, and the liquid level information.
[0114] The control mechanism can obtain the rate of change of liquid surface area and the flow velocity of liquid in the receiving container based on the liquid surface information; obtain the height of the receiving container based on the rate of change of liquid surface area and the flow velocity; and determine the second volume of the receiving container based on the first radius, the second radius and the 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 details on the implementation method, please 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 details on the implementation method, please refer to step S64.
[0119] This embodiment determines whether the current beverage output of the beverage output mechanism meets the stop output condition by using the output beverage volume, i.e., the first volume, and the volume of the water receiving container, i.e., the second volume. Since the volume relationship is the most direct and accurate way to determine whether the beverage has overflowed, this embodiment can improve the accuracy of the stop output beverage determination.
[0120] In another embodiment, such as Figure 1 As 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'² + R²)
[0121] +R'*R2), where R' is the radius of the liquid surface, R2 is the second radius, and h is the height of the beverage. The control mechanism uses the ratio between the height of the output beverage volume and the height of the receiving container (obtained above) to determine whether the output stop condition is met. For example, when the height of the beverage in the receiving container is 9 / 10 from the top, i.e., the ratio is 9 / 10, the output stop 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 dispensing device meets the stop output condition, the control mechanism controls the beverage dispensing mechanism to stop dispensing beverages.
[0124] If the current beverage output of the beverage dispensing device does not meet the conditions for stopping output, the beverage dispensing mechanism continues to dispense beverages, and the control mechanism continues to perform the above-mentioned detection and judgment.
[0125] This embodiment can determine whether the current beverage output of the beverage dispensing device meets the stop-output condition based on the radius information of the cup opening and bottom of the water receiving container and the liquid level information in the water receiving container when the beverage dispensing device outputs beverage. This allows the determination of stopping the water output in this embodiment to consider factors such as the radius of the cup opening and bottom of the water receiving container. As a result, the determination of stopping the beverage output in this embodiment can be adapted to water receiving containers of various sizes and shapes. On the one hand, this makes the control method of this embodiment applicable to water receiving containers of various sizes and shapes, and can improve the intelligence and accuracy of the beverage output control of the beverage dispensing device. On the other hand, it can improve the influence of interference objects on the existing method of determining the stop of beverage output based on ultrasound. Therefore, it can further improve the intelligence and accuracy of the beverage output control of the beverage dispensing device.
[0126] In one embodiment, in a scenario where a beverage dispensing device dispenses water, such as Figure 9 As shown, the control mechanism, based on image sensors and camera data, detects the presence of a water container, such as a water cup entering the drinking area, and then controls the beverage dispensing mechanism to begin dispensing beverage. Simultaneously, the control mechanism acquires image information of the water cup via the camera to obtain the radius of the cup's opening (R1), and detects the radius of the cup's bottom (R2) via a sensor on the dispensing area. The control mechanism also continuously monitors the liquid surface radius R' based on the camera image information and determines whether R' meets a preset stop-dispensing condition. If yes, the control mechanism stops dispensing beverage. If not, the control mechanism continues the above detection and judgment process. The method for determining when to stop dispensing beverage can be found in the above embodiment.
[0127] In one embodiment, the camera detects interference in the water dispenser area and the entry and exit of water containers in real time. When the camera detects that a water container has entered the water receiving area, the control mechanism acquires image information of the water cup through the camera and obtains the first radius R1 of the cup opening 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 results. The user can set the stop output condition through an APP or screen. For example, the user can set the beverage flow rate to speed up or slow down through the APP, or set the stop output condition when the volume of 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 outlet, and the values detected by the camera and bottom sensor.
[0129] Furthermore, the camera can detect abnormal situations and prevent the beverage from being consumed by using image information acquired from the camera. For example, if the object placed there is a distraction, such as a hand, a cup with a lid, a mobile phone, or a cardboard box, the camera control mechanism will not be able to detect the beverage. This is an advantage over ultrasonic sensors.
[0130] Meanwhile, during the beverage dispensing process, the camera will automatically stop dispensing water if it detects an object placed on the rim of the cup or if the cup leaves the drinking area, making it safer.
[0131] This application further proposes a computer storage medium, such as Figure 10 As shown, Figure 10 This is a schematic diagram of the structure of a computer storage medium according to an embodiment of this application. The computer storage medium 90 of this embodiment stores program instructions, which are executed to implement the control method of the beverage output device described above.
[0132] The program instructions can be formed into program files and stored in the aforementioned storage medium as a software product, so that an electronic device (which may be a personal computer, server, or network device, etc.) or processor can execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, or terminal devices such as computers, servers, mobile phones, and tablets.
[0133] In this embodiment, the computer storage medium 90 can be, but is not limited to, a USB flash drive, SD card, PD optical drive, portable hard drive, large-capacity floppy drive, flash memory, multimedia memory card, server, etc.
[0134] In one embodiment, a computer program product or computer program is provided, comprising computer instructions stored in a computer storage medium. A processor of an electronic device reads the computer instructions from the computer storage medium and executes the computer instructions, causing the electronic device to perform the steps described in the above method embodiments.
[0135] Furthermore, if the aforementioned functions are implemented as software functions and sold or used as independent products, they can be stored in a mobile terminal-readable storage medium. That is, this application also provides a storage device storing program data, which can be executed to implement the methods of the above embodiments. This storage device can be, for example, a USB flash drive, an optical disc, or a server. In other words, this application can be embodied in the form of a software product, which includes several instructions to cause a smart terminal to execute all or part of the steps of the methods described in the various embodiments.
[0136] In the description of this application, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0137] The above are merely embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A control method of a beverage output apparatus, characterized by, The beverage output device is provided with a water receiving area, and the control method comprises: respectively acquiring a first radius of a cup opening of a water receiving container located on the water receiving area and a second radius of a cup bottom of the water receiving container; acquiring liquid level information in the water receiving container in response to the beverage output device outputting a beverage; determining whether the current beverage output meets a stop output condition based on the first radius, the second radius and the liquid level information; controlling the beverage output device to stop outputting the beverage in response to the current beverage output meeting the stop output condition; wherein the liquid level information comprises a liquid level radius, and the determination of whether the current beverage output meets the stop output condition based on the first radius, the second radius and the liquid level information comprises: comparing the first radius with the second radius; acquiring a first volume of the beverage output device outputting the beverage in response to the first radius being equal to the second radius; acquiring 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; or the determination of whether the current beverage output meets the stop output condition based on the first radius, the second radius and the liquid level information comprises: acquiring a first volume of the beverage output device outputting the beverage; acquiring 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; wherein the acquisition of the second volume of the water receiving container based on the liquid level information comprises: acquiring a liquid level area change rate based on the liquid level information, and acquiring a flow rate of the beverage in the water receiving container; acquiring a height of the water receiving container based on the liquid level area change rate and the flow rate; acquiring the second volume of the water receiving container based on the first radius, the second radius and the height.
2. The control method according to claim 1, characterized by, After the comparison of the first radius with the second radius, the determination of whether the current beverage output meets the stop output condition based on the first radius, the second radius and the liquid level information further comprises: acquiring a first ratio between the liquid level radius and the first radius in response to the first radius being greater than the second radius; determining that the current beverage output meets the stop output condition in response to the first ratio being greater than a first preset ratio; wherein the first preset ratio is less than 1 and greater than 0.
7.
3. The control method according to claim 1, characterized by, After the comparison of the first radius with the second radius, the determination of whether the current beverage output meets the stop output condition based on the first radius, the second radius and the liquid level information further comprises: acquiring a second ratio between the liquid level radius and the second radius in response to the first radius being less than the second radius; determining that the current beverage output meets the stop output condition in response to the second ratio being less than a second preset ratio; wherein the second preset ratio is greater than 0 and less than 0.
3.
4. The control method according to claim 1, characterized by, the determination of whether the current beverage output meets the stop output condition based on the first volume and the second volume comprises: calculating a third ratio between the first volume and the second volume; determining that the current beverage output satisfies a stop output condition in response to the third ratio being less than a third preset ratio; wherein the third preset ratio is less than 1 and greater than 0.
7.
5. A beverage outlet device, characterized in that comprising: a seat body provided with a water receiving area; a beverage output mechanism arranged on the seat body, and a beverage output port of the beverage output mechanism being located above the water receiving area; a control mechanism connected with the beverage output mechanism, and the control mechanism being configured to control the beverage output mechanism to work by using the control method according to any one of claims 1 to 4.
6. Beverage outlet device according to claim 5, characterized in that The beverage output device further comprises: an image sensor arranged on the seat body and connected with the control mechanism, the image sensor being located above the water receiving area and configured to acquire image information of a cup opening of a water receiving container located on the water receiving area, and the control mechanism being configured to acquire a first radius of the cup opening based on the image information.
7. The beverage outlet device according to claim 5, characterized in that The beverage output device further comprises: an infrared array sensor arranged on the water receiving area and connected with the control mechanism, the infrared array sensor being configured to acquire a shielding area of a cup bottom of the water receiving container to the water receiving area, and the control mechanism being configured to acquire a second radius of the cup bottom based on the shielding area.
8. A computer storage medium, characterized in that a processor configured to execute program instructions stored in the memory to implement the control method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Water dispenser control method, water dispenser and computer readable storage medium
CN111568179A