Algorithm (Kalman Filter/Extended-Kalman Filter) : Why Need of Kalman?
Algorithm (Kalman Filter/Extended-Kalman Filter) : Why Need of Kalman?
FILTER\EXTENDED-KALMAN FILTER)
WHY NEED OF KALMAN?
As our cell model behavior is non-linear, kalman filters helps us recursion of non-linearity in linearity.
STEPS INVOLED:-
1. Predict the state which is to be measured.
2. Determine the error covariance of predicated state
3. Predict system output
4. Estimate the gain matrix LK
5. State estimate measurements update
6. Error covariance of update measurements
BACKGROUND KNOWLEDGE FOR EMPLEMENTATION OF KALMAN
FILTER
Symbol “ ~ ”(tilde) indicates an error: the difference between a true(x) and predicted or estimated
quantity:
xtilda= x – xhat
+
Estimated state (CALCULATING 𝒙𝒉𝒂𝒕
‘’finding an value of xhat that minimize the expected square length of an error vector conditioned on
previous system measurements’’.
Result from above derivation
PREDICTION ERROR
It is defined as true value minus the predicated value result is predicated error
INTITUION (we consider the estimated value based on present measurements to be true value
𝑥𝑘 = 𝑥ℎ𝑎𝑡𝑘+ )
Also
Putting all these pieces together results in general updated state estimate equation
Now as we have knowledge of state estimated or predicated quantity as well as its covariance we can
proceed to implementing kalman filter.
KALMAN FILTER ASSUMES THAT SYSTEM BEING MODELED CAN BE REPRESENTED IN STATE SPACE FORM
Input is u_(k) , output is y_(k), process noise w_(k) , sensor noise is u_(k)
h(k)=y(k)
The general steps are not implementable as computer programs, since they involve statistical operations
(expected values) . However, the specialized Kalman-filter steps we have developed so far are
completely valid program operations.
DERIVING STEP 4 ( FINDING KALMAN GAIN MATRIX)
As matrix was
ALSO
Now combining
SUMMARY OF 6 STEPS