Switch shell defect detection system based on machine vision
By using machine vision technology in the switch detection system and using positioning devices and ring light sources for six-sided detection, the problems of missed detection and wrong detection in manual visual inspection are solved, and the stability and efficiency of detection are improved.
Patent Information
- Application Number
- CN202420209507.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-29
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2034-01-29
AI Technical Summary
In the existing technology, manual visual inspection has problems of missed detection, wrong detection and unstable inspection quality during the appearance inspection of switches.
A switch casing defect detection system based on machine vision is used, including a workbench, positioning device and camera device. Six-sided inspection of the inspected product is achieved through four push plates and annular light sources. CCD cameras are used to collect images and perform computer analysis.
It replaces manual visual inspection, improves the stability and efficiency of inspection, avoids missed inspections and wrong inspections, and ensures that the inspected product completes six-sided inspection under constant lighting conditions.
Smart Images

Figure CN221707323U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of switches, and in particular to a switch casing defect detection system based on machine vision. Background Art
[0002] Switch means "switch" and is a network device used for forwarding electrical (optical) signals. It can provide an exclusive electrical signal path for any two network nodes connected to the switch. The most common switch is the Ethernet switch. Other common switches include telephone voice switches, fiber optic switches, etc.
[0003] During the assembly and production of high-end intelligent routing and switch products, it is necessary to ensure that the product appearance structural parts and related labels are free of defects, which requires the product appearance to be inspected before assembly. Currently, manual visual inspection is used to inspect product appearance, which has problems such as missed inspections, wrong inspections, and unstable inspection quality. Utility Model Content
[0004] The utility model aims to develop a switch casing defect detection system based on machine vision which replaces manual visual inspection and improves inspection quality.
[0005] The utility model is achieved through the following technical solutions:
[0006] A switch casing defect detection system based on machine vision, comprising:
[0007] Workbench;
[0008] The positioning device is arranged on the workbench and comprises:
[0009] Four push plates are slidably arranged on the workbench;
[0010] The camera device is arranged on the workbench and comprises:
[0011] A placement board is provided on top of the workbench;
[0012] The upper light source is suspended above the placement board;
[0013] The upper CCD camera is suspended above the placement plate;
[0014] The four push plates are parallel to each other and two of them are perpendicular to the other two, and the sliding direction of the push plates is perpendicular to them.
[0015] Optionally, a slide groove perpendicular to the push plate is respectively provided on the workbenches at both ends of the bottom of the push plate, and the push plate is slidably connected to the slide groove.
[0016] Optionally, the placement plate is rectangular, the four sides of the placement plate are respectively parallel to the four push plates, and the edges of the placement plate are all located inside the slide groove.
[0017] Optionally, a slider is provided at the bottom of the push plate and is in sliding contact with the upper side wall of the slide groove. A double-row guide wheel is rotatably provided at the bottom of the slider and is in rolling contact with the lower side wall of the slide groove. A micromotor is provided in the slider to drive the double-row guide wheel to rotate.
[0018] Optionally, the length of the double-row guide wheels in the length direction of the slide groove is longer than the width of the slide groove.
[0019] Optionally, the camera device also includes a lower light source arranged in a workbench below the placement plate, a lower CCD camera is arranged in the workbench inside the lower light source, and the placement plate is transparent.
[0020] Optionally, the upper light source and the lower light source are both ring-shaped, and the upper CCD camera and the lower CCD camera are respectively arranged on the inner side of the upper light source and the lower light source.
[0021] Optionally, transparent pads are respectively provided on the inner walls of the four push plates, front light source, rear light source, left light source and right light source are respectively provided on the push plates inside the four pads, and front CCD cameras, rear CCD cameras, left CCD cameras and right CCD cameras are respectively connected in the middle of the four push plates.
[0022] Optionally, the upper light source, lower light source, front light source, rear light source, left light source and right light source are LEDs or lasers.
[0023] The beneficial effects of the utility model are:
[0024] The utility model replaces manual visual inspection, avoids missed inspection and wrong inspection, and has greatly improved stability compared with manual visual inspection. Machine vision inspection is performed only after the inspected product is positioned. The lighting conditions of the inspected product are constant, avoiding the influence of lighting changes caused by the mispositioning of the inspected product and the inspection result. The inspected product completes six-side inspection at one time, and the inspection efficiency is high. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 This is the structural diagram of the utility model;
[0027] Figure 2 This is a top view of the workbench;
[0028] Figure 3 It is the structural diagram of the slideway and the slider. DETAILED DESCRIPTION
[0029] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0030] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation to the present invention.
[0031] The embodiments of the present utility model are described in detail below with reference to the accompanying drawings.
[0032] like Figures 1 to 3 As shown, the utility model discloses a switch casing defect detection system based on machine vision, including a workbench 1, on which the inspected product is placed, and a positioning device and a camera device are provided on the workbench 1. After the positioning device positions the inspected product, the camera device transmits the appearance of the inspected product to an image acquisition card through an electrical signal, and the image acquisition card transmits the electrical signal to a computer, and the computer communicates with the control circuit through a serial port.
[0033] The positioning device includes four push plates 2 slidably arranged on the surface of the workbench 1. The positional relationship between the four push plates 2 is similar to the four sides of a rectangle. The four push plates 2 are parallel to each other and two of them are perpendicular to the other two. The push plates 2 are arranged vertically. A slide groove 12 perpendicular to the push plates 2 is respectively arranged on the workbench 1 at both ends of the bottom of the push plates 2. The slide grooves 12 below the ends of two adjacent push plates 2 intersect vertically. A slider 18 is arranged at the bottom of the push plates 2 to slide in contact with the upper side wall of the slide groove 12. A double-row guide wheel 19 is rotatably arranged at the bottom of the slider 18. The length of the double-row guide wheel 19 in the length direction of the slide groove 12 is longer than the width of the slide groove 12, so that the double-row guide wheel 19 can smoothly pass through the vertical intersection of the slide groove 12. In the double-row guide wheel 19, multiple guide wheels on both sides are respectively in rolling contact with the lower part of the two side walls of the slide groove 12. A micro motor driving the double-row guide wheel 19 to rotate is arranged in the slider 18. The double-row guide wheel 19 rotates and moves along the slide groove 12 and drives the slider 18 to slide in the slide groove 12 , so that the push plate 2 slides along the slide groove 12 .
[0034] The inspected product is generally in the shape of a rectangular parallelepiped, and is placed on the workbench 1, ensuring that the side of the inspected product is parallel to the push plate 2 on the opposite side or the angle between the two is small. The two push plates 2 that are parallel to each other slide close to each other until the spacing between the two push plates 2 matches the width of the inspected product in this direction, and then the two push plates 2 slide away from each other to reset, and the other two push plates 2 that are parallel to each other slide close to each other until the spacing between the two push plates 2 matches the width of the inspected product in this direction, completing the positioning of the inspected product, and the two push plates 2 move away from each other to reset.
[0035] The camera device includes a placement plate 11 arranged on the surface of the workbench 1. The inspected product is placed on the placement plate 11. The placement plate 11 is made of transparent material and is rectangular. The four sides of the placement plate 11 are parallel to the four push plates 2 respectively, and the edges of the placement plate 11 are all on the inner side of the slide groove 12.
[0036] An annular lower light source 5 is provided in the workbench 1 below the placement plate 11, a lower CCD camera 6 is provided in the workbench 1 inside the lower light source 5, an annular upper light source 3 is suspended above the placement plate 11, and an upper CCD camera 4 is suspended above the workbench 1 inside the upper light source 3.
[0037] Pads 13 are provided on the inner side walls of the four push plates 2. When the push plates 2 push the inspected product, the pads 13 are in contact with the inspected product. The pads 13 are made of transparent material. Front light sources 16, rear light sources 17, left light sources 14 and right light sources 15 are provided on the push plates 2 inside the four pads 13. Front CCD cameras 9, rear CCD cameras 10, left CCD cameras 7 and right CCD cameras 8 are connected to the middle of the four push plates 2.
[0038] Each electronic component in the system is electrically connected to the control circuit. When the inspected product is subjected to appearance inspection, the inspected product is placed on the placement plate 11, and the positioning device is operated. The two push plates 2 in the length direction of the inspected product slide close to each other to position the inspected product for the first time, and then the two push plates 2 slide away and reset. The two push plates 2 in the width direction of the inspected product slide close to each other to position the inspected product for the second time, and then the two push plates 2 slide away and reset. At this time, the inspected product is positioned. Even if the inspected product is placed with a certain inclination in the length direction or the width direction, the two push plates 2 in the length direction or the width direction can slide to the corresponding position to adjust the position of the inspected product and achieve positioning.
[0039] The upper light source 3, the lower light source 5, the front light source 16, the rear light source 17, the left light source 14, and the right light source 15 illuminate the six sides of the inspected product respectively, and all use high-stability, low-noise light sources, such as LED or laser, to reduce the fluctuation of the light source itself. The upper CCD camera 4, the lower CCD camera 6, the front CCD camera 9, the rear CCD camera 10, the left CCD camera 7, and the right CCD camera 8 respectively collect images of the six sides of the inspected product and transmit the electrical signals to the image acquisition card, which transmits the electrical signals to the computer for analysis to obtain the test results.
[0040] The utility model replaces manual visual inspection, avoids missed inspection and wrong inspection, and has greatly improved stability compared with manual visual inspection. Machine vision inspection is performed only after the inspected product is positioned. The lighting conditions of the inspected product are constant, avoiding the influence of lighting changes caused by the mispositioning of the inspected product and the inspection result. The inspected product completes six-side inspection at one time, and the inspection efficiency is high.
[0041] The above embodiments are only preferred embodiments of the present utility model and are not limitations on the technical solutions of the present utility model. Any technical solution that can be implemented on the basis of the above embodiments without creative work should be deemed to fall within the scope of protection of the patent of the present utility model.
Claims
1. A switch casing defect detection system based on machine vision, characterized in that: include: Workbench; The positioning device is arranged on the workbench and comprises: Four push plates are slidably arranged on the workbench; The camera device is arranged on the workbench and comprises: A placement board is provided on top of the workbench; The upper light source is suspended above the placement board; The upper CCD camera is suspended above the placement plate; The four push plates are parallel to each other and two of them are perpendicular to the other two, and the sliding direction of the push plates is perpendicular to them.
2. The switch casing defect detection system based on machine vision according to claim 1 is characterized in that: A slide groove perpendicular to the push plate is respectively provided on the workbenches at both ends of the bottom of the push plate, and the push plate is slidably connected to the slide groove.
3. The switch casing defect detection system based on machine vision according to claim 2 is characterized in that: The placement plate is rectangular, the four sides of the placement plate are respectively parallel to the four push plates, and the edges of the placement plate are all located inside the slide groove.
4. The switch casing defect detection system based on machine vision according to claim 2 is characterized in that: A slider is provided at the bottom of the push plate and is in sliding contact with the upper side wall of the slide groove. A double-row guide wheel is rotatably provided at the bottom of the slider and is in rolling contact with the lower side wall of the slide groove. A micro motor is provided in the slider to drive the double-row guide wheel to rotate.
5. The switch casing defect detection system based on machine vision according to claim 4 is characterized in that: The length of the double-row guide wheels in the length direction of the slide groove is longer than the width of the slide groove.
6. The switch housing defect detection system based on machine vision according to claim 1, characterized in that: The camera device also includes a lower light source arranged in a workbench below the placement plate, a lower CCD camera is arranged in the workbench inside the lower light source, and the placement plate is transparent.
7. The switch housing defect detection system based on machine vision according to claim 6, characterized in that: The upper light source and the lower light source are both ring-shaped, and the upper CCD camera and the lower CCD camera are respectively arranged inside the upper light source and the lower light source.
8. The switch casing defect detection system based on machine vision according to claim 7 is characterized in that: Transparent pads are respectively provided on the inner walls of the four push plates, and front light sources, rear light sources, left light sources and right light sources are respectively provided on the push plates inside the four pads. Front CCD cameras, rear CCD cameras, left CCD cameras and right CCD cameras are respectively connected in the middle of the four push plates.
9. The switch casing defect detection system based on machine vision according to claim 8, characterized in that: The upper light source, the lower light source, the front light source, the rear light source, the left light source and the right light source are LEDs or lasers.
