Object detection method, beverage output device and computer readable storage medium

By using the object detection method in the beverage output device, and automatically illuminating the screen display system after the first sensing component detection container is placed, the complex operation problems in the prior art are solved and a more convenient operation process is achieved.

CN120036646APending Publication Date: 2025-05-27HUBEI MIDEA REFRIGERATOR CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311601689.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-24
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The on-screen display system of existing beverage output devices is complicated to light up and requires manual unlocking or switching signals.

Method used

Using the object detection method, the detection wave is emitted and the echo is received through the first sensing component (such as an ultrasonic detector), the echo difference is calculated to determine whether the container is placed, and the screen display system is automatically lit.

Benefits of technology

Simplified operation, and users can automatically light up the screen display system without manual unlocking, improving operational convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120036646A_ABST
    Figure CN120036646A_ABST
Patent Text Reader

Abstract

The invention provides an object detection method, a beverage output device and a computer readable storage medium, the object detection method is used for the beverage output device, and the beverage output device is provided with a first sensing assembly and a screen display system. The object detection method comprises the following steps: determining that a container is placed below a first sensing assembly; and controlling the screen display system to turn on the screen for function selection. According to the object detection method, detection is carried out through the first sensing assembly of the device, after it is judged that the container is put in, the screen display system is automatically lightened, and then function selection such as outputting of the first type of beverage ingredients, outputting of the second type of beverage ingredients or outputting of the first type of beverage ingredients and the second type of beverage ingredients at the same time is carried out; and the screen display system does not need to be manually unlocked and lightened, so that the operation is more convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of beverage output devices, and particularly to an object detection method, a beverage output device, and a computer-readable storage medium. Background Art

[0002] In the prior art, the screen display system of a beverage output device is lit by a switch signal or manual unlocking, and the operation is relatively complex. Summary of the Invention

[0003] In view of this, this application provides an object detection method, a beverage output device, and a computer-readable storage medium to solve the problem that the screen display system in the prior art is relatively complex to light up.

[0004] To solve the above technical problems, a technical solution adopted by this application is: providing an object detection method, which is used for a beverage output device, and the beverage output device has a first sensing component and a screen display system; the object detection method includes: determining that a container is placed under the first sensing component; controlling the screen display system to turn on the screen for function selection.

[0005] According to an embodiment of this application, the determining that a container is placed under the first sensing component includes: controlling the first sensing component to emit a detection wave; the first sensing component receiving the detection echo of the detection wave; calculating the difference degree between the detection echo and a preset echo to obtain a comprehensive echo value, and the preset echo is the echo when no container is placed; determining whether the comprehensive echo value is greater than or equal to a preset value; if so, determining that a container is placed under the first sensing component.

[0006] According to an embodiment of this application, the calculating the difference degree between the detection echo and the preset echo to obtain a comprehensive echo value includes: obtaining a detection echo fitting curve according to the reception time and echo amplitude of the detection echo; comparing the detection echo fitting curve with a preset echo fitting curve of the preset echo, and calculating the difference degree between the detection echo fitting curve and the preset echo fitting curve within a preset section to obtain the comprehensive echo value.

[0007] According to an embodiment of this application, the calculating the difference degree between the detection echo fitting curve and the preset echo fitting curve within the preset section to obtain the comprehensive echo value includes: selecting a plurality of corresponding points on the detection echo fitting curve and the preset echo fitting curve within the preset section, calculating the difference between the echo amplitudes of the detection echo and the preset echo and summing them to obtain the comprehensive echo value.

[0008] According to an embodiment of the present application, calculating the difference degree between the detected echo fitting curve and the preset echo fitting curve within the preset section to obtain the comprehensive echo value includes: selecting a plurality of corresponding points on the detected echo fitting curve and the preset echo fitting curve within the preset section, calculating the absolute value of the difference between the echo amplitudes of the detected echo and the preset echo, and summing them to obtain the comprehensive echo value.

[0009] According to an embodiment of the present application, calculating the difference degree between the detected echo fitting curve and the preset echo fitting curve within the preset section to obtain the comprehensive echo value includes: selecting a plurality of corresponding points on the detected echo fitting curve and the preset echo fitting curve within the preset section, calculating the difference between the echo amplitudes of the detected echo and the preset echo, and summing the positive differences to obtain the comprehensive echo value.

[0010] According to an embodiment of the present application, the beverage output device further has a carrier table, the first sensing component is located above the carrier table, the carrier table is used to carry a container, and the container is used to receive the beverage; the starting position of the preset section is when the echo amplitude of the detected echo first drops to the trough value; the ending position of the preset section is at the first time, and the first time is the time when the first sensing component receives the detected echo reflected by the carrier table.

[0011] According to an embodiment of the present application, before calculating the difference degree between the detected echo and the preset echo, it further includes: judging whether the echo amplitude of the detected echo is greater than or equal to the preset amplitude; if so, directly determining that a container is placed below the first sensing component.

[0012] According to an embodiment of the present application, the first sensing component is an ultrasonic detector or a time-of-flight detector.

[0013] To solve the above technical problems, another technical solution adopted by the present application is: providing a beverage output device, including: a first sensing component, configured to emit a detection wave and receive the detected echo of the detection wave; a control component, connected to the first sensing component, and the control component is configured to execute any one of the above object detection methods.

[0014] To solve the above technical problems, another technical solution adopted by the present application is: providing a computer-readable storage medium, which stores program instructions that can be executed to implement any one of the above object detection methods.

[0015] The beneficial effects of the present application are as follows: A method for object detection is provided, and this beverage output device has a first sensing component and a display system. The object detection method of the present application performs detection through the existing first sensing component of the device. After determining that a container is placed, the display system is automatically lit, and then function selections such as outputting the first type of beverage ingredients, outputting the second type of beverage ingredients, or simultaneously outputting the first type of beverage ingredients and the second type of beverage ingredients can be made. There is no need for manual unlocking to light the display system, making the operation more convenient. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings. Among them:

[0017] Figure 1 is a schematic flowchart of an embodiment of the object detection method of the present application;

[0018] Figure 2 is a schematic flowchart of an embodiment of the object detection method of the present application;

[0019] Figure 3 is a schematic diagram of the echo fitting curve and the preset echo fitting curve of an embodiment of the object detection method of the present application;

[0020] Figure 4 is a schematic diagram of the echo fitting curve and the preset echo fitting curve of another embodiment of the object detection method of the present application;

[0021] Figure 5 is a schematic diagram of the echo fitting curve and the preset echo fitting curve of another embodiment of the object detection method of the present application.

[0022] Figure 6 is a schematic flowchart of an embodiment of the object detection method of the present application;

[0023] Figure 7 is a schematic structural diagram of an embodiment of the object detection method of the present application;

[0024] Figure 8 is a schematic structural diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0025] To make the above objects, features, and advantages of the present application more apparent and understandable, the following will describe in detail the specific embodiments of the present application with reference to the accompanying drawings. It can be understood that the specific embodiments described herein are only for explaining the present application and not for limiting the present application. Additionally, it should be noted that for the convenience of description, only the parts related to the present application rather than all the structures are shown in the drawings. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present application.

[0026] As used herein, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment can be included in at least one embodiment of the present application. The phrase may not necessarily refer to the same embodiment when it appears in various places in the specification, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.

[0027] In the prior art, the screen display system of a beverage output device is turned on by controlling a switch signal, human body sensing, or manual unlocking, and the operation is relatively complex.

[0028] The present application provides an object detection method for a beverage output device. The beverage output device has a first sensing component and a screen display system. The object detection method includes: determining that a container is placed below the first sensing component; controlling the screen display system to turn on the screen for function selection.

[0029] Specifically, referring to Figure 1 , the detection method includes the following steps:

[0030] S1: Determine that a container is placed below the first sensing component.

[0031] The beverage output device of this embodiment is equipped with a first sensing component. After detecting that a container is placed, the next operation can be performed.

[0032] S2: Control the screen display system to turn on the screen for function selection.

[0033] After determining that a container is placed below the first sensing component, control the screen display system to turn on the screen for function selection.

[0034] Under normal circumstances, the screen display system is lit through human body induction, manual unlocking, or control switch signals, etc. After the beverage output device of this embodiment determines that a container is placed under the first sensing component, it controls the screen display system to be automatically lit for function selection. For example, it can be a function selection of outputting the first type of beverage ingredients, outputting the second type of beverage ingredients, or outputting both the first type of beverage ingredients and the second type of beverage ingredients at the same time. The first type of beverage ingredients includes ingredients with fixed shapes, elastic ingredients, and ingredients with poor fluidity. For example, ice cubes, crushed ice, red beans, mung beans, peanuts, pearls in pearl milk tea, coconut jelly, taro balls, milk jelly, jelly, turtle jelly, fruit puree, taro puree, ice cream, puffed food, baked goods, etc. The second type of beverage ingredients includes ingredients with high fluidity. For example, water, fruit juice, milk, coffee, cola, soy milk, etc. This embodiment uses the existing first sensing component of the device for detection. After determining that a container is placed, it automatically lights the screen display system without manual unlocking, making the operation more convenient.

[0035] In this embodiment, determining that a container is placed under the first sensing component includes: controlling the first sensing component to emit a detection wave; the first sensing component receiving the detection echo Ax of the detection wave; calculating the difference degree between the detection echo Ax and the preset echo Ay to obtain a comprehensive echo value B, where the preset echo Ay is the echo when no container is placed; determining whether the comprehensive echo value B is greater than or equal to the preset value b; if so, it is determined that a container is placed under the first sensing component.

[0036] Specifically, referring to Figure 2 , determining that a container is placed under the first sensing component includes the following steps:

[0037] S11: Control the first sensing component to emit a detection wave.

[0038] The beverage output device has a first sensing component at one end of the beverage output port. After the beverage output device is powered on, the first sensing component emits a detection wave to detect whether there is an object entering. Among them, the detection wave can be emitted in real time, at intervals, or triggered by other means.

[0039] S12: The first sensing component receives the detection echo Ax of the detection wave.

[0040] The first sensing component receives the reflected detection echo Ax.

[0041] S13: Calculate the difference degree between the detection echo Ax and the preset echo Ay to obtain a comprehensive echo value B, where the preset echo Ay is the echo when no container is placed.

[0042] After the first sensing component receives the detection echo Ax, the system calculates the difference degree between the detection echo Ax and the preset echo Ay to obtain a comprehensive echo value B, that is, B = Ax - Ay. The preset echo Ay is the echo when no container is placed.

[0043] S14: Determine whether the comprehensive echo value B is greater than or equal to the preset value b.

[0044] The preset value b is a value set by the system. When the echo of an object is greater than or equal to the preset value b, it can be determined that an object is placed at this position. The preset value b is an empirical value determined after the beverage output device conducts multiple experiments on placing small objects.

[0045] S15: If so, determine that a container is placed below the first sensing component.

[0046] When it is determined that the comprehensive echo value B is greater than or equal to the preset value b, it can be determined that a container is placed below the first sensing component.

[0047] When it is determined that the comprehensive echo value B is less than the preset value b, the first sensing component continues to emit a detection wave to detect whether an object enters, and receives the reflected detection echo Ax. Return to execute step S11.

[0048] In the prior art, it is usually determined whether an object exists by detecting the echo amplitude of the detection echo Ax. If a small container is encountered, such as a paper cup with a very thin edge, after it is placed, the ultrasonic reflection signal is very small, and it is impossible to determine whether a container exists by the conventional echo amplitude of the detection echo Ax. Generally, if the echo amplitude of the detection echo Ax is weak, it will lead to the failure to detect the container and the situation of insensitive detection. In this embodiment, a preset echo Ay when no container is placed can be specifically added for comparison. By calculating the difference degree between the detection echo Ax and the preset echo Ay, and calculating the comprehensive echo value B, and by comparing the size of the comprehensive echo value B and the preset value b, it is determined whether an object is placed. This detection method can detect a container with a weak echo amplitude of the detection echo Ax, thereby improving the detection sensitivity for objects with a small volume, small thickness, or made of a material that is easy to absorb the detection wave.

[0049] In this embodiment, referring to Figure 3 and Figure 4 , calculating the difference degree between the detection echo Ax and the preset echo Ay to obtain the comprehensive echo value B includes: obtaining the detection echo fitting curve x according to the reception time H and the echo amplitude A of the detection echo Ax; comparing the detection echo fitting curve x with the preset echo fitting curve y of the preset echo Ay, calculating the difference degree between the detection echo fitting curve x and the preset echo fitting curve y within the preset section, and obtaining the comprehensive echo value B.

[0050] Specifically, the first sensing component emits multiple detection waves within a period of time. After the multiple detection waves contact and reflect off different objects, multiple detection echoes Ax are returned. The detection echo Ax has a corresponding echo amplitude A at different reception times H. A detection echo fitting curve x is obtained based on the reception times and echo amplitudes of the multiple detection echoes Ax. Further, the system pre-stores a preset echo fitting curve y, which is the echo curve when there is no container placed. The preset echo Ay has a corresponding echo amplitude A at different reception times H. The detection echo fitting curve x is compared with the preset echo fitting curve y, and the difference degree between the detection echo fitting curve x and the preset echo fitting curve y within a preset section is calculated to obtain a comprehensive echo value B to determine whether an object is placed. Of course, in other embodiments, the preset echo fitting curve y can also be detected, obtained by fitting, and then stored in the system during initialization, and can also be updated regularly, which is not limited here.

[0051] The following are several specific methods for calculating the comprehensive echo value B:

[0052] Embodiment 1: Calculating the difference degree between the detection echo fitting curve x and the preset echo fitting curve y within a preset section to obtain the comprehensive echo value B includes: Selecting multiple corresponding points on the detection echo fitting curve x and the preset echo fitting curve y within the preset section, calculating the difference between the echo amplitudes of the detection echo Ax and the preset echo Ay, and summing them to obtain the comprehensive echo value B.

[0053] Specifically, multiple points are selected on the detection echo fitting curve x within the preset section. For example, the corresponding echo amplitude at time H1 is Ax1, the corresponding echo amplitude at time H2 is Ax2, the corresponding echo amplitude at time H3 is Ax3,..., and the corresponding echo amplitude at time Hn is Axn. Multiple corresponding points are selected on the preset echo fitting curve y. For example, the corresponding echo amplitude at time H1 is Ay1, the corresponding echo amplitude at time H2 is Ay2, the corresponding echo amplitude at time H3 is Ay3,..., and the corresponding echo amplitude at time Hn is Ayn. Calculate the difference between the echo amplitudes of the detection echo Ax and the preset echo Ay and sum them to obtain the comprehensive echo value B, that is, B = (Ax1 - Ay1) + (Ax2 - Ay2) + (Ax3 - Ay3) +... + (Axn - Ayn). By comparing the size of the comprehensive echo value B and the preset value b, it is determined whether an object is placed. If the comprehensive echo value B is greater than or equal to the preset value b, it indicates that the difference degree between the detection echo Ax and the preset echo Ay is relatively large, and it can be determined that a container is placed below the first sensing component. This method can detect containers with a relatively weak echo amplitude A and has a high detection sensitivity for small and thin objects with a small volume. If the comprehensive echo value B is less than the preset value b, it is determined that there is no container placed below the first sensing component.

[0054] It should be noted that when the material of the object is a material that easily absorbs the detection wave, some detection waves may be absorbed and dispersed, and the echo amplitude of the detection echo detected by the first induction component after reflection is weak. At this time, the value of Axn - Ayn may be negative. However, in the first implementation manner, the differences of all Axn - Ayn, regardless of positive or negative values, are summed up, which can improve the system calculation efficiency.

[0055] Implementation manner two: Calculate the difference degree between the detection echo fitting curve x and the preset echo fitting curve y in a preset section to obtain the comprehensive echo value B, including: Select multiple corresponding points on the detection echo fitting curve x and the preset echo fitting curve y in the preset section, calculate the absolute value of the difference between the echo amplitudes of the detection echo Ax and the preset echo Ay, and sum them to obtain the comprehensive echo value B.

[0056] Specifically, select multiple corresponding points on the detection echo fitting curve x in the preset section. For example, the corresponding echo amplitude at time H1 is Ax1, the corresponding echo amplitude at time H2 is Ax2, the corresponding echo amplitude at time H3 is Ax3,..., and the corresponding echo amplitude at time Hn is Axn. Select multiple corresponding points on the preset echo fitting curve y. For example, the corresponding echo amplitude at time H1 is Ay1, the corresponding echo amplitude at time H2 is Ay2, the corresponding echo amplitude at time H3 is Ay3,..., and the corresponding echo amplitude at time Hn is Ayn. Calculate the absolute value of the difference between the echo amplitudes of the detection echo Ax and the preset echo Ay, and sum them to obtain the comprehensive echo value B, that is, B = |Ax1 - Ay1| + |Ax2 - Ay2| + |Ax3 - Ay3| +... + |Axn - Ayn|. By comparing the size of the comprehensive echo value B and the preset value b, it is determined whether an object is placed. If the comprehensive echo value B is greater than or equal to the preset value b, it means that the difference degree between the detection echo Ax and the preset echo Ay is large, and it can be determined that a container is placed below the first induction component. This method takes the absolute value of the difference between the echo amplitudes of the detection echo Ax and the preset echo Ay, and then sums them, further amplifying the difference degree between the echo fitting curve x and the preset echo fitting curve y, and further improving the detection sensitivity to small objects.

[0057] It should be noted that when the material of the object is a material that easily absorbs the detection wave, some detection waves may be absorbed and dispersed, and the echo amplitude of the detection echo detected by the first induction component after reflection is weak. There will be a situation where the value of Axn - Ayn is negative. Therefore, in order to improve the detection compatibility for items of different materials, in the second implementation manner, the absolute value of the difference between the detection echo Ax and the preset echo Ay is included in the comprehensive difference degree, and the detection sensitivity to small objects in this implementation manner is further improved.

[0058] Embodiment 3: Calculate the difference degree between the detected echo fitting curve x and the preset echo fitting curve y within a preset section to obtain the comprehensive echo value B, including: Select multiple corresponding points on the detected echo fitting curve x and the preset echo fitting curve y within the preset section, calculate the difference between the echo amplitudes of the detected echo Ax and the preset echo Ay, and sum the positive differences to obtain the comprehensive echo value B.

[0059] Specifically, as Figure 4 , the detected echo fitting curve x does not completely lie above the preset echo fitting curve y. Due to the presence of an object made of wave-absorbing material or the characteristics of the first sensing component's detected echo, it is possible that the detected echo Ax is lower than the preset echo Ay. In this case, when selecting multiple corresponding points on the detected echo fitting curve x, the difference between the echo amplitudes of the detected echo Ax and the preset echo Ay may be negative. Select multiple corresponding points on the detected echo fitting curve x. For example, the echo amplitude corresponding to the time H1 is Ax1, the echo amplitude corresponding to the time H2 is Ax2, the echo amplitude corresponding to the time H3 is Ax3,..., and the echo amplitude corresponding to the time Hn is Axn. Select multiple corresponding points on the preset echo fitting curve y. For example, the echo amplitude corresponding to the time H1 is Ay1, the echo amplitude corresponding to the time H2 is Ay2, the echo amplitude corresponding to the time H3 is Ay3,..., and the echo amplitude corresponding to the time Hn is Ayn. At this time, when calculating the comprehensive echo value B, only the positive differences need to be selected and summed, that is, =(Ax1 - Ay1)+(Ax3 - Ay3)+...+(Axn - Ayn). By comparing the size of the comprehensive echo value B and the preset value b, it is determined whether an object is placed. If the comprehensive echo value B is greater than or equal to the preset value b, it indicates that the difference degree between the detected echo Ax and the preset echo Ay is relatively large, and it can be determined that a container is placed below the first sensing component. This method takes the positive differences of the echo amplitudes of the detected echo Ax and the preset echo Ay, and then sums them, obtaining a more accurate difference degree between the echo fitting curve x and the preset echo fitting curve y. While improving the detection sensitivity to small objects, some interference data are excluded, avoiding the system from being too sensitive.

[0060] An appropriate specific calculation method can be selected according to the actual situation.

[0061] In this embodiment, the beverage output device further has a carrier platform. The first sensing component is located above the carrier platform. The carrier platform is used to carry a container, and the container is used to hold the beverage. The starting position of the preset section is where the echo amplitude A of the detection echo Ax first drops to the trough value. The ending position of the preset section is at the first time, and the first time is the time when the first sensing component receives the detection echo reflected by the carrier platform. Additionally, a beverage output port is usually provided above the carrier platform, including a first type of beverage ingredient output port and / or a second type of beverage ingredient output port. The first type of beverage ingredient output port is used to output the first type of beverage ingredient, and the second type of beverage ingredient output port is used to output the second type of beverage ingredient.

[0062] Specifically, the beverage output device has a carrier platform corresponding to the beverage output port. The carrier platform is used to carry a container, and the container can be an object such as a cup for holding the beverage. Of course, the user can also hold the container by hand to hold the beverage instead of placing the container on the carrier platform. The first sensing component is located above the carrier platform to detect the presence of the container. The first sensing component emits a detection wave and receives the reflected detection echo Ax. The calculation system calculates the difference degree between the detection echo fitting curve x and the preset echo fitting curve y within the preset section to obtain the comprehensive echo value B. The starting position of the preset section is at the position where the echo amplitude A of the detection echo Ax first drops to the trough value, that is Figure 3 the position of H0 in is the starting position of the preset section. Figure 3 The reason for the higher echo amplitude at the position before H0 in is due to interference factors such as circuit aftershocks, which are determined by the hardware characteristics. These interference data need to be excluded when calculating the difference degree. The ending position of the preset section is at the first time t. The first time t is the time when the first sensing component receives the detection echo Ax reflected by the carrier platform. The first time t is related to the distance s between the first sensing component and the carrier platform. The first time t = 2s / v, where v is the propagation speed of the detection wave of the first sensing component in the air. Calculate the difference degree between the detection echo fitting curve x and the preset echo fitting curve y within the first time t to obtain the comprehensive echo value B. By comparing the size of the comprehensive echo value B and the preset value b, it is determined whether an object is placed. If the comprehensive echo value B is greater than or equal to the preset value b, it can be determined that a container is placed below the first sensing component. By selecting the data before the first time t, useless data can be avoided from being selected into the difference degree calculation, improving the operation efficiency and accuracy.

[0063] In this embodiment, with reference to Figure 5 and Figure 6 , before calculating the difference degree between the detection echo Ax and the preset echo Ay, it further includes: determining whether the echo amplitude of the detection echo Ax is greater than or equal to the preset amplitude a; if so, directly determining that a container is placed below the sensing component.

[0064] Specifically, between step S12 and step S13, there is also step S21: determining whether the echo amplitude of the detected echo Ax is greater than or equal to a preset amplitude a. The first sensing component emits a detection wave and receives the reflected detected echo Ax. First, within a preset section, it is determined whether the echo amplitude A1 of the detected echo Ax is greater than or equal to the preset amplitude a. The starting position of the preset section is at the position where the echo amplitude A of the detected echo Ax first drops to the trough value, that is Figure 3 the position of H0 in Figure 3 is the starting position of the preset section. The ending position of the preset section is at the first time. The first time is the time when the first sensing component receives the detected echo Ax reflected by the carrier platform. The first time t is related to the distance s between the first sensing component and the carrier platform. The first time t = 2s / v, where v is the ultrasonic emission speed of the first sensing component. The preset amplitude a is the echo amplitude when an obvious object exists. If it is determined that the echo amplitude of the detected echo Ax is greater than or equal to the preset amplitude a, it can be directly known that there is a container placed below the first sensing component. At this time, there is no need to calculate the difference degree between the detected echo Ax and the preset echo Ay, and there is no need to perform the detection and judgment of small objects, reducing the system operation and improving the judgment efficiency.

[0065] In this embodiment, the first sensing component is an ultrasonic detector or a time-of-flight detector (TOF).

[0066] To solve the above technical problems, the present application also provides a beverage output device 10. The beverage output device 10 includes a first sensing component 11 and a control component 12. The first sensing component 11 is used to emit a detection wave and receive the detection echo of the detection wave; the control component 12 is connected to the first sensing component 11, and the control component 12 is used to execute any one of the above object detection methods. This beverage output device can detect a container with a relatively weak echo amplitude of the detected echo Ax, thereby improving the detection sensitivity to small objects.

[0067] Further, the beverage output device 10 may further include a carrier platform for carrying the container.

[0068] Further, the beverage output device 10 may further include a display system 13. After the beverage output device 10 determines that there is a container placed below the first sensing component 11, the display system 13 is automatically lit for function selection. For example, it can be a function selection of outputting the first type of beverage ingredients, outputting the second type of beverage ingredients, or outputting both the first type of beverage ingredients and the second type of beverage ingredients simultaneously.

[0069] The beverage output device 10 can be a water dispenser, a beverage machine, or a refrigeration device such as a refrigerator.

[0070] To solve the above technical problems, the present application further provides a computer-readable storage medium 20 storing program instructions that can be executed to implement the object detection method described above.

[0071] In several embodiments provided by the present application, it should be understood that the disclosed methods and apparatuses can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections between each other can be through some interfaces. The indirect couplings or communication connections of the apparatuses or units can be in electrical, mechanical or other forms.

[0072] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0073] In addition, in each embodiment of the present application, the functional units can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0074] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium 20. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium 20 and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods in each embodiment of the present application. The aforementioned storage medium 20 includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0075] The terms "first", "second", and "third" in this application are only used for descriptive purposes and should not be construed as indicating the quantity of the indicated technical features. Thus, features defined with "first", "second", and "third" may explicitly or implicitly include at least one such feature. All directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of this application are only used to explain the relative positional relationship and movement conditions between components in a specific posture (as shown in the drawings). If the specific posture changes, the directional indications will also change accordingly. In addition, the terms "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally further include unlisted steps or units, or may optionally further include other steps or units inherent to these processes, methods, products, or devices.

[0076] In summary, the object detection method adopted in this application calculates the difference degree between the detection echo Ax and the preset echo Ay to obtain the comprehensive echo value B, and determines whether the comprehensive echo value B is greater than or equal to the preset value b to determine whether there is a container placed below the first sensing component. By amplifying the difference degree between the detection echo Ax and the preset echo Ay, this detection method can detect containers with a low detection echo Ax, and has high detection sensitivity. And after it is determined that there is a container placed below the first sensing component, the screen display system is automatically lit without manual unlocking, making the operation more convenient.

[0077] The above are only the implementation manners of this application, and do not limit the patent scope of this application accordingly. Any equivalent structural or equivalent process transformation made by using the content of the specification and drawings of this application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of this application.

Claims

1. An object detection method, characterized in that, the object detection method is used for a beverage output device, and the beverage output device has a first sensing component and a screen display system; the object detection method includes: determining that a container is placed below the first sensing component; controlling the screen display system to turn on the screen for function selection.

2. The object detection method according to claim 1, characterized in that, the determining that a container is placed below the first sensing component includes: controlling the first sensing component to emit a detection wave; the first sensing component receiving a detection echo of the detection wave; calculating a difference degree between the detection echo and a preset echo to obtain a comprehensive echo value, where the preset echo is the echo when no container is placed; judging whether the comprehensive echo value is greater than or equal to a preset value; if so, determining that a container is placed below the first sensing component.

3. The object detection method according to claim 2, characterized in that, the calculating the difference degree between the detection echo and the preset echo to obtain the comprehensive echo value includes: obtaining a detection echo fitting curve according to the reception time and echo amplitude of the detection echo; comparing the detection echo fitting curve with a preset echo fitting curve of the preset echo, calculating the difference degree between the detection echo fitting curve and the preset echo fitting curve within a preset section, and obtaining the comprehensive echo value.

4. The object detection method according to claim 3, characterized in that, the calculating the difference degree between the detection echo fitting curve and the preset echo fitting curve within the preset section to obtain the comprehensive echo value includes: selecting a plurality of corresponding points on the detection echo fitting curve and the preset echo fitting curve within the preset section, calculating the difference between the echo amplitudes of the detection echo and the preset echo, and summing them to obtain the comprehensive echo value.

5. The object detection method according to claim 3, characterized in that, the calculating the difference degree between the detection echo fitting curve and the preset echo fitting curve within the preset section to obtain the comprehensive echo value includes: selecting a plurality of corresponding points on the detection echo fitting curve and the preset echo fitting curve within the preset section, calculating the absolute value of the difference between the echo amplitudes of the detection echo and the preset echo, and summing them to obtain the comprehensive echo value.

6. The object detection method according to claim 3, characterized in that, the calculating the difference degree between the detection echo fitting curve and the preset echo fitting curve within the preset section to obtain the comprehensive echo value includes: selecting a plurality of corresponding points on the detection echo fitting curve and the preset echo fitting curve within the preset section, calculating the difference between the echo amplitudes of the detection echo and the preset echo, and selecting the positive differences and summing them to obtain the comprehensive echo value.

7. The object detection method according to claim 3, characterized in that, The beverage output device further has a carrier table, the first sensing component is located above the carrier table, the carrier table is used to carry a container, and the container is used to receive the beverage; the starting position of the preset section is when the echo amplitude of the detection echo first drops to the trough value; the ending position of the preset section is at the first time, and the first time is the time when the first sensing component receives the detection echo reflected by the carrier table.

8. The object detection method according to claim 3, wherein, before calculating the difference degree between the detection echo and the preset echo, it further includes: judging whether the echo amplitude of the detection echo is greater than or equal to a preset amplitude; if so, directly determine that a container is placed below the first sensing component.

9. The object detection method according to any one of claims 1-8, wherein, the first sensing component is an ultrasonic detector or a time-of-flight detector.

10. A beverage output device, wherein, it includes: a first sensing component, configured to emit a detection wave and receive the detection echo of the detection wave; a control component, connected to the first sensing component, and the control component is configured to execute the object detection method according to any one of claims 1-9.

11. A computer-readable storage medium, wherein, the computer-readable storage medium stores program instructions, and the program instructions can be executed to implement the object detection method according to any one of claims 1-10.

Citation Information

Patent Citations

  • Water dispenser, control method and device of water dispenser and computer readable storage medium

    CN112137409A

  • Control method and device of water outlet equipment, water outlet equipment and readable storage medium

    CN112987806A

  • Signal identification method and device for ultrasonic water dispenser and processor

    CN113589293A

  • Water outlet control method and device, computer equipment and storage medium

    CN114779843A

  • Ultrasonic water dispenser and fault detection method and processor thereof

    CN115046615A