The machine vision system is only as good as its lens.

By Wade Cook and Will Barker

Lens Performance Machine Vision article

The temptation when choosing a lens for a machine vision system is to want more of everything—resolution, field of view, temperature range—because the system is only as good as its lens. Unfortunately, increasing lens performance usually increases one or more of size, weight, and cost. This article examines some trade offs encountered when choosing a lens, then considers when a custom-designed lens might be the right choice.

For article as it appeared in Quality magazine:  click here.

For purposes of this article, the following definitions apply:

  • An element is a single piece of curved, polished glass used in a lens. A lens is a combination of elements with mechanical components to hold the elements in the correct orientation.
  • The surfaces of spherical elements are sections of spheres. The surfaces of aspherical elements, which are considerably more difficult to manufacture, have slight departures from sphericity.
  • Resolution is the ability of the lens to distinguish features separated by a small distance (or small angle). Higher resolution means that smaller features, closer together, can be distinguished. (The increase in pixel count in digital sensors is driving demand for higher resolution lenses.)
  • Field of View (FOV) is that portion of the object for which the lens forms an image onto the sensor. Field of view can be defined as an area or as an angular extent. (A larger sensor requires a larger FOV.)
  • Back Working Distance is the distance from the last surface of the lens to the image plane.
  • Optical Speed is a measure of the light gathering ability of the lens. A lens with lower f-number is said to be faster than a lens with a higher f-number.
  • Wavelength Range is that portion of the spectrum of light over which the lens provides the desired performance. (The popularity of LEDs drives demand for lenses with good performance in deep blue wavelengths.)
  • Shock and Vibration Resistance is the ability of the lens to perform while (or after) being subjected to mechanical shock and vibration.
  • Operating Temperature Range is the lower and upper temperature limits between which the lens is required to perform.

Lens Design Variables and Impact on Size, Weight and Cost

Parameter Size Weight Cost Reasons for Change
Resolution 0 0 Stricter tolerances required for fabrication and assembly.
Field of View (non-telecentric) 0/↑ 0 0 Lens often tends to get shorter but wider.
Field of View (telecentric) Front aperture must be as large as FOV for telecentric lens.
Optical Speed (i.e. f-number decreases) Larger aperture requires larger diameter glass elements and often more elements and stricter tolerances on element fabrication and lens assembly.
Wavelength Range 0 At some point, an increased wavelength range will require more glass elements and a larger variety of glass types.
Shock and Vibration Resistance 0 Elements and mechanical components must be more robust.
Operating temperature range 0 0 Lens will require a greater variety and complexity of mechanical components. May require exotic glass types.
Adding aspherical elements Aspherical elements can allow equivalent performance in smaller package size compared to spherical elements.

The arrows in the table above shows the change in size, weight, and cost of a lens that one should expect when the parameter in the far-left column is increased, with all other parameters held equal. A zero indicates no significant change. If a parameter in the left column were decreased, then the arrows in that row would reverse direction while the zeros would remain zeros.

Two caveats apply: First, these tendencies are rules-of-thumb, not absolutes. Exceptions exist, especially when a clever designer looks for them. Second, it is rare that only one parameter at a time would be changed and all others held equal. A change to a lens design would usually include changes to multiple parameters at the same time.

Focal length is a special case. A lens design generally becomes more complex if the lens size stays constant while focal length increases. On the other hand, lens complexity also increases if back working distance is held equal but focal length is decreased. Increased complexity almost always results in a more expensive lens.

Designers of catalog lenses try to balance these performance and expense trade-offs in a way that works for a range of applications. The customer must then search for the best available combination of performance, size, weight, and cost.

Particularly demanding applications may justify a custom lens. A good designer can help ensure that a customer pays for the performance he or she wants without also paying for performance that is not needed.

Catalog lenses will always be cheaper than custom lenses, but for some combinations of performance requirements and production quantities a custom lens will be a better value. Specifications such as constrained size, light weight, ruggedness, extended wavelength range, or low distortion may justify a custom lens.

Wade Cook, vice president, business development, and Will Barker, senior optical designer, both of JML Optical Industries.

Click here for article in PDF format >