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 条
  • [21] Improved Road Defect Detection Algorithm Based on YOLOv8
    Wang, Xueqiu
    Gao, Huanbing
    Jia, Zemeng
    Computer Engineering and Applications, 2024, 60 (17) : 179 - 190
  • [22] 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
  • [23] Fire and smoke detection algorithm based on improved YOLOv8
    Deng, Li
    Zhou, Jin
    Liu, Quanyi
    Qinghua Daxue Xuebao/Journal of Tsinghua University, 2025, 65 (04): : 681 - 689
  • [24] POTATO APPEARANCE DETECTION ALGORITHM BASED ON IMPROVED YOLOv8
    Zhang, Huan
    Liu, Zhen
    Yang, Ranbing
    Pan, Zhiguo
    Su, Zhaoming
    Li, Xinlin
    Liu, Zeyang
    Shi, Chuanmiao
    Wang, Shuai
    Wu, Hongzhu
    INMATEH-AGRICULTURAL ENGINEERING, 2024, 74 (03): : 864 - 874
  • [25] Underwater Object Detection Algorithm Based on an Improved YOLOv8
    Zhang, Fubin
    Cao, Weiye
    Gao, Jian
    Liu, Shubing
    Li, Chenyang
    Song, Kun
    Wang, Hongwei
    JOURNAL OF MARINE SCIENCE AND ENGINEERING, 2024, 12 (11)
  • [26] Nighttime Vehicle Detection Algorithm Based on Improved YOLOv8
    Huang, Qianqian
    Wei, Mingzhu
    Wang, Xinhua
    2024 IEEE INTERNATIONAL CONFERENCE ON MECHATRONICS AND AUTOMATION, ICMA 2024, 2024, : 447 - 452
  • [27] A Road Defect Detection Algorithm Based on Improved YOLOv8
    Niu, Yiqing
    Cao, Jianrong
    Wang, Yuanchang
    NEURAL COMPUTING FOR ADVANCED APPLICATIONS, NCAA 2024, PT III, 2025, 2183 : 369 - 383
  • [28] Steel surface defect detection based on improved YOLOv8
    Lu, Xin-ya
    Qu, Mei-xia
    ENGINEERING RESEARCH EXPRESS, 2025, 7 (01):
  • [29] Steel Surface Defect Detection Algorithm Based on YOLOv8
    Song, Xuan
    Cao, Shuzhen
    Zhang, Jingwei
    Hou, Zhenguo
    ELECTRONICS, 2024, 13 (05)
  • [30] Road Surface Defect Detection Algorithm Based on YOLOv8
    Sun, Zhen
    Zhu, Lingxi
    Qin, Su
    Yu, Yongbo
    Ju, Ruiwen
    Li, Qingdang
    ELECTRONICS, 2024, 13 (12)