YOLO-DFW:基于YOLOv8改进的印刷电路板表面缺陷检测方法

IF 3.4 2区 工程技术 Q1 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Yuhang Zhou , Xuemei Xu , Wenyuan Fan , ZhaoHui Jiang
{"title":"YOLO-DFW:基于YOLOv8改进的印刷电路板表面缺陷检测方法","authors":"Yuhang Zhou ,&nbsp;Xuemei Xu ,&nbsp;Wenyuan Fan ,&nbsp;ZhaoHui Jiang","doi":"10.1016/j.displa.2025.103201","DOIUrl":null,"url":null,"abstract":"<div><div>High-precision defect detection on printed circuit board (PCB) plays a crucial role in ensuring the productivity and safety of electronic products. However, traditional defect detection methods are difficult to meet the demand for detecting tiny targets and difficult samples in complex environments. To address this challenge, we proposed an improved detection algorithm, YOLO-DFW, based on YOLOv8 network. In our study, the DynamicConv (DC) improves the C2f module, which enhances the model’s ability to express different features through adaptive weighted convolution. We propose the Feature Focused Pyramid Network (FFPN) by reconstructing the original neck structure to enhance the model’s multi-scale feature fusion capability through cross-scale feature fusion, and the Context Enhancement Module (CEM) is introduced into FFPN to expand the model’s receptive field. What’s more, a new loss function named WMN-loss is proposed to make the model pay more attention to the difficult-to-classify and small bounding boxes by using a non-uniform loss allocation strategy. Through training and testing on the PCB surface defect dataset, our method achieves improvements of 2.2%, 2.4%, 2.6%, and 4.2% in precision, recall, mAP<sub>50</sub> (mean average precision), and mAP<sub>50:95</sub>, respectively, compared with the baseline model. Extensive experiments demonstrate the superiority of our method for PCB surface defect detection. Furthermore, comparison experiments on DeepPCB and NUE-DET datasets verify the feasibility and generalization of the YOLO-DFW detection algorithm.</div></div>","PeriodicalId":50570,"journal":{"name":"Displays","volume":"91 ","pages":"Article 103201"},"PeriodicalIF":3.4000,"publicationDate":"2025-08-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"YOLO-DFW: An improved detection method for printed circuit board surface defects based on YOLOv8\",\"authors\":\"Yuhang Zhou ,&nbsp;Xuemei Xu ,&nbsp;Wenyuan Fan ,&nbsp;ZhaoHui Jiang\",\"doi\":\"10.1016/j.displa.2025.103201\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>High-precision defect detection on printed circuit board (PCB) plays a crucial role in ensuring the productivity and safety of electronic products. However, traditional defect detection methods are difficult to meet the demand for detecting tiny targets and difficult samples in complex environments. To address this challenge, we proposed an improved detection algorithm, YOLO-DFW, based on YOLOv8 network. In our study, the DynamicConv (DC) improves the C2f module, which enhances the model’s ability to express different features through adaptive weighted convolution. We propose the Feature Focused Pyramid Network (FFPN) by reconstructing the original neck structure to enhance the model’s multi-scale feature fusion capability through cross-scale feature fusion, and the Context Enhancement Module (CEM) is introduced into FFPN to expand the model’s receptive field. What’s more, a new loss function named WMN-loss is proposed to make the model pay more attention to the difficult-to-classify and small bounding boxes by using a non-uniform loss allocation strategy. Through training and testing on the PCB surface defect dataset, our method achieves improvements of 2.2%, 2.4%, 2.6%, and 4.2% in precision, recall, mAP<sub>50</sub> (mean average precision), and mAP<sub>50:95</sub>, respectively, compared with the baseline model. Extensive experiments demonstrate the superiority of our method for PCB surface defect detection. Furthermore, comparison experiments on DeepPCB and NUE-DET datasets verify the feasibility and generalization of the YOLO-DFW detection algorithm.</div></div>\",\"PeriodicalId\":50570,\"journal\":{\"name\":\"Displays\",\"volume\":\"91 \",\"pages\":\"Article 103201\"},\"PeriodicalIF\":3.4000,\"publicationDate\":\"2025-08-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Displays\",\"FirstCategoryId\":\"5\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0141938225002380\",\"RegionNum\":2,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Displays","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0141938225002380","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

摘要

印制电路板的高精度缺陷检测对于保证电子产品的生产效率和安全性起着至关重要的作用。然而,传统的缺陷检测方法难以满足复杂环境下微小目标和困难样品的检测需求。为了解决这一挑战,我们提出了一种基于YOLOv8网络的改进检测算法YOLO-DFW。在我们的研究中,DynamicConv (DC)改进了C2f模块,通过自适应加权卷积增强了模型表达不同特征的能力。通过重构原始颈部结构,提出特征聚焦金字塔网络(FFPN),通过跨尺度特征融合增强模型的多尺度特征融合能力,并在FFPN中引入上下文增强模块(CEM)扩展模型的接受野。此外,提出了一种新的损失函数WMN-loss,采用非均匀损失分配策略,使模型更加关注难以分类的小边界盒。通过对PCB表面缺陷数据集的训练和测试,与基线模型相比,我们的方法在精度、召回率、平均平均精度(mAP50)和mAP50:95上分别提高了2.2%、2.4%、2.6%和4.2%。大量的实验证明了该方法在PCB表面缺陷检测中的优越性。在DeepPCB和NUE-DET数据集上的对比实验验证了YOLO-DFW检测算法的可行性和泛化性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
YOLO-DFW: An improved detection method for printed circuit board surface defects based on YOLOv8
High-precision defect detection on printed circuit board (PCB) plays a crucial role in ensuring the productivity and safety of electronic products. However, traditional defect detection methods are difficult to meet the demand for detecting tiny targets and difficult samples in complex environments. To address this challenge, we proposed an improved detection algorithm, YOLO-DFW, based on YOLOv8 network. In our study, the DynamicConv (DC) improves the C2f module, which enhances the model’s ability to express different features through adaptive weighted convolution. We propose the Feature Focused Pyramid Network (FFPN) by reconstructing the original neck structure to enhance the model’s multi-scale feature fusion capability through cross-scale feature fusion, and the Context Enhancement Module (CEM) is introduced into FFPN to expand the model’s receptive field. What’s more, a new loss function named WMN-loss is proposed to make the model pay more attention to the difficult-to-classify and small bounding boxes by using a non-uniform loss allocation strategy. Through training and testing on the PCB surface defect dataset, our method achieves improvements of 2.2%, 2.4%, 2.6%, and 4.2% in precision, recall, mAP50 (mean average precision), and mAP50:95, respectively, compared with the baseline model. Extensive experiments demonstrate the superiority of our method for PCB surface defect detection. Furthermore, comparison experiments on DeepPCB and NUE-DET datasets verify the feasibility and generalization of the YOLO-DFW detection algorithm.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Displays
Displays 工程技术-工程:电子与电气
CiteScore
4.60
自引率
25.60%
发文量
138
审稿时长
92 days
期刊介绍: Displays is the international journal covering the research and development of display technology, its effective presentation and perception of information, and applications and systems including display-human interface. Technical papers on practical developments in Displays technology provide an effective channel to promote greater understanding and cross-fertilization across the diverse disciplines of the Displays community. Original research papers solving ergonomics issues at the display-human interface advance effective presentation of information. Tutorial papers covering fundamentals intended for display technologies and human factor engineers new to the field will also occasionally featured.
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信