A Detection Algorithm for Surface Defects of Printed Circuit Board Based on Improved YOLOv8

被引:2
作者
Yao, Lei [1 ]
Zhao, Bing [1 ]
Wang, Xihui [2 ]
Mei, Sihan [1 ]
Chi, Yulun [2 ]
机构
[1] Univ Shanghai Sci & Technol, Sch Elect Engn, Shanghai 200082, Peoples R China
[2] Univ Shanghai Sci & Technol, Sch Mech Engn, Shanghai 200082, Peoples R China
来源
IEEE ACCESS | 2024年 / 12卷
基金
中国国家自然科学基金;
关键词
YOLO; Accuracy; Attention mechanisms; Computational modeling; Printed circuits; Feature extraction; Robustness; Neck; Steel; Defect detection; PCB defects detection; YOLOv8; attention mechanism; SPPELAN; loss function;
D O I
10.1109/ACCESS.2024.3498004
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Improving detection accuracy is a challenging task when detecting defects in PCBs. To conquer the issue of degradation of recognition performance of existing intelligent detection algorithms in different environments, we present an improved algorithm, IEMA-YOLOv8, based on YOLOv8. First, we design a novel Efficient Multi-Scale Attention (EMA) combined with the Inverted Residual Mobile Block (IRMB) to form a new attention mechanism called IEMA. The IEMA module is subsequently incorporated into the C2f module to boost the model's overall performance. Secondly, the Spatial Pyramid Pooling Enhanced with ELAN (SPPELAN) module is employed to improve the original Spatial Pyramid Pooling Fast (SPPF) module, thereby bolstering the model's capacity to recognize defective regions. Finally, the More Focused Intersection over Union (Focaler-IoU) loss function replaces the original Complete Intersection over Union (CIoU) loss function, aiming to compensate for the limitations of the current bounding box regression methodology, thus further enhancing the efficacy of detection in the task. The experimental results show that our proposed IEMA-YOLOv8 algorithm has precision, recall, mAP50, and mAP50:95 values of 88.8%, 96.8%, 94.6%, and 51%, respectively, provided that the model complexity is kept basically the same and the Frames Per Second (FPS) value reaches 116.2. These values are 1.1%, 3.6%, 4.9%, and 6% higher than the original YOLOv8n algorithm. Compared with the YOLO family of one-stage detection models, our proposed algorithm has significant advantages in defect detection.
引用
收藏
页码:170227 / 170242
页数:16
相关论文
共 50 条
  • [1] Improved Steel Surface Defect Detection Algorithm Based on YOLOv8
    You, Congzhe
    Kong, Haozheng
    IEEE ACCESS, 2024, 12 : 99570 - 99577
  • [2] Research on Target Detection Algorithm for Solder Joint Defects Based on the Improved YOLOv8
    Zhang, Chengkai
    Feng, Xiaocui
    Mao, Pujun
    Lv, Fuyan
    IEEE ACCESS, 2025, 13 : 76676 - 76683
  • [3] An Insulator Location and Defect Detection Method Based on Improved YOLOv8
    Li, Zhongsheng
    Jiang, Chenda
    Li, Zhongliang
    IEEE ACCESS, 2024, 12 : 106781 - 106792
  • [4] YOLOV8-MR: An Improved Lightweight YOLOv8 Algorithm for Tomato Fruit Detection
    Li, Xu
    Cai, Changhan
    Yang, Yue
    Song, Bo
    IEEE ACCESS, 2025, 13 : 48120 - 48131
  • [5] Research on Fire Smoke Detection Algorithm Based on Improved YOLOv8
    Zhang, Tianxin
    Wang, Fuwei
    Wang, Weimin
    Zhao, Qihao
    Ning, Weijun
    Wu, Haodong
    IEEE ACCESS, 2024, 12 : 117354 - 117362
  • [6] YOLOv8-TDD: An Optimized YOLOv8 Algorithm for Targeted Defect Detection in Printed Circuit Boards
    Yunpeng, Gao
    Rui, Zhang
    Mingxu, Yang
    Sabah, Fahad
    JOURNAL OF ELECTRONIC TESTING-THEORY AND APPLICATIONS, 2024, 40 (05): : 645 - 656
  • [7] Fabric defect detection algorithm based on improved YOLOv8
    Chen, Chang
    Zhou, Qihong
    Li, Shujia
    Luo, Dong
    Tan, Gaochao
    TEXTILE RESEARCH JOURNAL, 2025, 95 (3-4) : 235 - 251
  • [8] Textile Defect Detection Algorithm Based on the Improved YOLOv8
    Song, Wenfei
    Lang, Du
    Zhang, Jiahui
    Zheng, Meilian
    Li, Xiaoming
    IEEE ACCESS, 2025, 13 : 11217 - 11231
  • [9] A Universal Tire Detection Method Based on Improved YOLOv8
    Guo, Chi
    Chen, Mingxia
    Wu, Junjie
    Hu, Haipeng
    Huang, Luobing
    Li, Junjie
    IEEE ACCESS, 2024, 12 : 174770 - 174781
  • [10] Lightweight Small Target Detection Algorithm Based on YOLOv8 Network Improvement
    Hao, Xiaoyi
    Li, Ting
    IEEE ACCESS, 2025, 13 : 14051 - 14062