Vision System Configurator

Describe the job: field of view, working distance, the smallest feature you need to see, and how fast the part moves. The configurator picks a standard lens for your sensor, draws the setup, and checks resolution, depth of field, motion blur, interface bandwidth, lens format, and lighting. The table at the bottom ranks 39 common sensors for the same job.

Your application

Part and field of view

Lens to part. The mechanical clearance from the lens barrel is a little shorter.

Part height range plus positioning tolerance.

px

3 to detect; 5–10 to measure.

Motion and frame rate

0 for a stationary part.

fps

Camera

Full sensor arrays; camera makers sometimes crop a few rows. The table below ranks every sensor for this job.

Lens

f/#

Red 625, green 525, blue 470, white ≈ 550.

px

Your system

—

Field of view

Pixels on the feature

Sensor in lens circle

Checks

Numbers

Lens—
Field of view (H × V)—
Magnification—
Pixel size on the part—
Pixels across smallest feature—
Depth of field—
Working f-numberN(1 + m)—
Airy disk on the sensor—
Diffraction MTF at Nyquist—
Motion blur—
Data rate—
Max frame rate on this interface—
Ideal focal length for this field—

Configuration

Lighting

Sensors that fit this job

—

Each sensor gets the longest standard focal length that still covers your field at your working distance. Rows that meet resolution, depth of field, and bandwidth come first, smallest sensor first. Click Use to load one above.

How the configurator works

The lens is a thin lens with its principal plane at the working distance \(s\) from the part. The sensor of width \(w\) and height \(h\) must see a field of at least \(W \times H\), so the magnification cannot exceed

\[ m_\text{max} = \min\!\left(\frac{w}{W}, \frac{h}{H}\right), \qquad f_\text{ideal} = \frac{m_\text{max}\, s}{1 + m_\text{max}}. \]

In automatic mode it picks the longest standard focal length at or below \(f_\text{ideal}\) (4, 5, 6, 8, 12, 16, 25, 35, 50, 75, or 100 mm), so the field is always covered. The actual magnification is then \(m = f/(s - f)\), each pixel of pitch \(p\) covers \(p/m\) on the part, and the smallest feature spans \(d\,m/p\) pixels.

Depth of field, diffraction, and motion

Depth of field uses the exact thin-lens limits with the acceptable blur \(c\) (in pixels) and hyperfocal distance \(H = f^2/(Nc) + f\), the same model as the lens selection calculator. The Airy disk at the sensor is \(2.44\,\lambda N(1+m)\), and the ideal-lens MTF at the sensor Nyquist frequency \(1/(2p)\) shows whether the optics or the pixels limit resolution.

Motion blur in pixels is the distance the part moves during the exposure divided by the pixel size on the part, \(v\,t_\text{exp}\,m/p\). Keep it under one pixel for measurement and under about two for detection. Rolling-shutter sensors also skew moving parts, because rows expose at different times.

Bandwidth and lens format

The data rate is pixels per frame × bytes per pixel × frame rate. The interface limits are practical sustained payloads after protocol overhead: about 115 MB/s for GigE, 380 MB/s for USB3, 1.15 GB/s for 10GigE, and 1.2 GB/s per CXP-12 link. The sensor's own maximum frame rate is not modeled, so check the camera datasheet as well.

A lens must project an image circle at least as large as the sensor diagonal. The configurator suggests the smallest standard lens format that covers the sensor and the usual mount for that format. C-mount covers sensors up to about 1.1″ (17.6 mm diagonal) with lenses rated for it; larger sensors need TFL-II, M42, F-mount, or M58 lenses.

Lighting

Lighting decides contrast, and contrast decides whether a feature that spans enough pixels is actually detectable. The suggestions follow standard practice: backlights for silhouettes and gauging, coaxial light for flat reflective parts, dome light for curved shiny parts, low-angle dark field for scratches and particles, and patterned backgrounds for transparent parts. The machine vision optics article covers the geometry in more depth.

Assumptions and limits