Detection and positioning method for PLCC component

A positioning method and component technology, applied in image data processing, instruments, calculations, etc., can solve problems such as affecting the positioning accuracy of components, inability to accurately correspond to the index number, poor accuracy and robustness, etc., to improve accuracy and ensure reliability. , the effect of precise positioning

Active Publication Date: 2015-09-16
宁波智能装备研究院有限公司
View PDF5 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The accuracy and robustness of this algorithm are poor, and it needs to rely on prior information to realize the detection of pin information. It cannot accurately correspond to the index number of the defective pin. The pin area and the center of the pin area are obtained by segmenting the image rotation correction. Accuracy can seriously affect the positioning accuracy of components

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Detection and positioning method for PLCC component
  • Detection and positioning method for PLCC component
  • Detection and positioning method for PLCC component

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach 1

[0035] Specific embodiment one: a kind of detection and positioning method for PLCC element of the present embodiment, realize according to the following steps: Step 1: adopt optical lighting system to obtain PLCC element image;

[0036] Step 2: Selecting a fixed threshold to perform threshold segmentation on the PLCC component image obtained in step 1 to obtain a binary preprocessed image and calculate the number of non-zero pixels in the binary preprocessed image;

[0037] Step 3: Determine whether the number of non-zero pixels obtained in step 2 reaches 0.1 to 0.9 times the total number of PLCC component image pixels, if yes, continue to step 4, otherwise end the component detection process and return the corresponding error code;

[0038] Step 4: Use the maximum inter-class variance method on the PLCC component image in step 1 to obtain an adaptive binarized image, and then use a rectangular kernel with a size of 5×5 to perform morphological opening operations on the adapti...

specific Embodiment approach 2

[0053] Step 14: Fit a rectangle according to the centroid of each pin outline after sorting to realize the precise positioning of the PLCC component, output the center and rotation angle of the rectangle, which correspond to the center and rotation angle of the component respectively, and the detection and positioning process ends. Embodiment 2: The difference between this embodiment and Embodiment 1 is that step 6 filters the interference contours in the non-pin area, and the specific process is as follows:

[0054] (1) Perform the first screening according to the rectangularity of the outline: judge whether the ratio of the area of ​​the outline to the area of ​​the smallest circumscribing rectangle is greater than 0.5, if so, keep the outline and the corresponding smallest circumscribing rectangle, otherwise delete;

[0055] (2) Perform the second screening according to the aspect ratio of the smallest circumscribing rectangle: calculate the average value of the aspect ratio...

specific Embodiment approach 3

[0058] Specific implementation mode three: the difference between this implementation mode and specific implementation mode one or two is: the specific steps of step nine are as follows:

[0059] (1) The rotation angle range of the pin profile is [-90°, 90°], where -90° and 90° represent the same rotation direction, and the difference between the rotation angle of the pin profile and the first pin profile rotation angle is used The value is input as the first clustering sample. According to the similar rotation angles of the pin groups on opposite sides, the rotation angles of adjacent pin groups differ by nearly 90°, the pin outlines are divided into two categories, and the average rotation of each category is obtained. Angle and average center coordinates, determine whether the absolute value of the average rotation angle difference between category 1 and category 2 is within [85°, 95°], if so, determine whether the difference between the average center coordinates of categor...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a detection and positioning method for a PLCC component, which solves a problem that the positioning precision of a component is seriously affected by the accuracy in acquiring pin regions through carrying out rotation correction and segmentation on an image and acquiring the center of each pin region because an algorithm at present is poor in precision and robustness. The detection and positioning method comprises the steps of acquiring a component image; carrying out threshold segmentation, judging whether the number of non-zero pixel points reaches corresponding multiple of the total number of pixels or not; acquiring an adaptive binarization image; extracting all outlines; filtering interference outlines; acquiring a least square ellipse of the pin outlines; acquiring the moment of the pin outlines; dividing the pin outlines into four categories of pin outlines; corresponding the four categories of pin outlines to actual pin groups respectively; calculating an average value of center coordinates of the four pin groups; judging whether the pin outlines in the pin groups at the opposite sides are identical in number or not; acquiring a minimum enclosing rectangle of the pin outlines; and fitting a rectangle according to a mass center of each pin outline. The detection and positioning method provided by the invention is applied to the field of visual detection.

Description

technical field [0001] The invention relates to a detection and positioning method for PLCC components. Background technique [0002] The application of machine vision inspection in surface mount technology (SMT) has become more and more mature. During the placement process, the precise positioning and integrity inspection of components restrict the efficiency of the entire SMT production line. [0003] PLCC is a flat package with four-side pins. Its pins are led out from the four sides of the component in a T-shape. When receiving positive light, the geometric features of the component body and its pins in the image are relatively complete. The goal of the detection algorithm is to extract the rectangle that can describe the pose of the component and the small rectangle of each pin information from the component image. The current existing algorithm is mainly to correct the rotation of the component and then divide it into each pin area. After obtaining the center of the p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/00
CPCG06T7/0004G06T7/10G06T7/70G06T2207/10052G06T2207/30148
Inventor 高会军李茹白立飞孙昊杨宪强周纪强张天琦张延琪
Owner 宁波智能装备研究院有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products