基于改进YOLOv5的印刷电路板缺陷检测

Tong Yang, Yuguo Liu, Changxin Jin, Kai Jiang, Qiang Duan, Chen Song, Qibin Chen, Xue Li, Junzheng Ge, Rui Li
{"title":"基于改进YOLOv5的印刷电路板缺陷检测","authors":"Tong Yang, Yuguo Liu, Changxin Jin, Kai Jiang, Qiang Duan, Chen Song, Qibin Chen, Xue Li, Junzheng Ge, Rui Li","doi":"10.1109/ICICT58900.2023.00019","DOIUrl":null,"url":null,"abstract":"Aiming at the problems of low efficiency and poor real-time performance in the printed circuit board (PCB) defect detection, a PCB defect detection method based on the improved YOLOv5 is proposed, which integrates the module of multiscale detection, attention mechanism and multi-branch. A shallow detection layer is added to detect smaller defect targets and fused with features of the deep network. An optimized anchor clustering method was used to obtain a more suitable size for the dataset. The Convolutional Block Attention Module (CBAM) is introduced to reweight and assign important feature channels to learn more valuable features. The re-parameterization convolution (RepConv) module is integrated to decouple the multi-branch training model into a single-way inference model by structural re-parameterization, which improves the model’s training performance and reduces inference time. The experimental results show that the detection accuracy of the proposed algorithm reaches 98.3% on the extended dataset, which is 3.4% higher than that of the original algorithm. At the same time, a real-time detection performance of 63 FPS is achieved, which satisfies the detection requirements of the PCB.","PeriodicalId":425057,"journal":{"name":"2023 6th International Conference on Information and Computer Technologies (ICICT)","volume":"34 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Printed Circuit Board Defect Detection Based on Improved YOLOv5\",\"authors\":\"Tong Yang, Yuguo Liu, Changxin Jin, Kai Jiang, Qiang Duan, Chen Song, Qibin Chen, Xue Li, Junzheng Ge, Rui Li\",\"doi\":\"10.1109/ICICT58900.2023.00019\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Aiming at the problems of low efficiency and poor real-time performance in the printed circuit board (PCB) defect detection, a PCB defect detection method based on the improved YOLOv5 is proposed, which integrates the module of multiscale detection, attention mechanism and multi-branch. A shallow detection layer is added to detect smaller defect targets and fused with features of the deep network. An optimized anchor clustering method was used to obtain a more suitable size for the dataset. The Convolutional Block Attention Module (CBAM) is introduced to reweight and assign important feature channels to learn more valuable features. The re-parameterization convolution (RepConv) module is integrated to decouple the multi-branch training model into a single-way inference model by structural re-parameterization, which improves the model’s training performance and reduces inference time. The experimental results show that the detection accuracy of the proposed algorithm reaches 98.3% on the extended dataset, which is 3.4% higher than that of the original algorithm. At the same time, a real-time detection performance of 63 FPS is achieved, which satisfies the detection requirements of the PCB.\",\"PeriodicalId\":425057,\"journal\":{\"name\":\"2023 6th International Conference on Information and Computer Technologies (ICICT)\",\"volume\":\"34 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-03-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 6th International Conference on Information and Computer Technologies (ICICT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICICT58900.2023.00019\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 6th International Conference on Information and Computer Technologies (ICICT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICICT58900.2023.00019","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

针对印刷电路板(PCB)缺陷检测效率低、实时性差的问题,提出了一种基于改进的YOLOv5的PCB缺陷检测方法,该方法集成了多尺度检测、注意机制和多分支模块。该方法增加了一个浅层检测层来检测较小的缺陷目标,并与深层网络的特征融合。采用优化的锚点聚类方法获得更合适的数据集大小。引入卷积块注意模块(CBAM)对重要的特征通道进行重新加权和分配,以学习更多有价值的特征。集成再参数化卷积(RepConv)模块,通过结构再参数化将多分支训练模型解耦为单向推理模型,提高了模型的训练性能,缩短了推理时间。实验结果表明,该算法在扩展数据集上的检测准确率达到98.3%,比原算法提高了3.4%。同时,实现了63 FPS的实时检测性能,满足了PCB的检测要求。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Printed Circuit Board Defect Detection Based on Improved YOLOv5
Aiming at the problems of low efficiency and poor real-time performance in the printed circuit board (PCB) defect detection, a PCB defect detection method based on the improved YOLOv5 is proposed, which integrates the module of multiscale detection, attention mechanism and multi-branch. A shallow detection layer is added to detect smaller defect targets and fused with features of the deep network. An optimized anchor clustering method was used to obtain a more suitable size for the dataset. The Convolutional Block Attention Module (CBAM) is introduced to reweight and assign important feature channels to learn more valuable features. The re-parameterization convolution (RepConv) module is integrated to decouple the multi-branch training model into a single-way inference model by structural re-parameterization, which improves the model’s training performance and reduces inference time. The experimental results show that the detection accuracy of the proposed algorithm reaches 98.3% on the extended dataset, which is 3.4% higher than that of the original algorithm. At the same time, a real-time detection performance of 63 FPS is achieved, which satisfies the detection requirements of the PCB.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信