你好,
我从磁力计中收集了2次原始数据(第一次使用我自己的库,然后使用此示例中的XNucleoIKS01A2库)
https://os.mbed.com/teams/ST/code/HelloWorld_IKS01A2/
)。数据在两种情况下都非常相似(以高斯表示)。指南针绕Z轴旋转,逐步旋转几度。指南针处于水平位置,具有0倾角。它看起来像正弦和余弦函数,但具有运动。我试图删除这些动作,并在我有以下数据之后。
然后我试着改造它
椭圆
图中有以下公式:
因为我想达到结果,这与此类似:
这些图片来自这份文件:
https://aerospace.honeywell.com/en/~/media/aerospace/files/technical-articles/applicationsofmagnetoresistivesensorsinnavigationsystems_ta.pdf
我需要椭圆来补偿“硬铁”(寄存器的偏移)和“软铁”(将椭圆转换成圆形的因素)。这些步骤为MotionEC库提供了清晰的校准数据,该库将为我计算必要的数据。
在我看来,校准基于原始数据收集,处理椭圆形式,计算偏移(硬铁)和计算椭圆的工厂(用于制作圆圈)。以下步骤是否正确?磁力计的校准是否需要进行自检?
在API MotionEC库中,在MEC_input_t结构描述中,我读到了''
Mag [3]是ENU惯例中的磁力计校准数据阵列,以?T / 50''测量,因此我需要手动转换数据。为什么需要数据读取时间?
我描述了我的推理和怀疑。需要解释一步一步,如何获得高级库的正确原始数据,例如MotionEC。以前,我实现了我的加速度计库,没有任何问题,没有校准等。
谢谢
Maurizio和Miroslav B.为您之前的回复。
最好的祝福。 Wojciech Jasiewicz。
以上来自于谷歌翻译
以下为原文
Hello,
I collected raw data from magnetometer 2 times ( first time with my own library and then with XNucleoIKS01A2 library from this example
https://os.mbed.com/teams/ST/code/HelloWorld_IKS01A2/
). Datas are very similar in both cases (expressed in gauss). Compass was rotated around Z axis, step by step, by several degrees. Compass was at horizontal position with 0 titl angle.It looks like sine and cosine functions, but with movements. I tried to remove these movements and after I had following data.
And then I tried to transform it in
ellipse
figure with following equations:
because I want to reached result, which is similar to this:
These pictures origin from this document:
https://aerospace.honeywell.com/en/~/media/aerospace/files/technical-articles/applicationsofmagnetoresistivesensorsinnavigationsystems_ta.pdf
I need ellipse to compensate ''hard iron'' (offsets for register) and ''soft iron''(factors for converting ellipse to circle). These steps provide clear calibrate data for MotionEC library and this library will counts necessary data for me.
In my opinion, calibration based on raw data collecting, processing it's to ellipse form, counting offsets (hard iron) and counting ellipse's factories (for making circle). Are followings steps correct? Is self test necessary to magnetometer's calibrating?
In API MotionEC library, in MEC_input_t structure description, I read that ''
Mag[3] is an array of magnetometer calibrated data in ENU convention, measured in ?T/50'', hence I need to convert data manually. Why period of data reading is required?
I described my reasoning and my doubts. In need explanations, step by step, how to get correct raw data for high level library, for example MotionEC. Previously, I implemented my library for accelerometer, without any problems, without calibration, etc.
Thanks
Maurizio and Miroslav B. for your's previous replies.
Best regards. Wojciech Jasiewicz.
你好,
我从磁力计中收集了2次原始数据(第一次使用我自己的库,然后使用此示例中的XNucleoIKS01A2库)
https://os.mbed.com/teams/ST/code/HelloWorld_IKS01A2/
)。数据在两种情况下都非常相似(以高斯表示)。指南针绕Z轴旋转,逐步旋转几度。指南针处于水平位置,具有0倾角。它看起来像正弦和余弦函数,但具有运动。我试图删除这些动作,并在我有以下数据之后。
然后我试着改造它
椭圆
图中有以下公式:
因为我想达到结果,这与此类似:
这些图片来自这份文件:
https://aerospace.honeywell.com/en/~/media/aerospace/files/technical-articles/applicationsofmagnetoresistivesensorsinnavigationsystems_ta.pdf
我需要椭圆来补偿“硬铁”(寄存器的偏移)和“软铁”(将椭圆转换成圆形的因素)。这些步骤为MotionEC库提供了清晰的校准数据,该库将为我计算必要的数据。
在我看来,校准基于原始数据收集,处理椭圆形式,计算偏移(硬铁)和计算椭圆的工厂(用于制作圆圈)。以下步骤是否正确?磁力计的校准是否需要进行自检?
在API MotionEC库中,在MEC_input_t结构描述中,我读到了''
Mag [3]是ENU惯例中的磁力计校准数据阵列,以?T / 50''测量,因此我需要手动转换数据。为什么需要数据读取时间?
我描述了我的推理和怀疑。需要解释一步一步,如何获得高级库的正确原始数据,例如MotionEC。以前,我实现了我的加速度计库,没有任何问题,没有校准等。
谢谢
Maurizio和Miroslav B.为您之前的回复。
最好的祝福。 Wojciech Jasiewicz。
以上来自于谷歌翻译
以下为原文
Hello,
I collected raw data from magnetometer 2 times ( first time with my own library and then with XNucleoIKS01A2 library from this example
https://os.mbed.com/teams/ST/code/HelloWorld_IKS01A2/
). Datas are very similar in both cases (expressed in gauss). Compass was rotated around Z axis, step by step, by several degrees. Compass was at horizontal position with 0 titl angle.It looks like sine and cosine functions, but with movements. I tried to remove these movements and after I had following data.
And then I tried to transform it in
ellipse
figure with following equations:
because I want to reached result, which is similar to this:
These pictures origin from this document:
https://aerospace.honeywell.com/en/~/media/aerospace/files/technical-articles/applicationsofmagnetoresistivesensorsinnavigationsystems_ta.pdf
I need ellipse to compensate ''hard iron'' (offsets for register) and ''soft iron''(factors for converting ellipse to circle). These steps provide clear calibrate data for MotionEC library and this library will counts necessary data for me.
In my opinion, calibration based on raw data collecting, processing it's to ellipse form, counting offsets (hard iron) and counting ellipse's factories (for making circle). Are followings steps correct? Is self test necessary to magnetometer's calibrating?
In API MotionEC library, in MEC_input_t structure description, I read that ''
Mag[3] is an array of magnetometer calibrated data in ENU convention, measured in ?T/50'', hence I need to convert data manually. Why period of data reading is required?
I described my reasoning and my doubts. In need explanations, step by step, how to get correct raw data for high level library, for example MotionEC. Previously, I implemented my library for accelerometer, without any problems, without calibration, etc.
Thanks
Maurizio and Miroslav B. for your's previous replies.
Best regards. Wojciech Jasiewicz.
举报