REQUEST FOR QUOTE → Request a quote
SpecForge Editorial Team

Tracking Autofocus for Multi-Height Vision Measurement

Table of Contents
  1. How autofocus produces Z-height data
  2. Where multi-height autofocus is needed
  3. Comparison of autofocus and inspection architectures
  4. Accuracy depends on focus and image contrast
  5. Measurement capacity, travel, and performance limits
  6. Lighting, geometry, and workflow constraints
Tracking Autofocus for Multi-Height Vision Measurement

Tracking autofocus continuously adjusts to changes in workpiece height, enabling a video measuring system to retain focus while measuring multiple-height features [S1].

Modern vision measuring machines combine CCD imaging, digital edge processing, and Z-axis autofocus for non-contact size, contour, and height inspection across 2D and 2.5D workflows [S5][S7].

How autofocus produces Z-height data

Autofocus measures height by moving the lens along Z while evaluating image contrast, with the peak-contrast position treated as the focus plane [S5]. In a multi-height part, this focus position changes from feature to feature, so the system can build a surface-height map without physical contact [S5][S7].

Tracking autofocus goes further by following surface changes continuously rather than relying on a single fixed focus condition [S1]. The technique is therefore suited to tall surfaces, recesses, protrusions, surface waves, and warpage, all of which can move the actual surface away from the nominal working plane [S1].

Auto-focus can determine the Z position of each detected feature, including step heights, counterbore depth, recess depth, and feature Z-position [S7]. A 2D edge dimension and its associated height can therefore be captured within the same optical measurement sequence.

Where multi-height autofocus is needed

QM-Fit is designed to keep uneven parts in focus, including parts with heights up to 36 mm, deep depressions, and protrusions [S8]. That range makes it materially different from a flat-part inspection setup where the entire surface remains close to one focal plane.

Typical applications include machined parts with profiles, hole locations, radii, chamfers, and feature-to-feature distances [S4]. Stamped and laser-cut parts also benefit where outlines and patterns are inspected across varied material surfaces [S4].

Vision is particularly useful for plastic, molded, electronic, and precision components because it avoids applying contact force to soft or delicate parts [S2][S4]. Automatic focusing also reduces manual focus adjustment when multiple inspectors use the same station [S4].

Comparison of autofocus and inspection architectures

video vision measuring system auto-focus for multi-height features - Comparison of autofocus and inspection architectures
video vision measuring system auto-focus for multi-height features - Comparison of autofocus and inspection architectures

Tracking autofocus, fixed-focus vision, and semi-automatic Z positioning should be selected by height variation, operator burden, and required measurement scope. A vision measuring machine with tracking autofocus handles changing surface heights continuously, while fixed-focus operation is simpler but depends on the part remaining close to a stable focal plane [S1].

A semi-automatic machine combines an automatically focused Z axis with operator-controlled workflow, reducing focus variation while retaining a practical balance between automation and setup flexibility [S4]. By comparison, a contact coordinate measuring machine is better suited to deep bores and solid geometry, while video metrology is stronger for planar contours, thin parts, and edges that are difficult to probe physically [S5].

Accuracy depends on focus and image contrast

A blurred edge produces lower contrast and greater measurement error, while a sharp edge supports more accurate edge localization [S5]. Actual size is calculated from pixel count multiplied by calibrated pixel size, for example 300 pixels at 10 µm per pixel corresponds to 3 mm [S5].

Sub-pixel edge detection improves on whole-pixel localization by fitting an interpolation curve to the grayscale transition, allowing the edge to be located below one pixel [S5]. This does not replace optical calibration, because lighting, magnification, pixel size, and calibration state all influence the final dimensional result [S5].

For edge-performance decisions, the relationship between grayscale processing and dimensional uncertainty is explained in Subpixel Edge Detection Accuracy for Vision Measurement. LED illumination also changes edge contrast materially, so illumination selection belongs in the optical metrology plan rather than being treated as a secondary accessory choice.

Measurement capacity, travel, and performance limits

video vision measuring system auto-focus for multi-height features - Measurement capacity, travel, and performance limits
video vision measuring system auto-focus for multi-height features - Measurement capacity, travel, and performance limits

Mitutoyo’s Quick Scope Series 359 is a manual vision measuring system with surface, contour, and fiber-optic ring-light illumination options [S1].

Those specifications should not be transferred to an arbitrary vision system. Measurement travel, optical magnification, camera resolution, stage load, working distance, and Z accuracy determine whether multi-height autofocus can be used without compromising the required tolerance [S1]. The QualiVMM Semi 300 Series is built for the 300 × 200 mm travel class and supports 2D and 2.5D vision measurement [S4].

Auto-focus should not be treated as a substitute for geometric verification. The vision measuring system guide covers ISO 10360-7 in connection with methods intended to improve accuracy and quality control [S5].

Lighting, geometry, and workflow constraints

Multi-height autofocus can still fail when the surface does not produce a usable optical edge. Reflective metal, transparent plastic, low-contrast boundaries, severe surface texture, deep recesses, and abrupt sidewalls can reduce the information available to image processing [S2][S4][S5].

Contour, surface, and programmable ring-light illumination are used to improve edge visibility, and programmable ring illumination can vary obliquity for inclined surfaces [S2]. The contour measuring machine designation applies to a related projection-based inspection approach, but the height behavior discussed here depends on the actual optical configuration and autofocus method of the selected instrument.

Large parts that exceed the camera field of view require image stitching, in which the camera and stage capture multiple sections and construct a complete model [S5]. At that point, stage positioning, calibration, illumination consistency, and feature-to-feature registration become more important than autofocus alone.

Semi-automated autofocus systems are used for quality control in automobile, aerospace, electronics, and medical manufacturing [S3]. The correct architecture depends less on industry label than on part geometry, edge visibility, required throughput, and whether contact or 3D measurement must be added to the optical workflow [S3][S4].

For a procurement or process-engineering trial, require a representative part containing the tallest feature, deepest recess, thinnest wall, and most reflective surface, then verify focus recovery, Z repeatability, edge contrast, and measurement uncertainty under production lighting.

Frequently asked questions

What workpiece-height range is supported by the QM-Fit tracking autofocus system?

The QM-Fit is designed to keep uneven parts in focus, including parts with heights up to 36 mm, deep depressions, and protrusions. This makes it suitable for measuring multiple-height features that move away from a nominal working plane.

How does tracking autofocus generate Z-height data for multi-height parts?

It moves the lens along the Z-axis while evaluating image contrast and treats the peak-contrast position as the focus plane. As focus changes from feature to feature, the system can build a non-contact surface-height map and measure step heights, counterbore depth, and recess depth.

When is fixed-focus vision preferable to tracking autofocus for inspecting parts?

Fixed-focus vision is simpler and appropriate when the entire part surface remains close to one stable focal plane. Tracking autofocus is preferable when surface height varies continuously across tall surfaces, recesses, protrusions, waves, or warped regions.

Which standards should be used to verify a vision-based Cartesian measuring system?

ISO 10360-7 provides methods for evaluating vision-based Cartesian measuring systems, including length-error and probing-error checks. ISO 14253-1 addresses conformity decisions where uncertainty affects pass-or-fail results, while ASME B89.4.1 provides a framework for evaluating coordinate-measuring-machine performance.

8 sources
  1. Vision Measuring Systems
  2. Vision Measuring Machines - Mitutoyo Europe
  3. Auto-Focus Semi-Automated Video Measuring Machines
  4. Semi Automatic Vision Measuring Machine (VMM)
  5. Vision Measuring System: CCD Metrology & Auto Focus (Oct 20, 2026)
  6. High-performance vision measuring system ”QUICK ...
  7. Vision Measuring System: CNC Video Metrology Guide (Sep 29, 2026)
  8. QM-Fit (Aug 29, 2025)

Need to source matching manufacturers or get a quote?

SpecForge connects industrial buyers with verified manufacturers. Submit your requirement and we will route it to matched suppliers.

Submit RFQ now →
Ask SpecForge AI