
第21卷第10期 2013年10月
文章编号1004-924X(2013)10-2679-09
光学精密工程
Optics and Precision Engineering
Vol. 21No.10
Oct. 2013
采用Gerber文档的印刷电路板表观检测
张静1*,叶玉堂1,谢煜",刘霖1,常永鑫1,2
(1.电子科技大学光电信息学院,四川成都6100542.中国科学院光电技术研究所,四川成都610209)检测精度不高。本文从PCB表观检测的实际需求出发,提出了新的检测系统。该检测系统引入解析Gerber文档对PCB 光电图像进行分层处理,利用形态学的方法自动修正解析后的Gerber文档,建立精确的标准板,根据主分量分析提取彩色图像频带丰富的信息,依据检测缺陷的尺寸大小设置各层模板及检测阔值,实现局部针对性检测,提高检测精度。实验结果表明,与传统的基于颜色分区域方法相比,基于Gerber的方法不仅提高了检测精度,且较大幅度地提高了自动
对速度的要求。
关键调:印耐电路板(PCB);自动外观检测;缺陷检测;Gerber文格;灰度形态学
中图分类号:TN41;TP391
文献标识码:A
doi;10.3788/OPE.20132110.2679
AppearancedetectionforprintedcircuitboardbyGerberfile
ZHANG Jing",YE Yu-tang',XIE Yu',LIU Lin', CHANG Yong-xin'-2(l.Schoolof Opto-electronicInformation,UniuersityofElectronic
Scienceand Technology of China,Chengdu610054,China:
2.Instituteof Optics andElectronics,ChineseAcademy ofSciences,Chengdu610209,China)
*Correspondingauthor,E-mail:zhangjing619@gmail.com
Abstract: When the surface defect of a printed-circuit-board (PCB) is detected by a traditional meth-od, it usually has lower detection accuracy for that the traditional method of standard board is built by properties of PCB image itself. According to the accurate requirements of PCB detection, this paper proposes a new detection system. In this system, the layers of PCB photoelectric image were separa ted by using Gerber file that have been analyzed, then the analyzed Gerber file was corrected by mor phology. And a accurate standard board was built. Furthermore, the frequency information in the col-or image was extracted based on the principal component analysis, and the detection threshold was set according to different information on different layers, By which, the local detection of PCB was com pleted and detection accuracy was improved. As compared with the traditional method by color strati-fication, this method improves detection accuracy and detection efficiency of the system, It achieves the detecting probability of 95. 1% for micro defects and the detecting time of 1. 09 s for a 25 cmX22 cm PCB. The detection efficiency of automated optical inspection system can satisfy the requirement of
收稿日期:2013-04-03;修订日期:2013-05-07.
基金项目:国家自然科学基金资助项目(No,61205004);粤港关键领域重点突破项目(No.W0511159)