Automated defect detection in printed circuit boards (PCBs) is a critical process for ensuring the quality and reliability of electronic products. To address the limitations of existing detection methods, such as insufficient sensitivity to minor defects and limited recognition accuracy in complex backgrounds, this paper proposes an enhanced YOLOv8 detection framework. The core contribution lies not merely in the integration of the Convolutional Block Attention Module (CBAM), but in a principled and task-specific integration strategy designed to address the multi-scale and low-contrast nature of PCB defects. The complete CBAM is integrated into the multi-scale feature layers (P3, P4, P5) of the YOLOv8 backbone network. By leveraging sequential channel and spatial attention submodules, CBAM guides the model to dynamically optimise feature responses, thereby significantly enhancing feature extraction for tiny, morphologically diverse defects. Experiments on a public PCB defect dataset demonstrate that the proposed model achieves a mean average precision (mAP@50) of 98.8% while maintaining real-time inference speed, surpassing the baseline YOLOv8 model by 9.5%, with the improvements of 7.4% in precision and 12.3% in recall. While the model incurs a higher computational cost (79.4 GFLOPs), it maintains a real-time inference speed of 109.11 FPS, offering a viable trade-off between accuracy and efficiency for high-precision industrial inspection. The proposed model demonstrates superior performance in detecting small-scale defects, making it highly suitable for industrial deployment.
Building similarity graph...
Analyzing shared references across papers
Loading...
Zhe Sun
Ruihan Ma
Qujiang Lei
Applied Sciences
The University of Sydney
University of Chinese Academy of Sciences
Beijing University of Chemical Technology
Building similarity graph...
Analyzing shared references across papers
Loading...
Sun et al. (Wed,) studied this question.
www.synapsesocial.com/papers/69731022c8125b09b0d1fd5d — DOI: https://doi.org/10.3390/app16021078