FICS-PCB: A Multi-Modal Image Dataset for Automated Printed Circuit Board Visual Inspection

Hangwei Lu, Dhwani Mehta, Olivia P. Paradis, Navid Asadizanjani, Mark M. Tehranipoor, Damon L. Woodard

TL;DR

Researchers at the University of Florida have released FICS-PCB, a massive, multi-modal dataset designed to push Automated Printed Circuit Board Visual Inspection (PCB-AVI) into the real world. By providing nearly 10,000 images with over 77,000 annotated components across varying scales, lighting, and sensors, this dataset reveals just how much "perfect" lab conditions have been masking the limitations of current inspection algorithms.

What Problem Does This Paper Address?

Printed Circuit Boards (PCBs) are the backbone of modern infrastructure, from satellites to self-driving cars. Ensuring they are free of defects or malicious hardware implants is a critical security concern. While Automated Visual Inspection (AVI) using computer vision has advanced significantly, it faces a "reality gap."

Most existing research relies on private datasets or public ones that are too "clean"—captured under perfect lighting with consistent camera angles. In practice, an inspection system might encounter different sensors, varying zoom levels, or harsh lighting. This paper addresses the lack of a diverse, publicly available benchmark that simulates these challenging, non-ideal real-world scenarios.

Methods

The authors didn't just collect images; they designed experiments to stress-test both traditional and modern computer vision approaches.

  1. Data Acquisition: They used two distinct setups:
  2. Digital Microscope (Leica DVM6): Provided high-precision control over illumination (three intensity levels) and scale (1x, 1.5x, and 2x magnification).
  3. DSLR Camera (Nikon D850): Captured high-resolution "macro" views to simulate a different sensor modality.
  4. Comparison of Approaches: They evaluated two categories of inspection methods:
  5. Feature Engineering: Traditional methods using RGB color features, Fourier descriptors (for shape), and a fusion of both, fed into Naïve Bayes or Multi-Layer Perceptron (MLP) classifiers.
  6. Deep Learning: Modern Convolutional Neural Networks (CNNs), specifically AlexNet and Inception-v3, to see if deep features are more robust to environmental changes.

Datasets

The primary contribution is the FICS-PCB dataset:

  • Scale: 9,912 images of 31 different PCB samples.
  • Annotations: 77,347 components (ICs, capacitors, resistors, inductors, transistors, and diodes) plus logos and markings.
  • Diversity: Includes variations in board color (green, red, blue, black) and size.
  • Comparison: Unlike previous datasets like DeepPCB (focused on traces) or PCB-DSLR (limited to ICs), FICS-PCB includes a wide variety of small components and explicit variations in lighting and scale.

Key Insights and Ideas

  • Illumination is the "Model Killer": The most significant finding was that lighting changes (moving from intensity 20 to 60) caused massive performance drops. Traditional color-based features were almost useless when the lighting shifted.
  • The "Scale" Trap: Models trained at 2x magnification often failed when tested at 1x. Shape-based features (Fourier descriptors) were particularly sensitive to these scale changes.
  • Deep Learning vs. Hand-Crafted Features: While deep learning models (Inception-v3) significantly outperformed traditional feature engineering, they were still not immune to "sensor shift" (training on a microscope and testing on a DSLR).
  • Appearance $\neq$ Function: The authors highlight that two resistors might look completely different, while a resistor and an inductor might look nearly identical, making visual-only classification a high-stakes game of "spot the difference."

Key Results

The researchers conducted four experiments (Exp1–Exp4) to measure accuracy degradation:

  • Baseline (Exp1): Under ideal, consistent conditions, Inception-v3 achieved >99% accuracy in binary classification (Resistor vs. Capacitor).
  • Illumination Shift (Exp2): When lighting changed, AlexNet’s accuracy dropped by 22%, while traditional color features saw a staggering 59.9% performance hit.
  • Scale Shift (Exp3): Moving from 2x to 1x magnification caused a 13.5% drop for Fourier-based shape descriptors.
  • Sensor Shift (Exp4): Moving from microscope images to DSLR images caused a 36.3% drop for RGB color features, though Inception-v3 remained relatively robust with only a 4% drop.

Limitations and Future Work

While FICS-PCB is a major step forward, the authors acknowledge several areas for growth:

  • Multi-class Complexity: The preliminary experiments focused on binary classification (resistors vs. capacitors). In multi-class scenarios, they observed a 35% performance drop, indicating that distinguishing between six or more component types is still a major challenge.
  • Modality Expansion: The authors plan to incorporate other modalities beyond visible light, such as X-ray or infrared, to detect internal defects or hidden malicious layers.
  • Dataset Evolution: As PCB technology shrinks and evolves, the dataset will need continuous updates to include newer component packages and denser board layouts.

Note: The FICS-PCB dataset is available for researchers at trust-hub.org.

Summary updated

BibTeX
@article{lu2020fics,
  author = {Hangwei Lu and Dhwani Mehta and Olivia P. Paradis and Navid Asadizanjani and Mark M. Tehranipoor and Damon L. Woodard},
  title = {{FICS-PCB: A Multi-Modal Image Dataset for Automated Printed Circuit Board Visual Inspection}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2020},
  url = {https://openreview.net/forum?id=VXtvvCXG0o7W},
}
Figure