Go to Post FRC is about what we collectively make of it. - Tristan Lall [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 26-01-2012, 18:34
Becca334's Avatar
Becca334 Becca334 is offline
Registered User
AKA: Rebecca
FRC #0334 (TechKnights)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New York
Posts: 57
Becca334 is a jewel in the roughBecca334 is a jewel in the roughBecca334 is a jewel in the roughBecca334 is a jewel in the rough
Gryo Setup

My team is looking into using a gyro and I know how to wire it but what I'm not sure is how to mount it onto the robot. How would you go about mounting the gyro onto the robot?
  #2   Spotlight this post!  
Unread 26-01-2012, 18:54
BlacksmithWoods's Avatar
BlacksmithWoods BlacksmithWoods is offline
Mechanics / CAD
AKA: Brendan Woods
FRC #0806 (The Brooklyn Blacksmiths)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2010
Location: Brooklyn, New York
Posts: 67
BlacksmithWoods is on a distinguished road
Re: Gryo Setup

Is there an option to "plug" the gyro into the steering output you have created? If so, use a PWM so you can connect your speed controller to it. I've only used mini ones, so your's should have more capabilities than mine. Since it is more advanced you may not be able to use this option, but give it a shot.
__________________
2002 - Present FRC (806)

Keeping It Stupidly Simple since 2002
"You are done with designing something, not when there's nothing more to add, but when there's nothing left to remove." - EricH
NYC FRC STLA (2011- 2014) Practice Field / Alumni Relations
  #3   Spotlight this post!  
Unread 26-01-2012, 18:58
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
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: Gryo Setup

Quote:
Originally Posted by Becca334 View Post
My team is looking into using a gyro and I know how to wire it but what I'm not sure is how to mount it onto the robot. How would you go about mounting the gyro onto the robot?
Use the mounting holes in the PCB secure it to a non-conducting surface (Lexan, plywood, etc). Don't torque it down too hard.

  #4   Spotlight this post!  
Unread 26-01-2012, 19:08
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Gryo Setup

Talking about mounting gyro, since the gyro and the accelerometer are together (I know you can separate them but it's nice to be in one piece), I am wondering how the other teams mount them onto the robot regarding shock absorbing. A few years ago, we were forced into a situation that we need to use the accelerometer in place of the encoders to determine the distance travelled. That means doing double integration of the accelerometer values. It was terrible because the sensor picked up so much noise when the robot is moving. Not that we will attempt again, but I am always wondering if adding shock absorbing material to the mount would improve the situation. In theory, it might help the gyro as well.
__________________

Last edited by mikets : 26-01-2012 at 19:12.
  #5   Spotlight this post!  
Unread 26-01-2012, 19:35
Aren Siekmeier's Avatar
Aren Siekmeier Aren Siekmeier is offline
on walkabout
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: 대한민국
Posts: 735
Aren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond repute
Re: Gryo Setup

Quote:
Originally Posted by Becca334 View Post
My team is looking into using a gyro and I know how to wire it but what I'm not sure is how to mount it onto the robot. How would you go about mounting the gyro onto the robot?
It depends on how you want to use it. The gyroscope sensor senses rotation in the plane of the board, so if you want to sense the robot turning, put it level somewhere on the robot. It doesn't matter a whole lot where, but you may want to center it (seems like this shouldn't be an issue at all....). If you want to use it to measure the robot tipping, say, forward and back, you would mount it vertically to put that rotation in plane with the sensor.

If you want to try and balance this way I would suggest using the accelerometer since this will give you an absolute "heading" of sorts, whereas the gyro only gives rate which must be integrated to get heading. The software does this for you, but since all you care about is the heading, the accelerometer is better suited.
  #6   Spotlight this post!  
Unread 26-01-2012, 19:36
Aren Siekmeier's Avatar
Aren Siekmeier Aren Siekmeier is offline
on walkabout
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: 대한민국
Posts: 735
Aren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond repute
Re: Gryo Setup

Quote:
Originally Posted by Ether View Post
Use the mounting holes in the PCB secure it to a non-conducting surface (Lexan, plywood, etc). Don't torque it down too hard.

Alternatively, velcro or dual-lock can work well, and still isolates it from the frame.

Last edited by Aren Siekmeier : 26-01-2012 at 19:37. Reason: framework? where did that come from?
  #7   Spotlight this post!  
Unread 26-01-2012, 19:53
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Gryo Setup

Quote:
Originally Posted by compwiztobe View Post
If you want to try and balance this way I would suggest using the accelerometer since this will give you an absolute "heading" of sorts
The accelerometer doesn't give you "absolute heading", it gives you the G force that was applied to each axis. It's perfect for detecting tilt using the Z-axis because if you are flat on the ground, the Z-axis will read 1 G. But if you are tilted then by applying physics to split the G force vector into two vectors (one perpendicular to the accelerometer: the Z-axis, another parallel to the surface of the accelerometer), you can see the Z-axis will have a value smaller than 1 G. The more it is tilted, the smaller the Z-axis value). So to determine the tilt angle, you can do an arccosine to the Z value.
__________________

Last edited by mikets : 26-01-2012 at 20:13.
  #8   Spotlight this post!  
Unread 26-01-2012, 20:04
Aren Siekmeier's Avatar
Aren Siekmeier Aren Siekmeier is offline
on walkabout
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: 대한민국
Posts: 735
Aren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond repute
Re: Gryo Setup

Quote:
Originally Posted by mikets View Post
The accelerometer doesn't give you "absolute heading", it gives you the G force that was applied to each axis. It's perfect for detecting tilt using the Z-axis because if you are flat on the ground, the Z-axis will read 1 G. But if you are tilted then by applying physics to split the G force vector into a two vectors (one perpendicular to the accelerometer: the Z-axis, another parallel to the surface of the accelerometer), you can see the Z-axis will have a value smaller than 1 G. The more it is tilted, the smaller the Z-axis value). So to determine the tilt angle, you can do an arccosine to the Z value.
Precisely. This is what I was suggesting.

Arctangent actually.
  #9   Spotlight this post!  
Unread 26-01-2012, 20:08
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Gryo Setup

Quote:
Originally Posted by compwiztobe View Post
Arctangent actually.
Actually, ArcCosine
__________________
  #10   Spotlight this post!  
Unread 26-01-2012, 20:48
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: Gryo Setup

Quote:
Originally Posted by mikets View Post
Actually, ArcCosine
Actually, NO.
  #11   Spotlight this post!  
Unread 26-01-2012, 21:13
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Gryo Setup

Quote:
Originally Posted by Chiller View Post
Actually, NO.
You have to make me do some work
Attached Thumbnails
Click image for larger version

Name:	Tilt.jpg
Views:	74
Size:	11.9 KB
ID:	11591  
__________________
  #12   Spotlight this post!  
Unread 27-01-2012, 06:47
Becca334's Avatar
Becca334 Becca334 is offline
Registered User
AKA: Rebecca
FRC #0334 (TechKnights)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New York
Posts: 57
Becca334 is a jewel in the roughBecca334 is a jewel in the roughBecca334 is a jewel in the roughBecca334 is a jewel in the rough
Re: Gryo Setup

Thanks for all the help guys, got the gyro up and running by the end of yesterday's work day.
  #13   Spotlight this post!  
Unread 27-01-2012, 07:48
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Gryo Setup

Quote:
Originally Posted by mikets View Post
The accelerometer doesn't give you "absolute heading", it gives you the G force that was applied to each axis. It's perfect for detecting tilt using the Z-axis because if you are flat on the ground, the Z-axis will read 1 G. But if you are tilted then by applying physics to split the G force vector into two vectors (one perpendicular to the accelerometer: the Z-axis, another parallel to the surface of the accelerometer), you can see the Z-axis will have a value smaller than 1 G. The more it is tilted, the smaller the Z-axis value). So to determine the tilt angle, you can do an arccosine to the Z value.
It actually gives you exactly the acceleration applied to each axis, including:
-The acceleration of gravity
-The acceleration of the robot when it accelerates/decelerates (moves)
-The acceleration of the robot when the bridge moves up/down

What happens when you move? When the bridge moves? You will get acceleration other than gravity.


Your solution assumes all of the signals represent the same gravity vector. In reality, there are more acceleration vectors which affect the accelerometer, making it a poor choice for bridge balancing while you and the bridge are moving.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #14   Spotlight this post!  
Unread 27-01-2012, 13:28
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: 9,113
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
Re: Gryo Setup

Quote:
Originally Posted by mikets View Post
Talking about mounting gyro, since the gyro and the accelerometer are together (I know you can separate them but it's nice to be in one piece), I am wondering how the other teams mount them onto the robot regarding shock absorbing.
I think Team 1501 put their yaw rate sensor ("gyro") in a small box of Silly Putty in the middle of their robot a couple of years ago.
  #15   Spotlight this post!  
Unread 27-01-2012, 15:22
Wayne Doenges's Avatar
Wayne Doenges Wayne Doenges is offline
We Build Robots......and Careers
AKA: Warthog
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Huntington, Indiana
Posts: 6,326
Wayne Doenges has a reputation beyond reputeWayne Doenges has a reputation beyond reputeWayne Doenges has a reputation beyond reputeWayne Doenges has a reputation beyond reputeWayne Doenges has a reputation beyond reputeWayne Doenges has a reputation beyond reputeWayne Doenges has a reputation beyond reputeWayne Doenges has a reputation beyond reputeWayne Doenges has a reputation beyond reputeWayne Doenges has a reputation beyond reputeWayne Doenges has a reputation beyond repute
Re: Gryo Setup

Quote:
I think Team 1501 put their yaw rate sensor ("gyro") in a small box of Silly Putty in the middle of their robot a couple of years ago.
Yes we do and it works great.
__________________
We Build Robots and Careers
World's - #1 seeded in Archimedes, WON Archimedes and made it to Einstein
2016 NC District - Guilford County. #13 seeded, Finalist. Won Quality award.
IN District - Tippecanoe. #4 seeded. Won Innovation in Control award.
IN District - Perry Meridian. #3 seeded. Finalist. Won Excellence in Engineering award.
IN District - State Championship. #1 seeded. Finalist. Won Excellence inn Engineering award.



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 18:55.

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