Laser & Optoelectronics Progress, Volume. 62, Issue 8, 0812002(2025)

Defect Detection of PCB Based on Lightweight ADS-YOLOv8n

Qitao Hu and Qijie Zou*
Author Affiliations
  • College of Information Engineering, Dalian University, Dalian 116622, Liaoning , China
  • show less

    In view of the issue of balancing detection accuracy with the number of parameters and computational load in printed circuit board (PCB) defect detection, this study proposes a lightweight PCB defect detection algorithm based on ADS-YOLOv8n. Firstly, the ADown downsampling module is introduced to retain more detailed defect information and enhance the ability to extract detail defects. Secondly, a DTFM module incorporating three layers features is designed to enhance feature extraction and ability to localize defects. Then, a new SCM module is designed to enhance the focus on defect information. Finally, the WIoUv3 bounding box loss function is introduced to enable the model to obtain more accurate regression results. The mean average precision of the improved model reaches 98.43% and the recall rate reaches 96.58%, compared with the benchmark model, the mean average precision is improved by 3.20 percentage points, the recall rate is improved by 5.17 percentage points, and the number of parameters and computation volume are reduced by 5.0×105 and 3.0×108, respectively. The improved model takes into account the lightweight of the model on the basis of improving the detection precision.

    Keywords
    Tools

    Get Citation

    Copy Citation Text

    Qitao Hu, Qijie Zou. Defect Detection of PCB Based on Lightweight ADS-YOLOv8n[J]. Laser & Optoelectronics Progress, 2025, 62(8): 0812002

    Download Citation

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

    Category: Instrumentation, Measurement and Metrology

    Received: Aug. 28, 2024

    Accepted: Oct. 8, 2024

    Published Online: Apr. 3, 2025

    The Author Email: Qijie Zou (jessie_zou_zou@163.com)

    DOI:10.3788/LOP241923

    CSTR:32186.14.LOP241923

    Topics