Lenses & opticsGuide

Concentricity measurement of features at different heights

Calibrate once, mid-depth, for concentricity measurement across an 8 mm height step: telecentric rule, two-calibration fallback, depth of field math.

LumaSpec Vision11 min read Share on LinkedIn

On this page 11 sections
  1. 01The decision: focus midway, calibrate once — or twice, never halfway
  2. 02What the height step costs an ordinary lens
  3. 03Why telecentric scale ignores the height step
  4. 04Worked example: a 1.05 mm pin standing proud of a 20 mm housing
  5. 05Size your own set-up from the height step
  6. 06Three telecentrics that fit a 20 mm housing
  7. 07The ordinary-lens fallback: two calibrations, one per plane
  8. 08Bench checks before you run parts
  9. 09When the one-calibration answer is wrong
  10. 10Set-up checklist
  11. 11Questions

A drawing hands you a 1.05 mm pin that must run concentric to its 20 mm cylindrical housing, and the pin tip stands 8 mm closer to the camera than the datum face. One camera, one shot, two feature planes. The calibration question is real: a scale proven at one height is not automatically true at the other. This guide gives the decision for telecentric and ordinary lenses, the depth-of-field and scale arithmetic behind it, and a bench check that proves the calibration before parts run. The same logic covers any two-plane stack: flanges, steps, rings or marks at different heights on one part.

The decision: focus midway, calibrate once — or twice, never halfway

With an object-side telecentric lens, focus so the sharp depth range brackets both planes and calibrate once, with the grid anywhere inside that range. Put the focus plane midway, 4 mm in front of the housing face here, so both planes share the defocus margin. Telecentric magnification does not depend on object distance, so one scale serves both heights, and chief rays parallel to the axis add no parallax shift.

With an ordinary lens, no single calibration is right. Calibrate twice, once with the grid at each height, and stop the iris down until both planes are sharp. A mid-plane calibration is the worst of the three choices: the next section prices its error at both heights.

For a 20 mm part this usually lands on telecentric lenses; the arithmetic below shows when they are not needed. If the gauging task itself is in question, start with when you need a telecentric lens for gauging.

Perspective with a standard lens compared with a telecentric lens Left: the same part at two distances appears at two sizes through a standard lens. Right: a telecentric lens accepts only rays parallel to its axis, so the part appears the same size at both distances.Standard lensfarnearsensorThe same part looks bigger when nearer:its measured size depends on distanceTelecentric lensOnly rays parallel to the axis enter:the same size at any distance
Perspective with a standard lens compared with a telecentric lens. Left: the same part at two distances appears at two sizes through a standard lens. Right: a telecentric lens accepts only rays parallel to its axis, so the part appears the same size at both distances.

What the height step costs an ordinary lens

Take an ordinary C-mount lens at 0.3x magnification with the housing plane at 110 mm working distance. From m = f/(WD − f), the focal length is f = m × WD / (1 + m) = 0.3 × 110 / 1.3 ≈ 25 mm. The pin plane sits at 102 mm, so its magnification is 25/(102 − 25) = 0.325, against 25/(110 − 25) = 0.294 at the housing.

Calibrated at the housing plane, the 1.05 mm pin face reads 1.05 × 0.325/0.294 = 1.16 mm — a 0.11 mm error from scale alone. A pin offset of 0.05 mm reads 0.055 mm. Calibrated halfway, at 106 mm (m = 25/81 = 0.309), the 20 mm housing reads 20 × 0.294/0.309 = 19.03 mm and the pin reads 1.05 × 0.325/0.309 = 1.10 mm: wrong at both heights, with the datum circle itself off by almost a millimetre.

That settles it for ordinary lenses: reject every single-calibration variant, including "somewhere in between". The entocentric versus telecentric comparison shows what a telecentric buys at this magnification.

Why telecentric scale ignores the height step

An object-side telecentric lens images every point at one scale wherever it sits inside the depth range, because chief rays run parallel to the optical axis. Move a feature closer by the height step and its image does not grow; shift it sideways and the image position does not lean with height. For a cylinder pointing at the camera this matters twice: the silhouette width equals the true diameter, and the silhouette center stays on the cylinder axis.

What a telecentric does not buy is extra depth. Depth of field follows from magnification, aperture and the blur you accept — the same physics as any lens, as the working f-number and magnification guide works through. So the plan is to choose a magnification low enough that the depth range swallows the step, then exploit constant scale across it. The telecentric depth of field validation guide shows how to prove that range on your part.

Worked example: a 1.05 mm pin standing proud of a 20 mm housing

Inputs, with their sources: pin Ø 1.05 mm, protrusion 8 mm, housing Ø 20 mm (the drawing, as asked); an illustrative 2/3" camera with 2448 × 2048 pixels of 3.45 µm; a ±0.02 mm concentricity tolerance, typical for a gauged pin; collimated backlight for silhouette edges; and the lens below from the catalog.

The example uses the LS-TCL-1390, a 0.179x object-side telecentric lens for 2/3" sensors, C-mount, with 260 mm working distance.

Telecentric lenses0.179x, WD 260 mm, 2/3", C-mount telecentric lens (LS-TCL-1390)LS-TCL-1390
Sensor format
2/3"
Mount
C-mount
Image circle
8-11 mm
Type
Object-side telecentric
$2,219.00View partBuild a system with it

Three numbers decide the set-up:

FOV = sensor width / m pixel (object space) = camera pixel / m DOF ≈ 2 × F# × p / m², with p = blur budget, one pixel for gauging

Field of view: 8.8 mm / 0.179 = 49.2 mm wide, so the 20 mm housing sits with 14.6 mm of margin per side and placement tolerance costs nothing. Object pixel: 3.45 µm / 0.179 = 19.3 µm, and sub-pixel edge fitting at about 0.1 pixel on backlit edges puts single-edge noise near 2 µm, an order below the ±0.02 mm tolerance. Depth of field at F8: 2 × 8 × 19.3 / 0.179² = 308.8 / 0.03204 = 9,638 µm ≈ 9.6 mm, against the step — it fits with 1.6 mm of margin. Diffraction stays hidden: the Airy disk at F8 is 2.44 × 0.55 µm × 8 = 10.7 µm, well under the 19.3 µm pixel.

Decision: focus at the mid-plane — 4 mm in front of the housing face, so the focused plane sits at 260 mm and the housing face at 264 mm — calibrate once, and run both planes on one scale at F8. If the bench check below shows drift beyond one pixel, move to F11: the same estimate gives 13.3 mm and the Airy disk 14.8 µm, still under a pixel.

Size your own set-up from the height step

Depth of field around the focus plane Light from the lens converges on the focus plane. In front of and behind it, each point spreads into a blur circle; the zone where that blur stays below about a pixel or two is the depth of field. A smaller aperture gives a narrower cone and a deeper zone.depth of fieldfocus planeapertureoutside it, pointsblur into circleswide aperture: steep cone, shallow zonesmall aperture (high F#): deeper zone
Depth of field around the focus plane. Light from the lens converges on the focus plane. In front of and behind it, each point spreads into a blur circle; the zone where that blur stays below about a pixel or two is the depth of field. A smaller aperture gives a narrower cone and a deeper zone.

For your own camera, invert the depth estimate to get the largest magnification that spans a step Δh at working aperture F#:

m ≈ (2 × F# × px / Δh)^(1/3)

With 3.45 µm pixels, F8 and Δh = 8,000 µm: (2 × 8 × 3.45 / 8,000)^(1/3) = (0.0069)^(1/3) ≈ 0.19. That is why 0.179x fits and 0.3x does not. At 0.3x the object pixel is 3.45/0.3 = 11.5 µm and the estimate is 2 × 8 × 11.5 / 0.09 = 2,044 µm ≈ 2.0 mm at F8; even F22 reaches only 506/0.09 = 5.6 mm while the Airy disk grows to 2.44 × 0.55 × 22 = 29.5 µm — nearly three pixels — so edges soften exactly where they must stay crisp.

Check the pixel budget the other way with the object space pixel size guide. For a ±0.02 mm tolerance, 19-23 µm object pixels with 0.1-pixel edges hold; for ±5 µm, take a second station at higher magnification for the close plane rather than stretching one calibration.

For the ordinary-lens route, browse machine vision lenses in the lens finder and turn field of view and working distance into a focal length here:

Lens focal length, field of view and working distance
Units
Solve for
Focal length
– mm
Field of view
– mm
Working distance
– mm
Magnification
– x
Angle of view
– °
Pixel on the part
– mm

Thin-lens model: m = sensor width / field of view, f = WD × m / (1 + m). Accurate to a few percent above about 150 mm; check the lens's minimum object distance.

Find lenses with this focal length Open the full calculator

Three telecentrics that fit a 20 mm housing

The depth rule for this part lands near 0.18x, and the catalog holds models from under 0.1x up to 0.3x on C-mount. Three of them bracket the sensible choices:

Specification LS-TCL-1390 LS-TCL-2194 LS-TCL-1422
Sensor format 2/3" 1" 1"
Telecentric type Telecentric – Bi-telecentric
Object field of view (dia. mm) 61.5 – 100
Magnification (x) 0.179 0.5 0.166
Working distance (mm) 260 110 258
Max sensor size (dia. mm) 11 16.0 16.6
Image-side F/# 8 8 6.5
Image-side MTF30 (lp/mm) 90 116 –
Theoretical depth of field (mm) ±10@F8 ±1.3@F8 –
Image-side distortion (% max) 0.17 0.03 –
Numerical aperture NA 0.01118 0.03123 –
Object-side resolution (um) 30 10.7 –
Price $2,219.00 $1,539.00 $3,099.00

All 3 share: Mount C-mount. Values as printed in each product's data sheet; open a part for its drawing and full specifications.

For this step, the 0.179x pick from the worked example stands: 9.6 mm of estimated depth at F8 and 19.3 µm object pixels.

The 0.5x model suits a different job: a height step well under a millimetre plus face features lit coaxially. Its depth estimate at F8 is 2 × 8 × 6.9 / 0.25 = 441.6 µm ≈ 0.44 mm, its field on a 1" camera is 12.8/0.5 = 25.6 mm wide, and the 110 mm working distance keeps the fixture compact.

The LS-TCL-2194 is that 0.5x option: 1" format, C-mount, 110 mm working distance, with built-in coaxial light.

Telecentric lenses0.5x, WD 110 mm, 1", C-mount telecentric lens with coaxial light (LS-TCL-2194)LS-TCL-2194
Sensor format
1"
Mount
C-mount
Image circle
11-16 mm
Type
Object-side telecentric
$1,539.00View partBuild a system with it

The 0.166x bi-telecentric model covers the outliers: a 12.8/0.166 = 77 mm field on a 1" camera when the part runs well off-center or a variant grows, and about 12.1 mm of estimated depth at F8. For backlit silhouette gauging none of the three needs its coaxial port; pair whichever you choose with a collimated backlight.

The ordinary-lens fallback: two calibrations, one per plane

If a telecentric is out of the question, drop the magnification until one iris setting holds both planes sharp. At 0.15x, a 2/3" camera sees 8.8/0.15 = 58.7 mm, object pixels are 3.45/0.15 = 23 µm, and the depth estimate at F8 is 2 × 8 × 23 / 0.15² = 368 / 0.0225 = 16,356 µm ≈ 16.4 mm — the step fits. Stopping down from F2.8 to F8 costs three stops, so add light or exposure, roughly 8× of it.

  1. Fixture the part so both planes sit square to the camera axis.
  2. Stop down to F8-F11 and confirm a test grid is sharp at both heights.
  3. Calibrate with the grid on the fixture, at the housing plane, and save that calibration.
  4. Move the grid onto a spacer matching the protrusion, at the pin plane, calibrate again, and save.
  5. Convert the housing tools with the first calibration and the pin tools with the second; concentricity is the pin-center-to-housing-center distance in datum coordinates.

Silhouette edges need light behind the part; the collimated versus diffuse backlight guide covers which backlight holds an edge position stable for gauging.

Bench checks before you run parts

Calibrate first, prove second. Measure the 20 mm housing diameter with the part seated, then again with the part raised by the height offset on a spacer: if the reading moves by more than one object pixel — 19 µm in the worked example — the depth range is not holding, so stop down one more F-stop and repeat. Zoom to the far-plane pin edge next: if the grey transition spans more than about three pixels, sub-pixel fitting degrades. Last, budget distortion: residual geometric distortion of 0.05% across a 10 mm radius is up to 5 µm, the same order as a tight concentricity tolerance, so calibrate it out with a grid — the geometric versus TV distortion guide explains which datasheet number applies.

When the one-calibration answer is wrong

  • The protrusion varies. If pin height swings to 12 mm between lots, the 1.6 mm margin at F8 is gone: hold the height in the fixture, move to F11 (13.3 mm), or drop magnification.
  • The tolerance tightens. Below about ±10 µm, 19-23 µm object pixels dominate the error budget; split the task across two stations at higher magnification.
  • The pin is not square. One degree of tilt over the step height moves the tip 8 × tan 1° ≈ 0.14 mm laterally — a real offset that no calibration removes, so fixture squareness is part of the measurement.
  • Someone proposes the mid-plane calibration on an ordinary lens. Section two already priced it: nearly a millimetre of error on the datum. It is the one option that is always wrong.

Set-up checklist

  • Field of view covers the housing plus the placement margin you need: 49.2 mm against a 20 mm part leaves 14.6 mm per side.
  • Object pixel small enough for the tolerance: 19.3 µm with 0.1-pixel edges gives about 2 µm of noise against a ±0.02 mm tolerance.
  • Depth estimate clears the step with margin: 9.6 mm against 8 mm at F8.
  • Focus plane midway; defocus margin shared by both planes.
  • One calibration inside a telecentric depth range; two calibrations, one per plane, on an ordinary lens.
  • Bench proof done: housing diameter repeats at both heights within one pixel.
  • Backlight bright enough for the working aperture: three stops cost about 8× the light.
  • Next step: spec the lens and camera together in the configurator, starting from the magnification you just derived.

Questions

Can I calibrate at the pin plane instead of the housing plane?

With a telecentric lens inside its sharp depth range, the plane you pick does not change the scale, so either plane works. With an ordinary lens the housing sits the full step farther away and images smaller: calibrated at the pin plane, a 20 mm housing reads about 20 × 102/110 ≈ 18.5 mm, some 1.5 mm undersize. Either single ordinary-lens calibration fails, which is why the fallback uses two of them.

How do I physically calibrate the pin plane, raised above the fixture?

Put a second glass grid on a spacer machined to the height offset — a gauge block of that height under the grid works. Keep focus untouched and run the same calibration routine twice, once at each height. Store the housing-plane calibration for the datum tools and the raised calibration for the pin tools; each feature then converts with its own scale.

Do telecentric lenses have more depth of field than ordinary lenses?

No. Depth of field follows from magnification, aperture and the blur you accept, for both lens types. The telecentric advantages are different: magnification stays constant across the depth, so one calibration serves every plane inside it, and chief rays run parallel to the axis, so a feature's image position does not shift with height. Those two properties are what make the one-calibration workflow valid.

Does the pin's length bias the diameter and center readings?

The silhouette edges come from the whole cylinder, not only the front face. An ordinary lens projects the flanks wider than the face circle, so a backlit pin reads oversize and the bias grows with protrusion. A telecentric lens images every height at one scale, so the silhouette width equals the true diameter and the silhouette center sits on the pin axis — build the measurement on silhouette centers.

What measurement repeatability should this set-up reach?

Budget three terms. Pixel noise: 19.3 µm object pixels with sub-pixel edge fitting near 0.1 pixel give roughly 2 µm. Residual lens distortion: 0.05% across a 10 mm radius is up to 5 µm, so calibrate it out with a grid. Fixture squareness: 0.1° of pin tilt over the step height moves the tip about 14 µm, which no calibration removes.