Go to Post And Dave...should I borrow someone's hair dryer from here in case the NASA truck needs some de-icing again this year? - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 09-01-2007, 23:14
eshteyn's Avatar
eshteyn eshteyn is offline
WOOPS! shorted the deep cycle batt.
AKA: the supply seargent, Eugene
FRC #0375 (the robotic plague)
Team Role: Mechanical
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Staten Island, New York
Posts: 213
eshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really nice
Send a message via AIM to eshteyn Send a message via Yahoo to eshteyn
Re: Crab drive without a pot

it would be about 2 dollars and 50 cents from radio shack

http://www.radioshack.com/search/ind...otenti ometer

but if you want it in large quantities u can get it cheaper at

www.digikey.com
__________________
--------------------------------------------

Championship - Delphi "Driving Tomorrows Technology"
  #2   Spotlight this post!  
Unread 09-01-2007, 23:15
eshteyn's Avatar
eshteyn eshteyn is offline
WOOPS! shorted the deep cycle batt.
AKA: the supply seargent, Eugene
FRC #0375 (the robotic plague)
Team Role: Mechanical
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Staten Island, New York
Posts: 213
eshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really nice
Send a message via AIM to eshteyn Send a message via Yahoo to eshteyn
Re: Crab drive without a pot

get the linear-taper-potentiometer
__________________
--------------------------------------------

Championship - Delphi "Driving Tomorrows Technology"
  #3   Spotlight this post!  
Unread 09-01-2007, 23:16
dpick1055's Avatar
dpick1055 dpick1055 is offline
David Pick
FRC #1739 (Chicago Knights)
Team Role: Alumni
 
Join Date: May 2005
Rookie Year: 2004
Location: Chicago
Posts: 75
dpick1055 is on a distinguished road
Send a message via AIM to dpick1055
Re: Crab drive without a pot

Thanks.
  #4   Spotlight this post!  
Unread 09-01-2007, 23:22
eshteyn's Avatar
eshteyn eshteyn is offline
WOOPS! shorted the deep cycle batt.
AKA: the supply seargent, Eugene
FRC #0375 (the robotic plague)
Team Role: Mechanical
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Staten Island, New York
Posts: 213
eshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really nice
Send a message via AIM to eshteyn Send a message via Yahoo to eshteyn
Re: Crab drive without a pot

anytime
__________________
--------------------------------------------

Championship - Delphi "Driving Tomorrows Technology"
  #5   Spotlight this post!  
Unread 14-01-2007, 00:46
Daru Daru is offline
Registered User
#0706
 
Join Date: Jan 2005
Location: Wisconsin
Posts: 42
Daru has a spectacular aura aboutDaru has a spectacular aura about
Re: Crab drive without a pot

I have a question about using pots on crab drives.

It seems to me like you could have a 359 degree rotation using a pot, but then to go from, say, rightish forward to leftish forward wouldnt you need to rotate the wheel all the way around the long way? Assuming 0 on the pot is straight ahead.

Are there pots that give you a range of values up to one turn and if you turn past that they would reset?

We were considering using encoders on these shafts... but I'm not the best programmer in the world

Any advice is greatly appreciated.
Thank you,
Dave
  #6   Spotlight this post!  
Unread 14-01-2007, 01:07
Lil' Lavery Lil' Lavery is offline
TSIMFD
AKA: Sean Lavery
FRC #1712 (DAWGMA)
Team Role: Mentor
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Philadelphia, PA
Posts: 6,636
Lil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond repute
Send a message via AIM to Lil' Lavery
Re: Crab drive without a pot

You can buy pots that are set to a different amount of rotations, or you could use (like you suggested) shaft encoders.
__________________
Being correct doesn't mean you don't have to explain yourself.
  #7   Spotlight this post!  
Unread 14-01-2007, 01:45
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,508
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Crab drive without a pot

You could also use endless pots, it would be slightly harder to program than normal (you have to anticipate the "wrap around", still not to hard though) and you still get endless rotation as you desire.
  #8   Spotlight this post!  
Unread 14-01-2007, 09:59
Dave Scheck's Avatar
Dave Scheck Dave Scheck is online now
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Crab drive without a pot

Quote:
Originally Posted by Daru View Post
We were considering using encoders on these shafts...
I would highly recommend not using encoders to determine crab position. Yes they can work, but they require you to precisely position the wheel at startup. Since the encoder doesn't tell you where you are, you could have the wheel turned 90 degrees and the RC has no way of knowing that it's not centered. Pots are far superior in this aspect because they give you an absolute position at startup and the necessary corrections can be made.
  #9   Spotlight this post!  
Unread 14-01-2007, 14:52
Unsung FIRST Hero
Ian Mackenzie Ian Mackenzie is offline
Registered User
FRC #3683
Team Role: College Student
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Waterloo, Ontario, Canada
Posts: 111
Ian Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond repute
Re: Crab drive without a pot

Quote:
Originally Posted by Dave Scheck View Post
I would highly recommend not using encoders to determine crab position. Yes they can work, but they require you to precisely position the wheel at startup. Since the encoder doesn't tell you where you are, you could have the wheel turned 90 degrees and the RC has no way of knowing that it's not centered. Pots are far superior in this aspect because they give you an absolute position at startup and the necessary corrections can be made.
True, but normal potentiometers have the nasty disadvantage of having a hard stop. When we did swerve drive in 2004, we broke a lot of potentiometers (especially in testing) by turning them too far. In hindsight, it might have been a better idea to use encoders, set the wheel to a known position at the start of the match, and probably have a limit switch as a backup that would be triggered (e.g.) when the wheel was straight ahead - so if anything happened, you could have a reset button that would spin the wheel until it triggered the limit switch and then would reset the encoder count. (You could also do this on the fly - every time that switch happens to be triggered, have an interrupt that corrects the encoder count.)
  #10   Spotlight this post!  
Unread 14-01-2007, 15:06
meatmanek meatmanek is offline
Programmer/physicist/mathematician
FRC #0868 (TechHounds)
Team Role: Programmer
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Carmel, Indiana
Posts: 142
meatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to behold
Re: Crab drive without a pot

A couple of years ago our crazy electrical guy made a full rotation potentiometer by cracking it open and cutting off the stop. (Not recommended, you can screw things up by putting voltage across a shorted potentiometer)

There are ways to use optical sensors to encode position rather than motion.
http://http://en.wikipedia.org/wiki/Gray_code
  #11   Spotlight this post!  
Unread 14-01-2007, 16:42
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: Crab drive without a pot

Quote:
Originally Posted by Ian Mackenzie View Post
True, but normal potentiometers have the nasty disadvantage of having a hard stop. When we did swerve drive in 2004, we broke a lot of potentiometers (especially in testing) by turning them too far. In hindsight, it might have been a better idea to use encoders, set the wheel to a known position at the start of the match, and probably have a limit switch as a backup that would be triggered (e.g.) when the wheel was straight ahead - so if anything happened, you could have a reset button that would spin the wheel until it triggered the limit switch and then would reset the encoder count. (You could also do this on the fly - every time that switch happens to be triggered, have an interrupt that corrects the encoder count.)
Did you try using a 10-turn pot?
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
  #12   Spotlight this post!  
Unread 14-01-2007, 17:56
Unsung FIRST Hero
Ian Mackenzie Ian Mackenzie is offline
Registered User
FRC #3683
Team Role: College Student
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Waterloo, Ontario, Canada
Posts: 111
Ian Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond repute
Re: Crab drive without a pot

Quote:
Originally Posted by Bharat Nain View Post
Did you try using a 10-turn pot?
We had 5-turn pots, so 2.5 turns in either direction. 10 turns might have been better, but I still think we would have broken a few (and, of course, we would have had lower resolution - but I'm not sure that would have been significant).
  #13   Spotlight this post!  
Unread 15-01-2007, 07:48
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,792
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: Crab drive without a pot

There are a couple of things that teams can do to use a standard 270 degree pot without breaking it. You can easily use a couple of nylon gears (from Small Parts) to couple the pot to your steering mechanism. You can mechanically limit the travel of your crab so that you stop turning before the pot is broken or you can spend some money and buy a continuous pot.
But dpick, as you can see, no one is telling you to do crab without a pot. There is no way for the robot or the driver to know that the crab system has actually gone where the driver has told it to go or for the software to get it back to driving forward.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #14   Spotlight this post!  
Unread 15-01-2007, 10:17
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: Crab drive without a pot

Why not an absolute encoder? (Like this.)
  #15   Spotlight this post!  
Unread 17-01-2007, 18:40
fledman fledman is offline
Registered User
AKA: David Feldman
FRC #1525
Team Role: College Student
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Deerfield, IL
Posts: 8
fledman is an unknown quantity at this point
Re: Crab drive without a pot

Quote:
Originally Posted by Tristan Lall View Post
Why not an absolute encoder? (Like this.)
Is there any functional difference between a pot and an absolute encoder? (I realize that they are different internally.) Why would someone use one over the other (for low speed applications, eg arms, steering)? Is there a reason teams use encoders that give counts instead of absolute encoders on higher speed applications (wheels)?
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
pic: Crab Drive Joe_Widen Extra Discussion 3 23-04-2006 15:49
Crab Drive Joe_Widen Technical Discussion 9 21-04-2006 21:50
Crab drive question Tazlikesrobots Technical Discussion 13 31-07-2005 20:51
EduRobot Crab Drive OneAngryDaisy Robotics Education and Curriculum 8 03-10-2003 10:06
Crab Drive Collin Fultz Technical Discussion 3 04-09-2002 16:35


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

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