Method for detecting misalignment of a water receiving container, beverage output device and control method thereof
By placing symmetrically distributed sensors in the water-receiving area of the beverage dispensing device and calculating the difference in sensing information to detect the offset of the water-receiving container, the problem of inaccurate beverage dispensing is solved, ensuring safe beverage dispensing and improving the user experience.
Patent Information
- Application Number
- CN202311592769.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2043-11-24
AI Technical Summary
Existing beverage dispensing devices cannot accurately detect the position of the water container, causing beverages to shift off the cup and spill or scald users.
At least one set of first sensors is set in the water receiving area. Each set of sensors is symmetrically distributed along the central axis of the beverage outlet. The difference in the sensing information of the sensors is calculated to determine whether the water receiving container is offset and to control the operation of the beverage dispensing mechanism.
It enables precise location detection of the docking water container, preventing beverage spills and scalding users, thus improving user safety and equipment reliability.
Smart Images

Figure CN120036632B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of beverage output equipment, in particular to a water receiving container offset detection method, a beverage output equipment control method, a beverage output equipment and a computer storage medium. BACKGROUND
[0002] A beverage output equipment, such as a water dispenser, a purified water dispenser, etc., detects whether a cup is placed in a water receiving area before water is received or not. If it is detected that a cup is placed in the water receiving area, the beverage output mechanism can be controlled to output beverage. If no cup is detected, the beverage output mechanism does not output beverage, so as to reduce the problem of user scalding and water waste.
[0003] However, in the related art, only whether a cup is placed on the water receiving area or not is detected, or only the approximate position of the cup is detected, and the precise position of the cup cannot be detected. When the cup is placed with some offset, the beverage output mechanism is still controlled to output beverage, which causes the beverage to be offset from the cup and even scald the user. SUMMARY
[0004] The present application provides a water receiving container offset detection method, a beverage output equipment control method, a beverage output equipment and a computer storage medium, so as to accurately obtain the position information of the water receiving container in the water receiving area and determine whether the water receiving container is offset, thereby improving the problem that the beverage is offset from the water receiving container due to the offset of the water receiving container, and even scalding the user.
[0005] To solve the above technical problems, one technical solution adopted by the present application is to provide a water receiving container offset detection method. The water receiving container offset detection method is used for a beverage output equipment. The water receiving area of the beverage output equipment is provided with at least one group of first sensors. The multiple first sensors in each group of first sensors are symmetrically distributed along a preset direction and with the position of the center axis of the beverage output port of the beverage output equipment on the water receiving area as the center position. The offset detection method comprises: obtaining first sensing information of each first sensor; for each group of first sensors, obtaining difference value information between the first sensing information of the first sensors located on both sides of the center position; and determining whether the water receiving container is offset based on the difference value information.
[0006] The above-mentioned obtaining of the difference value information between the first sensing information of the first sensors located on both sides of the center position comprises: calculating the sum of the first sensing information of all the first sensors located on one side of the center position as a first sum value; calculating the sum of the first sensing information of all the first sensors located on the other side of the center position as a second sum value; and calculating the absolute value of the difference value between the first sum value and the second sum value.
[0007] The difference information between the first sensing information of the first sensors located on both sides of the center position is obtained by calculating the sum of the absolute values of all groups of first sensors as a third sum value, and the third sum value is taken as the difference information between the first sensing information of the first sensors located on both sides of the center position.
[0008] The water receiving container is determined to be offset on the water receiving area in response to the third sum value being greater than or equal to the first threshold value.
[0009] The offset detection method further comprises obtaining an offset parameter and the number of first sensors in at least one group of first sensors, and calculating the product of the offset parameter and the number as the first threshold value, wherein the offset parameter is greater than or equal to 1 / 4 and less than or equal to 1 / 2.
[0010] The center position is provided with a second sensor, and the offset detection method further comprises executing the step of obtaining the difference information between the first sensing information of the first sensors located on both sides of the center position for each group of first sensors in response to the second sensor obtaining second sensing information.
[0011] The offset detection further comprises executing the step of obtaining the difference information between the first sensing information of the first sensors located on both sides of the center position for each group of first sensors in response to the first sensing information changing.
[0012] To solve the above technical problems, another technical solution adopted by the present application is to provide a control method of a beverage output device. The control method comprises: determining whether the water receiving container is offset by using the above-mentioned offset detection method; and controlling the beverage output port to output the beverage in response to the water receiving container not being offset.
[0013] The control method further comprises generating prompt information in response to the water receiving container being offset.
[0014] To solve the above technical problems, another technical solution adopted by the present application is to provide a beverage output device. The beverage output device comprises: a seat body provided with a water receiving area; a beverage output mechanism arranged on the seat body, and a beverage output port of the beverage output mechanism located above the water receiving area; at least one group of first sensors, a plurality of first sensors in each group of first sensors being symmetrically distributed along a preset direction and taking a center position of a center axis of the beverage output port of the beverage output device on the water receiving area as the center position, the first sensors being used to obtain first sensing information of a water receiving container placed on the water receiving area; and a control mechanism connected with the beverage output mechanism and the first sensors, and used to control the beverage output mechanism to work based on the first sensing information and by using the above-mentioned control method.
[0015] The center position is further provided with a second sensor connected with the control mechanism, and used for acquiring second sensing information of the second sensor to the water receiving container; and the control mechanism controls the beverage output mechanism to work based on the first sensing information and the second sensing information.
[0016] To solve the above technical problems, another technical solution adopted by the present application is to provide a computer storage medium. The computer storage medium stores program instructions, and the program instructions are executed by a processor to implement the offset detection method and / or the control method.
[0017] The beneficial effects of the present application are that the water receiving area of the beverage output device is provided with at least one set of first sensors, and the plurality of first sensors in each set of first sensors are symmetrically distributed along a preset direction and with a center position of a position of a central axis of a beverage output port of the beverage output device on the water receiving area. The offset detection method provided by the present application first acquires first sensing information of each first sensor on the water receiving area, then acquires difference information between the first sensing information of the first sensors located on both sides of the center position for each set of first sensors, and determines whether the water receiving container is offset based on the difference information. Since the plurality of first sensors in each set of first sensors are symmetrically distributed along a preset direction and with a center position of a position of a central axis of a beverage output port on the water receiving area, the offset of the water receiving container on the water receiving area in the preset direction will cause the first sensing information of the first sensors located on both sides of the center position in each set of first sensors to have difference information. Based on the difference information, the offset information of the water receiving container on the water receiving area can be obtained, so that the offset detection of the water receiving container can be realized, and the beverage output port can be controlled not to output beverage when the water receiving container is offset, thereby improving the problem of beverage spilling out of the water receiving container and even scalding the user caused by the offset of the water receiving container. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0019] Figure 1 is a structural schematic diagram of an embodiment of the beverage output device of the present application;
[0020] Figure 2 is a structural schematic diagram of the water receiving area and the first sensor in the beverage output device of the present application;
[0021] Figure 3 is a structural schematic diagram of another embodiment of the beverage output device of the present application;
[0022] Figure 4 is a flowchart of an embodiment of the water receiving container offset detection method of the present application;
[0023] Figure 5 is Figure 4 is a specific flowchart of step S42 in the embodiment;
[0024] Figure 6 is Figure 5 is another specific flowchart of step S42 in the embodiment;
[0025] Figure 7 is a flowchart of another embodiment of the water receiving container offset detection method of the present application;
[0026] Figure 8 is a flowchart of an embodiment of the beverage output device control method of the present application;
[0027] Figure 9 is a flowchart of another embodiment of the beverage output device control method of the present application;
[0028] Figure 10 is a structural diagram of an embodiment of the computer storage medium of the present application. DETAILED DESCRIPTION
[0029] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0030] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative positional relationship, movement condition, etc. between components in a certain posture (as shown in the drawings). If the certain posture changes, the directional indications also change accordingly.
[0031] Furthermore, if the embodiments of this application involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.
[0032] The beverage dispensing devices proposed in this application may include water dispensers, beverage purifiers, and other devices capable of dispensing beverages, such as those used in kitchens, bathrooms, shopping malls, and other similar settings. The beverage dispensing devices can be independently installed, making them portable, or they can be mounted on the doors of other household appliances, walls, work surfaces, etc.
[0033] The beverage output device of this application can be used to export first-class beverage ingredients and / or second-class beverage ingredients. First-class beverage ingredients include ingredients with fixed shapes, elastic ingredients, and ingredients with poor flowability, such as ice cubes, crushed ice, red beans, mung beans, peanuts, tapioca pearls in bubble tea, coconut jelly, taro balls, milk jelly, fruit jelly, herbal jelly, fruit puree, taro puree, ice cream, puffed foods, baked goods, etc. Second-class beverage ingredients include highly fluid ingredients, such as water, fruit juice, milk, coffee, cola, soy milk, etc.
[0034] This application first proposes a beverage dispensing device, such as... Figure 1 As shown, Figure 1 This is a schematic diagram of the structure of an embodiment of the beverage dispensing device of this application. The beverage dispensing device of this embodiment includes: a base 11, a beverage dispensing mechanism 12, a control mechanism, and at least one set of first sensors 13; wherein, the base 11 is provided with a water receiving area; the beverage dispensing mechanism 12 is disposed on the base 11, and the beverage dispensing port of the beverage dispensing mechanism 12 is located above the water receiving area; multiple first sensors 13 in each set are symmetrically distributed along a preset direction with the position of the central axis of the beverage dispensing port of the beverage dispensing device on the water receiving area as the center position, and the first sensors 13 are used to acquire first sensing information of the water receiving container 01 placed on the water receiving area; the control mechanism is connected to the beverage dispensing mechanism 12 and the sensors 13, and the control mechanism controls the operation of the beverage dispensing mechanism based on the first sensing information and using a control method.
[0035] Specifically, the control mechanism determines whether the water receiving container 01 is offset by using an offset detection method; in response to the water receiving container 01 not being offset, the control mechanism controls the beverage output mechanism 12 to output the beverage to guide the beverage to the water receiving container 01 placed on the water receiving area; in response to the water receiving container 01 being offset, the control mechanism generates prompt information, such as alarm information, position adjustment information, etc., to prompt the user to adjust the position of the water receiving container 01 on the water receiving area, and at this time the beverage output mechanism 12 does not output the beverage.
[0036] The offset detection method of the water receiving container 01 and the control method of the beverage output device can be specifically referred to below.
[0037] Among them, the water receiving container 01 can not only receive water, ice, and ice-water mixture, but also receive other beverages output by the beverage output mechanism 12; the water receiving area refers to an area for carrying the water receiving container 01 and the like.
[0038] Among them, the control mechanism can be arranged on the seat body 11; the control mechanism can include a microprocessor, such as a single-chip microcomputer, an integrated control chip, or a non-integrated electronic circuit with control and data processing functions, etc., which is not specifically limited.
[0039] Before controlling the beverage output mechanism 12 to output the beverage, the embodiment first determines whether the water receiving container 01 placed on the water receiving area is offset, and when it is determined that the water receiving container 01 is offset, the beverage output mechanism 12 is controlled not to output the beverage, thereby being able to improve the problem that the beverage is spilled out of the water receiving container 01 and even scalds the user due to the offset of the water receiving container 01 and the beverage being offset from the water receiving container 01.
[0040] In the embodiment, as shown in Figure 2 The water receiving area is provided with two groups of first sensors 13, one group of sensors 13 includes K3, K4, K6 and K7, wherein K3, K4, K6 and K7 are symmetrically and uniformly arranged along a preset direction with the center position, i.e., the position of K5 as the center; K3 and K7 are symmetrically arranged, and K4 and K6 are symmetrically arranged. Another group of first sensors 13 includes K1, K2, K8 and K9, wherein K1, K2, K8 and K9 are symmetrically and uniformly arranged along another preset direction with the center position as the center; wherein K1 and K9 are symmetrically arranged, and K2 and K8 are symmetrically arranged. The two preset directions are arranged perpendicularly.
[0041] In other embodiments, the number of first sensors in each preset direction can be adjusted appropriately, and the number can be the same or different; each group of first sensor assemblies includes at least two first sensors.
[0042] In other embodiments, the preset direction and the number of the first sensor groups can be one, and the arrangement direction of the first sensor group, i.e., the preset direction, can be consistent with the length direction of the water receiving area. When the user places the water receiving container, the water receiving container can be offset in the length direction due to the larger space in the length direction.
[0043] In other embodiments, the preset direction and the number of the first sensor groups can be two or more, for example, four groups. The four groups of first sensors can be arranged in a cross shape on the water receiving area according to the above requirements.
[0044] Optionally, the first sensor 13 of the present embodiment can include a pressure sensor, and the first sensing information is pressure information. The first sensor 13 can also output after digitizing the first sensing information. For example, the first sensor 13 outputs a digital signal "1" after sensing pressure, outputs a digital signal "0" after not sensing pressure, or has no output. Alternatively, the control mechanism processes the first sensing information of the first sensor 13 after digitizing the first sensing information. For example, the control mechanism digitizes the first sensing information greater than or equal to a threshold value as "1", and digitizes the first sensing information less than the threshold value as "0".
[0045] In other embodiments, the first sensor can also include an infrared sensor, an ultrasonic sensor, a microswitch, etc.
[0046] The multiple mentioned in the present application includes two and more than two.
[0047] Optionally, the beverage output device of the present embodiment further includes a second sensor 14, and the position of the second sensor 14 on the water receiving area is a center position (such as K5 in FIG. 6) of the central axis of the beverage output port. The second sensor 14 is connected with the control mechanism, and is used to obtain second sensing information of the second sensor 14 on the water receiving container 01; and the control mechanism controls the beverage output mechanism 12 to work based on the first sensing information and the second sensing information. Figure 2
[0048] Optionally, the second sensor 14 of the present embodiment can include a pressure sensor, and the second sensing information is pressure information. The second sensor 14 can also output after digitizing the second sensing information. For example, the second sensor 14 outputs a digital signal "1" after sensing pressure, outputs a digital signal "0" after not sensing pressure, or has no output. Alternatively, the control mechanism processes the second sensing information of the second sensor 14 after digitizing the second sensing information. For example, the control mechanism digitizes the second sensing information greater than or equal to a threshold value as "1", and digitizes the first sensing information less than the threshold value as "0".
[0049] In other embodiments, the second sensor can also include an infrared sensor, an ultrasonic sensor, a microswitch, etc.
[0050] In another embodiment, as shown in FIG. 6, the second sensor 14 can be arranged on the central axis of the beverage output port.Figure 3 As shown, Figure 3 is a structural schematic diagram of another embodiment of the beverage output device. The beverage output device of the embodiment further comprises an alarm mechanism 21 connected with the control mechanism 22, and the control mechanism controls the alarm mechanism 21 to output alarm information in response to the deviation of the water receiving container 01.
[0051] The embodiment outputs alarm information through the alarm mechanism 21 to prompt the user that the water receiving container 01 deviates, so that the user can quickly identify the deviation and timely adjust the position of the water receiving container 01, which can improve the water taking efficiency.
[0052] The alarm mechanism 21 can include a buzzer, a loudspeaker, an indicator light, a vibrator, a sound, a display screen, etc., and can output alarm information in the form of buzzer prompt, loudspeaker voice broadcast, indicator light lighting or flashing, display (text, picture), touch screen display, APP remote reminder, vibrator vibration, sound playing, etc.
[0053] Optionally, the control mechanism 22 can also control the display to display the position information of the water receiving container 01 on the water receiving area, so as to facilitate the user to quickly obtain the adjustment direction of the water receiving container 01.
[0054] Optionally, the beverage output device of the embodiment further comprises a light mechanism 23 connected with the control mechanism 22, and the control mechanism 22 controls the light mechanism 23 to provide illumination to improve the safety of the user taking water and the user experience.
[0055] In an application scenario, the control mechanism 22 can detect whether someone approaches the beverage output device through an ultrasonic sensor or the like, and in response to someone or something approaching the beverage output device, the control mechanism 22 controls the light mechanism 23 to work to save electric energy.
[0056] In another application scenario, the control mechanism 22 can also control the light mechanism 23 to work together with the alarm mechanism 21 to realize the light alarm mode.
[0057] Optionally, the beverage output device of the embodiment further comprises a communication mechanism 24 connected with the control mechanism 22, for connecting the control mechanism 22 with an external terminal, a cloud, etc., to realize data communication between the beverage output device and the external terminal.
[0058] The communication mechanism 24 can include a Wifi module, etc.
[0059] Optionally, the beverage output device of the embodiment further comprises a power supply mechanism 25 connected with the control mechanism 22, the beverage output mechanism 12, the first sensor 13, the alarm mechanism 21, the light mechanism 23, the communication mechanism 24, etc., to supply power to the above mechanisms to ensure the normal operation of the above mechanisms, thereby improving the reliability of the beverage output device.
[0060] The control mechanism 22 is used to receive information of the above mechanisms and external terminals, and to perform operation processing and send commands to the mechanisms and / or generate feedback information to the external terminals and the cloud.
[0061] The control mechanism 22 can directly control the beverage output device to output beverage in response to the water receiving container having no deviation, or can prompt the user to start the beverage output device to output beverage in response to the water receiving container having no deviation, etc.
[0062] The application further provides a deviation detection method of a water receiving container, which can be used in any of the above beverage output devices, such as Figure 4 as shown in Figure 4 is a flowchart of an embodiment of the deviation detection method of the water receiving container of the application. The deviation detection method of the embodiment specifically comprises the following steps:
[0063] Step S41: obtaining first sensing information of each first sensor.
[0064] Taking the first sensor as a pressure sensor as an example, each first sensor arranged on the water receiving area generates first sensing information in response to the pressure of the water receiving container on each detection point of the water receiving area, and feeds back the first sensing information to the control mechanism.
[0065] Among them, after the pressure sensor senses the pressure, the pressure size is judged, if the pressure is greater than or equal to the threshold value, the digital signal "1" is output, the pressure is less than the threshold value, the digital signal "0" is output, or no output. Or the control mechanism processes the pressure sensed by the pressure sensor after digitization, for example, the control mechanism digitizes the pressure greater than or equal to the threshold value as "1", and digitizes the pressure less than the threshold value as "0".
[0066] Of course, in other embodiments, the control mechanism can also directly process the subsequent first sensing information which is not digitized.
[0067] Step S42: for each group of first sensors, obtaining difference information between first sensing information of first sensors located on both sides of the center position.
[0068] The control mechanism analyzes and processes the first sensing information of the first sensors in each preset direction, i.e., each group of first sensors, to obtain the deviation of the water receiving container in each preset direction.
[0069] The control mechanism obtains difference information between the first sensing information of the first sensors located on both sides of the center position for each group of first sensors. The difference information between the first sensing information of the first sensors located on both sides of the center position for each group of first sensors can reflect the offset of the water receiving container in the preset direction corresponding to the group of first sensors.
[0070] Optionally, the embodiment can be implemented by the method as shown in Figure 5 The method of the embodiment includes steps S51-S53.
[0071] Step S51: Calculate the sum of the first sensing information of all first sensors located on one side of the center position as a first sum value.
[0072] Step S52: Calculate the sum of the first sensing information of all first sensors located on the other side of the center position as a second sum value.
[0073] Step S53: Calculate the absolute value of the difference between the first sum value and the second sum value.
[0074] The steps S51-S53 are introduced together: The control mechanism calculates the sum of the first sensing information of the first sensors located on both sides of the center position as a first sum value and a second sum value for each group of first sensors, and calculates the absolute value of the difference between the first sum value and the second sum value. That is, for each group of first sensors, the control mechanism respectively counts the total amount of the first sensing information on both sides of the center position, and obtains the absolute value of the difference between the total amounts on both sides. In this way, the control mechanism does not need to determine the specific symmetry relationship of the first sensors located on both sides of the center position, and the control efficiency of the control mechanism can be improved.
[0075] In other embodiments, the execution order between step S51 and step S52 is not limited.
[0076] For example, as shown in Figure 2 , K5 is the second sensor 14 arranged at the center position. According to K5, two preset directions, i.e., the up-down direction and the left-right direction, are provided with four first sensors 13. The upper side of the center position has two first sensors 13, i.e., K1 and K2, the lower side has two first sensors 13, i.e., K8 and K9, the left side has two first sensors 13, i.e., K1 and K2, and the right side has two first sensors 13, i.e., K8 and K9. When the first sensor 13 has the first sensing information, the value is 1, and when the first sensor 13 has no first sensing information, the value is 0. The first sensing information of the four directions, i.e., up, down, left and right, can be defined as S 上 , S 下 , S 左 , and S 右 , respectively. As shown in Figure 2 , the first sensing information of the four directions is S 上 , S 下 , S 左 , and S 右 , respectively.上 = 0, S 下 = 1, S 左 = 2, S 右 = 0, S 上 = 1, S 下 = 2. 左 = 1, S 右 = 2.
[0077] The control mechanism can obtain the offset of the water receiving container in each preset direction based on the absolute value of the difference of the first sensing information in each preset direction, so as to determine whether the water receiving container is offset and generate corresponding adjustment information or prompt information to instruct the user to adjust the water receiving container in each preset direction.
[0078] In other embodiments, for each group of first sensors, the control mechanism can also calculate the absolute value of the difference between the first sensing information of the two first sensors symmetrically arranged on both sides of the center position based on the specific symmetric relationship of the first sensors located on both sides of the center position, and then accumulate a plurality of the absolute values of the first sensors in the group.
[0079] In another embodiment, step S42 can be implemented by the method shown in Figure 6 The method of the present embodiment includes steps S61 to S64.
[0080] Step S61: Calculate the sum of the first sensing information of all first sensors located on one side of the center position as a first sum value.
[0081] Step S62: Calculate the sum of the first sensing information of all first sensors located on the other side of the center position as a second sum value.
[0082] Step S63: Calculate the absolute value of the difference between the first sum value and the second sum value.
[0083] The specific implementation of steps S61 to S63 can refer to the above embodiments.
[0084] S64: Calculate the sum of the absolute values of all groups of first sensors as a third sum value, and take the third sum value as the difference information between the first sensing information of the first sensors on both sides of the center position.
[0085] For example, as shown in Figure 2 The control mechanism further calculates the sum of the absolute values S1 and S2 of the differences of the two groups of first sensors 13 as a third sum value S = 3, and takes the third sum value as the difference information between the first sensing information of the first sensors 13 on both sides of the center position.
[0086] The control mechanism can obtain the overall offset of the water receiving container on the water receiving area based on the sum of the absolute values of the differences in the respective preset directions, so as to determine whether the water receiving container is offset and generate corresponding adjustment information or prompt information to instruct the user to adjust the position of the water receiving container. With respect to the embodiments, the overall offset of the water receiving container on the water receiving area is further obtained to improve the efficiency of the offset detection of the water receiving container. Figure 5
[0087] Step S43: determining whether the water receiving container is offset based on the difference information.
[0088] The control mechanism can determine the offset of the water receiving container in the respective preset directions based on the difference information of each group of first sensors, so as to determine whether the water receiving container is offset on the water receiving area based on the offsets.
[0089] For example, in response to the difference information being less than a first threshold, it is determined that the water receiving container is not offset on the water receiving area; in response to the difference information being greater than or equal to the first threshold, it is determined that the water receiving container is offset on the water receiving area.
[0090] Since the plurality of first sensors in each group of first sensors are symmetrically distributed along the preset direction and centered on the position of the beverage outlet on the water receiving area, the offset of the water receiving container along the preset direction on the water receiving area will cause the difference information between the first sensing information of the first sensors on both sides of the central position in each group of first sensors, and the offset information of the water receiving container on the water receiving area can be obtained based on the difference information, so as to realize the offset detection of the water receiving container, control the beverage outlet not to output the beverage when the water receiving container is offset, and thus improve the problem that the beverage is spilled out of the water receiving container and even scalds the user due to the offset of the water receiving container.
[0091] Alternatively, in response to the third sum being less than a first threshold, it is determined that the water receiving container is not offset on the water receiving area; in response to the third sum being greater than or equal to the first threshold, it is determined that the water receiving container is offset on the water receiving area.
[0092] If the overall offset of the water receiving container on the water receiving area is greater than or less than the first threshold, it is determined that the water receiving container is not offset on the water receiving area, and if it is greater than or equal to the first threshold, it is determined that the water receiving container is offset on the water receiving area.
[0093] In other embodiments, the offset detection method of the water receiving container can further include a method for determining the first threshold, specifically: the control mechanism obtains an offset parameter and the number of first sensors in at least one group of first sensors, i.e., the total number of all first sensors arranged on the water receiving area; the control mechanism calculates the product of the offset parameter and the number as the first threshold; wherein the offset parameter is greater than or equal to 1 / 4 and less than or equal to 1 / 2.
[0094] For example, in Figure 2 In the embodiment, the total number n1 of all the first sensors 13 arranged on the water receiving area is 8, and the first threshold is calculated as (3 / 8)*8=3 with the offset parameter R=3 / 8. The third sum S=3 does not satisfy S
[0095] In other embodiments, it can also be practically necessary to adjust the offset parameter and set the first threshold.
[0096] The present application proposes another embodiment of the offset detection method of the water receiving container, as shown in Figure 7 The offset detection method of the embodiment includes the following steps:
[0097] Step S71: Obtain the first sensing information of each first sensor.
[0098] The specific implementation of step S71 can refer to the above-mentioned embodiments.
[0099] Step S72: In response to the second sensor obtaining the second sensing information, for each group of first sensors, obtain the difference information between the first sensing information of the first sensors located on both sides of the center position.
[0100] The second sensor is taken as a pressure sensor for example. The second sensor generates center pressure information in response to the pressure received by the center position, and feeds back the center pressure information to the control mechanism.
[0101] Among them, after the second sensor senses the pressure, it judges the pressure size. If the pressure is greater than or equal to the threshold, a digital signal "1" is output, and if the pressure is less than the threshold, a digital signal "0" is output, or no output. Or the control mechanism processes the pressure sensed by the pressure sensor after digitizing, for example, the control mechanism digitizes the pressure greater than or equal to the threshold as "1", and the pressure less than the threshold as "0".
[0102] In the embodiment, the second sensor obtaining the second sensing information means that the pressure sensed by the second sensor is greater than or equal to the threshold.
[0103] The specific implementation of obtaining the difference information between the first sensing information of the first sensors located on both sides of the center position for each group of first sensors can refer to the above-mentioned embodiments.
[0104] Step S73: Determine whether the water receiving container is offset based on the difference information.
[0105] The specific implementation of step S73 can refer to the above-mentioned embodiments.
[0106] On the basis of the above-mentioned embodiments, the present embodiment first determines whether the water receiving container is placed on the center position through the second sensor. If the water receiving container is not placed on the center position, it is determined that the water receiving container is completely offset from the beverage outlet, and the offset of the water receiving container can be directly determined. If the water receiving container is placed on the center position, the above-mentioned embodiment scheme is further used to further determine whether the water receiving container is offset. In this way, the problem that the above-mentioned embodiment scheme is further used to determine whether the water receiving container is offset when the water receiving container is completely offset from the beverage outlet can be reduced, and therefore the efficiency of the offset detection of the control mechanism on the water receiving container can be improved.
[0107] The first threshold value can also be the product of the offset parameter and the total number of the first sensor and the second sensor minus 1. For example, in the case of n = 9, the total number of all first sensors 13 and second sensors 14 arranged on the water receiving area, and R = 3 / 8, the first threshold value is (3 / 8)*(9-1) = 3. The third sum S = 3, which does not satisfy S < R*(n-1), and it is determined that the water receiving container is offset on the water receiving area. Figure 2 In the embodiment, the total number n of all first sensors 13 and second sensors 14 arranged on the water receiving area is 9, and the offset parameter R = 3 / 8 is taken as an example for calculation. The first threshold value is (3 / 8)*(9-1) = 3. The third sum S = 3, which does not satisfy S < R*(n-1), and it is determined that the water receiving container is offset on the water receiving area.
[0108] In another embodiment, if the control mechanism determines that the first sensing information of the first sensor changes, it can be determined that the water receiving container has moved on the water receiving area. At this time, the control mechanism performs subsequent other methods for determining the offset based on the newly acquired first sensing information of each first sensor, so that the offset of the water receiving container can be detected in real time and quickly when the water receiving container is placed on the water receiving area or the displacement of the water receiving container on the water receiving area changes.
[0109] The present application further proposes a control method of a beverage output device, which can be used for any of the above-mentioned beverage output devices, such as shown in FIG. 1. Figure 8 Figure 8 is a flow diagram of an embodiment of the control method of the beverage output device of the present application. The control method of the present embodiment specifically includes the following steps:
[0110] Step S81: determining whether the water receiving container is offset by using the offset detection method.
[0111] The control mechanism determines whether the water receiving container is offset by using the offset detection method. Specifically, the offset detection method can refer to the above-mentioned offset detection method of the water receiving container.
[0112] Step S82: in response to no offset, controlling the beverage outlet to output the beverage.
[0113] If the water receiving container is not offset on the water receiving area, the control mechanism controls the beverage outlet to output the beverage.
[0114] The control method of the present embodiment further includes step S83.
[0115] Step S83: in response to the deviation, prompt information is generated.
[0116] If the water receiving container deviates on the water receiving area, the control mechanism generates prompt information to remind the user to move the water receiving container, while controlling the beverage output port not to output beverage.
[0117] The prompt method includes any one or more of the following: buzzer prompt, loudspeaker voice broadcast, indicator light lighting or flashing, display (text, picture), touch screen display, APP remote reminder, vibration generator vibration, sound playback, etc.
[0118] The embodiment first detects the deviation of the water receiving container, and only after determining that the water receiving container is not deviated, the beverage output mechanism is controlled to output beverage. When the water receiving container deviates, the beverage output mechanism is not controlled to output beverage, thereby improving the problem that beverage deviates from the water receiving container due to the deviation of the water receiving container, causing beverage to spill out of the water receiving container and even scalding the user.
[0119] In another embodiment, as shown in Figure 9 , the flowchart of another embodiment of the control method of the beverage output device of the present application is shown. Figure 9 In the embodiment, when the first sensor and the second sensor sense the change of the position signal, or the control mechanism determines that the first sensing information changes based on the first sensing information, the control mechanism determines whether the second sensor located at the center position can obtain sensing information; if not, the beverage output control is ended, and the change of the position information sensed by the first sensor and the second sensor is continuously monitored; if yes, the control mechanism further determines whether the third sum S satisfies S < R * (n-1) using the scheme of the above embodiment; if yes, the control mechanism determines that the water receiving container is not deviated, and controls the beverage output mechanism to output beverage; if not, the control mechanism determines that the water receiving container is deviated, the beverage output mechanism does not output beverage, and prompts that the water receiving container is placed deviated, and prompts the user to reposition the water receiving container according to the prompt position. After the prompt, if the first sensor and the second sensor still do not sense the change of the position signal within the preset time, the beverage output control is ended.
[0120] The preset time is the time for the user to move the cup. To avoid infinite waiting, a maximum value can be set for the preset time, but it can also not be set, that is, as long as the cup is moved, the detection is re-detected.
[0121] The present application further proposes a computer storage medium, as shown in Figure 10 , the structural diagram of an embodiment of the computer storage medium of the present application is shown. Figure 10 The computer storage medium 90 of the embodiment of the present application internally stores program instructions, which are executed to realize the above-mentioned deviation detection method of the water receiving container and / or the control method of the beverage output device.
[0122] The program instructions can form a program file to be stored in the storage medium in the form of a software product, so that an electronic device (which can be a personal computer, a server, or a network device, etc.) or a processor executes all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes, or a terminal device such as a computer, a server, a mobile phone, a tablet, etc.
[0123] The computer storage medium 90 of the embodiment can be, but is not limited to, a U disk, an SD card, a PD optical drive, a mobile hard disk, a large-capacity floppy disk drive, a flash memory, a multimedia memory card, a server, etc.
[0124] In one embodiment, a computer program product or computer program is provided, which includes computer instructions stored in a computer storage medium. The processor of the electronic device reads the computer instructions from the computer storage medium, and the processor executes the computer instructions to make the electronic device execute the steps in the above-mentioned method embodiments.
[0125] In addition, when the above-mentioned functions are implemented in the form of software functions and sold or used as independent products, they can be stored in a mobile terminal readable storage medium, that is, the present application also provides a storage device storing program data, which can be executed to implement the method of the above-mentioned embodiments. The storage device can be, for example, a U disk, an optical disk, a server, etc. That is, the present application can be embodied in the form of a software product, which includes a plurality of instructions for making an intelligent terminal execute all or part of the steps of the method described in each embodiment.
[0126] In the description of the present application, the description of the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, mechanisms, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the description, the illustrative description of the above-mentioned terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, mechanisms, materials or characteristics described can be combined in any suitable manner in any one or more embodiments or examples. In addition, the skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of the different embodiments or examples without contradiction.
[0127] The above merely describes the embodiments of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields, which is made by using the content of the present application specification and drawings, is also included in the patent protection scope of the present application.
Claims
1. A method of detecting misalignment of a water receiving container, characterized by, The offset detection method for a beverage output device includes: obtaining first sensing information of each of the first sensors; for each group of the first sensors, obtaining difference information between the first sensing information of the first sensors located on both sides of the center position; determining whether the water receiving container is offset based on the difference information; wherein the obtaining of the difference information between the first sensing information of the first sensors located on both sides of the center position includes: calculating a sum of the first sensing information of all the first sensors located on one side of the center position as a first sum value; calculating a sum of the first sensing information of all the first sensors located on the other side of the center position as a second sum value; calculating an absolute value of a difference between the first sum value and the second sum value; wherein the obtaining of the difference information between the first sensing information of the first sensors located on both sides of the center position further includes: calculating a sum of the absolute values of all the first sensors as a third sum value, and taking the third sum value as the difference information between the first sensing information of the first sensors located on both sides of the center position; wherein the determining whether the water receiving container is offset based on the difference information includes: in response to the third sum value being less than a first threshold value, determining that the water receiving container is not offset on the water receiving area; in response to the third sum value being greater than or equal to the first threshold value, determining that the water container is offset on the water receiving area.
2. The offset detection method of claim 1, wherein, The offset detection method further includes: obtaining an offset parameter and a number of the first sensors in the at least one group of the first sensors; calculating a product of the offset parameter and the number as the first threshold value; wherein the offset parameter is greater than or equal to 1 / 4 and less than or equal to 1 / 2.
3. The offset detection method of claim 1, wherein, The center position is provided with a second sensor, and the offset detection method further includes: in response to the second sensor obtaining second sensing information, performing the step of obtaining the difference information between the first sensing information of the first sensors located on both sides of the center position for each group of the first sensors.
4. Offset detection method according to any one of claims 1-3, characterized in that, The offset detection further includes: in response to the first sensing information changing, performing the step of obtaining the difference information between the first sensing information of the first sensors located on both sides of the center position for each group of the first sensors.
5. A control method of a beverage output apparatus, characterized by, including: determining whether the water receiving container is offset by using the offset detection method according to any one of claims 1 to 4; in response to not being offset, controlling the beverage output port to output beverage.
6. The control method according to claim 5, characterized by The control method further includes: in response to being offset, generating prompt information.
7. A beverage outlet device, characterized by including: a seat body provided with a water receiving area; a beverage output mechanism arranged on the seat body, and a beverage output port of the beverage output mechanism being located above the water receiving area; at least one set of first sensors, a plurality of first sensors in each set of the first sensors are symmetrically distributed around a center position, the center position being a position of a center axis of a beverage output port of the beverage output device on the water receiving area, the first sensors being configured to acquire first sensing information of a water receiving container placed on the water receiving area; a control mechanism connected with the beverage output mechanism and the first sensors, configured to control the beverage output mechanism to work based on the first sensing information and the control method of claim 5 or claim 6.
8. Beverage outlet device according to claim 7, characterized in that the center position is further provided with a second sensor connected with the control mechanism, the second sensor being configured to acquire second sensing information of the water receiving container; the control mechanism is configured to control the beverage output mechanism to work based on the first sensing information and the second sensing information.
9. A computer storage medium, characterized in that a computer readable storage medium having stored thereon program instructions that, when executed by a processor, implement the offset detection method of any one of claims 1 to 4, and / or the control method of claim 5 or claim 6.
Citation Information
Patent Citations
Water dispenser for blind people
CN214631673U
Water dispenser for blind people
CN219206584U