An Improved YOLOv8n Framework for PCB Defect Detection via C2f-Mamba Feature Extraction and FPN-PAN++ Multi-Scale Fusion
Symmetry · 03.06.2026 · 18 (6) · 969
DOI: 10.3390/sym18060969 ↗Kurz gefasst
Fachartikel in der Zeitschrift Symmetry, online erschienen am 03.06.2026. Verfasst von Xuan Hua und 3 weiteren Autor:innen. Die Arbeit nennt 44 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
To address the issues in existing PCB defect detection models, including insufficient capability for capturing small defects, weaker global feature modeling, and inadequate multi-scale feature fusion, this paper proposes a C2f-FPN-PAN++-Mamba model based on an improved YOLOv8n. The Mamba state–space model is embedded into the C2f module to construct a C2f-Mamba feature extraction unit, which, while retaining the local perception capability of convolution, enhances long-range dependency modeling, accurately capturing global semantic information of subtle defects in complex backgrounds and significantly improving the model’s feature representation ability for small defects. Meanwhile, an FPN-PAN++ enhanced feature fusion structure is introduced, achieving efficient complementary interaction between high and low-level features through bidirectional cross-scale feature aggregation and path augmentation, thereby strengthening the model’s robustness in identifying multi-scale and multi-form defects. Finally, the C2f-Mamba and FPN-PAN++ are organically integrated, improving global modeling and multi-scale fusion capabilities while maintaining lightweight computational efficiency, effectively reducing the miss and false detection rates of small defects. Experimental results indicate that, compared with the original YOLOv8n model, the proposed method achieves significant performance improvements in PCB defect detection tasks. On the PCB defect dataset, the model’s precision increased from 96.4% to 98.5%, recall from 94.6% to 98.4%, and mAP@0.5 from 97.2% to 98.8%, with the mAP@0.5:0.95 metric, reflecting multi-scale detection performance, rising dramatically from 57.5% to 62.5%. Experiments demonstrate that this method effectively enhances detection capability for small and complex defects while preserving the advantages of a lightweight model and high inference speed, providing a reliable technical solution for high-precision, real-time PCB defect detection in industrial scenarios.
Zitieren
APA
Hua, X., Jiang, H., Wang, H., & Shan, Y. (2026). An Improved YOLOv8n Framework for PCB Defect Detection via C2f-Mamba Feature Extraction and FPN-PAN++ Multi-Scale Fusion. Symmetry, 18(6), 969. https://doi.org/10.3390/sym18060969
Vancouver
Hua X, Jiang H, Wang H, Shan Y. An Improved YOLOv8n Framework for PCB Defect Detection via C2f-Mamba Feature Extraction and FPN-PAN++ Multi-Scale Fusion. Symmetry. 2026;18(6):969. doi:10.3390/sym18060969
BibTeX
@article{Hua2026,
author = {Hua, Xuan and Jiang, Haolin and Wang, Hao and Shan, Yahui},
title = {An Improved YOLOv8n Framework for PCB Defect Detection via C2f-Mamba Feature Extraction and FPN-PAN++ Multi-Scale Fusion},
journal = {Symmetry},
year = {2026},
volume = {18},
number = {6},
pages = {969},
doi = {10.3390/sym18060969}
}
EUVIMED