# High-Speed Solder Joint Inspection with Quantized CNNs

## metadata
- title: High-Speed Solder Joint Inspection with Quantized CNNs | Klyff Case Study
- route: /resources/case-studies/high-speed-solder-joint-inspection
- industry: Electronics & SMT Assembly
- technology: Quantized CNNs & Hailo-8
- pdf_path: /assets/case-studies/high-speed-solder-joint-inspection.pdf
- format: case_study_detail

## Executive Overview
A Tier-1 Electronics Manufacturing Services (EMS) provider suffered from a 15% false-positive defect rate on high-speed Surface Mount Technology (SMT) lines. By moving deep learning inspection from central factory servers directly onto Hailo-8 edge vision accelerators at the camera lens, Klyff reduced inspection latency to 8ms, keeping pace with 450-component-per-second lines without micro-stoppages.

## Problem Statement
SMT Bottlenecks and False Rejection Stoppages
- Traditional rule-based Automated Optical Inspection (AOI) produced a 15% false reject rate, requiring constant manual microscope audits.
- Streaming 4K PCB images to local shop-floor servers caused network congestion and 120ms latency spikes, triggering line stoppages.
- Micro-defects such as solder bridging, tombstoning, and voiding under BGA chips frequently escaped heuristic inspection algorithms.
- Component variations across rapid production changeovers required days of manual lighting calibration.

## Technical Architecture & Solution
Lens-Level Quantized CNN Acceleration
- Developed a multi-defect quantized CNN optimized for INT8 execution on Hailo-8 AI vision accelerators (26 TOPS).
- Coupled the model directly to the camera's high-speed image sensor via zero-copy frame buffers, executing inference at the glass level.
- Built synthetic defect augmentation loops to train the model on rare solder irregularities without slowing production.
- Integrated instant rejection rejector triggers communicating with SMT pick-and-place lines via sub-millisecond GPIO pulses.

## Measured Results & Impact
Throughput & Quality Transformation
- **8 ms** (Inference Latency): Dropped from 120ms down to 8ms, outrunning maximum SMT line conveyor velocities.
- **< 0.2%** (False Call Rate): Slashed false positives from 15% to negligible levels, eliminating operator rework queues.
- **$12,000** (Monthly Line Savings): Direct savings in rework labor and PCB scrap prevention per high-volume SMT line.

Deploying quantized deep neural networks directly into the camera head eliminated factory network bottlenecks and set a new standard for high-speed electronic quality verification.

## PDF Download
Download the original verified case study report at: https://klyff.com/assets/case-studies/high-speed-solder-joint-inspection.pdf
