Four Cameras Around a Large Part: The Coverage Matrix Before the Count
Four cameras around a large part need a coverage matrix, not only a 90-degree ring. Map every critical feature, overlap and light direction before...
read more…
The reject window on a moving conveyor is set by geometry, not by the camera. It is the distance from the trigger point to the diverter, divided by the belt speed, minus the time the diverter needs to move. At 2 m/s and 1.4 m of travel, the window is 700 ms; a pneumatic pusher that takes 120 ms to extend leaves 580 ms for everything the vision cell does. The budget is written as a table of stages with a maximum value for each, filled in at the worst case rather than the average. If any stage is a guess, the cell has no budget and the reject rate will show it during the first week of production.
Start with the mechanical layout. Measure the distance along the belt from the point where the part is detected to the point where the diverter acts. Divide by the maximum belt speed. Subtract the time the diverter needs from the command to the part leaving the belt, not just the time the cylinder needs to move. The result is the total time the vision cell has, and it is the only number that matters for reject timing.
The left edge of the window is not zero either. The part has to be far enough into the camera’s field that a full image exists before the trigger, and the result must arrive before the diverter’s usable position. The usable window is shorter than the geometric one, and the difference is the margin that keeps a marginal part from being routed to the wrong lane.
Write the window for the minimum speed as well. A slow line gives more time, but it also changes the encoder behaviour and the exposure. A cell that is tuned at full speed can behave differently during a changeover crawl, and the reject window in milliseconds grows while the trigger position in millimetres stays the same. The conveyor redesign checklist covers the optical consequences of a layout change; this guide covers the timing consequences.
A latency budget is only useful when each stage has an owner. The trigger source, the camera, the interface, the processing software, the PLC and the actuator each add time, and each can be bounded by a specification or a measurement. The table below is the structure, not a set of claimed values; fill in the maximum for your own hardware.
| Stage | What it includes | How to bound it |
|---|---|---|
| Detection to trigger | Sensor debounce, PLC scan, trigger output | PLC scan time plus output delay, measured |
| Trigger to exposure | Camera trigger latency, opto-isolator delay | Camera datasheet maximum |
| Exposure | Integration time for the required light | Set by motion blur and aperture |
| Readout and transfer | Sensor readout, interface serialisation | Line time times rows, plus interface |
| Processing | Acquisition, preprocessing, decision | Measured at the configured image size |
| Output to PLC | Result transfer, PLC input scan | Scan time plus protocol overhead |
| Actuator | Valve, cylinder or servo from command to contact | Mechanical measurement at pressure |
The table forces the conversation that usually happens after the first missed reject. If the camera is specified at 100 µs trigger latency and the interface adds 4 ms for a full frame, the frame size is part of the timing decision. A smaller region of interest, a shorter exposure and a narrower field can all buy time, and each of them changes the lens or the lighting requirement.
Exposure time has to be short enough that the part moves less than the allowed blur during the integration. At 2 m/s, a 250 µs exposure moves the part 0.5 mm; a 1 ms exposure moves it 2 mm. The allowed blur is set by the measurement tolerance, and the exposure that achieves it is set by the available light, the aperture and the sensor sensitivity.
This is where the lens and the timing budget meet. A wider aperture collects more light and allows a shorter exposure, but it reduces the depth of field and may soften the image at the edges. A narrower aperture sharpens the depth but demands more light, which lengthens the exposure and eats the reject window. The FA machine vision lens range is built around this trade-off, and the budget should name the aperture and the exposure it assumes rather than leaving them to the commissioning engineer.
The lighting adds its own delay. A strobe that is triggered by the camera and reaches full output after a few microseconds is not a problem; a controller that needs a settling time before the flash is. The strobe crosstalk test shows why the lighting chain should be measured as part of the cell timing, not treated as an independent setting.
A fixed-focus lens has no settling time, which is one reason it is the default for a high-rate reject line. A variable-focus lens has to move between parts, and the settling time is part of the cycle. A liquid lens that focuses in about 20 ms is fast in optical terms, but 20 ms is 4 percent of a 500 ms window and more than that of a short one. If the cell changes focus between part types, the settling time has to be reserved for the parts that need it, and the trigger has to wait for the focus to finish.
The same rule applies to autofocus routines that hunt. A hunt is unbounded, so it cannot be part of a fixed budget. Either the focus position is recalled from a recipe and verified with a short check, or the cell accepts a variable cycle that is not compatible with a fixed reject window. The lens selection guide covers the focus options; the timing budget decides which of them can be used.
A measured average of 80 ms does not mean every part is decided in 80 ms. Trigger jitter, network contention, garbage collection, a full queue or a PLC scan that lands on the wrong side of the result all add time to individual parts. The budget needs a maximum and a distribution, and the acceptance test should look at the slowest parts, not the mean.
The practical target is a margin at the worst case. If the window is 580 ms and the measured maximum is 400 ms, the cell has 180 ms of headroom for a slow frame or a busy controller. If the maximum is 560 ms, the cell will work on the bench and miss parts on a busy Monday. Jitter is measured by timestamping every result over a long run and looking at the tail.
A missed trigger is more dangerous than a slow one. If the camera does not trigger and the software reuses the previous result, the cell may reject a good part or pass a bad one with a confident label. The interface between vision and PLC should carry a sequence number or a part counter, and the PLC should treat a missing number as a fault, not as a repeat.
The same applies to the result queue. If the vision software can produce results faster than the PLC consumes them, the queue can deliver an old result to a new part. A handshake with an acknowledge, a sequence number and a timeout makes the stale case visible. It also gives the acceptance test something to log: every part has an identity, a trigger time and a result time. The PLC side of that handshake depends on the scan cycle and the input module update; the automation controller reference is the place to confirm how the chosen controller schedules inputs and outputs.

Run the cell at the minimum and maximum line speed with a set of marked parts. Log the trigger time, the result time and the diverter command for each part. Repeat enough parts to see the tail, and include a part that is presented at the edge of the trigger sensor’s coverage. The factory acceptance record should show the window, the maximum measured latency, the margin and the number of parts tested at each speed.
Add a fault test. Block the trigger deliberately and confirm that the PLC reports a missing part instead of reusing the last result. Disconnect the network for one cycle and confirm that the cell fails safe. These tests are cheap on the bench and expensive to discover in production.
The record should also name the recipe. If the line speed, the exposure or the focus position changes with the product, the budget changes with it. A signed record that covers one recipe is not a record for the cell.
Building a reject cell around a conveyor? Fix the window and the exposure first; the lens has to deliver the light and the depth of field that the timing allows. Review the FA lens options against the budget.
There is no universal number. Target the reject window minus the actuator time and a margin, and measure the maximum rather than the average.
Only the readout and transfer stage. Exposure, processing, PLC scan and the actuator can dominate, and those are unchanged by the camera.
Only if every stage is reduced or the diverter is moved closer. A higher speed shortens the window in milliseconds and usually lengthens the required exposure.
Reserve the settling time, trigger after focus is confirmed, or use a fixed-focus lens for the high-rate recipe.
The window at each speed, the measured maximum latency and margin, the number of parts tested, and the fault tests for a missed trigger and a dropped result.
A cell that can show its reject budget on one page can be commissioned in an afternoon. A cell that cannot will be commissioned by trial, one missed part at a time.