Go to Post ... the team that *DOESN'T* design things in the offseason for prototyping and testing will always be at a much bigger disadvantage. - Cory [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 26-10-2005, 14:49
pheNIX637 pheNIX637 is offline
Registered User
None #0637
 
Join Date: Oct 2005
Location: NJ
Posts: 10
pheNIX637 will become famous soon enough
What is a Enocder sensor ?

What is a Enocder sensor ?


all i know basically is that it counts the teethes on the gear which helps accurately judge how far (distance) it goes per the rotation.

is their a site were i can find more info on it ?

or can anyone tell me?

thanks alot

appreciate it
  #2   Spotlight this post!  
Unread 26-10-2005, 15:17
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,813
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: What is a Enocder sensor ?

Quote:
Originally Posted by pheNIX637
What is a Enocder sensor ?

all i know basically is that it counts the teethes on the gear which helps accurately judge how far (distance) it goes per the rotation.
Do you want encoder or gear tooth sensor? A gear tooth sensor counts gear teeth outside of it (say on the sprocket half an inch away) using a magnetic field, but an encoder, as far as I know, counts how many times its own shaft rotates (oh wait, that's a potentiometer...or is it?) using something similar.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #3   Spotlight this post!  
Unread 26-10-2005, 15:33
mechanicalbrain's Avatar
mechanicalbrain mechanicalbrain is offline
The red haired Dremel gnome!
FRC #0623 (Ohm robotics)
Team Role: Electrical
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Virginia
Posts: 1,221
mechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond repute
Send a message via AIM to mechanicalbrain Send a message via Yahoo to mechanicalbrain
Re: What is a Enocder sensor ?

Quote:
Originally Posted by EricH
Do you want encoder or gear tooth sensor? A gear tooth sensor counts gear teeth outside of it (say on the sprocket half an inch away) using a magnetic field, but an encoder, as far as I know, counts how many times its own shaft rotates (oh wait, that's a potentiometer...or is it?) using something similar.
An encoder typically refers to a optical sensor that reflects a infrared beam off a disk with an alternating black and white pattern. The nice advantage over a gear tooth sensor is that by changing the pattern. You can determine the direction the wheel is rotating (though on second thought you can do this by recording direction through the speed controller) by monitoring the pattern. They're both good but I like the optical encoder more. Here's an example of a disk.

I would like to end this by saying that often these type have questions can easily be answered by googling (especially google image) with the info you have.

Last edited by mechanicalbrain : 26-10-2005 at 15:42.
  #4   Spotlight this post!  
Unread 26-10-2005, 15:39
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,835
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: What is a Enocder sensor ?

There is a white paper on quad encoders that will give you some background.

http://www.chiefdelphi.com/forums/pa...le&paperid=283
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #5   Spotlight this post!  
Unread 26-10-2005, 15:51
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,547
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: What is a Enocder sensor ?

Quote:
Originally Posted by mechanicalbrain
You can determine the direction the wheel is rotating (though on second thought you can do this by recording direction through the speed controller) by monitoring the pattern.
I'm not sure you can use the direction of the Victor on such a thing. Suppose I've got both of my drive motors set to 140 (forward, but really slow). Then another robot comes up and pushes me backwards at a rate of 12.93 feet per second. If I don't change my motor's direction, the program would think I'm going forward, when I am without a doubt going backwards. Then your software thinks you're somewhere you're not.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #6   Spotlight this post!  
Unread 26-10-2005, 15:51
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
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: What is a Enocder sensor ?

Quote:
Originally Posted by EricH
an encoder, as far as I know, counts how many times its own shaft rotates (oh wait, that's a potentiometer...or is it?)
Encoders and potentiometers can come in similar form factors, but their internals are quite different.

In general, potentiometers output a DC signal that is proportional to the absolute position of the internal wiper connected to its shaft. If you apply a 5 Volt differential to the outer pins of the pot, the wiper pin will have an analog range of 0-5Volts. Pots are a good match for your application if you have a fixed range of motion.

As for encoders, they are used to measure relative position. They output a pulse as the shaft rotates. It is up to whatever is connected to the encoder to count these pulses and make sense of the data.

On a very basic level, think of the spokes on a bicycle wheel. Imagine holding a straw between the spokes and rotating the wheel. You can determine how many rotations that wheel has made by counting the number of times the straw hits a spoke.

In reality, there are components within the encoder housing that detect the rotation of the shaft. You only need to be concerned with counting the pulses.

Encoders are a good match for your application if there are no fixed ends to your range of motion, such as wheel rotations. You can also use it for something like our (111) lift last year, however, you will probably need to incorporate some sort of home-switch to know your absolute position (since the encoder only gives you relative position).
  #7   Spotlight this post!  
Unread 26-10-2005, 17:12
pheNIX637 pheNIX637 is offline
Registered User
None #0637
 
Join Date: Oct 2005
Location: NJ
Posts: 10
pheNIX637 will become famous soon enough
Re: What is a Enocder sensor ?

thanks everbodr ..


and Dave Shecks thanks you analogys really helps..
  #8   Spotlight this post!  
Unread 27-10-2005, 13:02
CJO's Avatar
CJO CJO is offline
Emeritus Pain in the $@#$@#$@#
AKA: Christopher J. O'Connell
None #1097 (Site 3 Engineering)
Team Role: Alumni
 
Join Date: Feb 2003
Location: Latrobe (over the rainbow), CA
Posts: 217
CJO will become famous soon enoughCJO will become famous soon enough
Re: What is a Enocder sensor ?

While it is true that you can be pushed backwards while trying to go forewards, using the encoders in a quadrature state requires more processing power (interrupts). If you are only using the encoders during autonomous, it is not overly likely that another robot will be on your end of the field, and the extra processing power may come in handy.

Furthermore, even in other situations, if you try to implement some kind of PID control, the processing required may mean that you will simply need to risk getting pushed backwards.
__________________
Team 1097 -- Site 3 Engineering
~~~~~~~~~~~~~~~~~~~~
2003 Sacramento Rookie All Star
2003 Silicon Valley Rookie All Star
2004 Sacramento Engineering Inspiration Award
2004 Sacramento Visualization Award
2004 Outstanding Volunteer Award (G. Glasser)
2004 Silicon Valley Sportsmanship Award
2004 National Visualization Runner Up
2004 Cal Games Finalist
2005 Sacramento Sportsmanship Award
2005 Sacramento #1 seed
2005 Sacramento Finalist

2005 Silicon Valley Sportsmanship Award
2005 Silicon Valley #1 Seed
2005 Silicon Valley Finalist

  #9   Spotlight this post!  
Unread 27-10-2005, 13:14
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: What is a Enocder sensor ?

Quote:
Originally Posted by CJO
While it is true that you can be pushed backwards while trying to go forewards, using the encoders in a quadrature state requires more processing power (interrupts). If you are only using the encoders during autonomous, it is not overly likely that another robot will be on your end of the field, and the extra processing power may come in handy.

Furthermore, even in other situations, if you try to implement some kind of PID control, the processing required may mean that you will simply need to risk getting pushed backwards.

there is more to it than that. Usually you use an encoder as the feedback sensor in a PID loop.

With PID loops, you compair what the controller is telling the robot to do, and you use the sensors (encoders) to see what the robot is actually doing. The difference is the error signal that you use to control the voltage to the motors.

For example, if your auton mode tells the bot to go forward, turn right, backup... at some points the controller will be saying (its time to turn) but the bot will still be going forwards. You dont want to mix these signals up - your bot will go open loop (digital insanity!)

Which is why encoders that sense speed and direction were invented. Both are required from the feedback sensors.
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
Making a Sensor Board SpaceOsc Technical Discussion 11 15-05-2004 12:46
Detecting and handling sensor failure gracefully mtrawls Programming 9 20-04-2004 17:19
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Banner Sensor Programming Problem 2Crisis Programming 4 24-02-2004 13:40
Quick Optical Sensor Question zorro Technical Discussion 10 21-01-2003 06:39


All times are GMT -5. The time now is 04:49.

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