25
ECE504: Lecture 9 ECE504: Lecture 9 D. Richard Brown III Worcester Polytechnic Institute 10-Nov-2009 Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 1 / 25

ECE504: Lecture 9

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

ECE504: Lecture 9

ECE504: Lecture 9

D. Richard Brown III

Worcester Polytechnic Institute

10-Nov-2009

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 1 / 25

ECE504: Lecture 9

Lecture 10 Major Topics

We are finishing up Part II of ECE504: Quantitative and

qualitative analysis of systems

mathematical description → results about behavior of system

Today, we will cover:

◮ Reachability of CT systems◮ Controllability of CT systems◮ Observability of CT systems◮ Introduction to realization theory◮ Minimal realizations

You should be reading Chen Chapters 6 and 7 now. Sections 6.1-6.3discuss controllability and observability for CT systems. Sections6.6-6.7 discuss controllability and observability for DT systems.Sections 7.1-7.2 give an introduction to realization theory.

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 2 / 25

ECE504: Lecture 9

Reachable States (CT Systems)

Definition

The state x ∈ Rn is a reachable state if there exists 0 < T < ∞ and an

input function u(t) defined on t ∈ [0, T ] such that x(T ) = x whenx(0) = 0 and when you apply the chosen input function u(t).

The idea of reachability in CT systems is the same as in DT systems. Wewant to drive the state from 0 to x in finite time.

x1

x2

input drives state from

origin to x in !nite time

(x(0) = 0)

x

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 3 / 25

ECE504: Lecture 9

Reachability Matrix/Theorem for CT-LTI Systems

Definition

Given a CT-LTI system described by the matrices A, B, C, and D, thereachability matrix of this system is the matrix

Qr = [B AB · · · An−1B]

The reachability matrix for CT-LTI systems is defined in exactly the sameway as for DT-LTI systems. The reachability theorem is also identical:

Theorem

x is a reachable state if and only if x ∈ range(Qr).

The proof for this result is not as easy as the DT-LTI case, but isillustrative nonetheless...

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 4 / 25

ECE504: Lecture 9

Proof Strategy — Preliminaries

First note that

[exp{tA}]⊤ =

[

∞∑

k=0

tk

k!Ak

]⊤

=

∞∑

k=0

tk

k!

[

A⊤

]k

= exp{tA⊤}

Now define the “T -reachability Grammian” corresponding to A and B

M r(T ) :=

∫ T

0exp{(T − τ)A}BB⊤ exp{(T − τ)A⊤} dτ

What are the dimensions of M r(T )?

Does M r(T ) have any special properties?

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 5 / 25

ECE504: Lecture 9

Proof Strategy

We’ve defined

M r(T ) :=

∫ T

0exp{(T − τ)A}BB⊤ exp{(T − τ)A⊤} dτ

Qr = [B AB · · · An−1B]

The strategy: For arbitrary 0 < T < ∞, we will show

1. range(M r(T ))(a)⊂ {reachable states}

(b)⊂ range(Qr)

2. range(M r(T ))(c)= range(Qr)

The second part implies the equality of two subspaces. By “sandwiching”,the third subspace (the set of reachable states) must also be equal to theother two subspaces.

Bonus: We can use the Grammian to test for reachability.Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 6 / 25

ECE504: Lecture 9

Strategy Part 1 Proof (show (a) and (b))

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 7 / 25

ECE504: Lecture 9

Strategy Part 2 Proof — Preliminaries

This part is going to require two new linear algebra results. First, recallthat, for A ∈ R

n×m, range(A) is a subspace of Rn and null(A) is asubspace of Rm. What can you say about range(A⊤) and null(A⊤)?

null

Rn R

m

range

Rn R

m

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 8 / 25

ECE504: Lecture 9

Strategy Part 2 Proof — Preliminaries

Here are our two new linear algebra results:

Lemma

dim(range(A)) + dim(null(A⊤)) = n for any A ∈ Rn×m.

Lemma

If v ∈ range(A) and w ∈ null(A⊤), then v⊤w = 0.

What does this imply about range(A) and null(A⊤)?

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 9 / 25

ECE504: Lecture 9

Strategy Part 2 Proof (show (c))

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 10 / 25

ECE504: Lecture 9

Remarks on the Reachability Theorem

We now know that the set of reachable states is equal to range(Qr) and isa subspace of R

n.

Interesting consequence: The reachability definition requires that wedrive the state from the origin to x in a finite time. The reachabilitytheorem implies that we can always drive the state from 0 tox ∈ range(Qr) as quickly as we want in CT-LTI systems.

Theorem

The set of reachable states range(Qr) is invariant under A, i.e. if

x ∈ range(Qr) then Ax ∈ range(Qr).

The proof is a consequence of the Cayley-Hamilton theorem.

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 11 / 25

ECE504: Lecture 9

Controllability versus Reachability for CT Systems

Definition

The state x ∈ Rn is a controllable state if there exists 0 < T < ∞ and

an input function u(t) defined on t ∈ [0, T ] such that x(T ) = 0 whenx(0) = x and when you apply the chosen input function u(t).

x1

x2

input drives state from

x to origin in !nite time

(x(0) = x)x

What can we say about the relationship between reachable states andcontrollable states for CT systems?

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 12 / 25

ECE504: Lecture 9

More Remarks on the Reachability Theorem

Lemma

x is a controllable state if and only if x is a reachable state.

The set of reachable states is identical to the set of controllable states inCT-LTI systems because the CT-STM is always invertible. This is nottrue, as we saw, for DT-LTI systems.

Definition

A CT-LTI system with range(Qr) = Rn, i.e. all states are reachable (or

controllable), is called a “reachable” (or “controllable”) system.

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 13 / 25

ECE504: Lecture 9

Summary: Reachability/Controllability for CT-LTI Systems

◮ Reachability: Drive state from 0 to x.

x1

x2

input drives state from

origin to x in !nite time

(x(0) = 0)

x

◮ Controllability: Drive state from x to 0.

x1

x2

input drives state from

x to origin in !nite time

(x(0) = x)x

◮ {reachable states} = range([B AB · · ·An−1B]) = range(Qr).◮ {reachable states} = {controllable states}.◮ If x and x are both reachable/controllable then we can find an input

to drive the system from x to x (or vice-versa) as quickly as we want.Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 14 / 25

ECE504: Lecture 9

Observability for CT-LTI Systems

Definition

The state x ∈ Rn is an unobservable state if, for any choice of input

function u(t) : [0,∞) 7→ Rp, the output function y(t) : [0,∞) 7→ R

q giveninitial state x(0) = x is the same as the output function given initial statex(0) = 0.

Intuition:

◮ Basically the same idea as DT-LTI systems.

◮ You want to determine the intitial state of the system x(0).

◮ You are allowed to apply any input you want to the system andmeasure the resulting output.

◮ The state x(0) = x is called “unobservable” if you are unable todistinguish it from the initital state x(0) = 0 for any input.

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 15 / 25

ECE504: Lecture 9

Observability for CT-LTI Systems

Given x(0) = x, the output of a CT-LTI system is

y(t) = C exp{tA}x +

∫ t

0C exp{(t − τ)A}Bu(τ) dτ + Du(t)

Given x(0) = 0, the output of a CT-LTI system is

y(t) =

∫ t

0C exp{(t − τ)A}Bu(τ) dτ + Du(t)

Hence, for these to be equal, we must have

C exp{tA}x = 0 ∀t ≥ 0

This condition is equivalent to the statement that “x is unobservable”.

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 16 / 25

ECE504: Lecture 9

Observability Matrix/Theorem for CT-LTI Systems

Definition

Given a CT-LTI SS system described by the matrices A, B, C, and D,the observability matrix of the system is defined as

Qo =

C

CA...

CAn−1

Note that this is exactly the same definition as we saw for DT-LTI systems.

Theorem

x is an unobservable state if and only if x ∈ null(Qo).

Proof...Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 17 / 25

ECE504: Lecture 9

Observable Systems

Definition

A CT-LTI system is observable if no x 6= 0 is an unobservable state.

In other words, like DT-LTI systems, a CT-LTI system is observable ifdim(null(Qo)) = 0 or, equivalently, if rank(Qo) = n.

Some possibly useful facts:

◮ The set of unobservable states is a subspace of Rn.

◮ This subspace is invariant under A, i.e. if x is in the set ofunobservable states, then so is Ax (consequence of theCayley-Hamilton theorem).

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 18 / 25

ECE504: Lecture 9

Final Remarks on Reachability, Controllability, and

Observability

1. Reachability and Controllability are “control” concepts: “How can weaffect the behavior of a system through the input”? This is a previewof Part III of the course.

2. Chapter 6 of Chen has many more results (and examples) thancovered in the lecture.

3. Chen does not distinguish between reachability and controllability forCT systems.

3.1 Remember: The set of reachable states and the set of controllablestates are the same for CT-LTI systems but not necessarily the samefor DT-LTI systems.

3.2 The first mention of reachability is in Section 6.6.1.

4. Please see the discussion of reachability, controllability, andobservability for LTV systems in Section 6.8.

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 19 / 25

ECE504: Lecture 9

Introduction to Realization Theory

Review questions:

1. You are given a p-input, q-output transfer function G(s). Can youalways find a state-space description for this system?

2. You are given a p-input, q-output, n-state LTI state-space description{A,B,C,D}. Can you always find a transfer function?

all transfer functions

proper rational

transfer functions

LTI state-space

descriptions

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 20 / 25

ECE504: Lecture 9

Introduction to Realization Theory

Recall that

G(s) = C(sIn − A)−1B + D

◮ All LTI state-space systems can be converted to transfer functions.

◮ All transfer functions are not “realizable”.

◮ Any realizable transfer function has infinitely many realizations. Forexample, if {A,B,C,D} is a realization, then for any invertible P ,{P−1AP ,P−1B,CP ,D} is also a realization.

◮ If a system with n states realizes the transfer function G(s), then wecan always create a system with more than n states that also realizesG(s). Example...

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 21 / 25

ECE504: Lecture 9

Minimal Realizations

Suppose G(s) is realizable. How small can the state dimension n be?

Definition

Given an CT-LTI system with realizable transfer function G(s), theMcMillan degree of the system is the smallest possible state vectordimension over the class of all {A,B,C,D} that realize the system withtransfer function G(s).

Definition

A realization {A,B,C,D} is minimal if its state vector dimension equalsthe McMillan degree.

Question: Is the minimal realization unique?

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 22 / 25

ECE504: Lecture 9

Non-Minimal Realizations: Intuition

The system isn’t minimal if we have extraneous states.

There are three ways to have extraneous states:

u y u y u y

In each case, the states in the shaded box have no impact on the I/Obehavior of the system.

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 23 / 25

ECE504: Lecture 9

Fundamental Theorem of Realization Theory

Theorem

A realization {A,B,C,D} is minimal if and only if A and B are such

that the system is reachable and A and C are such that the system is

observable.

This should be intuitively satisfying.

◮ If a system is reachable, then all states are connected to the input.

◮ If a system is observable, then all states are connected to the output.

For a system to be minimal, all states must be connected to both theinput and the output.

Proof...

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 24 / 25

ECE504: Lecture 9

Conclusions

Today we covered:

◮ Reachability for CT systems.

◮ Controllability for CT systems.

◮ Observability for CT systems.

◮ Introduction to realization theory

◮ Minimal realizations

Next time:

◮ More realization theory.

◮ Start Part III of course: Controlling the behavior of systems.

Worcester Polytechnic Institute D. Richard Brown III 10-Nov-2009 25 / 25