journal article·2024-08-23Open access

YOLO-RRL: A Lightweight Algorithm for PCB Surface Defect Detection

Tian Zhang, Jie Zhang, Pengfei Pan, Xiaochen Zhang

Applied Sciences· Volume 14· Issue 17

Abstract

Printed circuit boards present several challenges to the detection of defects, including targets of insufficient size and distribution, a high level of background noise, and a variety of complex types. These factors contribute to the difficulties encountered by PCB defect detection networks in accurately identifying defects. This paper proposes a less-parametric model, YOLO-RRL, based on the improved YOLOv8 architecture. The YOLO-RRL model incorporates four key improvement modules: The following modules have been incorporated into the proposed model: Robust Feature Downsampling (RFD), Reparameterised Generalised FPN (RepGFPN), Dynamic Upsampler (DySample), and Lightweight Asymmetric Detection Head (LADH-Head). The results of multiple performance metrics evaluation demonstrate that YOLO-RRL enhances the mean accuracy (mAP) by 2.2 percentage points to 95.2%, increases the frame rate (FPS) by 12%, and significantly reduces the number of parameters and the computational complexity, thereby achieving a balance between performance and efficiency. Two datasets, NEU-DET and APSPC, were employed to evaluate the performance of YOLO-RRL. The results indicate that YOLO-RRL exhibits good adaptability. In comparison to existing mainstream inspection models, YOLO-RRL is also more advanced. The YOLO-RRL model is capable of significantly improving production quality and reducing production costs in practical applications while also extending the scope of the inspection system to a wide range of industrial applications.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Industrial Vision Systems and Defect Detection · Vehicle License Plate Recognition · Image and Object Detection Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Mechanical Engineering, Shenyang Jianzhu University, Shenyang 110168, China

Funding

National Natural Science Foundation of China · National Key Research and Development Program of China · Natural Science Foundation of Liaoning Province · Shenyang Outstanding Young and Middle-aged Science and Technology Talents Project · Basic Scientific Research Project of Liaoning Provincial Department of Education

References (31)

Show source-provided references
1. A Comprehensive Review of Deep Learning-Based PCB Defect Detection10.1109/ACCESS.2023.3339561 ↗
2. State of the Art in Defect Detection Based on Machine Vision10.1007/s40684-021-00343-6 ↗
3. Chen, Y., Ding, Y., Zhao, F., Zhang, E., Wu, Z., and Shao, L. (2021). Surface Defect Detection Methods for Industrial Products: A Review. Appl. Sci., 11.10.3390/app11167657 ↗
4. Hussain, M. (2023). YOLO-v1 to YOLO-v8, the Rise of YOLO and Its Complementary Nature toward Digital Manufacturing and Industrial Defect Detection. Machines, 11.10.3390/machines11070677 ↗
5. RetinaNet with Difference Channel Attention and Adaptively Spatial Feature Fusion for Steel Surface Defect Detection
6. Tan, M., Pang, R., and Le, Q.V. (2020, January 13–19). EfficientDet: Scalable and Efficient Object Detection. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.01079 ↗
7. He, K., Gkioxari, G., Dollár, P., and Girshick, R. (2020, January 13–19). Mask R-CNN. Proceedings of the IEEE International Conference on Computer Vision, Seattle, WA, USA.
8. Pang, J., Chen, K., Shi, J., Feng, H., Ouyang, W., and Lin, D. (2019, January 15–20). Libra R-CNN: Towards Balanced Learning for Object Detection. Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA.10.1109/CVPR.2019.00091 ↗
9. Cai, Z., and Vasconcelos, N. (2018, January 18–23). Cascade R-CNN: Delving into High Quality Object Detection. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00644 ↗
10. Li, J., and Chen, M. (2024). DEW-YOLO: An Efficient Algorithm for Steel Surface Defect Detection. Appl. Sci., 14.10.3390/app14125171 ↗
11. An Efficient Tiny Defect Detection Method for PCB with Improved YOLO through a Compression Training Strategy
12. TD-Net: Tiny Defect Detection Network for Industrial Products10.1007/s40747-024-01362-x ↗
13. PE-Transformer: Path Enhanced Transformer for Improving Underwater Object Detection10.1016/j.eswa.2024.123253 ↗
14. Zhang, Y., Zhang, H., Huang, Q., Han, Y., and Zhao, M. (2024). DsP-YOLO: An Anchor-Free Network with DsPAN for Small Object Detection of Multiscale Defects. Expert Syst. Appl., 241.10.1016/j.eswa.2023.122669 ↗
15. Yuan, Z., Tang, X., Ning, H., and Yang, Z. (2024). LW-YOLO: Lightweight Deep Learning Model for Fast and Precise Defect Detection in Printed Circuit Boards. Symmetry, 16.10.3390/sym16040418 ↗
16. Liao, X., Lv, S., Li, D., Luo, Y., Zhu, Z., and Jiang, C. (2021). YOLOv4-MN3 for PCB Surface Defect Detection. Appl. Sci., 11.10.3390/app112411701 ↗
17. YOLO-HMC: An Improved Method for PCB Surface Defect Detection
18. Bai, D., Li, G., Jiang, D., Yun, J., Tao, B., Jiang, G., Sun, Y., and Ju, Z. (2024). Surface Defect Detection Methods for Industrial Products with Imbalanced Samples: A Review of Progress in the 2020s. Eng. Appl. Artif. Intell., 130.10.1016/j.engappai.2023.107697 ↗
19. A Comprehensive Review of YOLO Architectures in Computer Vision: From YOLOv1 to YOLOv8 and YOLO-NAS10.3390/make5040083 ↗
20. Bochkovskiy, A., Wang, C.-Y., and Liao, H.-Y.M. (2020). YOLOv4: Optimal Speed and Accuracy of Object Detection. arXiv.
21. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.Y., and Berg, A.C. (2016, January 11–14). SSD: Single shot multibox detector. Proceedings of the Computer Vision—ECCV 2016: 14th European Conference, Amsterdam, The Netherlands.10.1007/978-3-319-46448-0_2 ↗
22. Li, Q., Jia, X., Zhou, J., Shen, L., and Duan, J. (2024). Rediscovering BCE Loss for Uniform Classification. arXiv.
23. A Robust Feature Downsampling Module for Remote-Sensing Visual Tasks
24. Xu, X., Jiang, Y., Chen, W., Huang, Y., Zhang, Y., and Sun, X. (2022). DAMO-YOLO: A Report on Real-Time Object Detection Design. arXiv.
25. Liu, W., Lu, H., Fu, H., and Cao, Z. (2023). Learning to Upsample by Learning to Sample. arXiv.10.1109/ICCV51070.2023.00554 ↗
26. Zhang, J., Chen, Z., Yan, G., Wang, Y., and Hu, B. (2023). Faster and Lightweight: An Improved YOLOv5 Object Detector for Remote Sensing Images. Remote Sens., 15.10.3390/rs15204974 ↗
27. Huang, W., and Wei, P. (2019). A PCB Dataset for Defects Detection and Classification. arXiv.
28. Girshick, R. (2015, January 7–13). Fast R-CNN. Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile.10.1109/ICCV.2015.169 ↗
29. Lv, W., Xu, S., Zhao, Y., Wang, G., Wei, J., Cui, C., Du, Y., Dang, Q., and Liu, Y. (2023). DETRs Beat YOLOs on Real-time Object Detection. arXiv.
30. Du, B., Wan, F., Lei, G., Xu, L., Xu, C., and Xiong, Y. (2023). YOLO-MBBi: PCB Surface Defect Detection Method Based on Enhanced YOLOv5. Electronics, 12.10.3390/electronics12132821 ↗
31. LFF-YOLO: A YOLO Algorithm with Lightweight Feature Fusion Network for Multi-Scale Defect Detection10.1109/ACCESS.2022.3227205 ↗