Cameras & sensorsExplainer

When to use a line scan camera: motion, sync and light

Choose line scan or area scan from the line-rate formula: speed ÷ resolution, encoder sync, exposure budget and data rate, with worked belt-speed examples.

LumaSpec Vision12 min read Share on LinkedIn

On this page 9 sections
  1. 01When does a moving part make line scan the right choice?
  2. 02How do I size the line rate to belt speed and resolution?
  3. 03Why does an encoder decide whether the image is square?
  4. 04What data rate does the line rate create, and which interface carries it?
  5. 05How much light does the short exposure need?
  6. 06Which camera resolution fits the web width?
  7. 07When should you not use a line scan camera?
  8. 08What should you check before ordering?
  9. 09Questions

A line scan camera builds its picture one row of pixels at a time while the part travels past the lens. That single difference drives every choice around it: how fast the camera must clock, why an encoder belongs in the loop, and how bright the light has to be. This guide gives you the selection rule first, then the line-rate, exposure and data-rate formulas with worked belt numbers, the encoder check that keeps pixels square, and the interface math that follows from them. By the end you can commit to a camera, lens, light and interface for your belt, with a number behind each choice.

When does a moving part make line scan the right choice?

Choose a line scan camera when the part or web moves continuously past a fixed camera and the finished image must run without gaps: paper, foil, steel strip, glass, printed web, coated electrodes, or a conveyor of parts in free flow.

An area scan camera captures frames, and every frame has a boundary. A part longer than the frame, or moving faster than the frame rate allows, lands across two frames with a seam in the middle. The line scan cameras family removes that boundary in the travel direction: the sensor is one row, motion lays down the rows, and a 500 m roll of foil and a 5 mm label obey the same logic. Cross-web resolution scales cheaply too, from 2K to 16K on a single row.

Line scan also unwraps round parts. Rotate a roller, bottle or printed cup under the camera and you get a true 360° view with no perspective squeeze at the edges, which a fixed area camera cannot deliver in one image.

Three quick cases:

  • Continuous web or endless material — line scan, every time.
  • Part stops at the station — area scan; nothing moves, so there is nothing to build rows from.
  • Discrete parts moving with gaps — line scan with a part-present trigger, so each part starts its own image block.

The third case has its own walkthrough in the sensor-triggered, encoder-driven capture guide, and coated webs get a full worked example in the battery electrode web inspection guide.

How do I size the line rate to belt speed and resolution?

Divide web speed by the pixel size you need on the part: a belt at 300 mm/s inspected at 0.1 mm/pixel needs a 3,000 lines/s line rate, because 300 ÷ 0.1 = 3,000.

line rate (Hz) = web speed (mm/s) ÷ pixel size (mm) exposure cap (s) ≈ 0.5 × pixel size (mm) ÷ web speed (mm/s) data rate (MB/s) = line rate (Hz) × pixels per line × bytes per pixel ÷ 1,000,000
Line-scan camera line rate
Units
Pixel on the part
– mm
Line rate needed
– kHz
Longest exposure
– µs
Data rate
– MB/s
Lines per metre
–
Encoder setting
–

Square pixels: line rate = speed / pixel on the part; the exposure must end within one line period. Encoder: lines per pulse = (π × roller diameter / pulses per revolution) / pixel on the part.

Find line scan cameras Open the full calculator

Work Case A on paper — a 300 mm/s belt inspected at 0.1 mm/pixel:

  • Line rate: 300 ÷ 0.1 = 3,000 Hz.
  • Field of view on a 2,048-pixel line: 2,048 × 0.1 mm = 204.8 mm.
  • Data rate in mono 8-bit: 3,000 × 2,048 × 1 B = 6.1 MB/s.
  • Exposure cap for blur inside half a pixel: 0.5 × 0.1 ÷ 300 = 0.000167 s, or 167 μs, against a line period of 333 μs.

Every number follows from speed and pixel size alone. Halve the pixel size and the line rate doubles; double the belt speed and it doubles again. Leave margin on the camera side: a camera whose maximum clock sits within 25% of your requirement will crowd the exposure and the interface at the same time.

The LS-LCM-0016 is a 2K GigE line scan camera with a 7 μm pixel, a 58 kHz line rate and a TDI mode on an M42 mount.

Case A needs 3 kHz, so this camera runs at about 5% of its clock ceiling — the headroom you want, not the constraint.

Line scan cameras2K GigE line scan camera, 7 μm, 58 kHz, TDI, M42 (LS-LCM-0016)LS-LCM-0016
Lens mount
M42
Interface
GigE
Line length
2K
Pixel size
7 μm
$950.00View partBuild a system with it

The camera-side settings that follow from the rate are walked through step by step in how to set the line rate of a line scan camera.

Why does an encoder decide whether the image is square?

An encoder fires one camera line per measured step of travel, so belt-speed wobble changes the line rate with the part instead of stretching it: without that link, a 5% speed swing at a fixed line rate makes every row 5% too wide or too narrow.

Pixels are square only when one row lands per pixel-width of travel. Fix the line rate to a clock and the wobble goes straight into the geometry of the image. Tie the clock to a roller-mounted encoder and every row is recorded exactly where the part is at that moment, whatever the belt does between rows.

A line scan camera building an image line by line The camera images one thin line of the moving web per exposure, lit by a line light. An encoder on the conveyor triggers each line so the pixels stay square at any speed.one line per exposureLine scanline lightweb speed vencoderline rate = v / object pixelexposure < 1 / line rate
A line scan camera building an image line by line. The camera images one thin line of the moving web per exposure, lit by a line light. An encoder on the conveyor triggers each line so the pixels stay square at any speed.

The check is ticks per pixel. Mount a 2,048 pulses-per-revolution encoder on a drive roller of 200 mm circumference and you get 2,048 ÷ 200 = 10.24 ticks/mm. Case A needs 10 pixels/mm (1 ÷ 0.1), so the rig delivers 10.24 ÷ 10 = 1.02 ticks per pixel. Triggering one line per tick gives a travel pitch of 0.098 mm against a 0.100 mm optical pitch, about 2.4% anisotropy — invisible for defect detection. For gauging, set the camera's line divider so rows accumulate per exact pixel-width of travel.

Below one tick per pixel you cannot divide your way out: the fix is a higher pulse count or an electronic multiplier. The encoder ticks per pixel guide covers the divider math, and the quadrature wiring guide covers the A/B signals into the camera or frame grabber.

What data rate does the line rate create, and which interface carries it?

Multiply line rate by pixels per line by bytes per pixel: the slow example makes 6.1 MB/s (3,000 × 2,048 × 1), which any GigE port carries easily, while the fast example makes 328 MB/s (40,000 × 8,192 × 1), which rules GigE out.

Bytes per pixel is 1 for mono 8-bit and 3 for 8-bit RGB. Case B is a 2,000 mm/s foil line at 0.05 mm/pixel on an 8,192-pixel camera: it clocks at 2,000 ÷ 0.05 = 40,000 Hz and produces 40,000 × 8,192 × 1 B = 328 MB/s in mono. GigE delivers roughly 100 MB/s of usable payload after protocol overhead, so this one multiplication decides the interface.

Interface Usable payload Carries
GigE ~100 MB/s Case A at 6.1 MB/s, with room for colour
10GigE ~1,000 MB/s Case B mono at 328 MB/s
Camera Link (Full) ~850 MB/s Case B, through a frame grabber
CoaXPress (CXP-12) ~1,250 MB/s per cable Case B colour and faster webs
XoFLink Optical link over SFP+ 16K-class cameras in the range

Colour triples every figure: Case B in RGB moves 983 MB/s (3 × 327.7), past a single 10GigE port's comfort zone and into CoaXPress, Camera Link or XoFLink territory. The GigE Vision selection guide covers the network side, and the Camera Link frame grabber compatibility guide covers the grabber side.

How much light does the short exposure need?

Blur, not the sensor, caps exposure: hold motion within half a pixel and the 3 kHz line allows 167 μs, while the 40 kHz line allows 12.5 μs — over thirteen times less light per row, which is why fast webs live on strobed line lights.

Case B's cap works out at 0.5 × 0.05 ÷ 2,000 = 12.5 μs, exactly half its 25 μs line period. Per-row light at 12.5 μs is 13.4 times scarcer than at 167 μs, so the light must pay that factor back in irradiance or the rows go dark. Three levers exist, in the order to try them: a brighter strobed light, TDI, then binning.

Run the light in strobe mode from the camera's exposure signal, through a lighting controller built for short pulses. At 12.5 μs the LED's optical rise time is no longer free — a few microseconds of ramp eats a visible slice of the window — so measure the usable light the way the LED strobe rise time guide shows.

A line light must reach across the whole field, or the ends of every row go dark. Case A's field is 204.8 mm, and the line scan lights range runs from under 50 mm to over a metre of lit length. The LS-LSC-0527 is a 300 x 17 mm line light source rated at 87 W in red or 108 W in white.

That 300 mm of lit length covers the 204.8 mm field with margin for mounting tolerance.

Line scan lights300 x 17 mm Line light source, 87 W red / 108 W white (LS-LSC-0527)LS-LSC-0527
Size
200-400 mm
Connector
16M-6J
$1,009.00View partBuild a system with it

Case B's field is 409.6 mm. The LS-LSC-0017-L25 is a 24 V line scan light, 1092 mm long.

Line scan lightsLine scan light, 1092 mm long (LS-LSC-0017-L25)LS-LSC-0017-L25
Size
400 mm +
Voltage
24 V
from $2,809.00 · quotedView and quoteBuild a system with it

Its 1092 mm length covers the 409.6 mm field with room to spare for lens clearance over the web. Geometry is a separate choice from power: bright field for print and surface colour, oblique dark field for embossed scratches. The illumination techniques guide lays out both arrangements, and the line-light power guide does the irradiance arithmetic for fast lines.

When the light still cannot close the gap, TDI shifts charge along the direction of travel so several rows add their signal — the LS-LCM-0016 carries a TDI mode for this duty — and pixel binning trades resolution for light at the same clock.

Which camera resolution fits the web width?

Work from the smallest defect, not the catalogue: catching a 0.3 mm defect reliably takes about 3 pixels across it, which sets 0.1 mm/pixel and makes a 2,048-pixel line cover 204.8 mm — exactly Case A. The three-pixel rule comes from detection practice: a one-pixel spot is one noisy pixel among thousands, while a 3 × 3 patch stands clear of the noise floor. Tighten the spec to 0.15 mm defects and the same field needs 4,096 pixels.

Case B works from the other end: 409.6 mm ÷ 0.05 mm/pixel = 8,192 pixels, an 8K camera by definition. At the 40 kHz clock it feeds the 328 MB/s worked out in the interface section, so resolution and interface lock together.

The LS-LCM-0099 delivers an 8K mono line over 10GigE on an M72 mount.

Line scan camerasLine scan camera, 8K, 10GigE, Mono, 8192*4 resolution (LS-LCM-0099)LS-LCM-0099
Lens mount
M72
Interface
10GigE
Line length
8K
$1,439.00View partBuild a system with it

The field of view guide runs this calculation for other web widths and pixel pitches.

Sensor width, not pixel count alone, decides the lens. A 2,048 × 7 μm row is 14.3 mm wide and any 1-inch C-mount lens covers it; an 8K 7 μm-class row is 57.3 mm wide and needs a large-format lens in M58, M72 or V-mount. The LS-LSL-0023 is a 16K 5 µm line scan lens with a 116 mm focal length, a 127.2 mm working distance and a 60-90 mm image circle on a V-mount.

Line scan lenses16K 5µ line scan lens, 116 mm, V-mount, working distance 127.2 mm (LS-LSL-0023)LS-LSL-0023
Sensor format
Large format
Mount
V-mount
Image circle
60-90 mm
Focal length
100 mm +
$3,209.00View partBuild a system with it

Keep 10-20% of the image circle in reserve at the row ends, or vignetting darkens them; the vignetting guide separates that falloff from natural cosine falloff, and the line scan lens selection guide matches lenses to 4K, 8K and 16K rows. You can also browse the line scan lenses range by image circle and mount.

When should you not use a line scan camera?

Skip line scan when the part is stationary or the machine stops parts in front of the camera: with no travel there is nothing to build rows from, and an area scan camera with a fixed frame is simpler at every level.

  • Stationary or indexed part: area scan, with exposure sized from the same blur formula; the camera fps and shutter speed guide covers the frame-rate side.
  • Speed varies with no encoder and no motion control: rows distort, and no software fix reconstructs them reliably, so the encoder is not optional for measurement work.
  • Slow, low-resolution jobs below roughly 100 mm/s: the blur cap sits at 500 μs (0.5 × 0.1 ÷ 100), short enough for any area camera, and many area cameras offer a line scan mode for slow webs as a middle path.
  • No rigid bridge for camera, lens and light at a fixed working distance: line scan optics have no autofocus to fall back on, so the mechanical frame is part of the instrument.

One more honest limit: line scan raises the floor of the whole station. Encoder, lighting controller, strobe wiring and a stiff mount are not upgrades you bolt on later — they are the system. If the part is small, still and needs 5 μm measurement, a telecentric area-scan setup beats a line scan rig.

What should you check before ordering?

Check five numbers on paper before you order — line rate, ticks per pixel, data rate, exposure cap and light length; each is a minute of arithmetic here and each costs days to unwind during commissioning.

  1. Line rate at maximum belt speed, plus 25% margin, against the camera's maximum clock (Case A: 3 kHz; Case B: 40 kHz).
  2. Ticks per pixel at least 1, and 2 or more for gauging: encoder PPR ÷ roller circumference, divided into pixels per mm.
  3. Data rate in mono, then × 3 for colour, against the interface's usable payload with 20% headroom.
  4. Exposure cap at half a pixel of travel, with a strobe pulse width and rise time that fit inside it.
  5. Light length at field width plus ~15%, wavelength chosen for the surface, controller rated for the strobe current at that duty cycle.
  6. Lens image circle over sensor width with reserve, mount matching the camera, working distance fitting the mechanical bridge.

When the numbers fight — colour at 40 kHz is the usual fight — the trade is real and worth a human: send the belt speed and defect spec through the contact page and we will work it with you. To go from numbers to parts, start the camera step of the configurator, browse the line scan camera finder, or use the lights finder and lens finder once the widths and clocks above are settled. More reading along the same path lives on the cameras topic page.

Questions

What happens to the image when the roller diameter changes?

Ticks per millimetre scale with roller circumference, so a worn or swapped roller changes every row pitch. A 2,048 PPR encoder on a 200 mm roller gives 10.24 ticks/mm; on a 180 mm roller the same encoder gives 11.38 ticks/mm, about 11% finer rows than the optics expect, and the image compresses along travel. Recalculate ticks per pixel after any roller or encoder change.

Is a 2K camera enough for a 300 mm wide web?

A 2,048-pixel line across a 300 mm web resolves 0.146 mm per pixel (300 ÷ 2,048), so with the three-pixel rule it detects defects of about 0.44 mm and larger. If the defect specification is 0.2 mm, step up to a 4K camera: the same web then sits at 0.073 mm/pixel, which covers 0.22 mm defects.

What line rate does a 1 m/s belt need at 0.05 mm per pixel?

1,000 mm/s ÷ 0.05 mm = 20,000 lines per second. The blur cap sits at 0.5 × 0.05 ÷ 1,000 = 25 μs, half of the 50 μs line period, so the light must freeze motion inside 25 μs. A 2,048-pixel mono camera at that clock produces 41 MB/s (20,000 × 2,048 × 1 B), which GigE carries.

Does colour change the camera or interface choice?

It triples the data: the 40 kHz, 8K example moves 328 MB/s in mono but 983 MB/s as 8-bit RGB, past one 10GigE port's comfort zone and into CoaXPress, Camera Link or XoFLink territory. Colour sensors also need white light that is even across every colour row, or a mono camera with sequential red, green and blue strobes.

Do I need a frame grabber for a line scan camera?

Not for GigE, 10GigE or USB3 Vision cameras: they run to a standard network or USB port on the PC. Camera Link and CoaXPress cameras need a frame grabber or capture card, which adds cost but buys deterministic bandwidth at high clocks, and XoFLink cameras use their own optical capture hardware. Pick the interface from the data-rate math first, then buy the capture path it needs.