← All calculators
Browse all 23 calculators
About this calculation: inputs, formula and confidence

What autofocus step size and range should I use?

Relate optical depth of focus to focuser steps and sweep size.

Planning estimate

Formula

CFZ ≈ 2.2λN²

Critical focus zone grows with wavelength and the square of focal ratio.

Where to find the inputs

  • Focal ratioEquipment profile
  • WavelengthFocuser specification or dial measurement
  • Focuser travel per stepFocus log temperature trend
  • SamplesFocus log temperature trend
  • Thermal shiftFocus log temperature trend

Related

Sensor Tilt →Back-focus Spacing →Resolution & Sampling →

Autofocus planning

Sample focus finely enough to find the curve.

Relate focal ratio, wavelength and focuser mechanics to the critical focus zone and autofocus sweep.

Purpose and method

What this calculator does

What autofocus step size and range should I use? Relate optical depth of focus to focuser steps and sweep size.

In words: Critical focus zone grows with wavelength and the square of focal ratio.

Change a value and the result updates immediately. The diffraction expression is a starting point. Seeing, filter offsets, backlash, mirror motion and the focuser algorithm may require a wider sweep or different step spacing.

Working geometry

Focus-curve sampling

A sequence of focuser positions samples both sides of best focus across the critical focus zone.

critical focus zone

Inputs

Optics and focuser

Unit: f/
Unit: nm
Unit: µm/step
Unit: points
Unit: °C
Unit: µm/°C

Calculated now

Focus run

Critical focus zone
30.25 µm
Critical focus zone steps
30.25 steps
Suggested sample spacing
15 steps
Total sweep
120 steps
Temperature compensation
20.00 steps

Governing equation

Critical focus zone
CFZ≈2.2λN²

In words: The approximate critical focus zone equals 2.2 times wavelength times the square of focal ratio.

Show the working

The calculator applies the equation above to the values currently entered, without rounding until this display.

Critical focus zone
30.25 µm
Critical focus zone steps
30.25 steps
Suggested sample spacing
15 steps
Total sweep
120 steps
Temperature compensation
20.00 steps

The diffraction expression is a starting point. Seeing, filter offsets, backlash, mirror motion and the focuser algorithm may require a wider sweep or different step spacing.