YOLOv7-TID: A Lightweight Network for PCB Intelligent Detection

被引:0
作者
Zhuo, Shulong [1 ]
Shi, Jinmei [1 ]
Zhou, Xiaojian [1 ]
Kan, Jicheng [1 ]
机构
[1] Hainan Vocat Univ Sci & Technol, Coll Informat Engn, Haikou 571126, Hainan, Peoples R China
来源
IEEE ACCESS | 2024年 / 12卷
基金
海南省自然科学基金;
关键词
Feature extraction; Attention mechanisms; Training; Solid modeling; Defect detection; Computational modeling; Circuits; deep learning; NWD; SimAM; lightweight; pruning; knowledge distillation; DEFECT DETECTION;
D O I
10.1109/ACCESS.2024.3439567
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The Printed Circuit Board (PCB), often regarded as the cornerstone of the electronic information industry, plays a pivotal role in determining the quality of electronic products. However, traditional detection methods struggle to identify minuscule defects on PCBs due to their small surface area and intricate layouts, leading to a decline in product quality. To address these challenges, we propose an innovative lightweight intelligent detection algorithm, named YOLOv7-tiny Improved Detection (YOLOv7-TID). For precise defect detection on PCBs. This new model, based on YOLOv7-tiny, incorporates several enhancements. First, a parallel network module is added to the neck network to bolster the backbone network's ability to extract feature information from both deep and shallow layers of images. Second, the sampling scale for small targets is increased, and the FPN and PAN structures are improved to enhance the feature extraction network's semantic feature extraction and localization capabilities. Additionally, the SimAM attention mechanism module should be introduced to improve the network's focus on shallow features without increasing the number of parameters. The model is further optimized by using the slim-neck network and the DWConv convolution module to reduce its weight, and by employing the NWD loss function to calculate positioning loss and enhance the network's detection capability for small targets. Finally, the lightweight model undergoes pruning and knowledge distillation. Experimental results show that, compared with the original YOLOv7-tiny, the new model achieves a detection accuracy of 96.4% on the PCB defect test dataset. The mAP@0.5 and mAP@0.5:.95 are increased by 6.2% and 6.0%, respectively. Additionally, the number of parameters is reduced to only 3.5M, and the computation load is decreased by 23.5%. This makes the model more suitable for industrial applications and embedded development systems.
引用
收藏
页码:109957 / 109966
页数:10
相关论文
共 24 条
  • [21] A Lightweight One-Stage Defect Detection Network for Small Object Based on Dual Attention Mechanism and PAFPN
    Zhang, Yue
    Xie, Fei
    Huang, Lei
    Shi, Jianjun
    Yang, Jiale
    Li, Zongan
    [J]. FRONTIERS IN PHYSICS, 2021, 9
  • [22] Defect Detection Method Based on Knowledge Distillation
    Zhou, Qunying
    Wang, Hongyuan
    Tang, Ying
    Wang, Yang
    [J]. IEEE ACCESS, 2023, 11 : 35866 - 35873
  • [23] Lightweight Tunnel Defect Detection Algorithm Based on Knowledge Distillation
    Zhu, Anfu
    Wang, Bin
    Xie, Jiaxiao
    Ma, Congxiao
    [J]. ELECTRONICS, 2023, 12 (15)
  • [24] Zhuo Lan, 2021, Proceedings of the 2021 IEEE International Conference on Power Electronics, Computer Applications (ICPECA), P1009, DOI 10.1109/ICPECA51329.2021.9362675