Label recovery processing method applied to intelligent medicine selling machine
By combining sensors and robotic arms, the problem of uncollected tags in smart medicine vending machines has been solved, ensuring normal operation, improving efficiency, and reducing maintenance costs.
Patent Information
- Application Number
- CN202511062760.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-31
- Publication Date
- 2025-11-21
AI Technical Summary
When smart medicine vending machines dispense the wrong medicine or malfunction, uncollected tags may accumulate, affecting subsequent operations and reducing user experience.
Excess labels are detected by sensors and recycled to a designated area when there are operational anomalies. An operation area and a recycling area are set up. A robotic arm and a camera are used to identify medicines. The robotic arm performs fixed-point recycling or shaking motions above the recycling area to ensure that the labels are recycled.
This ensured the smooth operation of the intelligent medicine vending machine, improved the efficiency of medicine dispensing, and reduced operation and maintenance costs.
Smart Images

Figure CN120997944A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart terminal technology, and in particular to a method for recycling tags used in smart medicine vending machines. Background Technology
[0002] With the intelligent development of the healthcare industry, remote medical consultations and unmanned drug vending are becoming a trend. Through the integration of healthcare and the internet, hospitals and pharmacies are launching intelligent drug vending machines to provide smart services, enabling self-service drug sales via remote consultations.
[0003] Drug labels are primarily used to write prescriptions for medications. After printing, they are picked up by a robotic arm and affixed to the medicine box. The robotic arm also assists in picking up the medicine box. In actual drug dispensing operations, smart vending machines may dispense the wrong medication or experience hardware malfunctions. If printed labels are not collected in these situations, labels may overlap, affecting subsequent operations and reducing user experience. Summary of the Invention
[0004] To address the above technical issues, this invention provides a method for tag recycling in smart medicine vending machines, ensuring smooth operation, improving vending efficiency, and reducing maintenance costs.
[0005] The technical solution of this invention is:
[0006] A method for recycling tags used in smart medicine vending machines uses sensors to detect and recycle excess tags in designated areas when there is an operational anomaly, ensuring that subsequent operations can continue.
[0007] Furthermore,
[0008] Information about the medicines sold is entered into the database, including name, size, and picture. The size must meet the condition that length >= width >= height.
[0009] The system is divided into an operation area and a recycling area. The operation area is where medicines are sent in by a conveyor after they fall, and is used for identification and labeling. The recycling area is mainly used to store recycled medicines, labels or other debris. The operation area and recycling area are located on both sides of the robotic arm, and the recycling action needs to pass over the printer.
[0010] After the medicine enters the operating area, depth image data is collected by a depth camera. Then, the algorithm calculates the position coordinates, size, and rotation angle of the medicine. Next, color image data is acquired by a color camera and compared with image features in the database to determine whether the medicine is correct.
[0011] During operation, the hardware modules of the smart medicine vending machine may malfunction, causing the process to be interrupted. In this case, all modules need to be tested and reset.
[0012] Sensors are installed to detect whether there are medicine boxes or labels under the robotic arm and at the printer exit.
[0013] After reaching the recycling area of the smart medicine vending machine, if a label recycling point was set during tooling initialization, the robotic arm will recycle the label at that point. If no such point was set, the robotic arm will perform a shaking motion by moving up and down in a circular motion above the recycling area to prevent the label from sticking to the suction cup and falling off.
[0014] Specifically, the steps include the following:
[0015]
[01] The medicine enters the operation area through the conveyor device. The depth and color cameras collect image data, identify the medicine, determine whether it is the correct medicine, and print the prescription label at the same time. If the wrong medicine is encountered or the hardware is abnormal, the business is suspended and the compensation process is initiated.
[0016]
[02] When a business or hardware abnormality occurs, the sensors at the robotic arm and printer determine whether a label has been printed in the current state. If so, the label recycling process is executed; otherwise, the process ends.
[0017]
[03] The robot arm sensor determines whether the tag has been grabbed. If it has been grabbed, then execute
[05] ; otherwise, execute
[04] .
[0018]
[04] The label at the printer exit is picked up by a robotic arm.
[0019]
[05] The tag is moved above the recycling area by a robotic arm.
[0020]
[06] Determine whether a tag recycling point was set during tool initialization. If so, execute
[07] ; otherwise, execute
[08] .
[0021]
[07] The robotic arm affixes the tag to the tag recycling point to achieve fixed-point recycling, and the recycling process ends.
[0022]
[08] The robotic arm performs a cyclical shaking motion above the recycling area to shake off the tags, thus ending the recycling process.
[0023] The beneficial effects of this invention are
[0024] The tag recycling function, which can be used in smart medicine vending machines, helps to improve the functionality of medical products and expand the medical internet market. Attached Figure Description
[0025] Figure 1 This is a schematic diagram of the workflow of the present invention;
[0026] Figure 2 This is the working structure diagram of this invention. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0028] This invention provides a method for tag recycling in smart medicine vending machines, including...
[0029] 1. Drug Database Entry: Before using the smart drug vending machine, the information of the drugs to be sold needs to be entered into the database, mainly including name, size, picture, etc. Among them, the size must meet the condition that the length is greater than or equal to the width and greater than or equal to the height (length >= width >= height).
[0030] 2. Areas: The intelligent medicine vending machine is divided into an operation area and a recycling area. The operation area is where medicines are sent after they fall through the conveyor, and it is mainly used for identification, labeling and other operations. The recycling area is mainly used to store recycled medicines, labels or other debris. The operation area and recycling area are located on both sides of the robotic arm, and their positional relationship is shown in the top view below. The recycling action needs to pass over the printer.
[0031] 3. Drug Identification: After a drug enters the operating area, depth image data is collected by a depth camera. Then, an algorithm is used to calculate the drug's position coordinates, size, rotation angle, and other information. Next, color image data is acquired by a color camera and compared with image features in the database to determine whether the drug is correct.
[0032] 4. Hardware malfunction: The smart medicine vending machine consists of multiple hardware modules, such as a robotic arm, camera, printer, and sensors. During operation, the hardware modules may malfunction, causing the process to be interrupted. In this case, all modules need to be tested and reset.
[0033] 5. Sensors: This method involves robotic arm sensors and printer sensors, which are used to detect whether there are medicine boxes or labels under the robotic arm and at the printer exit, respectively.
[0034] 6. Shaking: After reaching the top of the recycling area, if a tag recycling point is set during tooling initialization, the robotic arm will recycle the tag at that point. If not set, the robotic arm will perform a shaking motion by moving up and down in a circular motion above the recycling area to prevent the tag from sticking to the suction cup and falling off.
[0035] like Figure 1As shown, the workflow of this invention is as follows:
[0036]
[01] The medicine enters the operation area through the conveyor device. The depth and color cameras collect image data, identify the medicine, determine whether it is the correct medicine, and print the prescription label at the same time. If the wrong medicine is encountered or the hardware is abnormal, the business is suspended and the compensation process is initiated.
[0037]
[02] When a business or hardware abnormality occurs, the sensors at the robotic arm and printer determine whether a label has been printed in the current state. If so, the label recycling process is executed; otherwise, the process ends.
[0038]
[03] The robot arm sensor determines whether the tag has been grabbed. If it has been grabbed, then execute
[05] ; otherwise, execute
[04] .
[0039]
[04] The label at the printer exit is picked up by a robotic arm.
[0040]
[05] The tag is moved above the recycling area by a robotic arm.
[0041]
[06] Determine whether a tag recycling point was set during tool initialization. If so, execute
[07] ; otherwise, execute
[08] .
[0042]
[07] The robotic arm affixes the tag to the tag recycling point to achieve fixed-point recycling, and the recycling process ends.
[0043]
[08] The robotic arm performs a cyclical shaking motion above the recycling area to shake off the tags, thus ending the recycling process.
[0044] The above description is merely a preferred embodiment of the present invention and is used only to illustrate the technical solution of the present invention, and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A method for recycling tags used in intelligent medicine vending machines, characterized in that, By using sensors to detect abnormalities, excess tags are collected and placed in designated areas when business operations are disrupted, ensuring that subsequent business operations can continue.
2. The method according to claim 1, characterized in that, Information about the medicines sold is entered into the database, including name, size, and picture. The size must meet the condition that length >= width >= height.
3. The method according to claim 2, characterized in that, The machine is divided into an operation area and a recycling area. The operation area is where medicines are sent after they fall through the conveyor and are identified and labeled. The recycling area is mainly used to store recycled medicines, labels or other debris. The operation area and recycling area are located on both sides of the robotic arm of the vending machine. The recycling action needs to pass over the printer.
4. The method according to claim 3, characterized in that, After the medicine enters the operating area, depth image data is collected by a depth camera. Then, the algorithm calculates the position coordinates, size, and rotation angle of the medicine. Next, color image data is acquired by a color camera and compared with image features in the database to determine whether the medicine is correct.
5. The method according to claim 4, characterized in that, If a hardware module of the smart medicine vending machine malfunctions during operation, causing the process to be interrupted, all modules need to be tested and reset.
6. The method according to claim 5, characterized in that, Sensors are installed to detect whether there are medicine boxes or labels under the robotic arm and at the printer exit.
7. The method according to claim 6, characterized in that, After reaching the recycling area of the smart medicine vending machine, if a label recycling point was set during tooling initialization, the robotic arm will recycle the label at that point. If no such point was set, the robotic arm will perform a shaking motion by moving up and down in a circular motion above the recycling area to prevent the label from sticking to the suction cup and falling off.
8. The method according to claim 7, characterized in that, Specifically, the steps include the following: [01] The medicine enters the operation area through the conveyor device. The depth and color cameras collect image data, identify the medicine, determine whether it is the correct medicine, and print the prescription label at the same time. If the wrong medicine is encountered or the hardware is abnormal, the business is suspended and the compensation process is initiated. [02] When a business or hardware abnormality occurs, the sensors at the robotic arm and printer determine whether a label has been printed in the current state. If so, the label recycling process is executed; otherwise, the process ends. [03] The robot arm sensor determines whether the tag has been grabbed. If it has been grabbed, then execute [05]; otherwise, execute [04]. [04] The label at the printer exit is picked up by a robotic arm. [05] The tag is moved above the recycling area by a robotic arm. [06] Determine whether a tag recycling point was set during tool initialization. If so, execute [07]; otherwise, execute [08]. [07] The robotic arm affixes the tag to the tag recycling point to achieve fixed-point recycling, and the recycling process ends. [08] The robotic arm performs a cyclical shaking motion above the recycling area to shake off the tags, thus ending the recycling process.
Citation Information
Patent Citations
Labeling machine
CN209275063U
Slope goods channel medicine selling machine with re-checking and labeling functions and self-service medicine selling system
CN219958307U
Label attaching apparatus, label attaching method, and program
US20250128849A1