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] Defect detection of printed circuit board surface based on an improved YOLOv8 with FasterNet backbone algorithms
    Liu, Li-Juan
    Zhang, Yu
    Karimi, Hamid Reza
    SIGNAL IMAGE AND VIDEO PROCESSING, 2025, 19 (01)
  • [2] Concrete Surface Crack Detection Algorithm Based on Improved YOLOv8
    Dong, Xuwei
    Liu, Yang
    Dai, Jinpeng
    SENSORS, 2024, 24 (16)
  • [3] Dense detection algorithm for ceramic tile defects based on improved YOLOv8
    Yu, Mei
    Li, Yuxin
    Li, Zhilin
    Yan, Peng
    Li, Xiutong
    Tian, Qin
    Xie, Benliang
    JOURNAL OF INTELLIGENT MANUFACTURING, 2024,
  • [4] Improved Steel Surface Defect Detection Algorithm Based on YOLOv8
    You, Congzhe
    Kong, Haozheng
    IEEE ACCESS, 2024, 12 : 99570 - 99577
  • [5] Ship Detection Based on Improved YOLOv8 Algorithm
    Cao, Xintong
    Shen, Jiayu
    Wang, Tao
    Zhang, Chenxu
    2024 3RD INTERNATIONAL CONFERENCE ON ROBOTICS, ARTIFICIAL INTELLIGENCE AND INTELLIGENT CONTROL, RAIIC 2024, 2024, : 20 - 23
  • [6] Improved YOLOv3-based defect detection algorithm for printed circuit board
    Bian B.-C.
    Chen T.
    Wu R.-J.
    Liu J.
    Zhejiang Daxue Xuebao (Gongxue Ban)/Journal of Zhejiang University (Engineering Science), 2023, 57 (04): : 735 - 743
  • [7] Improved YOLOv8 Algorithm for Industrial Surface Defect Detection
    Su, Jia
    Jia, Ze
    Qin, Yichang
    Zhang, Jianyan
    Computer Engineering and Applications, 2024, 60 (14) : 187 - 196
  • [8] An Improved YOLOv8 Algorithm for Rail Surface Defect Detection
    Wang, Yan
    Zhang, Kehua
    Wang, Ling
    Wu, Lintong
    IEEE ACCESS, 2024, 12 : 44984 - 44997
  • [9] An Improved YOLOv5 Network for Detection of Printed Circuit Board Defects
    Niu, Jie
    Li, Hongyan
    Chen, Xu
    Qian, Kun
    JOURNAL OF SENSORS, 2023, 2023
  • [10] Improved YOLOv8 Algorithm for Water Surface Object Detection
    Wang, Jie
    Zhao, Hong
    SENSORS, 2024, 24 (15)