YOLO-HLT: improved lightweight printed circuit board surface defect detection algorithm based on YOLOv5

被引:0
|
作者
Yang, Bohao [1 ]
Liu, Wei [1 ]
Wang, Zhenzhen [1 ]
机构
[1] Shandong Technol & Business Univ, Sch Informat & Elect Engn, Yantai 264005, Peoples R China
关键词
PCB; defect detection; deep learning; YOLOv5; transformer; NETWORK;
D O I
10.1784/insi.2024.66.10.628
中图分类号
TH7 [仪器、仪表];
学科分类号
0804 ; 080401 ; 081102 ;
摘要
Printed circuit boards (PCBs) are extensively utilised in assembling electronic devices. During mass production, various surface defects may occur, necessitating effective defect detection. Traditional manual inspection, relying on personal experience, is subjective. With the advancement of artificial intelligence, considerable research has been conducted on automating PCB defect detection. However, addressing the low accuracy and poor real-time performance of existing methods remains a challenge, particularly in identifying small defects against the complex background of PCB substrates. In this paper, an enhanced you only look once-hybrid lightweight transformer (YOLO-HLT ) model based on YOLOv5 for PCB surface defect detection is proposed. The three convolutions hybrid lightweight transformer (C3HLT ) module replaces the cross-stage partial networks bottleneck with C3 module in the backbone (feature extraction network), enhancing feature extraction and obtaining global information. Additionally, the three convolutions hybrid lightweight attention (C3HLA) module is introduced to the neck (feature fusion network) part for more effective feature fusion and contextual information aggregation. Furthermore, to improve small target detection accuracy, a novel feature fusion layer is introduced in YOLO-HLT. Anchor box clustering using the K-means++ algorithm is also optimised. Experiments are conducted on a dataset from Peking University, demonstrating that YOLO-HLT achieves an mAP50 of 98.3% and a recall of 96.4%, which are 3.7% and 3.0% higher, respectively, than YOLOv5s. Moreover, YOLO-HLT achieves 144.93 frames per second (fps), surpassing the 112.36 fps of YOLOv5s.
引用
收藏
页码:628 / 638
页数:11
相关论文
共 50 条
  • [1] Lightweight Surface Defect Detection Algorithm Based on Improved YOLOv5
    Yang, Kaijun
    Chen, Tao
    2024 5TH INTERNATIONAL CONFERENCE ON MECHATRONICS TECHNOLOGY AND INTELLIGENT MANUFACTURING, ICMTIM 2024, 2024, : 798 - 802
  • [2] Defect detection of printed circuit board assembly based on YOLOv5
    Shen, Minghui
    Liu, Yujie
    Chen, Jing
    Ye, Kangqi
    Gao, Heyuan
    Che, Jie
    Wang, Qingyang
    He, Hao
    Liu, Jian
    Wang, Yan
    Jiang, Ye
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [3] Lightweight improved YOLOv5 algorithm for PCB defect detection
    Xie, Yinggang
    Zhao, Yanwei
    JOURNAL OF SUPERCOMPUTING, 2025, 81 (01):
  • [4] An Improved YOLOv5 Network for Detection of Printed Circuit Board Defects
    Niu, Jie
    Li, Hongyan
    Chen, Xu
    Qian, Kun
    JOURNAL OF SENSORS, 2023, 2023
  • [5] CCA-YOLO: An Improved Glove Defect Detection Algorithm Based on YOLOv5
    Jin, Huilong
    Du, Ruiyan
    Qiao, Liyong
    Cao, Lingru
    Yao, Jian
    Zhang, Shuang
    APPLIED SCIENCES-BASEL, 2023, 13 (18):
  • [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] Surface defect detection of steel based on improved YOLOv5 algorithm
    Jiang, Yiwen
    MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2023, 20 (11) : 19858 - 19870
  • [8] 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)
  • [9] An Improved YOLOv5 Algorithm for Steel Surface Defect Detection
    Li Shaoxiong
    Shi Zaifeng
    Kong Fanning
    Wang Ruoqi
    Luo Tao
    LASER & OPTOELECTRONICS PROGRESS, 2023, 60 (24)
  • [10] FSD-YOLO: An Improved Method for Steel Surface Defect Detection Based on YOLOv5
    Zhang, Yuechen
    Li, Aimin
    Kong, Xiaotong
    Li, Wenqiang
    Li, Zhiyao
    PROCEEDINGS OF THE 2024 27 TH INTERNATIONAL CONFERENCE ON COMPUTER SUPPORTED COOPERATIVE WORK IN DESIGN, CSCWD 2024, 2024, : 2565 - 2570