Closing a robot camera's iris can make features at different depths appear more consistently focused. That does not imply that every fine feature at the best-focus plane becomes sharper. A smaller opening changes geometric defocus, diffraction, and light throughput at the same time.

A useful aperture comparison therefore names the image-quality criterion. Tolerating geometric blur across depth is a different question from preserving contrast in a small feature. The following original thin-lens calculation makes that distinction visible without choosing a lens or setting for a real robot.

Define one ideal optical arrangement

Assume an ideal thin lens with focal length f = 16 mm. Place an object plane 200 mm from the lens and put the sensor at its corresponding best-focus image distance. Use the paraxial thin-lens equation 1/f = 1/u + 1/v, with distances positive for this real-object, real-image example.

The image distance is v0 = f × u/(u - f), approximately 17.3913 mm. This simplified lens has a circular aperture in the lens plane and equal entrance and exit pupil magnification. It has no modeled aberrations or manufacturing errors.

Compare two aperture diameters, 4 mm and 2 mm. Their nominal f-numbers f/D are 4 and 8. Halving the diameter reduces opening area by a factor of four: about 12.566 mm squared becomes 3.142 mm squared.

With the same scene, geometry, transmission, and acquisition interval, that area change represents an ideal fourfold reduction in collected light. A real imaging chain can introduce further effects. The comparison does not say how an actual camera will adjust exposure, gain, or displayed brightness.

Move the object, keep the sensor fixed

Now move a hypothetical object feature to u1 = 180 mm while leaving the lens and sensor in their original positions. Its new best-focus image plane would be at v1 = 16 × 180/(180 - 16), approximately 17.5610 mm.

The sensor is about 0.16967 mm in front of that new focus. In the ideal converging ray cone, similar triangles give a geometric blur-circle diameter at the sensor:

c = D × abs(v1 - v0)/v1.

For the 4 mm opening, c is approximately 0.038647 mm, or 38.647 micrometers. For the 2 mm opening, it is approximately 19.324 micrometers.

The same feature depth and sensor position produce half the geometric blur diameter when the aperture diameter is halved. That is the geometric reason a smaller aperture can increase depth tolerance under a declared blur criterion.

The criterion is part of the conclusion

Suppose an imaginary evaluation permits at most 25 micrometers of geometric defocus diameter in this model. The 180 mm feature fails that particular criterion with the 4 mm opening and passes with the 2 mm opening.

This is a defined geometric comparison, not a measured image-quality acceptance test. The 25-micrometer value is invented, and the calculation has not included diffraction, aberrations, sensor sampling, noise, or feature contrast.

Changing the allowable diameter would change the accepted depth range. Likewise, a depth-of-field statement made for one feature size or contrast requirement need not answer another task's question.

The image-side separation between the two focus planes also must not be labeled directly as object-side depth of field. The object moved 20 mm while the best-focus image plane moved only about 0.16967 mm. Object and image distances are related through the lens geometry.

At best focus, diffraction remains

At the original 200 mm object plane, geometric defocus in this ideal ray model is zero for either aperture. Wave optics still predicts a finite diffraction pattern from a point.

For an ideal circular aperture, the central Airy-disk diameter to the first dark ring can be estimated as 2.44 × wavelength × working f-number. This describes a particular feature of the diffraction pattern, not a hard-edged spot containing all the light.

For this simple finite-distance lens, working f-number is approximately v0/D. It is about 4.34783 for the 4 mm opening and 8.69565 for the 2 mm opening. Using these values keeps the image-side estimate consistent with the declared finite-focus geometry.

Assume monochromatic light with wavelength 0.55 micrometer. The predicted diameters are approximately 5.835 and 11.670 micrometers, respectively. The smaller opening doubles that diffraction diameter even though it halves the earlier geometric defocus diameter.

Edmund Optics' aperture and Airy-disk references explain these opposing trends. The focal length, object positions, wavelength, and calculations here differ from the manufacturer's worked examples and are not product performance claims.

A pixel comparison needs careful interpretation

If an imaginary sensor has 3.45-micrometer pixel pitch, the two calculated Airy diameters span approximately 1.69 and 3.38 pixel pitches. This comparison puts optical and sampling scales in the same image-space units.

It does not establish that the first arrangement resolves 1.69-pixel features, or that the second can resolve nothing smaller than 3.38 pixels. Contrast, the full point-spread function, feature shape, sampling phase, and processing affect such conclusions.

Nor should the geometric defocus diameter and Airy diameter simply be added as though they were interchangeable hard disks. The combined optical response requires an appropriate model or representative image evidence.

A real lens adds further tradeoffs

Aberrations can also vary with aperture. Consequently, opening the iris does not guarantee improved best-focus performance indefinitely, even though the ideal diffraction spot becomes smaller. A real lens can have a useful aperture range determined by more than this simplified calculation.

Lighting spectrum, magnification, field position, and the task's contrast requirement likewise remain relevant. A depth-of-field number without those conditions is not a universal measure of robot vision quality.

The original example supports a narrower, useful conclusion: aperture reduction can improve geometric tolerance to a displaced object plane while increasing diffraction spread and reducing light. A meaningful camera comparison keeps those effects separate before deciding which feature information the application actually preserves.

Image note: The accompanying site-library inspection-camera scene in a pipe tunnel is a conceptual illustration. The false-color display does not show the hypothetical lens, a measured depth-of-field test, or verified optical resolution.

Sources checked October 23, 2026:

Edmund Optics, System Throughput, f/#, and Numerical Aperture, Imaging Resource Guide 2.1: https://www.edmundoptics.com/knowledge-center/application-notes/imaging/lens-iris-aperture-setting/

Edmund Optics, The Airy Disk and Diffraction Limit, Imaging Resource Guide 2.4: https://www.edmundoptics.com/knowledge-center/application-notes/imaging/limitations-on-resolution-and-contrast-the-airy-disk/

All optical arrangements, distances, aperture comparisons, and interpretation: original ZHILIANHAI editorial analysis.