UPM Institutional Repository

MSMD-YOLO: enhanced printed circuit board defect detection with a multi-scale merging and attention network


Citation

Deng, Chan and Abdul Rahman, Ribhan Zafira and Ishak, Asnor Juraiza and Raja Ahmad, Raja Kamil (2025) MSMD-YOLO: enhanced printed circuit board defect detection with a multi-scale merging and attention network. IEEE Access. pp. 1-12. ISSN 2169-3536 (In Press)

Abstract

The growing demand for flawless printed circuit boards (PCBs) necessitates highly precise and reliable defect detection technologies. However, the tiny size of defects, complex textures, and irregular geometries present major challenges to existing vision-based approaches. To overcome these limitations, this study introduces MSMD-YOLO, an enhanced detection framework developed as a next-generation extension of YOLOv11 [1] for PCB inspection. The proposed Multi-Scale Feature Merging (MSFM) module enables comprehensive fusion of structural information across multiple scales, enriching fine-grained feature representation and detail extraction. In parallel, the MDA-Attention module integrates channel-wise and spatial attention mechanisms with dilated convolutions [2], significantly improving semantic discrimination and spatial sensitivity while maintaining low computational complexity. Additionally, the Weighted IoU(WIoU) [3] loss introduces adaptive attention that prioritizes medium-quality anchors and enhances localization of small or low-quality defects. Experimental evaluation on a challenging PCB defect dataset demonstrates that MSMD-YOLO achieves a mean average precision (mAP) [4] of 92.9%, outperforming YOLOv11 by 5.0 percentage points. The model effectively minimizes false detections and missed defects, confirming its robustness and reliability as a practical solution for high-accuracy industrial inspection and automated quality control in advanced PCB manufacturing environments.


Download File

[img] Text
122678.pdf - Published Version
Available under License Creative Commons Attribution.

Download (3MB)
Official URL or Download Paper: https://ieeexplore.ieee.org/document/11320269/

Additional Metadata

Item Type: Article
Subject: Computer Science (all)
Subject: Materials Science (all)
Divisions: Faculty of Engineering
DOI Number: https://doi.org/10.1109/ACCESS.2025.3649799
Publisher: Institute of Electrical and Electronics Engineers Inc.
Keywords: Attention mechanism; Defect detection; Loss function optimization; Multi-scale features; Small target detection
Depositing User: Ms. Che Wa Zakaria
Date Deposited: 27 Jan 2026 03:40
Last Modified: 27 Jan 2026 03:40
Altmetrics: http://www.altmetric.com/details.php?domain=psasir.upm.edu.my&doi=10.1109/ACCESS.2025.3649799
URI: http://psasir.upm.edu.my/id/eprint/122678
Statistic Details: View Download Statistic

Actions (login required)

View Item View Item