<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Magnetometer Accuracy and Calibration problems - Sensor Fusion NXP Libraries in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/Magnetometer-Accuracy-and-Calibration-problems-Sensor-Fusion-NXP/m-p/1452451#M6900</link>
    <description>&lt;P&gt;I am working on a project of a robotic arm that has to be oriented to the north. To perform this task we are using the development kits FRDM-KL25Z, FRDM-STBC-AGM01 (FXAS21002C3, FXOS8700C) and the NXP Sensor Fusion Library v7.0. We are applying the 9-axis Gyro Stabilized Compass algorithm to compensate for magnetic noise from the environment. We are also using the NXP Sensor Fusion Toolbox software at this design stage as a tool to analyze the magnetic noise of the device environment.&lt;/P&gt;&lt;P&gt;I have the following two questions:&lt;/P&gt;&lt;P&gt;1- We are having some magnetic noise problems, as we have 3 stepper motors running during the magnetometer calibration process. To solve this error we are trying to make a structure to distance the sensors from the motors and analyze how it responds. This would be the only way to find a solution to this problem or through the NXP Sensor Fusion software libraries I could modify some configuration parameter to be able to find a better answer to this error?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ScreenHunter_02 May. 03 20.27.jpg" style="width: 662px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178711i9621F8FE203053CD/image-dimensions/662x404?v=v2" width="662" height="404" role="button" title="ScreenHunter_02 May. 03 20.27.jpg" alt="ScreenHunter_02 May. 03 20.27.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2-The other query is that we need a precision of the order of 0.5 degrees of pointing to the north. Can we get this precision with these kits, sensors and the Sensor Fusion Library?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your time.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Darío&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2026 21:35:50 GMT</pubDate>
    <dc:creator>Dario_</dc:creator>
    <dc:date>2026-02-03T21:35:50Z</dc:date>
    <item>
      <title>Magnetometer Accuracy and Calibration problems - Sensor Fusion NXP Libraries</title>
      <link>https://community.nxp.com/t5/Sensors/Magnetometer-Accuracy-and-Calibration-problems-Sensor-Fusion-NXP/m-p/1452451#M6900</link>
      <description>&lt;P&gt;I am working on a project of a robotic arm that has to be oriented to the north. To perform this task we are using the development kits FRDM-KL25Z, FRDM-STBC-AGM01 (FXAS21002C3, FXOS8700C) and the NXP Sensor Fusion Library v7.0. We are applying the 9-axis Gyro Stabilized Compass algorithm to compensate for magnetic noise from the environment. We are also using the NXP Sensor Fusion Toolbox software at this design stage as a tool to analyze the magnetic noise of the device environment.&lt;/P&gt;&lt;P&gt;I have the following two questions:&lt;/P&gt;&lt;P&gt;1- We are having some magnetic noise problems, as we have 3 stepper motors running during the magnetometer calibration process. To solve this error we are trying to make a structure to distance the sensors from the motors and analyze how it responds. This would be the only way to find a solution to this problem or through the NXP Sensor Fusion software libraries I could modify some configuration parameter to be able to find a better answer to this error?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ScreenHunter_02 May. 03 20.27.jpg" style="width: 662px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178711i9621F8FE203053CD/image-dimensions/662x404?v=v2" width="662" height="404" role="button" title="ScreenHunter_02 May. 03 20.27.jpg" alt="ScreenHunter_02 May. 03 20.27.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2-The other query is that we need a precision of the order of 0.5 degrees of pointing to the north. Can we get this precision with these kits, sensors and the Sensor Fusion Library?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your time.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Darío&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:35:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Magnetometer-Accuracy-and-Calibration-problems-Sensor-Fusion-NXP/m-p/1452451#M6900</guid>
      <dc:creator>Dario_</dc:creator>
      <dc:date>2026-02-03T21:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Magnetometer Accuracy and Calibration problems - Sensor Fusion NXP Libraries</title>
      <link>https://community.nxp.com/t5/Sensors/Magnetometer-Accuracy-and-Calibration-problems-Sensor-Fusion-NXP/m-p/1463405#M6931</link>
      <description>&lt;P&gt;Hello Dario,&lt;/P&gt;
&lt;P&gt;I hope this response finds you well.&lt;/P&gt;
&lt;P&gt;Please note that both devices are obsolete (FXAS2100 and FXOS8700C). You may consider such device status for your future designs.&lt;/P&gt;
&lt;P&gt;1. You are correct, such devices are typically used for eCompass applications to measure the earth magnetic fields and find the magnetic north. I am afraid that the stepper motors are, indeed, a source of magnetic noise. I highly recommend to increase the distance between the sensor and the motors.&lt;/P&gt;
&lt;P&gt;You may review the documents below for further information:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4247.pdf" target="_blank"&gt;Layout Recommendations for PCBs Using a Magnetometer Sensor&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4246.pdf" target="_blank"&gt;Calibrating an eCompass in the Presence of Hard- and Soft-Iron Interference&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. There is an application note that mentions how to calculate the Accuracy of Angle Estimation in eCompass and 3D Pointer Applications, please find this document in the following link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/files-static/sensors/doc/app_note/AN4249.pdf" target="_blank"&gt;Accuracy of Angle Estimation in eCompass and 3D Pointer Applications&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 18:22:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Magnetometer-Accuracy-and-Calibration-problems-Sensor-Fusion-NXP/m-p/1463405#M6931</guid>
      <dc:creator>diazmarin09</dc:creator>
      <dc:date>2022-05-24T18:22:47Z</dc:date>
    </item>
  </channel>
</rss>

