View Single Post
  #22   Spotlight this post!  
Unread 01-03-2010, 14:36
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,077
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: 1058's Field Oriented Drive

Quote:
Originally Posted by Dale View Post
One of the biggest problems to overcome with this kind of system is gyro drift. The more turns and bumps a robot encounters the more the gyro and the code tends to drift in its understanding of where "North" (not magnetic north, just a consistent orientation) is. Noise on the analog line will also add to this...there's always noise.

When we tried doing this a few years back, with the old IFI system, we could only get good results for the first 20 seconds or so before the errors accumulated so badly as to cause the system to need recalibration. Have you noticed that to be a problem with the cRIO and it's better A/Ds? Is there a way for the driver to reset the definition of "North" if the gyros loose their way?
The combination of the 12-bit ADC on the cRIO (versus 10-bit on the older IFI system) and the faster polling rate make gyros much less susceptible to noise.

Quote:
Originally Posted by PVCMike View Post
From what I understand through testing Brendan and Brian also discovered that through out the 2 minutes and especially going over the bump the robot would lose its calibration. To solve this they have used some additional sensors (other than the gyro) to automatically re-calibrate the gyro every so often on its own. They have also programmed in a button on the joystick so you can position the robot and click the button to recalibrate which seems to work well too. Feel free to come by our pit at GSR (Team 1058 the PVC Pirates) and ask for Brian or Brendan and they'll be able to tell you all about it!
What the degree/second rating of your gyro chip? If it's already a 300 deg/sec, you could measure the drift over time. Sometimes the noise is biased in one direction, and you can offset this just by adding/subtracting a coefficient at your software at regular intervals.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.