印制电路信息2024,Vol.32Issue(9) :57-62.

基于改进YOLOv8算法的PCB真假点检测

Improvement of surface defect system based on Micro-YOLOv8 algorithm

胡忠华 许海龙 王甫姜
印制电路信息2024,Vol.32Issue(9) :57-62.

基于改进YOLOv8算法的PCB真假点检测

Improvement of surface defect system based on Micro-YOLOv8 algorithm

胡忠华 1许海龙 1王甫姜1
扫码查看

作者信息

  • 1. 深南电路股份有限公司,广东深圳 518117;无锡深南电路有限公司,江苏无锡 214028
  • 折叠

摘要

针对公司现有印制电路板(PCB)-自动化光学检测(AOI)设备不易做真假点检测的弊端,提出一种基于深度学习算法库Pytorch对PCB大板表面进行真假点检测的视觉人工智能(AI)系统.运用图像处理中的形态学算法对表面内外孔边界交叉、内孔腐蚀不清、外孔渗铜等缺陷进行检测.通过增加padding、改进优化器、改变激活函数、引入注意力机制4个方案,并对近10万个成品完成数据收集与检测,该系统的平均精度由95.678%提升到98.998%,提高了 3.32个百分点,精度较高,运行稳定.

Abstract

The company's existing automated optical inspection(AOI)equipment for printed circuit board(PCB)is not easy to detect true and false points.In view of this problem,method based on the deep learning algorithm library Pytorch is proposed to detect the large PCB board,with a visual artificial intelligence(AI)system that detects true and false points on the surface.The morphological algorithm in image processing is used to detect surface defects such as intersection of inner and outer hole boundaries,unclear corrosion of inner holes,and copper seepage in outer holes.By adding padding,improving the optimizer,and changing the activation function to introduce an attention mechanism,through data collection and detection of nearly 100k finished products,the system has a detection rate of 99.998%,a false negative rate of 0,and a false detection rate of 0.002%,realizing high precision and stable operation.

关键词

真假点/缺陷检测/视觉人工智能/平均精确度(mAP)/算法

Key words

true and false points/defect detection/visual artificial intelligence(AI)/mean accurate precision(mAP)/algorithm

引用本文复制引用

出版年

2024
印制电路信息
中国印制电路行业协会

印制电路信息

影响因子:0.243
ISSN:1009-0096
参考文献量12
段落导航相关论文