A Detection Algorithm for Surface Defects of Printed Circuit Board Based on Improved YOLOv8
Open Access
- 13 November 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 170227-170242
Abstract
Improving detection accuracy is a challenging task when detecting defects in PCBs. To conquer the issue of degradation of recognition performance of existing intelligent detection algorithms in different environments, we present an improved algorithm, IEMA-YOLOv8, based on YOLOv8. First, we design a novel Efficient Multi-Scale Attention (EMA) combined with the Inverted Residual Mobile Block (IRMB) to form a new attention mechanism called IEMA. The IEMA module is subsequently incorporated into the C2f module to boost the model’s overall performance. Secondly, the Spatial Pyramid Pooling Enhanced with ELAN (SPPELAN) module is employed to improve the original Spatial Pyramid Pooling Fast (SPPF) module, thereby bolstering the model’s capacity to recognize defective regions. Finally, the More Focused Intersection over Union (Focaler-IoU) loss function replaces the original Complete Intersection over Union (CIoU) loss function, aiming to compensate for the limitations of the current bounding box regression methodology, thus further enhancing the efficacy of detection in the task. The experimental results show that our proposed IEMA-YOLOv8 algorithm has precision, recall, mAP50, and mAP50:95 values of 88.8%, 96.8%, 94.6%, and 51%, respectively, provided that the model complexity is kept basically the same and the Frames Per Second (FPS) value reaches 116.2. These values are 1.1%, 3.6%, 4.9%, and 6% higher than the originalYOLOv8n algorithm. Compared with theYOLO family of one-stage detection models, our proposed algorithm has significant advantages in defect detection.Keywords
Funding Information
- National Natural Science Foundation of China (51707121)
This publication has 32 references indexed in Scilit:
- CSFF-YOLOv5: Improved YOLOv5 based on channel split and feature fusion in femoral neck fracture detectionInternet of Things, 2024
- Detecting tea tree pests in complex backgrounds using a hybrid architecture guided by transformers and multi‐scale attention mechanismJournal of the Science of Food and Agriculture, 2024
- TD‐YOLO: A Lightweight Detection Algorithm for Tiny Defects in High‐Resolution PCBsAdvanced Theory and Simulations, 2023
- ISA: Ingenious Siamese Attention for object detection algorithms towards complex scenesISA Transactions, 2023
- Detection of tomato plant phenotyping traits using YOLOv5-based single stage detectorsComputers and Electronics in Agriculture, 2023
- Real-time detection of cracks in tiled sidewalks using YOLO-based method applied to unmanned aerial vehicle (UAV) imagesAutomation in Construction, 2023
- A survey of human-in-the-loop for machine learningFuture Generation Computer Systems, 2022
- A survey on deep learning and its applicationsComputer Science Review, 2021
- A real-time detection approach for bridge cracks based on YOLOv4-FPMAutomation in Construction, 2021
- Fast and accurate detection of kiwifruit in orchard using improved YOLOv3-tiny modelPrecision Agriculture, 2020