Go to Post Don't try to kiss your stapler remover, those prongs are sharp... - MissInformation [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 08-01-2008, 16:06
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,534
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Gyroscope saturation?

We are planning on using the gyro angle to offset our cartesian coordinate plane so that when the operator presses the joystick away from himself, the robot always moves away from the operator regardless of robot orientation.

However, this years 80 degrees per second gyro has me a bit worried. It's tough to do by feel, but it sure seems like our robot can pull a 90 degree turn in less than 1 second by rotating.

Has anyone else had to deal with this, and does anyone think the robots can spin fast enough to saturate the gyro?

I considered purchasing last year's gyro but I can't find anywhere to do so.
  #2   Spotlight this post!  
Unread 08-01-2008, 16:20
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Gyroscope saturation?

Quote:
Originally Posted by Tom Line View Post
Has anyone else had to deal with this, and does anyone think the robots can spin fast enough to saturate the gyro?
Yes, it's possible. Two potential solutions come to mind: 1) write some code that will monitor and record the peak values from the gyro. If you find that you have a problem, you can implement a control loop that will minimize the chance that the gyro will saturate. 2) Purchase another gyro like the ADXRS150 or the ADXRS300.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #3   Spotlight this post!  
Unread 08-01-2008, 16:23
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,381
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Gyroscope saturation?

Quote:
Originally Posted by Tom Line View Post
I considered purchasing last year's gyro but I can't find anywhere to do so.
I believe we have the same gyro as last year. If I am correct, it was also an 80 deg/sec gyro.

Try looking on SparkFun for a gyro. About $70 should get you a 150 or 300 deg/sec gyro.

Dang it Kevin, you beat me to it.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #4   Spotlight this post!  
Unread 08-01-2008, 16:48
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,534
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Gyroscope saturation?

Bilbo, read this year's sensor manual. We have a new gyro. Last year's was 150 dps - so I wasn't terribly worried about saturating it with quick turns.

Thanks guys. I think I'll do both the code and purchase a higher dps one just to be sure. Better safe than sorry when it comes to the drivetrain.

Kevin, I'll admit that most of the words they're using on the specs page are foreign to me (mechanical engineer doing controls, go figure). Will the ADXRS300 simply "drop" in place of the KOP gyro using your same code?

Last edited by Tom Line : 08-01-2008 at 16:51.
  #5   Spotlight this post!  
Unread 08-01-2008, 17:01
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,381
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Gyroscope saturation?

Quote:
Originally Posted by Tom Line View Post
Bilbo, read this year's sensor manual.
I did! That's how I know the actual part number I have on the gyro from last year (AD22304) is identical to the part number on the gyro we got in the KOP this year.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist

Last edited by billbo911 : 08-01-2008 at 17:04.
  #6   Spotlight this post!  
Unread 08-01-2008, 18:19
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Gyroscope saturation?

Quote:
Originally Posted by Tom Line View Post
Will the ADXRS300 simply "drop" in place of the KOP gyro using your same code?
Should work just fine. Just select your new gyro from the list in gyro.h and compile. Let me know if you have any problems.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #7   Spotlight this post!  
Unread 08-01-2008, 22:17
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,534
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Gyroscope saturation?

Quote:
Originally Posted by billbo911 View Post
I did! That's how I know the actual part number I have on the gyro from last year (AD22304) is identical to the part number on the gyro we got in the KOP this year.
That's odd. I haven't had a chance to look at the old gyro (it's buried in the old robot off doing demos at bowling allies...). But the sensor manual says it's different from last years. Wouldn't be the first time one of First's manuals was wrong though!
  #8   Spotlight this post!  
Unread 08-01-2008, 22:33
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Gyroscope saturation?

The sensor manual states that last year's sensor was ADXRS150, this year's AD22304, having a dynamic range of 150 d/s and 80 d/s respectively.

No, the manuals are never ever wrong...
__________________

I am N2IRZ - What's your callsign?
  #9   Spotlight this post!  
Unread 09-01-2008, 08:51
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Gyroscope saturation?

Quote:
Originally Posted by Kevin Watson View Post
2) Purchase another gyro like the ADXRS150 or the ADXRS300.
We've had relatively good luck using 300 deg/s gyros. It's not fool-proof, however, since you'd be surprised the sorts of short-duration high-turn rate impulses you get from robot collisions. Expect it to still drift, especially in a game like this year's.
  #10   Spotlight this post!  
Unread 09-01-2008, 10:37
ubergeek5075's Avatar
ubergeek5075 ubergeek5075 is offline
Registered User
FRC #0910 (Foley Freeze)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Troy, MI
Posts: 14
ubergeek5075 is an unknown quantity at this point
Re: Gyroscope saturation?

Last year for our dynamic braking system, we wanted a feedback loop from not only the optical encoders on the wheels, but also the gyros. However, I have experienced the same problems with saturation during collisions, and even when our robot turned fast enough.

I remember something from last year when i was researching the gyro from the KOP, that it was 150dps. Even with that we still had that saturation problem.

I agree with the solution of lower resolution gyros, but with the budget of a small team, it may take some convincing.

Also, what resolution on the controller end were you getting? How many values / dps rotation ?
  #11   Spotlight this post!  
Unread 09-01-2008, 11:11
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,534
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Gyroscope saturation?

Uber, we haven't implemented a testbed for this year yet, so I don't have any data. This was all hypothetical, because I was pretty sure you can saturate the 80 dps gyro pretty easily. I'll go with the 300.

Can collisions really saturate this gyro? How far off would that knock the reading? It seems to me most collisions don't spin robots at high rates.
  #12   Spotlight this post!  
Unread 09-01-2008, 11:11
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,704
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Gyroscope saturation?

You could also ask your team the question of whether or not the robot should turn 90 degrees in less than a second for this game. Aside from sudden impacts that turn you, I doubt you'll ever have the need to experience a quick turn on a holonomic robot -- you could instead simply side-step an obstacle.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
  #13   Spotlight this post!  
Unread 09-01-2008, 12:29
ubergeek5075's Avatar
ubergeek5075 ubergeek5075 is offline
Registered User
FRC #0910 (Foley Freeze)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Troy, MI
Posts: 14
ubergeek5075 is an unknown quantity at this point
Re: Gyroscope saturation?

Yes, collisions can cause saturation of the gyros, even if they result in turning the robot slowly. It's all physics, the collision results in an extremely high, however very short turn rates. Graphically speaking, the turn rate spikes, then drops down when your turn rate is constant. This results in some very odd data sometimes, depending on how long that spike lasts, and if you pick it up or not.
  #14   Spotlight this post!  
Unread 09-01-2008, 12:51
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: Gyroscope saturation?

We've experimented with the 75, 80 and 150 deg/sec yaw rate sensors, in the past, and have always concluded that we needed to purchase a 300deg/sec sensor, to keep up with the turn-rate capability of out 'bots.

I used to get them right from AnalogDevices, but these past 2 years, they show that they (their evaluation boards) won't be in stock until April

Anyway, let me throw this out for consideration. Can the yaw rate sensor in the K.O.P be "over-clocked" (for lack of a better word) - to measure a wider range? I'd be willing to experiment with giving up some sensitivity, to get 300 deg/sec for the K.O.P sensor.

Eric
__________________

Don't PANIC!
S. P. A. M.
  #15   Spotlight this post!  
Unread 09-01-2008, 13:21
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,534
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Gyroscope saturation?

I seem to remember that by placing a resistor across the leads you can modify the dps, but reduce other functions. Look up and thoroughly read the manuals for each sensor - I think I saw it there.

http://www.analog.com/UploadedFiles/...s/ADXRS150.pdf

I believe it's the portion talking about changing the scale.

Last edited by Tom Line : 09-01-2008 at 15:03.
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
Gyroscope Code Kevin Watson Programming 65 01-03-2008 23:46
Gyroscope ADXRS300 of Analog Devices rebekka Technical Discussion 2 07-12-2006 12:36
Stick Saturation Ralph Lambert Technical Discussion 7 20-01-2003 09:24
Gyroscope Orentation Decay D.Viddy Programming 12 13-01-2003 14:43


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

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