PCB Board Defect Detection Method based on Improved YOLOv8

Authors

  • Chang Liu
  • Xiangyang Zhou
  • Jun Li
  • Chuantao Ran

DOI:

https://doi.org/10.54097/fcis.v6i2.01

Keywords:

PCB Board Inspection, YOLOv8, Defect Detection, CA Attention Mechanism

Abstract

This study provides an improved YOLOv8-based printed circuit board (PCB) defect identification method to address the current challenges associated with PCB defect detection, including the detection of small targets, low accuracy, and other related concerns. The YOLOv8 model serves as the foundational framework, and in order to enhance detection speed, the YOLOv8s model is selected due to its reduced parameter count. However, feature extraction becomes challenging for small target defects; to address this, the CA attention mechanism is implemented, which is more attuned to target feature information and aids in feature extraction. As indicated by the experimental findings, the enhanced YOLOv8s-CA algorithm model has the following characteristics: a footprint of 5.79 MB, a mean average precision (mAP) of 90.4 percent, an increase of 6.6 percent over the initial network, and a parameter count augmentation of merely 0.007M. Consequently, this model finds utility in compact industrial inspection apparatus and possesses a wide range of potential applications.

Downloads

Download data is not yet available.

References

H. Suzuki, Official Gazette of the United States Patent and Trademark. Printed Circuit Board. U.S. Patent4,640,866, 16 March 1987.

H. S. Cho, Samsung Electro Mechanics Co., Ltd. Official Gazette of the United States Patent and Trademark. Printed Circuit Board. U.S. Patent 8,159,824, 16 March 2012.

R. Ding, L. Dai, G. Li, and H. Liu, “TDD-Net: A tiny defect detection network for printed circuit boardss,” CAAI Trans. Intell. Technol., vol. 4, no. 2, pp. 110-116, Jun. 2019.

K. Goto, K. Kato, T. Saito, and H. Aizawa, “Adversarial autoencoder for detecting anomalies in soldered joints on printed circuit boardss,” Proc. SPIE, vol. 29, no. 4, 2020.

I. C. Chen, R. C. Hwang, and H. C. Huang, “PCB Defect Detection Based on Deep Learning Algorithms,” Processes, 11 (3): 775,2023.

J. Redmon, S. Divvala, R. Girshick, and Farhadi, “A. You Only Look Once: Unified, Real-Time Object Detections,” In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016.

V. A. Adibhatla, “Applying deep learning to defect detection in printed circuit boards via a newest model of you-only-look-onces,” Mathematical Biosciences and Engineering,18(4): 4411-4428,2021.

J. Tang, “PCB-YOLO: An Improved Detection Algorithm of PCB Surface Defects Based on YOLOv5s,” Sustainability, 15(7):5963,2023.

B. Du, “YOLO-MBBi: PCB Surface Defect Detection Method Based on Enhanced YOLOv5s,” Electronics, 12(13): 2821, 2023.

B. Hu and J. Wang, "Detection of PCB Surface Defects With Improved Faster-RCNN and Feature Pyramid Networks,” in IEEE Access, vol. 8, pp. 108335-108345, 2020.

F. Wang, “Laser-induced thermography: An effective detection approach for multiple-type defects of printed circuit boards (PCBs) multilayer complex structures,” Measurement, Vol. 206, 2023.

X. Y. Huo, “Development of a Real-time Printed Circuit Board (PCB) Visual Inspection System Using You Only Look Once (YOLO) and Fuzzy Logic Algorithms,” Journal of Intelligent & Fuzzy Systems: Applications in Engineering and Technology, Vol. 45, pp: 4139–4145.

G. Wang, “UAV-YOLOv8: A Small-Object-Detection Model Based on Improved YOLOv8 for UAV Aerial Photography Scenarios. Sensors,” 2023; 23(16):7190.

F. Y. Zhou, “A small sample nonstandard gear surface defect detection method,” Measurement, Vol. 221,2023.

J. Wang, “YOLOv7 Optimization Model Based on Attention Mechanism Applied in Dense Scenes,” Applied Sciences. 2023; 13(16):9173.

Downloads

Published

15-12-2023

Issue

Section

Articles