The rapid miniaturization and increasing complexity of Printed Circuit Boards (PCBs) have rendered traditional automated optical inspection (AOI) systems inadequate for high-precision defect detection. While deep learning approaches have shown promise, they often struggle to balance the need for high-resolution feature extraction with the computational efficiency required for real-time industrial deployment. Furthermore, the “black-box” nature of most convolutional neural networks (CNNs) limits their adoption in stringent quality assurance environments where interpretability is paramount. To address these challenges, this paper proposes PCBVisionNet, a novel, lightweight deep learning architecture specifically engineered for automated multi-class PCB defect classification. The framework integrates a Dual-Domain Attention Mechanism (DDAM) and a Multi-Scale Feature Extractor (MSFE) with residual learning to effectively capture both microscopic anomalies and complex structural defects, enabling robust image-level classification of PCB defect categories. We evaluate the proposed model on three publicly available datasets: DeepPCB, PKU-Market-PCB, and HRIPCB. Experimental results demonstrate that PCBVisionNet achieves superior classification performance with a mean Average Precision (mAP) of 99.4% across defect categories, outperforming state-of-the-art architectures such as ResNet50, EfficientNet-B0, and Vision Transformers, while requiring 45% fewer parameters and reducing inference time by 23 ms per image. The integration of Gradient-weighted Class Activation Mapping (Grad-CAM) provides post hoc visual explainability, highlighting image regions that influence the classification decision to support interpretability and root-cause analysis. The proposed framework offers a highly accurate, efficient, and interpretable solution for modern smart manufacturing systems.
PCBs are required in the final products of electronic manufacturing, and quality inspection must be carried out. Uncorrected surface defects may persist through subsequent production stages and degrade device performance. Convolutional Neural Networks (CNNs) have been widely applied to PCB defect detection because of t...
Ran-Ting Zhang, Huan-Huan Lian, Ying-Min Li et al.· International Conference on...· 0 citations
Accurate detection of small and low-contrast printed circuit board (PCB) defects remains challenging. To address this problem, we propose SDL-YOLO, a YOLO11n-based detector designed to improve small-defect representation while controlling computational cost. A Detection-Optimized Sparse Mixture-of-Experts (DS-MOE) modu...
Hua-Ying Li, Huan Li, M. Alam· IEEE Access· 0 citations
The present work investigates the possibility of adopting open source DL models, specifically Transformer-based architectures and Convolutional Neural Networks, to classify fastener component images into defective or non-defective, and to segment defective ones, in order to enhance detection localization and to support...
Andrea Santomauro, Luigi Portinale, Stefania Montani et al.· The International Journal of...· 0 citations
Automatic defect detection for printed circuit boards (PCBs) is crucial for manufacturing quality and reliability, yet remains challenging due to tiny defect sizes, low visual contrast, and deployment constraints. We propose SHNet, a lightweight YOLOv8s-based detector that emphasizes shallow high-resolution representat...
Detecting minute defects in printed circuit boards (PCBs) against highly repetitive background textures remains a fundamental challenge for end-to-end detectors. Subtle defect features are easily weakened during conventional crossscale fusion, while normal patterns such as traces, pads, and vias may produce strong fals...
Lin-Chang Zhao, Ming-Chao Deng, Hao Long et al.· Conference on Advanced Algor...· 0 citations
An empirical comparison between three deep learning frameworks for pixel-based surface defect detection: a baseline CNN architecture known as U-Net, Vision Transformer (ViT) based on patch-wise attention mechanism, and TransUNet that combines CNN and transformer architecture.