How to Choose a Telecentric Lens for Pin Gauging
A pin gauge reads true only when magnification stays constant across depth. This guide sizes a telecentric lens for pin diameter, length and tolerance...
read more…
A width that moves with the focus slice is a measurement artefact, not a part dimension. A depth-from-focus station sweeps focus to place each height in a stack, and the scale in force at the near end of the sweep is not the scale in force at the far end. Three separate contributors produce the drift: the field angle of the lens, the focusing mechanism inside the barrel, and the rescaling done by the stack software. Only the first belongs to the lens maker. An object-space telecentric barrel does not settle the question on its own, because telecentricity holds magnification against the object moving through a fixed focus, not against the focus being changed. The two bench checks below separate the three contributors, and the table shows what a fixed-focus maker can state and what stays a station measurement.
A focus sweep is a stack of frames taken at successive focus positions, and a width read from any one frame is a width at one scale. 1. The near frame and the far frame are recorded through different conjugates. 2. The stack software may rescale a frame before the height map is built. 3. The dimensional report and the depth map can disagree about the same part while both are correct at the pixel level. Finally, the disagreement is the useful signal, because the size of the drift points at the mechanism rather than at the part. In practice a station built for height mapping is rarely built for metrology, and the two jobs tolerate different amounts of scale error. According to RP Photonics, an object-space telecentric lens gives constant magnification for different object distances, so the lens term should be the smallest of the three.
Attribution is the act of assigning a measured drift to one of three sources, and the three sources scale differently across a sweep. 1. The lens: an entocentric design has an angular field, so recorded scale falls as the object moves away. 2. The mechanism: a refocusing sweep moves groups inside the barrel, and assembly magnification changes with the group positions. 3. The reconstruction: the stack software aligns and rescales frames before building the height map. Finally, each source leaves a different signature, and the two checks below read the signatures. For example, a drift appearing only when the focus ring turns is not a question for the lens maker, and a drift appearing only when the part moves is. A station whose drift survives a locked focus ring has already eliminated the mechanism, and the remaining two terms can be separated on the bench.
The lens term is the only contributor driven by object distance, and object distance is what an entocentric field converts into scale. 1. Move the part one step through the range and the lens term changes. 2. Turn the focus ring one step with the part held still and the lens term does not change, although the other two do. 3. Both moves look identical on a width plot, which is why the station needs two checks. Finally, the check that isolates the part is the only fair test of a lens. According to RP Photonics, the telecentricity condition is never perfectly fulfilled, so a lens may carry a telecentric angle stating the deviation. A stated angle is a property of the barrel and not of the sweep. A width plot from the two settings will overlap, and the overlap is the reason one sweep cannot attribute a drift.
The mechanism term is the contributor driven by the focus setting, and the setting belongs to the station rather than to the barrel. 1. A manual focus ring, a motorised focus module and a translating camera all change the conjugate by different amounts. 2. None of the three appears on a lens datasheet, because none of the three belongs to the lens. 3. The drift produced by the mechanism appears at a fixed object distance, so the part never moves while the width changes. Finally, the mechanism term is the one a new lens cannot remove, and a purchase made to remove the term buys nothing. In practice a station with a focus module on the camera side moves the sensor and holds the barrel, and the scale then changes with the sensor position rather than with the optics.

An entocentric lens is a lens with an angular field, so recorded scale depends on how far the object sits from the front of the barrel. 1. A part nearer the lens fills more of the sensor. 2. The same part at the far end of the range fills less. 3. A depth map built from frames at both ends inherits both scales. Finally, the error appears as a width change with height, which mimics a tapered part. The size of the error follows the field angle and the range travelled, and both belong to the working configuration rather than to the barrel alone. According to RP Photonics, an object-space telecentric design gives a field of view no larger than the entrance diameter, which is why such barrels are large, heavy and costly. For example, a wider field needs a bigger barrel rather than a cleverer one, and a small part at close range makes the trade visible.
A refocusing sweep is a sweep made by turning the focus ring or driving a focus motor, and the object stays fixed. 1. Group positions change, so the effective focal length and the conjugate change with the setting. 2. Scale therefore changes between the first frame and the last, with no movement of the part at all. 3. A telecentric barrel does not remove the focus term, because telecentricity is specified against object distance and not against focus setting. Finally, the distinction decides the purchase. According to RP Photonics, the magnification would change if the focus adjustment of the lens is changed, which is why such a lens is not normally used with an autofocus device. For example, a datasheet quoted at one focus setting describes the barrel at that setting and says nothing about the next frame.
A usable stack needs frames that line up, and most depth-from-focus software aligns and rescales each frame before building the height map. 1. Alignment removes translation between frames. 2. Rescaling removes the change in size, and the factor used is a number the software keeps. 3. The dimensional report usually reads a single frame, while the height map reads the whole stack, so the two documents come from differently scaled images. Finally, the rescale factor is the cheapest diagnostic on the station, because a factor of one at the near end and a factor far from one at the far end says the scale change is real. For example, a report generated from frame one and a depth map generated from the stack are two measurements of one part at two scales, and a bench test at one conjugate will not show the same curve.
A publish-or-measure split is a list of parameters the maker can state from design file and batch record, set against parameters only the station can produce. The rows below cover what a buyer asks for once a sweep disagrees with a drawing.
| The row | What it answers | What it cannot answer | Who can produce it |
|---|---|---|---|
| Nominal magnification and its working distance | Scale at one plane | Scale elsewhere | Maker, design file |
| The range over which stated performance holds | Where the value applies | Outside the range | Maker, design file |
| Design value or measured value, and the target | Where the number came from | Your target | Maker, test record |
| Batch record: number, conditions, coverage, pass or fail | What was inspected | A per-unit value | Maker, inspection |
| Telecentric angle, with the condition behind | Deviation from telecentricity | Scale across a sweep | Maker, where stated |
| Depth of field at a stated test frequency and aperture | Where blur stays acceptable | Where the scale holds | Maker |
| The focusing mechanism | What changes the conjugate | Your stack | Buyer |
| A curve through your own sweep | Your station’s drift | A catalogue value | Buyer, on the buyer’s bench |
Two rows belong to the buyer, and the split is not a courtesy. 1. The focusing mechanism is part of the station, and the maker’s file does not contain the conjugates produced there. 2. The curve through a sweep is a system measurement, taken on the buyer’s target with the buyer’s light and the buyer’s algorithm. Finally, a maker asked for a curve across the focus range can only refuse or guess, and both answers cost the buyer more than the bench hour. According to RP Photonics, a lens may carry a telecentric angle stating the deviation from perfect telecentricity. A stated deviation is not a curve, and a buyer who needs a curve has to measure one. For example, a caller asking for a scale curve across the sweep is asking the maker to describe a station the maker has never seen.
Check one holds the part still and changes the focus setting, so the drift measured is the mechanism and the reconstruction together. 1. Place a grid target or a part with two known edges at one plane. 2. Sweep the focus through the full range used in production without moving the stage. 3. Measure the same width in the first frame, a middle frame and the last frame. Finally, plot width against focus setting. A drift on this check cannot be charged to the lens, because object distance never changed. According to RP Photonics, the change arrives with the focus adjustment rather than with object distance, so some drift here is expected on telecentric and entocentric barrels alike. In practice the size of the drift on this check is the cost of the station, not of the barrel.
Check two holds the focus and steps the part through the same object-space range, so the drift measured is the field angle. 1. Set focus to the middle of the production sweep and lock the setting. 2. Step the part toward the lens in even increments across the range. 3. Measure the same width at each step and compare the result with check one. Finally, read the two figures against each other. For example, a large drift on check two points at an entocentric barrel and a telecentric candidate. A large drift on check one points at the mechanism and the reconstruction, and a new lens will not fix a station. A photomacrography forum thread on stack increments shows that one increment of draw gives a different focus step at each end of a range, and recommends a short test stack over a calculation.