Go to Post I thought you guys were surposed to be nerds. - Funzo [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2008, 16:22
Orborde Orborde is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Apr 2004
Rookie Year: 2003
Location: Indianapolis, IN
Posts: 44
Orborde has a spectacular aura aboutOrborde has a spectacular aura about
Send a message via AIM to Orborde
Question Gyro Temperature Compensation?

We are working on an encoder+gyro navigation system, but we are having some problems. Namely, we had our gyro all calibrated, and were working on using the position/angle information from our navigation system to go places and do things.

However, our gyro angle had mysteriously become wildly inaccurate. At first, we suspected damage, or at least a permanent calibration change, caused by slamming the robot into the wall several times yesterday (by the build team, not us ). We noticed that the gyro bias had shifted from where it usually was; so, in order to recalibrate, we took our robot out into the hall to find a clear wall to put the robot against after turning it a few times. After a few minutes, though, the bias was back to normal, and the angles perfect.

We took our robot back into our lab, where it is a good 10 degrees F hotter, and went back to work, but the angles were again off, and our bias had drifted again. We eventually tried holding a warm hand against the gyro chip, and found that temperature easily changed the bias point by a significant amount.

Thus, we concluded that we need to account for temperature somehow in order to maintain reliable angles under all conditions. Reading the data sheets hasn't produced much on how to calibrate for temperature, so I'd like to know if anyone else has found a way around this problem.

The Kevin Auto-Biasing code is, we assume, meant to partially account for this. However, we would prefer to hardcode our bias instead of having to rely on a stationary robot for 5 seconds. Also, we think, but have not confirmed, that temperature will affect the calibration factor, which is not addressed at all by the Kevin Gyro Code. Has anyone else tackled this problem successfully?
  #2   Spotlight this post!  
Unread 09-02-2008, 17:15
usbcd36's Avatar
usbcd36 usbcd36 is offline
Registered User
AKA: "DOS"
FRC #2399 (The Fighting Unicorns)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Solon, OH
Posts: 151
usbcd36 is a jewel in the roughusbcd36 is a jewel in the roughusbcd36 is a jewel in the rough
Re: Gyro Temperature Compensation?

Although you may not want to have your robot stationary for five seconds, it will be stationary for at least that much time during the disabled period before a match starts. In Kevin's ifi_frc_sensor code, the code is already assembled to facilitate this; initialization of the gyro starts at the beginning of the disabled period and ends at the beginning of the autonomous period.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Temperature Idaman323 Control System 13 08-02-2007 11:00
pic: digital temperature sensor Graham Donaldson Extra Discussion 6 27-05-2006 14:05
battery voltage compensation Rickertsen2 Programming 5 17-10-2005 22:12


All times are GMT -5. The time now is 21:51.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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