How to Choose an FA Lens for Machine Vision
To choose an FA (factory automation) lens, match it to your camera’s sensor size and resolution, then pick the focal length that gives the field of view you need at your working distance. After that, check the minimum working distance, distortion and depth of field, and choose a lens built for your environment. This guide walks through each step with a worked example, using our FA lens range as a reference.
1. Start with the camera’s sensor size
The lens must project an image circle at least as large as the camera’s sensor diagonal. A lens made for a smaller sensor leaves the corners of the image dark (vignetting). A lens made for a larger sensor works fine on a smaller one; for example, our 4/3″ 20MP FA lens is backward compatible with 1″ and 2/3″ cameras.
| Sensor format | Typical active area (mm) | Diagonal (mm) |
|---|---|---|
| 1/1.8″ | 7.2 × 5.4 | 9.0 |
| 1/1.7″ | 7.6 × 5.7 | 9.5 |
| 2/3″ | 8.8 × 6.6 | 11.0 |
| 1″ | 12.8 × 9.6 | 16.0 |
| 1.1″ | 14.1 × 10.3 | 17.5 |
| 4/3″ | 17.3 × 13.0 | 21.6 |
These are typical values. The exact size depends on the sensor, so check your camera’s datasheet.
2. Match the lens resolution to the camera’s pixels
A lens must resolve detail at least as fine as the camera’s pixels, or the extra megapixels are wasted. Smaller pixels need a sharper lens. A useful rule of thumb is that the lens must resolve 1000 ÷ (2 × pixel size in μm) line pairs per mm:
- 3.45 μm pixels need about 145 lp/mm
- 2.4 μm pixels need about 208 lp/mm
- 1.85 μm pixels need about 270 lp/mm
This is why FA lenses are rated by megapixels and sensor format. Our 1.1″ 25MP FA lens is optimised for 2.4 μm sensors such as the Sony IMX540 and IMX183, and our 1/1.7″ 12MP FA lens for 1.85 μm sensors such as the Sony IMX226.
3. Work out the focal length from field of view and working distance
The field of view (FOV) is the area you need to see. The working distance (WD) is the distance from the front of the lens to the object. For typical FA set-ups, where the working distance is much larger than the focal length:
Focal length ≈ sensor width × working distance ÷ field-of-view width
Worked example: you need to inspect a part 100 mm wide from 300 mm away, using a 5MP camera with a 2/3″ sensor (about 8.8 mm wide).
- Focal length ≈ 8.8 × 300 ÷ 100 = 26.4 mm
- Choose the nearest standard focal length below it, 25 mm, so the part fits with a small margin
- Check: 8.8 × 300 ÷ 25 = 105.6 mm field of view
- Resolution on the part: 105.6 mm ÷ 2,448 pixels ≈ 0.043 mm per pixel, so defects of about 0.13 mm (3 pixels) can be detected reliably
A 25 mm lens from our 1″ 5MP FA series covers this 2/3″ camera with room to spare. Rounding down to a shorter focal length gives a slightly wider view; rounding up crops the edges of the part.
4. Check the minimum working distance
Every lens has a minimum object distance (MOD), the closest it can focus. Longer focal lengths usually need more distance. In our 1″ 5MP series, the 25 mm lens focuses from 0.1 m, while the 75 mm lens needs at least 0.8 m.
If the camera has to sit closer than the MOD, use a macro FA lens, which works at 52 to 546 mm with up to 0.8x magnification, or add an extension ring to shorten the focusing distance.
5. Watch distortion if you are measuring
Shorter, wider-angle lenses usually show more distortion, which bends straight lines and affects measurements near the image edges. In our 1″ 5MP series, the 12.5 mm lens has under 1.8% distortion, while the 25 to 75 mm lenses stay under 0.1%.
For alignment and presence checks, low single-digit distortion is usually fine. For precise dimensional measurement, choose a longer focal length or calibrate the distortion in software. If parts can sit at different heights, consider a telecentric lens, which keeps magnification constant as the distance changes. Our guide on how to choose a telecentric lens explains how to pick one.
6. Balance aperture, depth of field and lighting
The aperture (F-number) controls both brightness and depth of field. A higher F-number, such as F8, keeps more of the part in focus but lets in less light, so you need brighter lighting or longer exposure. A lower F-number, such as F2.8, gathers more light for fast-moving lines but gives a shallower depth of field. Set the aperture during testing with your actual lighting.
7. Choose a lens built for your environment
- Vibration and shock: on robotic arms and moving machinery, an anti-vibration FA lens with a rugged structure and fixed aperture keeps focus stable.
- Changing object heights: an auto-focus FA lens refocuses under RS232 control, and a liquid lens refocuses electronically within milliseconds.
- Mount: all our FA lenses use the industry-standard C-mount. Adapters are available for other camera mounts.
Quick checklist
- Note the camera’s sensor format and pixel size
- Choose a lens rated for that sensor format (or larger) and resolution
- Calculate the focal length from your field of view and working distance
- Confirm the working distance is above the lens’s minimum object distance
- Check distortion if you are measuring
- Set the aperture for your depth of field and lighting
- Pick an anti-vibration or auto-focus version if the environment needs it
Frequently Asked Questions
FA stands for factory automation. FA lenses are fixed focal length industrial lenses used in machine vision for alignment, dimensional measurement and surface inspection.
For most FA set-ups, focal length is roughly the sensor width multiplied by the working distance, divided by the field-of-view width. For example, an 8.8 mm wide sensor at 300 mm from a 100 mm wide part needs about 26 mm, so a 25 mm lens fits.
Yes. A lens for a larger format covers a smaller sensor fully, though the field of view is narrower than on the larger sensor. Using a lens made for a smaller sensor than your camera causes dark corners.
Choose a telecentric lens for precise measurement where part height or position varies, because its magnification stays constant over its working range. FA lenses are more compact and cost-effective for alignment, positioning and general inspection.
Not sure which lens fits your application? Contact our team with your camera model, field of view and working distance, and we will recommend a lens.
