Go to Post I can see the 2013 Kickoff broadcast now: "Hello Teams. Welcome back. Gracious Professionalism. Here's some homework. Here's the animation. Here's what the actual field looks like. RTFM. Peace." - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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-2010, 10:54
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Why you WANT to use a Gyro this year

By the time aX is showing roll that stands out above the noise floor, isn't your robot in a pretty precarious situation already? I mean, that means that you've both already started to list, and you're not in a position where it can be quickly corrected(the robot has to turn first).

I'm thinking about maybe a hybrid strategy--if the 1g from earth's gravity drops, the robot automatically checks its heading and corrects using a gyro. Of course, this has the same issue with having to integrate the gyro value over the course of a match. Maybe a digital compass?
__________________
Get yer robot source code here!
  #2   Spotlight this post!  
Unread 13-01-2010, 11:02
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Why you WANT to use a Gyro this year

Quote:
Originally Posted by nathanww View Post
By the time aX is showing roll that stands out above the noise floor, isn't your robot in a pretty precarious situation already?
I spent about a week of December doing a tolerance analysis of using an accelerometer as an inclinometer. For the specific part I used, my conclusion was that determining pitch and roll using the X and Y axes was more accurate than using the Z axis. This was assuming a single point calibration at start up.
  #3   Spotlight this post!  
Unread 13-01-2010, 11:12
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,661
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: Why you WANT to use a Gyro this year

Hmm. Is there a way to experimentally determine the gyro drift as a function of time (or amount of degrees already turned...) and use that as an error adjustment during a match? Or is the drift non-constant?
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
  #4   Spotlight this post!  
Unread 13-01-2010, 11:24
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Why you WANT to use a Gyro this year

Quote:
Originally Posted by JesseK View Post
Hmm. Is there a way to experimentally determine the gyro drift as a function of time (or amount of degrees already turned...) and use that as an error adjustment during a match? Or is the drift non-constant?
Well, it's tricky.

Integration drift arises because we are integrating a noisy signal. In other words, every time we read signal X, we are actually reading a random variable which consists of the true X, plus or minus a noise term with a given mean and variance.

If Xobserved is what we see, the effect is:

Xobserved = Xactual + Noise with mean and variance (usually modeled as a Gaussian distribution)

Over time, all these small variances result in a "random walk" in position - you can't recover exactly what the variances were, but you can estimate the uncertainty of your current position estimate.

In other words, you can estimate (with reasonably high confidence), the variance of your current position reading, but you won't know where inside of this error bound you actually are.

In industry, we often try to augment fast measurement sources that drift (like gyros and accelerometers that get integrated) with slower, but stable, measurement sources (like compasses and GPS). Then, you get the best of both worlds.

(Though getting a compass to work on a metal FIRST robot is a challenge in itself).

Last edited by Jared Russell : 13-01-2010 at 11:26.
  #5   Spotlight this post!  
Unread 13-01-2010, 11:21
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Why you WANT to use a Gyro this year

AFAIK, you need to use the Z-axis to prevent contamination of your tilt sensing with actual XY acceleration of the robot. You would have to use the X axis if you wanted to do roll sensing, but for a system where you're using a gyro to align yourself, you should only need the z axis.
__________________
Get yer robot source code here!
  #6   Spotlight this post!  
Unread 13-01-2010, 11:25
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Why you WANT to use a Gyro this year

Quote:
Originally Posted by nathanww View Post
AFAIK, you need to use the Z-axis to prevent contamination of your tilt sensing with actual XY acceleration of the robot. You would have to use the X axis if you wanted to do roll sensing, but for a system where you're using a gyro to align yourself, you should only need the z axis.
That is correct - you either need to look at all three axes to isolate the robot's accelerations from gravity, or you need to stop the robot (thus ensuring that the only acceleration is gravity).
  #7   Spotlight this post!  
Unread 19-01-2010, 11:34
bcieslak
 
Posts: n/a
Re: Why you WANT to use a Gyro this year

Check out this link at Analog Devices:

http://www.analog.com/static/importe...es/AN-1023.pdf

Fall Detection Application by Using 3-Axis Accelerometer ADXL345

Brian C
  #8   Spotlight this post!  
Unread 19-01-2010, 15:49
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,521
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: Why you WANT to use a Gyro this year

Is there any reason you couldn't use a second gyro, oriented vertically, to monitor the angular acceleration of the robot to protect against flipping?
  #9   Spotlight this post!  
Unread 13-01-2010, 11:17
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Why you WANT to use a Gyro this year

Take a look at the documentation for our kit accelerometer.

If set to +/- 2g operation, we're talking a resolution of 4mg (that's milli-g's) per LSB. The noise ceiling is spec'd at worst case +/- <1.5 LSB for the Z axis, <1 LSB for X and Y (at 100Hz data rate = 50Hz bandwidth).

In other words, at a 100Hz data rate, at roll of 5 degrees (0 degrees pitch), we would expect aX to read sin(5 degrees)*1g = 0.0872 g (or 87.2 mg). That's >20 LSBs - significantly above the expected noise margin.

In other words, I think you will find the accelerometer responds EXTREMELY quickly to angular changes. There's a reason they use accelerometers like ours on SUVs to detect roll conditions to deploy airbags.
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
Who do you want to see at IRI this year? dwaynetrip3119 General Forum 71 22-04-2009 17:45
How many wheels are you going to use this year midway78224 Technical Discussion 23 14-04-2009 20:49
Which wheels will you use for your robot this year? GO Groves 1213 Technical Discussion 44 03-02-2007 12:36
Teams: How did you use your potentiometers this year? 987HighRoller Programming 11 15-05-2006 22:16


All times are GMT -5. The time now is 12:23.

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