how to filter a noisy data from sensor

asked 2015-12-09 22:17:37 -0600

dmngu9 gravatar image

Hi, i have noisy data graph from sensor, but i still can see the trend looking like a sine wave. i implemented a extended kalman filter but it gives me a wrong trend . Does EKF can smooth the signal?

edit retag flag offensive close merge delete


If you expect a sine wave you could do a Fast Fourier Transform and cut the higher frequencies that would correspond to the noise. This works if your sine wave doesn't have a very high frequency. So just try a basic low pass filter.

Mehdi. gravatar image Mehdi.  ( 2015-12-10 01:53:48 -0600 )edit

The thing is i want it to smooth the data in real time . if i do what you suggest, would it guarantee real time performance

dmngu9 gravatar image dmngu9  ( 2015-12-10 18:00:23 -0600 )edit

It is called "FAST" Fourier transform for a reason... Digital signal processing is really fast when it comes to filtering and you should definitely try out some stuff.

Mehdi. gravatar image Mehdi.  ( 2015-12-11 06:23:27 -0600 )edit

i have problem with deriving state transition equations for ekf. does ekf requires precise transition model equation

dmngu9 gravatar image dmngu9  ( 2015-12-13 04:03:18 -0600 )edit