The Extended Kalman Filter: An Interactive Tutorial for NonExperts
Part 9: Modifying the Estimates
Here again are our more realistic / more general equations for the state and observation variables of our system:
\[ x_k = a x_{k1} + b u_k\]
\[ z_k = c x_k + v_k\]
As we might expect, the introduction of these new components into our model requires a corresponding modification to the prediction and update equations:
Predict:
\[p_k = ap_{k1}a \]
Update:
$\hat{x}_k \leftarrow \hat{x}_k + g_k(z_k – $$c$ $\hat{x}_k)$
$p_k \leftarrow (1 – g_k $$c$) $p_k$
Here is an extension of our airplane demo, showing a longer duration of time and adding in a control signal representing the pilot steadily pulling back on the control column to raise the altitude of the plane. Try moving around the sliders to adjust the values of the different constants. As in the previous demo, the original signal is shown blue, the observed signal in red, and the Kalmanfiltered signal in green.
$a =$ 
$r = $ 

$b =$ 

$c =$ 
Previous: A More Realistic Model
Next: Adding velocity to the system