Science-Cadence 2-Point Fractional Lag Alignment
Aligns open-loop 3D RM kernels to exact closed-loop IPC latency (< 0.05 fr).
Overview & Role
Open-loop 3D RM calibration at 1 kHz wall clock can differ from 300 Hz science-cadence IPC scheduling by 0.3–0.4 frames, and PRESH adds +0.13..+0.30 frames of group delay to shaped modes relative to unshaped high-order modes.
Paces testOL at science cadence and probes two modal anchors (mode 2 preshaped + mode 40 unshaped) to apply exact unity-DC fractional-delay shifts (sum H = I) to H_mimo and H_diag before closing the science loop.
Compute Units / Entry Points: sim-ao3k-scexao.milk (Step 4c/7 aligner)
Verified Highlights:
- < 0.05 frame closed-loop lag mismatch; eliminated Stage-2 lag instability & modalog attenuation
Option Variants (CODE/OPT)
| Option Code | Behavior & Usage | Main Flags |
|---|---|---|
LAG/2PT | Two-band fractional kernel alignment preserving exact DC unity. | --dynpsol1 --dynpsol2 |
Dependencies & Calibration Chain
Upstream Calibrations & Inputs
Selected Algorithm
★ Current Entry
LAG/2PTOffline Calib
Science-Cadence 2-Point Fractional Lag Alignment
Feeds & Enables Downstream
CLI Flags, Environment Variables & FPS Parameters
| Layer | Option (Links to Reference) | Default | Description |
|---|---|---|---|
| CLI Flag | --dynpsol1 | — | Stage-1 Dynamic PSOL impulse kernel FITS (H_mimo / H_diag) |
| CLI Flag | --dynpsol2 | — | Stage-2 Dynamic PSOL impulse kernel FITS (H_diag / H_mimo) |
| CACAO_* Env | CACAO_LATENCYHARDWFR | 1.5 | Measured hardware loop latency [WFS frames] |
| CACAO_* Env | CACAO_LATENCYSOFTWFR | 1.65 | Effective software + hardware loop latency [WFS frames] |
Implementation, Tests & Related Reports
Source Files
- cacao-work:
benches/ao3k_scexao/sim-ao3k-scexao.milk
Verification Tests
ao3k_phases1to5_bench.py (Exp 1-3)