Open Access iconOpen Access



Algorithmic Scheme for Concurrent Detection and Classification of Printed Circuit Board Defects

Jakkrit Onshaunjit, Jakkree Srinonchat*

Faculty of Engineering, Rajamangala University of Technology Thanyaburi (Main Campus), Khlong Luang, Pathum Thani, 12110, Thailand

* Corresponding Author: Jakkree Srinonchat. Email: email

Computers, Materials & Continua 2022, 71(1), 355-367.


An ideal printed circuit board (PCB) defect inspection system can detect defects and classify PCB defect types. Existing defect inspection technologies can identify defects but fail to classify all PCB defect types. This research thus proposes an algorithmic scheme that can detect and categorize all 14-known PCB defect types. In the proposed algorithmic scheme, fuzzy c-means clustering is used for image segmentation via image subtraction prior to defect detection. Arithmetic and logic operations, the circle hough transform (CHT), morphological reconstruction (MR), and connected component labeling (CCL) are used in defect classification. The algorithmic scheme achieves 100% defect detection and 99.05% defect classification accuracies. The novelty of this research lies in the concurrent use of CHT, MR, and CCL algorithms to accurately detect and classify all 14-known PCB defect types and determine the defect characteristics such as the location, area, and nature of defects. This information is helpful in electronic parts manufacturing for finding the root causes of PCB defects and appropriately adjusting the manufacturing process. Moreover, the algorithmic scheme can be integrated into machine vision to streamline the manufacturing process, improve the PCB quality, and lower the production cost.


Cite This Article

J. Onshaunjit and J. Srinonchat, "Algorithmic scheme for concurrent detection and classification of printed circuit board defects," Computers, Materials & Continua, vol. 71, no.1, pp. 355–367, 2022.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 2063


  • 1141


  • 0


Share Link