Go to Post Holy Underwriters Laboratories Industrial Safety Awards Batman! - AndyB [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 13-01-2003, 01:00
D.Viddy's Avatar
D.Viddy D.Viddy is offline
Registered User
AKA: Dylan Vester
FRC #3176 (Purple Precision)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Camby, IN
Posts: 44
D.Viddy is an unknown quantity at this point
Question Gyroscope Orentation Decay

I would like to create a 4 wheel drive 4 wheel steering drive system that uses the gyroscope for orientation information. I want to allow the driver to push forward and have the robot go forward no matter what direction it's facing. But, I have heard that this technique works fine, but the accuracy decays over time. Is there a way to periodically check with another source other than the gyro that everything is accurate? Something like an electronic compass maybe? Also, how is the gyro accuracy going to be effected in the case that the robot is bumped into a new position? Or what about using a second gryo to compare information? Any information would be appreciated.
__________________
.................................................. .........
Dylan Vester - (Programmer)
Running a P4 1.8 Ghz
Team 998, We can't win...
.................................................. .........
  #2   Spotlight this post!  
Unread 13-01-2003, 01:10
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
I believe you're only allowed 1 gyro from the restricted parts list. As for being bumped, yes this will most likely screw up the gyro because the gyro reads angular velocity and it maxes out at 64 degrees/second (or is the new one this year 75 degrees/second? I haven't checked yet). Anyway if you think about turning only 64 degrees in one second you'll realize that a robot could easily exceed this on it's own (especially with tank steering) or by being bumped.
  #3   Spotlight this post!  
Unread 13-01-2003, 01:19
D.Viddy's Avatar
D.Viddy D.Viddy is offline
Registered User
AKA: Dylan Vester
FRC #3176 (Purple Precision)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Camby, IN
Posts: 44
D.Viddy is an unknown quantity at this point
Is there no solution to this problem? It would really be a plus to have this feature.
__________________
.................................................. .........
Dylan Vester - (Programmer)
Running a P4 1.8 Ghz
Team 998, We can't win...
.................................................. .........
  #4   Spotlight this post!  
Unread 13-01-2003, 01:36
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
DigiKey has some decent angular sensors. Given the $200 and the fact that they don't have to be enclosed in a BUD box this year, you can probably find s sensor from them that meets your needs. Unfortunately, I don't know a whole lot about gyroscopes, so I don't know what specifically you would need.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #5   Spotlight this post!  
Unread 13-01-2003, 02:40
D.Viddy's Avatar
D.Viddy D.Viddy is offline
Registered User
AKA: Dylan Vester
FRC #3176 (Purple Precision)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Camby, IN
Posts: 44
D.Viddy is an unknown quantity at this point
I guess this years competition is alittle more "full contact" than in previous years. Maybe adding the gyroscope would do more harm than good. But I can at least add it and if things get bad, then I can add some sort of override button. But I am wondering if things do get bad, how will this effect my orentation during a match (switching between drive styles). Hmmm, I will need to do some testing or come up with a more reliable method.
__________________
.................................................. .........
Dylan Vester - (Programmer)
Running a P4 1.8 Ghz
Team 998, We can't win...
.................................................. .........
  #6   Spotlight this post!  
Unread 13-01-2003, 05:49
IVIaxor's Avatar
IVIaxor IVIaxor is offline
Registered User
#0824 (SWAT Robotics)
 
Join Date: Oct 2002
Location: Seattle
Posts: 28
IVIaxor is an unknown quantity at this point
electronic compass

I would reccomend using an electronic compass from Digi_Key, I know they have them (though they may not be cheap). In 2 min I would be worried about decay of the numeric integration of even a very good rotation sensor.

Also, a note on the system you are trying to build: They are very mechanically complex and use many motors. Only pursue it if you really think it is worth the time, effort, motors, and weight to get that advantage over a less complex steering/drive system. IMHO time is better spent on manipulators than a super maneuverable drivetrain this year.
__________________
"Poetry in stillness, Elegance in motion."

swatrobotics.org
  #7   Spotlight this post!  
Unread 13-01-2003, 06:46
Matt Reiland's Avatar
Matt Reiland Matt Reiland is offline
'The' drive behind the drive
None #0226 (TEC CReW Hammerheads)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1999
Location: Troy Michigan
Posts: 712
Matt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond repute
I use something exactly like you are thinking in my RC Helicopter, called a heading hold gyro which is a combination gyro and electronic compass that keeps the tail rotor locked into to a direction unless you change it. Most Gyros (for RC) have a gain that if too low won't help you, too high and causes an oscillation so the heading hold helps out pretty nicely.
  #8   Spotlight this post!  
Unread 13-01-2003, 07:49
bigqueue bigqueue is offline
Registered User
#0811 (A.R.C.)
 
Join Date: Dec 2001
Location: Nashua, NH
Posts: 231
bigqueue will become famous soon enough
Send a message via AIM to bigqueue Send a message via Yahoo to bigqueue
Re: Gyroscope Orentation Decay

Since you are talking about a driver being in this loop to start with, why not allow the driver to decide if it is time for a recalibration?

That is, create the feature, but make a way to allow the driver a way of calibrating it if it drifts to much.

The calibration might be as simple as pushing a button at some point when the robot is pointing in the right direction.

All that would do is tell the controller on the robot to zero out a variable which is keeping the currrent direction of the robot. (Assuming zeroing out the variable "means" pointing in the direction you want)

Anyways.....so long as this isn't required very much in the round, it might be a cheap way to get it done. (I don;t mean just cheap in terms of money, but development time too)

Just a thought...BTW: I have never tried to integrate the output of the gyro, so I don;t know what sort of error build-up to expect.. Tell us what you find.....please. (even if you just experiment with it and never actually use it)

-Quentin


Quote:
Originally posted by D.Viddy
I would like to create a 4 wheel drive 4 wheel steering drive system that uses the gyroscope for orientation information. I want to allow the driver to push forward and have the robot go forward no matter what direction it's facing. But, I have heard that this technique works fine, but the accuracy decays over time. Is there a way to periodically check with another source other than the gyro that everything is accurate? Something like an electronic compass maybe? Also, how is the gyro accuracy going to be effected in the case that the robot is bumped into a new position? Or what about using a second gryo to compare information? Any information would be appreciated.
__________________
Live free or die....
  #9   Spotlight this post!  
Unread 13-01-2003, 10:34
D.Viddy's Avatar
D.Viddy D.Viddy is offline
Registered User
AKA: Dylan Vester
FRC #3176 (Purple Precision)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Camby, IN
Posts: 44
D.Viddy is an unknown quantity at this point
Re: electronic compass

Quote:
I would reccomend using an electronic compass from Digi_Key, I know they have them (though they may not be cheap).
I have checked these compasses out, they are too expensive to fit the < 100 rule. They are in excess of $600.

Quote:

Also, a note on the system you are trying to build: They are very mechanically complex and use many motors.
I have designed this system in such a way that it only uses the two drill motors for driving, but still giving us 4 wheel drive. The system allows for Stafing as well as 0 degree turning. I think it will be worth it.

Quote:
I use something exactly like you are thinking in my RC Helicopter, called a heading hold gyro which is a combination gyro and electronic compass that keeps the tail rotor locked into to a direction unless you change it. Most Gyros (for RC) have a gain that if too low won't help you, too high and causes an oscillation so the heading hold helps out pretty nicely.
So then are you saying that this would be a good thing for us to use. Where can I find this part?
__________________
.................................................. .........
Dylan Vester - (Programmer)
Running a P4 1.8 Ghz
Team 998, We can't win...
.................................................. .........
  #10   Spotlight this post!  
Unread 13-01-2003, 11:05
Matt Reiland's Avatar
Matt Reiland Matt Reiland is offline
'The' drive behind the drive
None #0226 (TEC CReW Hammerheads)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1999
Location: Troy Michigan
Posts: 712
Matt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond repute
Makers of such a thing include Futaba, Hitec, Telebee, Helitech

All from tower hobbies.

The problem is I don't know if DigiKey or future tech contain these brands possibly not.
  #11   Spotlight this post!  
Unread 13-01-2003, 12:37
D.Viddy's Avatar
D.Viddy D.Viddy is offline
Registered User
AKA: Dylan Vester
FRC #3176 (Purple Precision)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Camby, IN
Posts: 44
D.Viddy is an unknown quantity at this point
Re: Re: Gyroscope Orentation Decay

Quote:
Originally posted by bigqueue
Since you are talking about a driver being in this loop to start with, why not allow the driver to decide if it is time for a recalibration?

That is, create the feature, but make a way to allow the driver a way of calibrating it if it drifts to much.

The calibration might be as simple as pushing a button at some point when the robot is pointing in the right direction.

All that would do is tell the controller on the robot to zero out a variable which is keeping the currrent direction of the robot. (Assuming zeroing out the variable "means" pointing in the direction you want)

Anyways.....so long as this isn't required very much in the round, it might be a cheap way to get it done. (I don;t mean just cheap in terms of money, but development time too)

Just a thought...BTW: I have never tried to integrate the output of the gyro, so I don;t know what sort of error build-up to expect.. Tell us what you find.....please. (even if you just experiment with it and never actually use it)

-Quentin
This is a possibility, but what I am trying to accomplish is to make a very complex drive system, very simple and straight forward to drive. I will experiment with the gyro and see if I can get any good results. Then I will try and publish a white paper on it's uses and limitations. Also after this years competition, I will be releasing the specifications of our drive system. I think it's is a very powerful system.
__________________
.................................................. .........
Dylan Vester - (Programmer)
Running a P4 1.8 Ghz
Team 998, We can't win...
.................................................. .........
  #12   Spotlight this post!  
Unread 13-01-2003, 12:45
Matt Reiland's Avatar
Matt Reiland Matt Reiland is offline
'The' drive behind the drive
None #0226 (TEC CReW Hammerheads)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1999
Location: Troy Michigan
Posts: 712
Matt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond repute
Dylan,

We used a very high speed swerve last year and found the control system orientation to not be as big of a problem as you may be thinking. We had a switch to reverse the controls when the robot was facing the wrong direction which was much simpler that having input from a electronic compass.

Just a thought.
  #13   Spotlight this post!  
Unread 13-01-2003, 14:43
Ryan Meador Ryan Meador is offline
Registered User
#0190
Team Role: Electrical
 
Join Date: Jan 2002
Rookie Year: 1999
Location: Worcester, NH
Posts: 68
Ryan Meador will become famous soon enough
My team is also creating a very complex drive system... it should be a joy to watch. Check out my reply to this very topic in the programming forum on the official first forums.

EDIT: I should note that my FIRST forum name is Yanroy
__________________
-Ryan

"You're not a real programmer until you end all your sentences with semicolons;"
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


All times are GMT -5. The time now is 04:26.

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