Observability Gramian

From testwiki
Jump to navigation Jump to search

In control theory, we may need to find out whether or not a system such as

𝒙˙(t)=𝑨𝒙(t)+𝑩𝒖(t)π’š(t)=π‘ͺ𝒙(t)+𝑫𝒖(t)

is observable, where 𝑨, 𝑩, π‘ͺ and 𝑫 are, respectively, n×n, n×p,q×n and q×p matrices.

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

Observability in LTI Systems

Linear Time Invariant (LTI) Systems are those systems in which the parameters 𝑨, 𝑩, π‘ͺ and 𝑫 are invariant with respect to time.

One can determine if the LTI system is or is not observable simply by looking at the pair (𝑨,π‘ͺ). Then, we can say that the following statements are equivalent:

1. The pair (𝑨,π‘ͺ) is observable.

2. The n×n matrix

𝑾𝒐(t)=0te𝑨Tτπ‘ͺTπ‘ͺe𝑨τdτ

is nonsingular for any t>0.

3. The nq×n observability matrix

[π‘ͺπ‘ͺ𝑨π‘ͺ𝑨2π‘ͺ𝑨n1]

has rank n.

4. The (n+q)×n matrix

[𝑨λ𝑰π‘ͺ]

has full column rank at every eigenvalue λ of 𝑨.

If, in addition, all eigenvalues of 𝑨 have negative real parts (𝑨 is stable) and the unique solution of

𝑨𝑻𝑾o+𝑾o𝑨=π‘ͺ𝑻π‘ͺ

is positive definite, then the system is observable. The solution is called the Observability Gramian and can be expressed as

𝑾𝒐=0e𝑨Tτπ‘ͺ𝑻π‘ͺe𝑨τdτ

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

Observability Gramian

The Observability Gramian can be found as the solution of the Lyapunov equation given by

𝑨𝑻𝑾o+𝑾o𝑨=π‘ͺ𝑻π‘ͺ

In fact, we can see that if we take

𝑾𝒐=0e𝑨𝑻τπ‘ͺ𝑻π‘ͺe𝑨τdτ

as a solution, we are going to find that:

𝑨𝑻𝑾o+𝑾o𝑨=0𝑨𝑻e𝑨𝑻τπ‘ͺ𝑻π‘ͺe𝑨τdτ+0e𝑨𝑻τπ‘ͺ𝑻π‘ͺe𝑨τ𝑨dτ=0ddτ(e𝑨𝑻τπ‘ͺTπ‘ͺe𝑨τ)dτ=e𝑨𝑻tπ‘ͺTπ‘ͺe𝑨t|t=0=0π‘ͺ𝑻π‘ͺ=π‘ͺ𝑻π‘ͺ

Where we used the fact that e𝑨t=0 at t= for stable 𝑨 (all its eigenvalues have negative real part). This shows us that 𝑾o is indeed the solution for the Lyapunov equation under analysis.

Properties

We can see that π‘ͺ𝑻π‘ͺ is a symmetric matrix, therefore, so is 𝑾o.

We can use again the fact that, if 𝑨 is stable (all its eigenvalues have negative real part) to show that 𝑾o is unique. In order to prove so, suppose we have two different solutions for

𝑨𝑻𝑾o+𝑾o𝑨=π‘ͺ𝑻π‘ͺ

and they are given by 𝑾o1 and 𝑾o2. Then we have:

𝑨𝑻(𝑾o1𝑾o2)+(𝑾o1𝑾o2)𝑨=0

Multiplying by e𝑨𝑻t by the left and by e𝑨t by the right, would lead us to

e𝑨𝑻t[𝑨𝑻(𝑾o1𝑾o2)+(𝑾o1𝑾o2)𝑨]e𝑨t=ddt[e𝑨𝑻t[(𝑾o1𝑾o2)e𝑨t]=0

Integrating from 0 to :

[e𝑨𝑻t[(𝑾o1𝑾o2)e𝑨t]|t=0=0

using the fact that e𝑨t0 as t:

0(𝑾o1𝑾o2)=0

In other words, 𝑾o has to be unique.

Also, we can see that

𝒙𝑻𝑾𝒐𝒙=0𝒙Te𝑨𝑻tπ‘ͺ𝑻π‘ͺe𝑨t𝒙dt=0π‘ͺ𝒆𝑨𝒕𝒙22dt

is positive for any 𝒙 (assuming the non-degenerate case where π‘ͺ𝒆𝑨𝒕𝒙 is not identically zero), and that makes 𝑾o a positive definite matrix.

More properties of observable systems can be found in,[1] as well as the proof for the other equivalent statements of "The pair (𝑨,π‘ͺ) is observable" presented in section Observability in LTI Systems.

Discrete Time Systems

For discrete time systems as

𝒙[k+1]=𝑨𝒙[k]+𝑩𝒖[k]π’š[k]=π‘ͺ𝒙[k]+𝑫𝒖[k]

One can check that there are equivalences for the statement "The pair (𝑨,π‘ͺ) is observable" (the equivalences are much alike for the continuous time case).

We are interested in the equivalence that claims that, if "The pair (𝑨,π‘ͺ) is observable" and all the eigenvalues of 𝑨 have magnitude less than 1 (𝑨 is stable), then the unique solution of

𝑨𝑻𝑾do𝑨Wdo=π‘ͺ𝑻π‘ͺ

is positive definite and given by

𝑾do=m=0(𝑨T)mπ‘ͺTπ‘ͺ𝑨m

That is called the discrete Observability Gramian. We can easily see the correspondence between discrete time and the continuous time case, that is, if we can check that 𝑾dc is positive definite, and all eigenvalues of 𝑨 have magnitude less than 1, the system (𝑨,𝑩) is observable. More properties and proofs can be found in.[2]

Linear Time Variant Systems

Linear time variant (LTV) systems are those in the form:

𝒙˙(t)=𝑨(t)𝒙(t)+𝑩(t)𝒖(t)π’š(t)=π‘ͺ(t)𝒙(t)

That is, the matrices 𝑨, 𝑩 and π‘ͺ 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 (𝑨(t),π‘ͺ(t)) is observable or not. This can be done in a very similar way of the preceding cases.

The system (𝑨(t),π‘ͺ(t)) is observable at time t0 if and only if there exists a finite t1>t0 such that the n×n matrix also called the Observability Gramian is given by

𝑾o(t0,t1)=t0t1ΦT(τ,t0)π‘ͺT(τ)π‘ͺ(τ)Φ(τ,t0)dτ

where Φ(t,τ) is the state transition matrix of 𝒙˙=𝑨(t)𝒙 is nonsingular.

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

Properties of 𝑾o(t0,t1)

We have that the Observability Gramian 𝑾o(t0,t1) have the following property:

𝑾o(t0,t1)=𝑾o(t0,t)+ΦT(t,t0)𝑾o(t,t0)Φ(t,t0)

that can easily be seen by the definition of 𝑾o(t0,t1) and by the property of the state transition matrix that claims that:

Φ(t0,t1)=Φ(t1,τ)Φ(τ,t0)

More about the Observability Gramian can be found in.[3]

See also

References

Template:More citations needed