SSHP-YOLO: A High Precision Printed Circuit Board (PCB) Defect Detection Algorithm with a Small Sample
Open Access
- 7 January 2025
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 14 (2) , 217
Abstract
In the domain of printed circuit board (PCB) defect detection, challenges such as missed detections and false positives remain prevalent. To address these challenges, we propose a small-sample, high-precision PCB defect detection algorithm, called SSHP-YOLO. The proposed method incorporates an ELAN-C module that merges the convolutional block attention module (CBAM) with the efficient layer aggregation network (ELAN), thereby enhancing the model’s focus on defect features and improving the detection of minute defect details. Furthermore, we introduce the ASPPCSPC structure, which extracts multi-scale features using pyramid pooling combined with dilated convolutions while maintaining the resolution of feature maps. This design improves the detection accuracy and robustness, thereby enhancing the algorithm’s generalization ability. Additionally, we employ the SIoU loss function to optimize the regression between the predicted and ground-truth bounding boxes, thus improving the localization accuracy of minute defects. The experimental results show that SSHP-YOLO achieves a recall rate that is 11.84% higher than traditional YOLOv7, with a mean average precision (mAP) of 97.80%. This leads to a substantial improvement in the detection accuracy, effectively mitigating issues related to missed and false detections in PCB defect detection tasks.Keywords
Funding Information
- Education Department of Henan Province (232102240097)
This publication has 36 references indexed in Scilit:
- A dataset for deep learning based detection of printed circuit board surface defectScientific Data, 2024
- PCB defect detection algorithm based on CDI-YOLOScientific Reports, 2024
- Enhancing EfficientNet-YOLOv4 for Integrated Circuit Detection on Printed Circuit Board (PCB)IEEE Access, 2024
- A Comprehensive Review of Deep Learning-Based PCB Defect DetectionIEEE Access, 2023
- Quality inspection of specific electronic boards by deep neural networksScientific Reports, 2023
- TDD‐net: a tiny defect detection network for printed circuit boardsCAAI Transactions on Intelligence Technology, 2019
- CBAM: Convolutional Block Attention Module2018
- Feature Pyramid Networks for Object Detection2017
- SSD: Single Shot MultiBox Detector2016
- You Only Look Once: Unified, Real-Time Object Detection2016