OCCRA
Go to Post Those four stages will most likely be supplanted with the more aptly named phased approach: "Don't Panic", "Consider Panicing" and "Why havent we been panicing?" - Dan Richardson [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Events   CD-Media   CD-Spy   FRC-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-2009, 01:40 AM
roboticsBCN roboticsBCN is offline
Registered User
no team
 
Join Date: Sep 2009
Location: Barcelona
Posts: 2
roboticsBCN is an unknown quantity at this point
Basic questions about the GYRO ADXRS300

Hi!

One pair of questions about the gyro ADXRS300...

- In the specs I can read "300/s Single Chip Yaw Rate". This means that if I have one robot that turn 360 in one second, the gyro don't work?

- At what frequency I can read the gyro? I have the ADXRD300EB (evaluation board) configured for one bandwidth of 40Hz.

Thanks!

roboticsBCN
  #2   Spotlight this post!  
Unread 09-02-2009, 07:41 AM
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,078
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Basic questions about the GYRO ADXRS300

You are interpreting the +/-300 degree/sec correctly. However, turning a robot 360 degrees in one second is very fast even for moderately sized robots. Stability and control become issues at that turn rate.

Remember that the output of the chip is a DC voltage proportional to the rate of turn. The 40 Hz filter is a low pass filter designed to take out the high frequency noise generated by the chip when in use. You can sample at whatever frequency you need for accuracy and feedback in your application. The optimum sample rate is determined by your application, software and rate of turn for the robot you are working on.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
All is better now, NOS parts are working fine. Why does this year's game remind me of Violet in Willie Wonka? Hmmmm, I see blueberries!
  #3   Spotlight this post!  
Unread 09-03-2009, 08:44 AM
roboticsBCN roboticsBCN is offline
Registered User
no team
 
Join Date: Sep 2009
Location: Barcelona
Posts: 2
roboticsBCN is an unknown quantity at this point
Re: Basic questions about the GYRO ADXRS300

Thanks for you reply Al Skierkiewicz.

One more question... the sensibility of 5mV//s means that if I see 500mV in the oscilloscope during one second, the angle is 100 degrees ?

Thanks!
  #4   Spotlight this post!  
Unread 09-03-2009, 09:04 AM
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Basic questions about the GYRO ADXRS300

If your oscilloscope probe is DC-coupled and the gyro isn't spinning, you should read an output that is about 1/2 of the power supply voltage. That's the "zero rate offset" for the gyro and it will be somewhat dependent on time and temperature.

After you subtract off the above offset, the observed output will be proportional to the rotation rate of the gyro about its sensitive axis and is a real-time measure of the rotation rate. For example, if the reading is 500mV above the offset and the gyro's sensitivity is 5mV per arc deg/sec, then the gyro is indeed spinning at 100 arc deg/sec at that specific time about its sensitive axis (it could also be spinning about a perpendicular axis and you wouldn't be able to tell). If that 100 arc deg/sec rate is maintained consistently for 1 second, then the gyro will have rotated by 100 arc degs.

You just need to apply an integrator to (reading - offset) to determine the position of the gyro in degrees. BE CAREFUL WITH THE INTEGRATOR - a small amount of error in your estimate of "offset" will result in an integrator output that grows over time. There are ways to minimize that error but that's worthy of a separate chapter.

Russ
  #5   Spotlight this post!  
Unread 09-03-2009, 09:34 AM
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 7,894
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Send a message via AIM to Alan Anderson
Re: Basic questions about the GYRO ADXRS300

Quote:
Originally Posted by roboticsBCN View Post
One more question... the sensibility of 5mV//s means that if I see 500mV in the oscilloscope during one second, the angle is 100 degrees ?
If you see a 500 mV offset from the "zero rate" voltage of the sensor, it means the rotation rate is 100 degrees per second. If that 500 mV remains present for a full second, you can infer that the sensor has indeed rotated 100 degrees during that second.
  #6   Spotlight this post!  
Unread 09-09-2009, 10:25 PM
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: Basic questions about the GYRO ADXRS300

To build on what Russ said in his last paragraph, gyroscopic drift can be a real problem if you're trying to keep track of how far you've turned. I don't think it's possible to eleminate it completely. Some people has coupled a gyro with a compass for navigation, but if you're using the gyro for closed loop drive control then that isn't necessary.

Quote:
In the specs I can read "300/s Single Chip Yaw Rate". This means that if I have one robot that turn 360 in one second, the gyro don't work?
My understanding of this issue is that the gyro will still work just fine, just maybe not how you're expecting it to work. What I mean is, the gyro will still output the voltage corresponding to it's max turn rate (300 deg/s), but you have no way of knowing if it's turning faster then that because it can't output a higher voltage.

I don't know what kind of application you are using this in, but be advised that these gyros have a really high impedance, which could affect the value your device is reading it's voltage at. To use one of these with my PIC I had to use a buffer amplifier in-between.

Nathan
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
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
A few questions about the shooter nofar#1943 Rules/Strategy 4 02-17-2009 08:01 AM
Questions about the engines. yuval_bertocchi Rules/Strategy 1 01-24-2007 11:42 AM
Questions about the show House... kayla13 Chit-Chat 3 06-29-2005 09:35 PM
questions about the servos Alex Golec Motors 1 01-23-2005 08:05 PM
Have a question about the Basic Stamp Chip Boards wes16zeus Programming 3 12-06-2001 08:25 AM


All times are GMT -5. The time now is 06:03 PM.

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


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