Defect detection of printed circuit board based on improved YOLOv5

Bing He, Jinxuan Zhuo, Xusheng Zhuo, Siyuan Peng, Tong-lu Li, Hong Wang
{"title":"Defect detection of printed circuit board based on improved YOLOv5","authors":"Bing He, Jinxuan Zhuo, Xusheng Zhuo, Siyuan Peng, Tong-lu Li, Hong Wang","doi":"10.1109/AICIT55386.2022.9930318","DOIUrl":null,"url":null,"abstract":"Aiming at the problems of low efficiency, poor universality and high false detection rate in the existing PCB defect detection methods, a PCB defect detection algorithm P-YOLOv5 based on improved YOLOv5 is proposed. Firstly, the convolution block attention module is embedded in the backbone network to improve the feature extraction ability of the model; Secondly, a larger detection scale is added to the model network to expand the detection range of the model and improve the detection effect of PCB small target defects; Finally, the EIoU loss function is used to replace the GIoU loss function as the bounding box regression loss function to improve the detection accuracy of the model. The model training part uses the PCB-DATASET dataset published by Beijing University. The results show that the mean average precision of P-YOLOv5 algorithm can reach 99.03%, which is 2.52% higher than the original YOLOv5 algorithm. At the same time, the detection speed reaches 47.62 FPS, which can meet the requirements of PCB real-time detection.","PeriodicalId":231070,"journal":{"name":"2022 International Conference on Artificial Intelligence and Computer Information Technology (AICIT)","volume":"28 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-09-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on Artificial Intelligence and Computer Information Technology (AICIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/AICIT55386.2022.9930318","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Aiming at the problems of low efficiency, poor universality and high false detection rate in the existing PCB defect detection methods, a PCB defect detection algorithm P-YOLOv5 based on improved YOLOv5 is proposed. Firstly, the convolution block attention module is embedded in the backbone network to improve the feature extraction ability of the model; Secondly, a larger detection scale is added to the model network to expand the detection range of the model and improve the detection effect of PCB small target defects; Finally, the EIoU loss function is used to replace the GIoU loss function as the bounding box regression loss function to improve the detection accuracy of the model. The model training part uses the PCB-DATASET dataset published by Beijing University. The results show that the mean average precision of P-YOLOv5 algorithm can reach 99.03%, which is 2.52% higher than the original YOLOv5 algorithm. At the same time, the detection speed reaches 47.62 FPS, which can meet the requirements of PCB real-time detection.
基于改进YOLOv5的印刷电路板缺陷检测
针对现有PCB缺陷检测方法效率低、通用性差、误检率高等问题,提出了一种基于改进YOLOv5的PCB缺陷检测算法P-YOLOv5。首先,在骨干网中嵌入卷积块关注模块,提高模型的特征提取能力;其次,在模型网络中加入更大的检测尺度,扩大模型的检测范围,提高PCB小目标缺陷的检测效果;最后用EIoU损失函数代替GIoU损失函数作为边界盒回归损失函数,提高模型的检测精度。模型训练部分使用北京大学发布的PCB-DATASET数据集。结果表明,P-YOLOv5算法的平均精度可达99.03%,比原YOLOv5算法提高2.52%。同时,检测速度达到47.62 FPS,可以满足PCB实时检测的要求。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信