How large a manoeuvre can a twin without an actuator rate limit be trusted for?
research/slew-twin
A twin without an actuator rate limit is exact only for x₀ ≤ r/k; beyond it the real loop overshoots (0.90 of x₀ at x₀/r=10⁴) and settles in O(amplitude) steps, with an empirical overshoot threshold 2n(2n−1) for k=1/n.
What it found
The real loop x⁺ = x + a⁺, with the command rate-limited to r per step, is scale-invariant: it depends only on ρ = x0/r, while the first-order twin does not. The twin is exact iff x0 ≤ r/k (difference 0 at 0.999×, 0.1–0.6% of x0 at 1.01×). Beyond that the real loop overshoots the target (0.23 of x0 at ρ=100, 0.90 at 104, k=0.3) and settles in O(ρ) steps (29418 at ρ=105 vs the twin’s 13). For k=1/n the overshoot threshold is empirically ρ*=2n(2n−1) (not proved); avoiding overshoot needs a rate limit 12–38× lower than keeping the twin exact. Stylised: scalar plant, no noise or delay.
A figure from its own output
Paper, code and results
More in Digital twins & sim-to-real
- Does a twin with a rigid drivetrain miss the hunting cycle caused by gear backlash?A rigid-drivetrain twin says the PI loop converges but gear backlash makes the real loop hunt at 1.3–2.9× the gap (exactly ∝ h); describing-function prediction 7–10% high, and bistable starts can hide it.
- How wrong is the stopping distance of a twin that models friction as purely viscous?A viscous-only twin never stops (6.5–17.7 s to reach 1e-3…1e-9 vs 1.95 s real) and its fitted gain
b + c·E[v]/E[v²]depends on the logged speed range; fitted on [1,3] it overestimates stopping distance ×1.8–17 below and underestimates abovev*=7.3, no single viscous gain beats 0.87 worst error over [0.05,3], affine fit recovers exactly. - Does a twin with correct sliding friction still miss stick-slip hunting from static friction?A twin with the right sliding friction says the PID loop converges, and with no stiction it does; a breakaway excess
Fs−Fcmakes the real loop stick-slip hunt at ≈0.5–0.9ΔF/kp(independent ofFc), and short runs can mistake a long stick for convergence. - How much bandwidth can a controller tuned in a twin with an instantaneous actuator really have?A twin with an instantaneous actuator is stable at any gain; the real loop with lag τ is stable iff τ<kd/kp=2ζ/ωn, hunts at the twin's own ωn, decays no faster than 1/(3τ) for any gains, and the real-optimal bandwidth is ≈0.26–0.46 of the limit.
- How high a bandwidth does a rigid-body twin let you push when the real joint is flexible?A rigid-body twin certifies every PD bandwidth; with load-side sensing the real two-mass loop is unstable above
ε_c ≈ δ/ζof the flexible-mode frequency (exactly independent of mass ratio, unstable at any gain with no modal damping), step-response validation misses it, and the certified bandwidth inherits modal-damping error one-for-one. - Does a twin that models each axis alone certify gains that actuator coupling destabilises?A per-axis twin of a two-axis loop certifies gains that actuator coupling destabilises: stable-gain limit
2/(1+√p)not 2 (a 10% margin fails atc=1/9), twin-deadbeat rate is√|p|not 0, and a fitted diagonal gain1+cρdepends on log correlation while the full fit's variance grows as1/(1−ρ²).
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.