Detection device for detecting defects of packaging box

The automated inspection device, which combines a camera and a conveying mechanism, solves the problems of low efficiency and high defective rate in traditional packaging box inspection, and achieves efficient and comprehensive packaging box inspection and lid stability inspection.

CN120741503AInactive Publication Date: 2025-10-03SHANDONG JUNXIN PACKAGING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511023603.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-24
Publication Date
2025-10-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional packaging box inspection has low efficiency, high defective rate, and reliance on manual inspection, which results in a heavy workload for staff.

Method used

A camera combination and conveying mechanism are used to perform multi-faceted inspection of packaging boxes. Combined with a limit mechanism and a pulling mechanism, automated inspection is achieved to reduce manual intervention.

Benefits of technology

It improves the inspection efficiency, reduces the defective rate and the workload of staff, and can also detect the multiple sides of the packaging box and the stability of the lid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120741503A_ABST
    Figure CN120741503A_ABST
Patent Text Reader

Abstract

The invention discloses a detection device for detecting defects of a packaging box, which comprises a bracket, a detection mechanism, a detection mechanism, a detection mechanism and a detection mechanism, the detection mechanism comprises a first camera, a second camera and a third camera, wherein the first camera and the second camera are installed on the support, and the third camera is installed on the installation frame. A conveying mechanism; the conveying mechanism can convey the packaging box without shielding the bottom of the packaging box, and multiple faces of the packaging box can be detected through the detection mechanism. A limiting mechanism; the limiting mechanism can guide and convey undetected packaging boxes, and when the detection mechanism detects the packaging boxes, the limiting mechanism does not guide and limit the packaging boxes. The detection device can be matched with an assembly line to comprehensively detect the outer side of the packaging box, the labor amount of workers and the defective rate of the packaging box are reduced, the working efficiency is improved, and meanwhile the connection strength between a packaging box cover and the packaging box can be detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of packaging box defect detection, and in particular to a detection device for packaging box defect detection. Background Art

[0002] Many items in daily life need to be packaged in boxes. There are many types and styles of boxes, most of which are cubes or rectangular blocks. Before leaving the factory, they usually need to go through multiple processes. Among them, the inspection process requires the outer surface of the box to be inspected to ensure that the boxes entering the market are qualified products.

[0003] At present, when traditional workshops inspect packaging boxes, most of them are transported to predetermined workstations through assembly lines, and then manually observed and inspected by workers at the workstations. Due to the different work efficiency of the workers on the assembly line, packaging boxes are piled up, which reduces the efficiency of packaging box inspection and also increases the defective rate of packaging box inspection. For this reason, the present application proposes a detection device for packaging box defect detection. Summary of the Invention

[0004] The purpose of the present invention is to solve the above technical problems and to propose a detection device for packaging box defect detection.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] A detection device for detecting defects in a packaging box, comprising a bracket on which a mounting frame is mounted:

[0007] Detection mechanism; the detection mechanism includes a first camera mounted on the bracket, a second camera and a third camera mounted on the mounting frame;

[0008] Conveying mechanism; the conveying mechanism can convey the packaging box without blocking the bottom of the packaging box, and the detection mechanism can detect multiple sides of the packaging box;

[0009] The limiting mechanism can guide and convey the undetected packaging boxes, and when the detection mechanism detects the packaging boxes, the limiting mechanism does not guide and limit the packaging boxes.

[0010] Preferably, the conveying mechanism includes a first shaft, a second shaft and a third shaft rotatably mounted on a bracket, two transmission wheels are mounted on the first shaft and the third shaft, the two opposite transmission wheels are connected by a first conveyor belt, the second shaft and the third shaft are fixed with transmission rollers, the two transmission rollers are connected by a second conveyor belt, and the second conveyor belt is located between the two first conveyor belts.

[0011] Preferably, the detection mechanism includes two first cameras, a second camera and five third cameras that can move up and down installed on a bracket, the two first cameras are arranged opposite to the second conveyor belt, and the second camera is arranged opposite to the first conveyor belt.

[0012] Preferably, an electric push rod is installed on the mounting frame, the output end of the electric push rod is fixedly connected to a cross plate, four mounting blocks are fixed to the end of the cross plate, and the five third cameras are respectively fixed on the four mounting blocks and the bottom of the cross plate.

[0013] Preferably, the limiting mechanism includes two first piston cylinders and two second piston cylinders installed on the mounting frame, a first movable piston is slidably connected in the first piston cylinder, a driving rod is fixedly connected to the first movable piston, the driving rod passes through the mounting frame and is slidably connected thereto, a limiting plate is fixedly connected to the driving rod, a second movable piston is slidably connected in the second piston cylinder, a vertical rod is fixed to the bottom of the second movable piston, the vertical rod passes through the mounting frame and is slidably connected thereto, the vertical rod is fixedly connected to the upper end of the cross plate, and the adjacent first and second piston cylinders are connected through a delivery pipe.

[0014] Preferably, it also includes a pulling mechanism for detecting the tightness of the packaging box; the pulling mechanism includes two sleeves fixed to the bottom of the cross plate, a first annular magnetic block is fixedly connected to the sleeve, a second annular magnetic block is slidably connected to the sleeve, a vertical tube fixedly connected to the second annular magnetic block passes through the second annular magnetic block, a rubber suction cup is fixedly connected to the vertical tube, and a plug that cooperates with the sleeve is fixedly connected to the bottom of the cross plate.

[0015] Preferably, the magnetic poles of the opposing surfaces of the first annular magnetic block and the second annular magnetic block are opposite, and when the first annular magnetic block and the second annular magnetic block abut against each other, the plug is located in the vertical tube.

[0016] Preferably, a limiting ring is fixedly connected to the inner wall of the bottom of the sleeve, and the inner diameter of the limiting ring is smaller than the outer diameter of the second annular magnetic block.

[0017] Compared with the prior art, the present invention has the following beneficial effects:

[0018] 1. The present invention can cooperate with the assembly line to conduct comprehensive inspection of the packaging box, reducing the workload of the staff and the defective rate of the packaging box, and improving work efficiency.

[0019] 2. The present invention guides the packaging box through the limiting plate, so that the movement of the packaging box is more stable and less likely to deviate, which is beneficial to the subsequent detection of the packaging box.

[0020] 3. Five cameras can capture images of the top and four sides of the packaging box to detect surface defects of the packaging box. The two first cameras can detect both sides of the bottom of the packaging box. The captured images are transmitted to the processor, and the images of the bottom of the first camera and the second camera can be integrated and compared. In this way, the complete image of the bottom of the packaging box can be understood, and the image of the bottom of the packaging box can be captured for detection.

[0021] 4. Through the cooperation of the first conveyor belt and the second conveyor belt, the packaging box can be transported stably without completely blocking the bottom of the packaging box, so that the bottom of the packaging box can be inspected.

[0022] 5. The downward movement of the cross plate drives the vertical rod and the second movable piston to move downward. The downward movement of the second movable piston can suck the hydraulic oil in the first piston cylinder into the second piston cylinder through the delivery pipe. The hydraulic oil in the first piston cylinder is reduced, causing the first movable piston to move. The movement of the first movable piston drives the limit plate to move. In this way, the limit plate no longer limits the packaging box and will not interfere with the downward movement of the cross plate and the mounting block.

[0023] 6. When the cross plate moves up, it will drive the sleeve, the first annular magnetic block, the second annular magnetic block and the vertical tube to move up, and then drive the rubber suction cup and the packaging box to move up. If the packaging box lid is stable and not easy to be pulled open, as the cross plate moves up and the pulling force is greater than the attraction of the first annular magnetic block and the second annular magnetic block, the first annular magnetic block and the second annular magnetic block will separate, and air will enter the rubber suction cup through the vertical tube. At this time, the rubber suction cup is separated from the packaging box, indicating that the packaging box lid is stable after installation and is not easy to separate from the packaging box.

[0024] 7. When used again, the rubber suction cup will abut against the packaging box, driving the second annular magnetic block and the vertical tube to move upward. Finally, the first annular magnetic block and the second annular magnetic block will abut against each other and reset, and the rubber suction cup will be adsorbed on the packaging box again. Repeat the above steps without manual reset of the rubber suction cup.

[0025] In summary, the present invention can cooperate with the assembly line to perform comprehensive inspection on the outside of the packaging box, reducing the workload of the staff and the defective rate of the packaging box and improving work efficiency. At the same time, the connection strength between the packaging box cover and the packaging box can be tested. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a schematic structural diagram of a detection device for detecting packaging box defects proposed by the present invention;

[0027] Figure 2 This is a rear view of a detection device for detecting packaging box defects proposed by the present invention;

[0028] Figure 3This is a structural schematic diagram of a conveying mechanism in a detection device for packaging box defect detection proposed by the present invention;

[0029] Figure 4 This is a structural schematic diagram of the first camera and the second camera in a detection device for packaging box defect detection proposed by the present invention;

[0030] Figure 5 This is a schematic structural diagram of a mounting frame in a detection device for detecting packaging box defects proposed by the present invention;

[0031] Figure 6 This is a disassembled diagram of the first piston cylinder and the second piston cylinder in a detection device for packaging box defect detection proposed by the present invention;

[0032] Figure 7 This is a schematic structural diagram of a cross plate in a detection device for detecting packaging box defects proposed by the present invention;

[0033] Figure 8 This is a schematic structural diagram of a pulling mechanism in a detection device for packaging box defect detection proposed by the present invention.

[0034] In the figure: 1 bracket, 2 mounting frame, 3 first shaft, 4 second shaft, 5 limiting plate, 6 first piston cylinder, 7 conveying pipe, 8 electric push rod, 9 rubber suction cup, 10 first conveyor belt, 11 transmission wheel, 12 motor, 13 transmission roller, 14 second conveyor belt, 15 third shaft, 16 first camera, 17 second camera, 18 driving rod, 19 mounting block, 20 second piston cylinder, 21 vertical rod, 22 third camera, 23 sleeve, 24 first movable piston, 25 second movable piston, 26 cross plate, 27 limiting ring, 28 plug, 29 first annular magnetic block, 30 second annular magnetic block, 31 vertical pipe. DETAILED DESCRIPTION

[0035] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0036] Reference Figures 1-8 A detection device for detecting defects in packaging boxes includes a bracket 1 on which a mounting frame 2 is mounted:

[0037] Detection mechanism; the detection mechanism includes a first camera 16, a second camera 17 mounted on the bracket 1, and a third camera 22 on the mounting frame 2;

[0038] The detection mechanism is further explained: the detection mechanism includes two first cameras 16, a second camera 17 and five third cameras 22 that can move up and down installed on the bracket 1, the two first cameras 16 are arranged opposite to the second conveyor belt 14, and the second camera 17 is arranged opposite to the first conveyor belt 10, wherein the first camera 16 is used to capture images on both sides of the bottom of the packaging box for detecting defects on the surface of the packaging box, and the second camera 17 is used to capture images of the middle bottom of the packaging box for detecting defects on the surface of the packaging box.

[0039] An electric push rod 8 is installed on the mounting frame 2, and the output end of the electric push rod 8 is fixedly connected to a cross plate 26. Four mounting blocks 19 are fixed to the end of the cross plate 26. Five third cameras 22 are respectively fixed on the four mounting blocks 19 and the bottom of the cross plate 26. The five third cameras 22 can capture images of the upper end and four sides of the packaging box for detecting defects on the surface of the packaging box.

[0040] Conveying mechanism: The conveying mechanism can convey the packaging box without blocking the bottom of the packaging box, and the detection mechanism can detect multiple sides of the packaging box;

[0041] The conveying mechanism is further explained: the conveying mechanism includes a first shaft 3, a second shaft 4 and a third shaft 15 rotatably mounted on the bracket 1, two transmission wheels 11 are installed on the first shaft 3 and the third shaft 15, and the two opposite transmission wheels 11 are connected by a first conveyor belt 10, and transmission rollers 13 are fixed on the second shaft 4 and the third shaft 15, and the two transmission rollers 13 are connected by a second conveyor belt 14, and the second conveyor belt 14 is located between the two first conveyor belts 10; wherein, a motor 12 is installed on the bracket 1, and the output end of the motor 12 is fixedly connected to the second shaft 4, so that the second motor 12 can drive the second shaft 4 to rotate.

[0042] Among them, the maximum distance between the two first conveyor belts 10 is greater than the length of the packaging box; the width of the first conveyor belt 10 is smaller than the length of the packaging box, but when the first conveyor belt 10 and the second conveyor belt 14 convey the packaging box, the parts that offset each other during transportation will not overlap.

[0043] Limiting mechanism: The limiting mechanism can guide and convey the undetected packaging boxes. When the detection mechanism detects the packaging boxes, the limiting mechanism does not guide and limit the packaging boxes.

[0044] Among them, the limiting mechanism is further explained: the limiting mechanism includes two first piston cylinders 6 and two second piston cylinders 20 installed on the mounting frame 2, and the first movable piston 24 is slidably connected in the first piston cylinder 6, and the first movable piston 24 is fixedly connected to the driving rod 18, which passes through the mounting frame 2 and is slidably connected thereto, and the driving rod 18 is fixedly connected to the limiting plate 5, and the second movable piston 25 is slidably connected in the second piston cylinder 20, and a vertical rod 21 is fixed to the bottom of the second movable piston 25, and the vertical rod 21 passes through the mounting frame 2 and is slidably connected thereto, and the vertical rod 21 is fixedly connected to the upper end of the cross plate 26, and the adjacent first piston cylinder 6 and second piston cylinder 20 are connected by a delivery pipe 7, wherein the medium transported in the first piston cylinder 6, the second piston cylinder 20 and the delivery pipe 7 is hydraulic oil.

[0045] The invention also includes a pulling mechanism for detecting the tightness of the packaging box; the pulling mechanism includes two sleeves 23 fixed to the bottom of the cross plate 26, a first annular magnet 29 is fixedly connected to the sleeve 23, and a second annular magnet 30 is slidably connected to the sleeve 23. The magnetic poles of the first annular magnet 29 and the second annular magnet 30 are opposite to each other, and when the first annular magnet 29 and the second annular magnet 30 abut against each other, the plug 28 is located in the vertical tube 31;

[0046] A vertical tube 31 is provided in the second annular magnet 30 and is fixedly connected thereto. A rubber suction cup 9 is fixedly connected to the vertical tube 31. A plug 28 that cooperates with the sleeve 23 is fixedly connected to the bottom of the cross plate 26. A limit ring 27 is fixedly connected to the inner wall of the bottom of the sleeve 23. The inner diameter of the limit ring 27 is smaller than the outer diameter of the second annular magnet 30 to prevent the second annular magnet 30 from detaching from the limit ring 27.

[0047] In addition, the present invention also includes a processor (central processing unit), which can be connected to the cameras and can also control the operation of the motor 12 and the electric push rod 8.

[0048] When the present invention is used, the device is installed together with the assembly line conveying equipment to ensure that the packaging box can be conveyed to the device;

[0049] The motor 12 is started, and the motor 12 drives the second shaft 4 to rotate. The rotation of the second shaft 4 drives the transmission roller 13 to rotate. The transmission roller 13 rotates the second conveyor belt 14 to move, thereby driving the transmission roller 13 and the third shaft 15 to rotate. The rotation of the third shaft 15 drives the transmission wheel 11 to rotate. The rotation of the transmission wheel 11 drives the first conveyor belt 10 to move. The first shaft 3 can be rotated through the transmission of the first conveyor belt 10.

[0050] The packaging box is transported to the first conveyor belt 10 through the assembly line, and the electric push rod 8 is at this time Figure 1 、 Figure 2When the packaging box is conveyed to the two first conveyor belts 10, the packaging box can be abutted against the limiting plate 5 at this time, and a polyfluoro film can be fixed on the inner wall of the limiting plate 5, so as to reduce the friction between the limiting plate 5 and the packaging box, making the packaging box conveying smoother and more stable; the limiting plate 5 guides the packaging box, making the movement of the packaging box more stable and less likely to deviate, which is conducive to the subsequent inspection of the packaging box;

[0051] The motor 12 is a stepper motor. When the packaging box is conveyed to the bottom of the cross plate 26, the third camera 22 installed at the bottom of the cross plate 26 captures an image of the packaging box, and the image can be transmitted to the processor so that the packaging box can be directly aligned with the third camera 22 at the bottom of the cross plate 26. The electric push rod 8 drives the cross plate 26 downward, and the downward movement of the cross plate 26 drives the mounting block 19 and the five third cameras 22 downward. Finally, the electric push rod 8 stops working, and the five cameras 22 can capture images of the upper end and four sides of the packaging box to detect surface defects of the packaging box.

[0052] At this time, the packaging box on the first conveyor belt 10 is in a stationary state, and the packaging box is facing the second camera 17. The second camera 17 can detect the middle of the bottom of the packaging box; the packaging box on the second conveyor belt 14 is facing the two first cameras 16. The two first cameras 16 can detect both sides of the bottom of the packaging box. The captured images are transmitted to the processor, and the images of the bottom of the first camera 16 and the second camera 17 can be integrated and compared. In this way, a complete image of the bottom of the packaging box can be obtained, and the captured image of the bottom of the packaging box can be detected;

[0053] The output end of the electric push rod 8 moves downward, driving the cross plate 26 to move downward, and the cross plate 26 moves downward, driving the vertical rod 21 and the second movable piston 25 to move downward. The second movable piston 25 moves downward, and the hydraulic oil in the first piston cylinder 6 can be sucked into the second piston cylinder 20 through the delivery pipe 7. The hydraulic oil in the first piston cylinder 6 is reduced, causing the first movable piston 24 to move. The movement of the first movable piston 24 drives the limit plate 5 to move, so that the limit plate 5 no longer limits the packaging box and will not interfere with the downward movement of the cross plate 26 and the mounting block 19.

[0054] When the output end of the electric push rod 8 moves upward, the limit plate 5 and the like are reset, so that the packaging box can be guided again. At this time, the motor 12 works to rotate the first conveyor belt 10 and the second conveyor belt 14 again, so that the packaging box can be transported;

[0055] As described above, the packaging box can be fully inspected in conjunction with the assembly line, reducing the workload of the staff and the defective rate of the packaging box, and improving work efficiency;

[0056] Among them, an alarm light can be installed on the bracket 1. When it is detected that the packaging box is unqualified, such as there is a dent or missing printing, the alarm light will work to remind the staff to deal with the unqualified products.

[0057] In addition, a pulling mechanism for detecting the tightness of the packaging box is also provided. When the packaging box is loaded with products and the lid is closed (for packaging boxes with smooth surfaces, not corrugated paper boxes), when the cross plate 26 moves down, the rubber suction cup 9 is against the packaging box, and the air inside can be squeezed out. At this time, the rubber suction cup 9 is sucked on the packaging box; when the cross plate 26 moves up, it will drive the sleeve 23, the first annular magnetic block 29, the second annular magnetic block 30 and the vertical pipe 31 to move up, and then drive the rubber suction cup 9 and the packaging box to move up. If the packaging box lid is stable and not easy to be pulled open, as the cross plate 26 moves up and the pulling force is greater than the attraction force of the first annular magnetic block 29 and the second annular magnetic block 30, the first annular magnetic block 29 and the second annular magnetic block 30 are separated at this time, and the air enters the rubber suction cup 9 through the vertical pipe 31. At this time, the rubber suction cup 9 is separated from the packaging box, indicating that the packaging box lid has good stability after installation and is not easy to separate from the packaging box.

[0058] After passing the test, when it is used again, the rubber suction cup 9 abuts against the packaging box, which drives the second annular magnetic block 30 and the vertical tube 31 to move upward. Finally, the first annular magnetic block 29 and the second annular magnetic block 30 abut against each other and reset, and the rubber suction cup 9 is adsorbed on the packaging box again. The above action is repeated without manual reset of the rubber suction cup 9.

[0059] If the lid leaves the packaging box, the third camera 22 on the side can detect the movement of the lid and transmit a signal to the processor, which controls the alarm light to remind the staff to handle the packaging box;

[0060] Due to different requirements of packaging boxes, the sleeve 23 is installed at the bottom of the cross plate 26 by bolts. You can choose whether to install it according to actual needs (different types of packaging boxes) and choose the installed model, such as the magnetic size between the first annular magnet 29 and the second annular magnet 30;

[0061] As described above, a comprehensive inspection of multiple sides of the packaging box is completed, and the stability of the packaging box lid can also be inspected.

[0062] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with the technical field, within the technical scope disclosed by the present invention, who makes equivalent replacements or changes based on the technical solution and inventive concept of the present invention, should be covered by the scope of protection of the present invention.

Claims

1. A detection device for detecting defects in packaging boxes, comprising a bracket (1), a mounting frame (2) being mounted on the bracket (1), and characterized in that: Detection mechanism; the detection mechanism comprises a first camera (16), a second camera (17) mounted on the bracket (1), and a third camera (22) mounted on the mounting frame (2); Conveying mechanism; the conveying mechanism can convey the packaging box without blocking the bottom of the packaging box, and the detection mechanism can detect multiple sides of the packaging box; The limiting mechanism can guide and convey the undetected packaging boxes, and when the detection mechanism detects the packaging boxes, the limiting mechanism does not guide and limit the packaging boxes.

2. The detection device for packaging box defect detection according to claim 1, characterized in that: The conveying mechanism comprises a first shaft (3), a second shaft (4) and a third shaft (15) rotatably mounted on a bracket (1); two transmission wheels (11) are mounted on each of the first shaft (3) and the third shaft (15); the two opposite transmission wheels (11) are connected via a first conveyor belt (10); transmission rollers (13) are fixed on each of the second shaft (4) and the third shaft (15); the two transmission rollers (13) are connected via a second conveyor belt (14); and the second conveyor belt (14) is located between the two first conveyor belts (10).

3. The detection device for packaging box defect detection according to claim 2, characterized in that: The detection mechanism comprises two first cameras (16), a second camera (17) and five third cameras (22) that are movable up and down, which are mounted on a bracket (1); the two first cameras (16) are arranged opposite to the second conveyor belt (14); and the second camera (17) is arranged opposite to the first conveyor belt (10).

4. The detection device for packaging box defect detection according to claim 3, characterized in that: An electric push rod (8) is installed on the mounting frame (2), the output end of the electric push rod (8) is fixedly connected to a cross plate (26), four mounting blocks (19) are fixed to the end of the cross plate (26), and the five third cameras (22) are respectively fixed on the four mounting blocks (19) and the bottom of the cross plate (26).

5. The detection device for packaging box defect detection according to claim 4, characterized in that: The limiting mechanism comprises two first piston cylinders (6) and two second piston cylinders (20) mounted on a mounting frame (2), wherein a first movable piston (24) is slidably connected in the first piston cylinder (6), a driving rod (18) is fixedly connected to the first movable piston (24), the driving rod (18) passes through the mounting frame (2) and is slidably connected thereto, a limiting plate (5) is fixedly connected to the driving rod (18), a second movable piston (25) is slidably connected in the second piston cylinder (20), a vertical rod (21) is fixed to the bottom of the second movable piston (25), the vertical rod (21) passes through the mounting frame (2) and is slidably connected thereto, the vertical rod (21) is fixedly connected to the upper end of a cross plate (26), and the adjacent first piston cylinder (6) and second piston cylinder (20) are connected via a delivery pipe (7).

6. The detection device for packaging box defect detection according to claim 1, characterized in that: The invention also includes a pulling mechanism for detecting the tightness of the packaging box; the pulling mechanism includes two sleeves (23) fixed at the bottom of the cross plate (26), a first annular magnetic block (29) is fixedly connected in the sleeve (23), a second annular magnetic block (30) is slidably connected in the sleeve (23), a vertical tube (31) fixedly connected to the second annular magnetic block (30) is provided through the second annular magnetic block (30), a rubber suction cup (9) is fixedly connected in the vertical tube (31), and a plug (28) that cooperates with the sleeve (23) is fixedly connected to the bottom of the cross plate (26).

7. The detection device for packaging box defect detection according to claim 6, characterized in that: The magnetic poles of the opposing surfaces of the first annular magnetic block (29) and the second annular magnetic block (30) are opposite, and when the first annular magnetic block (29) and the second annular magnetic block (30) are in contact with each other, the plug (28) is located in the vertical pipe (31).

8. The detection device for packaging box defect detection according to claim 6, characterized in that: A limiting ring (27) is fixedly connected to the inner wall of the bottom of the sleeve (23), and the inner diameter of the limiting ring (27) is smaller than the outer diameter of the second annular magnetic block (30).