Further filtering of accelerometer data
2 次查看(过去 30 天)
显示 更早的评论
Hi Star Strider, I find your answers regarding the filters to be quite insightful.
I have a similar problem. I have used the Butterworth filter of 5th order and used 0.7Hz and 50 Hz as cutoff frq for passband filter. I am quite sure the frequncy beyond this frequncy region is not of point of interest. My sampling frequncy : 200Hz.
Still I can see there is noise as it can be seen in the attched figure.
Can you please help me to further denoise the data/filter data? I have attached the .fig file aswell for your reference.
Thanks in advance.![acc8 filtered.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/241404/acc8%20filtered.jpeg)
![acc8 filtered.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/241404/acc8%20filtered.jpeg)
2 个评论
回答(1 个)
Nikhil Sonavane
2019-10-9
After looking at the Fourier Transform (figure attached) of your input data it can be concluded that it majorly comprises of frequencies from 0Hz to 50Hz. If you use a bandpass filter with cut off frequencies of 0.3Hz and 50Hz, you are allowing most of the frequencies through the filter and hence you are not able to remove the noise. Try changing the cut off frequencies to eliminate the spikes in your output data. ![fft.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/241801/fft.jpeg)
![fft.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/241801/fft.jpeg)
5 个评论
Nikhil Sonavane
2019-10-11
Consider reducing the frequency range of the filter to less than 10Hz. Also try using a higher order filter to get a sharp transition.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Digital Filter Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!