Home▸Robotics & Kinematics▸Time-Optimal Control: Phase-Plane Switching Curve Versus a Saturated PD Controller, 2D

Time-Optimal Control: Phase-Plane Switching Curve Versus a Saturated PD Controller, 2D

Two lanes race with Blender sprites of the motor, carriages and target flag, with the commanded force drawn as arrows, plus a phase portrait of position against velocity with the switching curve and both trajectories. Same equations and numerical checks as the 3D page.

Robotics & Kinematics2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Time-Optimal Control: Phase-Plane Switching Curve Versus a Saturated PD Controller, 2D ↗ Open standalone

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.

⚙ Under the hood

Two lanes race with Blender sprites of the motor, carriages and target flag, with the commanded force drawn as arrows, plus a phase portrait of position against velocity with the switching curve and both trajectories. Same equations and numerical checks as the 3D page.

Optimal ControlBang-Bang ControlPontryagin PrinciplePhase PlaneMotion ControlServo MotorRobotics Control

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)