Time-Optimal Control & Switching Surfaces
Full phase-plane synthesis for bounded minimum-time control: the double integrator's one-switch proof, parabolic switching curve, exact feedback and travel time, plus harmonic-oscillator arcs, repeated switches, and tracking-coordinate translations.
Minimum-time control is the cleanest place to see how the maximum principle becomes feedback geometry. With no running penalty beyond elapsed time, the optimizer uses all available authority except at isolated switches. The hard part is not guessing “full throttle”; it is finding when to reverse it so the state reaches the target with the required terminal velocity.
Double integrator: problem and PMP #
Normalize the acceleration bound to one:
with initial state , target , free terminal time, and
Using , the costate equations are
Therefore
Hamiltonian maximization gives
away from a zero of . A nonzero affine function has at most one zero. If it vanished identically, then , violating nontriviality. Hence every normal time-optimal trajectory has at most one switch.
Constant-control phase curves #
On an interval with constant ,
Multiplying by and integrating gives
or
The final arc must pass through the origin, so . If , braking requires and the final arc is . If , braking requires and the final arc is . Both branches are
This is the switching curve.
Exact state-feedback law #
Off the switching curve, define
The time-optimal feedback is
On and away from the origin, take the final braking action
At the origin the control can be set to zero. The on-curve clause matters because a generic implementation of does not encode which parabolic branch leads to the target.
Switching time and minimum travel time #
Let
for an initial state off the switching curve. The first control is . Let its duration be . At the switch,
The second control is , and the switch point must lie on its final arc:
Substitution produces
The physically valid root is
At that instant,
The final braking duration is , hence
If , the state is already on a final arc and
For an acceleration limit , replace the switching curve by
and scale each time formula consistently by .
Worked state #
Take and . Then , so and
The controller applies for seconds, then for another seconds. Thus
Accelerating toward the origin until would be too late: the state would cross the origin with nonzero velocity. The switching parabola encodes the distance needed to cancel that velocity exactly.
Harmonic oscillator: circular arcs and repeated switches #
Consider
For a constant , shift the equilibrium to . Direct differentiation shows that
is constant. Each saturated arc is therefore an ellipse in , or a circle in the scaled plane , centered at .
The costate satisfies
and hence
Thus
and . Consecutive simple zeros of are separated by . Unlike the double integrator, the switching function can cross zero repeatedly, so the global switching set is a piecewise chain of alternating constant-control arcs.
Tracking is a coordinate translation, when the reference is an equilibrium #
Suppose the desired constant state is maintained by :
With and ,
The regulator switching geometry applies in coordinates, while the physical control is . The admissible set also shifts: if , then
If that interval is asymmetric, the two constant-control arcs have different curvature and duration. Merely drawing the origin-centered symmetric curve around the reference would be wrong.
Implementation limits #
The ideal feedback is discontinuous. Real actuators introduce sampling, delay, rate limits, deadband, and unmodeled modes. A naive sampled sign law can chatter around the curve. A boundary layer or hysteresis may reduce switching, but it changes the exact minimum-time problem and creates a nonzero terminal region. Its width must be chosen from actuator and estimation limits, then the achieved time and terminal error must be verified on the real constrained model.
Sources
- bookOptimal Control Methods: Lectures 2–6pdfnotes
- bookCalculus of Variations and Optimal Control Theory: A Concise Introductionpdfnotes
- paperTheory of Optimal Processes. I. The Maximum Principlepdfnotes