Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Gyroscope saturation? (http://www.chiefdelphi.com/forums/showthread.php?t=61074)

RyanW 14-01-2008 11:17

Re: Gyroscope saturation?
 
Eric and Kaszeta - thanks! That helps a lot...I am using Kevin's current gyro code, so that should work.

I'm learning so much more about programming this year - kind of funny that as we switch from autonomous to hybrid, our team is using more sensors and more intelligent code...

seanwitte 14-01-2008 11:26

Re: Gyroscope saturation?
 
Quote:

Originally Posted by EricS-Team180 (Post 675737)
Next, we used a [bold]trapazoidal integration[/bold] to get orientation from yaw rate.

The trapezoidal integrator is important in order to filter out the noise. Below is post that goes into more detail.

http://www.chiefdelphi.com/forums/sh...3&postcount=32

Kevin Watson 14-01-2008 12:07

Re: Gyroscope saturation?
 
Quote:

Originally Posted by seanwitte (Post 677555)
The trapezoidal integrator is important in order to filter out the noise. Below is post that goes into more detail.

At 38Hz (the RC control rate) trapezoidal integration is a very important tool to better approximate the integrated area. However, I suspect that sampling at much higher (~1000Hz) rates you can do a much better job of estimating the area using simple rectangular integration because the Riemann delta x values are much smaller (and you're well above the Nyquest response of the gyro).

This looks like a cool visualization aid:
http://www.vias.org/simulations/simu...iemannsum.html

And for those who haven't learned about Riemann sums in school yet, here's the pretty cool Wikipedia page (ignore the scary math and have a look at the images):

http://en.wikipedia.org/wiki/Riemann_sum

For the student that wants to learn even more:

http://en.wikipedia.org/wiki/Integral

-Kevin


All times are GMT -5. The time now is 18:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi