Bare Printed Circuit Board Defects Localization and Detection Using YOLOv5 Models

A printed circuit board (PCB) is a vital component of any electronic device. Over the years, the need to manufacture PCBs in large volumes has become a necessity due to technological advancement and the expansion of the consumer market. Small defects in the PCB signal trace can have adverse consequences on the functionality of an electronic device. Initially, the quality control process of PCB inspection was carried out manually which was not only tedious but also susceptible to human error. To automate this process, different techniques were developed using classical machine vision that comprised reference comparison, subtraction of images and morphological operations. The methods were effective and reduced inspection time but were sensitive to noise, rotation, and scaling of images. It was difficult to detect defects in complex patterns and only a small fraction of defects could be detected through classical techniques. In this study, four YOLOv5 models were tested for the classification and localization of defects in PCBs. Transfer learning on the bare PCB defect dataset was implemented using pretrained weights of YOLOv5. The PCB dataset was composed of 2,079 images with 6 classes of PCB defects. Data augmentations were carried out to increase the dataset which enhanced performance and generalizability of the models. The models were trained and tested at different image resolutions. Promising experimental results were achieved with the medium YOLOv5 model reaching a mean average precision of 96.92%.

Authors

Institutions

Publication Details

Published
2024-12-18
DOI
https://doi.org/10.1109/icrai62391.2024.10894537
Citations
1
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Bare Printed Circuit Board Defects Localization and Detection Using YOLOv5 Models

Muhammad Usman Akram, Tahir Nawaz, Amir Hamza, Umar Shahbaz Khan et al.
1 citations
Industrial Vision Systems and Defect Detection
0.35
article

Bare Printed Circuit Board Defects Localization and Detection Using YOLOv5 Models

Muhammad Usman Akram, Tahir Nawaz, Amir Hamza, Umar Shahbaz Khan, Wajih Ahmed Khan
article en
1 citations

Abstract

A printed circuit board (PCB) is a vital component of any electronic device. Over the years, the need to manufacture PCBs in large volumes has become a necessity due to technological advancement and the expansion of the consumer market. Small defects in the PCB signal trace can have adverse consequences on the functionality of an electronic device. Initially, the quality control process of PCB inspection was carried out manually which was not only tedious but also susceptible to human error. To automate this process, different techniques were developed using classical machine vision that comprised reference comparison, subtraction of images and morphological operations. The methods were effective and reduced inspection time but were sensitive to noise, rotation, and scaling of images. It was difficult to detect defects in complex patterns and only a small fraction of defects could be detected through classical techniques. In this study, four YOLOv5 models were tested for the classification and localization of defects in PCBs. Transfer learning on the bare PCB defect dataset was implemented using pretrained weights of YOLOv5. The PCB dataset was composed of 2,079 images with 6 classes of PCB defects. Data augmentations were carried out to increase the dataset which enhanced performance and generalizability of the models. The models were trained and tested at different image resolutions. Promising experimental results were achieved with the medium YOLOv5 model reaching a mean average precision of 96.92%.

National University of Sciences and Technology (PK)
Openalex Percentile: Top 31%
Industrial Vision Systems and Defect Detection
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Bare Printed Circuit Board Defects Localization and Detection Using YOLOv5 Models — Muhammad Usman Akram, Tahir Nawaz, et al. · (2024) | TGRS Research Map | TGRS