- #1
TOONCES
- 24
- 0
Hi everybody,
I'm currently working on a project using tri-axis accelerometers to track position. Initially I assumed I would just take the data given in G's, convert to m/s^2 or the English equivalent, and integrate the data numerically to get velocity and position with time. However, I have done this only to get nonsensical velocity and position data.
What I am doing is taking the accelerometer and lifting it straight up about 12 inches. Then taking only the z-axis acceleration data and converting it to English units, I integrate it numerically using the trapezoidal method. I am aware that this is not the best method of integration, but I assumed it would give a reasonable approximation of the position with time. The objective overall is to be able to pinpoint the position (with reasonable accuracy) at a given point in time. So, I wrote a MATLAB program to integrate over the data and spit out a value at each successive point. The main issue that I can see is that the graphs of acceleration, velocity, and position are all the same, just factored down to a certain degree.
I feel like I am just making a simple mistake, but I can't see it right now. Any insight is appreciated. Some success in this area or a journal paper would be great as well.
Thank you
I'm currently working on a project using tri-axis accelerometers to track position. Initially I assumed I would just take the data given in G's, convert to m/s^2 or the English equivalent, and integrate the data numerically to get velocity and position with time. However, I have done this only to get nonsensical velocity and position data.
What I am doing is taking the accelerometer and lifting it straight up about 12 inches. Then taking only the z-axis acceleration data and converting it to English units, I integrate it numerically using the trapezoidal method. I am aware that this is not the best method of integration, but I assumed it would give a reasonable approximation of the position with time. The objective overall is to be able to pinpoint the position (with reasonable accuracy) at a given point in time. So, I wrote a MATLAB program to integrate over the data and spit out a value at each successive point. The main issue that I can see is that the graphs of acceleration, velocity, and position are all the same, just factored down to a certain degree.
I feel like I am just making a simple mistake, but I can't see it right now. Any insight is appreciated. Some success in this area or a journal paper would be great as well.
Thank you