Technology
The architecture of an inspection station
Camera, edge GPU, GPU pipeline, compiled models and PLC I/O. Each layer has one job, and every verdict is made on the line.
The stack, layer by layer
- Camera + lightingGigE Vision area-scan camera, strobed ring, dome or bar light, hardware trigger from the line.
- Jetson OrinEdge GPU module in the line cabinet. Runs every model on site; no frame leaves the plant to be judged.
- DeepStreamZero-copy capture, batching and pre-processing on the GPU; one pipeline per camera.
- TensorRT enginesAnomaly, detector and segmentation models compiled to FP16 or INT8 engines for this exact module.
- I/O to PLCReject pulse on a digital output or Modbus TCP coil, plus verdict, image and model version in the log.
- Camera + lighting
GigE Vision area-scan camera, strobed ring, dome or bar light, hardware trigger from the line.
- Jetson Orin
Edge GPU module in the line cabinet. Runs every model on site; no frame leaves the plant to be judged.
- DeepStream
Zero-copy capture, batching and pre-processing on the GPU; one pipeline per camera.
- TensorRT engines
Anomaly, detector and segmentation models compiled to FP16 or INT8 engines for this exact module.
- I/O to PLC
Reject pulse on a digital output or Modbus TCP coil, plus verdict, image and model version in the log.
Three kinds of model
Anomaly detection
BetaA PatchCore-style model (Roth et al., 2022) learns what good parts look like from features of a pretrained network. It needs no defect images to start, which is what small plants have.
Defect detector
EvaluatingFor defects that must be named and counted (missing component, wrong part), a pretrained detector is fine-tuned with NVIDIA TAO Toolkit on a few hundred labelled images.
Segmentation for measurement
In developmentA segmentation network outlines the defect or edge; a calibration target turns pixels into millimetres so a burr can be accepted or rejected against its tolerance.
Time budget per part
At 60 parts per minute a station has 1,000 ms per part. This is how we plan to spend it on a Jetson Orin NX.
| Step | Target | Detail |
|---|---|---|
| Trigger and exposure | 4 ms | Photo sensor to end of strobed exposure |
| Image transfer | 20 ms | 1920×1200 mono frame over GigE Vision |
| GPU pre-processing | 6 ms | Debayer or normalise, crop and resize in DeepStream |
| Anomaly model | 38 ms | PatchCore-style model, TensorRT FP16 |
| Detector | 22 ms | TAO-fine-tuned detector, TensorRT INT8 |
| Decision and logging | 10 ms | Rules, measurement, write record to queue |
| PLC output | 5 ms | Digital output or Modbus TCP coil |
| Total per part | 105 ms | Against 1,000 ms available at 60 parts per minute |
Times and rates on this page are design targets, not measured results.
GPU workloads
| Workload | NVIDIA technology | Why it needs a GPU | Status |
|---|---|---|---|
| Capture and pre-processing | DeepStream on Jetson Orin | Full-resolution frames handled without copying through the CPU | In development |
| Anomaly and detector inference | TensorRT | Deep networks within a 105 ms budget, FP16 and INT8 | In development |
| Detector fine-tuning | TAO Toolkit | Transfer learning on GPUs from a few hundred images | Evaluating |
| Multi-station serving | Triton Inference Server | Many models and cameras on one plant GPU server | Evaluating |
| Synthetic defect data | Omniverse Replicator | Rendering rare defects that real lines seldom produce | Planned |
| Inspection copilot | NIM (vision-language model) | Explaining a reject in plain language and drafting new checks | Planned |
Engineering principles
The line never waits on the cloud
Verdicts are made on the device. Network loss delays reports, never rejects.
Every verdict is traceable
Image, score, threshold and model version are stored together, so any decision can be replayed.
Models ship like code
A new version must beat the old one on a frozen test set before it reaches a station, and can be rolled back in one step.
Fail safe, not silent
If the camera, light or model is unhealthy, the station stops passing parts and raises an alarm.
Public benchmarks we test against
Before a model touches a customer line, it is checked on public datasets so results can be compared with published work.
MVTec AD
15 categories of objects and textures with pixel-level defect masks (Bergmann et al., CVPR 2019). The standard benchmark for unsupervised anomaly detection.
VisA
12 subsets including PCBs, capsules and complex multi-instance scenes (Zou et al., ECCV 2022). Closer to real lines than MVTec AD.
We will publish our own benchmark numbers in the research notes once measured. None are claimed here.
See the pipeline run
The live demo runs a classical inspection pipeline in your browser so you can watch each step.