An Enhanced Lightweight YOLO-based Method for Surface Defect Detection in Printed Circuit Boards

Da-hu WANG , Long-fei ZHANG , Peng-xiang ZHANG , Jin-chao CHANG

Science Technology and Engineering ›› 2026, Vol. 26 ›› Issue (24) : 10494 -10505.

PDF
Science Technology and Engineering ›› 2026, Vol. 26 ›› Issue (24) : 10494-10505 DOI: 10.12404/j.issn.1671-1815.2506647
research-article
An Enhanced Lightweight YOLO-based Method for Surface Defect Detection in Printed Circuit Boards
Author information +
History +
PDF

Abstract

To address the issue that existing models struggle to simultaneously balance detection accuracy, model volume, and inference speed in printed circuit board (PCB) surface defect detection tasks, a high-precision PCB surface defect detection method based on enhanced lightweight YOLO (ELYOLO) was proposed. Firstly, based on ghost network (GhostNet) and decoupled fully-connected attention (DFCA), a ghost long-range attention (GLA) module was proposed to lighten the backbone network while maintaining accuracy. Then, according to the linear attention mechanism, a Mamba-inspired linear attention (MLLA) module was designed at the end of the backbone network to accurately capture global contextual information. Secondly, based on grouped and shuffled convolution (GSConv) and feature path aggregation, an efficient neck network was proposed, which optimized the effect of multi-scale feature fusion while reducing computational bottlenecks. Finally, unified intersection over union (UIoU) was adopted as the bounding box regression loss function to improve the localization accuracy of the model. Experimental results indicate that on the public PCB defect dataset, compared with the baseline model YOLOv11n, the number of parameters and computational cost of the proposed ELYOLO model are reduced by 7.4% and 17.5%, respectively, while mAP50 and mAP50-95 are increased by 3.0 and 2.3 percentage points, respectively. The model also demonstrates excellent generalization ability, proving that ELYOLO can effectively balance detection accuracy, model volume, and inference speed.

Graphical abstract

Keywords

printed circuit board / ELYOLO / small-object detection / attention mechanism / convolutional neural network (CNN)

Cite this article

Download citation ▾
Da-hu WANG, Long-fei ZHANG, Peng-xiang ZHANG, Jin-chao CHANG. An Enhanced Lightweight YOLO-based Method for Surface Defect Detection in Printed Circuit Boards. Science Technology and Engineering, 2026, 26(24): 10494-10505 DOI:10.12404/j.issn.1671-1815.2506647

登录浏览全文

4963

注册一个新账户 忘记密码

References

Funding

PDF (19216KB)

44

Accesses

0

Citation

Detail

Sections
Recommended

/

〈 〉