YOLO-HDEW: An Efficient PCB Defect Detection Model
To address the challenge of detecting small defects in Printed Circuit Boards (PCBs), a YOLO-HDEW model based on the enhanced YOLOv8 architecture is proposed. A high-resolution detection layer is introduced at the P2 feature level to improve sensitivity to small targets. Depthwise Separable Convolution (DSConv) is used for downsampling, reducing parameter complexity. An Edge-enhanced Multi-scale Parallel Attention mechanism (EMP-Attention) is integrated to capture multi-scale and edge features. The EMP mechanism is incorporated into the C2f module to form the C2f-EMP module, and dynamic non-monotonic Wise-IoU (W-IoU) loss is employed to enhance bounding box regression. The model is evaluated on the PKU-Market-PCB, DeepPCB, and NEU-DET datasets, with experimental results showing that YOLO-HDEW achieves 98.1% accuracy, 91.6% recall, 90.3% [email protected], and 61.7% [email protected]:0.95, surpassing YOLOv8 by 1.5%, 2.3%, 1.2%, and 1.9%, respectively. Additionally, the model demonstrates strong generalization performance on the DeePCB and NEU-DET datasets. These results indicate that YOLO-HDEW significantly improves detection accuracy while maintaining a manageable model size, offering an effective solution for PCB defect detection.
Authors
- Yinghao Ma
- Chuanwang Song (ORCID: https://orcid.org/0000-0003-4288-9824)
- Keyong Hu (ORCID: https://orcid.org/0000-0002-6004-6073)
- Zhaoyu Wang (ORCID: https://orcid.org/0009-0004-6917-9173)
- Yuan Zhou (ORCID: https://orcid.org/0009-0006-2548-1842)
- Qingshuo Qi
Institutions
- Qingdao University of Technology (CN)
Publication Details
- Journal
- Electronics
- Published
- 2025-08-26
- DOI
- https://doi.org/10.3390/electronics14173383
- Citations
- 1
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 1.24
Funders
- National Natural Science Foundation of China