PCB自动光学检测中Gerber文件的解析研究  被引量:4

Research of parsing Gerber file in PCB automatic optical inspection

在线阅读下载全文

作  者:姚蛟[1] 叶玉堂[1] 张静[1] 谢煜[1] 周恋玲[1] 

机构地区:[1]电子科技大学光电信息学院,四川成都610054

出  处:《计算机工程与设计》2012年第6期2481-2485,共5页Computer Engineering and Design

基  金:粤港关键领域重点突破基金项目(091683)

摘  要:为了在PCB自动光学检测中使用Gerber文件建立标准图像,提出了一种解析Gerber文件的方法。该方法在对Gerber文件的数据结构进行语法分析的基础上,采用正则表达式匹配,进行自上而下分析从而提取出所需信息,用Map内嵌链表的数据结构存储数据;然后计算出Gerber文件所描述的图像并通过图形设备接口绘制;最后将各层图像进行腐蚀膨胀等处理并合成适用于PCB自动光学检测建标的图像。实验结果表明,该方法能快速准确地解析Gerber文件。A method for parsing and graphing Gerber file is proposed to set standard in Automatic Optical Inspection(AOI) of PCB.Based on analyzing the holistic configuration and data register format of Gerber file,the required information is extracted by the top-down approach with regular expression and data is saved by a Map embedded list,then the graphic described by Gerber file is calculated and plotted by GDI+(graphics device interface),after treat with those images is gotten by Gerber files using methods of corrosion,dilation and so on,the standard image which is used for PCB Automatic Optical Inspection is composed finally.The experimental results show that the method works accurately and quickly.

关 键 词:印制电路板 自动光学检测 Gerber文件 图形设备接口 正则表达式 

分 类 号:TP391.41[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象