21.01.2015 Views

State estimation with Kalman Filter

State estimation with Kalman Filter

State estimation with Kalman Filter

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

F. Haugen: Kompendium for Kyb. 2 ved Høgskolen i Oslo 108<br />

• v is a random (white) measurement noise vector:<br />

⎡ ⎤<br />

v 1<br />

v 2<br />

v = ⎢ ⎥<br />

⎣ . ⎦<br />

v r<br />

(8.31)<br />

<strong>with</strong> auto-covariance<br />

R v (L) =Rδ(L) (8.32)<br />

where R (a r × r matrix of constants) is the auto-covariance of v at<br />

lag L =0. A standard assumption is that<br />

⎡<br />

⎤<br />

R 11 0 0 0<br />

0 R 22 0 0<br />

R = ⎢<br />

⎣<br />

.<br />

0 0 ..<br />

⎥<br />

0 ⎦ = diag(R 11,R 22 , ··· ,R rr ) (8.33)<br />

0 0 0 R rr<br />

Hence, R ii isthevarianceofv i .<br />

Note: If you need to adjust the “strength” or power of the process noise w<br />

or the measurement noise v, you can do it by increasing the variances, Q<br />

and R, respectively.<br />

Here you have the <strong>Kalman</strong> <strong>Filter</strong>: (The formulas (8.35) — (8.37) below are<br />

represented by the block diagram shown in Figure 8.1.)<br />

<strong>Kalman</strong> <strong>Filter</strong> state <strong>estimation</strong>:<br />

1. This step is the initial step, and the operations here are executed only<br />

once. Assume that the initial guess of the state is x init . The initial<br />

value x p (0) of the predicted state estimate x p (which is calculated<br />

continuously as described below) is set equal to this initial value:<br />

Initial state estimate<br />

x p (0) = x init (8.34)<br />

2. Calculate the predicted measurement estimate from the predicted<br />

state estimate:<br />

Predicted measurement estimate:<br />

y p (k) =g [x p (k)] (8.35)<br />

(It is assumed that the noise terms Hv(k) and w(k) are not known or<br />

are unpredictable (since they are white noise), so they can not be<br />

used in the calculation of the predicted measurement estimate.)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!