Subaru 8 m · AO3k + SCExAO + Lyot Coronagraph

cacao-work · Closed-Loop Adaptive Optics Knowledge Repository

Open-source hardware-in-the-loop adaptive optics simulation, real-time control, system identification, and coronagraphic research coupling cacao, milk / ImageStreamIO, cacaosim, milkatmturb, and milk-mltools.

AO Research Domains
6
Single topic hierarchy
Technical Reports
11
In-depth physics & SysID
Simulation Suites
2
Multi-view reports
Open-Source Stack
9 Repos
Relocatable CMake build
CONNECTING Connecting to near-realtime simulation telemetry stream…
Open Live Monitor →

Quick Guide

How topics, technical reports, and simulations are organized
1Browse by Research Domain

Use Topics ▾ or the 6 domain cards below for Wavefront Control, Calibration & SysID, Coronagraphy & LLOWFS, Optical Bench & Runtime, Hardware & DM Dynamics, or Atmosphere & Chromatic Optics hubs.

2Reports vs. 5-View Simulations

Start with Technical Reports for multi-run physics studies; open any simulation for 5 views (Overview, Config, Optical, Runtime, How to Run).

3Filter, Compare & Search

Use the Simulations Catalog to filter runs and plot Strehl/WFE/contrast side by side, or press / anywhere for instant site search.

4Build & Reproduce Locally

Open Stack & Guides for pinned commits across all 9 MILK/CACAO/cacaosim repos, CLI replay commands, and adding reports via taxonomy.json.

Research & Technology Domains

Every technical study and simulation run is organized into one unified hierarchy by adaptive optics research domain:

Wavefront Control & Prediction

4 report(s) · 2 primary

Core real-time wavefront control (integrators, autotuned gain/leak, diagonal AR, cross-mode Block-EOF, cascaded online self-learning), inner control-mode rotation matrices, and multi-rate / anti-vibration DM actuation.

Manual & Autotuned IntegratorsPer-Mode AR(P)Block-EOF & Cascaded Self-LearningAdaptive Modes & Multi-Rate DM

Featured Technical Reports

In-depth engineering analyses, physics studies, and architectural roadmaps linking directly to supporting closed-loop simulations.

11 Technical Report(s)
Technical ReportDomainCACAO CapabilitiesKey FindingsReferenced SimulationsUpdated
Two-WFS + Inter-Stage DM Closed-Loop Telemetry Calibration Study
Closed-loop telemetry calibration of inter-WFS (Mab), inter-stage DM (Mdb), and virtual upstream DM2→DM1 offload (Mda_virt) matrices on Subaru AO3k + SCExAO + LLOWFS: live results, AR(p) whitening W(z) analysis, exact-window frequency-domain AO-dynamics solver, multi-rate Kalman-EM roadmap, and operational AO benefits.
Calibration & SysID
2-WFS/1-DM Telemetry SysIDDM2->DM1 Blind OffloadPyWFS Optical GainZPO Wind-Up Diagnosis
Probe-Free B = Mab A + Mdb DAR(4) W(z) Pred: 0.703 vs selfRM 0.706 (0.4% err)Freq-Domain Integrator: 3.5% err (6× vs W(z))Blind DM2→DM1 Offload: cos 0.933 (80% 1-shot / 93% CL red.)
—
2026-12-01 08:11 UTC
Chromatic Dispersion & AO188 ADC Performance Report (600–2500 nm)
Two-part optical chromaticity study for Subaru AO188/AO3k + SCExAO across 8 spectral bands (VIS 600-800, 800-900, 600-900 nm; IR 900-2500 nm; I, J, H, K). Part 1 tabulates instrument-only chromatic dispersion, pupil shear, focus (Z4), astigmatism (Z6/Z5), and coma (Z8/Z7) across all 8 internal transmissive optical prescriptions excluding the ADC. Part 2 evaluates exact 6-interface 3D Snell AO188 ADC cancellation of total (atmosphere + instrument) dispersion as 2D (elevation, azimuth) curves from zenith (90 deg) down to 20 deg elevation, comparing the default broadband LUT against 2D band-optimized ADC settings with downloadable CSV datasets for every figure.
Atmosphere & Optics
cacaosim.optic 37-Ray 3D Snell Enginecacaosim.adc AO188 Zemax S-LAH60/S-BAH27Ciddor (1996) + Seidelmann Maunakea Refraction2D Band-Optimized Total ADC Control
Inst-Only (No ADC): VIS 600-900 18.2 mas · IR 65.3 mas · K 16.5 masH-Band @ 45° (φ=90°): 10.3 → 0.80 mas (12.9×)K-Band @ 30° (φ=180°): 36.5 → 1.77 mas (20.6×)IR Pupil Shear: 0.311% D (24.7 mm on M1)
2026-12-01 08:11 UTC
Atmospheric Chromaticity in Extreme Adaptive Optics: WFS (700 nm) vs. Science (1650 nm) & Dual-Wavelength (600 / 750 nm) Extrapolation
Quantifies atmospheric chromatic wavefront error between a 700 nm visible WFS and a 1650 nm H-band science camera across zenith angles 0°–75° (bulk air dispersion, curved spherical-Earth Bouguer ray separation, and chromatic Fresnel diffraction), validated with multi-layer split-step wave optics on the Subaru 7.95 m Maunakea model, and evaluates dual-wavelength (600 & 750 nm) extrapolation under photon noise, coronagraphic contrast, Cn² mismatch, and pupil-registration constraints.
Atmosphere & Optics
Ciddor (1996) Air RefractivitySpherical Bouguer Curved-Ray ShearSplit-Step Fresnel Wave Optics2D Anisotropic 2λ Wiener Extrapolation
700→1650 nm (DM25): 13.1 nm @ 45° · 35.4 nm @ 60°600/750→1650 Leverage: E = 1.381 (<0.01% height drift)2λ Wiener @ 60°: 35.4 → 5.4 nm (312× contrast @ 3 λ/D)Reg. Tolerance: δx ≲ 2 mm (0.025% D)
—
2026-12-01 08:11 UTC
Unified AO Real-Time Control Architecture: Taxonomy, Decoupled Synthesis, White-Noise Safety & Faint-Star Multi-Rate DM Control
Unified 3-layer taxonomy, architectural combination rules, 7-regime + 40 nm white-noise null + live basis-swap + RT CPU shootout, and 23-run live GPU cacaosim faint-star (m=10) WFS frame-rate reduction & multi-rate 1 kHz DM x 2 kHz anti-vibration pre-shaper validation.
Wavefront Control
Block-EOF + Cascaded Self-LearningInner Control-Mode Rotation MatrixMulti-Rate 1 kHz DM Pacing (mvalpacer)2-4 kHz DM Anti-Vibration Pre-ShaperFaint-Star Slow-WFS (250 Hz)
Full Decoupled Stack: 18.17 nm R1 / 10.27 nm Unmod (-36%)White-Noise Null: 1.43 nm (1.000x) vs 18.35 nm StandaloneBumpless Swaps: 47.5 nm | RT CPU: 88.9 us @ 128mm=10 Live GPU: 80.4% H-Sr @ 250 Hz (86.9% 2-Stage)
—
2026-12-01 08:11 UTC
Implementation Plan: Unified AO Real-Time Control Architecture (milk, cacao, milk-mltools)
Phased C/CMake engineering plan (Phases A-E) across milk, cacao, milk-mltools, and cacao-work to deploy the 3-layer decoupled AO control architecture: lock-free ping-pong SHM & RT pacing in milk, decoupled inner Q-rotation + re-projected AR(48) notch + cascaded self-learning + hardware-dependent multi-rate DM pacing (f_DM) + per-actuator spatially-varying DM anti-vibration pre-shaping (KMODE=3/4 & hybrid roadmap) in cacao, and async milk-fpsexec-mlt-cmodes + multi-rate audits in milk-mltools.
Wavefront Control
milk: Ping-Pong SHM Seqlock & milk_rtcacao: Inner CMODES Q + Re-Projected AR(48)cacao: Cascaded Self-Learning Hardeningcacao: Hardware-Rate Multi-Rate DM (user f_DM) & Faint-Star WFScacao: Per-Actuator Spatially-Varying DM Pre-Shaper (KMODE=3, 4)milk-mltools: Async mlt-cmodes & Multi-Rate Audit
IMPLEMENTATION ROADMAPmilk: M1-M3 (Seqlock SHM, milk_rt, FindGRIC)cacao: C1-C4 (Inner CMODES, Cascaded SL, MR DM, Per-Actuator Pre-Shaper)milk-mltools: ML1-ML2 (mlt-cmodes, Multi-Rate Audit)
—
2026-12-01 08:11 UTC
Raw 3D Spatiotemporal Response Matrix Calibration — ALPAO 64×64 Plate DM (cacaoac-measdynresp)
Live wall-clock stroboscopic 3D response matrix acquisition (cacaoac-measdynresp) on the Subaru AO3k ALPAO 64×64 magnetic plate DM through a fixed 1,000 Hz / 1.0 ms J-band PyWFS: achieves 125.0 μs (8.0 kHz) temporal resolution with 1.76 μs RMS poke jitter and 0.5 μs bin-centroid linearity, directly capturing circular facesheet waves, free-rim reflections, 28×28 Zernike modal dispersion, and a 48.0× PSOL residual reduction over CACAO's current 2-tap scalar delay.
Calibration & SysID
cacaoac-measdynresp (Raw 3D RM)Sub-Frame Stroboscopic TimingALPAO 64×64 Plate PDE Waves28×28 Modal 3D Coupling & PSOL
cacao-fpsexec-cacaoac-measdynrespFixed 1 kHz WFS → 8 kHz (Δt = 125.0 μs)Wall-Clock Jitter: 1.76 μs (0 Drops)Static Parity vs measlinresp: 2.23%
—
2026-12-01 08:11 UTC
ALPAO 64×64 Magnetic DM Spatiotemporal Facesheet Dynamics (dyn_mode = "plate")
Coupled 2D circular-rim flexural+membrane facesheet PDE (dyn_mode = "plate") for the Stage-1 ALPAO 64×64 magnetic DM in cacaosim—with synchronized side-by-side 20 kHz video against SCExAO lab measurements (LepICSaBL-E), running at 98 μs p50 on CUDA with exact 0.000 μm CPU–CUDA parity while leaving the Stage-2 50×50 MEMS DM on independent RC dynamics.
Hardware & DM
ALPAO 64×64 Plate PDE (dyn_mode=plate)Single-SM CUDA Shared-Mem Integrator20 kHz Actual vs Sim VideoStrict ALPAO-Only Scope (MEMS=RC)
Default on Stage-1 ALPAO 64×64 (MEMS Unchanged)Empirical |F(k,f)|² Dispersion Calibration1 ms Boxcar-Diff Ripple: 5.3 nm → 0.9 nm (14 ms)CUDA @ 8 kHz tick: 98.3 μs p50 (10.2 kHz)
—
2026-12-01 08:11 UTC
DM Mechanical Anti-Vibration Pre-Shaper Demonstration (3D RM Calibration → Optimal 8 kHz Control)
End-to-end live GPU cacaosim + CACAO demonstration (1 kHz PyWFS 3D RM → 8 kHz optimal pre-shaper) on the Subaru AO3k 64×64 ALPAO plate DM: per-actuator KMODE=4 5×5 local-stencil MIMO crushes 2D traveling-wave energy 100–278× across interior & asymmetric free-rim actuators (KMODE=3 cuts free-rim ringing 2.1× below uniform SISO), 28×28 MIMO cuts Zernike Focus ringing 16.6× and Pass-2 cross-talk 2.2×, and 20-mode Astrogrid MIMO crushes 500 Hz astrogrid 1.5 kHz plate resonance by 9.7× (95× power) with 10.6× lower ring-down and 7.9× cleaner H-band coronagraphic dark hole.
Hardware & DM
cacaoac-measdynresp (3D RM, NBsubfr=8)cacaocc-compdmpreshaper (8 kHz Modal & Per-Actuator KMODE=0..4)dmpreshaper (8 kHz Look-Ahead FIR & 5x5 Local Stencil)500 Hz Astrogrid Vibration Cancellation
LIVE GPU HIL DEMO3D RM → 8 kHz Pre-ShaperPer-Act KMODE=4: 100–278× Wave Energy Cut500 Hz Astrogrid 1.5 kHz: -19.8 dB (9.7×)
—
2026-12-01 08:11 UTC
Technical Report: WFS & DM Framerate Temporal Discretization Limits in Atmospheric Turbulence
Exact analytical and GPU milkatmturb quantification of two fundamental temporal discretization limits in atmospheric turbulence: (1) post-processing linear interpolation of a noiseless boxcar-integrating WFS (σ = 0.1872 (f·τ₀)⁻⁵/⁶ rad; 5.29 nm @ 1 kHz, 2.97 nm @ 2 kHz on Maunakea 0.80" seeing, plunging as f⁻² to 0.34 nm @ 1 kHz over 64×64 DM modes), and (2) an optimal zero-lag instantaneous step-response DM (σ = √(9/88) (f·τ₀)⁻⁵/⁶ = 0.3198 (f·τ₀)⁻⁵/⁶ rad; 8.58 nm @ 1 kHz, 4.87 nm @ 2 kHz, 3.11× lower RMS / 9.70× lower variance than 1-frame servo lag).
Wavefront Control
milkatmturb 20–40 kHz GPU TurbulenceExact Boxcar WFS Linear-Interp TheoryOptimal Discrete-Step DM Lower BoundDM Spatial-Cutoff & Boiling Regimes
TECHNICAL REPORTStep DM Floor: 0.3198 (f·τ₀)⁻⁵/⁶ (8.6 nm @ 1 kHz)WFS Linear Fit: 0.1872 (f·τ₀)⁻⁵/⁶ (5.3 nm @ 1 kHz)WFS/DM Ratio: 0.585× Full | 0.07× on 64² DM
—
2026-12-01 08:11 UTC
Predictive Control Report: Per-Mode Diagonal AR(4..64) & Full Cross-Mode Block-EOF (VAR) Study
Hardware-in-the-loop comparison of Part I per-mode diagonal AR(4..64) and Part II full cross-mode transition-matrix Block-EOF(B=64/128, P=8) predictive controllers on Subaru AO3k + SCExAO + Lyot Coronagraph + LLOWFS.
Wavefront Control
PSOL Predictive ControlDiagonal AR(4..64)Cross-Mode Block-EOF (VAR)Stage-3 LLOWFS
Part I: Diag AR(4..64) | Part II: Cross-Mode Block-EOFBlock-EOF(128,8): Final Vis SR 81.1%Stg1 Vis SR 77.1% (+3.5 pp vs AR16)WFE 56.0 nm
—
2026-12-01 08:11 UTC
Unmodulated Pyramid WFS Nonlinear Bias: Physics, Mitigation & Real-Time CACAO Implementation
Physical characterization, mitigation trade study, native real-time CACAO implementation (acquireWFSim.c), and two-stage closed-loop verification of the unmodulated Pyramid WFS (mod = 0 l/D) nonlinear even-order bias on Subaru AO3k + SCExAO. Demonstrates the exact rank-1 (1 - S) diffraction-washout law driving stacked Z4 + Z11 static bias across both unmodulated stages, compares 4 live alpha(t) estimators and 3 calibration/actuation architectures, and verifies native outer diffraction-cross projection (E2) + pixel-space dynamic reference blending with 128-poke symmetric DM calibration.
Hardware & DM
acquireWFSim.c Dynamic WFS Reference Blending (.comp.WFSbias)E2 Outside-Mask Diffraction-Cross Projection Estimator128-Poke 8-Fold Symmetric High-Order DM CalibrationStage-1 Petal-Filter Orthogonalized Bias TemplateUnmodulated Two-Stage Subaru AO3k + SCExAO Verification
Final Z4: -33.1 -> +1.1 nm (99.9% var cut)Full 10s WFE: 93.0 -> 91.9 nm (Stg2 beats Stg1)Vis Strehl: 48.8% -> 55.8% (+7.0%)NIR H Strehl: 84.2% -> 86.9% (+2.8%)
2026-12-01 08:11 UTC

Interactive Guides, Models & Reference