I'm trying to measure a swimmer's speed by strapping a MetaTracker to the swimmer and integrating the accelerometer data along an axis. However, the resulting velocity is humanly impossible. What are some ways to derive velocity from acceleration data?
Thanks.
Comments
Post your data. What do you expect the values to be, what are the values you are seeing?
Acceleration.
Velocity.
Expected velocity, or something similar.
I'm getting the horizontal acceleration directly from the y-axis of the accelerometer outputs.
What's a best practice for filtering/smoothing out the data?
Use a high pass filter and averager to smooth out the data.
Just for clarification, both the high pass filter and averager are applied to the raw acceleration values?
Also, what's a best practice for dealing with drift when integrating?
Yes
There will always be drift with just raw accelerometer data. You can try to offset this with sensor fusion and filtering.
What kind of filters, other than a high pass filter, would be suitable for dealing with drift when integrating?
Dunno, that's what sensor fusion is for.
Try reading about a Kalman Filter.