MLATOffline CalibrationVERIFIEDStg 1Stg 2Stg 3

Hardware Loop Latency Calibration

Measures exact DM-to-WFS hardware and software loop latency in WFS frames.

Overview & Role

Drives repeated spatial Fourier poke bursts onto the DM while cross-correlating WFS response timing to measure fractional hardware latency (frames) and effective software+hardware lag.

Provides the timing baseline required for synchronous Hadamard response matrix acquisition, 2-tap PSOL fallback alignment, and predictive filter lookahead.

Compute Units / Entry Points: cacao-fpsexec-cacaoac-mlat

Verified Highlights:

Option Variants (CODE/OPT)

Option CodeBehavior & UsageMain Flags
MLAT/FASTLockstep-paced latency probe under fused cacaosim htsim.--calib-rate
MLAT/RTWall-clock paced latency calibration for modular bench or hardware.--wall-rate --calib-rate

Dependencies & Calibration Chain

Upstream Calibrations & Inputs
Selected Algorithm
★ Current Entry
MLATOffline Calib
Hardware Loop Latency Calibration

CLI Flags, Environment Variables & FPS Parameters

LayerOption (Links to Reference)DefaultDescription
CLI Flag--calib-ratematches --wall-rateOverride wall-clock rate for mlat/takeref calibration steps [Hz]
CLI Flag--wall-ratelockstep fused (1000 calib), 160 modOptional wall-clock rate cap [Hz] on top of 1:1 lockstep pacing
CACAO_* EnvCACAO_MLAT_NBITER30Number of poke-sequence iterations for mlat hardware latency measurement
CACAO_* EnvCACAO_MLAT_CPA4.0 (Stg1/2), 1.0 (Stg3)Spatial frequency [cpa] of Fourier poke pattern used by mlat
CACAO_* EnvCACAO_LATENCYHARDWFR1.5Measured hardware loop latency [WFS frames]
CACAO_* EnvCACAO_LATENCYSOFTWFR1.65Effective software + hardware loop latency [WFS frames]

Implementation, Tests & Related Reports

Source Files

Verification Tests

Related Staged Technical Reports