Theoremadvanced
LQR stability margins
Also called return difference inequality, Kalman inequality.
For continuous-time LQR with one input, |1 + L(j omega)| >= 1, so the loop has gain margin (1/2, infinity) and phase margin at least 60 degrees.
A continuous-time LQR state feedback loop is robust without any design for robustness. Kalman (1964) showed that the return difference of a single-input LQR loop has modulus at least one at every frequency. The Nyquist plot of the loop gain therefore stays out of the unit disk centered at . From this follow the guaranteed margins: the closed loop stays stable when the loop gain is multiplied by any factor in , and the phase margin is at least 60 degrees. Safonov and Athans (1977) showed that the same margins hold in every input channel at the same time when is diagonal. The result is for continuous-time state feedback only. It is false for discrete-time LQR, and Doyle (1978) showed that an LQG loop with an observer has no guaranteed margins at all; see the LQG counterexample.
Statement
Data. , , , , with stabilizable and detectable. Let be the stabilizing solution of the CARE and , so that is the optimal control. Break the loop at the plant input. The loop transfer matrix is with .
Theorem.
- Return difference equality. For every that is not an eigenvalue of or ,
- Return difference inequality. For real with not an eigenvalue of , . For one input () this is .
- Margins, one input. For , the closed loop is stable for every real , and for every complex with . So the gain margin is and the phase margin is at least 60 degrees.
- Margins, several inputs. If is diagonal, is Hurwitz for every real diagonal with all : each channel can change its gain independently.
In plain words
The optimal state feedback cannot be fragile. If the actuator turns out to be half as strong as modeled, or arbitrarily stronger, or adds up to 60 degrees of phase lag at the crossover, the loop is still stable. The reason is that the optimal loop never makes the return difference smaller than one, so the loop gain never comes close to . A designer gets these margins for any choice of the weights and , as long as all states are measured.
Proof
Part 1. Since , we have , and the CARE reads . Add and subtract :
Multiply by on the left and by on the right:
With the left side is , and the last term is . Move it to the left and add to both sides. The left side becomes , which is part 1.
Part 2. Put . As , and are real, and . So the right side is . For , is a number and .
Part 3. Let , and , so . By the determinant formula for a rank one update, the closed loop polynomial is
It is monic of degree for every complex , so its roots depend continuously on . For all roots are in the open left half plane, because is stabilizing. Take a path of values of from 1 to the target value: the real segment from 1 to , or the arc , between 0 and . A root can leave the left half plane only by passing through a point of the imaginary axis, so it suffices to show for all on the path and all real .
Suppose . If , then (as ), so , which is false. So and . Then part 2 gives . For real we have , so . For with we have . Both contradict part 2. Hence the roots stay in the left half plane along the path.
Part 4. Let . With ,
As and are diagonal, , which is positive definite when all . Let with and . Then . The left side is at least 0 because , and the right side is at most 0, so and . Then with , which detectability excludes. So is Hurwitz. The same computation with gives a second proof of the gain part of part 3.
Consequences
A check by hand
Double integrator, , , , . The optimal gain is , and , so
At , , and is the same excess, as part 1 says. At both sides are 3; at both are . The loop gain is 1 where , at , and there the phase of is : the phase margin is . The closed loop polynomial with gain is , stable for every , so the true gain margin here is larger than the guarantee.
A small script checks the identity at many frequencies:
import math
for w in [0.1, 0.5, 1.0, 2.0, 10.0]:
s = 1j * w
L = (math.sqrt(3) * s + 1) / s**2
lhs = abs(1 + L) ** 2
rhs = 1 + abs(1 / s**2) ** 2 + abs(1 / s) ** 2
assert abs(lhs - rhs) <= 1e-9 * rhs and lhs >= 1
What follows from the inequality
- Sensitivity. For the sensitivity function satisfies at all frequencies, so the LQR state feedback loop does not amplify a disturbance at the plant input at any frequency.
- Nonlinear and time-varying gains. The Lyapunov computation of part 4 does not need constant gains. If each channel gain varies with time or with the state but stays in , then still does not increase along trajectories. Safonov and Athans state margins of this kind for memoryless nonlinear time-varying gains. This ties the result to the circle criterion.
- Inverse optimality. Kalman's paper proves the converse too: a stable single-input state feedback whose return difference has modulus at least one is optimal for some .
- Recovery. Observers destroy the margins in general. Loop transfer recovery tunes the Kalman filter so that the LQG loop approaches the LQR loop and gets the margins back.
Tightness
- The lower limit is sharp. Take , , . The CARE gives . The loop is stable exactly for , and as . For , the limit is ; for it is .
- 60 degrees is sharp. In the same example, has at , and the phase margin is . As , and the margin tends to . For , it is .
- Discrete time has smaller margins. For the discrete-time scalar plant with and , the DARE gives and . The loop is stable only for , a finite upper gain margin. The discrete return difference identity has in place of , and the margins depend on the data.
- Several inputs need diagonal . For a general the inequality of part 2 holds in the norm weighted by , and the channel by channel margins of part 4 can fail. The proof of part 4 works for every real with positive definite, which for diagonal and means .
- Output feedback. The guarantee needs the full state. With an observer in the loop the margins can be arbitrarily small (Doyle 1978).
History
Kalman (1964) asked when a given linear control law is optimal for a quadratic cost and found the answer in the frequency domain: for one input, exactly when the return difference has modulus at least one. The gain and phase margins that follow from it are standard textbook material, for example in Anderson and Moore. Safonov and Athans (1977) extended the margins to multiloop regulators, channel by channel. Doyle (1978) then showed with a short example that the margins do not carry over to LQG, which started the work on robust multivariable control and loop transfer recovery.
References
- R. E. Kalman, When is a linear control system optimal?, Journal of Basic Engineering 86(1), 51-60, 1964, Theorem 6, a stable single-input control law is optimal if and only if its return difference has modulus at least one at all frequencies
- Michael G. Safonov and Michael Athans, Gain and phase margin for multiloop LQG regulators, IEEE Transactions on Automatic Control 22(2), 173-179, 1977, the gain and phase margins of multiloop linear quadratic state feedback regulators
- Brian D. O. Anderson and John B. Moore, Optimal Control, Linear Quadratic Methods, Prentice Hall, 1990 (Dover reprint, 2007), the chapters on the properties of regulators, with the return difference equality and the gain and phase margins
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 Y06X09 Edit this page History Report an error Markdown