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 条
  • [1] End-to-end deep learning framework for printed circuit board manufacturing defect classification
    Bhattacharya, Abhiroop
    Cloutier, Sylvain G.
    [J]. SCIENTIFIC REPORTS, 2022, 12 (01)
  • [2] PCB Defect Detection Method Based on Transformer-YOLO
    Chen, Wei
    Huang, Zhongtian
    Mu, Qian
    Sun, Yi
    [J]. IEEE ACCESS, 2022, 10 : 129480 - 129489
  • [3] AMFF-YOLOX: Towards an Attention Mechanism and Multiple Feature Fusion Based on YOLOX for Industrial Defect Detection
    Chen, Yu
    Tang, Yongwei
    Hao, Huijuan
    Zhou, Jun
    Yuan, Huimiao
    Zhang, Yu
    Zhao, Yuanyuan
    [J]. ELECTRONICS, 2023, 12 (07)
  • [4] Object Detection Based Automated Optical Inspection of Printed Circuit Board Assembly Using Deep Learning
    Chiun, Ong Yee
    Ruhaiyem, Nur Intan Raihana
    [J]. SOFT COMPUTING IN DATA SCIENCE, SCDS 2023, 2023, 1771 : 246 - 258
  • [5] Detection and Classification of Printed Circuit Boards Using YOLO Algorithm
    Glucina, Matko
    Andelic, Nikola
    Lorencin, Ivan
    Car, Zlatan
    [J]. ELECTRONICS, 2023, 12 (03)
  • [6] SOIF-DN: Preserving Small Object Information Flow With Improved Deep Learning Model
    Joo, In
    Kim, Sunghoon
    Kim, Ginam
    Yoo, Kwan-Hee
    [J]. IEEE ACCESS, 2023, 11 : 130391 - 130405
  • [7] Lee JH, 2021, Arxiv, DOI [arXiv:2010.07611, 10.48550/arXiv.2010.07611, DOI 10.48550/ARXIV.2010.07611, 10.1609/aaai.v37i1.25120, DOI 10.1609/AAAI.V37I1.25120]
  • [8] A Method of Defect Detection for Focal Hard Samples PCB Based on Extended FPN Model
    Li, Cui-jin
    Qu, Zhong
    Wang, Shi-yan
    Bao, Kang-hua
    Wang, Sheng-ye
    [J]. IEEE TRANSACTIONS ON COMPONENTS PACKAGING AND MANUFACTURING TECHNOLOGY, 2022, 12 (02): : 217 - 227
  • [9] Li HL, 2024, Arxiv, DOI [arXiv:2206.02424, 10.48550/arXiv2206.02424]
  • [10] Light-YOLOv4: An Edge-Device Oriented Target Detection Method for Remote Sensing Images
    Ma, Xiaojie
    Ji, Kefeng
    Xiong, Boli
    Zhang, Linbin
    Feng, Sijia
    Kuang, Gangyao
    [J]. IEEE JOURNAL OF SELECTED TOPICS IN APPLIED EARTH OBSERVATIONS AND REMOTE SENSING, 2021, 14 : 10808 - 10820