LensCamera

The Eyes of Industrial Automation: A Guide to Cameras and Lighting - Part 7

In industrial machine vision systems, selecting the right lens requires evaluating parameters such as sensor size, field of view (FOV), and working distance through precise mathematical calculations. In this section, we explore the engineering steps that must be followed for a flawless optical setup—from detail detection criteria on static lines to motion blur management in dynamic systems.

The Eyes of Industrial Automation: A Guide to Cameras and Lighting - Part 7

In the previous section, we examined the fundamental parameters that play a role in lens selection, from field of view to depth of field. However, knowing the theoretical parameters is not enough in an industrial machine vision project; these values must be combined with physical constraints in the field and mathematical formulas to calculate the correct lens. Every scenario, from static parts undergoing precise measurement to dynamic systems on high-speed conveyor belts, requires its own unique engineering approach. In this part of our series, we cover the step-by-step Lens Calculation and Selection processes and how to optimize optical systems according to the speed of the production line.

3.3 Lens Calculation and Selection In industrial imaging systems, selecting the right lens is one of the most critical design steps that directly affects system performance, image quality, and measurement accuracy. Lens selection is executed by jointly evaluating numerous variables such as sensor characteristics, Field of View (FOV), Working Distance (WD), resolution requirements, and optical distortion limits.

Therefore, lens selection is not merely an optical preference, but also a geometric and system-level engineering problem.

3.3.1 Fundamental Lens Calculation Methods The lens selection process is systematically carried out using a specific engineering approach. The fundamental steps followed during the design process are as follows:

  1. Determining the area to be imaged (object size).

  2. Mechanically fixing the working distance (WD).

  3. Selecting the appropriate sensor size.

  4. Determining the required field of view (FOV).

  5. Back-calculating the appropriate focal length.

  6. Checking the optical distortion and resolution performance.

These steps form the basic design workflow to optimize both the geometric accuracy and optical performance of the system.

Lens calculations primarily utilize sensor size, working distance, and field of view parameters. The required FOV value is determined based on the size of the area to be imaged, and the appropriate focal length is calculated accordingly. The ratio between the physical size of the sensor and the area to be imaged is the fundamental parameter that dictates the system geometry.

Furthermore, the pixel size and targeted measurement precision directly affect the system's resolution requirements, playing a decisive role in lens selection.

Lens tables provided by lens manufacturers also serve as a crucial reference source during the selection process. These tables contain technical information such as sensor format, working distance, angle of view, and focal length. The designer uses these tables to verify theoretical calculations and select the most suitable lens for the application.

Fundamental parameters to consider for correct lens selection:

  • Sensor size

  • Pixel size and resolution

  • Field of View (FOV)

  • Working Distance (WD)

  • Object size and measurement precision

  • Magnification ratio

  • Optical distortion tolerance

3.3.2 Resolution and Detectability in Static Systems In systems where the object is stationary or motion is not a factor, the primary criterion is the system's ability to distinguish the smallest details. This is directly related to optical resolution and sensor performance.

It is generally accepted that for a detail to be reliably detected, it must be represented by at least 3 pixels. This criterion directly impacts the system's defect detection and measurement accuracy.

In addition, the system's magnification ratio is verified based on the ratio between the sensor size and the field of view. This ratio determines whether the image is correctly scaled onto the sensor and is of critical importance for measurement accuracy.

3.3.3 Motion Blur in Dynamic Systems In systems where the object is in motion, such as on production lines, one of the most important parameters dictating image quality is motion blur. Motion blur is the loss of sharpness resulting from the object's movement during the exposure time.

In general engineering practice, unless sub-pixel processing is utilized, the goal is to keep motion blur at or below 1 pixel.

In this case, system performance depends on parameters such as object speed, exposure time, and field of view. While reducing the exposure time decreases motion blur, it simultaneously creates a need for higher light intensity. Therefore, the optical system and lighting must be optimized together during system design.

To achieve the correct resolution in dynamic systems, both camera parameters and lighting conditions must be evaluated concurrently.

In summary; lens selection is not simply browsing a catalog and picking a product; it is a critical engineering calculation where all variables—from resolution to exposure time, and from part speed to pixel-based precision—are managed collectively. While we capture details using the 3-pixel rule in static systems, we can achieve flawless imaging by keeping motion blur below 1 pixel on dynamic lines.

Now that we have mathematically verified our camera lens and lighting configuration, we can transition to the system component that will convert these light waves gathered from the scene into electrical signals.

In the next part of our series, we will bring the topic of Industrial Camera Types and Sensor Technologies—the digital eyes of machine vision systems—to the table. Stay tuned!