Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

9DOF project, how to use magnetometer raw data? and how to get yaw/roll/pitch after being processed by filter?

Hi, everyone

 

Sorry, I get some following problems here as below, and hope for help:

 

Question 1: I am now doing a project and need to simulate the action of the stuff intergated with a board developed by our team, with the acclermeter/gyro/compass sensors, we are now using the following two: MPU-6050 (accelemeter & gyro, https://www.sparkfun.com/products/11028) and HMC5883L (magnemeter, https://www.sparkfun.com/products/10530) from the famous sparkfun. So,  we already get the 9DOF raw data sent from the above two chips, but it's only raw data, and I think it should be processed firstly by such equotation: Rx = (AdcRx * Vref / 1023 – VzeroG) / Sensitivity from the ways in http://www.starlino.com/imu_guide.html to get the real three accelemeter value in XYZ, and gyro valu in three aspects respectively.

 

But, I don't know how to process the rawd data from magnemeter sensor, and how to use it?  

 

 

Question 2: I am wondering how I can get the yaw/roll/pitch three parameters resultes after the 6 array raw datas (accelemeter & gyro) are processed by some simple filter (for example: Complementary Filter, http://www.instructables.com/id/Guide-to-gyro-and-accelerometer-with-Arduino-inclu/)?

 

 

Question 3: Matlab Simulink is also suitable for simulation for the realtime 3D for 9DOF action? or LabView is better to use for this project?

 

Appreciate if anyone can help me to solve my problems above.

 

Jerry 

 

0 Kudos
Message 1 of 1
(7,478 Views)