Estimators and observers-Optimal Control

22
Optimal Control Estimators & Observers By Wissam Kafa Damascus-HIAST-2014

description

Estimators and observers-Optimal Control

Transcript of Estimators and observers-Optimal Control

Page 1: Estimators and observers-Optimal Control

Optimal ControlEstimators & Observers

By

Wissam Kafa

Damascus-HIAST-2014

Page 2: Estimators and observers-Optimal Control

OutlinesIntroduction

Estimation Schemes

Open-loop Estimator

Closed-loop Estimator

Optimal Estimator

Optimal Kalman Filter

Final Thoughts2

Page 3: Estimators and observers-Optimal Control

IntroductionWhen we designed our controllers, If we have full

access to the state x(t), then our problem is simple.

Problem:

Most often all of this information is not available.

And certainly there is usually error in our knowledge of x.

Usually can only feedback information that is developed fromthe sensors measurements.

Could try “output feedback”

But this is type of controller is hard to design.

3

Page 4: Estimators and observers-Optimal Control

IntroductionAlternative approach:

Develop a replica of the dynamic system that provides an“estimate” of the system states based on the measuredoutput of the system.

New plan: called a “separation principle”

Develop estimate of

Then switch from

Two key questions:

How do we find xˆ(t)?

Will this new plan work? (yes, and very well) 4

Page 5: Estimators and observers-Optimal Control

Estimation SchemesAssume that the system model is of the form:

Where:

A, B, and are known

u(t) is known

Measurable outputs are

5

yC

Page 6: Estimators and observers-Optimal Control

Estimation Schemes

6

Goal: Develop a dynamic system whose state

Two primary approaches:1. Open-loop.2. Closed-loop.

Page 7: Estimators and observers-Optimal Control

Open-loop EstimatorGiven that we know the plant matrices and the inputs, we can

just perform a simulation that runs in parallel with the system.

7

Page 8: Estimators and observers-Optimal Control

Open-loop EstimatorTo analyze this case, start with:

Define the estimation error:Now We Want

but is this realistic?

Major Problem: We do not know x(0)

8

Page 9: Estimators and observers-Optimal Control

Open-loop EstimatorSubtract to get:

which has the solution

Gives the estimation error in terms of the initial error.

Questions!!!!!!!!!!!

9

Page 10: Estimators and observers-Optimal Control

Open-loop EstimatorDoes this guarantee that

Or even that (which is a more realistic goal).

Response is fine if But what if

If A stable, then but the dynamics ofthe estimation error are completely determined by theopen-loop dynamics of the system (eigenvalues of A).

Could be very slow.

No obvious way to modify the estimation error dynamics.

Open-loop estimation is not a very good idea.10

Page 11: Estimators and observers-Optimal Control

Closed-loop EstimatorObvious fix to problem: use the additional information

available:How well does the estimated output match the measured output?

Compare:

Then form

11

Page 12: Estimators and observers-Optimal Control

Closed-loop EstimatorApproach: Feedback y˜ to improve our estimate of the state.

Basic form of the estimator is:

where L is a user selectable gain matrix.Analysis:

the closed-loop estimation error dynamics are now:

12

Page 13: Estimators and observers-Optimal Control

Closed-loop EstimatorBottom line: Can select the gain L to attempt to

improve the convergence of the estimation error (and/or speed it up).

But now must worry about observability of the system [A,Cy].

13

Page 14: Estimators and observers-Optimal Control

Closed-loop EstimatorEstimator Example: open Loop

14

Page 15: Estimators and observers-Optimal Control

Closed-loop EstimatorEstimator Example: Closed Loop

15

Page 16: Estimators and observers-Optimal Control

Optimal EstimatorCan also develop an optimal estimator for this type of

system.

Given duality of regulator and estimator, would expect to seeclose connection between optimal estimator and regulator(LQR).

Key step is to balance the effect of the various types ofrandom noise in the system on the estimator:

w: “process noise” – models uncertainty in the system model.

v: “sensor noise” – models uncertainty in the measurements.16

Page 17: Estimators and observers-Optimal Control

Optimal Estimator: AnalysesWith noise in the system, the model is of the form:

And the estimator is of the form:

SO:

17

Page 18: Estimators and observers-Optimal Control

Optimal Estimator: Analyses

This equation of the estimation error explicitly shows the

conflict in the estimator design process.

Must balance between:

Speed of the estimator decay rate, which is governed by.

Impact of the sensing noise v through the gain L.

18

Page 19: Estimators and observers-Optimal Control

Optimal Estimator: Analyses

Fast state reconstruction requires rapid decay rate .

typically requires a large L, but that tends to magnify the effect of v on the estimation process.

The effect of the process noise is always there, but the choice of L will tend to mitigate/accentuate the effect of v on x˜(t).

Kalman Filter provide an optimal balance between

the two conflicting problems for a given “size” of the process and sensing noises.

19

Page 20: Estimators and observers-Optimal Control

Optimal Kalman Filter

20

Page 21: Estimators and observers-Optimal Control

Final Thoughts• Estimation is an important concept of its own.

• Not always just “part of the control system”

• Critical issue for guidance and navigation system

• More complete discussion requires a study of stochasticprocesses and optimization theory.

• Estimation is all about which do you trustmore:

your measurements or your model21

Page 22: Estimators and observers-Optimal Control

Thanks