Detection device for penicillin bottle cap

By using a pressure mechanism and a rotating mechanism to lift the optical sensor in the vial cap detection device, and using a magnetic mechanism and an air outlet pipe to adjust its position, the problem of easy damage and detection errors of the optical sensor when not in use is solved, achieving a higher safety and accuracy.

CN221612339UActive Publication Date: 2024-08-27HUNAN MAYA INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323477885.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-20
Publication Date
2024-08-27
Estimated Expiration
2033-12-20

AI Technical Summary

Technical Problem

When the existing vial cap detection device is not in use, the optical sensor is easy to be accidentally touched or hit, and long-term exposure to the outside world causes dust to adhere, causing detection errors and increasing work costs.

Method used

A vial cap detection device including a pressure mechanism and a rotating mechanism is designed. The optical sensor can be raised and lowered into the storage tank when not in use. The position of the optical sensor is adjusted through the magnetic mechanism and the air outlet pipe to avoid accidental touching and dust adhesion. .

Benefits of technology

It improves the safety and detection accuracy of the device, reduces the work cost, and avoids damage to the optical sensor and detection errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221612339U
    Figure CN221612339U
Patent Text Reader

Abstract

The utility model belongs to the technical field of bottle cap detection, and discloses a penicillin bottle cap detection device. Comprising a detection table, the interior of the detection table is rotatably connected with a conveying belt, the conveying belt is used for conveying penicillin bottles, a storage groove is formed in the top end of the detection table, a supporting plate is arranged in the storage groove, the interior of the supporting plate is rotatably connected with an optical sensor, and the optical sensor is electrically connected with an external computer. And the external computer is used for collecting information transmitted by the optical sensor. According to the device, through the structural design of the pressure mechanism, the function of lifting the optical sensor can be realized, and the problems that the optical sensor is easily touched or impacted by people by mistake and is damaged, and a large amount of dust in air is easily attached to the optical sensor when the optical sensor is not used and is exposed to the outside for a long time are avoided; therefore, the problem of detection errors of the optical sensor is solved, and the safety of the device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of bottle cap detection, and more specifically, to a detection device for a syringe bottle cap. Background Art

[0002] Penicillin vial, also known as borosilicate glass or soda-lime glass tube (molded) injection bottle, is a small bottle sealed with a rubber stopper and an aluminum-plastic combination cover. It was used to contain penicillin in the early days, hence the name penicillin vial. In the drug production process, the sealing of the vial cap has an important impact on the preservation and quality of the drug, so it is necessary to use a detection device to test the sealing of the vial.

[0003] Existing detection devices are mostly composed of a conveyor belt, an optical sensor and an external computer. The optical sensor is installed on the side of the conveyor belt and exposed to the outside world. The optical sensor and the external computer are then electrically connected. The working process is as follows: first, the vials and bottle caps to be detected are placed on the surface of the conveyor belt, and the conveyor belt is started to transport them. When the vials pass by the optical sensor, the optical sensor takes a photo of it instantly and transmits the obtained photo data to the external computer. The external computer receives and analyzes the data to confirm whether the bottle cap and the vial are tightly closed and whether there is no problem with the sealing. When a problematic vial cap is found, the external computer issues an alarm and reminds the staff to conduct a secondary inspection, thereby completing the vial cap detection process.

[0004] The existing optical sensor is installed on the side of the conveyor belt in an exposed state. As a result, the detection device is still exposed to the outside world when not in use, and is easily touched or hit by people by mistake, which may cause damage to the optical sensor and increase working costs. At the same time, when the optical sensor is not in use, it is exposed to the outside world for a long time and is prone to accumulate a large amount of dust in the air, which may cause errors in the detection of the optical sensor. Utility Model Content

[0005] In order to overcome the above-mentioned defects of the prior art, the utility model provides a detection device for a syringe bottle cap.

[0006] To achieve the above-mentioned purpose, the utility model provides the following technical solutions: a detection device for vial caps, comprising a detection platform, the detection platform is rotatably connected to a conveyor belt inside, the conveyor belt is used to transport vials, a storage slot is provided at the top of the detection platform, a pallet is provided inside the storage slot, an optical sensor is rotatably connected to the inside of the pallet, the optical sensor is electrically connected to an external computer, the external computer is used to collect information transmitted by the optical sensor, a pressure mechanism is provided on the outside of the detection platform, the pressure mechanism is used to move the pallet, a rotation mechanism is provided inside the pallet, the rotation mechanism is used to rotate the optical sensor, a baffle is provided at the bottom end of the pallet, a through hole is provided inside the pallet, the through hole is located directly above the baffle, and a magnetic attraction mechanism is provided at the bottom end of the pallet, the magnetic attraction mechanism is used to move the baffle.

[0007] Further, the pressure mechanism includes a pressure pump, which is bolted to the outside of the testing platform, and a pair of first limit rods are arranged inside the storage groove, and both ends of the pair of first limit rods are fixedly connected to the inner wall of the testing platform, and the pair of first limit rods pass through the support plate, and the outer sides of the pair of first limit rods are sleeved with a first spring, one end of the first spring is fixedly connected to the bottom end of the support plate, and the end of the first spring away from the support plate is fixedly connected to the inner wall of the storage groove.

[0008] Furthermore, the rotating mechanism includes an air outlet pipe, which is fixedly connected to the inside of the support plate, a gear is fixedly connected to the outside of the optical sensor, a limiting groove is provided on the outside of the optical sensor, and a limiting plate is rotatably connected to the inside of the limiting groove, and one end of the limiting plate away from the optical sensor is slidably connected to the inner wall of the storage groove, a coil spring is provided on the outside of the optical sensor and below the support plate, one end of the coil spring is fixedly connected to the outside of the optical sensor, and one end of the coil spring away from the optical sensor is fixedly connected to the bottom end of the support plate.

[0009] Furthermore, the magnetic attraction mechanism includes a reset component and a moving component, the reset component includes a first fixed plate and a second fixed plate, the first fixed plate and the second fixed plate are both fixedly connected to the bottom end of the support plate, a pair of second limiting rods are fixedly connected between the first fixed plate and the second fixed plate, the pair of second limiting rods both pass through the baffle, and a second spring is fixedly connected between the first fixed plate and the baffle.

[0010] Furthermore, the moving assembly includes a connecting rod, the connecting rod is fixedly connected to one end of the baffle away from the second spring, the end of the connecting rod away from the baffle is fixedly connected to a first magnetic block, and the inner wall of the storage groove is fixedly connected to a second magnetic block.

[0011] The technical effects and advantages of the detection device for the cap of a syringe bottle of the utility model are as follows:

[0012] (1) The structural design of the pressure mechanism can realize the function of lifting the optical sensor, which avoids the optical sensor being accidentally touched or hit by people, causing damage to the device, and the optical sensor is easily exposed to the outside world for a long time when not in use, which easily causes a large amount of dust in the air to accumulate, thereby causing errors in the detection of the optical sensor, thereby improving the safety of the device.

[0013] (2) Through the structural design of the rotating mechanism, the orientation of the optical sensor can be adjusted in a limited space without the need to expand the size of the detection table for the placement of the optical sensor, thereby reducing work costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a schematic diagram of the overall structure of the utility model.

[0015] Figure 2 It is a schematic vertical section diagram of the detection platform in the utility model.

[0016] Figure 3 It is a schematic cross-sectional view of the detection platform in the utility model.

[0017] Figure 4 It is a schematic diagram of the exhaust pipe and gear structure in the utility model.

[0018] Figure 5 It is a schematic diagram of the coil spring structure in the utility model.

[0019] Figure 6 For the utility model Figure 5 A is an enlarged structural diagram of FIG.

[0020] In the figure:

[0021] 1. Testing table; 2. Storage slot; 3. Support plate; 4. Optical sensor; 5. Pressure pump; 6. First limit rod; 7. Baffle; 8. Exhaust pipe; 9. Gear; 10. Limit slot; 11. Limit plate; 12. Coil spring; 13. First fixed plate; 14. Second fixed plate; 15. Second limit rod; 16. Second spring; 17. Connecting rod; 18. First magnetic block; 19. Second magnetic block. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0023] See also Figure 1 - Figure 6 As shown, a detection device for vial caps of a syringe comprises a detection platform 1, wherein the detection platform 1 is internally rotatably connected to a conveyor belt, wherein the conveyor belt is used to transport vials, a storage slot 2 is provided at the top of the detection platform 1, a support plate 3 is provided inside the storage slot 2, an optical sensor 4 is internally rotatably connected to the support plate 3, wherein the optical sensor 4 is electrically connected to an external computer, wherein the external computer is used to collect information transmitted by the optical sensor 4, a pressure mechanism is provided on the outer side of the detection platform 1, wherein the pressure mechanism is used to move the support plate 3, a rotation mechanism is provided inside the support plate 3, wherein the rotation mechanism is used to rotate the optical sensor 4, a baffle 7 is provided at the bottom end of the support plate 3, a through hole is provided inside the support plate 3, wherein the through hole is located directly above the baffle 7, and a magnetic attraction mechanism is provided at the bottom end of the support plate 3, wherein the magnetic attraction mechanism is used to move the baffle 7.

[0024] The existing optical sensor 4 is installed on the side of the conveyor belt and is in an exposed state. This causes the detection device to be still exposed to the outside world when not in use, and is easily touched or hit by people by mistake, which in turn causes damage to the optical sensor 4 and increases the working cost. At the same time, when the optical sensor 4 is not in use, it is exposed to the outside world for a long time, and is easily attached with a large amount of dust in the air, which in turn causes errors in the detection of the optical sensor 4. In order to solve the above problems, when the present embodiment is in use, in a static state, the optical sensor 4 is inside the storage slot 2, which can effectively solve the problem of accidental touch and avoid the situation of a large amount of dust adhesion. When it is necessary to detect the cap of the syringe bottle, first place the syringe bottle with the cap on it on the surface of the conveyor belt and convey it by the conveyor belt. At this time, start the pressure mechanism to increase the air pressure inside the storage slot 2 and below the support plate 3. At this time, the pressure on the support plate 3 will drive the optical sensor 4 to move upward. When the optical sensor 4 is fully extended, the magnetic attraction mechanism operates, and the operation of the magnetic attraction mechanism will drive the baffle 7 to move, and the baffle 7 will then expose the through hole. At this time, the pressure under the support plate 3 will be transmitted to the rotating mechanism through the through hole. The rotating mechanism can discharge air and control the rotation of the optical sensor 4 under the influence of the pressure change, and then the detection direction of the optical sensor 4 will be rotated toward the transmission belt. Through the structural design of the rotating mechanism, the position of the optical sensor 4 can be adjusted in a limited space, and there is no need to additionally expand the size of the detection table 1 for the placement of the optical sensor 4, thereby reducing the working cost. The optical sensor 4 then detects the passing syringe bottle and transmits the data to the external computer. The external computer receives and analyzes the data to confirm whether the bottle cap and the syringe bottle are tightly closed and whether there is any problem with the sealing. When a problematic syringe bottle cap is found, the external computer will sound an alarm and remind the staff to perform a secondary inspection, thereby completing the syringe bottle cap inspection process.

[0025] like Figure 2 and Figure 3 As shown, the pressure mechanism includes a pressure pump 5, and the pressure pump 5 is bolted to the outside of the detection platform 1. A pair of first limit rods 6 are arranged inside the storage groove 2, and both ends of the pair of first limit rods 6 are fixedly connected to the inner wall of the detection platform 1, and the pair of first limit rods 6 pass through the support plate 3. The outer sides of the pair of first limit rods 6 are sleeved with a first spring, one end of the first spring is fixedly connected to the bottom end of the support plate 3, and the end of the first spring away from the support plate 3 is fixedly connected to the inner wall of the storage groove 2.

[0026] In order to realize the function of moving the pallet 3 to lift the optical sensor 4, the pressure pump 5 is started. When the pressure pump 5 is running, the air inside the storage slot 2 and below the pallet 3 is increased. The air pressure below the pallet 3 increases, and it will move upward. When the pallet 3 moves upward, it will pull up the first spring, causing it to deform and generate elastic potential energy, and drive the optical sensor 4 to move upward through the movement of the pallet 3. When the pressure pump 5 stops running, the weight of the pallet 3 and the optical sensor 4 themselves, and the elastic potential energy released by the first spring can quickly drive the optical sensor 4 to reset to the initial point through the pallet 3. It should be noted that the setting of the first spring can assist the pallet 3 in resetting, and play a supporting and buffering function for the pallet 3 and the optical sensor 4, thereby avoiding the situation where the pallet 3 directly and hard contacts the bottom of the storage slot 2 during the falling process, causing an impact and causing damage to the optical sensor 4.

[0027] like Figure 3 - Figure 5 As shown, the rotating mechanism includes an air outlet pipe 8, which is fixedly connected to the inside of the support plate 3, a gear 9 is fixedly connected to the outside of the optical sensor 4, a limiting groove 10 is provided on the outside of the optical sensor 4, and a limiting plate 11 is rotatably connected to the inside of the limiting groove 10, and the end of the limiting plate 11 away from the optical sensor 4 is slidably connected to the inner wall of the storage groove 2, a coil spring 12 is arranged on the outside of the optical sensor 4 and below the support plate 3, one end of the coil spring 12 is fixedly connected to the outside of the optical sensor 4, and the end of the coil spring 12 away from the optical sensor 4 is fixedly connected to the bottom end of the support plate 3.

[0028] In order to realize the function of rotating the optical sensor 4, when the optical sensor 4 moves up to the top, the magnetic attraction mechanism operates, and the magnetic attraction mechanism drives the baffle 7 to move and open the through hole. At this time, the air pressure under the support plate 3 is transmitted to the inside of the air outlet pipe 8 through the through hole, and the air outlet pipe 8 then blows the air toward the gear 9. The air is blocked by the edge teeth of the gear 9, and then drives the gear 9 to rotate. Figure 4Rotate counterclockwise, the optical sensor 4 rotates and drives the coil spring 12 to deform and generate elastic potential energy, and the limit groove 10 opened on the outside of the optical sensor 4 moves along the limit plate 11. It should be noted that the limit plate 11 is slidably connected to the inner wall of the storage slot 2. Therefore, when the optical sensor 4 rises, the limit plate 11 rises synchronously without jamming. When the optical sensor 4 drives the limit groove 10 to rotate so that its limit groove 10 is blocked by the limit plate 11, the optical sensor 4 cannot continue to rotate. At this time, the detection direction of the optical sensor 4 is just in the direction of the conveyor belt. Through the above-mentioned structural design, the problem that the optical sensor 4 is too large and cannot meet the storage space by moving up and down directly can be solved. By rotating the optical sensor 4, such problems can be effectively solved, reducing the working cost. When the support plate 3 is reset and moved downward, the magnetic attraction mechanism immediately drives the baffle 7 to reset and blocks the through hole again. The inside of the air outlet pipe 8 can no longer provide air pressure, and the coil spring 12 instantly releases the elastic potential energy and drives the optical sensor 4 to rotate in the opposite direction and reset.

[0029] like Figure 3 , Figure 5 and Figure 6 As shown, the magnetic attraction mechanism includes a reset component and a moving component, the reset component includes a first fixed plate 13 and a second fixed plate 14, the first fixed plate 13 and the second fixed plate 14 are both fixedly connected to the bottom end of the support plate 3, a pair of second limiting rods 15 are fixedly connected between the first fixed plate 13 and the second fixed plate 14, the pair of second limiting rods 15 both pass through the baffle 7, and a second spring 16 is fixedly connected between the first fixed plate 13 and the baffle 7.

[0030] In order to realize the function of moving the baffle 7, when the support plate 3 moves upward to the top point, the moving component runs, and the moving component drives the baffle 7 to move toward the first fixed plate 13. At this time, the baffle 7 moves along the second limiting rod 15 and squeezes the second spring 16, causing it to deform and generate elastic potential energy. The movement of the baffle 7 will open the through hole to facilitate the transmission of air pressure from the through hole. When the support plate 3 moves downward, the moving component stops running, the force on the second spring 16 ends, and the elastic potential energy is released instantly, and the baffle 7 is pushed to reset along the second limiting rod 15, blocking the through hole again to prevent other transmission from the through hole.

[0031] like Figure 3 , Figure 5 and Figure 6 As shown, the moving assembly includes a connecting rod 17, which is fixedly connected to one end of the baffle 7 away from the second spring 16, and the end of the connecting rod 17 away from the baffle 7 is fixedly connected to a first magnetic block 18, and the inner wall of the storage groove 2 is fixedly connected to a second magnetic block 19.

[0032] When the support plate 3 moves upward to the top, the first magnetic block 18 enters the magnetic force range of the second magnetic block 19. Since the second magnetic block 19 is fixed, the second magnetic block 19 will generate a thrust on the first magnetic block 18, so that the first magnetic block 18 drives the baffle 7 to move through the connecting rod 17. It should be noted that the magnetic forces of the first magnetic block 18 and the second magnetic block 19 are greater than the elastic potential energy of the second spring 16. When the support plate 3 is reset, the first magnetic block 18 will leave the magnetic force range of the second magnetic block 19, and the second spring 16 will release the elastic potential energy to push the baffle 7 to reset.

[0033] Working principle: The existing optical sensor 4 is installed on the side of the conveyor belt and is in an exposed state. This causes the detection device to be still exposed to the outside world when not in use, and is easily touched or hit by people by mistake, thereby causing damage to the optical sensor 4 and increasing the working cost. At the same time, when the optical sensor 4 is not in use, it is exposed to the outside world for a long time, and it is easy to adhere to a large amount of dust in the air, thereby causing errors in the detection of the optical sensor 4. In order to solve the above problems, when this embodiment is in use, in a static state, the optical sensor 4 is inside the storage slot 2, which can effectively solve the problem of accidental touch and avoid the situation of a large amount of dust adhesion. When the syringe bottle cap needs to be detected, the syringe bottle with the cap on is first placed on the surface of the conveyor belt. During the transportation, the pressure mechanism is started, and the operation of the pressure mechanism increases the air pressure inside the storage tank 2 and below the support plate 3. At this time, the support plate 3 is subjected to pressure and drives the optical sensor 4 to move upward. When the optical sensor 4 is fully extended, the magnetic attraction mechanism is operated, and the operation of the magnetic attraction mechanism drives the baffle 7 to move, and the baffle 7 then exposes the through hole. At this time, the pressure below the support plate 3 is transmitted to the rotating mechanism through the through hole. The rotating mechanism can discharge air and control the rotation of the optical sensor 4 under the influence of the pressure change, and then the detection direction of the optical sensor 4 is rotated toward the transmission belt. Through the structural design of the rotating mechanism, the position of the optical sensor 4 can be adjusted in a limited space, and there is no need to expand the detection table 1 for the placement of the optical sensor 4. The size of the optical sensor 4 reduces the working cost. The optical sensor 4 then detects the passing vials and transmits the data to the external computer. The external computer receives and analyzes the data to confirm whether the bottle cap and the vial are tightly closed and whether there is no problem with the sealing. When a problematic vial cap is found, the external computer issues an alarm and reminds the staff to conduct a secondary inspection. Thus, the inspection process of the vial cap is completed. In order to realize the function of moving the pallet 3 to lift the optical sensor 4, the pressure pump 5 is started. When the pressure pump 5 is running, the air inside the storage tank 2 and below the pallet 3 is increased. The air pressure below the pallet 3 increases, and it will move upward. When the pallet 3 moves upward, it will pull up the first spring, causing it to deform, generate elastic potential energy, and pass the pallet 3. The movement drives the optical sensor 4 to move upward. When the pressure pump 5 stops running, the weight of the support plate 3 and the optical sensor 4 themselves, and the elastic potential energy released by the first spring can quickly drive the optical sensor 4 to reset to the initial point through the support plate 3. It should be noted that the setting of the first spring can assist the support plate 3 in resetting, and play a supporting and buffering function for the support plate 3 and the optical sensor 4, thereby avoiding the situation where the support plate 3 directly and rigidly contacts the bottom of the storage slot 2 during the falling process, causing the optical sensor 4 to be damaged by the impact. In order to realize the function of rotating the optical sensor 4, when the optical sensor 4 moves up to the top, the magnetic attraction mechanism is operated, and the magnetic attraction mechanism drives the baffle 7 to move to open the through hole. At this time, the air pressure below the support plate 3 is transmitted to the inside of the air outlet pipe 8 through the through hole.The air outlet pipe 8 then blows the air toward the gear 9, and the air is blocked by the edge teeth of the gear 9, thereby driving the gear 9 to rotate. Figure 4 When the optical sensor 4 rotates counterclockwise, the optical sensor 4 rotates, thereby driving the coil spring 12 to deform and generate elastic potential energy, and the limit groove 10 opened on the outside of the optical sensor 4 moves along the limit plate 11. It should be noted that the limit plate 11 is slidably connected to the inner wall of the storage slot 2. Therefore, when the optical sensor 4 rises, the limit plate 11 rises synchronously without jamming. When the optical sensor 4 drives the limit groove 10 to rotate so that its limit groove 10 is blocked by the limit plate 11, the optical sensor 4 cannot continue to rotate. At this time, the optical sensor 4 detects the direction Just in the direction of the conveyor belt, through the above-mentioned structural design, the problem that the optical sensor 4 is too large and cannot meet the storage space by moving up and down directly can be solved. By rotating the optical sensor 4, such problems can be effectively solved, and the working cost is reduced. When the support plate 3 is reset and moved down, the magnetic suction mechanism immediately drives the baffle 7 to reset and blocks the through hole again. The inside of the air outlet pipe 8 can no longer provide air pressure, and the coil spring 12 instantly releases the elastic potential energy and drives the optical sensor 4 to rotate in the opposite direction to reset. In order to realize the function of moving the baffle 7, when the support plate 3 is reset and moved down, the magnetic suction mechanism immediately drives the baffle 7 to reset and blocks the through hole again. The inside of the air outlet pipe 8 can no longer provide air pressure, and the coil spring 12 instantly releases the elastic potential energy and drives the optical sensor 4 to rotate in the opposite direction to reset. When it moves upward to the top, the moving assembly runs, and the moving assembly drives the baffle 7 to move toward the first fixed plate 13. At this time, the baffle 7 moves along the second limiting rod 15 and squeezes the second spring 16, causing it to deform and generate elastic potential energy. The movement of the baffle 7 will open the through hole, making it convenient for air pressure to be transported from the through hole. When the support plate 3 moves downward, the moving assembly stops running, the force on the second spring 16 ends, and the elastic potential energy is released instantly, and the baffle 7 is pushed to reset along the second limiting rod 15, blocking the through hole again to prevent other air from being transported from the through hole. When the support plate 3 moves upward to the top, the first magnetic block 18 enters the magnetic force range of the second magnetic block 19. Since the second magnetic block 19 is fixed, the second magnetic block 19 will generate a thrust on the first magnetic block 18, so that the first magnetic block 18 drives the baffle 7 to move through the connecting rod 17. It should be noted that the magnetic forces of the first magnetic block 18 and the second magnetic block 19 are greater than the elastic potential energy of the second spring 16. When the support plate 3 is reset, the first magnetic block 18 will leave the magnetic force range of the second magnetic block 19, and the second spring 16 will release the elastic potential energy to push the baffle 7 to reset.

[0034] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A device for detecting vial caps, comprising a detection platform (1), wherein the detection platform (1) is internally rotatably connected to a conveyor belt, wherein the conveyor belt is used to transport vials, wherein a storage slot (2) is provided at the top of the detection platform (1), wherein a support plate (3) is provided inside the storage slot (2), wherein an optical sensor (4) is internally rotatably connected to the support plate (3), wherein the optical sensor (4) is electrically connected to an external computer, wherein the external computer is used to collect information transmitted by the optical sensor (4), wherein the device is characterized in that; A pressure mechanism is arranged on the outside of the detection platform (1), and the pressure mechanism is used to move the support plate (3). A rotation mechanism is arranged inside the support plate (3), and the rotation mechanism is used to rotate the optical sensor (4). A baffle (7) is arranged at the bottom end of the support plate (3). A through hole is opened inside the support plate (3), and the through hole is located directly above the baffle (7). A magnetic attraction mechanism is arranged at the bottom end of the support plate (3), and the magnetic attraction mechanism is used to move the baffle (7).

2. The detection device for vial caps according to claim 1, characterized in that: The pressure mechanism comprises a pressure pump (5), the pressure pump (5) is bolted to the outside of the detection platform (1), a pair of first limit rods (6) are arranged inside the storage groove (2), both ends of the pair of first limit rods (6) are fixedly connected to the inner wall of the detection platform (1), the pair of first limit rods (6) pass through the support plate (3), and the outer sides of the pair of first limit rods (6) are sleeved with a first spring, one end of the first spring is fixedly connected to the bottom end of the support plate (3), and the end of the first spring away from the support plate (3) is fixedly connected to the inner wall of the storage groove (2).

3. The detection device for vial caps according to claim 2, characterized in that: The rotating mechanism comprises an air outlet pipe (8), wherein the air outlet pipe (8) is fixedly connected to the inside of the support plate (3); a gear (9) is fixedly connected to the outside of the optical sensor (4); a limit groove (10) is provided on the outside of the optical sensor (4); a limit plate (11) is rotatably connected inside the limit groove (10); an end of the limit plate (11) away from the optical sensor (4) is slidably connected to the inner wall of the storage groove (2); a coil spring (12) is provided on the outside of the optical sensor (4) and below the support plate (3); one end of the coil spring (12) is fixedly connected to the outside of the optical sensor (4); and one end of the coil spring (12) away from the optical sensor (4) is fixedly connected to the bottom end of the support plate (3).

4. The detection device for vial caps according to claim 3, characterized in that: The magnetic attraction mechanism comprises a reset component and a moving component, wherein the reset component comprises a first fixed plate (13) and a second fixed plate (14), wherein the first fixed plate (13) and the second fixed plate (14) are both fixedly connected to the bottom end of the support plate (3), a pair of second limiting rods (15) are fixedly connected between the first fixed plate (13) and the second fixed plate (14), the pair of second limiting rods (15) both penetrate the baffle plate (7), and a second spring (16) is fixedly connected between the first fixed plate (13) and the baffle plate (7).

5. The detection device for vial caps according to claim 4, characterized in that: The moving assembly comprises a connecting rod (17), the connecting rod (17) being fixedly connected to one end of the baffle plate (7) away from the second spring (16), the end of the connecting rod (17) away from the baffle plate (7) being fixedly connected to a first magnetic block (18), and the inner wall of the receiving groove (2) being fixedly connected to a second magnetic block (19).