retxed68
  • Male
  • Marseille
  • France
Share Twitter
  • Blog Posts
  • Discussions (11)
  • Groups
  • Photos
  • Photo Albums
  • Videos

retxed68's Discussions

Arduimu magnetometer calibration

Started this discussion. Last reply by Bot Thoughts Feb 4. 20 Replies

Hi,I was wondering if anyone knew how to calibrate the compass when used with the ArduIMU. I saw Bill Premerlani's code for the UAV DevBoard, it is very interesting and it would be really cool to…Continue

ArduIMU v1.7 problems

Started this discussion. Last reply by retxed68 May 11, 2010. 4 Replies

Hello, I'm having problems running the 1.7 version of ArduIMU, when I first plugged the ArduIMU to the computer to see if it worked with HppyKillmore software, it worked but I think accel information…Continue

 

retxed68's Page

Latest Activity

Bot Thoughts replied to retxed68's discussion Arduimu magnetometer calibration
"Digging this up in a search for info on soft-iron magnetometer distortion. I gather that it is theoretically possible to calibrate for soft iron distortion... it's just not easy to do from what I can tell. Per Freescale app note. If only I…"
Feb 4
Greg Fletcher replied to retxed68's discussion Arduimu magnetometer calibration
"Don't worry about it. The cod ewill handle it. The yaw axis is stabilized by the Magnetometer. Or else get a real compass and calibrate it with your eye. Right or left or only is up to you...:)"
Aug 26, 2010
Pizza replied to retxed68's discussion Arduimu magnetometer calibration
"attached is my self test data(10sets each for positive and negative bias). however if an equal and oppositie field is applied, data should be relatively equal. but u can notice that the data for negative bias is much lower. therefore i don't…"
Aug 26, 2010
John Ihlein replied to retxed68's discussion Arduimu magnetometer calibration
"I did scale factor first. JI"
Aug 26, 2010
Pizza replied to retxed68's discussion Arduimu magnetometer calibration
"oh what i did was added some delay and poll for drdy to become 1 but it's still the same(inconsistent). are u getting consistent scale factors?"
Aug 26, 2010
John Ihlein replied to retxed68's discussion Arduimu magnetometer calibration
"Yes, I did, and it's not correct. I added a 10 msce delay between the i2c setup steps to allow the self test bias to settle out and it seems to have solved the problem. Looks like some magnetometers need more setup times than others. John"
Aug 26, 2010
Pizza replied to retxed68's discussion Arduimu magnetometer calibration
"hi john, i tried the self test but every time it gave me different reading, as i result i obtain very different scale factors. does that happen to you? it ranges from 0.9 to 8"
Aug 25, 2010
retxed68 replied to retxed68's discussion Arduimu magnetometer calibration
"I tried something, in ground start, when we initialize the offsets, I do: Read_adc_raw(); for(int y=0; y<=2; y++) // Read first initial ADC values for offset. { AN_OFFSET[y]=0; } for(int y=3; y<=5; y++) // Read first initial ADC values for…"
Jun 3, 2010
retxed68 replied to retxed68's discussion Arduimu magnetometer calibration
"Bill, Thank you very much for the explanations, I understand that your algorithm cancels the magnetic offset around the compass in the moving frame. I was testing the algorithm with a magnet because I will have the IMU closed in a little space with…"
May 28, 2010

Developer
William Premerlani replied to retxed68's discussion Arduimu magnetometer calibration
"John and Christophe, One more thought on the subject of magnetometer calibration...the algorithm that I published is for offset removal only, it is not for soft-iron compensation. If you are using the algorithm for offset removal, it will not…"
May 27, 2010

Developer
William Premerlani replied to retxed68's discussion Arduimu magnetometer calibration
"John and Christophe, One more comment about the algorithm that I described: It relies on the assumption that the gyros, the magnetometer, and the magnetic interference physically move together in lock step. That way the algorithm can distinguish…"
May 27, 2010

Developer
William Premerlani replied to retxed68's discussion Arduimu magnetometer calibration
"Hi Christophe, The algorithm that I posted for removing offsets works best if the offsets do not change in time. In that case, the offsets can be removed automatically in flight. There is a short "learning period". Each time the airframe…"
May 27, 2010
retxed68 replied to retxed68's discussion Arduimu magnetometer calibration
"John, From what I understand from Bill P's post, this method should have a good heading even when the motors turn, but when I test this by putting a magnet near the IMU the magnetometer and the yaw both drift a lot! It does this when I put the…"
May 27, 2010
John Ihlein replied to retxed68's discussion Arduimu magnetometer calibration
"Christophe, When the magnetomter is initialized, it is run thru a self test as desribed in the HMC5843 datasheet. This should output a specific set of numbers. The difference between these readings and their theoretical value (715 the way I set up…"
May 27, 2010
retxed68 replied to retxed68's discussion Arduimu magnetometer calibration
"John, I'm looking at your code and I have a few questions: - Are you calibrating the magnetometer bias at each start of the IMU? It seems so, I thought this only had to be done from time to time. Can you tell me why it is done everytime? What…"
May 27, 2010
retxed68 replied to retxed68's discussion Arduimu magnetometer calibration
"Hi John, Thank you, I'll look at your code today :) Christophe"
May 26, 2010

Comment Wall

  • No comments yet!

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The third round was a reliablilty/aerial photography round for both planes and copters, which is now closed. Stay tuned for the next round, beginning soon.

A list of all T3 contests is here

 

© 2012   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service