Study and Design of an Automatic Printed Circuit Board (PCB) Defect Detection System Using Deep Learning and Computer Vision
Loading...
Date
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
University of M'Sila
Abstract
Printed Circuit Boards (PCBs) are the backbone of modern electronics, yet their complex
manufacturing makes them prone to microscopic defects that compromise reliability and
cause significant economic losses. To overcome the limitations of subjective manual
inspection and classical Automated Optical Inspection (AOI) systems, this research proposes
an intelligent, fully automated defect detection system using deep learning and the YOLOv8
framework. The system is designed to precisely localize and classify six critical bare PCB
defects in real time. By benchmarking three model variants (YOLOv8n, YOLOv8s, YOLOv8m)
using the DeepPCB dataset, the experimental results demonstrated that YOLOv8s offers the
optimal balance between high detection accuracy and computational efficiency for industrial
environments. The final optimized model achieved an outstanding Precision of 0.98 and a
mean Average Precision (mAP@0.5) of 0.99. These results strongly validate the system’s
robustness and accurate classification capabilities, presenting a cost-effective and reliable
solution for integrating smart inspection technologies into modern manufacturing pipelines .