A twin with an unlimited actuator says a PI step response ignores step size: what does the real loop with a command limit do?
research/windup-twin
A twin with an unlimited actuator is exact for a PI step only while kp·x0 ≤ U; beyond it the integrator winds up to x0²/(2U), overshoot rises from 21% to 97% and settling from 4.9 to 944, loads d ≥ U are never rejected, and the twin-tuned faster gains settle slower (clamping recovers most).
What it found
Integrator plant under PI control, real actuator limited to |u|≤U with constant load d; the twin has neither. The twin is exact iff kpx0≤U (zero deviation up to x0=0.714), so gentle step tests certify it. Beyond that the integrator winds up to exactly x02/(2U): overshoot rises from the twin’s 21% to 74%, 93%, 97% and the settling time from 4.9 to 17, 165, 944 (x0/U=5, 20, 50); a load d≥U is never rejected and settling blows up as d→U. “Faster is better” fails: the twin’s settling time falls 32× over ωn=0.25–8 while the real one is best near ωn=1 and rises to 77; conditional integration recovers most of it. Companion to the lag and slew twins. Stylised: one integrator, static limit, noiseless.
A figure from its own output
Paper, code and results
More in Digital twins & sim-to-real
- A fixed-step twin of a bouncing ball: how wrong are its restitution and time to rest, and does calibrating on the first bounce fix it?A fixed-step twin of a bouncing ball: the true rest time
(v1/g)(1+e)/(1−e)is hypersensitive toe(2/(1−e²)), the twin's apparent restitution and settling time are off by O(dt) with scheme-dependent sign (−20% to +4% at dt=10⁻², e=0.9), and calibratingeon the first bounce is not a reliable fix. - Does a twin fitted to the sensor-delay histogram certify gains that bursty delay makes unstable?A twin fitted to the sensor-delay histogram is blind to its persistence: i.i.d. jitter at the mean delay barely moves the mean-square gain limit (1.00 for {0,2}), but with the marginal fixed, lag-1 autocorrelation 0.9 cuts it to 0.67 (0.9 certified by the twin is unstable from ρ=0.435) and inflates variance 2.4×; almost-sure stability (≈1.84) hides it.
- Does a twin with no gravity certify PD gains that sag, or cannot hold a pose at all?A gravity-free twin certifies PD with zero error; the real pendulum sags to the root of kp(θ*−θ)=g sin θ (0.18 rad at kp=4, falling only as ~1/kp), cannot hold upright unless kp>g (basin 0.12 rad at 1.02g), and a 10%-off gravity feedforward leaves a sag linear in the error.
- A continuous-time twin certifies PD at every gain: which gains survive a zero-order-hold sampled loop?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ωnpastωn·T≈ 1 slows settling, and deadbeat (2 samples) is the real speed limit. - A linear-drag twin of a quadratic-drag vehicle: what does it get wrong about braking, terminal speed and the safe speed under a stopping limit?A linear-drag twin of a quadratic-drag vehicle: coast-down time and terminal speed are off by fit-speed ratios, least-squares fit gives
k = 3c·vmax/4, and the safe speed under a stopping limit is mis-stated by −21% to +41% with sign set by the fit speed. - A kinematic-bicycle twin ignores tyre slip: how wrong is its turning radius, and does calibrating that reveal where a twin-tuned steering loop goes unstable?A kinematic-bicycle twin of a car ignores tyre slip: steady-turn radius is off by exactly
1 + Kv²/L(twin 4–63% too small, half at the characteristic speed), calibratingKfixes that but both twins certify steering gains stable at every speed while 11 of 30 real gain pairs lose stability below 60 m/s.
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.