A method and system for automatically finding the position of a cup storage barrel

Through the method and system of automatically finding the position of the cup storage bucket, the problem of coffee overflow caused by tilting of the cup storage bucket when loading paper cups is solved, the stable placement of paper cups is achieved, and the occurrence of coffee overflow is reduced.

CN113940548BActive Publication Date: 2024-09-27WANSHIDA COFFEE MASCH (HANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111234736.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-22
Publication Date
2024-09-27
Estimated Expiration
2041-10-22

AI Technical Summary

Technical Problem

When loading paper cups into the cup storage bucket of traditional coffee vending machines, it is easy for the paper cups to tilt due to inaccuracies, causing coffee to overflow.

Method used

Use a method and system to automatically find the position of the cup storage bucket by judging whether the cup storage bucket is at the preset position. If not, move and detect its position based on the preset conditions until the cup storage bucket is at the preset position, and provide prompts based on the detection results. , to ensure that the posture and position of the paper cup are stable.

Benefits of technology

It effectively reduces the spillage of coffee in the paper cup and ensures that the paper cup is placed in the cup storage bucket more accurately and stably.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113940548B
    Figure CN113940548B
Patent Text Reader

Abstract

The present application discloses a method and system for automatically finding the position of a cup storage barrel, the method comprising: determining whether the cup storage barrel is at a preset position; if so, determining whether the position of the cup storage barrel has been found; if not, moving the position of the cup storage barrel based on preset conditions and detecting whether the cup storage barrel has moved to the preset position; obtaining the detection result and providing a prompt based on the detection result. The present application can move the position of the cup storage barrel according to preset conditions until the cup storage barrel is at the preset position and find and detect the position of the cup storage barrel. When the cup storage barrel is at the preset position, the position of the paper cup placed in the cup storage barrel is relatively accurate, so that the posture and position of the paper cup dropped into the cup storage barrel are relatively stable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field related to vending machines, and in particular to a method and system for automatically finding the position of a cup storage bucket. Background Art

[0002] At present, the traditional coffee production is to grind coffee beans into coffee powder manually, and then dissolve the coffee powder into coffee with water or milk and other ingredients, and add different ingredients according to taste, so that the taste and temperature of coffee can be adjusted according to the user's own preferences during the coffee sales process. Due to the fast-paced life of modern times, in order to speed up the purchase time of coffee, modern people have invented vending machines for on-site grinding, brewing and selling coffee.

[0003] In the related art, a coffee vending machine is a machine that automatically grinds and brews coffee beans, adjusts the temperature, and then packages and sells the coffee. Usually, the coffee sold by the coffee machine needs to be packaged in paper cups to make the coffee easy to take. A cup storage barrel is usually used to load paper cups on the coffee vending machine.

[0004] With respect to the above-mentioned related technologies, the inventors believe that there are the following defects: when loading paper cups through a cup storage barrel, the traditional cup storage barrel is more likely to cause the paper cups to tilt due to misalignment when loading paper cups, thereby causing coffee to overflow. Summary of the invention

[0005] In order to improve the problem that when a cup storage bucket is loaded with paper cups, the paper cups are easily tilted due to misalignment of the paper cups, the present application provides a method and system for automatically finding the position of the cup storage bucket.

[0006] The method and system provided in this application adopt the following technical solutions:

[0007] A method and system for automatically finding the position of a cup storage bucket, comprising:

[0008] Determine whether the cup storage barrel is in the preset position;

[0009] If yes, it means that the cup storage bucket is in the preset position;

[0010] If not, moving the position of the cup storage barrel based on the preset conditions and detecting whether the cup storage barrel moves to the preset position;

[0011] Obtain the test results and provide prompts based on the test results.

[0012] By adopting the above technical solution, the position of the cup storage barrel can be moved according to preset conditions until the cup storage barrel is at the preset position and the position of the cup storage barrel is found and detected. When the cup storage barrel is at the preset position, the position of the paper cup placed in the cup storage barrel is more accurate, making the posture and position of the paper cup more stable, thereby reducing the overflow of coffee in the paper cup.

[0013] Optionally, the preset condition includes a first rotation time, and the moving the position of the cup storage barrel based on the preset condition and detecting whether the cup storage barrel moves to the preset position includes:

[0014] Rotating the cup storage barrel during the first rotation time and detecting whether the cup storage barrel rotates to a preset position;

[0015] If yes, the rotation of the cup storage barrel is stopped and a correct prompt is issued;

[0016] If not, an alarm is issued, and the cup storage barrel is rotated in the opposite direction during the first rotation time to detect whether the cup storage barrel is rotated to a preset position;

[0017] If yes, the rotation of the cup storage barrel is stopped and a correct prompt is issued;

[0018] If not, the first rotation time is changed to re-detect the position of the cup storage bucket.

[0019] By adopting the above technical solution, when the preset condition is the first rotation time, the cup barrel is rotated within the first rotation time, and it is detected whether the cup barrel is rotated to the preset position. When it is detected that the cup barrel is rotated to the preset position, the rotation of the cup barrel is stopped and a correct prompt is issued. When the rotation of the cup barrel is not detected in the forward and reverse directions during the first rotation time, the first rotation time is changed, that is, the rotation speed of the cup barrel is changed, and the position of the cup barrel can be re-detected.

[0020] Optionally, the preset variable further includes a time increment, and the changing the first rotation time to re-detect the position of the cup storage bucket includes:

[0021] increasing the time increment to a second rotation time during the first rotation time;

[0022] rotating the cup storage bucket based on the second rotation time and detecting whether the cup storage bucket rotates to a preset position;

[0023] If yes, the rotation of the cup storage barrel is stopped and a correct prompt is issued;

[0024] If not, an alarm is issued, and the cup storage barrel is rotated in the opposite direction during the second rotation time to detect whether the cup storage barrel is rotated to a preset position;

[0025] If yes, the rotation of the cup storage barrel is stopped and a correct prompt is issued;

[0026] If not, the first rotation time is changed to increase the number of time increments and the position of the cup storage bucket is detected again.

[0027] By adopting the above technical solution, the time increment is increased so that the first rotation time is increased to the second rotation time, so that the position of the cup storage barrel is rotated within the second rotation time, and when the position of the cup storage barrel is detected to be at a preset position, the rotation of the cup storage barrel is stopped. When the position of the cup storage barrel still cannot be detected within the second rotation time, the number of times the time increment is increased is changed to re-detect the position of the cup storage barrel.

[0028] Optionally, the preset variable further includes a time increment number, and the changing of the first rotation time to increase the time increment number and re-detecting the position of the cup storage bucket includes:

[0029] Generating a third rotation time by increasing the time increment within the time increment number range based on the first rotation time;

[0030] rotating the cup storage bucket based on the third rotation time and detecting whether the cup storage bucket is rotated to a preset position;

[0031] If yes, the rotation of the cup storage barrel is stopped and a correct prompt is issued;

[0032] If not, an alarm is issued, and the cup storage barrel is rotated in the opposite direction during the third rotation time to detect whether the cup storage barrel is rotated to a preset position;

[0033] If yes, determine that the position of the cup storage bucket is found and issue a correct prompt;

[0034] If not, the search is judged to have failed and a fault prompt is issued.

[0035] By adopting the above technical solution, the position of the cup storage barrel can be detected again.

[0036] Optionally, the detection result includes finding the position of the cup storage bucket or not finding the position of the cup storage bucket, and obtaining the detection result and providing a prompt based on the detection result includes:

[0037] Determining whether the cup storage bucket is in the preset position based on the detection result;

[0038] If so, a correct prompt is issued;

[0039] If not, determine whether the time increase is the last time;

[0040] Otherwise, an alarm will be issued;

[0041] If so, a fault prompt will be issued.

[0042] By adopting the above technical solution, the reason why the position of the cup storage barrel is not detected can be distinguished according to the prompt, and an alarm prompt or a fault prompt can be issued respectively.

[0043] Optionally, the step of issuing a correct prompt if yes includes:

[0044] If yes, then obtaining the time increment and the number of increments;

[0045] The acquired time increment and the number of increments are prompted respectively.

[0046] By adopting the above technical solution, when the detection is completed, the time increment and the time increase number are respectively prompted through correct prompts, so that the time increment and the time increase number of the cup storage barrel can be found according to the prompted time increment and the time increase number.

[0047] Optionally, the step of issuing a correct prompt if yes also includes:

[0048] If yes, obtaining the rotation direction;

[0049] The obtained rotation direction is prompted.

[0050] By adopting the above technical solution, due to the different initial positions, when the detection is completed, it is also necessary to obtain the corresponding rotation direction, and the corresponding rotation direction is prompted so that the maintenance personnel can obtain the corresponding rotation direction.

[0051] A system for automatically finding the position of a cup storage barrel, comprising:

[0052] A judgment module, used to judge whether the cup storage barrel is in a preset position;

[0053] A moving module, used for moving the position of the cup storage barrel based on preset conditions;

[0054] A detection module, used to detect whether the cup storage barrel has moved to the preset position;

[0055] The prompt acquisition module is used to obtain the detection results and provide prompts based on the detection results.

[0056] By adopting the above technical solution, the judgment module determines whether the cup storage barrel is in the preset position, the moving module moves the position of the cup storage barrel based on the preset conditions, the detection module detects whether the cup storage barrel is definitely in the preset position, and the prompt module obtains the detection result and gives a prompt based on the detection result.

[0057] In summary, the present application includes at least one of the following beneficial technical effects:

[0058] 1. The position of the cup storage barrel can be moved according to preset conditions until the cup storage barrel is at a preset position. When the cup storage barrel is at the preset position, the position of the paper cup in the cup storage barrel is more accurate, so that the posture and position of the paper cup are more stable, thereby reducing the overflow of coffee in the paper cup. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 This is a flow chart of one embodiment of a method for automatically finding the position of a cup storage bucket of the present application;

[0060] Figure 2 This is a flowchart of step 1300 in one embodiment of a method for automatically finding the location of a cup storage bucket of the present application;

[0061] Figure 3 This is a flowchart of step 2500 in one embodiment of a method for automatically finding the location of a cup storage bucket of the present application;

[0062] Figure 4 This is a flowchart of step 3600 in one embodiment of a method for automatically finding the location of a cup storage bucket of the present application;

[0063] Figure 5 This is a flowchart of step 1400 in one embodiment of a method for automatically finding the location of a cup storage bucket of the present application;

[0064] Figure 6 This is a method for automatically finding the location of a cup storage bucket in the present application. The process diagram of step 5200 in one embodiment is as follows: Figure 1 ;

[0065] Figure 7 This is a method for automatically finding the location of a cup storage bucket in the present application. The process diagram of step 5200 in one embodiment is as follows: Figure 2 . DETAILED DESCRIPTION

[0066] The present application is further described in detail below in conjunction with the accompanying drawings.

[0067] The embodiments of the present application disclose a method and system for automatically finding the position of a cup storage bucket.

[0068] Reference Figure 1 A method for automatically finding the location of a cup storage bucket comprises the following steps:

[0069] S1100: Determine whether the cup storage bucket is at a preset position.

[0070] Among them, the cup storage barrel is a cylinder for storing coffee cups, and the preset position is the position of the cup storage barrel corresponding to the storage of the coffee cups. When the cup storage barrel is at the preset position, the coffee cup can be accurately placed in the cup storage barrel. When the cup storage barrel is not at the preset position, the coffee cup will tip over when placed in the cup storage barrel.

[0071] S1200: If yes, determine whether the cup storage bucket is located.

[0072] The preset position is a position where the coffee cup is placed in the corresponding cup storage barrel. When it is determined that the position of the cup storage barrel is found, the cup storage barrel can place the corresponding coffee cup at the found position of the cup storage barrel.

[0073] S1300: If not, then move the position of the cup storage barrel based on the preset conditions and detect whether the cup storage barrel moves to the preset position.

[0074] Among them, when the result is no, it proves that the cup storage barrel is not in the preset position, or, when the detection device fails to detect the position of the cup storage barrel, the position of the cup storage barrel is moved based on the preset conditions, and the cup storage barrel is detected again to see if it is in the preset position, so that the position of the cup storage barrel can be searched multiple times and the fault can be eliminated.

[0075] S1400: Obtain test results and provide prompts based on the test results.

[0076] The detection result obtained is that the position of the cup storage barrel is found or not found. The prompts of finding the position of the cup storage barrel and not finding the position of the cup storage barrel are different, so that the position of the cup storage barrel can be understood according to the prompts.

[0077] The implementation principle of a method for automatically finding the position of a cup storage barrel in an embodiment of the present application is as follows: in this embodiment, the position of the cup storage barrel is detected by an infrared receiving detection device, that is, a plurality of cup storage barrels are arranged in a circle on a round table at the same time, an infrared transmitting device is fixed at the lower end of the round table, which is used to transmit infrared rays corresponding to the positioning cup storage barrels, the round table is installed on the corresponding paper cup receiving device through a motor, an infrared receiving device capable of receiving infrared rays is fixed on the paper cup receiving device, the infrared receiving device corresponds to the infrared transmitting device one by one, the infrared receiving device is used to detect whether the position of the corresponding rotating cup storage barrel is in a preset position, the infrared receiving device generates a receiving signal only when the duration of the infrared rays emitted by the infrared transmitting device meets a threshold or the intensity of the infrared rays meets a threshold, that is, at this time the position of the cup storage barrel is found, the motor stops, the round table stops rotating, and the cup storage barrel is in the preset position, in other embodiments, the cup storage barrel is found in different ways, but the finding methods are the same. The position of the cup storage barrel can be moved according to preset conditions and the position of the cup storage barrel can be found and detected. When the cup storage barrel is detected to be in the preset position, the paper cup can be placed in the cup storage barrel more stably, thereby reducing failures during the paper cup placement process.

[0078] Reference Figure 2 The preset condition includes a first rotation time, which can be set according to the needs. In this embodiment, the first rotation time is set to 5 seconds. In other embodiments, the first rotation time can also be set to 4 seconds or 6 seconds according to the size of the cup storage barrel. The position of the cup storage barrel is moved based on the preset condition and whether the cup storage barrel is moved to the preset position is detected, including the following steps:

[0079] S2100, rotating the cup storage barrel at a first rotation time and detecting whether the cup storage barrel is rotated to a preset position.

[0080] When the cup storage barrel is inspected, the first rotation time is adjusted to be suitable for the first rotation time of the cup storage barrel according to the actual specifications of the cup storage barrel. In this embodiment, the cup storage barrel can rotate one circle within the first rotation time. In other embodiments, the rotation speed of the cup storage barrel is constant, and the rotation length within the first rotation is also constant. The first rotation time is set in detail according to the number of multiple cup storage barrels arranged in a circle on the round table, or the inner diameter of the cup storage barrel, for example, the first rotation time can be set to 5 seconds, and the first rotation time can also be adjusted according to the cup drop speed of the paper cup.

[0081] S2200: If yes, stop the rotation of the cup storage barrel and issue a correct prompt.

[0082] Among them, when the result is yes, it means that the position of the cup barrel can be detected by rotating the cup barrel within the first rotation time. At this time, the position of the cup barrel is stopped, and the stopping position is the preset position, and a correct prompt is issued to prompt that the position of the cup barrel has been found.

[0083] S2300: If not, an alarm is issued, and the cup storage barrel is rotated in the opposite direction during the first rotation time to detect whether the cup storage barrel is rotated to a preset position.

[0084] Among them, when the result is no, an alarm prompts, indicating that the position of the cup barrel is not found within the first rotation time, or the position of the cup barrel is difficult to find during the forward rotation process. The cup barrel needs to be rotated in the opposite direction during the first rotation time and re-detected to see whether the cup barrel is rotated to the preset position to avoid the influence of the rotation direction on the cup barrel detection process.

[0085] S2400: If yes, stop the rotation of the cup storage barrel and issue a correct prompt.

[0086] When the cup storage barrel is rotated in the opposite direction during the first rotation time so that the position of the cup storage barrel is detected, the rotation of the cup storage barrel is stopped in time so that the cup storage barrel is in a preset position and a correct prompt is issued.

[0087] S2500: If not, change the first rotation time and re-detect the position of the cup storage barrel.

[0088] Among them, when the cup storage barrel is rotated in the reverse direction and still cannot detect that the cup storage barrel is at the preset position, it can be explained that during the search process of the cup storage barrel, the infrared receiving device did not receive the infrared ray emitted by the infrared transmitting device or the received infrared ray intensity did not meet the threshold value. At this time, it is necessary to change the first rotation time, and then change the receiving time of the infrared receiving device to receive the infrared ray, so as to re-detect the position of the cup storage barrel.

[0089] The implementation principle of the embodiment of the present application for moving the position of the cup storage barrel based on the preset condition and detecting whether the cup storage barrel has moved to the preset position is as follows: when the preset condition is the first rotation time, the position of the cup storage barrel is rotated within the first rotation time and it is determined whether the position of the cup storage barrel is rotated to the preset position, and the rotation of the cup storage barrel is stopped when it is at the preset position, and the rotation direction is changed to detect again when it is not at the preset position, or the first rotation time is changed to detect the position of the cup storage barrel.

[0090] Reference Figure 3 The preset variable also includes a time increment, which is to add time to the first rotation time. The time increment can also be set according to actual needs. For example, the time increment can be set to 1 second or 5 seconds. On the basis of the time increment, the first rotation time is changed to re-detect the position of the cup storage barrel, including the following steps:

[0091] S3100, increasing a time increment from the first rotation time to the second rotation time.

[0092] Wherein, a time increment is added to the first rotation time to the second rotation time. For example, when the first rotation time and the time increment are both 5 seconds, the first rotation time makes the second rotation time 10 seconds based on the time increment, that is, the rotation time of the cup bucket is 10 seconds. When the rotation distance of the cup bucket in the first rotation time is the same as the rotation distance in the second rotation time, the rotation speed of the cup bucket in the second rotation time can be made smaller than the rotation speed in the first rotation time. When the rotation speed in the first rotation time is the same as the rotation speed in the second rotation time, the rotation distance in the second rotation time can be increased, and the probability of finding the cup bucket in the second rotation time can be increased.

[0093] S3200, rotating the cup storage barrel based on the second rotation time and detecting whether the cup storage barrel is rotated to a preset position.

[0094] The cup storage barrel is rotated during the second rotation time to detect whether the cup storage barrel has rotated to the preset position, and the second rotation time is greater than the first rotation time. When the time for one rotation of the cup storage barrel exceeds the first rotation time, the rotation speed of the cup storage barrel during the second rotation time is less than the rotation speed of the first rotation time, or the rotation distance of the cup storage barrel during the second rotation time is greater than the rotation distance of the first rotation time, so that the detection effect of detecting whether the cup storage barrel has rotated to the preset position based on the second rotation time is greater than the detection effect of detecting whether the cup storage barrel has rotated to the preset position based on the first rotation time.

[0095] S3300: If yes, stop the rotation of the cup storage barrel and issue a correct prompt.

[0096] Among them, when the detection result obtained based on the second rotation time is yes, it means that when the cup storage barrel is rotated within the second rotation time, the rotation of the cup storage barrel to the preset position can be detected, which proves that the rotation speed of the cup storage barrel during the first rotation time is faster or the cup storage barrel has not been rotated to the preset position during the rotation process within the first rotation time.

[0097] S3400: If not, an alarm is issued, and the cup storage barrel is rotated in the opposite direction during the second rotation time to detect whether the cup storage barrel is rotated to the preset position.

[0098] Among them, an alarm is issued to indicate that the position of the cup storage barrel is not found within the second rotation time, or the position of the cup storage barrel is difficult to find during the forward rotation process. The cup storage barrel needs to be rotated in the reverse direction during the second rotation time and the cup storage barrel needs to be detected again to see whether it has rotated to the preset position, so as to avoid the influence of the rotation direction on the detection process of the cup storage barrel during the second rotation time.

[0099] S3500: If yes, stop the rotation of the cup storage barrel and issue a correct prompt.

[0100] If the detection result is yes, it means that the rotation of the cup storage barrel to the preset position is detected, so that the cup storage barrel stops at the preset position and a correct prompt is issued.

[0101] S3600: If not, then change the first rotation time to increase the number of time increments and re-detect the position of the cup storage barrel.

[0102] Among them, when the cup storage barrel is rotated in the opposite direction during the second rotation time and the detection result of detecting whether the cup storage barrel is rotated to the preset position is no, it can be explained that the rotation speed of the cup storage barrel during the second rotation time is still relatively fast, and the intensity of the infrared light received by the infrared receiving device is less than the threshold value, or the rotation length during the second rotation time is still relatively short, and the infrared receiving device does not receive the infrared light.

[0103] The implementation principle of changing the first rotation time to re-detect the position of the cup barrel in the embodiment of the present application is: by increasing the time increment, the first rotation time is converted into the second rotation time, the rotation speed of the cup barrel is reduced or the rotation length of the cup barrel is increased, so as to further detect whether the cup barrel reaches the preset position.

[0104] Reference Figure 4 The preset variable also includes the time increment number, which is the number of times the time increment is increased. The second rotation time is the time increment number of 1. In this embodiment, the time increment number can be more than 1. The time increment number is limited to 2 or 3. On the basis of changing the time increment number, the first rotation time is changed to increase the time increment number and the position of the cup storage barrel is re-detected, including the following steps:

[0105] S4100, generating a third rotation time by increasing a time increment within a time increment range based on the first rotation time.

[0106] Among them, the time increment is increased within the range of the time increase number. When the time increase number range is 2, the first rotation time of the second time increment is the third rotation time. When the time increase number range is 3, the first rotation time of the second and third time increments are both the third rotation time.

[0107] S4200: Rotate the cup storage barrel based on the third rotation time and detect whether the cup storage barrel rotates to a preset position.

[0108] S4300: If yes, stop the rotation of the cup storage barrel and issue a correct prompt.

[0109] S4400: If not, an alarm is issued, and the cup storage barrel is rotated in the opposite direction at a third rotation time to detect whether the cup storage barrel is rotated to a preset position.

[0110] S4500: If yes, determine that the cup storage bucket is located and issue a correct prompt.

[0111] If not, then determine that the search has failed and issue a fault prompt.

[0112] Among them, during the third rotation time, the rotation speed of the cup storage barrel is slow. Under normal conditions, the rotation speed of the cup storage barrel is slow during the third rotation time, so that the infrared receiving device can definitely receive the infrared rays and generate a receiving signal, or the cup storage barrel is rotated during the third rotation time, so that the cup storage barrel can rotate a complete circle during the third rotation time and can definitely pass through the preset position. When the detection result is no, it can be determined that the search has failed and a fault prompt can be issued.

[0113] The implementation principle of changing the first rotation time to re-detect the position of the cup storage barrel in the embodiment of the present application is as follows: by setting the number of time increments, a time increment is added within the range of the number of time increments to form a third rotation time, the cup storage barrel is rotated based on the third rotation time, and it is detected whether the cup storage barrel is rotated to a preset position, so that the search for the cup storage barrel is more detailed, and the probability of finding the position of the cup storage barrel is further increased.

[0114] Reference Figure 5 The detection result includes whether the position of the cup storage barrel is found or not. Obtaining the detection result and providing a prompt based on the detection result include the following steps:

[0115] S5100: Determine whether the cup storage bucket is in a preset position based on the detection result.

[0116] Among them, when the detection result is that the position of the cup storage barrel is found, the position of the cup storage barrel is at the preset position, and when the preset position is not found, the position of the cup storage barrel is not at the preset position, so that it can be judged based on the detection result whether the cup storage barrel is at the preset position.

[0117] S5200, if yes, issue a correct prompt.

[0118] Among them, the correct prompt can be a voice prompt, a light prompt or a text prompt light prompt to provide relevant prompts.

[0119] S5300: If no, determine whether the time increment is the last time.

[0120] When the time increment is not the last time, the time increment can be increased to perform detection again to find the position of the cup storage barrel.

[0121] S5400, if not, an alarm is issued.

[0122] If it is not the last time, an alarm will be issued, indicating that the search for the storage cup bucket has failed.

[0123] S5500, if yes, it will issue a fault prompt.

[0124] When it is the last time, a fault prompt is issued, indicating that a fault has occurred in the search for the cup storage barrel, that is, a fault has occurred in the infrared receiving device or the infrared transmitting device, or an objective problem has occurred that causes a problem in the propagation of infrared rays.

[0125] The implementation principle of the embodiment of the present application for obtaining the test results and providing prompts based on the test results is: obtaining the test results and providing prompts based on the test results, when the cup storage barrel is not found at the preset position, an alarm prompt or a fault prompt can be provided to facilitate maintenance and achieve better results in finding and detecting the cup storage barrel.

[0126] Reference Figure 6 If yes, a correct prompt is issued, including the following steps:

[0127] S6100: If yes, obtain the time increment and the number of increments.

[0128] When the position of the cup storage bucket is detected, the cup storage bucket is located at a preset position.

[0129] S6200: Prompt the acquired time increment and the number of increments respectively.

[0130] Reference Figure 7 If yes, a correct prompt is issued, and the following steps are also included:

[0131] S7100: If yes, obtain the rotation direction.

[0132] S7200: Prompt the obtained rotation direction.

[0133] The implementation principle of the correct prompt issued in the embodiment of the present application is as follows: when the position of the cup storage barrel is detected, the position of the cup storage barrel is at a preset position, and the time increment, the number of time increments and the rotation direction in the process of detecting the cup storage barrel are respectively obtained, so that the next search and detection can be carried out according to the time increment, the number of time increments and the rotation direction, thereby reducing the time for searching the cup storage barrel next time and increasing the search efficiency.

[0134] A system for automatically finding the position of a cup storage barrel, comprising:

[0135] A judgment module, used to judge whether the cup storage barrel is in a preset position;

[0136] A moving module, used for moving the position of the cup storage barrel based on preset conditions;

[0137] A detection module, used to detect whether the cup storage barrel has moved to a preset position;

[0138] The prompt acquisition module is used to obtain the detection results and provide prompts based on the detection results.

[0139] The implementation principle of a method and system for automatically finding the position of a cup storage barrel in an embodiment of the present application is as follows: a judgment module judges whether the cup storage barrel is in a preset position, a moving module moves the position of the cup storage barrel based on preset conditions, a detection module detects whether the cup storage barrel is moved to the preset position, and an acquisition prompt module obtains the detection result and gives a prompt based on the detection result.

[0140] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A method for automatically finding the location of a cup storage bucket, characterized in that: include: Determine whether the cup storage barrel is in the preset position; If yes, then determine whether the cup storage bucket has been located; If not, the position of the cup storage barrel is moved based on a preset condition and whether the cup storage barrel is moved to the preset position is detected; the preset condition includes a first rotation time, a time increment and a time increment number; Obtaining test results and providing prompts based on the test results; The method of moving the position of the cup storage barrel based on the preset condition and detecting whether the cup storage barrel moves to the preset position specifically includes: Rotating the cup storage barrel at a first rotation time and detecting whether the cup storage barrel rotates to a preset position; If yes, the rotation of the cup storage barrel is stopped and a correct prompt is issued; If not, an alarm is issued, and the cup storage barrel is rotated in the opposite direction during the first rotation time to detect whether the cup storage barrel is rotated to a preset position; If yes, the rotation of the cup storage barrel is stopped and a correct prompt is issued; If not, increasing the time increment to a second rotation time during the first rotation time; rotating the cup storage bucket based on the second rotation time and detecting whether the cup storage bucket rotates to a preset position; If yes, the rotation of the cup storage barrel is stopped and a correct prompt is issued; If not, an alarm is issued, and the cup storage barrel is rotated in the opposite direction during the second rotation time to detect whether the cup storage barrel is rotated to a preset position; If yes, the rotation of the cup storage barrel is stopped and a correct prompt is issued; If not, then increasing the time increment within the time increment number range based on the first rotation time to generate a third rotation time; rotating the cup storage bucket based on the third rotation time and detecting whether the cup storage bucket is rotated to a preset position; If yes, the rotation of the cup storage barrel is stopped and a correct prompt is issued; If not, an alarm is issued, and the cup storage barrel is rotated in the opposite direction during the third rotation time to detect whether the cup storage barrel is rotated to a preset position; If yes, determine that the position of the cup storage bucket is found and issue a correct prompt; If not, the search is judged to have failed and a fault prompt is issued.

2. The method according to claim 1, characterized in that The detection result includes finding the position of the cup storage bucket or not finding the position of the cup storage bucket, and obtaining the detection result and providing a prompt based on the detection result includes: Determining whether the cup storage bucket is in the preset position based on the detection result; If so, a correct prompt is issued; If not, determine whether the time increase is the last time; Otherwise, an alarm will be issued; If so, a fault prompt will be issued.

3. The method according to claim 2, characterized in that The correct prompt is issued if yes, including: If yes, then obtaining the time increment and the number of increments; The acquired time increment and the number of increments are prompted respectively.

4. The method according to claim 3, characterized in that: If so, issuing a correct prompt also includes: If yes, get the rotation direction; The obtained rotation direction is prompted.