Go to Post "When you lose you don't say anything. When you win you say even less." - Clinton Bolinger [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 12-03-2013, 11:33
viveksridhar viveksridhar is offline
Registered User
FRC #2367
 
Join Date: Oct 2012
Location: Mountain View
Posts: 14
viveksridhar is an unknown quantity at this point
Good Rotational Sensor

Does anyone know of a good rotational sensor?

We want to try implementing a swerve drive for next year, and we need a rotational sensor to have precise control over how much each of the wheel modules rotates.

We're planning to use BaneBots motors to drive the pivot, and at first I thought that we could use encoders on them, but I'm not sure how to mount encoders on a BaneBots motor. Is there a way to do that? And if not, what sensor would I use to measure the rotation of the wheels?

Thanks,
Reply With Quote
  #2   Spotlight this post!  
Unread 12-03-2013, 11:38
Tanaythan's Avatar
Tanaythan Tanaythan is offline
Programmer
AKA: Tanay Nathan
FRC #3256 (Warriorborgs)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2010
Location: San Jose
Posts: 27
Tanaythan is an unknown quantity at this point
Re: Good Rotational Sensor

Wouldn't it be simpler to use servos instead?
__________________
Tanay Nathan
Programmer
Team #3256 Warriorborgs
Reply With Quote
  #3   Spotlight this post!  
Unread 12-03-2013, 11:43
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Good Rotational Sensor

Quote:
Originally Posted by rawrxp View Post
Wouldn't it be simpler to use servos instead?
Servo's are not strong enough to rotate a swerve base... at least the one's we can use.

The one year we did swerve, we used US Digital MA3 Absolute Shaft Encoders: http://www.usdigital.com/products/en...tary/shaft/ma3

They will give you your position using an analog voltage from 0V to 5V, they allow roll over, and they work straight from an analog pin (5V supply). You also have the choice to use a digital mode which produces a pulse width based on the current angle.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
  #4   Spotlight this post!  
Unread 12-03-2013, 11:43
z_beeblebrox's Avatar
z_beeblebrox z_beeblebrox is offline
Custom User Title
AKA: Cal
FRC #4183 (Bit Buckets)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cambridge MA
Posts: 811
z_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond repute
Re: Good Rotational Sensor

Quote:
Originally Posted by rawrxp View Post
Wouldn't it be simpler to use servos instead?
FRC-legal servos don't have enough torque to turn a swerve module. In effect, adding a feedback sensor to a motor makes it a servo, as a servo is simply a gearmotor with a potentiometer for feedback.
__________________
2012 Utah Regional Rookie All-Star
2013 Phoenix Regional Judge's Award for "design process and prototyping"
2014 Hub City Regional Quality Award, Arizona Regional Excellence in Engineering Award
2015 Arizona East Regional Creativity Award, Winner
2016 Arizona North Regional Finalist, Arizona West Excellence in Engineering Award, Finalist
Reply With Quote
  #5   Spotlight this post!  
Unread 12-03-2013, 11: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: Good Rotational Sensor

Look for a potentiometer or absolute encoder with analog output.

We've used standard 1,3,5,10 turn pots for things like this (anything 10k to 100k will work). We've also used US Digital MA3 magnetic absolute encoders, those are nice as well.

Relative encoders (such as the quadrature encoders in the kit) are not absolute. They can tell you how far you have gone, and how fast you are going, and what direction, but cannot give you any zero position reference. For a swerve, since you don't know where the pods are when you boot up or if they ever move when you are powered off or reboot, you would like an absolute sensor like a potentiometer.

Building a swerve is hard. Don't underestimate how hard it is. Also don't overestimate how much benefit you will get. Mounting a sensor to the swerve pods is part of the many mechanical design challanges you will encounter while building a swerve drive. One method of mounting the sensor is to make it inline with the steering chain.
__________________
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
Reply With Quote
  #6   Spotlight this post!  
Unread 12-03-2013, 12:21
viveksridhar viveksridhar is offline
Registered User
FRC #2367
 
Join Date: Oct 2012
Location: Mountain View
Posts: 14
viveksridhar is an unknown quantity at this point
Re: Good Rotational Sensor

Quote:
Originally Posted by RyanN View Post
Servo's are not strong enough to rotate a swerve base... at least the one's we can use.

The one year we did swerve, we used US Digital MA3 Absolute Shaft Encoders: http://www.usdigital.com/products/en...tary/shaft/ma3

They will give you your position using an analog voltage from 0V to 5V, they allow roll over, and they work straight from an analog pin (5V supply). You also have the choice to use a digital mode which produces a pulse width based on the current angle.

How would that encoder fit onto the output shaft of a BaneBots motor? I don't think the gearboxes for those motors have a separate encoder shaft either.
Reply With Quote
  #7   Spotlight this post!  
Unread 12-03-2013, 22:26
ablatner ablatner is offline
Registered User
AKA: Andrew Blatner
FRC #0100 (The Wildhats)
Team Role: Leadership
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Redwood City
Posts: 116
ablatner is on a distinguished road
Re: Good Rotational Sensor

Quote:
Originally Posted by viveksridhar View Post
How would that encoder fit onto the output shaft of a BaneBots motor? I don't think the gearboxes for those motors have a separate encoder shaft either.
It doesn't have to be on the motor shaft. It could be on the module's rotation shaft or an intermediate shaft.
Reply With Quote
  #8   Spotlight this post!  
Unread 12-03-2013, 22:38
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: Good Rotational Sensor

We have had a good experience with Grayhill model 63R encoders, which we bought from DigiKey.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #9   Spotlight this post!  
Unread 12-03-2013, 22:47
Garret's Avatar
Garret Garret is offline
Standing on the Shoulders of Giants
AKA: Garret Smalley
FRC #0691 (Hart District Robotics)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2008
Location: Goleta, CA (UCSB)
Posts: 203
Garret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond repute
Re: Good Rotational Sensor

For our swerve drive encoders we use the 1/8" shaft Ball-bearing version of the Analog MA3 encoders from US Digital. To hook the shaft to the Banebots output we used surgical tubing. We ziptied one end to the encoder shaft and the other end we ziptied to a piece of #10 all thread screwed into the banebots P60 shaft. In general surgical tubing works very well as a low-load flexible shaft adapter.
__________________
7 Years of FRC
"You students are at the top of the mountain, at the pinnacle of success, and what is it that you do?
You become the future guides to help others climb the mountain."
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 21:33.

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