Detection of printed circuit board faults with FPGA-based real-time image processing


Aydın M., KAÇAR F.

Iran Journal of Computer Science, cilt.6, sa.4, ss.419-430, 2023 (Scopus) identifier

  • Yayın Türü: Makale / Tam Makale
  • Cilt numarası: 6 Sayı: 4
  • Basım Tarihi: 2023
  • Doi Numarası: 10.1007/s42044-023-00149-6
  • Dergi Adı: Iran Journal of Computer Science
  • Derginin Tarandığı İndeksler: Scopus
  • Sayfa Sayıları: ss.419-430
  • Anahtar Kelimeler: FPGA, Gaussian filter, HSV color space, Median filter, PCB fault detection, Real-time image processing
  • Marmara Üniversitesi Adresli: Hayır

Özet

In the electronics industry, flawless manufacturing of printed circuit boards (PCBs) is essential for producing high-quality consumer electronics products. This paper presents a real-time image processing method that uses field programmable gate arrays (FPGAs) to detect missing components, which is a critical type of failure in surface mount devices (SMDs) on PCBs. FPGAs can perform multiple parallel operations on the same clock signal, allowing for real-time image processing through high-speed data transfer. The OV7670 image sensor is used to capture the PCB image. With the VHDL code embedded in the FPGA, a PCB image in RGB444 format and a size of 320 × 240 is taken from the sensor. During the image acquisition process, median and gaussian filters are used to remove noise components and improve image quality. Additionally, an LED lighting ring is used to further reduce noise components. User keys on the FPGA allow for filter selection, the selection of the number of filters, and the display of missing components on the VGA monitor. The missing component selection displays any missing components using soldered fields. This process aims to eliminate human error and achieve faultless production without manual inspection, saving time and reducing costs in the production process.