Laser & Optoelectronics Progress, Volume. 62, Issue 4, 0412002(2025)

Defect Detection of Printed Circuit Boards Based on YOLOv8-PCB

Yan Wang*, Jian Luo, Jin Tao, Hong Peng, and Siyi Chen
Author Affiliations
  • School of Electrical Engineering and Information, Southwest Petroleum University, Chengdu 610500, Sichuan , China
  • show less

    A YOLOv8-PCB (printed circuit boards) defect detection model has been proposed to address the challenge of identifying small irregularly shaped surface defects on PCBs. This model incorporates the WIoUv3 loss function, which reduces penalties for low-quality anchor boxes, thereby accelerating algorithm convergence. It integrates shallow scale and small object detection heads to capture small defect features. The ADown downsampling technique is used in the backbone network to prevent excessive loss of contextual information while reducing the feature map's size. Furthermore, combining dynamic upsampling in the feature pyramid further improves the feature map's resolution, enhancing the model ability to detect PCB defect details. Experimental results show that the proposed model achieves an average accuracy of 98.37% and a recall rate of 96.39%. Compared with the benchmark model, average accuracy has increased by 3.62 percentage points, and the recall rate has risen by 5.49 percentage points. These enhancements significantly reduce missed detections and boost the model's overall detection performance.

    Keywords
    Tools

    Get Citation

    Copy Citation Text

    Yan Wang, Jian Luo, Jin Tao, Hong Peng, Siyi Chen. Defect Detection of Printed Circuit Boards Based on YOLOv8-PCB[J]. Laser & Optoelectronics Progress, 2025, 62(4): 0412002

    Download Citation

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

    Category: Instrumentation, Measurement and Metrology

    Received: May. 6, 2024

    Accepted: Jun. 19, 2024

    Published Online: Feb. 24, 2025

    The Author Email:

    DOI:10.3788/LOP241218

    CSTR:32186.14.LOP241218

    Topics