Docsity

Recursive Least Squares Estimation for Linear Discrete Systems, Exams of Electrical and Electronics Engineering

Partial preview of the text

Download Recursive Least Squares Estimation for Linear Discrete Systems and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

24. Identification and

Estimation

Topics

Be able to

. explain the meaning and purpose of the

Identification problem.

derive a Batch Estimator and explain its advantages and disadvantages.

.

. (^) find a recursive least squares estimator, (using a deterministic approach).

interPret the final estimator using statistical considerations.

.

. (^) relate error covariance to the final

estimator.

Ref: Sections 8.1-8.4. Fall^2004

Identification Assume an order for the model, e.g.,

u(k) 1

Linear Discrete System

y(k)

y(k) + aly(k-l) + a2y(k-2) = a3u(k) + a4 u(k-l)

Using only input-output data, identify the ai

y(k) =

but these measurements could be corrupted with. nOIse.

Example

Consider a bodymoving in a straight line
with constant velocityv. Given measurements of
distance s, and time t, develop a recursive least-

squares algorithm to estimate v. (Seeexample 8.4-2,p. 402)

Solution

The distance measurements are noisyand are described by

Table 8.4- s* (feet) t (sees)

1

100 (^80). _60Gi .g.. 40

. .

20,.. ... . (^0 4 8 12 ) t (seconds) 20

FIG. 8.4-

least squares estimation (cont):

Problem: Find x k to minimize k

J = E (h~Xk - Z/)

i=l

where xkis the estimate ofx based on k measurements. Then,

,;" J = Xk

Recursive Estimators

. (^) no need to store past data to compute present

estimates.

Note: Bk = Bk-l + h~k*

similarly, Pk-l =

Premultiply by Pk to eliminate Pk-l

Postmultiply by Pk-lto eliminate Pk-l-l

recursive estimators (cont):

Postmultiply by (1 + bkT Pk-I bJ-I hkT Pk-l This will yield an update of P.. k without matrix

InverSIon.

Use this recursive expression for Pkalong with

Bk = Bk-I + hk Zk*

to obtain a recursive estimate of Xk.

To use:
  1. Choose Xo = 0
  2. Choose Powith large diagonal elements, 0 off diagonal

The Predictor-Corrector Structure

" " (^) G (

X k = Xk-l + k Z k - h^ T"k Xk-l )

where

Gk = Pk-l hk(l+h~Pk-lhk)-l

Note:

P k - Pk-l =

T Pk-l hkhk Pk-l T 1 + hkPk-l hk

predictor-corrector structure (con!):

What effect does P khave on the gain Gk?

Gk = Pk Pk-l Pk-l hk(l + hkT Pk-l hk)-

but

P k-1 = P ~1 -1 + h k h kT

then

Gk == P k(P k-l-l + hk hkT) P k-l hk(l + hk T P k-l hk)-l

The gain is decreasing. Less correction is required as k increases ~

Statistical Development

Make some statistical assumptions about the data
and evaluate the estimator'sperformance.

Consider the nondynamic system T

z. 1 = h i. X + n. 1 i = 1,2,...k

where E[ nJ = 0

E[ ninj] = E[ ni] E[ nj] =

E[ni2] = R

As before k -1 k ik = Pk Bk = IE hih~ i=1 E j= 1 bizi

Substitute Zi = hiTX + ni and take the expected value,

E[ik] =

Error Covariance Estimation A ek = Xk - X

compute E[ (ek - E(ek)) (ek - E(ek) )T] = Cov

Note: E (ek) =

which makes the covariance,

Cov=

Cov = E[Xk x~] - xx T

Now evaluate the first term,

.

.

.

Estimator Properties (Summary)

Cov = PkR; Pk is decreasing and so the covariance decreases.

We have a consistent estimator - one which converges to the true value of x as the number of measurements increases.

We can show Gk = Cov R-1hk

G ex:Cov = uncertainty in the estimate k R uncertainty in the measurement

. (^) If ni is Gaussian, then the linear estimator is the

best estimator.