Algorithm Search⌘K

Theoremadvanced

Kalman-Yakubovich-Popov lemma

Also called KYP lemma, positive real lemma.

A quadratic inequality on the frequency response of a linear system holds at every frequency if and only if a linear matrix inequality in its state-space matrices has a solution.

The Kalman-Yakubovich-Popov (KYP) lemma connects two ways to state one property of a linear system. One way is an inequality on the frequency response, which must hold at every frequency. The other way is a linear matrix inequality (LMI) on an unknown symmetric matrix PP, built from the state-space matrices, which has a solution or not. The first form is a condition on infinitely many frequencies; the second is one finite convex problem that a semidefinite programming solver can decide, and its solution PP gives a quadratic energy function xTPxx^T P x. For an electric circuit model, the positive real case says that the model is passive, that is, it cannot produce energy at its ports, exactly when such an energy function exists. This is one way to check the passivity of reduced interconnect models such as those of PRIMA. The bounded real lemma is the case of the L2 gain, and the circle criterion and the Popov criterion use the lemma to turn a Nyquist plot condition into a Lyapunov function.

Statement

Setting. A∈Rn×nA \in \mathbb{R}^{n \times n}, B∈Rn×mB \in \mathbb{R}^{n \times m}, and a symmetric M∈R(n+m)×(n+m)M \in \mathbb{R}^{(n+m) \times (n+m)}. AA has no eigenvalue on the imaginary axis, so (jωI−A)−1(j\omega I - A)^{-1} exists for every real ω\omega. Write

Φ(ω)=[(jωI−A)−1BI],Φ(∞)=[0I],F(P)=[ATP+PAPBBTP0].\Phi(\omega) = \begin{bmatrix} (j\omega I - A)^{-1} B \\ I \end{bmatrix}, \qquad \Phi(\infty) = \begin{bmatrix} 0 \\ I \end{bmatrix}, \qquad \mathcal{F}(P) = \begin{bmatrix} A^T P + P A & P B \\ B^T P & 0 \end{bmatrix}.

If x=(jωI−A)−1Bux = (j\omega I - A)^{-1} B u, then Φ(ω)u=(x,u)\Phi(\omega) u = (x, u) is the steady-state response of x˙=Ax+Bu\dot x = Ax + Bu to the input uejωtu e^{j\omega t}, so Φ(ω)∗MΦ(ω)≤0\Phi(\omega)^* M \Phi(\omega) \le 0 says that the quadratic form MM is at most 00 on all sinusoidal steady states at the frequency ω\omega.

Theorem (Rantzer's form, 1996).

  1. Strict form. Φ(ω)∗MΦ(ω)<0\Phi(\omega)^* M \Phi(\omega) < 0 for all ω∈R∪{∞}\omega \in \mathbb{R} \cup \{\infty\} if and only if there is a symmetric PP with M+F(P)<0M + \mathcal{F}(P) < 0.
  2. Non-strict form. If in addition (A,B)(A, B) is controllable, then Φ(ω)∗MΦ(ω)≤0\Phi(\omega)^* M \Phi(\omega) \le 0 for all ω∈R∪{∞}\omega \in \mathbb{R} \cup \{\infty\} if and only if there is a symmetric PP with M+F(P)≤0M + \mathcal{F}(P) \le 0.

PP is not required to be positive definite here. Sign conditions on PP come from the special cases.

Special cases, side by side. Let G(s)=C(sI−A)−1B+DG(s) = C(sI - A)^{-1}B + D with mm inputs and mm outputs for the first two rows.

Property Frequency domain inequality Linear matrix inequality
positive real; (A,B)(A, B) controllable and (A,C)(A, C) observable G(jω)+G(jω)∗≥0G(j\omega) + G(j\omega)^* \ge 0 for all ω\omega with jωj\omega not a pole, plus the pole conditions of passivity P>0P > 0 and [ATP+PAPB−CTBTP−C−(D+DT)]≤0\begin{bmatrix} A^T P + P A & P B - C^T \\ B^T P - C & -(D + D^T) \end{bmatrix} \le 0
strictly positive real; (A,B)(A, B) controllable and (A,C)(A, C) observable G(s−ε)G(s - \varepsilon) positive real for some ε>0\varepsilon > 0 P>0P > 0, ε>0\varepsilon > 0 and [ATP+PA+εPPB−CTBTP−C−(D+DT)]≤0\begin{bmatrix} A^T P + P A + \varepsilon P & P B - C^T \\ B^T P - C & -(D + D^T) \end{bmatrix} \le 0
H-infinity norm below γ\gamma; AA Hurwitz G(jω)∗G(jω)<γ2IG(j\omega)^* G(j\omega) < \gamma^2 I for all ω∈R∪{∞}\omega \in \mathbb{R} \cup \{\infty\} P>0P > 0 and [ATP+PA+CTCPB+CTDBTP+DTCDTD−γ2I]<0\begin{bmatrix} A^T P + P A + C^T C & P B + C^T D \\ B^T P + D^T C & D^T D - \gamma^2 I \end{bmatrix} < 0

The first row is the positive real lemma. Khalil (2002, Section 6.3) writes it with matrices LL and WW: PA+ATP=−LTLPA + A^T P = -L^T L, PB=CT−LTWPB = C^T - L^T W, WTW=D+DTW^T W = D + D^T. These equations say that minus the matrix in the table equals [L  W]T[L  W][L \ \ W]^T [L \ \ W], which is positive semidefinite. The second row is what Khalil calls the Kalman-Yakubovich-Popov lemma, with −LTL−εP-L^T L - \varepsilon P in the first equation; it needs the observability of (A,C)(A, C). The third row is the strict bounded real lemma.

In plain words

A linear system can be tested one frequency at a time: feed it a sine wave, wait for the steady state, and check an inequality on what goes in and what comes out. To be sure, one must do this at every frequency, and there are infinitely many. The lemma says that one can replace all these checks by one search for a single symmetric matrix that solves a matrix inequality. If such a matrix exists, it gives an energy-like function of the state that proves the property for all inputs, not only for sine waves. If no such matrix exists, some frequency breaks the inequality. The extra condition about controllability makes sure that the state can be moved enough for the two tests to agree.

Proof

From the LMI to the frequency inequality. Let M+F(P)≤0M + \mathcal{F}(P) \le 0. Fix a real ω\omega and a complex u∈Cmu \in \mathbb{C}^m, and let x=(jωI−A)−1Bux = (j\omega I - A)^{-1}Bu, so that Ax+Bu=jωxAx + Bu = j\omega x. Then

[xu]∗F(P)[xu]=(Ax+Bu)∗Px+x∗P(Ax+Bu)=(−jω+jω) x∗Px=0.\begin{bmatrix} x \\ u \end{bmatrix}^* \mathcal{F}(P) \begin{bmatrix} x \\ u \end{bmatrix} = (Ax + Bu)^* P x + x^* P (Ax + Bu) = (-j\omega + j\omega)\, x^* P x = 0.

So u∗Φ(ω)∗MΦ(ω)u=[x;u]∗(M+F(P))[x;u]≤0u^* \Phi(\omega)^* M \Phi(\omega) u = [x; u]^* (M + \mathcal{F}(P)) [x; u] \le 0. At ω=∞\omega = \infty, x=0x = 0 and the same quadratic form is u∗M22uu^* M_{22} u, the lower right block of M+F(P)M + \mathcal{F}(P), which is at most 00. With strict inequalities the same steps give a strict result, because (x,u)≠0(x, u) \ne 0 when u≠0u \ne 0.

From the strict frequency inequality to the LMI (Rantzer's argument). Suppose no symmetric PP gives M+F(P)<0M + \mathcal{F}(P) < 0. Then the affine set {M+F(P)}\{M + \mathcal{F}(P)\} does not meet the open convex cone of negative definite matrices. By the separating hyperplane theorem there is a symmetric W≠0W \ne 0 with tr⁡(WY)≤c≤tr⁡(W(M+F(P)))\operatorname{tr}(W Y) \le c \le \operatorname{tr}(W (M + \mathcal{F}(P))) for every Y<0Y < 0 and every PP. The cone condition forces W≥0W \ge 0 and c≥0c \ge 0. The affine set is unbounded in every direction F(P)\mathcal{F}(P), so tr⁡(WF(P))=0\operatorname{tr}(W \mathcal{F}(P)) = 0 for every PP, and then tr⁡(WM)≥0\operatorname{tr}(W M) \ge 0.

Factor W=[X;U][X;U]TW = [X; U][X; U]^T with X∈Rn×rX \in \mathbb{R}^{n \times r}, U∈Rm×rU \in \mathbb{R}^{m \times r} and r=rank⁡W≥1r = \operatorname{rank} W \ge 1, so that [X;U][X; U] has full column rank. Expanding tr⁡(WF(P))=tr⁡(P(FXT+XFT))\operatorname{tr}(W \mathcal{F}(P)) = \operatorname{tr}(P (F X^T + X F^T)) with F=AX+BUF = AX + BU shows that FXT+XFT=0F X^T + X F^T = 0. Then

(F+X)(F+X)∗=FF∗+XX∗=(F−X)(F−X)∗,(F + X)(F + X)^* = F F^* + X X^* = (F - X)(F - X)^*,

and two n×rn \times r matrices with the same Gram matrix differ by a unitary factor: F+X=(F−X)VF + X = (F - X) V with VV unitary. Let v1,…,vrv_1, \ldots, v_r be an orthonormal basis of eigenvectors of VV, with Vvk=ejθkvkV v_k = e^{j\theta_k} v_k. Then (1−ejθk)Fvk=−(1+ejθk)Xvk(1 - e^{j\theta_k}) F v_k = -(1 + e^{j\theta_k}) X v_k. Put xk=Xvkx_k = X v_k and uk=Uvku_k = U v_k; they are not both 00.

  • If θk≠0\theta_k \ne 0, this reads Axk+Buk=jωkxkA x_k + B u_k = j\omega_k x_k with the real number ωk=−cot⁡(θk/2)\omega_k = -\cot(\theta_k / 2). Since AA has no eigenvalue jωkj\omega_k, uk≠0u_k \ne 0 and xk=(jωkI−A)−1Bukx_k = (j\omega_k I - A)^{-1} B u_k, so [xk;uk]=Φ(ωk)uk[x_k; u_k] = \Phi(\omega_k) u_k.
  • If θk=0\theta_k = 0, then xk=0x_k = 0, uk≠0u_k \ne 0 and [xk;uk]=Φ(∞)uk[x_k; u_k] = \Phi(\infty) u_k.

Finally 0≤tr⁡(WM)=∑k[xk;uk]∗M[xk;uk]0 \le \operatorname{tr}(W M) = \sum_k [x_k; u_k]^* M [x_k; u_k], so some term is at least 00. That term is uk∗Φ(ωk)∗MΦ(ωk)uk≥0u_k^* \Phi(\omega_k)^* M \Phi(\omega_k) u_k \ge 0 with uk≠0u_k \ne 0, against the strict frequency inequality. □\square

The non-strict form. The direction from the LMI is proved above. The converse takes more work, and Rantzer (1996) gives it; controllability of (A,B)(A, B) is used there and nowhere else. Without controllability the converse fails; see Tightness.

Consequences

Worked example, positive real case. G(s)=1/(s+1)G(s) = 1/(s + 1), with A=−1A = -1, B=1B = 1, C=1C = 1, D=0D = 0. The frequency side is Re⁡G(jω)=1/(1+ω2)>0\operatorname{Re} G(j\omega) = 1/(1 + \omega^2) > 0. The LMI of the first row is

[−2pp−1p−10]≤0.\begin{bmatrix} -2p & p - 1 \\ p - 1 & 0 \end{bmatrix} \le 0.

A zero diagonal entry forces the off-diagonal entry to be 00, so p=1p = 1, the only solution. Then LTL=2L^T L = 2 gives L=2L = \sqrt 2, and W=0W = 0. The storage V=12xTPx=12x2V = \frac{1}{2} x^T P x = \frac{1}{2}x^2 gives V˙=−x2+xu=uy−y2\dot V = -x^2 + xu = uy - y^2. In the second row, the first entry becomes −2p+εp-2p + \varepsilon p, so p=1p = 1 works for every ε∈(0,2]\varepsilon \in (0, 2], and GG is strictly positive real.

Worked example, bounded real case. For the same GG with γ=1\gamma = 1, the non-strict LMI is [1−2ppp−1]≤0\begin{bmatrix} 1 - 2p & p \\ p & -1 \end{bmatrix} \le 0. Its determinant is −(p−1)2-(p - 1)^2, so only p=1p = 1 works, and no PP makes it strictly negative. This matches ∥G∥∞=1\|G\|_\infty = 1, reached at ω=0\omega = 0. For γ=2\gamma = 2 the solutions form the interval p∈[4−23, 4+23]=[0.53590, 7.46410]p \in [4 - 2\sqrt 3,\ 4 + 2\sqrt 3] = [0.53590,\ 7.46410]; these are the quadratic storage functions of dissipativity for the L2 gain supply.

Absolute stability. With MM chosen from a sector, the lemma turns the frequency condition of the circle criterion into a common quadratic Lyapunov function, and the Popov criterion into a Lyapunov function of the Lur'e form xTPx+2ηk∫0yφ(σ) dσx^T P x + 2\eta k \int_0^{y} \varphi(\sigma)\, d\sigma.

Riccati form. If M22<0M_{22} < 0, the Schur complement turns M+F(P)≤0M + \mathcal{F}(P) \le 0 into a Riccati inequality in PP. Willems (1971) connects the frequency inequality, the Riccati equation and the eigenvalues of a Hamiltonian matrix of size 2n2n; a solution of the continuous algebraic Riccati equation is the extreme case of the LMI.

Size and cost. The LMI has n(n+1)/2n(n+1)/2 scalar unknowns (the entries of PP) and one matrix of size (n+m)×(n+m)(n + m) \times (n + m); the positive real case adds the constraint P>0P > 0 of size nn. An interior point method solves it to accuracy ε\varepsilon in a number of iterations polynomial in nn and log⁡(1/ε)\log(1/\varepsilon) under strict feasibility; see semidefinite programming. For large nn, a frequency sweep or a Hamiltonian eigenvalue test is cheaper, but a sweep on a grid can miss a narrow violation between grid points.

S-procedure. The frequency inequality says that a quadratic form is at most 00 on the vectors (x,u)(x, u) with jωx=Ax+Buj\omega x = Ax + Bu, and the term F(P)\mathcal{F}(P) is a quadratic form that vanishes on those vectors. In this sense the lemma is a case of the S-procedure in which the relaxation loses nothing.

Tightness

Controllability cannot be dropped in the non-strict form. Take n=m=1n = m = 1, A=−1A = -1, B=0B = 0 and M=[0110]M = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}. Here (jωI−A)−1B=0(j\omega I - A)^{-1} B = 0, so Φ(ω)∗MΦ(ω)=M22=0≤0\Phi(\omega)^* M \Phi(\omega) = M_{22} = 0 \le 0 at every frequency. The LMI is [−2p110]≤0\begin{bmatrix} -2p & 1 \\ 1 & 0 \end{bmatrix} \le 0, which fails for every pp, because the diagonal has a 00 next to a nonzero off-diagonal entry. The strict forms are consistent: M22=0M_{22} = 0 is not <0< 0.

Observability and the sign of P. In the positive real lemma, observability gives P>0P > 0. Without it, a solution PP can be singular, and 12xTPx\frac{1}{2}x^T P x is then only positive semidefinite, which still proves passivity but not the Lyapunov stability of the unobservable part.

Imaginary-axis eigenvalues. Rantzer's form needs AA without eigenvalues on the imaginary axis, because Φ(ω)\Phi(\omega) must exist. The positive real lemma allows simple poles on the axis, as for G(s)=1/sG(s) = 1/s with A=0A = 0, B=C=1B = C = 1, D=0D = 0: the LMI [0p−1p−10]≤0\begin{bmatrix} 0 & p - 1 \\ p - 1 & 0 \end{bmatrix} \le 0 holds with p=1p = 1.

History

Popov (1961) gave a frequency domain condition for the absolute stability of the Lur'e problem. Yakubovich (1962) proved that the condition implies the existence of a Lyapunov function of the Lur'e form, by solving the matrix inequalities. Kalman (1963) gave a proof in the form that is now called the lemma, with controllability and observability. Anderson extended it to multivariable positive real matrices in 1967, and Willems (1971) linked it to the Riccati equation and to optimal control. Rantzer (1996) gave the short proof by convex separation that is followed above. The names "positive real lemma" and "KYP lemma" are used for different special cases in different books, so check which form a source states.

References

  1. Anders Rantzer, On the Kalman-Yakubovich-Popov lemma, Systems and Control Letters 28(1), 7-10, 1996, the general statement with a symmetric matrix M, and the short proof of the strict case by a separating hyperplane
  2. Rudolf E. Kalman, Lyapunov functions for the problem of Lur'e in automatic control, Proceedings of the National Academy of Sciences 49(2), 201-205, 1963, the equivalence of the frequency condition and the matrix equations for a quadratic Lyapunov function of the Lur'e system
  3. V. A. Yakubovich, The solution of certain matrix inequalities in automatic control theory, Soviet Mathematics Doklady 3, 620-623, 1962 (Russian original in Doklady Akademii Nauk SSSR 143(6), 1962), the first proof that the Popov frequency condition gives a Lyapunov function of the Lur'e form
  4. Hassan K. Khalil, Nonlinear Systems, third edition, Prentice Hall, 2002, Section 6.3 (positive real and strictly positive real transfer functions, the positive real lemma and the Kalman-Yakubovich-Popov lemma with the matrices P, L and W)
  5. Stephen Boyd, Laurent El Ghaoui, Eric Feron and Venkataramanan Balakrishnan, Linear Matrix Inequalities in System and Control Theory, SIAM, 1994, Chapter 2 (standard LMI problems, frequency domain inequalities and their LMI forms)
  6. Jan C. Willems, Least squares stationary optimal control and the algebraic Riccati equation, IEEE Transactions on Automatic Control 16(6), 621-634, 1971, the links between the frequency domain inequality, the Riccati equation and inequality, and the Hamiltonian matrix

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/6VKWRG/text.yaml