TopGrain AI

Application guide — AI factory inspection

What an inspection station has to satisfy

An inspection cell is a data-rate and trigger problem before it is a model problem. A 5.1 MP camera running at 67 fps produces about 343 megapixels per second; four of them put 1.4 gigapixels per second on one compute box, and every frame has to be tied to the same trigger as the part's position. Get that wrong and the best model still sees a smeared part.

Reference configuration, not a customer case. Reference configuration, not a customer case. Sensor figures come from the product pages; the throughput and rate figures are arithmetic on those numbers and are labelled as such. No inspection cell, yield figure or customer is claimed here.

Frame rate is the first budget

Before choosing a camera, work out how many bytes per second the cell will actually produce. It decides the interface, the compute and how long a run can go before the disk fills.

Payload per camera at its maximum rate

Pixels per frame times bytes per pixel (12-bit RAW = 1.5 B/px, 8-bit = 1 B/px, YUV422 = 2 B/px), times the frame rate published on each product page.
CameraResolutionBytes per frameFrame ratePayload
LI-IMX568-GMSL2 (12-bit)2472 x 20647.65 MB67.2 fps514 MB/s
LI-IMX568-GMSL2 (8-bit)2472 x 20645.10 MB96.2 fps491 MB/s
LI-AR0234CS-YUV-GMSL21920 x 12004.61 MB30 fps138 MB/s
LI-IMX390-GMSL2 (12-bit)1937 x 12173.54 MB60 fps212 MB/s

What a run costs in storage

Continuous recording at the payload above, before compression. A full shift is longer than this table suggests once you add the second and third camera.
PayloadPer minutePer hour10-minute run
514 MB/s (one IMX568)30.8 GB1.85 TB308 GB
138 MB/s (one AR0234CS)8.3 GB497 GB83 GB
4 x 138 MB/s33.1 GB1.99 TB331 GB

This is why an inspection cell usually keeps detections and thumbnails rather than raw video. The choice is not storage policy — it is decided by the camera and frame rate you picked in the first place.

A reference configuration

One cell: a high-resolution inspection camera, a camera that ships already tuned, a compute module small enough to live in the cell, and the arm that presents the part.

Cameras, compute and handling

Every part links to its own page; the middle column is copied from that page's parameter table.
PartWhat the datasheet givesWhy it sits here
Inspection cameraLeopard LI-IMX568-GMSL2Sony IMX568 Pregius S, global shutter, 2472 x 2064, 8/10/12-bit RAW, 96.2 / 79.1 / 67.2 fps by bit depth, 50 or 105° horizontal, IP67, -30 to +75 °CGlobal shutter is non-negotiable on a moving part; 5.1 MP is where a 0.2 mm defect still occupies several pixels at a realistic standoff.
Camera with built-in ISPLeopard LI-AR0234CS-YUV-GMSL2AR0234CS global shutter, 1920 x 1200, YUV422 8-bit, 30 fps, AP1302 ISP, 60 or 122° horizontal, IP67, 100 mA at 12 VYUV output means debayer, exposure and tone are done on the camera; the host gets frames it can feed straight to a model, at a third of the IMX568's payload.
Edge computeNVIDIA Jetson Orin Nano Super developer kit67 TOPS, 6-core Arm Cortex-A78AE, 8 GB LPDDR5 at 102 GB/s, 2x MIPI CSI-2 22-pin, M.2 Key M NVMe, 7–25 W25 W fits inside a cell enclosure without a fan rack, and two CSI connectors cover a two-camera station directly — more cameras need a carrier board, which is a different BOM.
Presentation armRealman ECO636 DoF, 3 kg payload, 900 mm standard / 917 mm force-sensing reach, ±0.05 mm repeatability, 2.8 m/s TCP, DC 24 VReach decides whether the camera can stay fixed: ±0.05 mm repeatability over ~900 mm is what lets a fixed camera keep the part in frame without a tracking loop.
Alternative armRealman RM656 DoF, 5 kg payload, 610 mm / 627 mm reach, 7.2 kg, ±0.05 mm repeatability, DC 24 VShorter reach, higher payload — the pick when the part is heavy and the cell is compact rather than the other way round.

The trade-offs that decide the bill

Resolution is the visible choice; the three that actually cost money are less obvious.

Global shutter, or the part smears

A rolling-shutter camera reads the frame line by line; a part moving at 0.5 m/s under a 5 ms readout is displaced across the image. IMX568 and AR0234CS are both global shutter, which removes the problem at the source rather than trying to correct it later.

RAW gives you control and costs you compute

IMX568 at 12-bit RAW needs debayer, white balance and tone mapping on the host before a model sees it — and that is 514 MB/s of it. AR0234CS delivers YUV422 at 138 MB/s with the ISP already applied, at the cost of fixing the look in the camera.

Two CSI connectors is a real limit

Orin Nano Super exposes two MIPI CSI-2 22-pin connectors. A six-camera cell needs an aggregator or a different carrier, which changes the interface, the power and the enclosure. Decide the camera count before the compute module.

Repeatability decides the mount

ECO63 repeats to ±0.05 mm over a 900 mm reach. If that is the real tolerance, a fixed camera with a 105° lens covers the whole envelope and the calibration is done once. If the arm is less repeatable, the camera has to follow the tool and every frame needs a pose.

Trigger, interface and environment

Four things that decide whether the cell produces usable frames a month after commissioning.

Trigger from the line, not from software

A hardware trigger from the PLC or encoder keeps every frame tied to the part's position. Software timestamps inherit USB scheduling and OS jitter, which is exactly the error that makes a defect appear to move between frames.

Pixels per defect, not megapixels

At a 300 mm standoff with a 50° lens, the field of view is roughly 280 mm wide; across 2472 pixels that is about 0.11 mm per pixel. A 0.2 mm defect is under two pixels — lighting and lens quality then decide whether it is visible at all.

Heat inside the enclosure

The module is rated 7–25 W and the camera -30 to +75 °C, but both sit inside a cell that may also hold a 24 V arm drive. The enclosure needs an airflow path sized for continuous inference, not for a demo.

Interface distance

GMSL2 over FAKRA Z coax is what lets the camera sit at the cell and the compute box sit outside it. Plan the cable route and the connector strain relief in the same drawing as the bracket, because both fail in the same way — intermittently.

What we need before quoting

These answers turn a camera list into a station that resolves a specific defect.

  • The smallest defect to detect, in millimetres or micrometres, and the standoff it is inspected from
  • Cycle time and parts per minute the cell must hold
  • How the part is presented: on a moving belt, in a fixture, or held by the arm
  • Lighting available or planned — backlit, structured, or ambient factory light
  • Camera count and whether all of them run at full rate simultaneously
  • Cost of a false accept against a false reject, which sets how conservative the model may be
  • Environment: coolant, dust, washdown, and the ambient temperature range

Where this page stops

  • Pixels per defect is arithmetic on the sensor and the field of view. Whether a defect is actually visible depends on lighting, lens and surface finish, none of which is measured here.
  • No detection accuracy, cycle-time result or yield improvement is claimed. Those are properties of a commissioned cell, not of a parts list.
  • The payload figures are uncompressed sensor rates. Compression, region of interest and frame skipping change them, and that is a software decision.
  • We supply the cameras, compute and handling hardware and support selection, interface bring-up and integration. This page does not claim a delivered inspection cell.