首页 | 官方网站   微博 | 高级检索  
     

基于改进YOLOv5算法的PCB裸板缺陷检测
引用本文:许思昂,李艺杰,梁桥康,杨彬.基于改进YOLOv5算法的PCB裸板缺陷检测[J].包装工程,2022,43(15):33-41.
作者姓名:许思昂  李艺杰  梁桥康  杨彬
作者单位:湖南大学 电气与信息工程学院,长沙 410082;电子制造业智能机器人技术湖南省重点实验室,长沙 410082;机器人视觉感知与控制技术国家工程实验室,长沙 410082
摘    要:目的 将基于深度学习的YOLOv5算法应用于PCB裸板的缺陷检测上,以提高检测的准确率。方法 通过增加特征融合通路,将C2、C3、C4层直接与P2、P3、P4层相连,从而减小信息的损耗;引入更浅层的C2、F2、P2特征图以增加图像的细节信息;并且使用注意力机制SE_block,大幅提高原算法的准确率。结果 改进后的网络的平均精度由91.54%提高至97.36%,提高了5.82%,并且对于各类缺陷,算法的检测精度都能保持在90%以上,满足工业的需求。结论 文中的算法提高了检测精度,体现了浅层信息在小目标检测上的作用,验证了多信息融合通路的优势,彰显了注意力机制的优越性,相比于原算法具有一定的优势。

关 键 词:PCB裸板  YOLOv5  缺陷检测  深度学习  目标检测

Bare PCB Defect Detection Based on Improved YOLOv5 Algorithm
XU Si-ang,LI Yi-jie,LIANG Qiao-kang,YANG Bin.Bare PCB Defect Detection Based on Improved YOLOv5 Algorithm[J].Packaging Engineering,2022,43(15):33-41.
Authors:XU Si-ang  LI Yi-jie  LIANG Qiao-kang  YANG Bin
Affiliation:College of Electrical and Information Engineering, Hunan University, Changsha 410082, China;Hunan KeyLaboratory of Intelligent Robot Technology in Electronic Manufacturing, Changsha 410082, China;National Engineering Laboratory for Robot Vision Perception and Control Technologies, Changsha 410082, China
Abstract:The work aims to apply YOLOv5 algorithm to defect detection of bare PCB, so as to improve detection accuracy. Feature fusion path was added to directly connect layers C2, C3 and C4 with layers P2, P3 and P4, so as to reduce the loss of information. Shallower C2, F2 and P2 feature images were introduced to increase the details of the image. Moreover, the attention mechanism SE_block was used to improve the accuracy of the original algorithm. The average accuracy of the improved network increased from 91.54% to 97.36%, with a growth of 5.82%. For all kinds of defects, the algorithm could keep a detection accuracy above 90%, which met the needs of industry. The proposed algorithm improves the detection accuracy, reflects the role of shallow information in small target detection, verifies the advantages of multi-information fusion pathway, and highlights the advantages of attention mechanism. Compared with the original algorithm, the proposed algorithm has certain advantages.
Keywords:bare PCB  YOLOv5  defect detection  deep learning  object detection
点击此处可从《包装工程》浏览原始摘要信息
点击此处可从《包装工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号