Skip to main content
Log in

Printed circuit board inspection using computer vision

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

The inspection of electronic components, especially printed circuit boards (PCBs), has greatly benefited from the advancements in computer vision technology. With the miniaturization of electronic components, defects on PCBs are now often found in smaller or micro-sized forms. This poses a significant challenge for automated optical inspection methods to effectively detect and identify such small objects. The primary objective of this study is to address the issue of fault detection in printed circuit boards (PCBs). To achieve this, the study employs various image processing techniques to carry out the inspection process. These image processing operations play a crucial role in preparing the images for defect analysis. Once the image processing operations are completed, the study proceeds to classify the identified defects in the segmented regions using a support vector machine (SVM) classifier. The SVM classifier is trained to categorize the defects based on the extracted features and their respective class labels. This classification step plays a critical role in accurately identifying and characterizing the detected defects. To evaluate the effectiveness of this study, a comparison is made with earlier works in the field. This allows for a comprehensive assessment of the proposed methodology and its performance in comparison to existing approaches. By benchmarking against previous works, the study provides valuable insights into the advancements and improvements achieved in PCB defect detection.

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

Access this article

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
Fig. 8

Similar content being viewed by others

Data availability (data transparency)

Data available on request from the authors.

References

  1. Adibhatla VA, Chih H-C, Hsu C-C, Cheng J, Abbod MF, Shieh J-S (2020) Defect detection in printed circuit boards using you-only-look-once convolutional neural networks. Electronics 9(9):1547

    Article  Google Scholar 

  2. Alghassab MA (2022) Defect detection in printed circuit boards with pre-trained feature extraction methodology with convolution neural networks. Comput Mater Contin 70(1):637–652

    Google Scholar 

  3. Barker JA, Thornton JM (2003) An algorithm for constraint-based structural template matching: application to 3D templates with statistical analysis. Bioinformatics 19(13):1644–1649

    Article  Google Scholar 

  4. Baygin M, Karakose M, Sarimaden A, Erhan AKIN (2017) Machine vision based defect detection approach using image processing. In: 2017 international artificial intelligence and data processing symposium (IDAP). IEEE, pp 1–5

    Google Scholar 

  5. Chaudhary V, Dave IR, Upla KP (2017) Automatic visual inspection of printed circuit board for defect detection and classification. In: 2017 international conference on wireless communications, signal processing and networking (WiSPNET). IEEE, pp 732–737

    Chapter  Google Scholar 

  6. Chen Y, Storrs J, Tan L et al (2014) Detecting brain structural changes as biomarker from magnetic resonance images using a local feature based SVM approach. J Neurosci Methods 221:22–31

    Article  Google Scholar 

  7. Chen M-C, Chang W-J, Chen Z-H, Hsu C-H, Chiu Y-C, Jian-Ping S, Cheng T-S (2023) A PCBA solder joint defects inspection system based on deep learning technology. In: 2023 IEEE international conference on consumer electronics (ICCE). IEEE, pp 1–3

    Google Scholar 

  8. Dave N, Tambade V, Pandhare B, Saurav S (2016) PCB defect detection using image processing and embedded system. Int Res J Eng Technol (IRJET) 3(5):1897–1901

    Google Scholar 

  9. Guan M, Zhong Z, Rui Y, Zheng H, Xiongjun W (2019) Defect detection and classification for plain woven fabric based on deep learning. In: 2019 seventh international conference on advanced cloud and big data (CBD). IEEE, pp 297–302

    Chapter  Google Scholar 

  10. Guerra E, Villalobos JR (2001) A three-dimensional automated visual inspection system for SMT assembly. Comput Ind Eng 40(1-2):175–190

    Article  Google Scholar 

  11. Guo F, Guan S-a (2011) Research of the machine vision based PCB defect inspection system. In: 2011 international conference on intelligence science and information engineering. IEEE, pp 472–475

    Chapter  Google Scholar 

  12. Huang C-Y, Lin I-C, Liu Y-L (2022) Applying deep learning to construct a defect detection system for ceramic substrates. Appl Sci 12(5):2269

    Article  Google Scholar 

  13. Jiji GW, Johnson DuraiRaj P (2015) Content-based image retrieval techniques for the analysis of dermatological lesions using particle swarm optimization technique. Appl Soft Comput 30:650–662

    Article  Google Scholar 

  14. Khan MF, Alam A, Siddiqui MA, Alam MS, Rafat Y, Salik N, Al-Saidan I (2021) Real-time defect detection in 3D printing using machine learning. Mater Today: Proc 42:521–528

    Google Scholar 

  15. Kumar P, Shreekanth T, Prajwal MR (2020) Automated quality inspection of PCB assembly using image processing. Int J Image Graph Signal Process 10(3):13

    Article  Google Scholar 

  16. Li M, Yao N, Liu S, Li S, Zhao Y, Kong SG (2021) Multisensor image fusion for automated detection of defects in printed circuit boards. IEEE Sensors J 21(20):23390–23399

    Article  Google Scholar 

  17. Loh H-H, Ming-Sing L (1999) Printed circuit board inspection using image analysis. IEEE Trans Ind Appl 35(2):426–432

    Article  Google Scholar 

  18. Rehman SU, Thang KF, Lai NS (2019) Automated PCB identification and defect-detection system (APIDS). Int J Electr Comput Eng 9(11): 2088-8708

  19. Rezaei K, Agahi H, Mahmoodzadeh A (2022) A weighted voting classifiers ensemble for the brain tumors classification in MR images. IETE J Res 68(5):3829–3842

  20. Sabzi S, Abbaspour-Gilandeh Y, García-Mateos G, Ruiz-Canales A, Molina-Martínez JM (2018) Segmentation of apples in aerial images under sixteen different lighting conditions using color and texture for optimal irrigation. Water 10(11):1634

    Article  Google Scholar 

  21. Saif SS, Aras K, Giuseppi A (2022) Automated optical inspection for printed circuit board assembly manufacturing with transfer learning and synthetic data generation. In 2022 30th Mediterranean Conference on Control and Automation (MED) (pp. 318–323). IEEE

  22. Sezer A, Altan A (2021) Detection of solder paste defects with an optimization-based deep learning model using image processing techniques. Solder Surf Mt Technol 33(5):291–298

    Article  Google Scholar 

  23. Shao G, Zheng Y, Li T, Jianyi W, Luo J, Gao F, Ma J, Liu T (2021) An improved YOLOv3 network for PCB defect detection. In: 2021 China automation congress (CAC). IEEE, pp 1819–1823

    Chapter  Google Scholar 

  24. Singh KJ, Kapoor DS, Thakur K, Sharma A, Gao X-Z (2022) Computer-vision based object detection and recognition for service robot in indoor environment. Comput Mater Continua 72(1):197

    Article  Google Scholar 

  25. Tsai D-M, Chou Y-H (2019) Fast and precise positioning in PCBs using deep neural network regression. IEEE Trans Instrum Meas 69(7):4692–4701

    Article  Google Scholar 

  26. Wang L, Zhao Y, Zhou Y, Hao J (2016) Calculation of flexible printed circuit boards (FPC) global and local defect detection based on computer vision. Circuit World 42(2):49–54

  27. Wang K-J, Fan-Jiang H, Lee Y-X (2022) A multiple-stage defect detection model by convolutional neural network. Comput Ind Eng 168:108096

    Article  Google Scholar 

  28. Wu W-Y, Wang M-JJ, Liu C-M (1996) Automated inspection of printed circuit boards through machine vision. Comput Ind 28(2):103–111

    Article  Google Scholar 

  29. Yang C (2020) Machine learning and computer vision for PCB verification, p 53

  30. Yang J, Li S, Wang Z, Dong H, Wang J, Tang S (2020) Using deep learning to detect defects in manufacturing: a comprehensive survey and current challenges. Materials 13(24):5755

    Article  Google Scholar 

  31. Zhang C, Shi W, Li X, Zhang H, Liu H (2018) Improved bare PCB defect detection approach based on deep feature learning. J Eng 2018(16):1415–1420

    Article  Google Scholar 

  32. Zhang S, Ye F, Wang B, Habetler TG (2020) Semi-supervised bearing fault diagnosis and classification using variational autoencoder-based deep generative models. IEEE Sensors J 21(5):6476–6486

    Article  Google Scholar 

  33. Zhao W, Gurudu SR, Taheri S, Ghosh S, Sathiaseelan MAM, Asadizanjani N (2022) Pcb component detection using computer vision for hardware assurance. Big Data Cogn Comput 6(2):39

    Article  Google Scholar 

  34. Zhu W, Zeng N, Wang N (2010) Sensitivity, specificity, accuracy, associated confidence interval and ROC analysis with practical SAS implementations. NESUG proceedings: health care and life sciences, Baltimore, Maryland, vol 19, pp 67-76

  35. Zhu J, Wu A, Liu X (2018) Printed circuit board defect visual detection based on wavelet denoising. IOP conference series: materials science and engineering, vol 392, no. 6, p 062055. IOP Publishing

Download references

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed to the study conception and design. Material preparation, data collection and analysis were performed.

Corresponding author

Correspondence to G. Wiselin Jiji.

Ethics declarations

Ethical approval

Not Applicable.

Competing interests

The authors have no relevant financial or non-financial interests to disclose.

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

Rajesh, A., Jiji, G.W. Printed circuit board inspection using computer vision. Multimed Tools Appl 83, 16363–16375 (2024). https://doi.org/10.1007/s11042-023-16218-8

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-023-16218-8

Keywords

Navigation