LSDM-PCB: A Lightweight Small Defect Detection Model for Printed Circuit Board
The defects of the Printed Circuit Board(PCB) directly affect the performance and reliability of electronic products. Therefore, detecting PCB defects is crucial. Lightweight models in PCB production inspection can effectively reduce equipment costs, but they exhibit limited feature extraction capabilities. Moreover, complex background conditions can interfere with the model’s ability to locate and recognize small defects. To address these challenges, we propose LSDM-PCB, a lightweight PCB defect detection model based on YOLOv8n. Firstly, we improve the network structure to reduce the number of model parameters while enhancing the model’s ability to capture small defects. Additionally, we adopt Receptive-Field Attention Convolution(RFAConv) as a downsampling module to enhance the model’s feature extraction by considering the importance of each feature within the receptive field. Finally, we propose a Global and Local Mixed Attention(GLMA) mechanism to strengthen multi-scale feature representation, allowing the model to focus more on small defects. Results show LSDM-PCB reduces model parameters by 74% and improves mAP<inf xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">50</inf> to 96.8%, a 2.7% enhancement compared to the baseline model YOLOv8n.
Authors
- Pengfei He (ORCID: https://orcid.org/0000-0002-5727-7188)
- Qi Zeng (ORCID: https://orcid.org/0000-0003-4882-5530)
- Chongren Zhao
- Hongchao Gao
Institutions
- Dongguan University of Technology (CN)
Publication Details
- Published
- 2024-09-27
- DOI
- https://doi.org/10.1109/icip51287.2024.10647590
- Citations
- 1
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.35