Controllability Gramian

From testwiki
Jump to navigation Jump to search

Template:Short description In control theory, we may need to find out whether or not a system such as 𝒙˙(t)=𝑨𝒙(t)+𝑩𝒖(t)π’š(t)=π‘ͺ𝒙(t)+𝑫𝒖(t) is controllable, where 𝑨, 𝑩, π‘ͺ and 𝑫 are, respectively, n×n, n×p, q×n and q×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 𝑨, 𝑩, π‘ͺ and 𝑫 are invariant with respect to time.

One can observe if the LTI system is or is not controllable simply by looking at the pair (𝑨,𝑩). Then, we can say that the following statements are equivalent:

  1. The pair (𝑨,𝑩) is controllable.
  2. The n×n matrix 𝑾𝒄(t)=0te𝑨τ𝑩𝑩𝑻e𝑨Tτdτ=0te𝑨(tτ)𝑩𝑩𝑻e𝑨T(tτ)dτ is nonsingular for any t>0.
  3. The n×np controllability matrix π’ž=[𝑩𝑨𝑩𝑨2𝑩𝑨n1𝑩] has rank n.
  4. The n×(n+p) matrix [𝑨λ𝑰𝑩] has full row rank at every eigenvalue λ of 𝑨.

If, in addition, all eigenvalues of 𝑨 have negative real parts (𝑨 is stable), and the unique solution of the Lyapunov equation 𝑨𝑾c+𝑾c𝑨T=𝑩𝑩T is positive definite, the system is controllable. The solution is called the Controllability Gramian and can be expressed as 𝑾𝒄=0e𝑨τ𝑩𝑩Te𝑨Tτdτ

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 𝑨𝑾c+𝑾c𝑨T=𝑩𝑩T

In fact, we can see that if we take 𝑾𝒄=0e𝑨τ𝑩𝑩Te𝑨Tτdτ as a solution, we are going to find that: 𝑨𝑾c+𝑾c𝑨T=0𝑨e𝑨τ𝑩𝑩Te𝑨Tτdτ+0e𝑨τ𝑩𝑩𝑻e𝑨Tτ𝑨Tdτ=0ddτ(e𝑨τ𝑩𝑩Te𝑨Tτ)dτ=e𝑨t𝑩𝑩Te𝑨Tt|t=0=0𝑩𝑩T=𝑩𝑩T

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

Properties

We can see that 𝑩𝑩𝑻 is a symmetric matrix, therefore, so is 𝑾c.

We can use again the fact that, if 𝑨 is stable (all its eigenvalues have negative real part) to show that 𝑾c is unique. In order to prove so, suppose we have two different solutions for 𝑨𝑾c+𝑾c𝑨T=𝑩𝑩T and they are given by 𝑾c1 and 𝑾c2. Then we have: 𝑨(𝑾c1𝑾c2)+(𝑾c1𝑾c2)𝑨T=0

Multiplying by e𝑨t by the left and by e𝑨Tt by the right, would lead us to e𝑨t[𝑨(𝑾c1𝑾c2)+(𝑾c1𝑾c2)𝑨T]e𝑨Tt=ddt[e𝑨t(𝑾c1𝑾c2)e𝑨𝑻t]=0

Integrating from 0 to : [e𝑨t(𝑾c1𝑾c2)e𝑨Tt]t=0=0 using the fact that e𝑨t0 as t: 0(𝑾c1𝑾c2)=0

In other words, 𝑾c has to be unique.

Also, we can see that 𝒙T𝑾c𝒙=0𝒙Te𝑨t𝑩𝑩Te𝑨Tt𝒙dt=0𝑩Te𝑨Tt𝒙22dt is positive for any t (assuming the non-degenerate case where 𝑩Te𝑨Tt𝒙 is not identically zero). This makes 𝑾c a positive definite matrix.

More properties of controllable systems can be found in Template:Harvtxt, as well as the proof for the other equivalent statements of β€œThe pair (𝑨,𝑩) is controllable” presented in section Controllability 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 controllable” (the equivalences are much alike for the continuous time case).

We are interested in the equivalence that claims that, if β€œThe pair (𝑨,𝑩) is controllable” and all the eigenvalues of 𝑨 have magnitude less than 1 (𝑨 is stable), then the unique solution of Wdc𝑨𝑾dc𝑨T=𝑩𝑩T is positive definite and given by 𝑾dc=m=0𝑨m𝑩𝑩T(𝑨T)m

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 𝑾dc is positive definite, and all eigenvalues of 𝑨 have magnitude less than 1, the system (𝑨,𝑩) is controllable. More properties and proofs can be found in Template:Harvtxt.

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 controllable or not. This can be done in a very similar way of the preceding cases.

The system (𝑨(t),𝑩(t)) is controllable at time t0 if and only if there exists a finite t1>t0 such that the n×n matrix, also called the Controllability Gramian, given by 𝑾c(t0,t1)=t0t1Φ(t1,τ)𝑩(τ)𝑩T(τ)ΦT(t1,τ)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 is not a controllable system.

Properties of Wc(t0,t1)

We have that the Controllability Gramian 𝑾c(t0,t1) have the following property: 𝑾c(t0,t1)=𝑾c(t,t1)+Φ(t1,t)𝑾c(t0,t)ΦT(t1,t) that can easily be seen by the definition of 𝑾c(t0,t1) and by the property of the state transition matrix that claims that: Φ(t1,τ)=Φ(t1,t)Φ(t,τ)

More about the Controllability Gramian can be found in Template:Harvtxt.

See also

References