Younger than I thought.

Table of Contents

  1. Lec 7 Controllability and Observability
    1. I. LA Recall
      1. a. Rank of matrix
    2. II. Controllability
      1. a. Definition
      2. b. Example.
      3. c . Definition 2
      4. d. Example
      5. e. Theorem
      6. d. Condition
    3. III. Output controbility
      1. a . Definition
      2. b. Theorem
    4. IV. Reachability
      1. a. Definition
    5. V. Stabilizability
      1. a. Definition
    6. VI. Observability
      1. a. Definition
      2. b. Theorem
      3. c. Condition
    7. VII. Detectability
      1. a. Definition

Lec 7 Controllability and Observability


I. LA Recall

a. Rank of matrix

The rank of a matrix ๐ด is the dimension of the vector space generated (or spanned) by its columns. This corresponds to the maximal number of linearly independent columns of ๐ด.

In MATLAB, using rank() would be quick.

II. Controllability

a. Definition

A system is said to be completely state controllable if it is possible to transfer the system states from any initial state ๐‘ฅ(๐‘ก0) to any other desired state ๐‘ฅ(๐‘ก1) in a desired finite time interval ๐‘ก1 by unconstrained control vector ๐‘ข ๐‘ก . Otherwise the system is not completely state controllable.

cb0

  • if the system is controllable, the car can be moved to a desired position from any point in finite time.
  • Unstrained control, itโ€™s more theoretical.
  • Note that not all parts are controllable and whoโ€™s in charge of the system - Matrix B.

b. Example.

eg0

eg1

c . Definition 2

pr0

def3

A way to calculate the coresponding u.

Here, Matrix W_c is usually called Controllability Gramian

d. Example

eg2

e. Theorem

The following statements are equivalent:

S1) The pair ๐ด, ๐ต is controllable;

S2) eq0is nonsigular for any t>0

S3) The controllability matrix ๐‘„๐‘ โˆˆ ๐‘…๐‘›ร—๐‘›๐‘š:

โ€‹ ๐‘„๐‘ =[๐ต,๐ด๐ต,.$๐ด^{๐‘›โˆ’1}$๐ต]

S4)๐‘Ÿ๐‘Ž๐‘›๐‘˜ (๐œ†๐‘–๐ผโˆ’๐ดโ‹ฎ๐ต )=๐‘› for all eigenvalues ๐œ†๐‘– of ๐ด.

d. Condition

The controllability matrix ๐‘„๐‘ โˆˆ ๐‘…๐‘›ร—๐‘›๐‘š has rank n:

  • The controllability matrix ๐‘„๐‘ is square matrix if the system is single input only.
  • If the matrix ๐‘„๐‘ has rank less than ๐‘›, this condition does not give which states are uncontrollable and the rest are controllable.
  • If there is any ๐‘› ร— ๐‘› submatrix of ๐‘„๐‘ with nonzero determinant, the matrix ๐‘„๐‘ has rank ๐‘›.
  • The matrix ๐‘„๐‘ has rank ๐‘› if the matrix ๐‘€ = ${๐‘„๐‘^๐‘‡ }$๐‘„๐‘ (or ๐‘€ = ๐‘„๐‘${๐‘„๐‘^๐‘‡ }$) has nonzero determinant.

eg3

In MATLAB, ctrb(A,B) returns the controllability matrix.

III. Output controbility

a . Definition

A system is said to be completely output controllable if it is possible to transfer the system output from any ๐‘ฆ($๐‘ก_0$) to any other desired output ๐‘ฆ($๐‘ก_1$) in a desired finite time interval $๐‘ก_1$ by unconstrained control vector ๐‘ข(๐‘ก).

In this case, we do not care controllability of each state, but the output.

oc0

b. Theorem

The necessary and sufficient condition for the system to be output controllable is that the rank of the output controllability matrix

โ€‹ ๐‘„๐‘๐‘œ = [๐ถ๐ต,๐ถ๐ด๐ต,.๐ถ$๐ด^{๐‘›โˆ’1}$๐ต,๐ท]

has rank ๐‘, where ๐‘ is a dimension of output vector ๐‘ฆ.

  • A controllable system is not necessarily output controllable!
  • An output controllable system is not necessarily state controllable!

IV. Reachability

a. Definition

A particular state $๐‘ฅ_1$ is called reachable if there exists an input that transfers the state of the system from the initial state $๐‘ฅ_0$ to $x_1$ in some finite time interval $[t0, t).$

eg4

V. Stabilizability

a. Definition

A system is stabilizable if all states that cannot be reached decay to zero asymptotically.

eg5

  • In other words, in such system, limited states can be controlled to certain values in reachable set and others tend to zero.

VI. Observability

a. Definition

A system is said to be completely observable if every (critical) state ๐‘ฅ($๐‘ก_0$) can be completely identified by measurement of the output ๐‘ฆ(๐‘ก) over a finite time interval assuming that the control ๐‘ข(๐‘ก) is also available.

Controllability study the possibility to control the state from the input, while the observability study the possibility of estimating the state vector from the system output ๐‘ฆ(๐‘ก). If a system is not completely observable then some of its state variables are not practically measurable and are shielded from the observation.

eg6

b. Theorem

th0

c. Condition

The Observability matrix $๐‘„_๐‘‚$ โˆˆ $๐‘…^{๐‘›๐‘ƒร—๐‘}$ has rank n:

  • The observability matrix $๐‘„_๐‘‚$ is square matrix if the system is single output only.
  • If the matrix ๐‘„๐‘œ has rank less than ๐‘›, this condition does not give which states are unobservable and the rest are observable.
  • Thematrix $๐‘„_๐‘‚$ has rank ๐‘› if there is an ๐‘›ร—๐‘› submatrix of ๐‘„๐‘œ that has nonzero determinant.
  • The matrix ๐‘„๐‘œ has rank ๐‘› if the matrix ๐‘€ = $๐‘„_๐‘‚^๐‘‡ ๐‘„๐‘œ$ (or ๐‘€ = $๐‘„๐‘œ๐‘„_๐‘‚^๐‘‡$ ) has nonzero determinant.

In MATLAB, you may use obsv(A,C)

VII. Detectability

a. Definition

A system is detectable if all states that cannot be observed decay to zero asymptotically.

eg7