Laser & Optoelectronics Progress, Volume. 62, Issue 10, 1012004(2025)

Multi-Scale Fusion Optimization Algorithm for Printed Circuit Board Defect Detection

Kun Mao, Xuejun Zhu*, Huige Lai, Checao Yu, Leilei Xiong, Ming Yang, and Da Peng
Author Affiliations
  • School of Mechanical Engineering, Ningxia University, Yinchuan 750021, Ningxia , China
  • show less
    Figures & Tables(14)
    SGW-YOLO network model structure
    Hierarchical feature representation structure
    Swin Transformer block structure
    Shifted window self-attention mechanism
    Structure of GAM
    Schematic diagram of loss function
    Comparison of datasets
    Comparison diagram of bounding box loss
    Comparison of detection effect visualizations on PCB_DATASET dataset. (a) (b) YOLOv8s; (c) (d) SGW-YOLO
    Comparison of performance indicators before and after improvement. (a) Recall; (b) mAP@0.5; (c) loss function
    Detection effect visualizations on DeepPCB dataset
    • Table 1. Comparison of ablation experiment results

      View table

      Table 1. Comparison of ablation experiment results

      SGWmAP /%Increased percentagerecall /%mP /%F1FPS
      94.8892.1595.380.9275.19
      96.231.3592.3595.640.9460.83
      96.171.2991.6795.730.9570.30
      96.982.1092.5695.930.9572.54
      97.562.6894.5996.370.9558.45
      97.953.0795.3697.130.9665.30
      98.523.6496.6698.390.9850.51
    • Table 2. Comparison results on PCBDATASET dataset

      View table

      Table 2. Comparison results on PCBDATASET dataset

      AlgorithmAP /%mAP /%
      missing_holemouse_biteopen_circuitshortspurious_copperspur
      Fast-RCNN81.6779.2380.6085.6876.2474.8079.70
      SSD75.5756.2854.6280.0473.2467.8267.92
      YOLOX98.6095.2695.3594.1096.7798.4496.42
      YOLOv399.5097.2097.6896.5494.3197.8297.18
      YOLOv798.8897.2596.5295.5297.2698.3497.30
      PCB-YOLO99.8096.2593.2594.1098.3196.0596.30
      YOLO-MBBi98.4092.7097.5698.2096.3695.9096.52
      YOLOv5s98.9595.7493.2590.2393.4188.9893.43
      YOLOv8s96.1094.0092.5093.8098.5894.3094.88
      Proposed algorithm99.4698.4498.7898.2098.4297.8298.52
    • Table 3. Comparison results on DeepPCB dataset

      View table

      Table 3. Comparison results on DeepPCB dataset

      AlgorithmAP /%mAP /%
      missing_holeMouse_biteOpen_circuitShortSpurious_copperspur
      YOLOv397.6992.2893.6291.594.3688.6893.02
      YOLOv795.6896.0895.1295.8586.2292.1693.52
      YOLOv5s94.6294.8293.8495.1693.7296.2694.74
      YOLOv8s97.3894.8296.2494.1894.294.3295.19
      Proposed algorithm98.6297.8696.2896.3698.7297.8297.61
    Tools

    Get Citation

    Copy Citation Text

    Kun Mao, Xuejun Zhu, Huige Lai, Checao Yu, Leilei Xiong, Ming Yang, Da Peng. Multi-Scale Fusion Optimization Algorithm for Printed Circuit Board Defect Detection[J]. Laser & Optoelectronics Progress, 2025, 62(10): 1012004

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category: Instrumentation, Measurement and Metrology

    Received: Jan. 9, 2025

    Accepted: Feb. 10, 2025

    Published Online: Apr. 23, 2025

    The Author Email: Xuejun Zhu (zhxj@nxu.edu.cn)

    DOI:10.3788/LOP250474

    CSTR:32186.14.LOP250474

    Topics