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?
research/impact-twin
A fixed-step twin of a bouncing ball: the true rest time (v1/g)(1+e)/(1−e) is hypersensitive to e (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 calibrating e on the first bounce is not a reliable fix.
What it found
Truth is closed form: infinitely many impacts in the finite Zeno time T=(v1/g)(1+e)/(1−e), with d ln T/de=2/(1−e2) (10.5 at e=0.9, 100 at 0.99). A semi-implicit-Euler twin with a penetration test has an apparent restitution biased by the step with scheme-dependent sign (true 0.9: 0.886, 0.895, 0.879 at dt=10−2) and its time to come to rest is off by −19.6%, +4.0%, −30.8% (e=0.9; up to 47% at e=0.95), first-order in dt and 0.1–0.3% at 10−4. The restitution bias explains most of the clamp error (predicted −14.9%, measured −19.6%), but fitting e on the first rebound is not a reliable repair: it helps the clamp twin at dt=10−2 (−19.6% to −4.8%), does nothing at finer steps and makes the mirror twin worse (+4.0% to +53%). Twin impact counts (238–688) are mostly floor chatter against 43–87 resolvable bounces. Stylised: one dimension, constant restitution, rigid contact, closed-form real system; the crude interpolated-contact variant is the worst here.
A figure from its own output
Paper, code and results
More in Digital twins & sim-to-real
- 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. - A grid twin over-states every route by a heading-dependent factor: does a finer grid fix it, and can it rank two routes the wrong way round?A grid twin over-states every route by a heading-dependent factor that cell size does not shrink (8-connected: mean
8(√2−1)/π = 1.0548, worst 1.0824 at 22.5°), calibrating the mean leaves −5.2% to +2.6%, and the twin ranks two routes (lengths 1 and 1.03) the wrong way round 19% of the time; rotating the map flips a fixed pair for 31% of orientations.
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.