Problemcore
Time-optimal control
Also called minimum-time control.
Bring the state to a target in the least time with a bounded input.
The time-optimal control problem asks for a bounded input that brings the state of a system from a given start to a target, usually the origin, in the shortest possible time. It is the optimal control problem with a free final time and the running cost . For linear systems with a box of inputs, the answer takes only the extreme values of the box and switches between them at a few times (bang-bang principle). The double integrator, with its parabolic switching curve, is the standard example.
In plain words
You must move a cart to a stop at a marked spot as fast as you can, and the motor can push with at most a fixed force either way. Common sense says: push fully toward the spot, then at the right moment push fully the other way to brake, and arrive with zero speed exactly at the spot. That is the answer. The only question is when to switch, and the answer depends on where the cart is and how fast it moves. For many systems the best plan always uses full force, and the art is to find the switching times. Some systems cannot reach the target at all with limited force, and then there is no answer.
Definition
Input. A system with , continuous and in ; a compact input set ; an initial state ; and a closed target set , often . In the linear case, with , so each input component satisfies .
Question. Among the measurable inputs whose trajectory from reaches at the time , find one with the smallest . The answer is the minimum time and an input that attains it. If no admissible input reaches , .
What is known for the linear case (, ):
- Reachability. The set of states that can be steered to 0 is all of if and only if is controllable and no eigenvalue of has a positive real part (Evans, Chapter 2). With a bounded input, an exponentially growing mode can only be cancelled from a bounded region.
- Existence. If can be steered to 0 in some time, then a time-optimal input exists. The reason is that the set of states reachable at time is convex and compact and depends continuously on (Liberzon, Section 4.5; Hermes and LaSalle, Part II).
- Structure. Under normality, meaning that is controllable for each column of , the time-optimal input is unique, bang-bang, and has finitely many switches. With all eigenvalues of real and , it has at most switches (bang-bang principle).
Variants
- A general target. A target set instead of a point, for example a ball around 0. The transversality conditions then apply at the end point.
- Nonlinear systems. Time-optimal controls may contain singular arcs, where the input takes values inside , and they may chatter.
- Discrete time. For with , find the smallest number of steps that brings to 0. For each this is a linear feasibility problem.
- Minimum time with a penalty. Costs mix time with fuel use. A pure minimum-fuel problem gives inputs with values , and .
- Minimum-time feedback. The synthesis problem asks for the optimal input as a function of the state, , valid for all starts. For the double integrator it is a switching curve.
Examples
The double integrator. Let , , , target . This is a mass with a bounded force, with position and velocity . With the quantity is constant, and with the quantity is constant, so the trajectories are parabolas. The only trajectories that reach 0 without a switch are the two half parabolas that end at 0, which together form the switching curve
The optimal feedback is above the curve (where ), below it, and on it. Each optimal input has at most one switch, which agrees with the bound , since both eigenvalues of are 0.
From : use . Then and , which reaches the curve at in the state . Switch to for 1 more second: and , which is at . The minimum time is 2. In general, above the curve,
and below it . For this gives . The function is continuous but not differentiable on the switching curve, which is why the HJB equation needs viscosity solutions here.
The harmonic oscillator. Let , , . The eigenvalues are not real. The switching function is , and the costate equation makes it a sine wave , so the optimal input switches every seconds. From far away, many half periods are needed, so the number of switches grows without bound with the distance of from 0. The bound needs real eigenvalues.
An unreachable state. For , , the state can reach 0 only from : at the best input gives . So for , even though the system is controllable. For , the input gives .
Known algorithms
- The maximum principle with a switching function. For the linear case, , the costate is , and . The unknowns are the components of (up to scaling) and , found by shooting (indirect method).
- Switching-time optimization. Fix the number and order of the switches and optimize over the switching times with a nonlinear equation solver or a gradient method. For the double integrator two unknowns (the switch time and ) are enough.
- Reachable sets. For linear systems, can be steered to 0 at time if and only if lies in the convex compact set , whose support function is . So is the smallest with for all , and iterative methods search over and . See reachable set computation.
- Linear programming in discrete time. For a given , steering to 0 in steps is a feasibility problem with variables, equality constraints and bounds. Bisection over , or one LP per , gives the minimum number of steps.
- Dynamic programming. The minimum time solves a stationary HJB equation, which can be solved on a grid in low dimension.
Bounds
- For a single-input linear system with all eigenvalues real, at most switches (Feldbaum 1953; see the bang-bang principle for the proof). With complex eigenvalues there is no bound independent of .
- The minimum time of a controllable linear system with eigenvalues in the closed left half plane is finite on (Evans, Chapter 2), and because 0 is an interior point of it is also continuous. It is not differentiable in general.
- The discrete-time test for a given is a linear program with variables. With rational data it can be solved in time polynomial in the bit size of the data by interior point methods; no strongly polynomial algorithm for linear programming is known. The minimum number of steps costs such programs by doubling and bisection.
Reductions
- To the general problem. The cost is the Lagrange cost or the Mayer cost . With a free final time, the transversality condition gives , that is, along the extremal.
- To a fixed final time. Time scaling with makes a parameter of the dynamics, .
- Minimum time and reachability are dual. The minimum time to the target is the first time at which enters the backward reachable set of the target. Algorithms for one solve the other.
- To minimum energy. Without input bounds, the minimum time is zero for a controllable linear system, and the natural question becomes the least energy for a fixed time (minimum-energy control).
Applications
- Positioning servos, such as the head of a disk drive or a gantry crane, where bang-bang motion with a braking switch is the time-optimal move.
- Attitude slews of spacecraft with bounded torque.
- Minimum-time trajectories of robot arms along a given path.
- Early analog controllers for the double integrator and for relay systems, where Bushaw (1952) and Feldbaum (1953) studied switching rules.
References
- Daniel Liberzon, Calculus of Variations and Optimal Control Theory, A Concise Introduction, Princeton University Press, 2012, Section 4.4 (time-optimal control problems, with 4.4.1 on the double integrator and 4.4.2 on the bang-bang principle for linear systems) and Section 4.5 (existence of optimal controls)
- Lawrence C. Evans, An Introduction to Mathematical Optimal Control Theory, lecture notes, University of California, Berkeley, Chapter 2 (controllability and the bang-bang principle) and Chapter 3 (linear time-optimal control)
- Henry Hermes and Joseph P. LaSalle, Functional Analysis and Time Optimal Control, Academic Press, 1969, Part II (linear time optimal control)
- Donald E. Kirk, Optimal Control Theory, An Introduction, Prentice-Hall, 1970 (Dover reprint, 2004), Section 5.4 (minimum-time problems)
- Donald W. Bushaw, Differential equations with a discontinuous forcing term, PhD thesis, Princeton University, 1952; published as Experimental Towing Tank Report 469, Stevens Institute of Technology, 1953
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag PDVQFZ Edit this page History Report an error Markdown