Anonymous
×
Create a new article
Write your page title here:
We currently have 105 articles on MOR Wiki. Type your article name above or click on one of the titles below and start writing!



MOR Wiki

Difference between revisions of "Balanced Truncation"

(direct truncation paragraph)
(change BT to BT for systems in generalized state space form)
Line 8: Line 8:
   
 
==Derivation ==
 
==Derivation ==
  +
We consider linear time-invariant systems, defined in generalized state-space form by
A stable minimal (controllable and observable) system <math>\Sigma</math>, realized by <math>(A,B,C,D)</math>
 
   
<math> \dot{x} = Ax + Bu</math>
+
<math> E\dot{x} = Ax + Bu,</math>
   
<math> y = Cx + Du</math>
+
<math> y = Cx + Du,</math>
   
  +
where nonsingularity of <math>E</math> and stability (<math>A - \lambda E</math> stable) is assumed.
is called balanced<ref>B.C. Moore, "<span class="plainlinks">[http://dx.doi.org/10.1109/TAC.1981.1102568 Principal component analysis in linear systems: Controllability, observability, and model reduction]</span>", IEEE Transactions on Automatic Control , vol.26, no.1, pp.17,32, Feb 1981</ref>, if the systems [[wikipedia:Controllability_Gramian|Controllability Gramian]] and [[wikipedia:Observability_Gramian|Observability Gramian]], the solutions <math>W_C</math> and <math>W_O</math> of the Lyapunov equations
 
   
<math> AW_C+W_CA^T=-BB^T </math>
 
   
 
A stable minimal (controllable and observable) system <math>\Sigma</math>, realized by <math>(E,A,B,C,D)</math>,
<math> A^TW_O+W_OA=-C^TC </math>
 
 
is called balanced<ref>B.C. Moore, "<span class="plainlinks">[http://dx.doi.org/10.1109/TAC.1981.1102568 Principal component analysis in linear systems: Controllability, observability, and model reduction]</span>", IEEE Transactions on Automatic Control , vol.26, no.1, pp.17,32, Feb 1981</ref>, if the systems [[wikipedia:Controllability_Gramian|Controllability Gramian]] and [[wikipedia:Observability_Gramian|Observability Gramian]], i.e. the solutions <math>W_C</math> and <math>W_O</math> of the (generalized) Lyapunov equations
   
 
<math> AW_CE^T+EW_CA^T=-BB^T, </math>
respectively, satisfy <math> W_C=W_O=diag(\sigma_1,\dots,\sigma_n)</math> with <math> \sigma_1\geq\sigma_2\geq \dots\geq\sigma_n>0</math>.
 
  +
  +
<math> A^T\hat W_OE+E^T\hat W_OA=-C^TC, \quad W_O=E^T\hat W_O E, </math>
  +
 
satisfy <math> W_C=W_O=diag(\sigma_1,\dots,\sigma_n)</math> with <math> \sigma_1\geq\sigma_2\geq \dots\geq\sigma_n>0</math>.
 
Since in general, the spectrum of <math>W_CW_O</math> are the squared Hankel Singular Values for such a balanced system, they are given by: <math>\sqrt{\lambda(W_CW_O)} = \{\sigma_1,\dots,\sigma_n\}</math>.
 
Since in general, the spectrum of <math>W_CW_O</math> are the squared Hankel Singular Values for such a balanced system, they are given by: <math>\sqrt{\lambda(W_CW_O)} = \{\sigma_1,\dots,\sigma_n\}</math>.
   
An arbitrary system <math>(A,B,C,D)</math> can be transformed into a balanced system <math>(\tilde{A},\tilde{B},\tilde{C},\tilde{D})</math> via a state-space transformation:
+
An arbitrary system <math>(E,A,B,C,D)</math> can be transformed into a balanced system <math>(\tilde{E},\tilde{A},\tilde{B},\tilde{C},\tilde{D})</math> via a state-space transformation:
   
<math> (\tilde{A},\tilde{B},\tilde{C},\tilde{D})= (TAT^{-1},TB,CT^{-1},D).</math>
+
<math> (\tilde{E},\tilde{A},\tilde{B},\tilde{C},\tilde{D})= (TET^{-1},TAT^{-1},TB,CT^{-1},D).</math>
   
 
This transformed system has balanced Gramians <math>W_C=T\tilde{W_C}T^T</math> and <math>W_O=T^{-T}\tilde{W_O}T^{-1}</math> which are equal and diagonal.
 
This transformed system has balanced Gramians <math>W_C=T\tilde{W_C}T^T</math> and <math>W_O=T^{-T}\tilde{W_O}T^{-1}</math> which are equal and diagonal.
 
The balanced systems states are ordered (descendingly) by how controllable and observable they are, thus allowing a partion of the form:
 
The balanced systems states are ordered (descendingly) by how controllable and observable they are, thus allowing a partion of the form:
   
<math> (\tilde{A},\tilde{B},\tilde{C},\tilde{D})= \left (\begin{bmatrix}\tilde{A}_{11} & \tilde{A}_{12}\\ \tilde{A}_{21} & \tilde{A}_{22}\end{bmatrix},\begin{bmatrix}\tilde{B}_1\\\tilde{B}_2\end{bmatrix},\begin{bmatrix} \tilde{C}_1 &\tilde{C}_2 \end{bmatrix},\tilde{D}\right)</math>.
+
<math> (\tilde{E},\tilde{A},\tilde{B},\tilde{C},\tilde{D})= \left (\begin{bmatrix}\tilde{E}_{11} & \tilde{E}_{12}\\ \tilde{E}_{21} & \tilde{E}_{22}\end{bmatrix}, \begin{bmatrix}\tilde{A}_{11} & \tilde{A}_{12}\\ \tilde{A}_{21} & \tilde{A}_{22}\end{bmatrix},\begin{bmatrix}\tilde{B}_1\\\tilde{B}_2\end{bmatrix},\begin{bmatrix} \tilde{C}_1 &\tilde{C}_2 \end{bmatrix},\tilde{D}\right)</math>.
   
By truncating the discardable states, the truncated reduced system is then given by <math> \hat{\Sigma}=(\tilde{A}_{11},\tilde{B}_1,\tilde{C}_1,\tilde{D}) </math>.
+
By truncating the discardable states, the truncated reduced system is then given by <math> \hat{\Sigma}=(\tilde{E}_{11},\tilde{A}_{11},\tilde{B}_1,\tilde{C}_1,\tilde{D}) </math>.
   
 
== Implementation: SR Method==
 
== Implementation: SR Method==
   
 
The necessary balancing transformation can be computed by the SR Method<ref>A.J. Laub; M.T. Heath; C. Paige; R. Ward, "<span class="plainlinks">[http://dx.doi.org/10.1109/TAC.1987.1104549 Computation of system balancing transformations and other applications of simultaneous diagonalization algorithms]</span>," IEEE Transactions on Automatic Control, vol.32, no.2, pp.115,122, Feb 1987</ref>.
 
The necessary balancing transformation can be computed by the SR Method<ref>A.J. Laub; M.T. Heath; C. Paige; R. Ward, "<span class="plainlinks">[http://dx.doi.org/10.1109/TAC.1987.1104549 Computation of system balancing transformations and other applications of simultaneous diagonalization algorithms]</span>," IEEE Transactions on Automatic Control, vol.32, no.2, pp.115,122, Feb 1987</ref>.
First, the Cholesky factors of the gramians <math>W_C=S^TS,\; W_O=R^TR</math> are computed.
+
First, the Cholesky factors of the Gramians <math>W_C=S^TS,\; W_O=R^TR</math> are computed.
 
Next, the [[wikipedia:Singular_Value_Decomposition|Singular Value Decomposition]] of <math> SR^T\;</math> is computed:
 
Next, the [[wikipedia:Singular_Value_Decomposition|Singular Value Decomposition]] of <math> SR^T\;</math> is computed:
   
Line 46: Line 50:
 
<math>SR^T= \begin{bmatrix} U_1 U_2 \end{bmatrix} \begin{bmatrix} \Sigma_1 & \\ & \Sigma_2\end{bmatrix} \begin{bmatrix} V_1^T\\V_2^T\end{bmatrix}.</math>
 
<math>SR^T= \begin{bmatrix} U_1 U_2 \end{bmatrix} \begin{bmatrix} \Sigma_1 & \\ & \Sigma_2\end{bmatrix} \begin{bmatrix} V_1^T\\V_2^T\end{bmatrix}.</math>
   
The truncation of discardable partitions <math>U_2,V^T_2,\Sigma_2</math> results in the reduced order model <math>(P^TAQ,P^TB,CQ,D)\;</math> where
+
The truncation of discardable partitions <math>U_2,V^T_2,\Sigma_2</math> results in the reduced order model <math>(P^TEQ,P^TAQ,P^TB,CQ,D)\;</math> where
   
<math> P=R^T V_1\Sigma_1^{-\frac{1}{2}},</math>
+
<math> P^T=\Sigma_1^{-\frac{1}{2}}V_1^T R E^{-1},</math>
   
 
<math> Q= S^T U_1 \Sigma_1^{-\frac{1}{2}}.</math>
 
<math> Q= S^T U_1 \Sigma_1^{-\frac{1}{2}}.</math>
   
<math>Q^TP=I_r</math> makes <math> QP^T</math> an oblique projector and hence '''Balanced Trunctation''' a Petrov-Galerkin projection method. The reduced model is stable with Hankel Singular Values given by <math>\sigma_1,\dots,\sigma_r</math>, where r is the order of the reduced system. It is possible to choose <math>r</math> via the computable error bound<ref>D.F. Enns, "<span class="plainlinks">[http://dx.doi.org/10.1109/CDC.1984.272286 Model reduction with balanced realizations: An error bound and a frequency weighted generalization]</span>," The 23rd IEEE Conference on Decision and Control, vol.23, pp.127,132, Dec. 1984</ref>:
+
Note that <math>P^TEQ=I_r</math> which makes <math> QP^T</math> an oblique projector and hence '''Balanced Trunctation''' a Petrov-Galerkin projection method. The reduced model is stable with Hankel Singular Values given by <math>\sigma_1,\dots,\sigma_r</math>, where r is the order of the reduced system. It is possible to choose <math>r</math> via the computable error bound<ref>D.F. Enns, "<span class="plainlinks">[http://dx.doi.org/10.1109/CDC.1984.272286 Model reduction with balanced realizations: An error bound and a frequency weighted generalization]</span>," The 23rd IEEE Conference on Decision and Control, vol.23, pp.127,132, Dec. 1984</ref>:
   
 
<math> \|\Sigma-\hat{\Sigma}\|_2 \leq 2 \|u\|_2 \sum_{k=r+1}^n\sigma_k. </math>
 
<math> \|\Sigma-\hat{\Sigma}\|_2 \leq 2 \|u\|_2 \sum_{k=r+1}^n\sigma_k. </math>

Revision as of 13:06, 29 April 2013


Balanced Truncation is an important projection model reduction method which delivers high quality reduced models by making an extra effort in choosing the projection subspaces.


Derivation

We consider linear time-invariant systems, defined in generalized state-space form by

 E\dot{x} = Ax + Bu,

 y = Cx + Du,

where nonsingularity of E and stability (A - \lambda E stable) is assumed.


A stable minimal (controllable and observable) system \Sigma, realized by (E,A,B,C,D), is called balanced[1], if the systems Controllability Gramian and Observability Gramian, i.e. the solutions W_C and W_O of the (generalized) Lyapunov equations

 AW_CE^T+EW_CA^T=-BB^T,

 A^T\hat W_OE+E^T\hat W_OA=-C^TC, \quad W_O=E^T\hat W_O E,

satisfy  W_C=W_O=diag(\sigma_1,\dots,\sigma_n) with  \sigma_1\geq\sigma_2\geq \dots\geq\sigma_n>0. Since in general, the spectrum of W_CW_O are the squared Hankel Singular Values for such a balanced system, they are given by: \sqrt{\lambda(W_CW_O)} = \{\sigma_1,\dots,\sigma_n\}.

An arbitrary system (E,A,B,C,D) can be transformed into a balanced system (\tilde{E},\tilde{A},\tilde{B},\tilde{C},\tilde{D}) via a state-space transformation:

 (\tilde{E},\tilde{A},\tilde{B},\tilde{C},\tilde{D})= (TET^{-1},TAT^{-1},TB,CT^{-1},D).

This transformed system has balanced Gramians W_C=T\tilde{W_C}T^T and W_O=T^{-T}\tilde{W_O}T^{-1} which are equal and diagonal. The balanced systems states are ordered (descendingly) by how controllable and observable they are, thus allowing a partion of the form:

 (\tilde{E},\tilde{A},\tilde{B},\tilde{C},\tilde{D})= \left (\begin{bmatrix}\tilde{E}_{11} & \tilde{E}_{12}\\ \tilde{E}_{21} & \tilde{E}_{22}\end{bmatrix}, \begin{bmatrix}\tilde{A}_{11} & \tilde{A}_{12}\\ \tilde{A}_{21} & \tilde{A}_{22}\end{bmatrix},\begin{bmatrix}\tilde{B}_1\\\tilde{B}_2\end{bmatrix},\begin{bmatrix} \tilde{C}_1 &\tilde{C}_2 \end{bmatrix},\tilde{D}\right).

By truncating the discardable states, the truncated reduced system is then given by  \hat{\Sigma}=(\tilde{E}_{11},\tilde{A}_{11},\tilde{B}_1,\tilde{C}_1,\tilde{D}) .

Implementation: SR Method

The necessary balancing transformation can be computed by the SR Method[2]. First, the Cholesky factors of the Gramians W_C=S^TS,\; W_O=R^TR are computed. Next, the Singular Value Decomposition of  SR^T\; is computed:

 SR^T= U\Sigma V^T.

Now, partitioning U,V, for example based on the Hankel singuar Values, gives

SR^T= \begin{bmatrix} U_1 U_2 \end{bmatrix} \begin{bmatrix} \Sigma_1 & \\ & \Sigma_2\end{bmatrix} \begin{bmatrix} V_1^T\\V_2^T\end{bmatrix}.

The truncation of discardable partitions U_2,V^T_2,\Sigma_2 results in the reduced order model (P^TEQ,P^TAQ,P^TB,CQ,D)\; where

 P^T=\Sigma_1^{-\frac{1}{2}}V_1^T R E^{-1},

 Q= S^T U_1 \Sigma_1^{-\frac{1}{2}}.

Note that P^TEQ=I_r which makes  QP^T an oblique projector and hence Balanced Trunctation a Petrov-Galerkin projection method. The reduced model is stable with Hankel Singular Values given by \sigma_1,\dots,\sigma_r, where r is the order of the reduced system. It is possible to choose r via the computable error bound[3]:

 \|\Sigma-\hat{\Sigma}\|_2 \leq 2 \|u\|_2 \sum_{k=r+1}^n\sigma_k.

Direct Truncation

A related truncation-based approach is Direct Truncation[4]. Given a stable and symmetric system (A,B,C,D), such that there exists a transformation J

AJ = JA^T

B = JC^T

then the solution of the Sylvester Equation

AW_X+W_XA=-BC

is the Cross Gramian, of which the absolute value of its spectrum equals the Hankel Singular Values:

|\lambda(W_X)| = \{\sigma_1,\dots,\sigma_r\}.

Thus the Singular Value Decomposition of the Cross Gramian

W_X = U\Sigma V^T

also allows a partitioning

W_X = \begin{bmatrix} U_1 U_2 \end{bmatrix} \begin{bmatrix} \Sigma_1 & \\ & \Sigma_2\end{bmatrix} \begin{bmatrix} V_1^T\\V_2^T\end{bmatrix}.

and a subsequent truncation of the discardable states, to which the above error bound also applies.

References

  1. B.C. Moore, "Principal component analysis in linear systems: Controllability, observability, and model reduction", IEEE Transactions on Automatic Control , vol.26, no.1, pp.17,32, Feb 1981
  2. A.J. Laub; M.T. Heath; C. Paige; R. Ward, "Computation of system balancing transformations and other applications of simultaneous diagonalization algorithms," IEEE Transactions on Automatic Control, vol.32, no.2, pp.115,122, Feb 1987
  3. D.F. Enns, "Model reduction with balanced realizations: An error bound and a frequency weighted generalization," The 23rd IEEE Conference on Decision and Control, vol.23, pp.127,132, Dec. 1984
  4. Antoulas, Athanasios C. "Approximation of large-scale dynamical systems". Vol. 6. Society for Industrial and Applied Mathematics, 2009; ISBN 978-0-89871-529-3