← All projectsGitHub
Digital twins & sim-to-real

What does a controller designed in a twin with the wrong actuator gain cost in the real world?

research/control-twin

A controller designed in a twin with the wrong actuator gain: exact real LQR cost, an instability band the twin does not warn about, closed-loop non-identifiability without dither, and a dithered retune with matched regret law.

10 tests

What it found

For a scalar LQR controller (plant x′=ax+bu+w) the real cost under the twin’s gain K is exactly (q+rK2)W/(1−(a−bK)2). With a=0.9, a twin that believes the actuator is half as strong claims 1.245 but costs 1.508 (+40%); at 0.2× the real loop is unstable while the twin claims a finite cost. Unlike an estimator, a controller has an instability cliff (m < a/(a+1) as r→0), which is a band when control is penalised, and a too-strong twin is the safer error (+20% vs +40% at a factor of 2). Negative result: running the twin’s controller on the real system identifies only the closed-loop pole, not a and b; with dither the least-squares covariance is closed-form and the retune regret matches a delta-method law (∝1/n), while dither costs performance and its optimum shrinks with the data budget. Stylised: scalar linear-Gaussian, stationary, known a.

A figure from its own output

Figure produced by research/control-twin: twin_ratio
control-twin/experiments/twin_ratio.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.