Cup capacity detection method and device for beverage equipment, beverage equipment and medium

文档序号:746998 发布日期:2021-04-23 浏览:14次 中文

阅读说明:本技术 饮料设备的杯具容量检测方法、装置、饮料设备及介质 (Cup capacity detection method and device for beverage equipment, beverage equipment and medium ) 是由 王振凯 于 2021-01-29 设计创作,主要内容包括:本发明适用于饮料设备领域,提供一种饮料设备的杯具容量检测方法、装置、饮料设备及介质,饮料设备的杯具容量检测方法包括如下步骤:通过控制驱动装置带动沿竖直间隔设置的多个收发传感器相对饮料设备的放置平台上的杯具转动或移动,以获取杯具的每个与预设数量的收发传感器相对应的单元段的半径;根据杯具的每个单元段的半径和相邻两个收发传感器的间距分别计算杯具的每个单元段的体积;计算杯具的所有单元段的体积之和,得到杯具的容量。本发明提供的饮料设备的杯具容量检测方法可以快速地实现杯具容量的检测,方便饮料设备根据杯具容量制作对应的饮料量,避免饮料设备制作饮料量过多或过少,且实现方式简单方便,实现成本低。(The invention is suitable for the field of beverage equipment, and provides a cup capacity detection method and device of the beverage equipment, the beverage equipment and a medium, wherein the cup capacity detection method of the beverage equipment comprises the following steps: the method comprises the steps that a driving device is controlled to drive a plurality of receiving and transmitting sensors which are vertically arranged at intervals to rotate or move relative to cups on a placing platform of the beverage equipment, so that the radius of each unit section of the cups corresponding to the receiving and transmitting sensors in a preset number is obtained; respectively calculating the volume of each unit section of the cup according to the radius of each unit section of the cup and the distance between two adjacent transceiving sensors; and calculating the sum of the volumes of all the unit sections of the cup to obtain the capacity of the cup. The cup capacity detection method of the beverage equipment can quickly realize cup capacity detection, is convenient for the beverage equipment to manufacture corresponding beverage amount according to the cup capacity, avoids excessive or insufficient beverage amount manufactured by the beverage equipment, and has simple and convenient realization mode and low realization cost.)

1. A method for detecting the cup capacity of a beverage apparatus, characterized in that it comprises the following steps:

driving a plurality of transceiving sensors which are vertically arranged at intervals to rotate or move relative to cups on a placing platform of the beverage equipment by controlling a driving device so as to obtain the radius of each unit section of the cups, which corresponds to a preset number of transceiving sensors;

respectively calculating the volume of each unit section of the cup according to the radius of each unit section of the cup and the distance between two adjacent transceiving sensors;

and calculating the sum of the volumes of all the unit sections of the cup to obtain the capacity of the cup.

2. The method for detecting the cup capacity of the beverage appliance according to claim 1, wherein the step of controlling the driving device to drive the plurality of transceiver sensors vertically spaced apart to rotate relative to the cup on the placement platform of the beverage appliance so as to obtain the radius of each unit segment of the cup corresponding to the predetermined number of transceiver sensors specifically comprises:

driving a plurality of transceiving sensors to rotate around a rotating shaft simultaneously by controlling the driving device, and acquiring a deflection angle of each transceiving sensor corresponding to the cup from one side boundary of the cup to the other side boundary of the cup;

and calculating the radius of the cup corresponding to the position of each transceiver sensor according to the distance between the rotating shaft and the central axis of the cup and the deflection angle so as to obtain the radius of each unit section of the cup.

3. The method for detecting the cup capacity of the beverage appliance according to claim 1, wherein the step of controlling the driving device to drive the plurality of transceiver sensors vertically spaced apart from each other to move relative to the cup on the placement platform of the beverage appliance so as to obtain the radius of each unit segment of the cup corresponding to the predetermined number of transceiver sensors specifically comprises:

driving a plurality of transceiving sensors to move relative to the cup by controlling a driving device, and acquiring the moving time and the moving speed of the plurality of transceiving sensors moving from one side boundary of the cup to the other side boundary;

and calculating the radius of the cup corresponding to the position of each transceiver sensor according to the moving time and the moving speed so as to obtain the radius of each unit segment of the cup.

4. The method for detecting the cup capacity of the beverage device according to claim 1, wherein the step of calculating the volume of each unit segment of the cup according to the radius of each unit segment of the cup and the distance between two adjacent transceiver sensors comprises:

respectively calculating the bottom area of each unit section of the cup according to the radius of each unit section of the cup;

and calculating the volume of each unit section according to the bottom area of each unit section and the distance between two adjacent transceiving sensors.

5. A cup capacity detection device of a beverage appliance, comprising:

the unit section radius acquiring unit is used for driving a plurality of receiving and transmitting sensors which are vertically arranged at intervals to rotate or move relative to cups on a placing platform of the beverage equipment by controlling a driving device so as to acquire the radius of each unit section of the cups corresponding to the receiving and transmitting sensors with preset number;

the unit section volume calculating unit is used for respectively calculating the volume of each unit section of the cup according to the radius of each unit section of the cup and the distance between two adjacent transceiving sensors;

and the cup capacity calculating unit is used for calculating the sum of the volumes of all the unit sections of the cup to obtain the capacity of the cup.

6. The cup capacity detecting device of beverage equipment according to claim 5, wherein the unit segment radius obtaining unit specifically comprises:

the first acquisition module is used for controlling the driving device to drive the plurality of transceiving sensors to rotate around a rotating shaft at the same time and acquiring a deflection angle of each transceiving sensor corresponding to the cup from one side boundary of the cup to the other side boundary of the cup;

and the first calculation module is used for calculating the radius of the cup corresponding to the position of each transceiver sensor according to the distance between the rotating shaft and the central axis of the cup and the deflection angle so as to obtain the radius of each unit section of the cup.

7. The cup capacity detecting device of beverage equipment according to claim 5, wherein the unit segment radius obtaining unit specifically comprises:

the second acquisition module is used for driving the plurality of transceiving sensors to move relative to the cup by controlling the driving device, and acquiring the moving time and the moving speed of the plurality of transceiving sensors moving from one side boundary of the cup to the other side boundary;

and the second calculation module is used for calculating the radius of the cup corresponding to the position of each transceiver sensor according to the moving time and the moving speed so as to obtain the radius of each unit segment of the cup.

8. The cup capacity detecting device of a beverage appliance according to claim 5, wherein the unit segment volume calculating unit specifically comprises:

the unit section bottom area calculating module is used for calculating the bottom area of each unit section of the cup according to the radius of each unit section of the cup;

and the unit section volume calculating module is used for calculating the volume of each unit section according to the bottom area of each unit section and the distance between two adjacent transceiving sensors.

9. A beverage appliance, comprising:

a placing platform for placing the cup;

the receiving and transmitting sensors are arranged on one side of the placing platform and are vertically arranged at intervals;

the driving device can drive the plurality of transceiving sensors to rotate or move relative to the cup at the same time; and

a processor electrically connected to the plurality of transceiving sensors and the driving means, respectively, for performing the cup capacity detecting method of the beverage appliance of any one of claims 1 to 4.

10. The beverage appliance of claim 9, further comprising a beverage making device connected to the processor for making a corresponding volume of beverage based on the capacity of the cup.

11. A beverage apparatus as claimed in claim 9 or 10, further comprising a beverage dispensing device connected to the processor for dispensing a volume of beverage corresponding to the capacity of the cup.

12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for detecting the cup capacity of a beverage apparatus of any one of claims 1 to 4.

Technical Field

The invention relates to the technical field of beverage equipment, in particular to a cup capacity detection method and device of the beverage equipment, the beverage equipment and a medium.

Background

With the development of science and technology and the progress of society, the living standard of people is continuously improved, and beverage machines (such as coffee machines, juice machines and the like) are more and more widely used in the life and work of people.

In the prior art, when the beverage equipment makes or fills beverage, the capacity of the cup containing the beverage cannot be known by the beverage equipment. If the beverage equipment makes too much beverage, the beverage equipment can be used incompletely to cause waste; if the amount of beverage made by the beverage equipment is too small, the beverage equipment needs to make the beverage again, and guests need to wait, so that the time is wasted. Therefore, the beverage equipment in the prior art cannot detect the capacity of the cup, and is inconvenient to manufacture the corresponding beverage amount according to the capacity of the cup.

Disclosure of Invention

The invention provides a cup capacity detection method of beverage equipment, and aims to solve the problems that the beverage equipment cannot detect the capacity of a beverage cup and is inconvenient to manufacture a corresponding beverage amount according to the capacity of the beverage cup in the prior art.

The invention is realized in such a way that a cup capacity detection method of beverage equipment is provided, and the method comprises the following steps:

driving a plurality of transceiving sensors which are vertically arranged at intervals to rotate or move relative to cups on a placing platform of the beverage equipment by controlling a driving device so as to obtain the radius of each unit section of the cups, which corresponds to a preset number of transceiving sensors;

respectively calculating the volume of each unit section of the cup according to the radius of each unit section of the cup and the distance between two adjacent transceiving sensors;

and calculating the sum of the volumes of all the unit sections of the cup to obtain the capacity of the cup.

The invention also provides a cup capacity detection device of beverage equipment, comprising:

the unit section radius acquiring unit is used for driving a plurality of receiving and transmitting sensors which are vertically arranged at intervals to rotate or move relative to cups on a placing platform of the beverage equipment by controlling a driving device so as to acquire the radius of each unit section of the cups corresponding to the receiving and transmitting sensors with preset number;

the unit section volume calculating unit is used for respectively calculating the volume of each unit section of the cup according to the radius of each unit section of the cup and the distance between two adjacent transceiving sensors;

and the cup capacity calculating unit is used for calculating the sum of the volumes of all the unit sections of the cup to obtain the capacity of the cup.

The present invention also provides a beverage apparatus comprising:

a placing platform for placing the cup;

the receiving and transmitting sensors are arranged on one side of the placing platform and are vertically arranged at intervals;

the driving device can drive the plurality of transceiving sensors to rotate or move relative to the cup at the same time; and

and the processor is electrically connected with the plurality of transceiving sensors and the driving device respectively and is used for executing the cup capacity detection method of the beverage equipment.

The invention also provides a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned cup capacity detection method of a beverage device.

The cup capacity detection method of the beverage equipment provided by the invention has the advantages that the driving device is controlled to drive the plurality of transceiving sensors which are vertically arranged at intervals to rotate or move relative to the cup on the placement platform of the beverage equipment so as to obtain the radius of each unit section of the cup corresponding to the transceiving sensors with the preset number, the volume of each unit section of the cup is respectively calculated according to the radius of each unit section of the cup and the distance between every two adjacent transceiving sensors, the capacity of the cup is obtained by calculating the sum of the volumes of all the unit sections of the cup, the automatic detection of the capacity of the cup can be rapidly realized, the beverage equipment can conveniently manufacture the corresponding beverage amount according to the capacity of the cup, the excessive or insufficient beverage amount manufactured by the beverage equipment is avoided, the realization mode is simple and convenient, and the realization cost is low.

Drawings

Fig. 1 is a schematic structural diagram of a cup capacity detection method of a beverage apparatus according to an embodiment of the present invention;

fig. 2 is another schematic structural diagram of a cup capacity detection method of a beverage apparatus according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of a cup capacity detection method of a beverage apparatus according to an embodiment of the present invention;

FIG. 4 is a flowchart illustrating a method for detecting the cup capacity of a beverage appliance according to an embodiment of the present invention;

FIG. 5 is a sub-flowchart of the step S1 of the cup capacity detecting method of the beverage apparatus according to an embodiment of the present invention;

FIG. 6 is a sub-flowchart of the step S2 of the cup capacity detecting method of the beverage appliance according to an embodiment of the present invention;

fig. 7 is a schematic structural diagram of an implementation of a cup capacity detection method of a beverage device according to a second embodiment of the present invention;

fig. 8 is another schematic structural diagram of a cup capacity detection method of a beverage apparatus according to a second embodiment of the present invention;

FIG. 9 is a flowchart of a cup capacity detecting method of a beverage appliance according to a second embodiment of the present invention;

FIG. 10 is a sub-flowchart of the step S1 of the cup capacity detecting method of the beverage apparatus according to the second embodiment of the present invention;

fig. 11 is a schematic structural diagram of a cup capacity detection device of a beverage apparatus according to a third embodiment of the present invention;

FIG. 12 is a schematic structural diagram of a cup capacity detecting device of a beverage appliance according to a fourth embodiment of the present invention;

fig. 13 is a block diagram of a beverage apparatus according to a fifth embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

The cup capacity detection method of the beverage equipment provided by the invention has the advantages that the driving device is controlled to drive the plurality of transceiving sensors which are vertically arranged at intervals to rotate or move relative to the cup on the placement platform of the beverage equipment so as to obtain the radius of each unit section of the cup corresponding to the transceiving sensors with the preset number, the volume of each unit section of the cup is respectively calculated according to the radius of each unit section of the cup and the distance between every two adjacent transceiving sensors, the capacity of the cup is obtained by calculating the sum of the volumes of all the unit sections of the cup, the automatic detection of the capacity of the cup can be rapidly realized, the beverage equipment can conveniently manufacture the corresponding beverage amount according to the capacity of the cup, the excessive or insufficient beverage amount manufactured by the beverage equipment is avoided, the realization mode is simple and convenient, and the realization cost is low.

Example one

Referring to fig. 1 to 4, the present embodiment provides a method for detecting a cup capacity of a beverage apparatus, including the following steps:

step S1, driving a plurality of transceiver sensors 50 vertically spaced to rotate relative to the cup 70 on the placement platform 60 of the beverage device by controlling the driving device, so as to obtain the radius of each unit segment h of the cup 70 corresponding to the transceiver sensors 50 with the preset number;

in this embodiment, the cross section of the cup 70 is circular, and the cup 70 may be a cylindrical cup, a truncated cone-shaped cup, or other irregular shape with a circular cross section. Wherein, a plurality of transceiving sensors 50 are simultaneously fixed on the same rotating shaft 80 and are arranged at intervals along the vertical direction of the rotating shaft 80. Preferably, the plurality of transceiver sensors 50 are equally spaced to facilitate the calculation of the cup capacity. The specific number of the transceiver sensors 50 is not limited, and the distance between two adjacent transceiver sensors 50 is not limited.

In the embodiment of the present invention, the preset number of the transceiver sensors 50 corresponding to each unit segment h of the cup 70 may be one or two. When each unit segment h of the cup 70 corresponds to one transceiver sensor 50, each transceiver sensor 50 corresponds to the middle position of each unit segment h of the cup 70, and the height of each unit segment h is the distance between two adjacent transceiver sensors 50, so that the middle position radius of each unit segment h of the cup 70 is approximately regarded as the average radius of each unit segment h, and thus the middle position radius of each unit segment h of the cup 70 can be regarded as the radius of each unit segment h of the cup 70. When each unit segment h of the cup 70 corresponds to two adjacent transceiver sensors 50, two adjacent transceiver sensors 50 correspond to the lower end position and the upper end position of each unit segment h of the cup 70, and the height of each unit segment h is also the distance between two adjacent transceiver sensors 50, so that the average value of the radii of the lower end position and the upper end position of each unit segment h of the cup 70 corresponding to two adjacent transceiver sensors 50 is the radius of each unit segment h of the cup 70.

As shown in FIG. 1, as a preferred embodiment of the present invention, each unit segment h of the cup 70 corresponds to two adjacent transceiver sensors 50, two adjacent transceiver sensors 50 correspond to the lower end position and the upper end position of each unit segment h of the cup 70, and the radius detection of each unit segment h of the cup 70 is made more accurate by calculating the average radius of each unit segment h as the radius of each unit segment h according to the radius of the two transceiver sensors 50 corresponding to the lower end position and the upper end position of each unit segment h of the cup 70.

In this embodiment, when the cup 70 needs to be filled with beverage, after the cup 70 is placed on the placement platform 60 of the beverage device, the transceiver sensor 50 corresponding to the height of the cup 70 divides the cup 70 into a plurality of unit segments h, and the transceiver sensor 50 with the height position less than or equal to that of the cup 70 is opposite to the cup 70, that is, the transceiver sensor 50 corresponding to the cup 70 refers to the transceiver sensor 50 with the height position less than or equal to that of the cup 70. The height position is less than or equal to one unit segment h of the cup 70 corresponding to two adjacent transceiver sensors 50 of the cup 70, so that the total volume of the cup 70 can be obtained by calculating the volume of each unit segment h of the cup 70 and then adding the volumes of all the unit segments h of the cup 70. Since the number of the unit segments h into which the cup 70 is divided in the height direction thereof is determined by the number of the transceiving sensors 50 corresponding to the height of the cup 70, the smaller the interval between the transceiving sensors 50, the greater the number of the transceiving sensors 50 corresponding to the height of the cup 70, and the more accurate the capacity calculation of the cup 70.

For convenience of illustration, in the present embodiment, the number of the transceiver sensors 50 corresponding to the cup 70 along the height direction thereof is n, the number of the unit segments h into which the cup 70 is divided along the height direction thereof is n-1, and the capacity of the cup 70 is the sum of the volumes of the n-1 unit segments h. For example, as shown in fig. 1, the total number of the transceiving sensors 50 is 12, the cup 70 corresponds to 10 transceiving sensors 50 along the height direction thereof, the distance between two adjacent transceiving sensors 50 is d, the cup 70 is divided into 9 unit segments h by the 10 transceiving sensors 50 along the height direction, the height of each unit segment h is equal to the distance d between two adjacent transceiving sensors 50, and the volume of the cup 70 is the sum of the volumes of the 9 unit segments h.

In this embodiment, the driving device is specifically a stepping motor, and is connected to the rotating shaft 80 by using an output shaft of the stepping motor. The transceiver sensor 50 is one of an infrared transceiver sensor, an ultrasonic transceiver sensor, or a millimeter wave transceiver sensor. Preferably, the transceiver sensor 50 is an infrared transceiver sensor, specifically an infrared pair transistor, which can reduce the cost.

Wherein, the placing platform 60 of the beverage device can be further provided with a sensor for detecting whether the cup 70 is placed on the placing platform 60. Specifically, when the sensor on the placement platform 60 of the beverage appliance detects that the cup 70 is placed on the placement platform 60, the plurality of transceiver sensors 50 vertically spaced are driven by the control driving device to rotate relative to the cup 70 on the placement platform 60 of the beverage appliance, so as to obtain the radius of each unit segment h of the cup 70. In addition, corresponding keys may be provided on the beverage appliance, and the user may press the keys to input a control command to initiate the cup 70 capacity check.

During the rotation of the plurality of transceiver sensors 50 around the rotation axis 80, the transmitting ends of the plurality of transceiver sensors 50 continuously transmit the detection signals to the cup 70 on the placing platform, wherein the transceiver sensors 50 with a height less than or equal to the height of the cup 70 receive the detection signals reflected by the surface of the cup 70, and the transceiver sensors 50 with a height higher than the height of the cup 70 cannot receive the detection signals reflected by the surface of the cup 70.

In this embodiment, the radius of each unit segment h of the cup 70 is obtained by rotating the plurality of transceiver sensors 50 spaced apart in the vertical direction with respect to the cup 70 on the placement platform of the beverage appliance, so as to calculate the bottom area of each unit segment h according to the radius of each unit segment h of the cup 70.

Referring to fig. 5, as an embodiment of the present invention, step S1 specifically includes:

step S10, driving a plurality of transceiver sensors 50 to rotate around a rotating shaft 80 simultaneously by controlling a driving device, and obtaining the deflection angle theta of each transceiver sensor 50 corresponding to the cup 70 from one side boundary to the other side boundary of the cup 70;

in the present embodiment, as shown in fig. 2, the deflection angle θ is equal to the rotation angle of the rotating shaft 80. The deflection angle θ can be obtained by detecting the rotation angle of the rotating shaft 80 when the plurality of transceiver sensors 50 are deflected from one side boundary to the other side boundary of the cup 70.

Specifically, the rotation of the plurality of transmission/reception sensors 50 with respect to the cup 70 is not limited. In the present embodiment, the plurality of transceiving sensors 50 are directed toward the center of the placing platform 60 in the initial state. When the cup 70 is placed at the center of the placing platform 60, the transceiver sensor 50 with a position height lower than or equal to the height of the cup 70 can receive the detection signal reflected by the surface of the cup 70; then, the control driving device drives the rotating shaft 80 to rotate clockwise, and when the height of the transceiver sensor 50 is lower than or equal to the height of the cup 70, the rotating shaft 80 stops rotating from the time when the transceiver sensor 50 can receive the detection signal reflected by the cup 70 until the transceiver sensor does not receive the detection signal reflected by the cup 70, which represents that the transceiver sensor 50 reaches a side boundary of the cup 70 at the time; then, the driving device is controlled to drive the rotating shaft 80 to rotate counterclockwise, the rotation of the rotating shaft 80 is stopped when the transceiver sensor 50 with the position height lower than or equal to the height of the cup 70 can receive the detection signal reflected by the cup 70 until the transceiver sensor does not receive the detection signal reflected by the cup 70, at this time, the transceiver sensor 50 reaches the other side boundary of the cup 70, and at this time, the rotation angle of the rotating shaft 80 when each transceiver sensor 50 with the position height lower than or equal to the height of the cup 70 deflects from one side boundary of the cup 70 to the other side boundary is obtained, so that the deflection angle θ can be obtained.

In addition, in an initial state, the plurality of transceiver sensors 50 cannot receive the detection signal reflected by the cup 70, and the plurality of transceiver sensors 50 are driven to rotate by controlling the driving device, so that when the plurality of transceiver sensors 50 rotate to a position where the height of the transceiver sensors 50 is lower than or equal to the height of the cup 70 and can receive the detection signal reflected by the cup 70, the transceiver sensors 50 detect a side boundary of the cup 70 at the moment; the driving device drives the plurality of transceiver sensors 50 to rotate continuously, when the transceiver sensors 50 with the height lower than or equal to the height of the cup 70 receive the detection signal reflected by the cup 70 all the time and do not receive the detection signal reflected by the cup 70, it represents that the plurality of transceiver sensors 50 deflect to the other side boundary of the cup 70 relative to the cup 70, and at this time, the rotation angle of the rotating shaft 80 when the plurality of transceiver sensors 50 deflect to the other side boundary from one side boundary of the cup 70 is obtained, i.e. the deflection angle θ can be obtained.

Step S12, calculating the radius R of the cup 70 corresponding to each transceiver sensor 50 according to the distance R between the rotating shaft 80 and the central axis of the cup 70 and the deflection angle θ, so as to obtain the radius of each unit segment h of the cup 70;

as an embodiment of the present invention, the distance between the rotating shaft 80 and the central axis of the cup 70 can be preset. When the user places the cup 70 at the center of the placing platform 60, the distance between the rotating shaft 80 and the central axis of the cup 70 can be regarded as the distance between the rotating shaft 80 and the center of the placing platform 60.

As can be seen from the analysis of fig. 2, the radius of the cup 70 corresponding to each transceiver sensor 50 is calculated as follows:

wherein r is the radius of the cup 70 corresponding to the position of each transceiver sensor 50; theta is a deflection angle; r is the distance between the axis of rotation and the central axis of the cup 70.

As another embodiment of the present invention, the distance R between the rotation axis 80 and the central axis of the cup 70 can be obtained by actual calculation. The center of the placing platform 60 is used as an origin, a plurality of detection sensors 601 which are arranged at equal intervals are respectively arranged in the X-axis direction and the Y-axis direction which are perpendicular to each other, the distance from each detection sensor 601 to the origin and the distance from each detection sensor 601 to the rotating shaft 80 are preset, so that the boundary position of the cup 70 can be identified by judging whether each detection sensor 601 is shielded by the cup, and the distance R between the rotating shaft 80 and the central axis of the cup 70 is calculated according to the boundary position of the cup 70 detected by the detection sensors 601. The detection sensor 601 is a photosensor or an infrared sensor.

Specifically, as shown in fig. 3, when the cup 70 is placed on the placing platform 60, the bottom of the cup 70 shields the detecting sensors 601 corresponding to the X-axis and the Y-axis directions, and the boundary position of the cup 70 can be detected by the detecting sensors 601.

Wherein, the distance from the central axis C of the cup 70 to the rotating shaft 80 along the Y-axis direction is Y1+ Y2, that is, the distance from the central axis C of the cup 70 to the rotating shaft 80 along the Y-axis direction isThe central axis C of the cup 70 is spaced from the Y axis in the X direction by X2,since X0 and X1 are preset values, the distance from the central axis C of the cup 70 to the Y axis along the X axis direction can be calculated to be X2 according to X0 and X1, and then the distance between the rotating shaft 80 and the central axis C of the cup 70 is calculated according to the Pythagorean theorem

In this embodiment, detect the border position of cup utensil 70 through the detection sensor 601 that sets up on placing platform 60, and calculate the distance R between the axis that obtains pivot 80 and cup utensil 70, the user is like this arbitrary places the cup utensil and all can calculate the distance R between the axis of pivot 80 and cup utensil 70 automatically on placing platform, thereby need not the user and deliberately place the cup utensil 70 at the positive center of placing platform 60, need not the counterpoint, degree of automation is high, thereby promote user's use and experience.

When each unit segment h of the cup 70 corresponds to one transceiver sensor 50, and the transceiver sensor 50 corresponds to the middle position of each unit segment h, the radius of the position of the cup 70 corresponding to the transceiver sensor 50 is the radius of the unit segment h corresponding to the transceiver sensor 50, so that the radius of each unit segment h of the cup 70 can be obtained by calculating the radius of the position of the cup 70 corresponding to the transceiver sensor 50.

When each unit segment h of the cup 70 corresponds to two transceiver sensors 50, after the radius of the cup 70 corresponding to the position of each transceiver sensor 50 is obtained through calculation, the radius of each unit segment h of the cup 70 can be obtained by calculating the average value of the radii of the positions of the cup 70 corresponding to the two adjacent transceiver sensors 50. Wherein are adjacent to each other

-

The radius of the two transmitting and receiving sensor 50 positions is denoted as r1、r2I.e. the radius r of each unit segment h is calculated as follows:

in this embodiment, the average value of the radii of the positions of the cups 70 corresponding to the two adjacent transceiving sensors 50 is used as the radius of each unit segment h of the cup 70, so that the volume calculation is more accurate and reliable, and the cup 70 volume detection device can be suitable for the volume detection of cups 70 with various circular cross sections.

Step S2, calculating the volume of each unit segment h of the cup 70 according to the radius of each unit segment h of the cup 70 and the distance between two adjacent transceiving sensors 50;

in this embodiment, the bottom area of each unit segment h of the cup 70 is calculated according to the radius of each unit segment h of the cup 70, and the volume of each unit segment h can be calculated according to the bottom area and the height of each unit segment h.

Referring to fig. 6, as an embodiment of the present invention, step S2 specifically includes the following steps:

step S22, calculating the base area of each unit segment h of the cup 70 according to the radius of each unit segment h of the cup 70;

in this embodiment, the radii of the unit segments h of the cup 70 are sequentially recorded asThe distance between two adjacent transmitting and receiving sensors 50 is sequentially marked as d1、d2、d3… …, the bottom areas of the unit sections h of the cup 70 are sequentially

In step S24, the volume of each unit segment h is calculated according to the bottom area of each unit segment h and the distance between two adjacent transceiving sensors 50.

In this embodiment, the volume of each unit segment h is sequentially calculated by sequentially calculating the bottom area of each unit segment h and then sequentially calculating the volume of each unit segment h according to the bottom area of each unit segment h and the distance between two adjacent transceiver sensors 50.

Wherein, the distance between two adjacent transceiver sensors 50 is the height of each unit segment h, so the volume of each unit segment h of the cup 70 is sequentially

In step S3, the volume sum of all the unit segments h of the cup 70 is calculated to obtain the volume V of the cup 70.

Wherein, the number of the transmitting and receiving sensors 50 corresponding to the height of the cup 70 is n, the number of the unit sections h of the cup 70 is n-1, and the volume of each unit section h of the cup 70 is V in sequence1、V2、V3......Vn-1

The cup has a volume V equal to V1+V2+V3+......Vn-1I.e. the capacity of the cup

According to the cup capacity detection method of the beverage equipment, the driving device is controlled to drive the plurality of transceiving sensors which are vertically arranged at intervals to rotate relative to the cup on the placement platform of the beverage equipment so as to obtain the radius of each unit section of the cup, the volume of each unit section of the cup is calculated according to the radius of each unit section of the cup and the distance between every two adjacent transceiving sensors, and the capacity of the cup is obtained by calculating the sum of the volumes of all the unit sections of the cup, so that the cup capacity can be automatically detected quickly, the beverage equipment can conveniently manufacture the corresponding beverage amount according to the cup capacity, excessive or insufficient beverage amount manufactured by the beverage equipment is avoided, the realization mode is simple and convenient, and the realization cost is low.

Example two

Referring to fig. 7 to 9, the present embodiment provides a method for detecting a cup capacity of a beverage apparatus, and the difference between the present embodiment and the first embodiment is:

step S1, the driving device is controlled to drive the plurality of transceiver sensors 50 vertically spaced apart to move relative to the cups 70 on the placement platform 60 of the beverage appliance, so as to obtain the radius of each corresponding unit segment h of the cups 70 corresponding to the predetermined number of transceiver sensors 50.

In this embodiment, the plurality of transceiving sensors 50 are simultaneously fixed on the same fixed shaft and are arranged at equal intervals along the vertical direction of the fixed shaft. The specific form of the driving device is not limited, the driving device is utilized to drive the fixed shaft to relatively place the cup 70 on the placement platform of the beverage equipment to translate, so that the time of the plurality of transceiving sensors 50 moving from one side boundary of the cup 70 to the other side boundary can be detected, the diameter corresponding to the cup 70 can be calculated according to the moving speed, the radius of the position of each transceiving sensor 50 corresponding to the cup 70 is calculated, the implementation mode is simpler, and the implementation cost is low.

In the embodiment of the present invention, each unit segment h of the cup 70 may correspond to one transceiver sensor 50, and each transceiver sensor 50 corresponds to the middle position of each unit segment h of the cup 70; each unit segment h of the cup 70 may also correspond to two adjacent transceiver sensors 50, and the two adjacent transceiver sensors 50 correspond to the lower end position and the upper end position of each unit segment h of the cup 70.

In the present embodiment, each unit segment h of the cup 70 corresponds to two adjacent transceiver sensors 50, two adjacent transceiver sensors 50 correspond to the lower end position and the upper end position of each unit segment h of the cup 70, and the radius of each unit segment h is determined by calculating the average radius of each unit segment h according to the radius of the two transceiver sensors 50 corresponding to the lower end position and the upper end position of each unit segment h of the cup 70, so that the radius detection of each unit segment h of the cup 70 is more accurate.

Specifically, as shown in fig. 8, in an initial state, the plurality of transceiver sensors 50 are located at a position a, at this time, the plurality of transceiver sensors 50 do not receive a detection signal reflected by the cup 70, the plurality of transceiver sensors 50 are driven to move by controlling the driving device, when the plurality of transceiver sensors 50 move to a position b, at this time, the plurality of transceiver sensors 50 can receive a detection signal reflected by the cup 70, at this time, the plurality of transceiver sensors 50 detect a side boundary of the cup 70, and the plurality of transceiver sensors 50 continue to move; when the plurality of transceiver sensors 50 move to the position c, and at this time, the plurality of transceiver sensors 50 do not receive the detection signal reflected by the cup 70 from the time when the plurality of transceiver sensors 50 receive the detection signal reflected by the cup 70, at this time, it represents that the plurality of transceiver sensors 50 move to the other side boundary of the cup 70, at this time, the time when the plurality of transceiver sensors 50 move to the other side boundary relative to the one side boundary of the cup 70 is obtained, and then the corresponding diameter of the cup 70 is calculated according to the moving speed, so that the radius of the position of the cup 70 corresponding to each transceiver sensor 50 corresponding to the height of the cup can be obtained, and then the average radius of each unit segment h is calculated according to the radii of the positions of the corresponding cups 70 of two adjacent transceiver sensors 50 in sequence to serve as the.

Referring to fig. 10, as an embodiment of the present invention, step S1 specifically includes:

step S16, driving the plurality of transceiver sensors 50 to move relative to the cup 70 by controlling the driving device, and obtaining the moving time t and the moving speed v of the plurality of transceiver sensors 50 moving from one side boundary of the cup 70 to the other side boundary;

in this embodiment, when the transceiver sensor 50 moves to a position where it can start receiving the detection signal reflected by the cup 70, the transceiver sensor 50 detects a side boundary of the cup 70; at this time, the recording time is t1(ii) a The plurality of transmitting/receiving sensors 50 continuously move, and when the transmitting/receiving sensors 50 continuously receive the detection signal reflected by the cup 70 until the transmitting/receiving sensors 50 do not receive the detection signal reflected by the cup 70, the transmitting/receiving sensors 50 move to the other side boundary of the cup 70, and the recording time is t2The transceiver sensor 50 is opposite to the cup 70The time for moving the boundary to the other side is t2-t1. The moving speed v can be directly detected by the speed sensor.

Step S17, calculating the radius of the cup 70 corresponding to the position of each transceiver sensor 50 according to the moving time t and the moving speed v, so as to obtain the radius of each unit segment h of the cup 70.

In this embodiment, the radius r of the cup 70 corresponding to each transceiver sensor 50 is calculated as follows:

in this embodiment, when each unit segment h of the cup 70 corresponds to one transceiver sensor 50, and the transceiver sensor 50 corresponds to the middle position of each unit segment h, the radius of the position of the cup 70 corresponding to the transceiver sensor 50 is the radius of the unit segment h corresponding to the transceiver sensor 50, so that the radius of each unit segment h of the cup 70 can be obtained by calculating the radius of the position of the cup 70 corresponding to the transceiver sensor 50.

When each unit segment h of the cup 70 corresponds to two transceiver sensors 50, after the radius of the cup 70 corresponding to the position of each transceiver sensor 50 is obtained through calculation, the radius of each unit segment h of the cup 70 can be obtained by calculating the average value of the radii of the positions of the cup 70 corresponding to the two adjacent transceiver sensors 50. Step S2 and step S3 are the same as those in the first embodiment, and are not repeated herein.

According to the cup capacity detection method of the beverage equipment, the driving device is controlled to drive the plurality of transceiving sensors which are vertically arranged at intervals to move relative to the cup on the placement platform of the beverage equipment so as to obtain the radius of each unit section of the cup, the volume of each unit section of the cup is calculated according to the radius of each unit section of the cup and the distance between every two adjacent transceiving sensors, and the capacity of the cup is obtained by calculating the sum of the volumes of all the unit sections of the cup, so that the automatic detection of the capacity of the cup can be rapidly realized, the beverage equipment can conveniently manufacture the corresponding beverage amount according to the capacity of the cup, the excessive or insufficient beverage amount manufactured by the beverage equipment is avoided, and the cup capacity detection method is simpler and more accurate.

EXAMPLE III

Referring to fig. 11, the present embodiment provides a cup capacity detecting device of a beverage apparatus, including a unit segment radius obtaining unit 10, a unit segment volume calculating unit 20, and a cup capacity calculating unit 30.

The unit segment radius obtaining unit 10 controls the driving device to drive the plurality of transceiver sensors 50 vertically spaced to rotate relative to the cups 70 on the placing platform 60 of the beverage appliance, so as to obtain the radius of each unit segment h of the cups 70 corresponding to the predetermined number of transceiver sensors 50.

In this embodiment, the cross section of the cup 70 is circular, and the cup 70 may be a cylindrical cup, a truncated cone-shaped cup, or other irregular shape with a circular cross section. Wherein, a plurality of transceiving sensors 50 are simultaneously fixed on the same rotating shaft 80 and are arranged at intervals along the vertical direction of the rotating shaft 80. Preferably, the plurality of transceiver sensors 50 are equally spaced to facilitate the calculation of the cup capacity. The specific number of the transceiver sensors 50 is not limited, and the distance between two adjacent transceiver sensors 50 is not limited.

In the embodiment of the present invention, each unit segment h of the cup 70 may correspond to one transceiver sensor 50, and each transceiver sensor 50 corresponds to the middle position of each unit segment h of the cup 70; each unit segment h of the cup 70 may also correspond to two adjacent transceiver sensors 50, and the two adjacent transceiver sensors 50 correspond to the lower end position and the upper end position of each unit segment h of the cup 70.

Preferably, each unit segment h of the cup 70 corresponds to two adjacent transceiver sensors 50, two adjacent transceiver sensors 50 correspond to the lower end position and the upper end position of each unit segment h of the cup 70, and the average radius of each unit segment h is calculated according to the radius of the two transceiver sensors 50 corresponding to the lower end position and the upper end position of each unit segment h of the cup 70, so as to be used as the radius of each unit segment h, thereby enabling the radius detection of each unit segment h of the cup 70 to be more accurate.

In this embodiment, when a beverage needs to be filled into the cup 70, after the cup 70 is placed on the placement platform 60 of the beverage device, the transceiver sensor 50 corresponding to the height of the cup 70 divides the cup 70 into a plurality of unit segments h, that is, the transceiver sensor 50 having a height position less than or equal to the height position of the cup 70 corresponds to the cup 70, and two adjacent transceiver sensors 50 having a height position less than or equal to the height position of the cup 70 correspond to one unit segment h of the cup 70, so that the total volume of the cup 70 can be obtained by calculating the volume of each unit segment h of the cup 70 and then adding the volumes of all the unit segments h of the cup 70. Since the number of the unit segments h into which the cup 70 is divided in the height direction thereof is determined by the number of the transceiving sensors 50 corresponding to the height of the cup 70, the smaller the interval between the transceiving sensors 50, the greater the number of the transceiving sensors 50 corresponding to the height of the cup 70, and the more accurate the capacity calculation of the cup 70.

For convenience of illustration, in the present embodiment, the number of the transceiver sensors 50 corresponding to the cup 70 along the height direction thereof is n, the number of the unit segments h into which the cup 70 is divided along the height direction thereof is n-1, and the capacity of the cup 70 is the sum of the volumes of the n-1 unit segments h.

In this embodiment, the driving device is specifically a stepping motor, and an output shaft of the stepping motor is connected to the rotating shaft. The transceiver sensor 50 is one of an infrared transceiver sensor, an ultrasonic transceiver sensor, or a millimeter wave transceiver sensor. Preferably, the transceiver sensor 50 is an infrared transceiver sensor, which can reduce the cost.

During the rotation of the plurality of transceiver sensors 50 around the rotation axis 80, the transmitting ends of the plurality of transceiver sensors 50 continuously transmit the detection signals to the cup 70 on the placement platform, wherein the transceiver sensors 50 with a height less than or equal to the height of the cup 70 receive the detection signals reflected by the surface of the cup 70, and the transceiver sensors 50 with a height higher than the height of the cup 70 cannot receive the detection signals reflected by the surface of the cup 70. Therefore, only the transceiver sensor 50 having a position height equal to or less than the height of the cup 70 will participate in the capacity detection operation of the cup 70.

In this embodiment, the unit segment radius obtaining unit 10 obtains the radius of each unit segment h of the cup 70 by rotating the plurality of transceiver sensors 50 spaced apart in the vertical direction with respect to the cup 70 on the placement platform of the beverage appliance, so as to calculate the bottom area of each unit segment h according to the radius of each unit segment h of the cup 70.

As an embodiment of the present invention, the unit segment radius obtaining unit 10 specifically includes a first obtaining module 101 and a first calculating module 102.

The first obtaining module 101 is configured to drive the plurality of transceiver sensors 50 to rotate around a rotating shaft 80 through controlling the driving device, and obtain a deflection angle θ that each transceiver sensor 50 corresponding to the cup 70 deflects from one side boundary of the cup 70 to the other side boundary.

In the present embodiment, as shown in fig. 2, the deflection angle θ is equal to the rotation angle of the rotating shaft 80. The first obtaining unit 101 can obtain the deflection angle θ by detecting the rotation angle of the rotating shaft when the plurality of transceiver sensors 50 deflect from one side boundary of the cup 70 to the other side boundary.

Specifically, the rotation of the plurality of transmission/reception sensors 50 with respect to the cup 70 is not limited. In the present embodiment, the plurality of transceiving sensors 50 are directed toward the center of the placing platform 60 in the initial state. When the cup 70 is placed at the center of the placing platform 60, the transceiver sensor 50 with a position height lower than or equal to the height of the cup 70 can receive the detection signal reflected by the surface of the cup 70; then, the control driving device drives the rotating shaft 80 to rotate clockwise, and when the height of the transceiver sensor 50 is lower than or equal to the height of the cup 70, the rotating shaft 80 stops rotating from the time when the transceiver sensor 50 can receive the detection signal reflected by the cup 70 until the transceiver sensor does not receive the detection signal reflected by the cup 70, which represents that the transceiver sensor 50 reaches a side boundary of the cup 70 at the time; then, the driving device is controlled to drive the rotating shaft 80 to rotate counterclockwise, the rotation of the rotating shaft 80 is stopped when the transceiver sensor 50 with the position height lower than or equal to the height of the cup 70 can receive the detection signal reflected by the cup 70 until the transceiver sensor 50 cannot receive the detection signal reflected by the cup 70, which means that the transceiver sensor 50 has reached the other side boundary of the cup 70 at the moment, and the rotation angle of the rotating shaft 80 when each transceiver sensor 50 with the position height lower than or equal to the height of the cup 70 deflects from one side boundary of the cup 70 to the other side boundary at the moment is obtained, so that the deflection angle θ can be obtained.

The first calculating module 102 is configured to calculate a radius R of the cup 70 corresponding to each position of the transceiver sensor 50 according to a distance R between the rotating shaft 80 and a central axis of the cup 70 and the deflection angle θ, so as to obtain a radius of each unit segment h of the cup 70.

The specific manner of calculating the radius R of the cup 70 corresponding to the position of each transceiver sensor 50 according to the distance R between the rotating shaft 80 and the central axis of the cup 70 and the deflection angle θ to obtain the radius of each unit segment h is the same as that in the first embodiment.

The unit segment volume calculating unit 20 is used for respectively calculating the volume of each unit segment h of the cup 70 according to the radius of each unit segment h of the cup 70 and the distance between two adjacent transceiving sensors 50.

In this embodiment, the unit segment volume calculating unit 20 calculates the bottom area of each unit segment h of the cup 70 according to the radius of each unit segment h of the cup 70, and then calculates the volume of each unit segment h according to the bottom area and the height of each unit segment h.

As an embodiment of the present invention, the unit segment volume calculating unit 20 specifically includes a unit segment bottom area calculating module 201 and a unit segment volume calculating module 202.

The unit section bottom area calculating module 201 is used for calculating the bottom area of each unit section h of the cup 70 according to the radius of each unit section h of the cup 70.

The unit segment volume calculating module 202 is used for calculating the volume of each unit segment h according to the bottom area of each unit segment h and the distance between two adjacent transceiving sensors 50.

The cup capacity calculating unit 30 is used for calculating the sum of the volumes of all the unit segments h of the cup 70 to obtain the capacity V of the cup 70.

The cup capacity detection device of the beverage equipment provided by the invention has the advantages that the unit section average radius acquisition unit controls the driving device to drive the plurality of transceiving sensors which are vertically arranged at intervals to rotate relative to the cup on the placement platform of the beverage equipment so as to acquire the radius of each unit section of the cup, the unit section volume calculation unit respectively calculates the volume of each unit section of the cup according to the radius of each unit section of the cup and the distance between every two adjacent transceiving sensors, and the cup capacity calculation unit obtains the capacity of the cup by calculating the sum of the volumes of all the unit sections of the cup, so that the automatic detection of the capacity of the cup can be quickly realized, the beverage equipment can conveniently manufacture corresponding beverage amount according to the capacity of the cup, the excessive or insufficient beverage amount manufactured by the beverage equipment is avoided, the realization mode is simple and convenient, and the realization cost is low.

Example four

Referring to fig. 12, the present embodiment provides a cup capacity detecting device of a beverage apparatus, including a unit segment radius obtaining unit 10, a unit segment volume calculating unit 20, and a cup capacity calculating unit 30, wherein the difference between the present embodiment and the third embodiment is:

in this embodiment, the unit segment radius obtaining unit 10 is configured to drive the plurality of transceiver sensors 50 vertically spaced apart to move relative to the cup 70 on the placement platform of the beverage appliance by controlling the driving device, so as to obtain the radius of each unit segment h of the cup 70 corresponding to the predetermined number of transceiver sensors 50, where each unit segment h of the cup 70 corresponds to two adjacent transceiver sensors 50.

In this embodiment, the plurality of transceiving sensors 50 are simultaneously fixed on the same fixed shaft and are arranged at equal intervals along the vertical direction of the fixed shaft. The specific form of the driving device is not limited, the driving device is utilized to drive the fixed shaft to relatively place the cup 70 on the placement platform of the beverage equipment to translate, so that the time of the plurality of transceiving sensors 50 moving from one side boundary of the cup 70 to the other side boundary can be detected, the diameter corresponding to the cup 70 can be calculated according to the moving speed, the radius of the position of each transceiving sensor 50 corresponding to the cup 70 is calculated, the implementation mode is simpler, and the implementation cost is low.

Specifically, in the initial state, the plurality of transceiver sensors 50 do not receive the detection signal reflected by the cup 70, the plurality of transceiver sensors 50 are driven to move by controlling the driving device, when the plurality of transceiver sensors 50 move to receive the detection signal reflected by the cup 70, the plurality of transceiver sensors 50 detect a side boundary of the cup 70, the plurality of transceiver sensors 50 continue to move, when the plurality of transceiver sensors 50 do not receive the detection signal reflected by the cup 70 from receiving the detection signal reflected by the cup 70, the plurality of transceiver sensors 50 move to the other side boundary of the cup 70, the time when the plurality of transceiver sensors 50 move to the other side boundary relative to the cup 70 is obtained, the diameter corresponding to the cup 70 is calculated according to the moving speed, and thus the radius of the position of the cup 70 corresponding to each transceiver sensor 50 can be obtained, and then, calculating the average radius of each unit segment h as the radius of each unit segment h according to the radii of the positions of the cups 70 corresponding to the two adjacent transceiving sensors 50.

As an embodiment of the present invention, the unit segment radius obtaining unit 10 specifically includes a second obtaining module 105 and a second calculating module 106.

The second obtaining module 105 is configured to drive the plurality of transceiver sensors 50 to move relative to the cup 70 by controlling the driving device, and obtain a moving time t and a moving speed v of the plurality of transceiver sensors 50 moving from one side boundary of the cup 70 to the other side boundary.

The second calculating module 106 is configured to calculate the radius of the cup 70 corresponding to the position of each transceiver sensor 50 according to the moving time t and the moving speed v, so as to obtain the radius of each unit segment h of the cup 70.

In this embodiment, the specific manner of calculating the radius of each unit segment h of the cup 70 by the second calculating module 106 according to the moving time t and the moving speed v, wherein the radius corresponds to the position of each transceiver sensor 50, and the radius is obtained by the second calculating module 106.

The cup capacity detection device of the beverage equipment provided by the invention has the advantages that the unit section radius acquisition unit controls the driving device to drive the plurality of transceiving sensors which are vertically arranged at intervals to move relative to the cup on the placement platform of the beverage equipment so as to acquire the radius of each unit section of the cup, the unit section volume calculation unit calculates the volume of each unit section of the cup according to the radius of each unit section of the cup and the distance between every two adjacent transceiving sensors, and the cup capacity calculation unit obtains the capacity of the cup by calculating the sum of the volumes of all the unit sections of the cup, so that the automatic detection of the capacity of the cup can be quickly realized, the beverage equipment can conveniently manufacture the corresponding beverage amount according to the capacity of the cup, the excessive or insufficient beverage amount manufactured by the beverage equipment is avoided, and the cup capacity detection mode is simpler and more accurate.

EXAMPLE five

Referring to fig. 13, the present embodiment provides a beverage apparatus, including:

a placing platform for placing the cup;

a plurality of transceiver sensors 50 disposed at one side of the placement platform and vertically spaced apart from each other;

a driving device 40, which can drive the plurality of transceiving sensors 50 to rotate or move relative to the cup at the same time; and

and a processor 45, which is respectively connected with the plurality of transmitting and receiving sensors 50 and the driving device 40 and is used for the cup capacity detection method of the beverage equipment in the first embodiment or the second embodiment.

In this embodiment, the specific type of the beverage device is not limited, and the beverage device may be a coffee maker, a juice maker, or the like. The cup capacity detection method of the beverage equipment directly detects the capacity of the cup placed on the placing platform, so that the beverage equipment can automatically make the corresponding beverage amount according to the cup capacity, and the excessive or insufficient beverage amount made by the beverage equipment is avoided.

As an embodiment of the present invention, as shown in fig. 3, a plurality of detection sensors 601 are disposed on the placing platform 60 at equal intervals along the X-axis and Y-axis directions perpendicular to each other, and the detection sensors 601 are electrically connected to the processor 45. The detection sensor 601 is a photosensor or an infrared sensor. The processor 45 detects the boundary position of the cup 70 through the detection sensor 601 to calculate the distance between the rotating shaft and the central axis of the cup, so that the user can automatically calculate the distance between the rotating shaft and the central axis of the cup when the user places the cup on the placing platform at will, the user is not required to place the cup at the center of the placing platform intentionally, the alignment is not required, the automation degree is high, and the use experience of the user is improved.

As an embodiment of the invention, the beverage apparatus comprises a beverage making device 55 connected to the processor 45, the beverage making device 55 being adapted to make a corresponding volume of beverage depending on the capacity of the cup.

In this embodiment, after the beverage device detects the capacity of the cup placed on the placement platform, the processor 45 controls the beverage making device 55 to make the corresponding amount of beverage according to the capacity of the cup, so as to avoid the beverage making amount of the beverage device being too much or too little, and realize the automatic detection of the capacity of the cup and the automatic making of the corresponding amount of beverage according to the capacity of the cup.

As an embodiment of the invention, the beverage apparatus further comprises a beverage filling device 65 connected to the processor 45, the beverage filling device 65 being adapted to fill the cup with a corresponding volume of beverage depending on the capacity of the cup.

In this embodiment, after the beverage device detects the capacity of the cup placed on the placement platform, the processor 45 controls the beverage making device 55 to make a corresponding amount of beverage according to the capacity of the cup, and then controls the beverage filling device 65 to automatically add the corresponding amount of beverage to the cup, so as to realize automatic detection of the capacity of the cup, automatic making of the corresponding amount of beverage according to the capacity of the cup, and filling of the corresponding amount of beverage to the cup, thereby realizing full automation of the beverage device and facilitating use by a user.

EXAMPLE six

Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the cup capacity detection method of the beverage device of the first embodiment or the second embodiment. The computer program may be stored in a computer readable storage medium. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like.

The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

24页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种铅酸蓄电池加液量快速检测工装

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!