brm wrote:no, it is a kalman filter - have a look at the wikipedia artical.
you can further reduce it ot make a lp filter out if it.
Hey brm,
I did some investigations and modelling. Unfortunatelly I must admit, that this Kalman filter acts EXACTLY like first order low pass filter.
In this line:
Code: Select all
state->x = state->x + k * (measurement - state->x);
k is a constant value (see graph for k), because k depends on p, and p depends on q and r which are constants.
So there is no defference in output between single dimention Kalman filter You use and first order low pass filter (see graph for "Kalman" and "FO_LPF"), except Kalman filter takes more time to calculate.
I think we need to use more efficient n-th order IIR filters like Butterworth, Chebyshev or Elliptic... What do You think?