Algorithm Search⌘K

Definitionadvanced

Balanced realization

Also called internally balanced realization.

A realization of an asymptotically stable system whose two Gramians are equal and diagonal, with the Hankel singular values on the diagonal. It exists exactly for minimal realizations.

A balanced realization of an asymptotically stable linear system is a choice of state coordinates in which the controllability Gramian and the observability Gramian are equal and diagonal: Wc=Wo=Σ=diag⁡(σ1,…,σn)W_c = W_o = \Sigma = \operatorname{diag}(\sigma_1, \dots, \sigma_n) with σ1≥⋯≥σn>0\sigma_1 \ge \dots \ge \sigma_n > 0, the Hankel singular values. In these coordinates each state is exactly as easy to reach from the input as it is to see at the output, and the states are sorted by importance. Moore (1981) introduced it, by analogy with principal component analysis. Every asymptotically stable minimal realization can be balanced by a change of coordinates computed from two square-root factors and one singular value decomposition. Dropping the last states of a balanced realization is balanced truncation, the standard method of model order reduction with an a priori error bound.

Definition

Let (A,B,C,D)(A, B, C, D) be a realization of G(s)=C(sI−A)−1B+DG(s) = C(sI - A)^{-1}B + D with AA Hurwitz, and let WcW_c and WoW_o solve

AWc+WcAT+BBT=0,ATWo+WoA+CTC=0.A W_c + W_c A^T + B B^T = 0, \qquad A^T W_o + W_o A + C^T C = 0.

The realization is balanced if

Wc=Wo=Σ=diag⁡(σ1,…,σn),σ1≥σ2≥⋯≥σn>0.W_c = W_o = \Sigma = \operatorname{diag}(\sigma_1, \dots, \sigma_n), \qquad \sigma_1 \ge \sigma_2 \ge \dots \ge \sigma_n > 0.

Then the σi\sigma_i are the Hankel singular values, since WcWo=Σ2W_c W_o = \Sigma^2.

Existence (theorem). An asymptotically stable realization has a balanced form (T−1AT,T−1B,CT,D)(T^{-1} A T, T^{-1} B, C T, D) for some invertible TT if and only if it is minimal. Proof. If it is minimal, WcW_c and WoW_o are positive definite. Take factors Wc=LcLcTW_c = L_c L_c^T and Wo=LoLoTW_o = L_o L_o^T, for example Cholesky factors, and an SVD LoTLc=UΣVTL_o^T L_c = U \Sigma V^T. Then Σ\Sigma is invertible, and

T=LcVΣ−1/2,T−1=Σ−1/2UTLoT.T = L_c V \Sigma^{-1/2}, \qquad T^{-1} = \Sigma^{-1/2} U^T L_o^T.

Indeed T−1T=Σ−1/2UT(UΣVT)VΣ−1/2=IT^{-1} T = \Sigma^{-1/2} U^T (U \Sigma V^T) V \Sigma^{-1/2} = I. The new Gramians are T−1WcT−T=Σ−1/2UT(UΣVT)(VΣUT)UΣ−1/2=ΣT^{-1} W_c T^{-T} = \Sigma^{-1/2} U^T (U\Sigma V^T)(V \Sigma U^T) U \Sigma^{-1/2} = \Sigma and TTWoT=Σ−1/2VT(VΣUT)(UΣVT)VΣ−1/2=ΣT^T W_o T = \Sigma^{-1/2} V^T (V\Sigma U^T)(U\Sigma V^T) V \Sigma^{-1/2} = \Sigma. Conversely, a balanced realization has positive definite Gramians, so it is controllable and observable, and a similarity does not change this. ■\blacksquare

Uniqueness (theorem). If the σi\sigma_i are distinct, the balanced realization is unique up to the signs of the states: two balancing transformations differ by diag⁡(±1)\operatorname{diag}(\pm 1). If some values are repeated, the freedom is an orthogonal transformation inside each block of equal values. Reason: a transformation SS between two balanced forms satisfies S−1ΣS−T=ΣS^{-1} \Sigma S^{-T} = \Sigma and STΣS=ΣS^T \Sigma S = \Sigma, so STΣ2S−T=Σ2S^T \Sigma^2 S^{-T} = \Sigma^2; thus STS^T commutes with Σ2\Sigma^2, and SS is block diagonal on the eigenspaces of Σ\Sigma, where it is orthogonal.

Properties of the balanced form (theorem). Write bib_i for row ii of BB and cic_i for column ii of CC. The diagonal entries of the two Lyapunov equations give 2aiiσi+∥bi∥2=02 a_{ii} \sigma_i + \|b_i\|^2 = 0 and 2aiiσi+∥ci∥2=02 a_{ii} \sigma_i + \|c_i\|^2 = 0. So ∥bi∥=∥ci∥\|b_i\| = \|c_i\| and aii=−∥bi∥2/(2σi)<0a_{ii} = -\|b_i\|^2 / (2\sigma_i) < 0. Every leading subsystem (A11,B1,C1)(A_{11}, B_1, C_1) of order rr is again balanced, with Gramians diag⁡(σ1,…,σr)\operatorname{diag}(\sigma_1, \dots, \sigma_r), and it is asymptotically stable, with A11A_{11} Hurwitz, when σr>σr+1\sigma_r > \sigma_{r+1} (Pernebo and Silverman 1982); see the error bound page.

Examples and non-examples

  • First order. G(s)=1/(s+1)G(s) = 1/(s + 1) with (A,B,C)=(−1,1,1)(A, B, C) = (-1, 1, 1) is balanced: Wc=Wo=1/2W_c = W_o = 1/2. The realization (−1,2,1/2)(-1, 2, 1/2) of the same GG is not balanced, with Wc=2W_c = 2 and Wo=1/8W_o = 1/8; the change x=2x~x = 2 \tilde x balances it.
  • Two modes. A=diag⁡(−1,−3)A = \operatorname{diag}(-1, -3), B=[11]B = \begin{bmatrix} 1 \\ 1 \end{bmatrix}, C=[11]C = \begin{bmatrix} 1 & 1 \end{bmatrix}, so G(s)=1/(s+1)+1/(s+3)G(s) = 1/(s+1) + 1/(s+3). Both Gramians equal [1/21/41/41/6]\begin{bmatrix} 1/2 & 1/4 \\ 1/4 & 1/6 \end{bmatrix}, but this matrix is not diagonal, so the realization is not balanced. The Hankel singular values are 1/3±13/12=0.63380,0.0328711/3 \pm \sqrt{13}/12 = 0.63380, 0.032871. A balanced form, as the implementation of balanced truncation returns it, is
A~=[−2+2/13−3/13−3/13−2−2/13]=[−1.44530−0.83205−0.83205−2.55470],B~=C~T=[1.353530.40982],\tilde A = \begin{bmatrix} -2 + 2/\sqrt{13} & -3/\sqrt{13} \\ -3/\sqrt{13} & -2 - 2/\sqrt{13} \end{bmatrix} = \begin{bmatrix} -1.44530 & -0.83205 \\ -0.83205 & -2.55470 \end{bmatrix}, \qquad \tilde B = \tilde C^T = \begin{bmatrix} 1.35353 \\ 0.40982 \end{bmatrix},

with b~i=1±3/13\tilde b_i = \sqrt{1 \pm 3/\sqrt{13}}. The check a11=−b~12/(2σ1)=−1.83205/1.26759=−1.44530a_{11} = -\tilde b_1^2 / (2\sigma_1) = -1.83205 / 1.26759 = -1.44530 agrees. Other balanced forms differ by the sign of a state. Truncating to the first state gives G1(s)=1.83205/(s+1.44530)G_1(s) = 1.83205 / (s + 1.44530) with H∞H_\infty error 0.065741=2σ20.065741 = 2\sigma_2, the bound of the error bound theorem, attained here at ω=0\omega = 0 (a measurement on a frequency grid).

  • Non-example: diagonal but not equal. A realization with Wc=IW_c = I and Wo=Σ2W_o = \Sigma^2 is input normal, and one with Wc=Σ2W_c = \Sigma^2 and Wo=IW_o = I is output normal. They differ from the balanced form by the scaling Σ1/2\Sigma^{1/2}, and they are used in some algorithms, but they are not balanced.
  • Non-example: a realization that is not minimal. A=diag⁡(−1,−2)A = \operatorname{diag}(-1, -2), B=e1B = e_1, C=[11]C = \begin{bmatrix} 1 & 1 \end{bmatrix} has Wc=diag⁡(1/2,0)W_c = \operatorname{diag}(1/2, 0), and σ2=0\sigma_2 = 0. No change of coordinates gives Σ\Sigma with positive entries. Remove the state that is not controllable first, with the Kalman decomposition.
  • Non-example: an unstable system. For 1/(s−1)1/(s - 1) the Gramians are not defined. One balances the asymptotically stable part, or uses LQG balancing, which works with Riccati equations instead of Lyapunov equations.
  • Hankel singular values. The diagonal of Σ\Sigma; see Hankel singular values.
  • Balanced truncation and residualization. Keep the first rr balanced states, either by deleting the others (balanced truncation) or by setting their derivatives to zero (balanced singular perturbation approximation, see singular perturbation method).
  • Other balancings. LQG balancing uses the solutions of the control and filter Riccati equations; stochastic balancing aims at a small relative error and keeps a minimum phase system minimum phase; positive real balancing and bounded real balancing keep passivity and contractivity of the system; frequency-weighted balancing uses Gramians of the system with input and output weights. All of them diagonalize two positive definite matrices at once by the same formula T=LcVΣ−1/2T = L_c V \Sigma^{-1/2}.
  • Simultaneous diagonalization. The construction is the general way to diagonalize two symmetric positive definite matrices PP and QQ with one congruence, T−1PT−T=TTQTT^{-1} P T^{-T} = T^T Q T. Laub, Heath, Paige and Ward (1987) compute it from Cholesky factors and an SVD, without forming WcWoW_c W_o.
  • Principal component analysis. Moore's motivation: the SVD of LoTLcL_o^T L_c ranks the state directions as principal component analysis ranks the directions of a data set.
  • Condition of the transformation. Since VV is orthogonal, the condition number in the 2-norm satisfies κ2(T)≤κ2(Lc)σ1/σn\kappa_2(T) \le \kappa_2(L_c) \sqrt{\sigma_1 / \sigma_n}, and TT can be ill conditioned when σn\sigma_n is tiny. Balancing-free and square-root methods avoid forming TT in full for this reason.

References

  1. B. C. Moore, Principal component analysis in linear systems, controllability, observability, and model reduction, IEEE Transactions on Automatic Control 26(1), 17-32, 1981, the internally balanced realization, its construction from the two Gramians, and its use for model reduction
  2. L. Pernebo and L. M. Silverman, Model reduction via balanced state space representations, IEEE Transactions on Automatic Control 27(2), 382-387, 1982, the stability of the subsystems of a balanced realization
  3. A. J. Laub, M. T. Heath, C. C. Paige and R. C. Ward, Computation of system balancing transformations and other applications of simultaneous diagonalization algorithms, IEEE Transactions on Automatic Control 32(2), 115-122, 1987, the computation of the balancing transformation from Cholesky factors of the Gramians and an SVD
  4. Athanasios C. Antoulas, Approximation of Large-Scale Dynamical Systems, SIAM, 2005, Chapter 7, Balancing and balanced approximations
  5. Kemin Zhou, John C. Doyle and Keith Glover, Robust and Optimal Control, Prentice Hall, 1996, Chapter 7, Model Reduction by Balanced Truncation

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/FTMZNF/text.yaml