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 条
  • [41] Research on improved YOLOv8 algorithm for insulator defect detection
    Lin Zhang
    Boqun Li
    Yang Cui
    Yushan Lai
    Jing Gao
    Journal of Real-Time Image Processing, 2024, 21
  • [42] Remote sensing small object detection algorithm based on improved YOLOv8
    Peng, Yanfei
    Qian, Jiani
    Tu, Shiting
    Li, Pai
    2024 5TH INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND APPLICATION, ICCEA 2024, 2024, : 1273 - 1278
  • [43] Research on improved YOLOv8 algorithm for insulator defect detection
    Zhang, Lin
    Li, Boqun
    Cui, Yang
    Lai, Yushan
    Gao, Jing
    JOURNAL OF REAL-TIME IMAGE PROCESSING, 2024, 21 (01)
  • [44] Small Object Detection Algorithm Based on Improved YOLOv8 for Remote Sensing
    Yi, Hao
    Liu, Bo
    Zhao, Bin
    Liu, Enhai
    IEEE JOURNAL OF SELECTED TOPICS IN APPLIED EARTH OBSERVATIONS AND REMOTE SENSING, 2024, 17 : 1734 - 1747
  • [45] FMR-YOLO: An improved YOLOv8 algorithm for steel surface defect detection
    Ni, Yongjing
    Wu, Qi
    Zhang, Xiuqing
    IET IMAGE PROCESSING, 2025, 19 (01)
  • [46] YOLOv8-SAB: Terahertz Image Detection Network Based on Shuffle Attention and YOLOv8
    Jiang, Yu
    Li, Yizhang
    Wang, Zhongmin
    Qi, Feng
    Wang, Fenggui
    Liu, Yongsheng
    Chen, Tao
    IEEE ACCESS, 2024, 12 : 133328 - 133338
  • [47] CDF-YOLOv8: City Recognition System Based on Improved YOLOv8
    Lu, P.
    Jia, Y. S.
    Zeng, W. X.
    Wei, P.
    IEEE ACCESS, 2024, 12 : 143745 - 143753
  • [48] Improved YOLOv8 Model for a Comprehensive Approach to Object Detection and Distance Estimation
    Khow, Zu Jun
    Tan, Yi-Fei
    Karim, Hezerul Abdul
    Rashid, Hairul Azhar Abdul
    IEEE ACCESS, 2024, 12 : 63754 - 63767
  • [49] Lightweight YOLOv8 for Wheat Head Detection
    Fang, Chen
    Yang, Xiang
    IEEE ACCESS, 2024, 12 : 66214 - 66222
  • [50] Research on gear flank surface defect detection of automotive transmissions based on improved YOLOv8
    Yuan, Haibing
    Yang, Yiyang
    Guo, Bingqing
    Zhao, Fengsheng
    Zhang, Di
    Yang, Shuai
    MEASUREMENT SCIENCE AND TECHNOLOGY, 2024, 35 (12)