TGSYOLO: Template-Guidance Siamese Network for SMT Welding Defect Detection
Surface-mounted technology (SMT) welding defect detection plays a key role in the printed circuit board assembly (PCBA) production process, which affects the use of electronic products and cost. Previous works tend to realize defect detection with only defect samples and they assume that there are sufficient defect samples. However, defect samples are usually difficult to collect in real-life scenarios while enough template samples can be easily obtained. In addition, most existing works carry out defect detection based on benchmarks with simple backgrounds of PCBA, which is not suitable for PCBA with complex structures in modern electronic product manufacturing. To address the above issues, we propose a template-guidance Siamese network based on YOLO for SMT welding defect detection (TGSYOLO), which is deployed on a real SMT automatic optical inspection (AOI) system. First, the two-stream structure is introduced to extract deep features in defect images and template images, in which template features serve as guidance knowledge. Then, a template fusion Transformer (TFT) is proposed to model global features between detect and template features in the low-level stage, which could acquire long-range correlations to force the network to focus on potential defect regions. Next, to avoid the disappearance of tiny defect features during deep feature fusion, a multiscale attention feature pyramid network (MAFPN) is proposed to directly fuse defect semantic information from low-level features, which retains detailed expressions of defects through skip connection and obtains compact fusion features. Furthermore, we collect limited welding defect samples based on more complex PCBA backgrounds than previous works through a real SMT AOI system. Experiments on the limited dataset show that TGSYOLO could reach 0.985 of [email protected], 0.885 of [email protected], and 0.984 of F1, which is 0.008, 0.054, and 0.025 higher than other SOTA methods. Also, generalization experiments on the public DeepPCB show that TGSYOLO could still reach the best with 0.991 of [email protected] and 0.89 of [email protected], which proves that TGSYOLO has good generalization performance.
Authors
- Yang Cao (ORCID: https://orcid.org/0000-0002-2891-4379)
- Yun‐Bo Zhao (ORCID: https://orcid.org/0000-0002-3684-5297)
- Zhenyi Xu (ORCID: https://orcid.org/0000-0002-5804-882X)
- Yu Kang (ORCID: https://orcid.org/0000-0002-8706-3252)
- Cheng Yu (ORCID: https://orcid.org/0000-0003-1039-1300)
- Lijun Zhao (ORCID: https://orcid.org/0000-0002-9108-8276)
- Kehao Shi (ORCID: https://orcid.org/0009-0002-6444-5845)
Institutions
- University of Science and Technology of China (CN)
- Ministry of Education of the People's Republic of China (CN)
- Anhui University (CN)
- Wuhu Hit Robot Technology Research Institute (CN)
Publication Details
- Journal
- IEEE Transactions on Components Packaging and Manufacturing Technology
- Published
- 2024-11-04
- DOI
- https://doi.org/10.1109/tcpmt.2024.3491163
- Citations
- 5
- Primary Topic
- Welding Techniques and Residual Stresses
- Type
- article
- Field-Weighted Citation Impact
- 1.06