Electronics Manufacturing
Contract electronics manufacturer, India
Updated

Edge AI PCB Inspection for a Contract Electronics Manufacturer

Discuss a Similar Engineering Problem
Edge AI PCB Inspection for a Contract Electronics Manufacturer
Overview

Project Overview

EmbedCrest engineered a high speed edge AI quality inspection system for a contract electronics manufacturer. The project combined our embedded and computer vision engineering, deploying NVIDIA Jetson AGX Orin modules running custom deep learning pipelines to inspect PCB assemblies at production line speed. Our embedded developers designed a cascaded architecture combining YOLO v8 object detection with a specialized solder defect classification network, trained on 85,000 annotated production images and optimized for real time inference using TensorRT INT8 quantization. The pipeline covers 23 defect categories with a design target under 200ms of processing time per board. EtherCAT integration enabled closed loop feedback to the SMT line for automated process correction. EmbedCrest delivered this turnkey system from our engineering office in Kalyan, including hardware design, model training, production line integration and operator training.

The Challenge

Business Problem

The client, a contract electronics manufacturer producing PCB assemblies for automotive and industrial customers, was seeing defects escape its SMT production line. Manual visual inspection caught obvious defects like missing components and tombstoned resistors, while subtle solder joint defects, insufficient paste deposits and micro cracks went undetected until field failures. At high production volumes, escaped defects translated into warranty claims and eroded customer trust. The client needed a computer vision inspection system integrated directly into its high speed production line.

Constraints

Technical Constraints

  • NVIDIA Jetson AGX Orin modules running air gapped on the factory network
  • Four industrial GigE cameras with telecentric lenses for top and angled views
  • Line speed design target of 1.2 boards per second, under 200 ms per board
  • 23 solder joint defect categories plus component presence and placement checks
  • EtherCAT link to the pick and place controller for closed loop correction
  • Structured lighting dome with diffuse, directional, dark field and backlight patterns
Architecture

Inline vision station with closed loop feedback

Cameras under a structured lighting dome capture each board, Jetson AGX Orin modules run a cascaded detector and defect classifier with TensorRT, and results feed the pick and place controller over EtherCAT and a quality dashboard without cloud dependency.

  1. Step 1

    Optics and lighting

    Four GigE cameras, telecentric lenses and a four quadrant LED lighting dome

  2. Step 2

    Edge compute

    Jetson AGX Orin modules running TensorRT INT8 inference pipelines

  3. Step 3

    Vision models

    YOLO v8 component detector cascaded with a joint level solder defect classifier

  4. Step 4

    Line integration

    EtherCAT feedback to the pick and place controller and reject diversion to quarantine

  5. Step 5

    Quality dashboard

    Live defect trends, pareto charts and statistical process control for quality engineers

  6. Step 6

    Retraining loop

    Logged inspector overrides feeding weekly model retraining cycles

Inline vision station with closed loop feedback
EmbedCrest Scope

What Our Team Delivered

  • Designed the multi camera inspection station, optics and structured lighting
  • Trained the cascaded YOLO v8 and solder defect models on 85,000 annotated production images
  • Optimized inference with TensorRT INT8 quantization on Jetson AGX Orin
  • Integrated EtherCAT closed loop feedback with the pick and place controller
  • Built the quality dashboard with defect trends, pareto charts and statistical process control data
  • Delivered production line integration, a calibration wizard and operator training
Approach

Engineering Approach

EmbedCrest developed a multi camera edge AI inspection system using NVIDIA Jetson AGX Orin modules running custom computer vision pipelines. Four high resolution industrial cameras with telecentric lenses captured top view and angled images of each PCB at a line speed design target of 1.2 boards per second. A cascaded deep learning architecture combined a YOLO v8 object detector for component presence and placement verification with a custom defect classification network covering 23 distinct solder joint defect categories including cold solder, bridging, voiding and insufficient wetting. The system was trained on a curated dataset of 85,000 annotated PCB images collected over six months from the client's production lines. We optimized the inference pipeline using TensorRT with INT8 quantization, with a design target under 200 milliseconds total processing time per board across all four camera views. Results were fed back to the pick and place machine controller via EtherCAT for real time closed loop process correction, and a custom dashboard displayed live defect trends, pareto charts and statistical process control data to quality engineers. The entire system ran air gapped on the factory network with no cloud dependency for inference.

Execution

Phases, Testing and Handover

  1. Dataset collection

    Annotated PCB images were collected from the client's production lines over six months to train the component detector and the solder defect classifier.

  2. Model and pipeline build

    The cascaded YOLO v8 and defect classification models were optimized with TensorRT INT8 quantization to fit the per board processing budget across four camera views.

  3. Line integration

    The station was mounted on the existing SMT conveyor, connected to the pick and place controller over EtherCAT and run air gapped on the factory network.

  4. Tuning and handover

    Confidence tiers routed uncertain boards to human review, override data fed weekly retraining, and operators were trained on the station and its calibration wizard.

Acceptance criteria

  • Line speed design target of 1.2 boards per second, with under 200 ms processing per board across four views
  • Coverage of 23 solder joint defect categories plus component presence and placement checks
  • Closed loop feedback to the pick and place controller over EtherCAT
  • Air gapped operation on the factory network with no cloud dependency for inference

Dependencies

  • 85,000 annotated images collected over six months from the client's production lines
  • The existing SMT conveyor and the pick and place controller's EtherCAT interface
  • Human inspectors reviewing mid confidence detections and supplying override data for weekly retraining
Results

Measured Results

Measured results are published only after the client approves the figures together with their baseline, test conditions and measurement method. Ask us about outcomes during a call.

Artifacts

Engineering Evidence

  • System block diagram (shown on this page)
Lessons

Lessons, Limitations and Next Phase

  • New board designs need the component detector fine tuned on golden samples, while the joint level classifier generalizes without retraining.
  • Human review of mid confidence detections avoids unnecessary line stops and supplies the data used for retraining.

Next phase

Identical inspection stations were being deployed at additional electronics manufacturing facilities.

Tech Stack

Technologies Used

  • NVIDIA Jetson AGX Orin
  • YOLO v8
  • TensorRT
  • EtherCAT
  • Industrial GigE cameras
  • Telecentric optics
  • Python
  • C++ (inference engine)
  • React (dashboard)
  • PostgreSQL
  • ONNX Runtime

Have a similar engineering problem?

Share a short brief; an engineer replies within one business day. How engagements work

Discuss a Similar Engineering Problem
FAQs

Frequently Asked Questions

How does the system handle new PCB designs that were not in the training dataset?

The system uses a two phase approach for new designs. First, the YOLO v8 component detector is fine tuned on the Jetson AGX Orin using a small set of 200 to 300 golden sample images from the first production run. Second, the solder defect classifier is design agnostic as it operates on cropped individual joint images, so it generalizes across board designs without retraining.

What lighting and camera setup ensures consistent image quality?

We use a custom structured lighting dome with four quadrants of independently controlled LED arrays providing diffuse, directional and dark field illumination. Telecentric lenses eliminate perspective distortion across the entire field of view, keeping magnification consistent regardless of component height. The lighting sequence cycles through four illumination patterns per board capture, revealing different defect types: diffuse light for component presence, directional light for solder joint topology, dark field for surface cracks, and backlighting for through hole fill verification.

Can this system be deployed at other manufacturing facilities?

Yes, the architecture is modular and designed for replication. The edge computing unit, camera array and lighting dome are packaged as a self contained inspection station that mounts directly onto existing SMT conveyor systems. The station software includes a calibration wizard that automates camera alignment, focus adjustment and lighting optimization for each new installation.

How are false positives managed to avoid unnecessary production line stops?

The system uses a confidence tiered response strategy. Detections with a confidence score above 0.95 trigger immediate reject and diversion to a quarantine bin. Detections between 0.80 and 0.95 flag the board for secondary review by human inspectors, who can confirm or override the AI decision. All override data is logged and used for weekly model retraining cycles to keep false positives under control.

Facing a Similar Engineering Problem?

Share a short brief; an engineer replies with questions, a suggested approach and next steps.

Discuss a Similar Engineering Problem