<?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 Yaw drifting and gyroscope sensor in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/Yaw-drifting-and-gyroscope-sensor/m-p/493135#M3043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use fRun_6DOF_GY_KALMAN, the yaw keeps drifting,&amp;nbsp; when &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;in stationary condition&lt;/SPAN&gt; the gyroscope sensor frame is shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="145678_145678.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121356i2A8CAA72E1E099E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="145678_145678.png" alt="145678_145678.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30869i42684FFCAEF21850/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know if it is the reason for drifting? the output of the gyroscope is not around zero, or it is normal for gyroscope sensors?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;ChuDaidai&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2026 21:56:23 GMT</pubDate>
    <dc:creator>chudaidai</dc:creator>
    <dc:date>2026-02-03T21:56:23Z</dc:date>
    <item>
      <title>Yaw drifting and gyroscope sensor</title>
      <link>https://community.nxp.com/t5/Sensors/Yaw-drifting-and-gyroscope-sensor/m-p/493135#M3043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use fRun_6DOF_GY_KALMAN, the yaw keeps drifting,&amp;nbsp; when &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;in stationary condition&lt;/SPAN&gt; the gyroscope sensor frame is shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="145678_145678.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121356i2A8CAA72E1E099E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="145678_145678.png" alt="145678_145678.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30869i42684FFCAEF21850/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know if it is the reason for drifting? the output of the gyroscope is not around zero, or it is normal for gyroscope sensors?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;ChuDaidai&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Yaw-drifting-and-gyroscope-sensor/m-p/493135#M3043</guid>
      <dc:creator>chudaidai</dc:creator>
      <dc:date>2026-02-03T21:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Yaw drifting and gyroscope sensor</title>
      <link>https://community.nxp.com/t5/Sensors/Yaw-drifting-and-gyroscope-sensor/m-p/493136#M3044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our Kalman filters are based on equations of motion and work best when the board is moving.&amp;nbsp; If your board is stationary on a table top, then the gravity vector is expressed entirely in the Z-axis and there is no information in X&amp;amp;Y to help compute Z-axis offset.&amp;nbsp; Yaw drift is eventually always going to occur in that case.&amp;nbsp; Pick the board up, rotate it in free space a few seconds and put it back down, you'll see the yaw drift rate cut dramtically.&amp;nbsp; Eventually it will creep back up.&lt;/P&gt;&lt;P&gt;That said, I don't see a clear drift in the plot you included, just offset.&amp;nbsp; That is normal.&amp;nbsp; Take a look at the angular velocity graph on "Dynamics" tab to see what the corrected angular rate looks like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 14:32:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Yaw-drifting-and-gyroscope-sensor/m-p/493136#M3044</guid>
      <dc:creator>michaelestanley</dc:creator>
      <dc:date>2016-04-11T14:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Yaw drifting and gyroscope sensor</title>
      <link>https://community.nxp.com/t5/Sensors/Yaw-drifting-and-gyroscope-sensor/m-p/493137#M3045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;I did as you told, and find that the yaw drift rate cut. However, it's not obvious. I put the board on the table in another way as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31216iA65B21E3FD77ECAD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And after a long time, the yaw drift isn't very obvious, and &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;the angular velocity graph &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;on "Dynamics" tab shows that the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;corrected angular rate walks sround zero.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Then comes another problem, the liner acceleration of z axis is bigger than x axis and y axis, it looks strange.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31338iE916ED23F122A6B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thanks!&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;ChuDaidai&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 08:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Yaw-drifting-and-gyroscope-sensor/m-p/493137#M3045</guid>
      <dc:creator>chudaidai</dc:creator>
      <dc:date>2016-04-12T08:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Yaw drifting and gyroscope sensor</title>
      <link>https://community.nxp.com/t5/Sensors/Yaw-drifting-and-gyroscope-sensor/m-p/493138#M3046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;ChuDaidai&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;There are several issues at play:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Not modelled in the V5.00 library&lt;UL&gt;&lt;LI&gt;Accelerometer offsets&lt;/LI&gt;&lt;LI&gt;Gravity variation over the surface of the earth (about 0.6% range in large cities)&lt;/LI&gt;&lt;LI&gt;Gyro scale factor errors&lt;/LI&gt;&lt;LI&gt;Sensor non-linearities&lt;/LI&gt;&lt;LI&gt;Sustained acceleration&lt;/LI&gt;&lt;LI&gt;non-fixed environmental magnetic interference&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Kalman filters effectively do a least squares fit to a state-based model&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;#2 means that any errors from any of the terms in #1 get distributed&amp;nbsp; across modeled terms as a function of the various covariances used in the Kalman filter.&amp;nbsp; So an error in a gyro could manifest as a residual error in an acceleration term. &lt;/P&gt;&lt;P&gt;Basically, my advice is to not over think it.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 15:56:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Yaw-drifting-and-gyroscope-sensor/m-p/493138#M3046</guid>
      <dc:creator>michaelestanley</dc:creator>
      <dc:date>2016-04-12T15:56:57Z</dc:date>
    </item>
  </channel>
</rss>

