View Single Post
  #6   Spotlight this post!  
Unread 27-11-2011, 23:59
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,025
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Accelerometer Filtering


Quote:
Originally Posted by kearnel View Post
I've been reading and trying to understand these algorithms but it appears that I need to understand calculus. I can't find anything that I can understand.

Edit: I'm wondering If there are any websites that explain filtering without using crazy-looking math to do it.
Here's a very very simple "hello world" low-pass filter that will reduce noise (but also introduce delay):

new_filtered_value = f*previous_filtered_value + (1-f)*newly_read_value;

f is a tuning parameter between 0 and 1.

when f is zero, you get no filtering:

new_filtered_value = newly_read_value;

as you increase f from 0 towards 1, the filtering gets more aggressive.



Reply With Quote