Lightweight improved YOLOv5 algorithm for PCB defect detection

被引:0
|
作者
Xie, Yinggang [1 ,2 ]
Zhao, Yanwei [1 ]
机构
[1] Beijing Informat Sci & Technol Univ, Key Lab Informat & Commun Syst, Minist Informat Ind, Beijing 100101, Peoples R China
[2] Beijing Informat Sci & Technol Univ, Key Lab Minist Educ Optoelect Measurement Technol, Beijing 100101, Peoples R China
来源
JOURNAL OF SUPERCOMPUTING | 2025年 / 81卷 / 01期
基金
北京市自然科学基金;
关键词
YOLOv5; algorithm; GSConv; Detection layer improvement; BiFPN; Attention mechanism;
D O I
10.1007/s11227-024-06739-w
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A lightweight YOLOv5 improved algorithm-based inspection model is proposed to address the problems of defective printed circuit boards (PCBs), which are difficult to identify. First, the detection part of YOLOv5 is changed to dual-head detection to significantly improve the inference speed of the model on edge devices and adapt to the real-time target detection requirements. Second, the introduction of GSConv in the Neck part helps to further reduce the number of parameters of the model and improve the computational efficiency, which can enhance the model's capture ability. Finally, BiFPN is introduced to fuse multi-scale information to enhance the model's detection ability for targets of different sizes. The experimental results show that the improved lightweight YOLOv5 algorithm in this paper achieves 94.9% in the average accuracy mean (mAP@0.5), which is only 0.5 percentage points less compared to the original YOLOv5 algorithm. However, the improved algorithm has 56.2% fewer floating point operations (GFLOPs) and 53.7% fewer parameters. This improvement not only makes the algorithm more accurate and lightweight, but also significantly improves the efficiency of PCB inspection, which better meets the needs of industrial production.
引用
收藏
页数:21
相关论文
共 50 条
  • [31] PCB-YOLO: An Improved Detection Algorithm of PCB Surface Defects Based on YOLOv5
    Tang, Junlong
    Liu, Shenbo
    Zhao, Dongxue
    Tang, Lijun
    Zou, Wanghui
    Zheng, Bin
    SUSTAINABILITY, 2023, 15 (07)
  • [32] Aluminum Surface Defect Detection Algorithm Based on Improved YOLOv5
    Liang, Jianan
    Kong, Ruiling
    Ma, Rong
    Zhang, Jinhua
    Bian, Xingrui
    ADVANCED THEORY AND SIMULATIONS, 2024, 7 (02)
  • [33] YOLO-VanNet: An Improved YOLOv5 Method for PCB Surface Defect Detection
    Chen, Fanglin
    Shi, Chenyang
    Zhu, Donglin
    Zhou, Changjun
    WEB AND BIG DATA, APWEB-WAIM 2024, PT I, 2024, 14961 : 451 - 465
  • [34] Lightweight forest smoke and fire detection algorithm based on improved YOLOv5
    Yang, Jie
    Zhu, Wenchao
    Sun, Ting
    Ren, Xiaojun
    Liu, Fang
    PLOS ONE, 2023, 18 (09):
  • [35] Quality Defect Detection of Distribution Network Engineering Based on Lightweight Improved YOLOv5
    Yang L.
    Wang J.
    Duan X.
    Li J.
    Li Y.
    Li F.
    Dianwang Jishu/Power System Technology, 2023, 47 (09): : 3864 - 3872
  • [36] LE-YOLOv5: A Lightweight and Efficient Road Damage Detection Algorithm Based on Improved YOLOv5
    Diao, Zhuo
    Huang, Xianfu
    Liu, Han
    Liu, Zhanwei
    INTERNATIONAL JOURNAL OF INTELLIGENT SYSTEMS, 2023, 2023
  • [37] Surface defect detection algorithm of electronic components based on improved YOLOv5
    Zeng Y.
    Gao F.-Q.
    Zhejiang Daxue Xuebao (Gongxue Ban)/Journal of Zhejiang University (Engineering Science), 2023, 57 (03): : 455 - 465
  • [38] RESEARCH ON SURFACE DEFECT DETECTION OF SOLAR CELL WITH IMPROVED YOLOv5 ALGORITHM
    Peng Z.
    Zhang Y.
    Xiao S.
    Taiyangneng Xuebao/Acta Energiae Solaris Sinica, 2024, 45 (06): : 368 - 375
  • [39] Application of improved YOLOV5 in plate defect detection
    Xiong, Chenglong
    Hu, Sanbao
    Fang, Zhigang
    INTERNATIONAL JOURNAL OF ADVANCED MANUFACTURING TECHNOLOGY, 2022,
  • [40] Research on strip surface defect detection based on improved YOLOv5 algorithm
    Lv, Shuaishuai
    Tao, Chuanzhen
    Hao, Zhuangzhuang
    Ni, Hongjun
    Hou, Zhengjie
    Li, Xiaoyuan
    Gu, Hai
    Shi, Weidong
    Chen, Linfei
    IRONMAKING & STEELMAKING, 2024, 51 (10) : 1046 - 1064