Go to Post John Abele certainly deserves much more recognition than he gets. - Richard Wallace [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 21-01-2004, 02:25
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
Talking Using Shaft Encoders

We have a pretty cool system worked out this year I think. We are using left and right motor drive and we have extreamly precise shaft encoders attached the each motor. I have written the code to control the motors depending on what each shaft encoder is reading. A calculation converts the joystick unsigned char into ticks per 26.2 millisecond loop and then the shaft encoders deciede whether the wheels are going slower or faster then the wanted ticks per loop coming from the joystick. If the joystick ticks and the actual shaft encoder ticks are not equal they are adjusted till they are. What this means is that we can achieve perfectly straight driving and perfect turns. This is also a huge advantage in autonomous mode because we can hand a sub routine a string of values telling the shaft encoders what the motors should be doing and the routine executes it flawlessly. It's much better working in distances than working in loop cycles. Hooray for this years robot control.
__________________
.................................................. .........
Dylan Vester - (Programmer)
Running a P4 1.8 Ghz
Team 998, We can't win...
.................................................. .........
  #2   Spotlight this post!  
Unread 13-12-2004, 22:50
loay R's Avatar
loay R loay R is offline
Registered User
#1219
 
Join Date: Dec 2004
Location: Canada
Posts: 1
loay R is an unknown quantity at this point
Re: Using Shaft Encoders

Would you know how to setup these shaft encoders?

Thanks.
  #3   Spotlight this post!  
Unread 13-12-2004, 23:11
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Using Shaft Encoders

Quote:
Originally Posted by loay R
Would you know how to setup these shaft encoders?

Thanks.
I'm not sure you are going to get an answer. The gentleman who started this thread has not posted in over 9 months so he is probably not active.

Your question is kinda vague.

Do an advanced search for "encoder" for the last few weeks and you will get some good info. If you still have questions, please ask away.
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #4   Spotlight this post!  
Unread 14-12-2004, 03:54
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 Shaft Encoders

Hey guys, I'm the one that started this thread about a year ago. I have since graduated from high school and I don't believe that my old high school is participating this year. But I would be happy to answer any questions you may have on shaft encoders. We got pretty good with them. Ask away!
__________________
.................................................. .........
Dylan Vester - (Programmer)
Running a P4 1.8 Ghz
Team 998, We can't win...
.................................................. .........
  #5   Spotlight this post!  
Unread 14-12-2004, 07:44
tbmantia's Avatar
tbmantia tbmantia is offline
Registered User
FRC #1288 (RAVEN Robotics)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2000
Location: St. Charles, MO
Posts: 66
tbmantia is an unknown quantity at this point
Send a message via MSN to tbmantia
Re: Using Shaft Encoders

Does anyone have a picture of how these are physically tied in with the motors? I want to show the team how it worked for others-directly off a drive shaft, using chains or belts, etc.

Last edited by tbmantia : 14-12-2004 at 12:49.
  #6   Spotlight this post!  
Unread 14-12-2004, 14:02
emersont49 emersont49 is offline
Mentor
#1098
 
Join Date: Sep 2004
Location: Fenton, Missouri
Posts: 34
emersont49 is a glorious beacon of lightemersont49 is a glorious beacon of lightemersont49 is a glorious beacon of lightemersont49 is a glorious beacon of lightemersont49 is a glorious beacon of lightemersont49 is a glorious beacon of light
Re: Using Shaft Encoders

Quote:
Originally Posted by tbmantia
Does anyone have a picture of how these are physically tied in with the motors? I want to show the team how it worked for others-directly off a drive shaft, using chains or belts, etc.
Where you can connect will have alot to do with your encoder. Some can support higher RPM (like 5000 RPm). Some of the cheap ones can only support 100 RPM or so.


D. Viddy - I assume you used the fast c routines to read the encoders. Could you elaborate?
__________________
Tim Emerson
  #7   Spotlight this post!  
Unread 14-12-2004, 15:27
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Using Shaft Encoders

Quote:
Originally Posted by tbmantia
Does anyone have a picture of how these are physically tied in with the motors? I want to show the team how it worked for others-directly off a drive shaft, using chains or belts, etc.
I uploaded a photo of our encoder mount to the 2004 robot gallery.
http://www.chiefdelphi.com/forums/pi...gle&picid=9080

The red encoder has the large white gear mounted on it's shaft and the two are mounted by a simple bracket to the robot base. The large white gear is driven by the small white gear mounted on the shaft itself.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 14-12-2004 at 15:41.
  #8   Spotlight this post!  
Unread 14-12-2004, 18:27
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 Shaft Encoders

Quote:
Originally Posted by tbmantia
Does anyone have a picture of how these are physically tied in with the motors? I want to show the team how it worked for others-directly off a drive shaft, using chains or belts, etc.
Encoders are great, but you have to be careful how you mount them because they don't handle side loads very well. One way not to mount them is with a sprocket coupled to your drivetrain's chain.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
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
Using Digi-Key Shaft Encoders D.Viddy Programming 45 02-01-2005 20:11
Problem with 5/8 in. shaft in this years kit echos Kit & Additional Hardware 5 14-01-2004 21:21
Who used wheel encoders CyberWolf_22 Technical Discussion 12 04-05-2003 15:37
Can you stop a pneumatic pump at half shaft mjt902 Pneumatics 16 06-02-2003 11:58
Where to get shaft encoders D.Viddy Programming 12 17-01-2003 09:38


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

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