Visual inspection system based on medicine bottle position auxiliary correction
By combining a vision inspection system with a camera and light source, along with electronic control components and a turntable assembly, the problem of inaccurate identification of medicine bottle positions was solved, improving the accuracy of drug extraction and the coordination of the automated process.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- 美蓝(杭州)医药科技有限公司
- Filing Date
- 2025-06-27
- Publication Date
- 2026-05-01
AI Technical Summary
In existing technologies, the position recognition of medicine bottles is inaccurate, which prevents the needle tip from being accurately inserted into the medicine bottle, thus affecting the efficiency of drug extraction.
A vision detection system based on the position correction of medicine bottles is adopted. It uses a camera and light source in conjunction with electronic control components to rotate the medicine bottle and adjust the camera position through a turntable component to ensure accurate identification of the medicine bottle position.
It enables precise identification of the location of medicine bottles, improving the accuracy of drug extraction and the coordination of the automated process.
Smart Images

Figure CN224189167U_ABST
Abstract
Description
Visual inspection system based on medicine bottle position correction Technical Field
[0001] This utility model relates to the field of pharmaceutical equipment technology, specifically a visual inspection system based on auxiliary correction of medicine bottle position. Background Technology
[0002] Currently, when using robotic arms to grip syringes and extract medication from vials, the vial's tilted design necessitates that the needle be inserted from a pre-set position. The accuracy of this insertion directly affects the needle's position within the vial; reduced accuracy results in the needle failing to extract all the medication. Therefore, there is an urgent need to develop a vision-based detection system with vial position-assisted correction to address the problems in existing technologies. Summary of the Invention
[0003] The purpose of this invention is to provide a visual detection system based on the position correction of medicine bottles, which can accurately identify the position of medicine bottles and, in conjunction with electronic control components, can more accurately extract the liquid medicine from the shaken medicine bottle, thereby solving the problems mentioned in the background art.
[0004] To achieve the above objectives, this utility model provides the following technical solution:
[0005] A visual inspection system based on the position correction of medicine bottles includes a fixed frame. An electric cylinder is provided on the inner wall of the fixed frame near the top. A connecting plate is connected to the piston end of the electric cylinder. A machine position fixing plate is connected to one side of the connecting plate. A camera is connected to the machine position fixing plate. A light source is provided directly below the camera.
[0006] It also includes a turntable assembly for rotating the medicine bottle;
[0007] An electronic control component is used to control the identification and detection as well as the operation of the turntable component.
[0008] By adopting the above technical solution, the shaken medicine bottle will stop shaking and be located on the turntable assembly. The electronic control component drives the turntable assembly to rotate, and the medicine bottles to be extracted will pass under the camera in sequence. At this time, the camera can identify the position of the medicine below with the help of the light source. During this process, the electric cylinder can also adjust the camera along with the camera position fixing plate to adjust up and down through the connecting plate, so that it finds the most accurate identification position, ensuring the accuracy of the overall visual inspection.
[0009] As a further embodiment of this utility model: the connecting plate and the machine position fixing plate are connected at a right angle.
[0010] By adopting the above technical solution, the mounting bracket remains vertical during installation, while the camera mounting plate connected at a right angle to it remains horizontal. The camera mounted on the camera mounting plate can detect vertically downwards, ensuring stable focusing throughout the entire detection process.
[0011] As a further embodiment of this utility model: a lens is mounted on the bottom of the camera, and a protective cover is provided on the camera mounting plate. The protective cover is located outside the camera and the lens, and the protective cover is a detachable structure.
[0012] By adopting the above technical solution, the protective cover can protect the camera and lens, preventing the expensive recognition lens from being bumped during movement. At the same time, the protective cover is detachable, making it more convenient to operate when the lens needs to be disassembled or assembled.
[0013] As a further embodiment of this invention: the light source is in a ring shape, and the lens is located directly above the light source.
[0014] By adopting the above technical solution, the ring-shaped light source can emit a uniform beam from the bottom. When the lens detects from within, the supplementary brightness provided by the light source can fully enable the lens to capture position information.
[0015] As a further embodiment of this utility model: the turntable assembly includes a servo motor and a turntable body disposed at the bottom, and the camera is located directly above the eccentric position of the turntable body.
[0016] By adopting the above technical solution, the turntable drives the medicine bottle to rotate along a circular trajectory, and the area directly above this eccentric position is aligned with the circular trajectory. As the servo motor drives the turntable to rotate, the shaken medicines will pass directly below the camera for inspection in sequence.
[0017] As a further embodiment of this utility model: the electronic control component includes a first switch for controlling the operation of the servo motor and a second switch for controlling the operation of the electric cylinder.
[0018] In summary, this application includes at least the following beneficial technical effects:
[0019] 1. The identification process is accurate. Unlike traditional fixed probe identification, the sealing method in this solution is mobile identification. The light beam emitted by the light source determines the insertion position, and then the position information is collected by the camera for comparison. During this process, the electric cylinder is used to adjust the camera to the optimal identification position according to the height of the medicine bottle, ensuring the accuracy of the identification process.
[0020] 2. The automated process is closely coordinated. As the electronic control component controls the turntable component to rotate the medicine bottle into the coverage area of the light source, the camera can be used in conjunction with the light source to identify the position of the medicine bottle. The electronic control component will control the correction module on the turntable component to adjust the position of the medicine bottle until the position is accurate after identification before it is extracted. The whole process is closely coordinated.
[0021] Other features and advantages of this utility model will be disclosed in detail in the following specific embodiments and accompanying drawings. Attached Figure Description
[0022] Figure 1 is a schematic diagram of the overall structure in an embodiment of this utility model;
[0023] Figure 2 is a schematic diagram of the fixing frame structure in an embodiment of this utility model;
[0024] Figure 3 is a schematic diagram of the camera mounting structure in an embodiment of this utility model;
[0025] Figure 4 is a flowchart of the operation of the electronic control component in the embodiment of this utility model.
[0026] The attached figures are labeled as follows: 1. Mounting frame; 2. Protective cover; 3. Turntable assembly; 4. Light source; 5. Electric cylinder; 6. Connecting plate; 7. Camera mounting plate; 8. Camera; 9. Lens. Detailed Implementation
[0027] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.
[0028] Referring to Figures 1, 2 and 3, in this embodiment, the visual detection system based on the position correction of the medicine bottle includes a fixed frame 1. An electric cylinder 5 is provided on the inner wall of the fixed frame 1 near the top. A connecting plate 6 is connected to the piston end of the electric cylinder 5. A machine position fixing plate 7 is connected to one side of the connecting plate 6. A camera 8 is connected to the machine position fixing plate 7. A light source 4 is provided directly below the camera 8.
[0029] It also includes a turntable assembly 3, which is used to rotate the medicine bottle;
[0030] The electronic control component is used to control the identification and detection as well as the operation of the turntable component 3.
[0031] Using the above scheme, the shaken medicine bottle will stop shaking and be located on the turntable assembly 3. The electronic control component drives the turntable assembly 3 to rotate, and the medicine bottle to be extracted will pass under the camera 8 in sequence. At this time, the camera 8 can cooperate with the light source 4 to identify the position of the medicine below.
[0032] During this process, the electric cylinder 5 can also adjust the camera 8 up and down along with the camera position fixing plate 7 via the connecting plate 6, so that it can find the most accurate recognition position.
[0033] Specifically, the connecting plate 6 and the machine position fixing plate 7 are connected at a right angle.
[0034] It should be noted that the mounting bracket 1 remains vertical during installation, while the camera mounting plate 7, which is connected to it at a right angle, remains horizontal. The camera 8 mounted on the camera mounting plate 7 can perform vertical downward detection, ensuring stable focusing throughout the entire detection process.
[0035] Referring to Figure 2, in this embodiment, a lens 9 is mounted on the bottom of the camera 8, and a protective cover 2 is provided on the camera mounting plate 7. The protective cover 2 is located outside the camera 8 and the lens 9, and the protective cover 2 is a detachable structure.
[0036] In actual use, the protective cover 2 can protect the camera 8 and the lens 9, preventing the expensive recognition lens 9 from being bumped during movement. At the same time, the protective cover 2 is detachable, making it more convenient to disassemble and assemble the lens 9 when needed.
[0037] Referring to Figures 2 and 3, in this embodiment, the light source 4 is in a ring shape, and the lens 9 is located directly above the light source 4.
[0038] The ring-shaped light source 4 can emit a uniform beam from the bottom. When the lens 9 detects from it, the supplementary brightness provided by the light source 4 can fully enable the lens 9 to capture position information.
[0039] In this embodiment, through holes are provided at the connection between the protective cover 2 and the connecting plate 6, and the through holes are connected to the interior of the fixing frame 1.
[0040] As the electric cylinder 5 drives the connecting plate 6 to rise and fall longitudinally along the fixed frame 1, the high frequency and long duration of operation will cause the electric cylinder 5 to heat up. The through holes can allow for a certain degree of ventilation, thus preventing malfunctions of the electric cylinder 5.
[0041] Referring to Figure 1, in this embodiment, the turntable assembly 3 includes a servo motor disposed at the bottom and a turntable body, and the camera 8 is located directly above the eccentric position of the turntable body.
[0042] In actual use, the turntable drives the medicine bottle to rotate along a circular path, and the area directly above this eccentric position is aligned with the circular path. As the servo motor drives the turntable to rotate, the shaken medicines will pass directly below camera 8 for detection in sequence.
[0043] In this embodiment, the electronic control component includes a first switch for controlling the operation of the servo motor and a second switch for controlling the operation of the electric cylinder 5.
[0044] In the specific working process, the first switch and the second switch are controlled independently. The specific control operation depends on the timing of the rotation of the turntable assembly 3 and the timing of the extension and retraction of the electric cylinder 5.
[0045] It should be noted that the overall detection and identification process for liquid extraction consists of a beam module, an information acquisition module, a position analysis module, and a correction module. This solution only demonstrates the overall visual detection system in detail, so the correction module is not described in detail. The coordination process of each module is as follows:
[0046] Referring to Figure 4, the light source 4 in the beam module first emits a beam to cover the medicine bottle to be aspirated. At this time, the camera 8 in the information acquisition module, together with the lens 9, takes a picture of the position of the medicine bottle and identifies it. The identified information is then fed back to the control system. The position analysis module in the control system compares and analyzes the acquired information. If the position is correct, the syringe held by the robotic arm can be directly inserted to aspirate the medicine. If the position is incorrect, the information is transmitted to the correction module, which intervenes to correct the position. At the same time, the corrected position information is fed back to the position analysis module for analysis to reconfirm whether the position of the medicine bottle is accurate. If it is accurate, the syringe held by the robotic arm can be directly inserted to aspirate the medicine. If the position is still incorrect, the correction module intervenes again to correct the position, and the above operation is repeated.
[0047] Working principle:
[0048] In the process of using this solution, before the robotic arm picks up the syringe to draw the medicine from the vial, the light source 4 first locks the position of the light beam on the position to be punctured on the vial. Then, the camera 8 takes a picture of the detection point to determine the position information of the vial and feeds it back. During this process, the electric cylinder 5 drives the camera 8 and lens 9 to adjust the height to ensure more accurate position information recognition.
[0049] It will be apparent to those skilled in the art that this invention is not limited to the details of the exemplary embodiments described above, and that it can be implemented in other specific forms without departing from the spirit or essential characteristics of this invention. Therefore, the embodiments should be considered illustrative and non-limiting in all respects, and the scope of this invention is defined by the appended claims rather than the foregoing description. Thus, it is intended that all variations falling within the meaning and scope of equivalents of the claims be included within this invention. No reference numerals in the claims should be construed as limiting the scope of the claims.
[0050] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A visual inspection system based on medicine bottle position-assisted correction, comprising a fixing frame (1), characterized in that, The mounting bracket (1) has an electric cylinder (5) on the inner wall near the top. The piston end of the electric cylinder (5) is connected to a connecting plate (6). One side of the connecting plate (6) is connected to a machine position fixing plate (7). A camera (8) is connected to the machine position fixing plate (7). A light source (4) is located directly below the camera (8). The mounting bracket (1) also includes a turntable assembly (3), which is used to drive the medicine bottle to rotate. The mounting bracket (1) also includes an electronic control assembly, which is used to control the identification and detection as well as the operation of the turntable assembly (3).
2. The visual detection system based on medicine bottle position-assisted correction according to claim 1, characterized in that, The connecting plate (6) and the machine position fixing plate (7) are connected at a right angle.
3. The visual detection system based on medicine bottle position-assisted correction according to claim 2, characterized in that, The camera (8) has a lens (9) mounted on its bottom. The camera mounting plate (7) has a protective cover (2) on its bottom. The protective cover (2) is located on the outside of the camera (8) and the lens (9). The protective cover (2) is a detachable structure.
4. The visual detection system based on medicine bottle position-assisted correction according to claim 3, characterized in that, The light source (4) is in a ring shape, and the lens (9) is located directly above the light source (4).
5. The visual detection system based on medicine bottle position-assisted correction according to claim 4, characterized in that, Both the protective cover (2) and the connecting plate (6) have through holes at their connection points, and the through holes are connected to the interior of the fixing frame (1).
6. The visual detection system based on medicine bottle position-assisted correction according to claim 1, characterized in that, The turntable assembly (3) includes a servo motor located at the bottom and the turntable body.
7. The visual detection system based on medicine bottle position-assisted correction according to claim 6, characterized in that, The camera (8) is located directly above the eccentric position of the turntable body.
8. The visual detection system based on medicine bottle position-assisted correction according to claim 7, characterized in that, The electronic control assembly includes a first switch for controlling the operation of the servo motor and a second switch for controlling the operation of the electric cylinder (5).