minimum-time controllersaturated PD controllertarget
Couldn't start the 3D scene.

Minimum-Time Control: Bang-Bang Switching Curve of a Double-Integrator Cart and Motor Axis, 3D

How fast can a motor move a cart to a target and stop there when its force is limited? Two carriages on a Blender-built linear stage start together: one follows the minimum-time bang-bang law, always at full force with a single switch when the state meets the switching curve, the other a smooth critically damped PD controller that saturates at the same limit. Change the start position, the start velocity, the force limit and the PD bandwidth. The page shows the closed-form minimum time, the switch time, the phase portrait and how much slower PD is. Independent checks include a fine feedback simulation, a brute-force search over the switch time, an analytic RK4 comparison and a random test that no PD setting beats the optimum.

Made with 🟠 Blender · Three.js