A medicine package box detection system and a control method thereof
By using a drive roller and conveyor belt structure, combined with a camera and flipping rod design, the problems of visual blind spots and inaccurate positioning in the inspection of pharmaceutical packaging boxes have been solved, realizing full-dimensional inspection and automated sorting, and improving the accuracy and efficiency of inspection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-03-12
- Publication Date
- 2026-06-16
Smart Images

Figure CN122217859A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of packaging box inspection technology, specifically to a pharmaceutical packaging box inspection system and its control method. Background Technology
[0002] Medicine packaging boxes are specially designed containers for holding, protecting, and carrying information about medicines. They are usually made of materials such as paper, plastic, and aluminum foil and are part of the outer protective structure of medicines.
[0003] The existing technologies for detecting pharmaceutical packaging boxes still have the following defects and shortcomings: 1) It relies heavily on visual inspection. Since the bottom of the packaging box contacts the conveyor belt, there are blind spots in the inspection process, which affects the accuracy of the inspection results. At the same time, since the inspection component is located on the top of the packaging box, a single conveying process can only obtain an inspection image for one side of the packaging box. After being transported to the other end, the other side of the image can only be inspected manually by turning it over. Therefore, at least two conveying processes are required to complete the inspection process of the drug packaging box. 2) The detection process requires the participation of a conveyor belt. The conveyor belt lacks guidance during the transport of the tablet packaging boxes, especially when transporting medicine packaging boxes of different sizes and specifications. The positioning is inaccurate and the boxes are prone to deviation and skew, which reduces the accuracy of the detection. 3) After detecting qualified and unqualified drug packaging boxes, the rejection often relies on manual labor, which has a low degree of automation, high labor intensity, and low work efficiency.
[0004] Therefore, there is a need to provide a drug packaging box detection system and its control method to solve the defects and deficiencies in the existing technology. Summary of the Invention
[0005] To address the deficiencies and shortcomings of the existing technology, this invention provides a drug packaging box detection system and its control method.
[0006] To achieve the above objectives, the present invention provides the following technical solution: A pharmaceutical packaging box inspection system includes a frame, with support legs mounted at the bottom of the frame; Its features are: The inner wall of the frame is rotatably connected to two symmetrically arranged drive rollers. Four equally spaced conveyor belts are installed on the drive rollers, with gaps between adjacent conveyor belts. A drive motor is installed on one side of the frame, and the drive end of the drive motor passes through the frame and is connected to one of the drive rollers. A detection assembly is provided on the top of the frame. The detection assembly includes a mounting bracket fixed to the top of the frame. A damping block is rotatably connected inside the mounting bracket. A camera is mounted on one side of the damping block. A positioning frame is fixedly connected to one side of the mounting frame. A servo motor is installed inside the positioning frame. A swing arm is connected to the drive end of the servo motor. A striking block is installed at the other end of the swing arm. The inner wall of the frame is rotatably connected to a rotating rod, which passes through the inside of the conveyor belt. Three sets of equally spaced flipping rods are fixed on the outer edge of the rotating rod. Each set of flipping rods is located inside the gap between adjacent conveyor belts and is adapted to the gap. A control box is installed on the side of the frame near the drive motor, and the camera is connected to the control box for data transmission.
[0007] As a further preferred embodiment of the present invention, a pull rod is installed on the side of the damping block away from the camera.
[0008] As a further preferred embodiment of the present invention, the positioning frame is symmetrically equipped with baffles on both sides of the top, the baffles are located outside the movement trajectory of the swing arm, the longitudinal section of the baffles is L-shaped, and the inner top wall of the baffles is equipped with buffer blocks.
[0009] As a further preferred embodiment of the present invention, a positioning magnet is installed on one side of the positioning frame, and the positioning magnet is magnetically attracted to the positioning swing rod.
[0010] As a further preferred embodiment of the present invention, a control motor is installed on the side of the frame near the drive motor. The control motor is connected to the control box. The drive end of the control motor passes through the frame and is fixedly connected to the rotating rod. A through hole is provided at the bottom of the frame, and the through hole is located below the flipping rod.
[0011] As a further preferred embodiment of the present invention, stabilizing magnets are respectively installed at both ends of the flipping rod, support rods are fixed on both sides of the inner wall of the frame, brackets are fixedly installed on the inner side of the support rods, and adsorption magnets are fixedly connected to both ends of the brackets, and the adsorption magnets can magnetically cooperate with the stabilizing magnets.
[0012] As a further preferred embodiment of the present invention, receiving assemblies are provided on both sides of the frame. The receiving assemblies include waste bins installed on both sides of the frame. A sleeve is installed on the side of the frame facing the waste bin. A protective plate is installed on the side of the waste bin facing the sleeve. A locking block is fixed at the bottom of the protective plate. The locking block can be inserted into the sleeve and engage with the sleeve.
[0013] As a further preferred embodiment of the present invention, a baffle is installed on the top of the waste bin, and a handle is fixedly connected to the outer side of the waste bin away from the frame.
[0014] As a further preferred embodiment of the present invention, a guide assembly is provided on the top of the frame. The guide assembly includes a stabilizing seat fixed to both sides of the top of the frame. A screw is threadedly connected to the inside of the stabilizing seat. A guide frame is rotatably connected to the end of the screw near the conveyor belt. The guide frame is C-shaped. The lower edge of the guide frame fits against the upper edge of the frame. A rotating block is fixedly connected to the end of the screw away from the guide frame.
[0015] Furthermore, the present invention also provides a control method for a pharmaceutical packaging box detection system, characterized by comprising the following steps: S1: System initialization, adjust the position of the guide frames on both sides according to the specifications of the medicine packaging box, start the drive motor to drive the conveyor belt to run at a constant speed; S2: By rotating the damping block and camera with the lever to the preset camera detection angle, the packaging box is transported to the detection area by the conveyor belt. The camera captures the appearance image of the upper side of the packaging box and transmits it to the control box for defect identification. S3: The control box drives the motor to rotate the flipping rod through the rotating rod, flipping the packaging box to realize the detection of the appearance image of the bottom side of the packaging box. After the detection is completed, the control flipping rod is reset and positioned by the adsorption magnet and the stabilizing magnet. S4: The control box judges the appearance of the packaging box to be qualified. If it is determined to be unqualified, the servo motor is driven to drive the swing arm and the knocking block to remove the unqualified packaging box to the waste bin. S5: After the swing arm completes its movement, it is reset by the positioning magnet. The baffle and buffer block cushion the impact of the swing arm. If the qualified packaging box is determined, it continues to be conveyed, completing the full process detection and control.
[0016] Compared with the prior art, the technical effects achieved by the present invention include: 1) This invention provides a pharmaceutical packaging box inspection system and its control method. The system uses a pull rod to drive the damping block and camera to adjust the inspection angle, thereby enabling the inspection range to fully cover all sides of the packaging box, providing clear and blind-spot-free inspection and improving the accuracy of appearance defect identification. It is also equipped with an automatic flipping structure, which can inspect the top and bottom appearance images of the packaging box during a single transport. Combined with the magnetic attraction of the stabilizing magnet and the adsorption magnet, it ensures that the flipping rod is accurately reset without interfering with normal transport. A single transport process can achieve full-dimensional inspection of the top and bottom sides of the packaging box, making the inspection complete and reliable.
[0017] 2) This invention provides a drug packaging box inspection system and its control method. It uses four equally spaced conveyor belts in conjunction with a drive motor to realize the conveying process of the packaging boxes. The operation is stable and the transmission is synchronous, which can realize the continuous and stable conveying of drug packaging boxes, effectively improving the efficiency and smoothness of the inspection operation. At the same time, the guide frame is set to realize the lateral guidance of the drug packaging boxes during the conveying process. The guide width can be flexibly adjusted by screws and rotating blocks to adapt to drug packaging boxes of different sizes and specifications. The positioning is accurate and not easy to deviate or skew, which greatly improves the versatility and applicability of the device.
[0018] 3) This invention provides a pharmaceutical packaging box inspection system and its control method. The automatic rejection mechanism for defective products operates quickly and with precise positioning. The baffle and buffer block can buffer and reduce vibration and protect the components. The positioning magnet ensures that the swing arm can quickly and stably reset, making the rejection process stable and efficient. The waste bin adopts a plug-in structure, which is convenient for disassembly, cleaning, and transportation. The baffle guides the material to fall smoothly, which can quickly collect defective products, reduce manual sorting costs, and make maintenance simple and convenient. The whole system realizes fully automated operation of conveying, guiding, double-sided inspection, automatic sorting, and waste collection without a lot of manual intervention, improving the standardization of inspection and reducing human error and labor intensity. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the overall structure of a pharmaceutical packaging box detection system according to the present invention; Figure 2 This is a bottom view of the structure of a pharmaceutical packaging box detection system according to the present invention; Figure 3 This is a side view of a pharmaceutical packaging box inspection system according to the present invention. Figure 4 This invention relates to a pharmaceutical packaging box detection system. Figure 3 A schematic diagram of the structure at point A; Figure 5 This is a schematic diagram of the internal structure of a pharmaceutical packaging box detection system according to the present invention; Figure 6 This invention relates to a pharmaceutical packaging box detection system. Figure 5 A schematic diagram of the structure at point B; Figure 7 This is an exploded structural diagram of a pharmaceutical packaging box detection system according to the present invention; Figure 8 This is a schematic diagram of a control method for a pharmaceutical packaging box detection system according to the present invention.
[0020] In the diagram: 1. Frame; 2. Support leg; 3. Drive motor; 4. Conveyor belt; 5. Detection component; 51. Mounting frame; 52. Positioning frame; 53. Damping block; 54. Camera; 55. Pull rod; 56. Servo motor; 57. Stop; 58. Positioning magnet; 59. Buffer block; 510. Swing rod; 511. Striking block; 512. Rotating rod; 513. Flipping rod; 514. Stabilizing magnet; 515. Adsorption magnet; 516. Bracket; 517. Support rod; 518. Control motor; 519. Through hole; 520. Control box; 6. Receiving component; 61. Waste bin; 62. Handle; 63. Baffle; 64. Locking block; 65. Sleeve; 66. Protective plate; 7. Guide component; 71. Stabilizing seat; 72. Screw; 73. Guide frame; 74. Rotating block; 8. Drive roller. Detailed Implementation
[0021] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0022] [First Embodiment] refer to Figures 1-8 The image shows a pharmaceutical packaging box inspection system provided in the first embodiment of the present invention, including a frame 1 and support legs 2 installed at the bottom of the frame 1; The improvement of this embodiment compared to the prior art is as follows: Two symmetrically arranged drive rollers 8 are rotatably connected to the inner wall of the frame 1. Four equally spaced conveyor belts 4 are installed on the drive rollers 8, with gaps between adjacent conveyor belts 4. A drive motor 3 is installed on one side of the frame 1. The drive end of the drive motor 3 passes through the frame 1 and is connected to one of the drive rollers 8. The drive motor 3 outputs power to drive the drive roller 8 to rotate, which in turn drives the conveyor belt 4 wrapped around its outer side to move. The top of the frame 1 is equipped with a detection component 5, which includes a mounting bracket 51 fixed to the top of the frame 1. A damping block 53 is rotatably connected inside the mounting bracket 51, and a camera 54 is installed on one side of the damping block 53. The detection angle of the camera 54 can be manually adjusted through the damping block 53, which can fully cover the appearance detection range of all sides of the packaging box, with clear detection without blind spots, and improve the accuracy of appearance defect identification. A positioning frame 52 is fixedly connected to one side of the mounting frame 51. A servo motor 56 is installed inside the positioning frame 52. The drive end of the servo motor 56 is connected to a swing arm 510. A striking block 511 is installed at the other end of the swing arm 510. When a defective product is detected, the servo motor 56 can output power to drive the swing arm 510 to drive the striking block 511 to knock the defective product from the conveyor belt into the receiving component 6, thereby realizing a fast and accurate automatic rejection process. A rotating rod 512 is rotatably connected to the inner wall of the frame 1. The rotating rod 512 passes through the inside of the conveyor belt 4. Three sets of equally spaced flipping rods 513 are fixed on the outer edge of the rotating rod 512. Each set of flipping rods 513 is located inside the gap between adjacent conveyor belts 4 and is adapted to the gap. A control box 520 is installed on the side of the frame 1 near the drive motor 3. The camera 54 is connected to the control box 520 for data transmission. By equipping an automatic flipping structure, the upper side and the appearance of the packaging box can be detected during a single conveying process. Combined with the magnetic attraction of the stabilizing magnet 514 and the adsorption magnet 515, the flipping rods are accurately reset without interfering with normal conveying. A full-dimensional inspection of the upper and lower sides of the packaging box can be achieved in a single conveying process, and the inspection is complete and reliable.
[0023] like Figure 4 As shown, preferably, in this embodiment, a pull rod 55 is installed on the side of the damping block 53 away from the camera 54. The pull rod 55 is used to pull the damping block 53 to rotate, thereby adjusting the detection range of the camera 54. By equipping the camera 54 with a manually adjustable damping block 53 and pull rod 55, the detection angle and range are adjustable, which can fully cover the appearance of all sides of the packaging box, and the detection is clear and without blind spots, improving the accuracy of appearance defect identification. When the packaging box is transported to the detection area, the camera 54 collects the appearance image of the packaging box in real time and transmits the data to the control box 520 for intelligent analysis and defect judgment. The damping block 53 and the pull rod 55 can be manually adjusted to change the shooting angle and detection range of the camera 54, ensuring that the appearance detection of all sides of the packaging box is comprehensive, clear and without blind spots. On this basis, preferably, a rotation positioning device can be set between the damping block 53 and the mounting bracket 51 so that the damping block 53 can be positioned at the current position after rotating to a suitable angle position.
[0024] like Figure 4 As shown, baffles 57 are symmetrically installed on both sides of the top of the positioning frame 52. The baffles 57 are located outside the movement trajectory of the swing arm 510. The longitudinal section of the baffles 57 is L-shaped, and a buffer block 59 is installed on the inner top wall of the baffles 57. By setting the buffer block 59, the impact force of the swing arm 510 can be absorbed. The baffles 57 can achieve the limiting effect of the movement of the swing arm 510.
[0025] like Figure 4As shown, a positioning magnet 58 is installed on one side of the positioning frame 52. The positioning magnet 58 magnetically engages with the positioning swing arm 510. By setting the positioning magnet 58, the swing arm 510 can be quickly and stably reset, ensuring a stable and efficient rejection process. When the control box 520 determines that the packaging box is a defective product, it immediately issues a command to start the servo motor 56. The servo motor 56 drives the swing arm 510 to swing rapidly. The striking block 511 then accurately pushes the defective packaging box off the conveyor belt 4. The stop frame 57 limits the swing, and the buffer block 59 effectively absorbs the impact force generated by the movement of the swing arm 510, preventing damage to the components. The positioning magnet 58 accurately attracts and resets the swing arm 510 after it completes its movement.
[0026] like Figure 2 and Figure 6-7 As shown, a control motor 518 is installed on the side of the frame 1 near the drive motor 3. The control motor 518 is connected to the control box 520. The drive end of the control motor 518 passes through the frame 1 and is fixedly connected to the rotating rod 512. The output power of the control motor 518 can drive the rotating rod 512 to drive the flipping rod 513 on its outer edge to rotate synchronously. A through hole 519 is opened at the bottom of the frame 1. The through hole 519 is located below the flipping rod 513 to provide rotation space for the flipping rod 513 and ensure that the flipping rod 513 rotates stably.
[0027] like Figure 6 As shown, stabilizing magnets 514 are installed at both ends of the flipping rod 513. Support rods 517 are fixed on both sides of the inner wall of the frame 1. A bracket 516 is fixedly installed on the inner side of the support rod 517. Adsorption magnets 515 are fixedly connected to both ends of the bracket 516. The adsorption magnets 515 can magnetically cooperate with the stabilizing magnets 514 to ensure that the flipping rod 513 can be in a horizontal state when it is not working.
[0028] When it is necessary to inspect the bottom of the packaging box, the control motor 518 drives the rotating rod 512 to rotate, which drives the three sets of equally spaced flipping rods 513 to rotate synchronously. The flipping rods 513 use the gap between adjacent conveyor belts 4 to smoothly flip the packaging box. The stabilizing magnet 514 and the adsorption magnet 515 on the bracket 516 magnetically attract each other to ensure that the flipping rods 513 remain horizontal when not in operation and will not interfere with the normal transportation of the packaging box.
[0029] like Figure 7As shown, in this embodiment, receiving assemblies 6 are provided on both sides of the frame 1. Each receiving assembly 6 includes a waste bin 61 installed on both sides of the frame 1. A retaining sleeve 65 is installed on the side of the frame 1 facing the waste bin 61, and a protective plate 66 is installed on the side of the waste bin 61 facing the retaining sleeve 65. A locking block 64 is fixed to the bottom of the protective plate 66, and the locking block 64 can be inserted into the retaining sleeve 65 and engage with it to facilitate regular loading, unloading, and maintenance. A baffle 63 is installed on the top of the waste bin 61 to guide the packaging boxes pushed off the conveyor belt 4 into the waste bin 61. The waste bin 61 adopts a plug-in structure, making disassembly, cleaning, and transportation convenient. The baffle 63 guides the material smoothly, allowing for quick collection of defective products, reducing manual handling costs, and simplifying maintenance. A handle 62 is fixedly connected to the outer side of the waste bin 61 away from the frame 1 for easy loading, unloading, and maintenance operations.
[0030] The defective products pushed down fall smoothly into the waste bin 61 under the guidance of the baffle 63. The waste bin 61 is fixed by the insertion of the card block 64 and the card sleeve 65. With the help of the handle 62, it can be quickly disassembled, transported and cleaned. The qualified packaging boxes continue to be transported normally along the conveyor belt 4. Finally, the entire process of the medicine packaging boxes from conveying, guiding, front and back appearance inspection, defective product sorting and storage is completed.
[0031] like Figure 5 As shown, in this embodiment, a guide assembly 7 is provided on the top of the frame 1. The guide assembly 7 includes a stabilizing seat 71 fixed to both sides of the top of the frame 1. A screw 72 is threadedly connected to the inside of the stabilizing seat 71. A guide frame 73 is rotatably connected to the end of the screw 72 near the conveyor belt 4. The guide frame 73 is C-shaped, and the lower edge of the guide frame 73 fits against the upper edge of the frame 1 to guide the guide frame 73 to move horizontally. A rotating block 74 is fixedly connected to the end of the screw 72 away from the guide frame 73. The guide width of the guide frame 73 can be flexibly adjusted by the screw 72 and the rotating block 74 to adapt to the conveying process of medicine packaging boxes of different sizes and specifications. The positioning is accurate and not easy to deviate or tilt, which greatly improves the versatility and applicability of the device.
[0032] When the system is working, the drive motor 3 runs and drives the drive roller 8 to rotate, so that the four equally spaced conveyor belts 4 run synchronously and smoothly, realizing the continuous automated conveying of medicine packaging boxes; by rotating the rotating block 74, the screw 72 is driven to rotate, which in turn pushes the C-shaped guide frame 73 to move horizontally. The guide width and position can be flexibly adjusted according to the size of different specifications of medicine packaging boxes, ensuring that the packaging box always moves stably along the preset trajectory without deviation or tilting.
[0033] The specific working process of this embodiment includes: When the system is working, the drive motor 3 runs and drives the drive roller 8 to rotate, so that the four equally spaced conveyor belts 4 run synchronously and smoothly, realizing the continuous automated conveying of medicine packaging boxes. By rotating the rotating block 74 to drive the screw 72 to rotate, the C-shaped guide frame 73 is pushed to move horizontally. The guide width and position can be flexibly adjusted according to the size of different specifications of medicine packaging boxes to ensure that the packaging box always moves stably along the preset trajectory without deviation or tilting. When the packaging box is transported to the inspection area, the camera 54 captures the appearance image of the upper side of the packaging box in real time and transmits the data to the control box 520 for intelligent analysis and defect judgment. The rotation angle can be manually adjusted by rotating the damping block 53 through the pull rod 55, which flexibly changes the shooting angle and inspection range of the camera 54 to ensure that the appearance inspection of each side of the packaging box is comprehensive, clear and without blind spots. When it is necessary to inspect the bottom of the packaging box, the control motor 518 drives the rotating rod 512 to rotate, which drives the three sets of equally spaced flipping rods 513 to rotate synchronously. The flipping rods 513 use the gap between the conveyor belts 4 to smoothly flip the packaging box. The stabilizing magnet 514 and the adsorption magnet 515 on the bracket 516 magnetically attract each other to ensure that the flipping rods 513 remain horizontal when not working and will not interfere with the normal transport of the packaging box. When the control box 520 determines that the packaging box is a defective product, it immediately issues a command to start the servo motor 56. The servo motor 56 drives the swing arm 510 to swing rapidly. The striking block 511 then accurately pushes the defective packaging box off the conveyor belt 4. The baffle 57 limits the swing, and the buffer block 59 can effectively absorb the impact force generated by the movement of the swing arm 510 to avoid damage to the parts. The positioning magnet 58 accurately adsorbs and resets the swing arm 510 after it completes its movement. The defective product pushed off falls smoothly into the waste bin 61 under the guidance of the baffle 63. The waste bin 61 is fixed by the insertion of the card block 64 and the card sleeve 65. With the help of the handle 62, it can be quickly disassembled, transported and cleaned internally. The qualified packaging boxes continue to be transported normally along the conveyor belt 4. Finally, the entire process of the medicine packaging box from conveying, guiding, front and back appearance inspection, defective product sorting and storage is completed.
[0034] All electrical components mentioned in this article are connected to an external main controller and 220V AC mains power, and the main controller can be a conventional known device such as a computer for control.
[0035] [Second Embodiment] The second embodiment of the present invention also provides a control method for a pharmaceutical packaging box detection system, comprising the following steps: S1: System initialization, adjust the positions of the guide frames 73 on both sides according to the specifications of the medicine packaging box, start the drive motor 3 to drive the conveyor belt 4 to run at a constant speed; S2: By rotating the damping block 53 and camera 54 through the pull rod 55 to the preset detection angle of the camera 54, the packaging box is transported to the detection area by the conveyor belt 4. The camera 54 captures the appearance image of the upper side of the packaging box and transmits it to the control box 520 for defect identification. S3: The control box 520 drives the control motor 518 to rotate the flipping rod 513 through the rotating rod 512, flipping the packaging box to realize the appearance image detection of the bottom side of the packaging box. After the detection is completed, the control flipping rod 513 is reset and positioned by the adsorption magnet 515 and the stabilizing magnet 514. S4: The control box 520 judges the appearance of the packaging box to be qualified. If it is determined to be unqualified, the servo motor 56 drives the swing arm 510 and the knocking block 511 to move and remove the unqualified packaging box to the waste bin 61. S5: After the swing arm 510 completes its movement, it is reset by the positioning magnet 58. The baffle 57 and the buffer block 59 cushion the impact of the swing arm 510. If the qualified packaging box is determined, it continues to be transported, thus completing the full process detection and control.
[0036] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A pharmaceutical packaging box inspection system, comprising a frame (1) and legs (2) mounted on the bottom of the frame (1); Its features are: The inner wall of the frame (1) is rotatably connected to two symmetrically arranged drive rollers (8). Four equally spaced conveyor belts (4) are installed on the drive rollers (8). There is a gap between adjacent conveyor belts (4). A drive motor (3) is installed on one side of the frame (1). The drive end of the drive motor (3) passes through the frame (1) and is connected to one of the drive rollers (8). The top of the frame (1) is provided with a detection component (5), the detection component (5) includes a mounting bracket (51) fixed to the top of the frame (1), a damping block (53) is rotatably connected inside the mounting bracket (51), and a camera (54) is installed on one side of the damping block (53). A positioning frame (52) is fixedly connected to one side of the mounting bracket (51). A servo motor (56) is installed inside the positioning frame (52). A swing arm (510) is connected to the drive end of the servo motor (56). A striking block (511) is installed at the other end of the swing arm (510). The inner wall of the frame (1) is rotatably connected to a rotating rod (512), which passes through the inside of the conveyor belt (4). Three sets of equally spaced flipping rods (513) are fixed on the outer edge of the rotating rod (512). Each set of flipping rods (513) is located inside the gap between adjacent conveyor belts (4) and is adapted to the gap. A control box (520) is installed on the side of the frame (1) near the drive motor (3). The camera (54) is connected to the control box (520) for data transmission.
2. The pharmaceutical packaging box detection system according to claim 1, characterized in that: A pull rod (55) is installed on the side of the damping block (53) away from the camera (54).
3. The pharmaceutical packaging box detection system according to claim 1, characterized in that: The positioning frame (52) has symmetrically installed baffles (57) on both sides of its top. The baffles (57) are located outside the movement trajectory of the swing arm (510). The longitudinal section of the baffles (57) is L-shaped, and the inner top wall of the baffles (57) is equipped with buffer blocks (59).
4. The pharmaceutical packaging box detection system according to claim 1, characterized in that: A positioning magnet (58) is installed on one side of the positioning frame (52), and the positioning magnet (58) is magnetically attracted to the positioning swing rod (510).
5. The pharmaceutical packaging box detection system according to claim 1, characterized in that: A control motor (518) is installed on the side of the frame (1) near the drive motor (3). The control motor (518) is connected to the control box (520) via data. The drive end of the control motor (518) passes through the frame (1) and is fixedly connected to the rotating rod (512). A through hole (519) is provided at the bottom of the frame (1). The through hole (519) is located below the flipping rod (513).
6. The pharmaceutical packaging box detection system according to claim 1, characterized in that: The flipping rod (513) is equipped with a stabilizing magnet (514) at both ends. The inner walls of the frame (1) are fixed with support rods (517). The inner side of the support rods (517) is fixedly equipped with a bracket (516). Both ends of the bracket (516) are fixedly connected with an adsorption magnet (515). The adsorption magnet (515) can magnetically cooperate with the stabilizing magnet (514).
7. The pharmaceutical packaging box detection system according to claim 1, characterized in that: Material receiving components (6) are provided on both sides of the frame (1). The material receiving components (6) include waste bins (61) installed on both sides of the frame (1). A sleeve (65) is installed on the side of the frame (1) facing the waste bin (61). A protective plate (66) is installed on the side of the waste bin (61) facing the sleeve (65). A locking block (64) is fixed at the bottom of the protective plate (66). The locking block (64) can be inserted into the sleeve (65) and engage with the sleeve (65).
8. The pharmaceutical packaging box detection system according to claim 7, characterized in that: The waste bin (61) is equipped with a baffle (63) on its top, and a handle (62) is fixedly connected to the outer side of the waste bin (61) away from the frame (1).
9. The pharmaceutical packaging box detection system according to claim 1, characterized in that: The top of the frame (1) is provided with a guide assembly (7), which includes a stabilizing seat (71) fixed on both sides of the top of the frame (1). The stabilizing seat (71) is internally threaded with a screw (72). The end of the screw (72) near the conveyor belt (4) is rotatably connected to a guide frame (73). The guide frame (73) is C-shaped. The lower edge of the guide frame (73) is in contact with the upper edge of the frame (1). The end of the screw (72) away from the guide frame (73) is fixedly connected to a rotating block (74).
10. The control method for a pharmaceutical packaging box detection system according to claim 9, characterized in that, Includes the following steps: S1: System initialization, adjust the position of the guide frames (73) on both sides according to the specifications of the medicine packaging box, start the drive motor (3) to drive the conveyor belt (4) to run at a constant speed; S2: By rotating the damping block (53) and camera (54) with the pull rod (55) at the preset camera (54) detection angle, the packaging box is transported to the detection area by the conveyor belt (4). The camera (54) collects the appearance image of the upper side of the packaging box and transmits it to the control box (520) for defect identification. S3: The control box (520) drives the control motor (518) to rotate the flipping rod (513) through the rotating rod (512) to flip the packaging box to realize the appearance image detection of the lower side of the packaging box. After the detection is completed, the control flipping rod (513) is reset and positioned by the adsorption magnet (515) in conjunction with the stabilizing magnet (514). S4: The control box (520) makes a qualified judgment on the appearance of the packaging box. If it is determined to be unqualified, the servo motor (56) drives the swing arm (510) and the knocking block (511) to move and remove the unqualified packaging box to the waste bin (61). S5: After the swing arm (510) completes its movement, it is reset by the positioning magnet (58). The baffle (57) and the buffer block (59) cushion the swing arm (510) against the impact. If the qualified packaging box is determined, it continues to be transported, thus completing the full process detection and control.