Resources

Optics Fundamentals

A short course in the optics behind a camera: where image quality is decided, how to read a datasheet, and how IR affects focus.

Start here

Most lens problems are decided before the first drawing.

A lens is not chosen by one number. Field of view comes from focal length and sensor size; usable corners come from image circle and chief ray angle; night performance comes from aperture, filter wavelength and pixel size. These thirteen answers cover the checks that decide whether a design works in the product, not only on the bench.

They are written for engineers who specify lenses, and for buyers who have to read a datasheet without an optics background. Sensor part numbers such as IMX307, IMX335, IMX415 and AR0234 appear as worked examples — format names alone hide the differences that decide whether a lens works.

Questions

Thirteen answers, in the order they usually come up.

01 · How do I know whether a lens covers my sensor?

Compare the lens image circle with the sensor diagonal, not its width. A lens designed for a 1/2.8-inch sensor will physically screw onto a 1/1.8-inch board, but the corners fall outside the corrected field — illumination drops, MTF collapses and colour shifts.

  • Formats group by diagonal, not by name: IMX307, IMX335 and IMX415 all sit on a 1/2.8-inch format of about 6.4 mm, so one lens covers all three. A 1/1.8-inch part such as the IMX678 measures about 8.9 mm — the same lens will not cover it.
  • Typical diagonals: 1/2.8-inch about 6.4 mm, 1/1.8-inch about 8.9 mm, 2/3-inch about 11 mm, 1-inch about 16 mm.
  • Keep 5–10% margin for assembly tilt and holder tolerances.
  • A square sensor is the harder case: its diagonal is 1.41 times its side.
02 · Why is a 1-inch sensor 16 mm across and not 25.4 mm?

The name comes from the era of vacuum-tube camera sensors. The tube outer diameter included its glass envelope, which plays no part in imaging; the usable area inside a 1-inch tube was about 16 mm across. The number stayed as an industry convention long after the tubes disappeared.

This is why format names are shorthand, not measurement. Always confirm coverage with the active array dimensions from the sensor datasheet.

03 · What is the difference between optical TTL and mechanical TTL?

Optical total track runs from the first lens surface to the image plane. Mechanical total track runs from the barrel front face to the image plane. The mechanical figure is always the larger of the two, and it is the one that decides whether the lens fits behind a bezel.

When a drawing gives a single “TTL” number, ask which definition is used. On short barrels for compact devices, the difference can be a meaningful fraction of the available depth.

04 · EFL, BFL and flange back — what is the difference?
  • EFL (effective focal length) — from the lens principal plane to the focal point; the number that sets field of view.
  • BFL (back focal length) — from the last optical surface to the focal plane; the space available for the sensor package and filter.
  • Flange back — from the mount reference face to the sensor plane; the number that decides whether the lens can reach focus in your housing.

All three appear on a datasheet because they answer different questions: field, clearance behind the glass, and mounting depth.

05 · Does a lower f-number always mean a better lens?

No. The f-number is the focal length divided by the entrance pupil diameter, so a lower number means a larger aperture: more light, shallower depth of field, and usually a larger, heavier, more expensive lens.

The trade is real. At f/1.8 the acceptable focus window at close range narrows quickly, focus and CRA errors become more visible, and the wide cone makes coating and stray-light control harder. A fast lens is the right answer when the light budget demands it, not a default quality marker.

06 · Which distortion type am I looking at?
  • Barrel — straight lines bow outward; typical of wide-angle lenses.
  • Pincushion — lines bow inward; typical of telephoto designs.
  • Moustache (complex) — barrel in the centre, pincushion at the edge; common in wide zoom designs.

For dimensional measurement and robot guidance, total distortion usually needs to stay under 1%, and often under 0.5%. For consumer viewing, 2–8% is acceptable if the ISP corrects it, but correction costs pixels at the edge.

07 · Relative illumination of 60% — is that bad?

It is normal for a wide lens. Sixty percent at the corner means the corner receives about one stop less light than the centre, which the ISP can correct with a shading table.

It becomes a problem when the corner is also the noisiest part of a night image, or when colour shift follows the falloff. In that case a lens with higher relative illumination, or a smaller aperture, is the better fix than pushing the correction further.

08 · What IR-cut wavelength should I specify?

The cut-off follows the application, not a default:

  • 650 nm — visible-light imaging; blocks near-IR so colours stay neutral in daylight.
  • 850 nm — the common choice for security and night vision; high sensitivity, but a faint red glow is visible at the emitter.
  • 940 nm — face recognition and discreet illumination; less visible glow, lower sensor sensitivity, so the light budget has to be planned more carefully.

Pair the filter with the sensor, not only with the illuminator. NIR-sensitive parts such as the IMX307 or IMX462 are usually run at 850 nm; a 940 nm design gives up a noticeable amount of signal, so the same lens needs more light or a faster aperture.

A filter never makes an image brighter: every filter absorbs some wavelengths. Specify the illumination wavelength first, then choose the filter to match.

09 · Why do corners go purple or dark when lens and sensor CRA do not match?

Chief ray angle is the most oblique ray a pixel can still collect, and sensor microlenses are designed around a specific curve. When the lens CRA runs higher than the sensor, the most oblique rays land outside the microlens and colour shading appears. When it runs lower, the corner simply loses light — luma shading.

Neither shows up on a collimator. Datasheets for parts such as the IMX335 or the AR0234 publish a CRA curve against image height — compare the whole curve, not a single maximum angle. Then confirm on the production sensor with the final cover glass stack.

10 · How do pixel size, sensor size and binning relate?

Sensor size is pixel size multiplied by the pixel count. A 4.4 µm pixel array of 1600 × 1200 gives an active area of about 7.04 × 5.28 mm.

Binning combines neighbouring pixels of the same colour into one readout. A 48 MP sensor with 0.8 µm pixels becomes a 12 MP sensor with an effective 1.6 µm pixel — lower resolution, better low-light performance. The same logic explains why a 4K part like the IMX415, at 1.45 µm, is harder on the lens than a 2 MP IMX307 at 2.9 µm: smaller pixels raise the spatial frequency the lens has to hold. This matters for lens selection: the spatial frequency the lens must resolve is set by the pixel size actually used, not by the headline megapixel count.

11 · Global shutter or rolling shutter — does it change the lens choice?

It changes the exposure, and therefore the specification. A global shutter exposes every pixel at the same instant, which is what moving subjects and machine vision need. A rolling shutter reads line by line; it is cheaper and common in consumer devices, but fast motion skews.

Typical rolling-shutter parts in this market are the IMX307, IMX335 and IMX415. Global-shutter machine-vision parts such as the AR0234, IMX392 and IMX568 remove skew, but they set a different lens brief: pixel sizes around 3 µm, tighter distortion limits, and often a C-mount or M12 barrel with a defined flange back.

For a rolling-shutter product, shutter time has to stay short, which pushes the design toward a faster aperture or more illumination. For a global-shutter product, the constraint usually moves to resolution and distortion instead.

12 · Plastic moulded lenses or moulded glass — how do I choose?

Plastic elements are injection-moulded, inexpensive in volume, and can carry complex aspheric surfaces in a single part. Their weakness is thermal: the refractive index and the barrel expand at different rates, so focus moves more over temperature.

Moulded glass holds focus and colour better over temperature and is the safer choice for automotive, outdoor and precision measurement. It costs more, because mould wear is high and cycle times are long.

A common compromise is a glass-plastic hybrid — glass where thermal stability matters, plastic where the asphere earns its place.

13 · Why does a custom lens cost so much and take at least three months?

Because the schedule is dominated by iteration, not by drawing. A typical programme runs: requirement review, first-order layout, optimisation and tolerancing, trial mould, sample build, MTF and distortion measurement, mould correction, re-measurement, pilot run, then mass production.

Each loop through the mould consumes weeks. Tooling, metrology and engineering time are front-loaded, which is why a first article is expensive and a mature platform is not.

Need a lens matched to your sensor?

Send the sensor datasheet, working distance and field of view. We will confirm image circle, CRA and focus shift before a sample is built.

Ask an Optics Question →

Scroll to Top