Positioning system and method for electronic component processing
A technology of electronic components and positioning systems, applied in image data processing, instruments, calculations, etc., can solve the problems of drilling positioning deviation, small drilling aperture, error, etc., and achieve the effect of realizing accurate positioning and reducing deviation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] The embodiment of the positioning system for processing electronic components of the present invention is basically as attached figure 1 shown, including:
[0059] The acquisition module is used to acquire the image of the PCB board, and the four corners of the PCB board are preset with marking holes;
[0060] The contour module is used to perform edge detection on the collected image to obtain a contour image, and mark the intersections of four boundaries of the contour edge of the contour image to obtain four marker points;
[0061] The coordinate module is used for detection in an area including four marked points, detects four marked holes and obtains their respective center positions, and takes the center position of one of the four marked holes as the origin, and simultaneously establishes the first a coordinate system and a second coordinate system;
[0062] The extraction module is used to extract the coordinates of the center points of the four marked holes i...
Embodiment 2
[0086] The only difference from Embodiment 1 is that before the edge detection is performed on the collected image to obtain the outline image, the collected image is processed so that the image can clearly show the outline of the PCB board. Specifically, the image processing tool of MATLAB software is called, and the collected image is processed by using image grayscale, image binarization, image segmentation, and image extraction functions, so that the image can clearly show the PCB board. The purpose of the outline.
Embodiment 3
[0088] The only difference from Embodiment 2 is that the PCB board is placed on the work station by the staff, and the work station is a rectangular wire frame drawn on the work table, and the PCB is placed in the rectangular wire frame. Perform edge detection on the collected image to obtain a contour image, and mark the intersection of the four boundaries of the contour edge of the contour image to obtain four marker points A, B, C, D, where A, C are relative, B, D is opposite, connect A and C to get straight line AC, connect B and D to get straight line BD, straight line AC and straight line BD intersect at point O. Then judge whether ∠AOB is equal to 127 degrees, that is, 2×arctan2. If ∠AOB is equal to 127 degrees, it means that the PCB board is not wrong, and then determine the offset angle of the PCB board according to the preset line. The preset line can be any side of the rectangular frame. Move the PCB board and adjust the offset angle so that Each side of the PCB bo...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
