<?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 Do freescale sensor fusion librarty compasate temperature drift in raw data?How is it compensated? in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/Do-freescale-sensor-fusion-librarty-compasate-temperature-drift/m-p/653093#M4163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I am working on freescale 9 axis sensor and using freescale sensor fusion library to get fussed data. In some case we found that, sometimes board temperature increases too much hence some drift in sensor performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So let me know &lt;STRONG&gt;is there any way to overcome temperature drift in sensor output&lt;/STRONG&gt;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2026 21:57:15 GMT</pubDate>
    <dc:creator>harshpatel</dc:creator>
    <dc:date>2026-02-03T21:57:15Z</dc:date>
    <item>
      <title>Do freescale sensor fusion librarty compasate temperature drift in raw data?How is it compensated?</title>
      <link>https://community.nxp.com/t5/Sensors/Do-freescale-sensor-fusion-librarty-compasate-temperature-drift/m-p/653093#M4163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I am working on freescale 9 axis sensor and using freescale sensor fusion library to get fussed data. In some case we found that, sometimes board temperature increases too much hence some drift in sensor performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So let me know &lt;STRONG&gt;is there any way to overcome temperature drift in sensor output&lt;/STRONG&gt;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:57:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Do-freescale-sensor-fusion-librarty-compasate-temperature-drift/m-p/653093#M4163</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2026-02-03T21:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Do freescale sensor fusion librarty compasate temperature drift in raw data?How is it compensated?</title>
      <link>https://community.nxp.com/t5/Sensors/Do-freescale-sensor-fusion-librarty-compasate-temperature-drift/m-p/653094#M4164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The library does not include temperature compensation. &amp;nbsp;The magnetometer is (I think) the most sensitive to temperature. &amp;nbsp;This is one reason we do continuous magnetic calibration in the background. &amp;nbsp;By continually recomputing the trim coefficients, we sidestep the temperature problem. &amp;nbsp;But to do so requires that the sensors be in motion. &amp;nbsp;If you have an application where the sensors are stationary, you'll see drift. &amp;nbsp;Sorry, but I have no solution to offer for that.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 16:02:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Do-freescale-sensor-fusion-librarty-compasate-temperature-drift/m-p/653094#M4164</guid>
      <dc:creator>michaelestanley</dc:creator>
      <dc:date>2017-04-06T16:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Do freescale sensor fusion librarty compasate temperature drift in raw data?How is it compensated?</title>
      <link>https://community.nxp.com/t5/Sensors/Do-freescale-sensor-fusion-librarty-compasate-temperature-drift/m-p/653095#M4165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for inputs..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found that when sensors are steady then due to temperature there is +/- 2 deg&amp;nbsp; drift in Gyro data. so may YAW angle is fluctuating at same position.&lt;/P&gt;&lt;P&gt;So i want to know formula of &lt;STRONG&gt;YAW &lt;/STRONG&gt;in our freescale sensor fusion library:&lt;/P&gt;&lt;P&gt;1] 9 dof mode&amp;nbsp;&lt;/P&gt;&lt;P&gt;2] 6 dof mode&lt;/P&gt;&lt;P&gt;- Main intense is to know how much effect of gyro in YAW angle calculation in both modes. Is&amp;nbsp; +/- 2 deg. variation in gyro can cause major variation in YAW?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Harsh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 05:32:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Do-freescale-sensor-fusion-librarty-compasate-temperature-drift/m-p/653095#M4165</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2017-04-07T05:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Do freescale sensor fusion librarty compasate temperature drift in raw data?How is it compensated?</title>
      <link>https://community.nxp.com/t5/Sensors/Do-freescale-sensor-fusion-librarty-compasate-temperature-drift/m-p/653096#M4166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Harsh,&lt;/P&gt;&lt;P&gt;If the sensors are stationary, then over the long term (many seconds) the gyro has no&amp;nbsp;effect on the 9-axis yaw computation. &amp;nbsp;The reason for this is that the accelerometer and magnetometer provide the only steady state orientation information. &amp;nbsp;The 9-axis algorithm will always converge back to the eCompass solution if the sensors are not moving.&lt;/P&gt;&lt;P&gt;For 6-axis accel+gyro, gyro offset WILL affect yaw, especially in the case of stationary sensors. &amp;nbsp;That is because there is no steady state truth to keep the algorithm properly aligned about the Z-axis. &amp;nbsp;That shortcoming in the 6-axis solution is why the 9-axis one exists.&lt;/P&gt;&lt;P&gt;As to equations ... &amp;nbsp;It's not that simple. &amp;nbsp;Both Kalman filters are optimized&amp;nbsp;to compute device orientation relative to the global frame. &amp;nbsp;All calculations are done using quaternion math. &amp;nbsp; Rotation matrices and roll/pitch/yaw are extracted from the orientation quaternion. &amp;nbsp;If you really want to know that math, it is fully described in the app notes packaged with the sensor fusion library. &amp;nbsp;You will quickly see it is far beyond the scope of a community posting.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 14:30:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Do-freescale-sensor-fusion-librarty-compasate-temperature-drift/m-p/653096#M4166</guid>
      <dc:creator>michaelestanley</dc:creator>
      <dc:date>2017-04-07T14:30:47Z</dc:date>
    </item>
  </channel>
</rss>

