MPU9250 icon indicating copy to clipboard operation
MPU9250 copied to clipboard

Calibration before final mount

Open Rsambeek opened this issue 4 years ago • 5 comments

Hi,

I am trying to use the mpu9250 to get orientation and compass data. Its all good in my test setup but eventually I have to mount this in a plane and I don't think it will be easy to rotate the plane to calibrate the compass. Is there another way I can calibrate it beforehand and apply some sort of offset to get the somewhat correct calibration.

Thanks for all the work you have already put in this it has helped me a lot with this project.

Rsambeek avatar Oct 10 '19 08:10 Rsambeek

You can calibrate the sensors before hand.

This should work pretty well.

But yes, the plane environment will affect the offset bias and different locations will cause the magnetic declination to change. The latter can be adjusted with a lookup table and GPS. The former requires some kind of magnetic anomaly detection/correction. The algorithm should detect offset (without rotating the plane) and correct them automatically. We have such an algorithm but it is not open source.

On Thu, Oct 10, 2019 at 1:39 AM Rick van Sambeek [email protected] wrote:

Hi,

I am trying to use the mpu9250 to get orientation and compass data. Its all good in my test setup but eventually I have to mount this in a plane and I don't think it will be easy to rotate the plane to calibrate the compass. Is there another way I can calibrate it beforehand and apply some sort of offset to get the somewhat correct calibration.

Thanks for all the work you have already put in this it has helped me a lot with this project.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/392?email_source=notifications&email_token=ABTDLKT3HWIDFW7VASG3BYLQN3S5TA5CNFSM4I7JWC72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HQ3R2MQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKTXCCQAHZA62SNDSRDQN3S5TANCNFSM4I7JWC7Q .

kriswiner avatar Oct 10 '19 15:10 kriswiner

Thanks for the response. I was thinking of such an algorithm and was hoping for an easier solution but it seems like there isn't an easy fix. I guess I should start programming that then.

On that second part tho "We have such an algorithm but it is not open source." does that imply that you have a closed source one someone can buy or something. Just figuring out my possibilities.

Rsambeek avatar Oct 11 '19 07:10 Rsambeek

I'm still curious to this algorithm you were talking about

Rsambeek avatar Oct 25 '19 13:10 Rsambeek

Hi Rick,

I sent a message to Greg who has this, maybe send me an e-mail at [email protected] in case github doesn't do forwarding correctly...

Kris

On Fri, Oct 25, 2019 at 6:14 AM Rick van Sambeek [email protected] wrote:

I'm still curious to this algorithm you were talking about

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/392?email_source=notifications&email_token=ABTDLKQIYI3IUBVQ7C7ZAH3QQLWJXA5CNFSM4I7JWC72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECIJ4RQ#issuecomment-546348614, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKUI5NJCYUOGXZ4GQL3QQLWJXANCNFSM4I7JWC7Q .

kriswiner avatar Oct 25 '19 17:10 kriswiner

Hi Rick,

It would be best to e-mail me at [email protected] and we can discuss..

Best, Greg

gregtomasch avatar Oct 26 '19 01:10 gregtomasch