Affiliation:
1. School of Computer Science and Engineering, Sichuan University of Science & Engineering, Yibin 644000, China
Abstract
Despite being indispensable devices in the electronic manufacturing industry, printed circuit boards (PCBs) may develop various soldering defects in the production process, which seriously affect the product’s quality. Due to the substantial background interference in the soldering defect image and the small and irregular shapes of the defects, the accurate segmentation of soldering defects is a challenging task. To address this issue, a method to improve the encoder–decoder network structure of UNet is proposed for PCB soldering defect segmentation. To enhance the feature extraction capabilities of the encoder and focus more on deeper features, VGG16 is employed as the network encoder. Moreover, a hybrid attention module called the DHAM, which combines channel attention and dynamic spatial attention, is proposed to reduce the background interference in images and direct the model’s focus more toward defect areas. Additionally, based on GSConv, the RGSM is introduced and applied in the decoder to enhance the model’s feature fusion capabilities and improve the segmentation accuracy. The experiments demonstrate that the proposed method can effectively improve the segmentation accuracy for PCB soldering defects, achieving an mIoU of 81.74% and mPA of 87.33%, while maintaining a relatively low number of model parameters at only 22.13 M and achieving an FPS of 30.16, thus meeting the real-time detection speed requirements.
Funder
Academician (Expert) Workstation Fund Project of Sichuan Province of China
Special Fund for Training High Level Innovative Talents of Sichuan University of Science and Engineering
Sichuan University of Science and Engineering for Talent introduction project
Project of Sichuan University of Science and Engineering for Research on the Ideological and Political Construction of Machine Learning Curriculum
Innovation Fund of Postgraduate, Sichuan University of Science & Engineering
Reference36 articles.
1. Yuan, Z., Tang, X., Ning, H., and Yang, Z. (2024). LW-YOLO: Lightweight Deep Learning Model for Fast and Precise Defect Detection in Printed Circuit Boards. Symmetry, 16.
2. A Survey of PCB Defect Detection Algorithms;Lakshmi;J. Electron. Test.,2023
3. Review of Vision-Based Defect Detection Research and Its Perspectives for Printed Circuit Board;Zhou;J. Manuf. Syst.,2023
4. Printed Circuit Boards Defect Detection Method Based on Improved Fully Convolutional Networks;Zheng;IEEE Access,2022
5. Automatic Printed Circuit Board Inspection: A Comprehensible Survey;Fonseca;Discov. Artif. Intell.,2024