Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Defect detection of printed circuit board surface based on an improved YOLOv8 with FasterNet backbone algorithms

  • Original Paper
  • Published:
Signal, Image and Video Processing Aims and scope Submit manuscript

Abstract

Printed circuit board constitutes a crucial element of electronic equipment, and its surface defects can seriously affect the performance and reliability of the product. To promptly and accurately detect and identify these surface defects, this paper proposes a method for defect detection of printed circuit board surface based on an improved YOLOv8 with FasterNet backbone algorithms. Firstly, FasterNet is employed as the backbone network structure to minimize unnecessary computational overhead and memory accesses, enabling a more streamlined and effective extraction of spatial characteristics. Then, in the Neck layer, the C2f module is exchanged for the C2f_Normalization-based Attention Module. This allows for a more precise focus on important weights, thereby reducing unnecessary computations and parameters. Finally, the loss function of YOLOv8 is substituted with Wise Intersection over Union, which comprehensively considers the surrounding area information and flexibly adjusts the weights. The effectiveness of the method is demonstrated by experimental results on two publicly available PCB datasets. The mAP50 reaches 91.1% with a P of 88.6%, and the mAP50-95 stands at 46.9% on the PCB-AoI dataset. On the HRIPCB dataset, the method attains a mAP50 of 94.4%, a P of 96.1%, and a mAP50-95 of 58.3%. Compared to existing methods, this method shows a comprehensive performance advantage.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

References

  1. Cha, D.Y., Cho, S.J., Lee, J.H., Chang, S.P.: Development of integration technology for optical pcb and electrical pcb. In: Optoelectronic Integrated Circuits XII, 7605, pp. 259–267 (2010). SPIE

  2. Mujeeb, A., Dai, W., Erdt, M., Sourin, A.: Unsupervised surface defect detection using deep autoencoders and data augmentation. In: 2018 International Conference on Cyberworlds (CW), pp. 391–398 (2018). IEEE

  3. Liu, F., Paradiso, J.A.: Printedcircuit board (pcb) probe tester (pcbpt)-a compact desktop systemthat helps with automatic pcbdebugging. In: Adjunct Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology, pp. 1–3 (2023)

  4. Kosmider, S., Löher, T., Ostmann, A., Murugesan, K., Maaß, U., Schneider-Ramelow, M., Kaiser, M., et al.: Pcb embedding technology for 5g mmwave applications. In: 2022 IEEE 9th Electronics System-Integration Technology Conference (ESTC), pp. 603–609 (2022). IEEE

  5. Nayak, J.P., Anitha, K., Parameshachari, B., Banu, R., Rashmi, P.: Pcb fault detection using image processing. In: IOP Conference Series: Materials Science and Engineering, vol. 225, p. 012244 (2017). IOP Publishing

  6. Iwahori, Y., Takada, Y., Shiina, T., Adachi, Y., Bhuyan, M.K., Kijsirikul, B.: Defect classification of electronic board using dense sift and cnn. Procedia Comput. Sci. 126, 1673–1682 (2018)

    Article  Google Scholar 

  7. Yin, H.M.: A template-matching-based fast algorithm for pcb components detection. Adv. Mater. Res. 690, 3205–3208 (2013)

    Article  MATH  Google Scholar 

  8. Bonello, D., Iano, Y., Neto, U.: A novel approach to the pcba’s defects detection using background algorithm. Int. J. Electr. Comput. Eng. 8, 308–315 (2020)

    Google Scholar 

  9. Chen, J., Kao, S.-h., He, H., Zhuo, W., Wen, S., Lee, C.-H., Chan, S.-H.G.: Run, don’t walk: Chasing higher flops for faster neural networks. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12021–12031 (2023)

  10. Chen, B., Dang, Z.: Fast pcb defect detection method based on fasternet backbone network and cbam attention mechanism integrated with feature fusion module in improved yolov7. Ieee Access (2023)

  11. Qin, C., Zhou, Z.: Yolo-fgd: a fast lightweight pcb defect method based on fasternet and the gather-and-distribute mechanism. J. Real-Time Image Proc. 21(4), 122 (2024)

    Article  Google Scholar 

  12. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.-Y., Berg, A.C.: Ssd: Single shot multibox detector. In: Computer Vision–ECCV 2016: 14th European Conference, Amsterdam, The Netherlands, October 11–14, 2016, Proceedings, Part I 14, pp. 21–37 (2016). Springer

  13. Redmon, J., Divvala, S., Girshick, R., Farhadi, A.: You only look once: Unified, real-time object detection. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 779–788 (2016)

  14. Lin, T.-Y., Goyal, P., Girshick, R., He, K., Dollár, P.: Focal loss for dense object detection. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 2980–2988 (2017)

  15. He, K., Gkioxari, G., Dollár, P., Girshick, R.: Mask r-cnn. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 2961–2969 (2017)

  16. Liu, L.J., Zhang, Y., Karimi, H.R.: Resilient machine learning for steel surface defect detection based on lightweight convolution. Int J Adv Manuf Technol 134, 4639–4650 (2024)

  17. Yang, S., Leng, F., Huang, W., Wang, J.: Improved surface defect detection algorithm for pcb in yolov8. In: Proceedings of the 5th International Conference on Computer Information and Big Data Applications, pp. 1096–1103 (2024)

  18. Yuan, M., Zhou, Y., Ren, X., Zhi, H., Zhang, J., Chen, H.: Yolo-hmc: An improved method for pcb surface defect detection. IEEE Trans. Instru. Measure. (2024)

  19. Xia, K., Lv, Z., Liu, K., Lu, Z., Zhou, C., Zhu, H., Chen, X.: Global contextual attention augmented yolo with convmixer prediction heads for pcb surface defect detection. Sci. Rep. 13(1), 9805 (2023)

    Article  Google Scholar 

  20. Long, Y., Li, Z., Cai, Y., Zhang, R., Shen, K.: Pcb defect detection algorithm based on improved yolov8. Acad. J. Sci. Technol. 7(3), 297–304 (2023)

    Article  MATH  Google Scholar 

  21. Liu, Y., Shao, Z., Teng, Y., Hoffmann, N.: Nam: Normalization-based attention module (2021). arXiv preprint arXiv:2111.12419

  22. Tong, Z., Chen, Y., Xu, Z., Yu, R.: Wise-iou: bounding box regression loss with dynamic focusing mechanism (2023). arXiv preprint arXiv:2301.10051

  23. Huang, W., Wei, P., Zhang, M., Liu, H.: Hripcb: a challenging dataset for pcb defects detection and classification. J. Eng. 2020(13), 303–309 (2020)

    MATH  Google Scholar 

  24. Wang, A., Chen, H., Liu, L., Chen, K., Lin, Z., Han, J., Ding, G.: Yolov10: Real-time end-to-end object detection (2024). arXiv preprint arXiv:2405.14458

  25. Wang, C.-Y., Bochkovskiy, A., Liao, H.-Y.M.: Yolov7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7464–7475 (2023)

  26. Li, C., Li, L., Jiang, H., Weng, K., Geng, Y., Li, L., Ke, Z., Li, Q., Cheng, M., Nie, W., et al.: Yolov6: A single-stage object detection framework for industrial applications (2022). arXiv preprint arXiv:2209.02976

  27. Ye, M., Wang, H., Xiao, H.: Light-yolov5: A lightweight algorithm for improved yolov5 in pcb defect detection. In: 2023 IEEE 2nd International Conference on Electrical Engineering, Big Data and Algorithms (EEBDA), pp. 523–528 (2023). IEEE

  28. Liu, J., Cui, G., Xiao, C.: A real-time and efficient surface defect detection method based on yolov4. J. Real-Time Image Proc. 20(4), 77 (2023)

    Article  MATH  Google Scholar 

Download references

Acknowledgements

The research was in part supported by Natural science Foundation of Liaoning Province,2022-Ms-341, in part by the Marie Sklodowska-Curie grant agreement no. 101073037 and in part by the Italian Ministry of University and Research under agreement no. P2022EXP2W.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Li-Juan Liu.

Ethics declarations

Confict of interest

The authors declare that there are no Conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Liu, LJ., Zhang, Y. & Karimi, H.R. Defect detection of printed circuit board surface based on an improved YOLOv8 with FasterNet backbone algorithms. SIViP 19, 89 (2025). https://doi.org/10.1007/s11760-024-03646-8

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11760-024-03646-8

Keywords