I've a series of force sensor data acquired by an industrial robot controller. Sadly the data has to be read out in a background task, so the sampling time differs between 1m and 20ms. Due to high oscillation in the process, I have to low-pass filter these force values.
What is the best way to filter this data? Right now, I'm interpolating linear between the data points and than resample with a sampling rate of 1kHz (1ms sampling time). Then I'm using a moving average filter to smooth and filter these data.
But I'm not happy with this method because I neither know how this is changing the validity of my data.
Help is highly appreciated. Thank you.
Best Answer