is there any standard for Mag calibration?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

is there any standard for Mag calibration?

跳至解决方案
2,090 次查看
youngguekim
Contributor III

Hi. I have a question about Mag calibration.

 

When i give board movement to Filter, it is changed as follows. and i become to see that it is calibrated and I can get a accurate value.

94966_94966.pngpastedImage_0.png

 

is there any standard for Mag calibration?

 

For example, for Mag calibration, I have to move a specific sensor about 180 deg

 

Thank you.

标签 (1)
0 项奖励
回复
1 解答
1,702 次查看
michaelestanley
NXP Employee
NXP Employee

There is a defacto standard for the form of the solution: 3x3 inverse soft iron plus 3x1 hard iron offset.  But there is no standard for the process of computing magnetic calibration coefficients, not even a defacto one.  The Freescale magnetic calibration functions utilize a "total-least squares" fit to compute the inverse mapping required for hard and soft iron calibration.  Basically, you need to collect enough data points on the measurement ellipsoid  (see http://blogs.freescale.com/sensors/2011/03/hard-and-soft-iron-magnetic-compensation-explained/) so that the solver can reach a numerically significant result. 

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,703 次查看
michaelestanley
NXP Employee
NXP Employee

There is a defacto standard for the form of the solution: 3x3 inverse soft iron plus 3x1 hard iron offset.  But there is no standard for the process of computing magnetic calibration coefficients, not even a defacto one.  The Freescale magnetic calibration functions utilize a "total-least squares" fit to compute the inverse mapping required for hard and soft iron calibration.  Basically, you need to collect enough data points on the measurement ellipsoid  (see http://blogs.freescale.com/sensors/2011/03/hard-and-soft-iron-magnetic-compensation-explained/) so that the solver can reach a numerically significant result. 

0 项奖励
回复
1,702 次查看
youngguekim
Contributor III

Thank you very much

0 项奖励
回复
1,702 次查看
a8Chcx
Contributor V

Hi Mike,

Could you let me know when you are going to fix the link for " http://blogs.freescale.com/sensors/2011/03/hard-and-soft-iron-magnetic-compensation-explained"?

I checked the other link like matrix computation as well. They are all not accessible now?

Thanks,

Christie

0 项奖励
回复
1,702 次查看
michaelestanley
NXP Employee
NXP Employee

Christie,

It looks like it got dropped when they merged the Freescale and NXP sites.  I don't have direct access to the site, and will have to request it be reposted when I return to the office in January.  In the meantime, I'll post a PDF of the old site in another post.  It's not pretty (the PDF formatting leaves a lot to be desired), but should help fill the gap.

Mike

0 项奖励
回复