YOLOv13-PCB-Lite: A Lightweight Model for PCB Defect Detection Based on Improved YOLOv13
作者
Yi Liu,Xun Jin
出处
期刊: [Association for Computing Machinery] 日期:2025-11-28卷期号:: 507-512
标识
DOI:10.1145/3795926.3796007
摘要
Surface defect detection in printed circuit boards (PCBs) is crucial for ensuring the quality of electronic products, but existing deep learning-based detection methods struggle to achieve lightweight deployment while maintaining high detection accuracy. To address this issue, this paper proposes a lightweight YOLOv13 improvement method for PCB defect detection, named YOLOv13-PCB-Lite. The method includes three core improvements: (1) single-scale detection head optimization, which concentrates computational resources on the P3 layer by removing P4 and P5 detection branches to achieve efficient detection of small target defects; (2) dynamic parameterized gated fusion module (DPGF), which achieves dynamic fusion of features from different paths through unified parameterized gating mechanisms and RMS amplitude alignment strategies; (3) progressive lightweight DSC3k2 module (Lite-DSC3k2), which significantly reduces parameters and computational cost while maintaining feature representation capability through progressive grouped convolution strategies. Experimental results demonstrate that the proposed YOLOv13-PCB-Lite achieves good performance on the PCB defect dataset, with model parameters reduced by 39.2% and computational cost reduced by 22.6% compared to the baseline model, while maintaining comparable detection accuracy with mAP50 decreasing by only 0.8%, proving the method's excellent balance between lightweighting and detection accuracy.