Using Xsens MTi-G to Plot Motion in Plane

Click For Summary
SUMMARY

The discussion focuses on using the Xsens MTi-G motion sensor to plot motion in a two-dimensional plane using acceleration and velocity data. The user is advised to apply Euler's method for approximating motion under constant acceleration over discrete time intervals of 0.01 seconds. For more advanced calculations, integrating the acceleration vector is recommended to derive distance, while heading can be calculated using magnetometer data with the atan2 function. The discussion emphasizes the importance of understanding both constant and non-constant acceleration in motion analysis.

PREREQUISITES
  • Understanding of Euler's method for numerical integration
  • Familiarity with basic calculus concepts, including integration and differentiation
  • Knowledge of the Xsens MTi-G motion sensor and its data output
  • Proficiency in using spreadsheet software like Microsoft Excel for calculations
NEXT STEPS
  • Learn about numerical integration techniques beyond Euler's method
  • Explore advanced motion analysis using the Xsens MTi-G sensor
  • Study the implementation of the atan2 function for heading calculations
  • Investigate curve-fitting methods for non-constant acceleration data
USEFUL FOR

Engineers, data analysts, and researchers involved in motion analysis, particularly those utilizing the Xsens MTi-G sensor for projects requiring precise motion plotting in two dimensions.

evol_w10lv
Messages
70
Reaction score
0

Homework Statement



I'm doing project using xsens MTi-G.
Data file example:
mi51t0la08b2vg6yt.png


I must plot motion in plane (decart coordinate system), without z component.
Measurment is taken after 0.01 s. To do the task, I should use acceleration and velosity data.

Homework Equations



c2f9lb1hu86v8d4netl.png


The Attempt at a Solution



Can I use those equations? I guess they are for constant acceleration. Or am I wrong?
 
Physics news on Phys.org
Those equations are for constant acceleration. And looking at the data file you posted part of, it looks like your acceleration is not constant.

Depending on your level of calculus, you have a few ways of proceeding. If your calculus is introductory you could approximate that the acceleration is constant over each measurement interval. Then you can use those equations over each interval. So at time=t1, say the first row in your file, you could have x1, Vx1, and ax1. Then evolve the position forward in time by that one interval using those equations. That will get you from x(t1) to x(t2).

This is essentially Euler's method.
http://en.wikipedia.org/wiki/Euler_method

So there are some tricky bits to that. The time you need to use will be the time after time t1. So t1 looks to be 38291.2262 and t2 looks to be 38291.2362. So the t in the equation is the amount of time from t1 to t2, or 0.01 seconds. So you would apply the initial velocity and acceleration for that long.

x(t1) is presumably known.
x(t2) = x(t1) + Vx(t1) * 0.01 + 1/2 ax(t1) * (0.01)^2

And Vx(t1) and ax(t1) are the values from your data. Then you get x(t3) by evolving forward from t2 to t3 using he next time interval. You might do this in a spreadsheet such as MS Excel. Or maybe your "xsens MTi-G" will do it for you.

If your calculus is a bit more advanced then you could deal with the equations for non-constant acceleration. Velocity is the integral of acceleration, and position is the integral of velocity. And you could do some kind of curve-fitting to get the acceleration as a function of time between measurement points. This will presumably be more accurate than the previous method. Possibly your "xsens MTi-G" will do that for you as well.
 
Ok, it's clear about that. But now I'm trying to do more advanced calculations. I want to include heading and distance in my calculations. Let's say I integrate resulting acceleration vector twice to get distace.
resulting_acc = sqrt(accX^2 + acc_Y^2)
To get heading, I use magnetometer data, so direction = atan2(Mag_Y,Mag_X), then I convert it to 0-360 degrees.
Where exactly this heading angle is on the plane?
Is this angle to north like in the picture?
y6zw9jrtacotkt59ryhc.png
 

Similar threads

Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
14
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
7
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K