How to Filter a Noisy Acceleration Signal?
5 views (last 30 days)
Show older comments
Javad Pourhosein
on 27 Sep 2014
Edited: Javad Pourhosein
on 27 Sep 2014
I have recorded acceleration signal of a dynamical system with acceleration transducers, but these data are noisy. how can i remove this noise? Sampling frequency is 2 kHz, recording time 25 seconds, the system is a time varying system so the acceleration signal is non-stationary signal. the system had been excited with a random signal. i want to eliminate the signal noise totally if it is available, because my analysis method is very sensitive to noise, so i want to remove noise as much as possible. i think the systems first natural frequency range is between 130-170 Hz.(because system is time varying)
2 Comments
Star Strider
on 27 Sep 2014
There are usually a number of high-frequency noise components in accelerometer signals, unique to each channel. A bandpass filter usually works, but there’s not enough information here (sampling frequency, the signals themselves) to provide a definitive reply.
Accepted Answer
Image Analyst
on 27 Sep 2014
Do you want to identify and replace outliers, replacing with smoothed values? Or just totally eliminate outliers? Or do you want to smooth the whole curve, like with the Savitzky-Golay filter (sliding polynomial) in the Signal Processing Toolbox?
5 Comments
Image Analyst
on 27 Sep 2014
x is your signal, k is the window width over which to do the polynomial fit, and f is the order of the polynomial. Don't worry about w or dim - just leave those off in most cases.
If k is bigger, it's taking into account more data so the signal will be smoother. Smaller k means less smoothing.
If f is smaller it will be fitting a line or quadratic and will be smoother. If f is larger you're fitting a higher order polynomial that will be better able to follow your signal and thus provide less smoothing.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!