Go to Post When you are able to get inside their heads, you will either... or.. B) Learn way to much, and end up running away screaming. - Either way, it'll be a learning experience. - Elgin Clock [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 18-01-2004, 12:38
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Using Digi-Key Shaft Encoders

Quote:
Originally Posted by Dave...
The 6639S-1-103 Bourns pot is 10K and not available in a 100K. Will adding 90K resistors in series be acceptable to the RC? It seems like we would lose quite a bit of the RC's resolution.
No, you don't need to use the additional 90K. 10Kohms across 5v means that only 0.5mA of static current will flow through the potentiometer for a power dissipation of 2.5mW. The potentiometer is rated far above this value and therefore safe to use.



Quote:
Originally Posted by Dave...
1. Some type of encoder/pot to measure steering angle (slow rpm, continuous turn with good resolution ~3°)
To get good resolution you'll probably need an encoder because the linearity of non-wirewound potentiometers is questionable.



Quote:
Originally Posted by Dave...
I like the idea of a continuous pot because it doesn't take up CPU power and takes almost nothing to program, and does not rely on starting postition (absolute).
Yes, these are good attributes. If you really need the accuracy or just want to learn how robotics engineers do it in the real world, I'd suggest at least looking at an optical encoder. Here are a few ways to get around the starting position problem: 1) Make sure the wheels are straight when you start the robot 2) Use a potentiometer to find the zero position at startup, then use the encoder for steering angle. 3) Have the computer run through a calibration sequence at startup, stepping the steering angle in one direction until a switch is tripped at a pre-determined angle. 4) If your steering mechanism is robust, you can run through a calibration sequence that steps the steering in one direction until you run into a hard stop which causes a sudden increase in motor current that can be detected with the current sensor.



Quote:
Originally Posted by Dave...
http://www.rec.ri.cmu.edu/education/...tent/index.htm site has some information listed for encoders, but I didn't find where to obtain their encoders and they were not in the Edubot or KOP. Where do we obtain these parts?
Digi-Key has many. An example is the grayhill 61K128-050.



Quote:
Originally Posted by Dave...
Sample code from FIRST or Innovation FIRST would help teams to concentrate on building robots.
See http://kevin.org/frc for an encoder interface example.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #2   Spotlight this post!  
Unread 15-02-2004, 15:10
Joel J's Avatar
Joel J Joel J is offline
do you..
no team
 
Join Date: May 2001
Rookie Year: 2000
Location: San Jose, CA
Posts: 1,445
Joel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond repute
Re: Using Digi-Key Shaft Encoders

Quote:
Originally Posted by Kevin Watson
If you really, really want to use a potentiometer, why not use the Bourns 6639S-1-103 which is available at Digi-Key (search for 6639S-1-103-ND). I'd rather use an encoder.

-Kevin
I am in heavy deliberation at the moment. I am trying to decide whether or not I wish to use a potentiometer or encoder for something relating to the subject of this thread. I am pretty much at a loss for good reasons (I have never used potentiometers or encoders before), so I am wondering why you have a bias that steers more towards an encoder than to a potentiometer.
__________________
Joel Johnson

Division By Zero (229) Alumni, 2003-2007
RAGE (173) Alumni, 1999-2003
  #3   Spotlight this post!  
Unread 15-02-2004, 16:48
D.Viddy's Avatar
D.Viddy D.Viddy is offline
Registered User
AKA: Dylan Vester
FRC #3176 (Purple Precision)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Camby, IN
Posts: 44
D.Viddy is an unknown quantity at this point
Re: Using Digi-Key Shaft Encoders

Quote:
Originally Posted by Joel J.
I am in heavy deliberation at the moment. I am trying to decide whether or not I wish to use a potentiometer or encoder for something relating to the subject of this thread. I am pretty much at a loss for good reasons (I have never used potentiometers or encoders before), so I am wondering why you have a bias that steers more towards an encoder than to a potentiometer.
Because almost all potentiometers that will find will not revolve all the way around. Also pots wear out very easily when attached to a constantly rotating shaft. Last years controller was too slow for using an encoder. This years processor has no trouble keeping up with a 256 tick encoder. We have ours controlling our motors beautifully right now. Dead recoding is incredably precise with them. It's not a bias, it's just one is better than the other.
__________________
.................................................. .........
Dylan Vester - (Programmer)
Running a P4 1.8 Ghz
Team 998, We can't win...
.................................................. .........
  #4   Spotlight this post!  
Unread 16-02-2004, 00:47
Joel J's Avatar
Joel J Joel J is offline
do you..
no team
 
Join Date: May 2001
Rookie Year: 2000
Location: San Jose, CA
Posts: 1,445
Joel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond repute
Re: Using Digi-Key Shaft Encoders

Quote:
Originally Posted by D.Viddy
Because almost all potentiometers that will find will not revolve all the way around. Also pots wear out very easily when attached to a constantly rotating shaft. Last years controller was too slow for using an encoder. This years processor has no trouble keeping up with a 256 tick encoder. We have ours controlling our motors beautifully right now. Dead recoding is incredably precise with them. It's not a bias, it's just one is better than the other.
Ok, thanks.
__________________
Joel Johnson

Division By Zero (229) Alumni, 2003-2007
RAGE (173) Alumni, 1999-2003
  #5   Spotlight this post!  
Unread 16-02-2004, 03:34
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Using Digi-Key Shaft Encoders

Quote:
Originally Posted by Joel J.
I am in heavy deliberation at the moment. I am trying to decide whether or not I wish to use a potentiometer or encoder for something relating to the subject of this thread. I am pretty much at a loss for good reasons (I have never used potentiometers or encoders before), so I am wondering why you have a bias that steers more towards an encoder than to a potentiometer.
As Dylan and others have pointed out, potentiometers have problems when used for positioning/control. Encoders, on the other hand, are designed for this type of application. You can find some example encoder code here.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #6   Spotlight this post!  
Unread 02-03-2004, 15:21
Greg Powers Greg Powers is offline
Registered User
#0814 (MegaForce Squadron)
 
Join Date: Jan 2003
Location: Napa CA
Posts: 17
Greg Powers is on a distinguished road
Re: Using Digi-Key Shaft Encoders

mechanical or optical encoders? i know the mechanical encoders are alot cheaper and i was wondering how much that degraded quality

does anyone know the pro's con's between the two?

we plan on using them to compensate for steering problems and atonomous and aren't sure which we want.
__________________
Sincerely,
ME
  #7   Spotlight this post!  
Unread 02-03-2004, 19:28
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Using Digi-Key Shaft Encoders

Mechanical encoders don't last nearly as long as optical ones do - check the specs on them for that measurement.
  #8   Spotlight this post!  
Unread 07-03-2004, 00:41
Daniel Daniel is offline
Daniel Katanski
#0240
Team Role: Mentor
 
Join Date: Feb 2004
Location: Monroe, MI
Posts: 32
Daniel is on a distinguished road
Re: Using Digi-Key Shaft Encoders

Have you read the white paper titled "Quadrature Encoders"?

This should help you a lot. email me if you have any specific questions or comments.

Daniel
  #9   Spotlight this post!  
Unread 01-01-2005, 20:06
sudeepr71 sudeepr71 is offline
Registered User
FRC #0503 (Frog Force)
Team Role: Leadership
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Novi
Posts: 33
sudeepr71 is an unknown quantity at this point
Send a message via AIM to sudeepr71
Re: Using Digi-Key Shaft Encoders

After reading this forum, I still have a few questions.
What exactly is a encoder?
And how can I use it to measure the speed of the robot?
  #10   Spotlight this post!  
Unread 02-01-2005, 14:49
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,112
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: Using Digi-Key Shaft Encoders

Quote:
Originally Posted by sudeepr71
What exactly is a encoder?
And how can I use it to measure the speed of the robot?
There are a few different kinds of encoders. What most people here are talking about are "rotary shaft encoders", which can tell you the angular position of a rotating shaft. Usually that's done by counting pulses as it turns. Some encoders have thousands of steps per rotation, giving a very precise measurement. At the other end of the precision scale, last year's TechnoKat robot used six black stripes on the wheel hubs with Banner sensors to measure wheel rotation.

To measure the speed, you just use the difference in position between two measurements at different times.
  #11   Spotlight this post!  
Unread 02-01-2005, 19:16
sudeepr71 sudeepr71 is offline
Registered User
FRC #0503 (Frog Force)
Team Role: Leadership
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Novi
Posts: 33
sudeepr71 is an unknown quantity at this point
Send a message via AIM to sudeepr71
Re: Using Digi-Key Shaft Encoders

Quote:
Originally Posted by Alan Anderson
At the other end of the precision scale, last year's TechnoKat robot used six black stripes on the wheel hubs with Banner sensors to measure wheel rotation.

To measure the speed, you just use the difference in position between two measurements at different times.
On your last year's robot you used it to see how far to go and then turn or something for the autonomous mode? We tried that and found that it wasn't as accurate as the line following.

So to find the speed, one would have two encoders at different times and subtract them?
  #12   Spotlight this post!  
Unread 02-01-2005, 20:11
WizardOfAz's Avatar
WizardOfAz WizardOfAz is offline
Lead Mentor
AKA: Bill Bennett
FRC #1011 (CRUSH)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Tucson, AZ
Posts: 101
WizardOfAz will become famous soon enough
Send a message via AIM to WizardOfAz
Re: Using Digi-Key Shaft Encoders

Quote:
Originally Posted by sudeepr71
On your last year's robot you used it to see how far to go and then turn or something for the autonomous mode? We tried that and found that it wasn't as accurate as the line following.

So to find the speed, one would have two encoders at different times and subtract them?
Just one encoder to get distance and speed. You can use the timer support to get an accurate time base and distance/time to get the speed.

Bill
  #13   Spotlight this post!  
Unread 22-01-2004, 17:49
IrisLab's Avatar
IrisLab IrisLab is offline
Mentor
AKA: Dave Page
#1466 (Webb School)
Team Role: Mentor
 
Join Date: Dec 2003
Location: Knoxville, Tennessee
Posts: 33
IrisLab will become famous soon enough
Re: Using Digi-Key Shaft Encoders

I'm having trouble with the links to digikey at the first of this post. Does anyone know the part numbers that the links refer to?

Or alternatively, any recommends for digi-key optical encoders?

Thanks.
__________________
David Page
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
If set screws suck . . . Madison Technical Discussion 17 22-12-2003 19:19
Who used wheel encoders CyberWolf_22 Technical Discussion 12 04-05-2003 15:37
Where to get shaft encoders D.Viddy Programming 12 17-01-2003 09:38
Motor coupling archiver 2001 19 23-06-2002 23:35
Need Help on Shaft Mounting... archiver 2001 3 23-06-2002 23:29


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

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