Page 1 of 1

moving ave filter

Posted: Sun Sep 11, 2016 12:57 am
by hyperglider
Hi,

I have used the Kalman filter which improves stability, I was wondering if there is a moving average filter option a well.

Regards
hyperglider

Re: moving ave filter

Posted: Mon Sep 12, 2016 7:12 am
by tobias
In what context would you use a moving average filter? To filter the accelerometer values? Could you please elaborate?

Re: moving ave filter

Posted: Wed Sep 21, 2016 11:03 am
by hyperglider
Hi,

I was thinking of replacing the kalman filter with a moving average filter to see if the stability is improved.

Re: moving ave filter

Posted: Wed Sep 21, 2016 11:37 am
by tobias
Still not totally sure what you mean. Are you talking about position estimation from the Loco positioning system?

Re: moving ave filter

Posted: Wed Sep 21, 2016 12:30 pm
by hyperglider
yes

Re: moving ave filter

Posted: Wed Sep 21, 2016 1:23 pm
by arnaud
So far we have 2 position estimator in ROS: the Particle filter and a LMS filter.

In the Crazyflie we only have the Kalman filter.

Though the stability of the flight is not only affected by the position estimator, we have experimented a bit with the attitude and position controller and they can have an effect on the flight stability (for example activating the new attitude PID setting seem to make the position control a bit better for static setpoint).

I am curious about the moving average filter, where do you want to apply a moving average that could lead to better result than the kalman filter?

Re: moving ave filter

Posted: Wed Sep 21, 2016 9:15 pm
by hyperglider
Arnaud,

thanks for the clarification, the LMS filter is a Least Mean Squares filter?

Regards
HG

Re: moving ave filter

Posted: Thu Sep 22, 2016 5:40 am
by arnaud
Yes it is. It was made by Wolfgang, he got better results with the lms than with the particle filer. Unfortunately I never manage to get it to run properly in my setup.