Penicillin bottle medicine light inspection machine

By designing an imaging system combining a rotating table of the medicine bottle and multiple sets of light sources and background plates, the problem of difficulty in detecting the bottom of the medicine bottle and transparent foreign matter in the existing technology is solved, and the comprehensive detection and automatic sorting of the medicine for cilrin bottles is realized, which improves the detection efficiency and accuracy.

CN222607221UActive Publication Date: 2025-03-14Yung Shin Pharm Ind (Kunshan) Co Ltd
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323540168.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-25
Publication Date
2025-03-14
Estimated Expiration
2033-12-25

AI Technical Summary

Technical Problem

The existing Cylin bottle pharmaceutical lamp inspection machine is difficult to detect the bottom of the bottle, and it is difficult to detect transparent foreign objects in the bottle. The bottle is easily affected by the shading of the guide wire during the delivery process.

Method used

A cilin bottle pharmaceutical lamp inspection machine is designed, and an imaging system combining a rotating table of the medicine bottle and multiple sets of light sources and background plates is used to achieve all-round detection of the medicine bottle through the rotation of the medicine bottle and the light of different colors. The lateral and bottom imaging devices respectively image the side and bottom surfaces of the medicine bottle, and the image processing module performs data processing to identify foreign objects.

Benefits of technology

The comprehensive inspection of cillin bottle drugs is achieved, and various types of foreign matter can be accurately identified, with high detection efficiency and accurate data. The qualified and unqualified products are processed separately through automatic sorting devices to avoid mixing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222607221U_ABST
    Figure CN222607221U_ABST
Patent Text Reader

Abstract

The utility model discloses a light inspection machine for penicillin bottle medicines. Comprising a workbench, a medicine bottle rotating table driven by a rotating table driving device to rotate intermittently, bottle cap clamping devices arranged on the medicine bottle rotating table at intervals in the circumferential direction and used for clamping bottle caps of medicine bottles, a bottle body rotating driving device for driving the bottle cap clamping devices to rotate, a light source for providing multicolor light for the medicine bottles and a background plate. The lateral imaging device and the bottom imaging device are used for imaging medicine bottles, and the image processing module is used for processing medicine bottle images. The medicine bottle feeding and conveying device, the qualified medicine bottle discharging and conveying device and the unqualified medicine bottle discharging and conveying device are used for feeding and discharging medicine bottles, the sorting device is used for sorting qualified medicine bottles and unqualified medicine bottles, the displayer is used for displaying medicine bottle pictures, and the control system is used for analyzing picture data and controlling all the parts to act. According to the utility model, comprehensive light inspection of penicillin medicine bottles is realized, the detection data is accurate, and the detection efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to pharmaceutical equipment, in particular to a vial medicine light inspection machine. Background Art

[0002] After the vials of medicines are packaged and divided, the liquid in the medicine needs to be inspected to prevent the presence of foreign matter such as broken glass, fibers, and debris in the medicine bottles, or cracks in the bottle bodies. Currently, common light inspection machines transport the medicine bottles forward on a conveyor belt, set a light source on one side of the conveyor belt, and set a camera on the other side of the conveyor belt for photo inspection. This inspection method is difficult to detect the bottom of the bottle, and it is difficult to detect transparent foreign matter in the bottle. At present, in order to prevent the medicine bottles from tipping over during transportation, thin filaments are set at the light inspection position to guide the medicine bottles, which will block the medicine bottles and affect the inspection accuracy. Summary of the invention

[0003] In order to make up for the above deficiencies, the utility model provides a vial medicine light inspection machine, which can automatically perform all-round light inspection on the medicine bottles, has high inspection efficiency and accurate inspection data.

[0004] The utility model adopts the following technical solution to solve the technical problem: a drug light inspection machine for syringe bottles, comprising a workbench, a drug bottle feeding and conveying device, a qualified drug bottle unloading and conveying device, a unqualified drug bottle unloading and conveying device, a drug bottle rotating table, a rotating table driving device, a bottle cap clamping device, a bottle body rotating driving device, a light source, a background plate, a lateral imaging device, a bottom imaging device, an image processing module, a display, a sorting device and a control system. The drug bottle rotating table can be installed on the workbench so as to be intermittently rotated around a vertical rotating shaft. The drug bottle rotating table is provided with a plurality of bottle cap clamping devices evenly spaced along its circumferential direction. The bottle cap clamping device can clamp or loosen the bottle cap of the medicine bottle to be inspected, the bottle body rotation driving device can drive the bottle cap clamping device to rotate, at least two groups of light sources and background plates are fixedly installed on the medicine bottle rotating table at intervals, each background plate has a different color, and the light emitted by each light source is reflected by the background plates of different colors to form light of different colors to illuminate the medicine bottles clamped by the bottle cap clamping device at different positions, at least two lateral imaging devices and at least two bottom imaging devices respectively image the lateral and bottom of the medicine bottles on the bottle cap clamping device that are illuminated by light of different colors, and the lateral imaging device and the bottom imaging device are respectively connected to the image The processing module communicates to transmit the collected image to the image processing module, the image processing module can process the image and identify foreign matter, the image processing module communicates with the control system and the display, the display can display the image of the medicine bottle processed by the image processing module, the control system can determine whether the medicine bottle is qualified according to the processing data of the image processing module, the medicine bottle loading and conveying device, the qualified medicine bottle unloading and conveying device and the unqualified medicine bottle unloading and conveying device are respectively arranged on the workbench, and the bottle cap clamping device on the medicine bottle rotating table can respectively connect with the discharge port of the loading and conveying device and the qualified medicine bottle unloading and conveying device to feed the medicine bottle. The feed inlet of the mouth is opposite to realize drug loading and qualified medicine bottle unloading, the sorting device is installed on the medicine bottle rotating table, the sorting device can grasp unqualified medicine bottles, and the sorting device can release unqualified medicine bottles that are opposite to the inlet of the unqualified medicine bottle unloading conveying device to make unqualified drugs enter the unqualified medicine bottle unloading conveying device, and the control system controls the start and stop actions of the medicine bottle loading conveying device, the qualified medicine bottle unloading conveying device, the unqualified medicine bottle unloading conveying device, the sorting device, the turntable driving device, the bottle cap clamping device, the bottle body rotating driving device, the color-changing background plate, the lateral imaging device, the bottom imaging device and the unqualified product sorting device.

[0005] As a further improvement of the present invention, the front of each background plate faces the medicine bottle, and the light source is located above the background plate and the medicine bottle; the light-emitting surface of the light source faces downward, and part of the light from the light source is reflected by the background plate and irradiated onto the medicine bottle, and another part of the light from the light source directly irradiates onto the medicine bottle.

[0006] As a further improvement of the present invention, the side imaging device and the bottom imaging device are cameras arranged on a workbench at intervals along the up and down directions. The side imaging device and the bottom imaging device are arranged in parallel and at intervals and image in the same direction. A prism is also provided directly below the medicine bottle. The image of the bottom of the medicine bottle can be reflected through the prism to the camera serving as the bottom imaging device for shooting and imaging.

[0007] As a further improvement of the utility model, the workbench is also provided with a camera position adjustment device, which can drive the camera to adjust the position radially and axially on the medicine bottle rotating table respectively, and the control system controls the start and stop actions of the camera position adjustment device and the prism position adjustment device to adjust the camera focus and the prism reflection surface.

[0008] As a further improvement of the present invention, the bottle cap clamping device includes a bottle cap clamping base, a first arc-shaped jaw, a second arc-shaped jaw and a clamping drive device, the first arc-shaped jaw and the second arc-shaped jaw are respectively installed on the bottle cap clamping base and can rotate relative to each other around a rotating shaft extending in a vertical direction, the clamping drive device drives the first arc-shaped jaw and the second arc-shaped jaw to rotate synchronously relative to each other, and when the first arc-shaped jaw and the second arc-shaped jaw are in an open state, they form semicircular arc surfaces that can respectively face the discharge port of the loading conveying device and the feed port of the qualified medicine bottle unloading conveying device.

[0009] As a further improvement of the present invention, the surfaces of the first arc-shaped jaw and the second arc-shaped jaw are respectively formed with elastic pads of an arc-shaped structure that match the shape of the bottle cap of the medicine bottle. The elastic pads are tightly clamped on the circumferential outer wall surface of the bottle cap when the first arc-shaped jaw and the second arc-shaped jaw are in a closed state.

[0010] As a further improvement of the present invention, the first arc-shaped jaw and the second arc-shaped jaw are step structures with an upper end diameter larger than a lower end diameter, and the step surfaces at the lower ends of the first arc-shaped jaw and the second arc-shaped jaw stop on the step surface formed by the bottleneck and the bottle cap of the medicine bottle.

[0011] As a further improvement of the present invention, the bottle body rotation drive device is a servo motor or a rotating cylinder fixedly mounted on the medicine bottle rotating table, the bottle cap clamping base is axially stopped and rotatably mounted on the medicine bottle rotating table in a circumferential direction, and the servo motor or the rotating cylinder drives the bottle cap clamping base to rotate 180 degrees forward and backward.

[0012] As a further improvement of the utility model, the workbench is provided with a bottle supporting slide located directly below the medicine bottle rotating table, the bottle supporting slide can support the bottom of the medicine bottle on the medicine bottle rotating table, and the bottle supporting slide is provided with a hollow section facing the bottom imaging device.

[0013] As a further improvement of the utility model, the sorting device is arranged in a one-to-one correspondence with each bottle cap clamping device on the medicine bottle rotating table, and the sorting device includes a sorting slide rail, a sorting slide, a sorting clamping claw, a sorting clamping drive device and a sorting telescopic drive device. The sorting slide rail is fixedly installed on the medicine bottle rotating table, and the sorting slide rail extends radially along the medicine bottle rotating table. The sorting slide can be slidably installed on the sorting slide rail, and the sorting clamping claw can be relatively moved on the sorting slide. The sorting clamping claw can clamp or release the medicine bottle body clamped by the bottle cap clamping device, the sorting clamping drive device and the sorting telescopic drive device respectively drive the sorting clamping claw and the sorting slide to move, and the control system controls the start and stop of the sorting clamping drive device and the sorting telescopic drive device.

[0014] The beneficial technical effect of the utility model is as follows: the utility model realizes comprehensive light inspection of Xilin medicine bottles, can detect various types of foreign matter in the medicine bottles through lights of different colors, can identify and detect different types of foreign matter, the detection data is accurate, the detection efficiency is high, and after the detection is completed, qualified products and unqualified products are automatically transported and processed separately to avoid mixing. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a three-dimensional diagram of the structural principle of the utility model;

[0016] Figure 2 It is a top view of the structural principle of the utility model;

[0017] Figure 3 This is a structural principle diagram of the bottle cap clamping device of the utility model;

[0018] Figure 4 for Figure 3 Enlarged view of part A in the middle;

[0019] Figure 5 The schematic diagram of the bottom imaging device for imaging the bottom of a medicine bottle;

[0020] Figure 6 This is a schematic diagram of the side imaging device imaging the bottom of a medicine bottle;

[0021] Figure 7 This is the schematic diagram of the medicine bottle sorting device. DETAILED DESCRIPTION

[0022] Embodiment: A drug inspection machine for vials, comprising a workbench 1, a drug bottle feeding and conveying device 2, a qualified drug bottle unloading and conveying device 3, a unqualified drug bottle unloading and conveying device 4, a drug bottle rotating table 5, a rotating table driving device 6, a bottle cap clamping device 7, a bottle body rotating driving device 8, a light source 9, a background plate 10, a lateral imaging device 11, a bottom imaging device 12, an image processing module, a display, a sorting device and a control system. The drug bottle rotating table 5 can be installed on the workbench 1 so as to be intermittently rotated around a vertical rotating axis. The drug bottle rotating table 5 is provided with a plurality of bottle cap clamping devices 7 evenly spaced along its circumferential direction. The bottle cap clamping devices 7 can clamp or Loosen the bottle cap of the medicine bottle 13 to be inspected, the bottle body rotation drive device 8 can drive the bottle cap clamping device 7 to rotate, at least two groups of light sources 9 and background plates 10 are fixedly installed on the medicine bottle rotating platform 5 at intervals, and each background plate 10 has a different color. The light emitted by each light source 9 is reflected by the background plates 10 of different colors to form light of different colors to illuminate the medicine bottles 13 clamped by the bottle cap clamping device 7 at different positions, at least two lateral imaging devices 11 and at least two bottom imaging devices 12 respectively image the side and bottom of the medicine bottles 13 on the bottle cap clamping device 7 that are illuminated by light of different colors, and the lateral imaging devices 11 and the bottom imaging devices 12 are respectively connected to the image processing module The collected image is transmitted to the image processing module through block communication. The image processing module can process the image and identify foreign matter. The image processing module communicates with the control system and the display. The display can display the image of the medicine bottle 13 processed by the image processing module. The control system can determine whether the medicine bottle 13 is qualified according to the processing data of the image processing module. The medicine bottle loading and conveying device 2, the qualified medicine bottle unloading and conveying device 3 and the unqualified medicine bottle unloading and conveying device 4 are respectively arranged on the workbench 1, and the bottle cap clamping device 7 on the medicine bottle rotating table 5 can be respectively aligned with the discharge port of the loading and conveying device and the feed port of the qualified medicine bottle unloading and conveying device 3. To realize the loading of medicines and the unloading of qualified medicine bottles 13, the sorting device is installed on the medicine bottle rotating table 5. The sorting device can grasp the unqualified medicine bottles 13, and the sorting device can loosen the unqualified medicine bottles 13 facing the inlet of the unqualified medicine bottle unloading conveying device 4 to allow the unqualified medicines to enter the unqualified medicine bottle unloading conveying device 4. The control system controls the medicine bottle loading conveying device 2, the qualified medicine bottle unloading conveying device 3, the unqualified medicine bottle unloading conveying device 4, the sorting device, the turntable driving device 6, the bottle cap clamping device 7, the bottle body rotating driving device 8, the color-changing background plate 10, the lateral imaging device 11, the bottom imaging device 12 and the start and stop actions of the unqualified product sorting device.

[0023] The medicine bottle 13 filled with liquid medicine enters a bottle cap clamping device 7 which is opposite to the discharge port of the medicine bottle loading and conveying device 2 from the discharge port of the medicine bottle loading and conveying device 2. After the bottle cap clamping device 7 clamps the bottle cap of the medicine bottle 13, the medicine bottle rotating table 5 drives the medicine bottle 13 to rotate a certain angle. When the medicine bottle 13 reaches the light inspection position, the light emitted by the light source 9 is reflected by the background plate 10 and irradiated on the medicine bottle 13. Then the side imaging device 11 and the bottom imaging device 12 respectively image the side and bottom of the medicine bottle 13. After the image is processed by the image processing module, foreign matter can be accurately identified. As the medicine bottle 13 rotates with the medicine bottle rotating table 5, the medicine bottle 13 is irradiated and imaged by light of different colors respectively, and foreign matter of different colors, including transparent matter, in the medicine bottle 13 can be identified. The image processing module transmits the identification data to the control system and displays the processed picture in real time through the display. When foreign matter is found in a certain medicine bottle 13, the control system controls the sorting device Grab the medicine bottle 13. When the medicine bottle 13 arrives at the feeding port of the qualified medicine bottle unloading and conveying device 3 along with the medicine bottle rotating platform 5, the bottle cap clamping device 7 loosens the bottle cap, and the medicine bottle 13 enters the qualified medicine bottle unloading and conveying device 3 under the action of inertia, and is unloaded and conveyed by the qualified medicine bottle unloading and conveying device 3. If there is a foreign object in the medicine bottle 13, the medicine bottle 13 will still be clamped by the sorting device and will not enter the qualified medicine bottle unloading and conveying device 3. It will continue to move forward with the medicine bottle rotating platform 5 to the unqualified medicine bottle unloading and conveying device. At the entrance of device 4, the sorting device releases the medicine bottle 13 at this time, and the medicine bottle 13 enters the unqualified medicine bottle feeding and conveying device 4 for collection under the action of inertia. The light inspection machine realizes automatic detection of foreign matter in the medicine bottle 13 and defects of the medicine bottle 13 itself. Through the irradiation of lights of different colors, various foreign matter in the medicine bottle 13, including transparent foreign matter, can be detected, thereby ensuring the detection accuracy and fully ensuring that there is no foreign matter in the medicine bottle 13. After the detection, the unqualified products can be automatically sorted and discharged to avoid mixing.

[0024] The front of each background plate 10 faces the medicine bottle 13, and the light source 9 is located above the background plate 10 and the medicine bottle 13; the light emitting surface of the light source 9 faces downward, and part of the light from the light source 9 is reflected by the background plate 10 and irradiated on the medicine bottle 13, and the other part of the light from the light source 9 is directly irradiated on the medicine bottle 13. The light source 9 irradiates the medicine bottle 13 from top to bottom, which can ensure that the medicine in the medicine bottle 13 is clearly irradiated, and the bottom of the medicine bottle 13 is also irradiated. The colored light reflected by the background plate 10 can display foreign objects of different colors and materials in the medicine bottle 13, which is convenient for clear imaging.

[0025] The side imaging device 11 and the bottom imaging device 12 are cameras arranged at intervals on the workbench 1 in the vertical direction. The side imaging device 11 and the bottom imaging device 12 are arranged in parallel and at intervals and image in the same direction. A prism 18 is also arranged directly below the medicine bottle 13. The bottom image of the medicine bottle 13 can be reflected by the prism 18 to the camera as the bottom imaging device 12 for shooting and imaging. Through the reflection of the prism 18, the camera as the bottom imaging device 12 can be distributed outside the medicine bottle rotating platform 5. The image of the bottle bottom is clearly photographed by the camera after being reflected by the prism 18, avoiding the need to set a camera below the bottle bottom, ensuring the safety of the camera, and facilitating the installation and adjustment of the camera.

[0026] The workbench 1 is also provided with a camera position adjustment device 19, which can drive the camera to adjust the position in the radial and axial directions of the medicine bottle rotating platform 5, respectively. The control system controls the camera position adjustment device 19 and the prism 18 position adjustment device to start and stop to adjust the camera focus and the reflection surface of the prism 18. The camera position adjustment device 19 can be used to adjust the alignment of the imaging position of the camera and the medicine bottle 13, and ensure that the medicine bottle 13 is at the imaging focus of the camera, so as to ensure clear imaging.

[0027] The bottle cap clamping device 7 includes a bottle cap clamping base 14, a first arc-shaped clamping jaw 15, a second arc-shaped clamping jaw 16 and a clamping drive device 17. The first arc-shaped clamping jaw 15 and the second arc-shaped clamping jaw 16 are respectively mounted on the bottle cap clamping base and can rotate relative to each other around a rotating shaft extending in a vertical direction. The clamping drive device 17 drives the first arc-shaped clamping jaw 15 and the second arc-shaped clamping jaw 16 to rotate relative to each other synchronously. When the first arc-shaped clamping jaw 15 and the second arc-shaped clamping jaw 16 are in an open state, they form semicircular arc surfaces that can respectively face the discharge port of the loading conveying device and the feed port of the qualified medicine bottle unloading conveying device 3. When the medicine bottle 13 enters or leaves, the first arc-shaped jaw 15 and the second arc-shaped jaw 16 are in an open state to ensure that the bottle cap enters and exits smoothly. After the bottle cap enters, the first arc-shaped jaw 15 and the second arc-shaped jaw 16 rotate synchronously to clamp the bottle cap. A medicine bottle 13 sensing device can also be set on the bottle cap clamping base 14 to ensure that the first arc-shaped jaw 15 and the second arc-shaped jaw 16 clamp the medicine bottle 13 cap in time.

[0028] The surfaces of the first arc-shaped clamping jaw 15 and the second arc-shaped clamping jaw 16 are respectively formed with elastic pads of an arc-shaped structure matching the outer shape of the bottle cap of the medicine bottle 13, and the elastic pads are tightly clamped on the outer circumferential wall surface of the bottle cap when the first arc-shaped clamping jaw 15 and the second arc-shaped clamping jaw 16 are in a closed state. The elastic pads contact the bottle cap to prevent the bottle cap from being pinched.

[0029] The first arc-shaped clamping jaw 15 and the second arc-shaped clamping jaw 16 are step structures with a diameter at the upper end larger than that at the lower end, and the step surfaces at the lower ends of the first arc-shaped clamping jaw 15 and the second arc-shaped clamping jaw 16 stop on the step surface formed by the bottleneck and the bottle cap of the medicine bottle 13. The step surface clamps the bottleneck step of the vial to prevent the vial from falling during operation.

[0030] The bottle body rotation driving device 8 is a servo motor or a rotary cylinder fixedly mounted on the medicine bottle rotating platform 5. The bottle cap clamping base 14 is axially stopped and rotatably mounted on the medicine bottle rotating platform 5 in the circumferential direction. The servo motor or the rotary cylinder drives the bottle cap clamping base 14 to rotate 180 degrees forward and backward. During the light inspection process, the medicine bottle 13 is rotated forward and backward by 180 degrees, so that the lateral imaging device 11 can fully image the medicine bottle 13 by 360 degrees, so as to prevent defects on the back of the medicine bottle 13 from being undetectable.

[0031] The workbench 1 is provided with a bottle supporting slide 20 located directly below the medicine bottle rotating platform 5. The bottle supporting slide 20 can support the bottom of the medicine bottle 13 on the medicine bottle rotating platform 5. The bottle supporting slide 20 is provided with a hollow section directly facing the bottom imaging device 12. When the medicine bottle 13 is initially clamped by the bottle cap clamping device 7 and when unloading, the bottle supporting slide 20 drags the medicine bottle 13 to prevent the medicine bottle 13 from falling and breaking in the connecting section.

[0032] The sorting device is arranged one-to-one corresponding to each bottle cap clamping device 7 on the medicine bottle rotating table 5, and the sorting device includes a sorting slide rail 21, a sorting slide 22, a sorting clamping claw 23, a sorting clamping drive device 24 and a sorting telescopic drive device. The sorting slide rail is fixedly installed on the medicine bottle rotating table 5, and the sorting slide rail 21 extends radially along the medicine bottle rotating table 5. The sorting slide 22 can be slidably installed on the sorting slide rail 21, and the sorting clamping claw 23 can be relatively moved on the sorting slide 22. The sorting clamping claw 23 can clamp or release the bottle body of the medicine bottle 13 clamped by the bottle cap clamping device 7, the sorting clamping drive device 24 and the sorting telescopic drive device respectively drive the sorting claw 23 and the sorting slide 22 to move, and the control system controls the start and stop of the sorting clamping drive device 24 and the sorting telescopic drive device. When the light detects that there are foreign objects in the medicine bottle 13 or the medicine bottle 13 is defective, the sorting slide 22 slides along the sorting slide rail 21, and the sorting clamp 23 is now facing the medicine bottle 13 with foreign objects or defects. The sorting clamp 23 can clamp the medicine bottle 13, making it easy to send it to the unqualified medicine bottle 13 unloading device for sorting and unloading.

Claims

1. A drug inspection machine for vials, characterized by: The invention comprises a workbench (1), a medicine bottle feeding and conveying device (2), a qualified medicine bottle unloading and conveying device (3), a unqualified medicine bottle unloading and conveying device (4), a medicine bottle rotating table (5), a rotating table driving device (6), a bottle cap clamping device (7), a bottle body rotating driving device (8), a light source (9), a background plate (10), a lateral imaging device (11), a bottom imaging device (12), an image processing module, a display, a sorting device and a control system. The medicine bottle rotating table is installed on the workbench so as to be intermittently rotatable around a vertical rotating shaft. The medicine bottle rotating table is provided with a plurality of bottle cap clamps evenly spaced along its circumferential direction. The invention relates to a clamping device, wherein the bottle cap clamping device can clamp or loosen the bottle cap of the medicine bottle (13) to be detected, and the bottle body rotation driving device can drive the bottle cap clamping device to rotate. At least two groups of light sources and background plates are fixedly installed on the medicine bottle rotating platform at intervals, and each background plate has a different color. The light emitted by each light source is reflected by the background plates of different colors to form light of different colors to illuminate the medicine bottles clamped by the bottle cap clamping device at different positions. At least two lateral imaging devices and at least two bottom imaging devices respectively image the side and bottom of the medicine bottles on the bottle cap clamping device that are illuminated by light of different colors. The lateral imaging device and the bottom imaging device are respectively The medicine bottle feeding and conveying device, the qualified medicine bottle unloading and conveying device and the unqualified medicine bottle unloading and conveying device are respectively arranged on the workbench, and the bottle cap clamping device on the medicine bottle rotating table can be respectively connected to the discharge port of the feeding and conveying device and the qualified medicine bottle unloading and conveying device. The feed inlet is directly opposite to realize drug loading and qualified medicine bottle unloading. The sorting device is installed on the medicine bottle rotating table. The sorting device can grasp unqualified medicine bottles. The sorting device can loosen unqualified medicine bottles that are directly opposite to the inlet of the unqualified medicine bottle unloading and conveying device to make unqualified drugs enter the unqualified medicine bottle unloading and conveying device. The control system controls the start and stop actions of the medicine bottle loading and conveying device, the qualified medicine bottle unloading and conveying device, the unqualified medicine bottle unloading and conveying device, the sorting device, the turntable driving device, the bottle cap clamping device, the bottle body rotating driving device, the color-changing background plate, the lateral imaging device, the bottom imaging device and the unqualified product sorting device.

2. The vial drug inspection machine according to claim 1 is characterized by: The front of each background plate faces the medicine bottle, and the light source is located above the background plate and the medicine bottle; the light emitting surface of the light source faces downward, part of the light from the light source is reflected by the background plate and shines on the medicine bottle, and the other part of the light from the light source directly shines on the medicine bottle.

3. The vial drug inspection machine according to claim 1 is characterized by: The side imaging device and the bottom imaging device are cameras arranged at intervals along the vertical direction on the workbench. The side imaging device and the bottom imaging device are arranged in parallel and at intervals and image in the same direction. A prism (18) is also provided directly below the medicine bottle. The image of the bottom of the medicine bottle can be reflected by the prism to the camera serving as the bottom imaging device for shooting and imaging.

4. The vial drug inspection machine according to claim 1 is characterized by: The workbench is also provided with a camera position adjustment device (19), which can drive the camera to adjust its position in the radial and axial directions of the medicine bottle rotating platform respectively. The control system controls the camera position adjustment device and the prism position adjustment device to start and stop to adjust the camera focus and the prism reflection surface.

5. The vial drug inspection machine according to claim 1 is characterized by: The bottle cap clamping device comprises a bottle cap clamping base (14), a first arc-shaped clamping jaw (15), a second arc-shaped clamping jaw (16) and a clamping drive device (17); the first arc-shaped clamping jaw and the second arc-shaped clamping jaw are respectively mounted on the bottle cap clamping base and can rotate relative to each other around a rotating shaft extending in a vertical direction; the clamping drive device drives the first arc-shaped clamping jaw and the second arc-shaped clamping jaw to rotate relative to each other synchronously; when the first arc-shaped clamping jaw and the second arc-shaped clamping jaw are in an open state, they form semicircular arc surfaces that can respectively face the discharge port of the loading conveying device and the feed port of the qualified medicine bottle unloading conveying device.

6. The vial drug inspection machine according to claim 5 is characterized by: The surfaces of the first arc-shaped clamping jaw and the second arc-shaped clamping jaw are respectively formed with elastic pads of an arc-shaped structure matching the shape of the bottle cap of the medicine bottle. The elastic pads are tightly clamped on the circumferential outer wall surface of the bottle cap when the first arc-shaped clamping jaw and the second arc-shaped clamping jaw are in a closed state.

7. The vial drug inspection machine according to claim 5 is characterized by: The first arc-shaped clamping jaw and the second arc-shaped clamping jaw are step structures with an upper end diameter larger than a lower end diameter, and the step surfaces at the lower ends of the first arc-shaped clamping jaw and the second arc-shaped clamping jaw stop on the step surface formed by the bottleneck and the cap of the medicine bottle.

8. The vial drug inspection machine according to claim 5 is characterized by: The bottle body rotation driving device is a servo motor or a rotating cylinder fixedly mounted on the medicine bottle rotating table. The bottle cap clamping base is axially stopped and rotatably mounted on the medicine bottle rotating table in a circumferential direction. The servo motor or the rotating cylinder drives the bottle cap clamping base to rotate 180 degrees forward and backward.

9. The vial drug inspection machine according to claim 1 is characterized by: The workbench is provided with a bottle supporting slide (20) located directly below the medicine bottle rotating platform, the bottle supporting slide can support the bottom of the medicine bottle on the medicine bottle rotating platform, and the bottle supporting slide is provided with a hollow section directly facing the bottom imaging device.

10. The vial drug inspection machine according to claim 1 is characterized by: The sorting device is arranged in one-to-one correspondence with each bottle cap clamping device on the medicine bottle rotating platform, and the sorting device comprises a sorting slide rail (21), a sorting slide seat (22), a sorting clamping claw (23), a sorting clamping driving device (24) and a sorting telescopic driving device. The sorting slide rail is fixedly installed on the medicine bottle rotating platform, and the sorting slide rail extends radially along the medicine bottle rotating platform. The sorting slide seat can be slidably installed on the sorting slide rail, and the sorting clamping claw can be relatively moved on the sorting slide seat. The sorting clamping claw can clamp or release the medicine bottle body clamped by the bottle cap clamping device. The sorting clamping driving device and the sorting telescopic driving device respectively drive the sorting clamping claw and the sorting slide seat to move, and the control system controls the start and stop of the sorting clamping driving device and the sorting telescopic driving device.