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โ‹ฎ๐‘ช๐‘จnโˆ’1]

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

๐‘พ๐’=โˆซ0โˆže๐‘จ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

๐‘พ๐’=โˆซ0โˆže๐‘จ๐‘ปฯ„๐‘ช๐‘ป๐‘ชe๐‘จฯ„dฯ„

as a solution, we are going to find that:

๐‘จ๐‘ป๐‘พo+๐‘พo๐‘จ=โˆซ0โˆž๐‘จ๐‘ปe๐‘จ๐‘ปฯ„๐‘ช๐‘ป๐‘ชe๐‘จฯ„dฯ„+โˆซ0โˆže๐‘จ๐‘ปฯ„๐‘ช๐‘ป๐‘ชe๐‘จฯ„๐‘จdฯ„=โˆซ0โˆžddฯ„(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๐‘จtโ†’0 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