A medicine bottle body defect detection device and a detection method
By using a clamping conveyor belt and lifting plate design, combined with multi-angle and multi-area detection, the pixel blurring and size adaptability problems of existing drug bottle detection devices have been solved, achieving efficient and accurate drug bottle defect detection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHIJIAZHUANG SHIYAO PACKAGING CO LTD
- Filing Date
- 2024-12-31
- Publication Date
- 2026-05-01
AI Technical Summary
Existing drug bottle defect detection devices are prone to pixel blurring during image acquisition, making them unsuitable for drug bottles of different sizes and affecting detection efficiency and accuracy.
It uses a clamping conveyor belt and lifting plate in conjunction with an industrial camera to perform multi-angle and multi-area detection, and improves detection accuracy by combining a light source system, adapting to medicine bottles of different sizes.
It improves the efficiency and accuracy of drug bottle defect detection, can adapt to drug bottles of different sizes, reduces pixel defects, and ensures detailed inspection of each area.
Smart Images

Figure CN120009280B_ABST
Abstract
Description
A device and method for detecting defects in pharmaceutical bottles Technical Field
[0001] This invention relates to the technical field of medical device testing, and in particular to a device and method for detecting defects in pharmaceutical bottles. Background Technology
[0002] Medicine bottles are typically containers made of glass or plastic used to store medications. Their production is subject to strict requirements and standards. Among these, defect detection in medicine bottles is a crucial part of quality control in the pharmaceutical industry, aiming to ensure the safety and efficacy of medicines. Bottle defect detection covers various types, including cracks, breakage, foreign objects, stains, label defects, dimensional deviations, bubbles, and uneven coloring.
[0003] For example, Chinese patent CN112129783A discloses a deep learning-based device for detecting defects at the bottom of transparent medicine bottles. This device includes an industrial computer, a precision adjustment mechanism, a precision limiting mechanism, a medicine bottle clamping mechanism, an image acquisition device, an image processing and detection system, an industrial camera precision adjustment platform, and an imaging mechanism. The detection method includes acquiring a color image; employing image enhancement techniques such as histogram equalization, Laplacian operator, logarithmic transformation, and gamma transformation; finding the target edge contour in the grayscale image and performing boundary positioning; obtaining an affine transformation matrix through angles to correct the image; determining the position of the target in the image and establishing a positioning point; selecting the target area using a rectangular bounding box and extracting the target; obtaining the final image after data washing; importing the washed image into a deep learning detection algorithm for medicine bottle images to obtain two probability values: a probability value for qualified medicine bottles and a probability value for defective medicine bottles. These probabilities are then normalized, and the magnitudes of the two probability values are compared to obtain the probability value for the optimal decision.
[0004] However, the aforementioned defect detection device for the bottom of medicine bottles has some shortcomings in actual use:
[0005] 1. Firstly, in existing technologies, an image acquisition device is used to photograph the bottle, which is then used in conjunction with an industrial computer to detect defects. However, it should be noted that directly photographing the entire bottle by the image acquisition device results in a concentrated image of the bottle. When this image is then magnified for further inspection, numerous pixels of varying sizes appear in the image, affecting the detection of the bottle and making it difficult to effectively identify minor scratches. Therefore, photographing the bottle first and then magnifying it for inspection yields significantly different results compared to directly magnifying and photographing it.
[0006] 2. The existing technology has a certain limitation. It can only detect defects in medicine bottles of a single size and cannot detect defects in medicine bottles of different sizes, thus affecting the applicability of the equipment.
[0007] Therefore, based on the above-stated viewpoints, there is still room for improvement in existing defect detection devices for the bottom of medicine bottles. Summary of the Invention
[0008] To address the aforementioned problems, this invention provides a device and method for detecting defects in pharmaceutical bottles, employing the following technical solution:
[0009] In one aspect, this application provides a drug bottle defect detection device, including a stationary detection platform.
[0010] A medicine bottle conveyor is symmetrically arranged on a detection platform for conveying medicine bottles. The medicine bottle conveyor includes two symmetrically distributed clamping conveyor belts, and clamping blocks for clamping medicine bottles are provided at equal intervals on the clamping conveyor belts.
[0011] An angle adjustment component intermittently adjusts the angle of the medicine bottle held on the two clamping conveyor belts to ensure multi-angle detection of the surface of the medicine bottle. Several angle adjustment components are equally spaced on the detection platform. Each angle adjustment component includes two telescopic frames. A limiting shaft is rotatably provided at the corner of the two telescopic frames. An angle adjustment belt is sleeved on the limiting shaft on the telescopic frame. A micro motor is installed on the limiting shaft.
[0012] Preferably, the medicine bottle conveying component further includes a movable block slidably disposed on the detection platform, a plurality of conveying rollers being rotatably disposed on the movable block, the clamping conveyor belts being symmetrically sleeved on the conveying rollers of the detection platform, and the two clamping conveyor belts being symmetrically distributed, the movable block being provided with a conveying motor, and the output end of the conveying motor being connected to the conveying rollers.
[0013] The moving blocks in the width direction of the detection platform are screwed together with bidirectional adjusting rods, and synchronous adjusting belts are installed on the bidirectional adjusting rods. The output end of the conveyor motor is staggered with the bidirectional adjusting rods.
[0014] Preferably, one side of the adjusting belt abuts against a tensioning wheel, and a tensioning spring is connected to the tensioning wheel via a bracket. The tensioning spring is mounted on a right-angle block, and the right-angle block is mounted on a testing platform.
[0015] One side of the right-angle block is also rotatably mounted with a telescopic adjustment screw via a bearing, and the two telescopic frames are screwed onto the telescopic adjustment screw. A coupling is also provided between several telescopic adjustment screws.
[0016] Preferably, the detection platform is also equipped with several industrial cameras for defect detection of medicine bottles, and the industrial cameras are slidably mounted on the detection platform, with the camera ends of the industrial cameras extending toward the medicine bottles clamped between the clamping conveyor belts.
[0017] Preferably, a lifting plate for raising and lowering the medicine bottle is also provided between the two clamping conveyor belts on the detection platform. The top of the lifting plate has a stepped structure, and the height of the medicine bottle can be adjusted by the lifting plate.
[0018] Preferably, one side of the lifting plate is also provided with a replacement component for controlling the replacement of lifting plates of different sizes. The replacement component includes a replacement threaded rod that rotates on the detection platform via a bearing. Several different replacement blocks are screwed onto the replacement threaded rod. Vertical columns are installed on several of the replacement blocks. Lifting plates of different sizes are installed on several of the vertical columns. A reset tension spring sleeved on the vertical column is provided between the lifting plate and the replacement block.
[0019] Preferably, a aligning column is installed on one side of each of the lifting plates along its length, and an aligning plate is installed on the detection platform. The aligning column is slidably mounted on the aligning plate, and the aligning plate is provided with an aligning groove for the aligning column to slide.
[0020] Preferably, the detection platform is further provided with a light source system for illuminating the industrial camera during the illumination process. The light source system includes a light source conveyor belt, a driving component, and detection columns set on the light source conveyor belt. The detection columns set at equal intervals on the light source conveyor belt are distributed one-to-one with the clamping blocks on the clamping conveyor belt. Several illuminators are installed at equal intervals on the detection columns. The driving component is set on the light source conveyor belt for controlling the movement of the light source conveyor belt.
[0021] Secondly, this application also provides a method for detecting defects in pharmaceutical bottles, as follows:
[0022] S1. Product handling: First, place the medicine bottles to be tested in a designated location and start the equipment to test them, ensuring the equipment is operating normally;
[0023] S2. Product clamping: The product to be tested is automatically and continuously clamped and transported through the medicine bottle conveyor.
[0024] S3. Product Inspection: The clamped product is conveyed and its surface defects are inspected after it is moved to the designated position. During the inspection, the product is raised and lowered at equal intervals to inspect different areas of the medicine bottle. At the same time, the angle adjustment component rotates the product at equal intervals to ensure the integrity of the product inspection.
[0025] S4. Product Classification: Products that meet the surface defect standards are collected uniformly; products that fail the test are rejected.
[0026] In summary, this application includes at least one of the following beneficial technical effects:
[0027] I. This invention enables automated and continuous conveying of medicine bottles via a bottle conveyor, allowing for continuous operation of the bottles with the assistance of an industrial camera, thus greatly improving the efficiency of defect detection in medicine bottles. Furthermore, this application can also convey and inspect products of different sizes, significantly enhancing the applicability of the equipment to inspect various product models.
[0028] Second, the angle adjustment component of the present invention can perform intermittent angle adjustment for the product, ensuring that the industrial camera can detect defects in different areas of the medicine bottle, which can greatly improve the accuracy of the detection; furthermore, the angle adjustment component can also adjust the angle for products of different sizes.
[0029] Third, the lifting plate and replacement parts of the present invention can control the lifting and lowering of the medicine bottle. The inspection of the medicine bottle adopts a step-by-step approach, performing detailed inspection on a small area at a time to ensure accurate replacement of each area. At the same time, when each area is magnified, mosaic and pixel defects can be effectively reduced, indirectly improving the accuracy of product inspection. Attached Figure Description
[0030] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0031] Figure 1 is a schematic diagram of the main structure of the present invention.
[0032] Figure 2 is a first-view structural schematic diagram of the medicine bottle delivery component of the present invention.
[0033] Figure 3 is a second-view structural schematic diagram of the medicine bottle delivery component of the present invention.
[0034] Figure 4 is a schematic diagram of the structure between the medicine bottle delivery component and the replacement component of the present invention.
[0035] Figure 5 is a first-view structural schematic diagram of the replaceable component of the present invention.
[0036] Figure 6 is a second-view structural schematic diagram of the replaceable component of the present invention.
[0037] Figure 7 is a schematic diagram of the first perspective structure of the angle adjustment component of the present invention.
[0038] Figure 8 is a schematic diagram of the second perspective structure of the angle adjustment component of the present invention.
[0039] Figure 9 is a schematic diagram of the light source system of the present invention.
[0040] Figure 10 is a flowchart of the drug bottle defect detection method of the present invention.
[0041] Explanation of reference numerals in the attached drawings: 1. Detection platform; 2. Medicine bottle conveyor; 20. Clamping conveyor belt; 21. Clamping block; 3. Angle adjustment component; 30. Telescopic frame; 31. Limiting shaft; 32. Angle adjustment belt; 33. Micro motor; 22. Moving block; 23. Conveyor roller; 24. Bidirectional adjusting rod; 25. Synchronous adjusting belt; 26. Conveyor motor; 34. Tensioning wheel; 35. Tensioning spring; 36. Telescopic adjusting screw; 37. Coupling; 38. Right-angle block; 4. Industrial camera; 5. Lifting plate; 6. Replacement component; 60. Replacement threaded rod; 61. Replacement block; 62. Vertical column; 63. Reset spring; 64. Alignment column; 65. Alignment plate; 66. Alignment chute; 7. Light source system; 70. Light source conveyor belt; 71. Detection column; 72. Illuminator; 73. Drive component. Detailed Implementation
[0042] The present application will be further described in detail below with reference to Figures 1-10.
[0043] This application discloses a device and method for detecting defects in medicine bottles; it is noted that this device for detecting defects in medicine bottle A is mainly used in the process of batch quality inspection of medicine bottle A.
[0044] In existing technologies, an image acquisition device is used to photograph the bottle, which is then used in conjunction with an industrial computer to detect defects. However, it's important to note that directly photographing the entire bottle results in a concentrated image of the bottle. When this image is then magnified for further inspection, numerous pixels of varying sizes appear, affecting the detection of the bottle and making it difficult to effectively identify minor scratches. Therefore, photographing the bottle first and then magnifying it for inspection yields significantly different results compared to directly magnifying and photographing it.
[0045] The existing technology has a certain limitation; it can only detect defects in medicine bottles of a single size A, and cannot detect defects in medicine bottles A of different sizes, thus affecting the applicability of the equipment.
[0046] Therefore, this application proposes a device for detecting defects in pharmaceutical bottles.
[0047] Referring to Figure 1, which is a schematic diagram of the entire device in this application; a drug bottle defect detection device includes: a stationary detection platform 1. The detection platform 1 is generally set on the ground in the factory to ensure the stability of the entire device.
[0048] The medicine bottle conveying component 2 is symmetrically arranged on the detection platform 1 and is used for conveying medicine bottle A. The medicine bottle conveying component 2 includes two symmetrically distributed clamping conveyor belts 20, and clamping blocks 21 for clamping medicine bottle A are provided at equal intervals on the clamping conveyor belts 20.
[0049] It should be noted that the clamping block 21 is made of rubber. The clamping block 21 can not only clamp and limit the position of the medicine bottle A, but also, because the clamping block 21 is made of rubber, it can protect the surface of the medicine bottle A and prevent it from being damaged during the testing process.
[0050] Multiple clamping blocks 21 are provided on the clamping conveyor belt 20 to ensure the automated and continuous conveying of medicine bottle A, which can greatly improve the efficiency of medicine bottle A detection.
[0051] Referring to Figures 2 and 3, which are schematic diagrams of the structure for conveying medicine bottle A in this application; the medicine bottle conveying component 2 also includes a movable block 22 that is slidably disposed on the detection platform 1, and a plurality of conveying rollers 23 that are rotatably disposed on the movable block 22. The clamping conveyor belts 20 are symmetrically disposed on the conveying rollers 23 on the detection platform 1, and the two clamping conveyor belts 20 are symmetrically distributed. A conveying motor 26 is connected to the conveying rollers 23.
[0052] A bidirectional adjusting rod 24 is screwed between the moving blocks 22 in the width direction of the detection platform 1, and a synchronous adjusting belt 25 is installed on the bidirectional adjusting rod 24.
[0053] In the specific implementation process, the conveyor motor 26 is started, and the conveyor motor 26 drives the clamping conveyor belt 20 to rotate through the conveyor roller 23. Then, the two clamping conveyor belts 20 rotate synchronously relative to each other. During the rotation of the two clamping conveyor belts 20, the clamping blocks 21 on the two clamping conveyor belts 20 move closer to each other, which can clamp the medicine bottle A to be tested between the two clamping blocks 21, thereby limiting the position of the medicine bottle A. Then, the clamping conveyor belt 20 continues to move, which can drive the medicine bottle A to move along the length direction of the detection platform 1.
[0054] Furthermore, to ensure the applicability of the equipment in this application, it can also clamp and transport medicine bottles A of different sizes. Rotating the bidirectional adjusting rod 24 causes the symmetrically distributed moving blocks 22 on the detection platform 1 to move relative to each other via the synchronous adjusting belt 25. Specifically, rotating the bidirectional adjusting rod 24 clockwise moves the symmetrically distributed moving blocks 22 away from each other, causing the two symmetrical clamping conveyor belts 20 to move away from each other, thus allowing for the clamping and transport of larger medicine bottles A. Rotating the bidirectional adjusting rod 24 counterclockwise moves the symmetrically distributed moving blocks 22 closer together, causing the two symmetrical clamping conveyor belts 20 to move away from each other and closer together, thus allowing for the clamping and transport of smaller medicine bottles A. Correspondingly, it can also perform defect detection on medicine bottles A of different sizes.
[0055] Referring to Figure 4, it is a schematic diagram of the structure for surface defect detection of medicine bottle A in this application; the detection platform 1 is also equipped with several industrial cameras 4 for defect detection of medicine bottle A, and the industrial cameras 4 are slidably set on the detection platform 1, with the camera end of the industrial camera 4 extending towards the medicine bottle A clamped between the clamping conveyor belts 20.
[0056] After the clamping conveyor belt 20 controls the movement of the medicine bottle A to the first detection area, the industrial camera 4 in the first detection area starts to work, takes pictures of the medicine bottle A, and then analyzes them in the computer to detect whether there are defects on the surface of the medicine bottle A.
[0057] Referring to Figures 4, 5, and 6, the structure diagram for raising and lowering the medicine bottle A is shown. A lifting plate 5 for raising and lowering the medicine bottle A is also provided between the two clamping conveyor belts 20 on the detection platform 1. The top of the lifting plate 5 has a stepped structure, and the height of the medicine bottle A is adjusted by the lifting plate 5.
[0058] It should be noted that the lifting plate 5 has a stepped structure, and the position corresponding to each step of the lifting plate 5 is named the first detection area, the second detection area, the third detection area, etc.
[0059] After the medicine bottle A undergoes defect detection in the first inspection area, the clamping conveyor belt 20 continues to move, controlling the medicine bottle A to move to the second inspection area. Subsequently, the industrial camera 4 in the second inspection area performs defect detection on it. Then, the clamping conveyor belt 20 continues to move, controlling the medicine bottle A to undergo defect detection in the third and fourth inspection areas. If no surface defects are found after inspection, the bottle is collected. If surface defects are found after inspection, the bottle is rejected.
[0060] In the specific implementation process, the clamping conveyor belt 20 moves, and the bottom of the medicine bottle A located between the two clamping blocks 21 on the clamping conveyor belt 20 abuts against the lifting plate 5 and moves along the upper surface of the lifting plate 5. When the medicine bottle A moves to the first detection area of the lifting plate 5, the bottle mouth and bottom of the medicine bottle A are exposed and can be photographed. Multiple sets of photos are used to detect the bottle mouth and bottom of the medicine bottle A.
[0061] Then, the medicine bottle A continues to move, and the lifting plate 5 applies an upward force to the bottom of the medicine bottle A. At this time, the upper part of the medicine bottle A is exposed in the second detection area, and it can be photographed. Multiple sets of photos are used to detect the part of the medicine bottle A from the mouth to the middle of the bottle body.
[0062] Then, the medicine bottle A continues to move, and the lifting plate 5 applies an upward force to the bottom of the medicine bottle A. At this time, the middle part of the medicine bottle A is exposed in the third detection area, and it can be photographed. Multiple sets of photos are used to detect the middle part of the medicine bottle A.
[0063] Subsequently, the medicine bottle A continues to move, and the lifting plate 5 applies an upward force to the bottom of the medicine bottle A. At this time, the lower middle part of the medicine bottle A is exposed in the fourth detection area, and it can be photographed. Multiple sets of photos are used to detect the middle part of the medicine bottle A.
[0064] The lifting plate 5 in this application can lift the medicine bottle A at equal intervals, dividing the entire body of the medicine bottle A into multiple different areas. Each area is then inspected separately, which allows for magnified imaging of each area. This effectively improves the accuracy of each area's inspection and avoids the situation where directly photographing and inspecting the medicine bottle A would cause pixel blurring and mosaic during the magnification process.
[0065] Furthermore, in order to enable the inspection of medicine bottles A of different sizes, this application also proposes to replace component 6, which allows for the inspection of different areas of medicine bottles A of different lengths by replacing component 6.
[0066] Looking at Figures 5 and 6, a replacement component 6 for different sizes of lifting plates 5 is also provided on one side of the lifting plate 5. The replacement component 6 includes a replacement threaded rod 60 that rotates on the detection platform 1 via a bearing. Several different replacement blocks 61 are screwed onto the replacement threaded rod 60. Vertical columns 62 are installed on the replacement blocks 61. Lifting plates 5 of different sizes are installed on the vertical columns 62. A reset tension spring 63 is sleeved on the vertical column 62 between the lifting plate 5 and the replacement block 61.
[0067] A aligning column 64 is installed on one side of several lifting plates 5 along their length. A aligning plate 65 is installed on the detection platform 1. The aligning column 64 is slidably mounted on the aligning plate 65, and a aligning groove 66 is provided on the aligning plate 65 for the aligning column 64 to slide.
[0068] It should be noted that the lifting plates 5 are arranged at equal intervals on the detection platform 1; and the lifting plates 5 are all located at the bottom of the clamping conveyor belt 20; the straightening groove 66 on the straightening plate 65 has a wave-shaped structure.
[0069] In the specific implementation process, when inspecting a larger medicine bottle A, it is necessary to replace the lifting plate 5 with one with a higher step difference to ensure the lifting of the medicine bottle A. At this time, rotate the replacement threaded rod 60, and the replacement threaded rod 60 will drive several lifting plates 5 screwed to its upper end to move until the corresponding lifting plate 5 moves directly below the two clamping conveyor belts 20.
[0070] During the movement of the lifting plate 5, the aligning column 64 on the side wall of the lifting plate 5 controls the height of the lifting plate 5. When the required lifting plate 5 moves to the designated position, the lifting plate 5 is located at the top of the crest of the aligning groove 66. At this time, the first detection area of the lifting plate 5 is in contact with the medicine bottle A, which can realize the defect detection of the medicine bottle A.
[0071] In addition, this application also proposes an angle adjustment component 3, as shown in Figures 7 and 8. The angle of the medicine bottle A can be rotated by the adjustment component 3, and the angle of the medicine bottle A held on the two clamping conveyor belts 20 can be adjusted intermittently to ensure that the surface of the medicine bottle A can be detected from multiple angles. Several angle adjustment components 3 are equally spaced on the detection platform 1. The angle adjustment component 3 includes two telescopic frames 30. A limiting shaft 31 is provided at the corner of the two telescopic frames 30. An angle adjustment belt 32 is sleeved on the limiting shaft 31 on the telescopic frame 30.
[0072] It should be noted that the two telescopic frames 30 are telescopic structures.
[0073] In practice, when the medicine bottle A enters the first detection area, the industrial camera 4 takes a picture of it and then analyzes the picture to detect surface defects. However, it can only detect one side of the medicine bottle A. Since the medicine bottle A is a 360-degree three-dimensional structure, the industrial camera 4 cannot capture multiple sides of the medicine bottle A. Therefore, this application proposes an angle adjustment component 3.
[0074] The micro motor 33 is started, which drives the limit shaft 31 to rotate. Then, the limit shaft 31 drives the angle adjustment belt 32 to rotate. When the medicine bottle A enters the first detection area, the angle adjustment belt 32 will contact the surface of the medicine bottle A and control the medicine bottle A to rotate. During its rotation, the industrial camera 4 takes multiple pictures of it, which can greatly improve the accuracy of defect detection of medicine bottle A.
[0075] Looking at Figure 8, one side of the adjusting belt 32 is abutted against the tension wheel 34. The tension wheel 34 is connected to the tension spring 35 through the bracket. The tension spring 35 is installed on the right-angle block 38, and the right-angle block 38 is installed on the detection platform 1.
[0076] One side of the right-angle block 38 is also equipped with a telescopic adjustment screw 36 via a bearing, and two telescopic frames 30 are screwed onto the telescopic adjustment screw 36.
[0077] When testing medicine bottles A of different sizes, the circumference of medicine bottles A of different sizes is also different. Therefore, in order to ensure that medicine bottles A can rotate a full circle, this application proposes a telescopic adjustment screw 36 to control the length between the two telescopic frames 30.
[0078] When the perimeter of the medicine bottle A being tested is relatively long, rotate the telescopic adjustment screw 36 clockwise. At this time, the two telescopic frames 30 on the telescopic adjustment screw 36 will move outward until the length of the two telescopic frames 30 becomes longer, where the length of the two telescopic frames 30 is the same as the perimeter of the medicine bottle A.
[0079] When the perimeter of the medicine bottle A being tested is short, rotate the telescopic adjustment screw 36 counterclockwise. At this time, the two telescopic frames 30 on the telescopic adjustment screw 36 will move inward until the length of the two telescopic frames 30 becomes shorter. The length of the two telescopic frames 30 should be the same as the perimeter of the medicine bottle A.
[0080] Referring to Figure 9, the detection platform 1 is also equipped with a light source system 7 for illuminating the industrial camera 4 during illumination. The light source system 7 includes a light source conveyor belt 70, a drive unit 73, and detection columns 71 set on the light source conveyor belt 70. The detection columns 71 set at equal intervals on the light source conveyor belt 70 correspond one-to-one with the clamping blocks 21 on the clamping conveyor belt 20. Several illuminators 72 are installed at equal intervals on the detection columns 71. The drive unit 73 is set on the light source conveyor belt 70 to control the movement of the light source conveyor belt 70.
[0081] In order to ensure the clarity of the inspection when the industrial camera 4 performs defect inspection on the product, this application also proposes a light source system 7. The light source system 7 is used to perform the inspection to ensure the clarity of the images captured by the industrial camera 4.
[0082] Furthermore, the illuminators 72 and the clamping blocks 21 are distributed in a one-to-one correspondence. After the medicine bottle A is clamped on the clamping conveyor belt 20, the illuminators 72 are inserted into the medicine bottle A one by one through the light source conveyor belt 70 to ensure that the medicine bottle A is lit. At this time, when the industrial camera 4 performs defect detection on the product, it can effectively improve the clarity of its detection.
[0083] Referring to Figure 10, a method for detecting defects in medicine bottles is described below:
[0084] S1. Product processing: First, place the medicine bottle A to be tested in a designated location and start the equipment to test it, ensuring the normal operation of the equipment.
[0085] S2. Product clamping: Start the conveyor motor 26. The conveyor motor 26 drives the clamping conveyor belt 20 to rotate through the conveyor roller 23. Then, the two clamping conveyor belts 20 rotate synchronously relative to each other. During the rotation, the clamping blocks 21 on the two clamping conveyor belts 20 move closer to each other, which can clamp the medicine bottle A to be tested between the two clamping blocks 21, thereby limiting the position of the medicine bottle A. Then, the clamping conveyor belt 20 continues to move, which can drive the medicine bottle A to move along the length direction of the detection platform 1.
[0086] S3. Product Inspection: The clamped product is conveyed and its surface defects are inspected after it moves to the designated position. After the medicine bottle A is inspected for defects in the first inspection area, the clamping conveyor belt 20 continues to move and controls the medicine bottle A to move to the second inspection area. Then, the industrial camera 4 in the second inspection area inspects its defects. Then the clamping conveyor belt 20 continues to move and controls the medicine bottle A to be inspected for defects in the third and fourth inspection areas.
[0087] When medicine bottle A enters the first inspection area, industrial camera 4 takes a picture of it and then analyzes the picture to detect surface defects. However, it can only inspect one side of medicine bottle A. Since medicine bottle A has a 360-degree three-dimensional structure, industrial camera 4 cannot capture multiple sides of medicine bottle A.
[0088] S4. Product Classification: Products that meet the surface defect standards are collected uniformly; products that fail the test are rejected.
[0089] The embodiments described herein are preferred embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Therefore, all equivalent changes made in accordance with the structure, shape, and principle of the present invention should be covered within the scope of protection of the present invention.
Claims
1. A device for detecting defects in pharmaceutical bottles, characterized in that: include: A stationary testing platform (1); a medicine bottle conveyor (2), symmetrically arranged on the testing platform (1), for conveying medicine bottles, the medicine bottle conveyor (2) includes two symmetrically distributed clamping conveyor belts (20), the clamping conveyor belts (20) are provided with clamping blocks (21) for clamping medicine bottles at equal intervals; an angle adjustment component (3), for intermittently adjusting the angle of the medicine bottles clamped on the two clamping conveyor belts (20), to ensure that the surface of the medicine bottles is tested from multiple angles, several angle adjustment components (3) are arranged at equal intervals on the testing platform (1), the angle adjustment component (3) includes two telescopic skeletons (30), the corners of the two telescopic skeletons (30) are provided with a limiting shaft (31). An angle-adjusting belt (32) is fitted on the limiting shaft (31) on the telescopic frame (30), and a micro motor (33) is installed on the limiting shaft (31); a number of industrial cameras (4) for defect detection of medicine bottles are also installed on the detection platform (1), and the industrial cameras (4) are slidably set on the detection platform (1), with the camera end of the industrial camera (4) extending towards the medicine bottle clamped between the clamping conveyor belts (20); a lifting plate (5) for lifting the medicine bottle is also provided between the two clamping conveyor belts (20) on the detection platform (1), and the top of the lifting plate (5) is a stepped structure, through which the height of the medicine bottle is adjusted.
2. The drug bottle defect detection device according to claim 1, characterized in that: The medicine bottle conveying component (2) also includes a movable block (22) that is slidably arranged on the detection platform (1). Several conveying rollers (23) are rotatably arranged on the movable block (22). The clamping conveyor belts (20) are symmetrically sleeved on the conveying rollers (23) of the detection platform (1), and the two clamping conveyor belts (20) are symmetrically distributed. A conveying motor (26) is provided on the movable block (22), and the output end of the conveying motor (26) is connected to the conveying rollers (23).
3. The drug bottle defect detection device according to claim 2, characterized in that: A bidirectional adjusting rod (24) is screwed between the moving blocks (22) in the width direction of the detection platform (1). A synchronous adjusting belt (25) is installed on the bidirectional adjusting rod (24). The output end of the conveying motor (26) is misaligned with the bidirectional adjusting rod (24).
4. The drug bottle defect detection device according to claim 1, characterized in that: One side of the adjusting belt (32) is abutted against a tension wheel (34), and a tension spring (35) is connected to the tension wheel (34) via a bracket. The tension spring (35) is mounted on a right-angle block (38), and the right-angle block (38) is mounted on the detection platform (1). A telescopic adjusting screw (36) is also rotatably mounted on one side of the right-angle block (38) via a bearing. Two telescopic frames (30) are screwed onto the telescopic adjusting screw (36), and a coupling (37) is provided between several telescopic adjusting screws (36).
5. The drug bottle defect detection device according to claim 1, characterized in that: One side of the lifting plate (5) is also provided with a replacement component (6) for controlling the replacement of lifting plates (5) of different sizes. The replacement component (6) includes a replacement threaded rod (60) that rotates on the detection platform (1) via a bearing. Several different replacement blocks (61) are screwed onto the replacement threaded rod (60). Vertical columns (62) are installed on several of the replacement blocks (61). Lifting plates (5) of different sizes are installed on several of the vertical columns (62). A reset spring (63) sleeved on the vertical column (62) is provided between the lifting plate (5) and the replacement block (61).
6. The drug bottle defect detection device according to claim 5, characterized in that: A aligning column (64) is installed on one side of each of the lifting plates (5) along its length. An aligning plate (65) is installed on the detection platform (1). The aligning column (64) is slidably disposed on the aligning plate (65), and an aligning groove (66) is provided on the aligning plate (65) for the aligning column (64) to slide.
7. The drug bottle defect detection device according to claim 1, characterized in that: The detection platform (1) is also equipped with a light source system (7) for illuminating the industrial camera (4) during the illumination process. The light source system (7) includes a light source conveyor belt (70), a driving component (73), and detection columns (71) set on the light source conveyor belt (70). The detection columns (71) set on the light source conveyor belt (70) at equal intervals are distributed one-to-one with the clamping blocks (21) on the clamping conveyor belt (20). Several illuminators (72) are installed on the detection columns (71) at equal intervals. The driving component (73) is set on the light source conveyor belt (70) to control the movement of the light source conveyor belt (70).
8. A method for detecting defects in pharmaceutical bottles, comprising a pharmaceutical bottle defect detection device according to any one of claims 1-7, characterized in that: The method for detecting defects in medicine bottles is as follows: S1. Product handling: First, place the medicine bottle to be tested in a unified position and start the equipment to test it, ensuring the normal operation of the equipment; S2. Product clamping: The product to be tested is automatically and continuously clamped and transported by the medicine bottle conveyor (2); S3. Product testing: The clamped product is transported, and after it moves to the designated position, it is subjected to surface defect testing. During the testing process, it is raised and lowered at equal intervals to test different areas of the medicine bottle; at the same time, the angle adjustment component (3) rotates it at equal intervals to ensure the integrity of the product testing; S4. Product classification: When the tested product meets the surface defect standard, it is collected uniformly; the unqualified products are rejected.
Citation Information
Patent Citations
Transparent medicine bottle bottom defect detecting device and method based on deep learning
CN112129783A
Medicine inspection system for ampoule bottle
CN201277954Y
Full-automatic detection equipment for penicillin bottles
CN221484596U