YOLOv5-MDS: Target Detection Model for PCB Defect Inspection Based on YOLOv5 Integrated With Mamba Architecture

The Printed Circuit Board (PCB), which serves as the foundational component of numerous electronic devices, exhibits a complex relationship between its quality and the lifespan and performance of those products. However, annual losses are significantly contributed to by PCB defects arising from various production factors. PCB defects present significant challenges in detection, due to their small size and irregular distribution. Existing methods struggle to effectively detect these minute and scattered defects, especially in the context of industrial production, where high accuracy and speed are paramount. To address this issue, YOLOv5-MDS has been proposed, a convolutional neural network (CNN) specifically designed for image segmentation and classification. This model is derived from and enhanced on the YOLOv5 model. Our primary objective was to refine the neck section of the YOLOv5 model by integrating the Mamba architecture within it. Additionally, we optimized the intersection over union (IoU) calculation method and the upsampling module. This strategic integration aims to overcome the inherent limitation of convolutional operations’ local receptive fields, thereby enabling the model to capture features more effectively. Our proposed improvements enhance detection accuracy while maintaining computational efficiency.Experimental results demonstrate that our model achieves significant improvements in accuracy for PCB defect detection tasks compared to the baseline model. Compared to the baseline model, our proposed model achieves a 34.3% performance improvement. When benchmarked on edge devices, YOLOv5-MDS demonstrates superior detection capabilities with mAP95 values exceeding YOLOv8n by 11.0% and YOLOv11n by 0.9%, while simultaneously showing significant efficiency advantages - operating 29% faster than YOLOv8n and 57% faster than YOLOv11n in inference speed. These comparative results comprehensively validate the practical applicability of YOLOv5-MDS in industrial deployment scenarios.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3591987
Citations
1
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
1.24
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

YOLOv5-MDS: Target Detection Model for PCB Defect Inspection Based on YOLOv5 Integrated With Mamba Architecture

Deming Guo, Long Zhang, Jing Wang, Qi Xi et al.
1 citations
IEEE Access
Industrial Vision Systems and Defect Detection
1.24
article

YOLOv5-MDS: Target Detection Model for PCB Defect Inspection Based on YOLOv5 Integrated With Mamba Architecture

Deming Guo, Long Zhang, Jing Wang, Qi Xi, YingYing Ye, Ziyi Zeng
article en
1 citations

Abstract

The Printed Circuit Board (PCB), which serves as the foundational component of numerous electronic devices, exhibits a complex relationship between its quality and the lifespan and performance of those products. However, annual losses are significantly contributed to by PCB defects arising from various production factors. PCB defects present significant challenges in detection, due to their small size and irregular distribution. Existing methods struggle to effectively detect these minute and scattered defects, especially in the context of industrial production, where high accuracy and speed are paramount. To address this issue, YOLOv5-MDS has been proposed, a convolutional neural network (CNN) specifically designed for image segmentation and classification. This model is derived from and enhanced on the YOLOv5 model. Our primary objective was to refine the neck section of the YOLOv5 model by integrating the Mamba architecture within it. Additionally, we optimized the intersection over union (IoU) calculation method and the upsampling module. This strategic integration aims to overcome the inherent limitation of convolutional operations’ local receptive fields, thereby enabling the model to capture features more effectively. Our proposed improvements enhance detection accuracy while maintaining computational efficiency.Experimental results demonstrate that our model achieves significant improvements in accuracy for PCB defect detection tasks compared to the baseline model. Compared to the baseline model, our proposed model achieves a 34.3% performance improvement. When benchmarked on edge devices, YOLOv5-MDS demonstrates superior detection capabilities with mAP95 values exceeding YOLOv8n by 11.0% and YOLOv11n by 0.9%, while simultaneously showing significant efficiency advantages - operating 29% faster than YOLOv8n and 57% faster than YOLOv11n in inference speed. These comparative results comprehensively validate the practical applicability of YOLOv5-MDS in industrial deployment scenarios.

IEEE AccessVol. 13
South China Normal University (CN)
Openalex Percentile: Top 17%
Industrial Vision Systems and Defect Detection
1.24
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.