Controllability Gramian Explained

In control theory, we may need to find out whether or not a system such as\begin\dot(t) &= \boldsymbol(t) + \boldsymbol(t) \\\boldsymbol(t) &= \boldsymbol(t) +\boldsymbol(t)\endis controllable, where

\boldsymbol{A}

,

\boldsymbol{B}

,

\boldsymbol{C}

and

\boldsymbol{D}

are, respectively,

n x n

,

n x p

,

q x n

and

q x p

matrices for a system with

p

inputs,

n

state variables and

q

outputs.

One of the many ways one can achieve such goal is by the use of the Controllability Gramian.

Controllability in LTI Systems

Linear Time Invariant (LTI) Systems are those systems in which the parameters

\boldsymbol{A}

,

\boldsymbol{B}

,

\boldsymbol{C}

and

\boldsymbol{D}

are invariant with respect to time.

One can observe if the LTI system is or is not controllable simply by looking at the pair

(\boldsymbol{A},\boldsymbol{B})

. Then, we can say that the following statements are equivalent:
  1. The pair

(\boldsymbol{A},\boldsymbol{B})

is controllable.
  1. The

n x n

matrix \boldsymbol(t)=\int_^e^\boldsymbole^d\tau=\int_^e^\boldsymbole^d\tau is nonsingular for any

t>0

.
  1. The

n x np

controllability matrix \mathcal = \begin\boldsymbol & \boldsymbol & \boldsymbol^\boldsymbol & \cdots & \boldsymbol^\boldsymbol \end has rank n.
  1. The

n x (n+p)

matrix \begin\boldsymbol - \lambda \boldsymbol & \boldsymbol\end has full row rank at every eigenvalue

λ

of

\boldsymbol{A}

.

If, in addition, all eigenvalues of

\boldsymbol{A}

have negative real parts (

\boldsymbol{A}

is stable), and the unique solution of the Lyapunov equation\boldsymbol \boldsymbol_ +\boldsymbol_ \boldsymbol^ = -\boldsymbol^is positive definite, the system is controllable. The solution is called the Controllability Gramian and can be expressed as\boldsymbol = \int_^ e^ \boldsymbol^ e^ d\tau

In the following section we are going to take a closer look at the Controllability Gramian.

Controllability Gramian

The controllability Gramian can be found as the solution of the Lyapunov equation given by\boldsymbol \boldsymbol_ + \boldsymbol_ \boldsymbol^ = -\boldsymbol^

In fact, we can see that if we take\boldsymbol = \int_^ e^ \boldsymbol^ e^ d\tauas a solution, we are going to find that:\begin\boldsymbol\boldsymbol_ +\boldsymbol_\boldsymbol^ & = \int_^\boldsymbole^ \boldsymbol^ e^d\tau + \int_^e^\boldsymbole^\boldsymbol^d\tau\\[1ex] & = \int_^\frac\left(e^\boldsymbol\boldsymbol^e^\right)d\tau \\[1ex] & = \left.e^\boldsymbol\boldsymbol^e^\right|_^\\[1ex] & = \boldsymbol - \boldsymbol^ \\[1ex] & = \boldsymbol^\end

Where we used the fact that

e\boldsymbol{At}=0

at

t=infty

for stable

\boldsymbol{A}

(all its eigenvalues have negative real part). This shows us that

\boldsymbol{W}c

is indeed the solution for the Lyapunov equation under analysis.

Properties

We can see that

\boldsymbol{BBT

} is a symmetric matrix, therefore, so is

\boldsymbol{W}c

.

We can use again the fact that, if

\boldsymbol{A}

is stable (all its eigenvalues have negative real part) to show that

\boldsymbol{W}c

is unique. In order to prove so, suppose we have two different solutions for\boldsymbol \boldsymbol_ + \boldsymbol_ \boldsymbol^ = -\boldsymbol^and they are given by

\boldsymbol{W}c1

and

\boldsymbol{W}c2

. Then we have:\boldsymbol (\boldsymbol_ - \boldsymbol_) + (\boldsymbol_ - \boldsymbol_)\boldsymbol^ = \boldsymbol

Multiplying by

e\boldsymbol{At}

by the left and by

e\boldsymbol{ATt}

by the right, would lead us toe^ \left[\boldsymbol{A}(\boldsymbol{W}_{c1}-\boldsymbol{W}_{c2}) + \boldsymbol{(W}_{c1}-\boldsymbol{W}_{c2})\boldsymbol{A}^{T}\right] e^= \frac \left[e^{\boldsymbol{A}t} \left(\boldsymbol{W}_{c1}-\boldsymbol{W}_{c2}\right) e^{\boldsymbol{A^{T}}t}\right]= \boldsymbol

Integrating from

0

to

infty

:\left[e^{\boldsymbol{A}t} \left(\boldsymbol{W}_{c1} - \boldsymbol{W}_{c2}\right) e^{\boldsymbol{A}^{T}t}\right]_^ = \boldsymbolusing the fact that

e\boldsymbol{At} → 0

as

t\toinfty

:\boldsymbol-(\boldsymbol_-\boldsymbol_)=\boldsymbol

In other words,

\boldsymbol{W}c

has to be unique.

Also, we can see that\boldsymbol^\boldsymbol_\boldsymbol= \int_^ \boldsymbol^e^\boldsymbol^e^\boldsymbol \, dt= \int_^ \left\Vert \boldsymbol^e^\boldsymbol\right\Vert _^dtis positive for any t (assuming the non-degenerate case where

\left\Vert\boldsymbol{B}Te\boldsymbol{ATt}\boldsymbol{x}\right\Vert

is not identically zero). This makes

\boldsymbol{W}c

a positive definite matrix.

More properties of controllable systems can be found in, as well as the proof for the other equivalent statements of “The pair

(\boldsymbol{A},\boldsymbol{B})

is controllable” presented in section Controllability in LTI Systems.

Discrete Time Systems

For discrete time systems as\begin\boldsymbol[k+1] &= \boldsymbol[k] + \boldsymbol[k]\\\boldsymbol[k] &= \boldsymbol[k] + \boldsymbol[k]\end

One can check that there are equivalences for the statement “The pair

(\boldsymbol{A},\boldsymbol{B})

is controllable” (the equivalences are much alike for the continuous time case).

We are interested in the equivalence that claims that, if “The pair

(\boldsymbol{A},\boldsymbol{B})

is controllable” and all the eigenvalues of

\boldsymbol{A}

have magnitude less than

1

(

\boldsymbol{A}

is stable), then the unique solution ofW_ - \boldsymbol\boldsymbol_\boldsymbol^ = \boldsymbol^is positive definite and given by\boldsymbol_ = \sum_^\boldsymbol^ \boldsymbol^ \left(\boldsymbol^\right)^

That is called the discrete Controllability Gramian. We can easily see the correspondence between discrete time and the continuous time case, that is, if we can check that

\boldsymbol{W}dc

is positive definite, and all eigenvalues of

\boldsymbol{A}

have magnitude less than

1

, the system

(\boldsymbol{A},\boldsymbol{B})

is controllable. More properties and proofs can be found in .

Linear Time Variant Systems

Linear time variant (LTV) systems are those in the form:\begin\dot(t) &= \boldsymbol(t)\boldsymbol(t)+\boldsymbol(t)\boldsymbol(t) \\\boldsymbol(t) &= \boldsymbol(t)\boldsymbol(t)\end

That is, the matrices

\boldsymbol{A}

,

\boldsymbol{B}

and

\boldsymbol{C}

have entries that varies with time. Again, as well as in the continuous time case and in the discrete time case, one may be interested in discovering if the system given by the pair

(\boldsymbol{A}(t),\boldsymbol{B}(t))

is controllable or not. This can be done in a very similar way of the preceding cases.

The system

(\boldsymbol{A}(t),\boldsymbol{B}(t))

is controllable at time

t0

if and only if there exists a finite

t1>t0

such that the

n x n

matrix, also called the Controllability Gramian, given by\boldsymbol_(t_,t_)=\int_^\boldsymbol(t_,\tau)\boldsymbol(\tau)\boldsymbol^(\tau)\boldsymbol^(t_,\tau)d\tau,where

\boldsymbol{\Phi}(t,\tau)

is the state transition matrix of
\boldsymbol{x
}=\boldsymbol(t)\boldsymbol, is nonsingular.

Again, we have a similar method to determine if a system is or is not a controllable system.

Properties of Wc(t0,t1)

We have that the Controllability Gramian

\boldsymbol{W}c(t0,t1)

have the following property:\boldsymbol_c(t_0, t_1)=\boldsymbol_c(t, t_1)+\boldsymbol(t_1,t)\boldsymbol_c(t_0, t)\boldsymbol^T(t_1,t)that can easily be seen by the definition of

\boldsymbol{W}c(t0,t1)

and by the property of the state transition matrix that claims that:\boldsymbol(t_1,\tau)=\boldsymbol(t_,t)\boldsymbol(t,\tau)

More about the Controllability Gramian can be found in .

See also

References

External links