计算机科学与应用

Vol.6 No.10 (October 2016)

一种用于电子元件检测的圆定位算法
A Circle Positioning Algorithm for Electronic Element Detection

 

作者:

杨志涵 , 邵秀丽 , 袁兆争 , 张华东 :南开大学计算机与控制工程学院,天津

 

关键词:

圆定位PCB光学检测边沿检测灰度梯度Circle Location PCB Optical Detection Edge Detection Gray Gradient

 

摘要:

目前基于机器视觉、图像处理的PCB电路检测系统首要实现的就是对元件的准确定位。本文针对PCB板上的圆形电子元件进行机器视觉定位,提出了先使用Canny边缘检测结合Sobel变换的粗定位检测方法,再根据检测目标圆的边缘上的点,以及各点的灰度梯度,得到过边缘点的直线集合,继而使用正方形滑动窗口,实现圆心的定位,最后再使用同心圆环的方法,找到圆形边缘的半径,从而精确定位圆形电子元件的位置。经实际使用,本文算法满足电子企业工业生产中实时性和精确性的要求。

At present, the image processing of the PCB circuit detection system based on machine vision is mainly to achieve the accurate positioning of components. According to machine vision positioning of the circular electronic components on the PCB board, we put forward the method: 1) to use Canny edge detection combined with Sobel transform coarse positioning detection method, 2) according to the detection target circle on the edge, and the gray gradient, to get the line set across edge points, 3) and then to use a sliding window to implement positioning of the center of the circle, 4) then to use the method of concentric rings, find the rounded edge radius, which can accurately locate the position of the circular electronic components. In practical application, the algorithm meets the requirements of real-time and accuracy in the industrial production of electronic enterprises.

文章引用:

杨志涵 , 邵秀丽 , 袁兆争 , 张华东 (2016) 一种用于电子元件检测的圆定位算法。 计算机科学与应用, 6, 607-616. doi: 10.12677/CSA.2016.610075

 

参考文献

分享
Top