Line scan camera parameters are all computed, not chosen: sensor length sets cross web accuracy, line rate matches web speed, and one wrong number stretches the image into garbage. The arithmetic is short and worth memorising.
Cross web resolution is field width over pixel count: a 100 mm field on an 8192 pixel sensor gives a 12.2 micron pixel, and with the 3 pixels per feature rule the minimum detectable feature is about 37 microns. Sizing goes backwards too: detecting 0.1 mm defects over a 150 mm field needs a pixel no coarser than 0.033 mm, so at least 4545 pixels, which lands on 6144 or 8192 with margin. The lens closes the loop: object side pixel equals sensor pixel divided by magnification, and with a telecentric lens the magnification error is negligible.
Line rate must match web speed: line rate equals speed over line height, where line height is the object side pixel. At 0.5 m/s and 25 microns the line rate is 20 kHz. Too low compresses the image vertically and deforms features; too high stretches it. Encoder triggering is the standard answer: pulses correspond to fixed travel, say one per 25 microns, so belt speed wander stays synchronised and the image never stretches; a fixed line rate without an encoder turns every speed fluctuation into a warped frame. Also compute the data pipe: 8192 pixels at 20 kHz and 8 bit is roughly 1.6 GB/s, which the frame grabber and cable must carry.
Calibration follows the area scan idea with a twist: use a known reference for the pixel scale, and verify both directions separately since cross web comes from pixel count while web direction comes from line rate and speed. Lighting runs along the scan line with a bar light or backlight, and lens depth of field absorbs web flutter. The classic errors: trusting the nominal lens magnification instead of measuring, since assembly error shifts it 2 to 5 percent; mis set encoder division producing periodic stretching; and bandwidth overruns tearing lines out of the image. Accept with a standard test plate and measure both directions, because only both passing counts.
| Parameter | Formula | Example |
|---|---|---|
| Cross web pixel | Field over pixel count | 100 mm over 8192 ≈ 12.2 µm |
| Minimum feature | 3 times pixel | 3 × 12.2 ≈ 37 µm |
| Line rate | Speed over line height | 500 mm/s over 25 µm = 20 kHz |
| Data bandwidth | Pixels × rate × bit depth | 8192×20k×8bit ≈ 1.6 GB/s |
| Encoder division | Pulse equals line height | One pulse per 25 µm |
| Backward sizing | Pixels ≥ field over feature/3 | 150 mm for 0.1 mm takes 6144+ |
Use this table for line scan sizing and acceptance arithmetic. Compute pixels from feature and field, line rate from speed, then verify bandwidth and encoder configuration. Measure the pixel scale instead of trusting nameplates, and accept only after both directions pass on a test plate.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Electrical safety per GB/T 5226.1 and IEC 60204-1; grabber and cable bandwidth per the relevant specifications. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.