Twist needle automatic detection and sorting equipment based on vision
Through the vision-based automatic detection equipment of Twist needles, the consistency problem of manual detection of Twist needles is solved, high-precision automatic detection and sorting are realized, and data-driven quality management is supported.
Patent Information
- Application Number
- CN202411957267.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-29
- Publication Date
- 2025-07-01
AI Technical Summary
The manual detection of the mohua needle is poor, and it is prone to missed and missed detection, and it is impossible to realize detailed data recording and analysis.
Vision-based automatic detection equipment is adopted, including a needle loading mechanism, a CCD camera detection mechanism and a blanking sorting mechanism, and the size and coaxiality of the needle are detected through the CCD camera, and combined with the turntable mechanism to realize automatic loading and unloading and sorting.
It improves the accuracy and consistency of detection, realizes detailed image and numerical detection results, and supports data-driven quality management.
Smart Images

Figure CN120228055A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of twist pin detection, and particularly relates to a vision-based automatic detection and sorting device for twist pins. Background Art
[0002] Twist pins are assembly parts in electrical connector contacts, and there are strict national standards for electrical connector contacts in military standards. However, before use, twist pins only undergo simple visual inspection by humans to manually determine whether the contacts are skewed or bent. But during the inspection, it mainly relies on the human eye and is easily affected by factors such as the external environment and individual differences. The accuracy and results of the inspection cannot be guaranteed, and it does not have repeatability and traceability. Manual inspection cannot ensure the efficiency and accuracy of the inspection, and it is prone to missed inspections and misinspections, and the reliability of the inspection is not high. In addition, in many inspection scenarios, it is not only required to inspect whether the electrical connector can still be used, but also to accurately obtain the inspection data for analysis and processing. Obviously, the manual inspection method does not have this ability. Since the inspection of twist pins is a large-batch and time-consuming task, manual inspection usually cannot continuously and stably complete this highly repetitive task.
[0003] Currently, vision inspection technology is in the forefront of research. The invention conducts performance inspection on twist pins based on vision inspection technology, and cooperates with industrial control to realize automatic loading, unloading and sorting functions to solve many problems in manual inspection. Summary of the Invention
[0004] (1) Technical Problems to be Solved
[0005] The technical problem to be solved by the invention is how to provide a vision-based automatic detection and sorting device for twist pins to solve the problem of poor consistency in manual inspection of twist pins.
[0006] (2) Technical Solutions
[0007] To solve the above technical problems, the invention proposes a vision-based automatic detection and sorting device for twist pins, including: a twist pin loading mechanism, a CCD camera detection mechanism, a blanking and sorting mechanism, and a turntable mechanism;
[0008] The twist pin loading mechanism includes: a vibrating bowl, a runner, a handling cylinder, and a gripper;
[0009] Twist pins are placed in the vibrating bowl, which drives the twist pins to gradually rise along the runner. During the rising process, the twist pins with incorrect orientations are blown away by air jets from the cylinder, so that the twist pins are loaded in the same direction. The twist pins reach the gripper through the runner, the twist pins are detected by an optical fiber, and the twist pins are loaded onto the turntable mechanism by the gripper;
[0010] The turntable mechanism includes: a turntable, a positioning cylinder, and a positioning gripper;
[0011] After the twist drill needles are loaded, the needle bodies enter the positioning jaws, are fixed by the positioning jaws, and are rotated from the loading position to the detection position and then to the sorting position by the turntable.
[0012] The CCD camera detection mechanism is arranged beside the turntable, and the size and coaxiality geometric tolerance of the twist drill needles are detected by the CCD camera detection mechanism.
[0013] Among them, there are 3 groups of the CCD camera detection mechanisms, which are arranged in a triangular structure, and the central angle between adjacent two groups of CCD camera detection mechanisms is set to 120°;
[0014] The entire circumference of the twist drill needles is detected by 3 groups of CCD detection mechanisms, preventing the twist drill needles from being qualified only in a certain direction in terms of size and shape.
[0015] Among them, the vibrating bowl is driven by a polarized motor arranged below it to drive the twist drill needles to gradually rise along the flow channel.
[0016] Among them, each group of the CCD camera detection mechanisms includes: a camera, a light source unit, and a light source constant current source;
[0017] The light source constant current source is set as a light source control unit, the input end communicates with the upper computer, and the light intensity, turning on and off of the light source are controlled through the control instructions sent by the upper computer;
[0018] The camera is set as an image acquisition unit, the image of the object to be detected is transmitted to the industrial control computer through an image acquisition card, and the industrial control computer processes and recognizes the image according to the transmitted image, and finally obtains the detection target.
[0019] (III) Beneficial Effects
[0020] The present invention provides an automatic detection and sorting device for twist drill needles based on vision, which upgrades the original manual subjective detection method to a digital detection method of the device, avoids errors caused by human factors, and improves the coordination ability of the product production process and the detection process. It provides feeding and sorting functions, integrates the detection process and the sorting process, and facilitates the sorting of materials after the detection of twist drill needles. The detection of the electrical connector is expanded from the original "qualified / unqualified" detection result to a more detailed image record of the key process and a numerical detection result, and the data collection process of the detection results of batch products can be completed. It can cooperate with the data analysis result of the information system to cooperate with the production process of twist drill needles and promote the management mode driven by data for quality. Description of the Drawings
[0021] Figure 1 It is a schematic diagram of the twist drill needle feeding mechanism of the present invention;
[0022] Figure 2It is the layout plan of the overall structure;
[0023] Figure 3 It is the process flow chart of the equipment;
[0024] Figure 4 It is the schematic diagram of the feeding mechanism for detecting twist drills;
[0025] Figure 5 It is the schematic diagram of the turntable mechanism;
[0026] Figure 6 It is the schematic diagram of the CCD camera detection mechanism;
[0027] Figure 7 It is the schematic diagram of the flow chart of the vision detection software. Specific embodiments
[0028] To make the objectives, contents and advantages of the present invention clearer, the following further describes in detail the specific embodiments of the present invention with reference to the drawings and embodiments.
[0029] This embodiment provides a vision-based automatic detection and sorting device for twist drills, including: a twist drill feeding mechanism, a CCD camera detection mechanism, a blanking and sorting mechanism, and a turntable mechanism;
[0030] The twist drill feeding mechanism includes: a vibrating bowl, a runner, a transfer cylinder, and a gripper;
[0031] The twist drills are placed in the vibrating bowl, which drives the twist drills to gradually rise along the runner. During the rising process, the twist drills with incorrect orientations are blown away by air jets from the cylinder, so that the feeding of the twist drills is in the same direction. The twist drills reach the gripper through the runner. The twist drills are detected by an optical fiber, and the twist drills are fed onto the turntable mechanism by the gripper;
[0032] The turntable mechanism includes: a turntable, a positioning cylinder, and a positioning gripper;
[0033] After the twist drills are fed, the needle bodies enter the positioning gripper and are fixed by the positioning gripper. The turntable rotates from the loading position to the detection position and then to the sorting position;
[0034] The CCD camera detection mechanism is arranged beside the turntable, and the dimensions and coaxiality geometric tolerances of the twist drills are detected by the CCD camera detection mechanism.
[0035] Among them, there are 3 groups of the CCD camera detection mechanisms, which are arranged in a triangular structure, and the central angle between adjacent two groups of CCD camera detection mechanisms is set to 120°;
[0036] The entire circumference of the twist drills is detected by the 3 groups of CCD detection mechanisms to prevent the twist drills from being qualified only in a certain direction in terms of size and shape.
[0037] Among them, the vibrating disk is driven by a polarized motor arranged below it to drive the twist needle to gradually rise along the flow channel.
[0038] Each of the CCD camera detection mechanisms includes: a camera, a light source unit, and a light source constant current source;
[0039] The light source constant current source is set as a light source control unit, with its input end communicating with the upper computer. Through the control instructions sent by the upper computer, it controls the illumination intensity, turning on and off of the light source;
[0040] The camera is set as an image acquisition unit. It transmits the image of the object to be detected to the industrial control computer through an image acquisition card. The industrial control computer processes and recognizes the image based on the transmitted image, and finally obtains the detection target.
[0041] The output end of the light source constant current source is connected to each light source, and the input end is connected to the industrial control computer through USB. When the industrial control computer issues an instruction to start detection, the light source is turned on and the light source is adjusted according to the set parameters.
[0042] The camera is connected to the industrial control computer through TCP / IP. The industrial control computer first sets and allocates the IP addresses of each camera and solidifies the results into the corresponding configuration files for use when starting up next time. The industrial control computer first sets the shooting parameters of the camera, adjusts the corresponding exposure time, shooting focal length, etc., and then performs image acquisition and transmission work according to the set frequency of the industrial control computer.
[0043] After the industrial control computer obtains the image, it first preprocesses the image to exclude the interference of relevant noises. Gradually perform color extraction and grayscale histogram equalization to avoid image imbalance caused by overexposure and insufficient light. Next, perform median filtering to eliminate salt-and-pepper noise, high-pass filtering to sharpen the corresponding features, extract edge features according to different operators, and perform dilation and erosion for region segmentation. After image processing, a clear feature image is obtained.
[0044] After obtaining the feature image, extract the typical features in the image and perform corresponding geometric measurements on the features. According to the number of pixel points corresponding to the corresponding feature states, convert them into actual physical dimensions, finally determine whether they meet the process requirements, give corresponding displays, and send the determination results to the information network.
[0045] The above are only the preferred embodiments of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the technical principles of the present invention, several improvements and deformations can be made, and these improvements and deformations should also be regarded as the protection scope of the present invention.
Claims
1. A visual-based automatic detection and sorting device for twist needles, characterized in that: include: Twist needle feeding mechanism, CCD camera detection mechanism, blanking sorting mechanism, turntable mechanism; The twist needle feeding mechanism comprises: a vibration plate, a flow channel, a transport cylinder and a clamping claw; The twist needles are placed in the vibrating plate, which drives the twist needles to gradually rise along the flow channel. During the rising process, the cylinder jet blows away the twist needles with incorrect directions, so that the twist needles are fed in the same direction. The twist needles pass through the flow channel to the clamping claws, and the twist needles are detected by optical fibers, and are fed to the turntable mechanism through the clamping claws. The turntable mechanism comprises: a turntable, a positioning cylinder, and a positioning clamp; After the twist needle is loaded, the needle body enters the positioning clamp, is fixed by the positioning clamp, and is rotated from the loading position to the detection position and then to the sorting position through the turntable; The CCD camera detection mechanism is arranged beside the turntable, and the size, coaxiality, shape and position tolerance of the twist needle are detected by the CCD camera detection mechanism.
2. The visual-based automatic detection and sorting device for twist needles according to claim 1, characterized in that: The CCD camera detection mechanism is provided with 3 groups, which are arranged in a triangular structure, and the center angle of two adjacent groups of CCD camera detection mechanisms is set to 120°; The entire circumference of the twist needle is inspected through three sets of CCD inspection mechanisms to prevent the twist needle from being qualified in size and shape only in one direction.
3. The visual-based automatic detection and sorting device for twist needles according to claim 2, characterized in that: The vibration plate is driven by a polarization motor arranged below the vibration plate to drive the twist needles to gradually rise along the flow channel.
4. The visual-based automatic detection and sorting device for twist needles according to claim 3, characterized in that: Each group of the CCD camera detection mechanism comprises: a camera, a light source unit, and a light source steady current source; The light source steady current source is set as a light source control unit, the output end communicates with the host computer, and the light intensity, opening and closing of the light source are controlled by the control instructions sent by the host computer; The camera is set as an image acquisition unit, and the image of the target to be detected is transmitted to the host computer through the image acquisition card. The industrial computer processes and recognizes the image based on the transmitted image, and finally obtains the detection target.