Go to Post The strength of an alliance is not defined strictly by the sum of its parts. - Jared Russell [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-01-2011, 21:23
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
COTS gyros for 2011

The KOP supplied gyro chip cannot be purchased if you need replacements; something which makes me nervous. I would prefer to ensure that once we have developed code involving a particular piece of hardware, that we could replace that piece if needed.

I see a number of gyros available at SparkFun. I would appreciate comments and recommendations from the community.
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2011, 21:32
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,854
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: COTS gyros for 2011

I'd use one of the 300 or 500 degree models.
You want to use one that's as close to, but higher than, your maximum expected robot turn rate.
The lower rotational ones have finer precision, but overload quickly when used on an FRC robot.
The extreme higher ones, e.g., 1500 degrees per second, don't give you the resolution you'll need to control driving accurately.

The Sparkfun models are mostly analog, and that's easy to integrate into our way of doing things.
Be sure to purchase an evaluation or breakout board, NOT the chip by itself.

You probably only need a 1-axis model. For driving you'll be measuring yaw, but that's determined by the mounting orientation.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-01-2011 at 21:41.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2011, 23:54
Michael Simmond Michael Simmond is offline
Registered User
FRC #3483
 
Join Date: Jan 2011
Location: Bozeman, Montana
Posts: 13
Michael Simmond is an unknown quantity at this point
Re: COTS gyros for 2011

I agree that designing around an obsolete chip on an obsolete PCB is not very good engineering.

We purchased two models of gyro from SparkFun: ADXRS613 and LISY530AL.

The ADXR output is ratiometric to the supply voltage, so you could carefully read the supply voltage on a second analog input to improve accuracy. It also has a temperature output that can be useful as a linear correction for thermal drift of the signal zero. These two features add more complication, but they reduce drift sources. It makes for an elegant solution.

The LISY uses 3.3V power, so you will need a regulator. It gives an absolute voltage output (not ratiometric to the supply).

As far as I can tell, the cRIO analog inputs are fixed at 0-10V, so for best voltage resolution you should consider using a rail-to-rail output OpAmp running from 12V to add some additional gain to either gyro.

There was some concern voiced about having at least 300 deg/sec range. But in testing the ADXR (with 150 deg/sec range) we found that nothing bad happend when we saturated the output with rapid rotation. We just straighened the robot out with the joystick and kept on truckin.

We need the gyro feedback signal to reduce unwanted rotation when trying to drive straight. Otherwise the holonomic wheel tends to make the frame orientation wander substantially.

We have not even tried the LISY yet: The ADXR is doing everything we need.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2011, 08:29
BugByte's Avatar
BugByte BugByte is offline
Registered User
AKA: Blair Chisholm
FRC #2537 (Space RAIDers)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: MD
Posts: 46
BugByte is an unknown quantity at this point
Re: COTS gyros for 2011

I hadn't thought of that problem but I'll bring it up to my team today. Especially after we burned out our gyro at a competition last year... Thanks for the reminder.
Reply With Quote
  #5   Spotlight this post!  
Unread 24-01-2011, 10:24
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,854
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: COTS gyros for 2011

Quote:
Originally Posted by Michael Simmond View Post
in testing the ADXR (with 150 deg/sec range) we found that nothing bad happend when we saturated the output with rapid rotation. We just straighened the robot out with the joystick and kept on truckin.
It depends on what you've chosen to use the gyro for.
As a simple assist in driving straight you can use the momentary values coming from the gyro and ignore extreme values generated by it on turns or during collisions.

Using it to command turns in autonomous or with field centric driver controls won't work if you saturate the gyro. It won't know where it is.
Robot-to-robot hits can over saturated the gyro, as well as, quick turns.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 24-01-2011 at 10:27.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2011, 10:51
Michael Simmond Michael Simmond is offline
Registered User
FRC #3483
 
Join Date: Jan 2011
Location: Bozeman, Montana
Posts: 13
Michael Simmond is an unknown quantity at this point
Re: COTS gyros for 2011

Good point Mark.
We were only planning to do vehicle-centric drive at first, but field-centric looks like it will be easier for the drivers to deal with. Too bad SparkFun does not offer the 250 deg/sec version of the Analog Devices chip.
Reply With Quote
  #7   Spotlight this post!  
Unread 01-02-2011, 11:07
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: COTS gyros for 2011

Quote:
Originally Posted by Michael Simmond View Post
As far as I can tell, the cRIO analog inputs are fixed at 0-10V
I am told they are -10V to +10V.


Reply With Quote
Reply


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 17:32.

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