Theoremcore
Bang-bang principle
Also called bang-bang control.
For linear systems with box-bounded inputs, inputs at the bounds reach every reachable state. Time-optimal inputs are bang-bang if normal, with at most n - 1 switches if all eigenvalues are real.
The bang-bang principle says that for a linear system whose inputs lie in a box, nothing is lost by using only the corners of the box: every state that can be reached at time can also be reached at time with each input component at or at almost every moment. A second part says that the time-optimal input is itself of this form, and is unique with finitely many switches, when the system is normal. When all eigenvalues of are real and the input is scalar, the number of switches is at most . The name "bang-bang" comes from the sound of a relay that hits its stops.
Statement
Setting. with , , and inputs in the box . An input is admissible on if it is measurable with values in . It is bang-bang if for almost every and every . The system is normal if is controllable for each .
Theorem.
- Bang-bang principle (LaSalle 1960). For every and , the set of states reachable at time from with admissible inputs equals the set reachable at time with bang-bang inputs.
- Time-optimal inputs. Suppose can be steered to 0 by some admissible input. Then a time-optimal input exists. If the system is normal, the time-optimal input on is unique, and there is with
and each switching function has finitely many zeros on . So is bang-bang with finitely many switches.
In the minimum form of the maximum principle, , and is the negative of the th component of the switching function of the Hamiltonian .
In plain words
Suppose you can push a linear system with a limited force in each direction. Part one says that any place you can reach at a given time with gentle, varying pushes, you can also reach at that time with pushes that are always full, only changing direction. Part two says that if you want to arrive as fast as possible, full pushes are not only allowed but required, as long as each input on its own can move the whole state. The direction of each push is set by the sign of a simple function of time, so it changes only a limited number of times. For systems without oscillation, that number is at most one less than the number of state variables.
Proof
Write . By the variation of constants formula, the state at time is
so a state is reachable at time exactly when , with .
Part 1. Fix a reachable and let
is not empty, and it is convex. The box condition defines a weak-star closed subset of a ball of , and the map is weak-star continuous because the entries of are in . So is weak-star compact by the Banach-Alaoglu theorem, and by the Krein-Milman theorem it has an extreme point .
Suppose is not bang-bang. Then there are an index , a number and a set of positive measure with on . The linear map goes from the infinite-dimensional space to , so it has a nonzero element in its kernel; scale it so that , and extend it by 0 outside . Then and both lie in , and is their midpoint. This contradicts the choice of as an extreme point. So is a bang-bang input that reaches at time .
Part 2. Let . The state can be steered to 0 at time exactly when . Each is convex and compact (the image of the weak-star compact convex set of inputs under the continuous linear map above), and grows continuously with in the Hausdorff distance, since . Hence the set of with is closed, and its smallest element exists: this is the existence of a time-optimal input.
The point lies on the boundary of . If it were in the interior, a ball around it would lie in , and by the continuity in , for some . So there is a supporting hyperplane: a vector with for all . Let be any time-optimal input. Then
with . The middle maximum is attained exactly by inputs with wherever , so has this form almost everywhere outside the zero sets of the .
Now use normality. is real analytic. If it had infinitely many zeros on , it would vanish identically, and then all its derivatives at 0, , would be zero. So would be orthogonal to , which span by the Kalman rank condition, and , a contradiction. So each has finitely many zeros, is determined almost everywhere by , and it is bang-bang with finitely many switches. Fix one such . Every time-optimal input reaches in , so it attains the maximum above for this and equals almost everywhere. So all time-optimal inputs agree almost everywhere: the time-optimal input is unique.
Consequences
At most switches with real eigenvalues (Feldbaum 1953). Let , the system be normal, and all eigenvalues of be real. Then the time-optimal input has at most switches.
Proof. With real eigenvalues of algebraic multiplicities , , every entry of , and so , has the form with polynomials of degree at most . Claim: such a function, if it is not identically zero, has at most real zeros. For it is times a nonzero polynomial of degree at most . For , multiply by , which keeps the zeros, and differentiate times. This removes the term and leaves with , because . By Rolle's theorem, each derivative has at least one zero fewer than the function before it, so the number of zeros of is at most the number of zeros of plus . If , then is a polynomial of degree at most , with at most zeros. Otherwise, by induction, has at most zeros. Either way has at most zeros, so changes sign at most times.
- The double integrator. with the double eigenvalue 0, so at most one switch. From the time-optimal input is for 1 s and then for 1 s (time-optimal control).
- A hand check of Part 1. For , , , the state at is reached by , and also by the bang-bang input on and on , since .
- The reachable set. By Part 1, the reachable set at time is the reachable set of the bang-bang inputs, and it is convex and compact. Its support function is , which reachable set computation uses.
Tightness
Complex eigenvalues. For the harmonic oscillator , , the switching function is , so the time-optimal input switches every seconds, and the number of switches grows without bound as moves away from 0. The bound fails, and only the real-eigenvalue hypothesis excludes this.
Without normality. Take in with and , from . The minimum time is 1, because needs it. The input , is time-optimal and is not bang-bang, and so is every with values in and integral . Here is not controllable in , so the system is not normal. Part 1 still holds: the bang-bang input on and after it also works.
Nonlinear systems. Part 1 needs dynamics that are linear in . For with and , the reachable set at is , but bang-bang inputs reach only the point 1. For nonlinear control-affine systems, the time-optimal input can also have singular arcs or chatter.
Singular problems. If some switching function vanishes on an interval, the sign rule does not fix the input there. Normality excludes this for linear time-optimal problems, but not for other costs, such as (singular arc).
History
Bushaw (1952) solved the time-optimal problem of second-order systems with a relay input in his Princeton thesis, and Feldbaum (1953) stated the bound of switches for systems with real eigenvalues. LaSalle (1960) proved the bang-bang principle for linear systems in general, and Gamkrelidze and Pontryagin's group obtained the time-optimal results as a case of the maximum principle. Hermes and LaSalle (1969) give the functional-analytic proof with the Krein-Milman theorem, and Evans's notes follow it.
References
- J. P. LaSalle, The time optimal control problem, in Contributions to the Theory of Nonlinear Oscillations, Volume V, Annals of Mathematics Studies 45, Princeton University Press, 1960
- Lawrence C. Evans, An Introduction to Mathematical Optimal Control Theory, lecture notes, University of California, Berkeley, Chapter 2 (the bang-bang principle, proved with the Krein-Milman theorem) 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)
- Daniel Liberzon, Calculus of Variations and Optimal Control Theory, A Concise Introduction, Princeton University Press, 2012, Section 4.4.2 (the bang-bang principle for linear systems)
- A. A. Feldbaum, Optimal processes in automatic control systems, Avtomatika i Telemekhanika 14(6), 712-728, 1953 (in Russian)
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 | W4 complete |
|
Tag M9NRR6 Edit this page History Report an error Markdown