Rotate IMU data to obtain correct measurement data

Click For Summary
The discussion focuses on the challenge of aligning IMU data collected on a boat with the BODY frame for accurate measurements. The user is considering a 180-degree rotation about the x-axis to correct the orientation discrepancy between the IMU's measurement frame and the BODY frame. There is a suggestion that changing the sign of the z-axis could also resolve the issue without rotation. Additionally, there is curiosity expressed about the user's confidence in setting up a Kalman filter despite uncertainty regarding the rotation matrix. The conversation emphasizes the importance of proper orientation in sensor data processing for accurate navigation and filtering.
hoddy
Messages
4
Reaction score
0
Hi

I have collected data from a IMU on a boat. Currently I am using the angular velocity measurement vector ##\omega^b_{imu} = \begin{pmatrix} p\\q\\r\end{pmatrix} ## for use in kalman filter, where superscript ##b## is BODY frame. The BODY frame is given be x-axis pointing forward, y-axis pointing starboard (right), and z-axis downwards. But I noticed that the IMU's orientation is not aligned with the BODY frame. The IMU axis is pointing: x forward, y left, and z upwards. The measurement vector is therefore denoted ##\omega^m_{imu} = \begin{pmatrix} p\\q\\r\end{pmatrix} ##, instead of the above, where ##m## is measurement frame. Can I then rotate 180 degrees about x-axis as follows:
##\omega^b_{imu} = R_x(\phi)\omega^m_{imu} = \begin{pmatrix}1 & 0 & 0\\0 & cos(\phi) & -sin(\phi)\\0 & sin(\phi) & cos(\phi)\end{pmatrix}\begin{pmatrix}p\\q\\r\end{pmatrix} = = \begin{pmatrix}1 & 0 & 0\\0 & -1 & 0\\0 & 0 & -1\end{pmatrix}\begin{pmatrix}p\\q\\r\end{pmatrix}##
to obtain the correct measurement data?
Thanks for any replies!
 
Engineering news on Phys.org
I assume the handedness of your coordinates isn't an issue. That would be you don't care if the axes a left or right-handed. If this is the case, why not just change the sign of Z?.
 
Your rotation matrix and equation looks good, but I must say I am a bit curious why you are unsure about that part but still fine with setting up a Kalman filter.
 
What mathematics software should engineering students use? Is it correct that much of the engineering industry relies on MATLAB, making it the tool many graduates will encounter in professional settings? How does SageMath compare? It is a free package that supports both numerical and symbolic computation and can be installed on various platforms. Could it become more widely used because it is freely available? I am an academic who has taught engineering mathematics, and taught the...

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
31
Views
3K