← All projectsGitHub
Digital twins & sim-to-real

A continuous-time twin certifies PD at every gain: which gains survive a zero-order-hold sampled loop?

research/sample-twin

A continuous-time twin certifies PD at every gain; the real zero-order-hold loop is stable iff kp·T/2 < kd < 2/T (ωn·T < min(4ζ, 1/ζ)), overshoot is 5× the twin's at ωn·T = 1.2, raising ωn past ωn·T ≈ 1 slows settling, and deadbeat (2 samples) is the real speed limit.

8 tests

What it found

Double integrator under PD control computed at period T and held. The twin (T→0) is stable for every gain; the exact step matrix gives the real stable region kpT/2 < kd < 2/T, i.e. ωnT < min(4ζ, 1/ζ), matched to bisection and an independent RK4 held-input run (ζ=0.7 fails at ωnT=1.4286). The twin is accurate for ωnT ≲ 0.2 but at 1.2 the real overshoot is 0.234 against its 0.046, and at fixed T raising ωn past ωnT≈1 slows settling (0.4 → 5.2) then diverges. Deadbeat gains (kpT2=1, kdT=3/2) settle in 2 samples, the real speed limit. Stylised: noiseless, no computation delay.

A figure from its own output

Figure produced by research/sample-twin: pole_vs_wnT
sample-twin/experiments/pole_vs_wnT.svg, written by the project's own experiment code.

Paper, code and results

More in Digital twins & sim-to-real

All 164 Digital twins & sim-to-real projects →

Other research topics

Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1

Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.