Go to Post Being a part of FIRST is inspirational regardless of what else happens. - Jon Stratis [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 21-08-2013, 01:55
Emiko Emiko is offline
Registered User
None #2439
 
Join Date: Aug 2013
Rookie Year: 2013
Location: Hawaii
Posts: 5
Emiko is on a distinguished road
What is an encoder?

So, I'm new to robotics, and I need to find out what an encoder is.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-08-2013, 02:02
kgzak's Avatar
kgzak kgzak is online now
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: What is an encoder?

Simply speaking it allows you to see how far or how fast something has rotated.

inside there is a light or laser that shines on or through a disk that spins with whatever it is that you want to measure. That disk will either have small holes or lines that trigger signals that are then sent back to the controller (most used in FIRST have an A and a B signal). The higher the counts per resolution the more precise the encoder is.

Hope that gives you a basic understanding.
Reply With Quote
  #3   Spotlight this post!  
Unread 21-08-2013, 08:42
MechEng83's Avatar
MechEng83 MechEng83 is offline
Lead Mentor/Engineer
AKA: Mr. Cool
FRC #1741 (Red Alert)
Team Role: Coach
 
Join Date: May 2011
Rookie Year: 2011
Location: Indiana
Posts: 617
MechEng83 has a reputation beyond reputeMechEng83 has a reputation beyond reputeMechEng83 has a reputation beyond reputeMechEng83 has a reputation beyond reputeMechEng83 has a reputation beyond reputeMechEng83 has a reputation beyond reputeMechEng83 has a reputation beyond reputeMechEng83 has a reputation beyond reputeMechEng83 has a reputation beyond reputeMechEng83 has a reputation beyond reputeMechEng83 has a reputation beyond repute
Re: What is an encoder?

An encoder is a device that counts occurances in a certain way. The most common application is as light and dark segments on a rotating disc, though there are linear encoders.

The way they work is by sending a "high" or "low" signal indicating whenever the light and dark regions pass the detector. You can count them up to find what distance you've traveled or count the rate and determine a speed.

The problem with a simple encoder is that it can tell you number of signal switches and/or rate of change, but it cannot tell you direction. To get direction, a 2nd detector is offset (usually 90 degrees out of phase -- note: this is not 90 degrees on the wheel, but 1/4 of the way through a cycle of high and low) so you can determine the direction of motion. These are commonly known as the "A" and "B" channels.

An example of how this would work is
Code:
Forward                    Reverse
A - low ; B - low          A - low ; B - low
A - high; B - low          A - low ; B - high
A - high; B - high         A - high; B - high
A - low ; B - high         A - high; B - low
A - low ; B - low          A - low ; B - low
As you can see, the direction can be determined by looking at which signal is leading (changing first). This is what's know as a quadrature encoder.

As far as line counts, it's a balancing act. The more lines you have, the greater precision you can get, which is a good thing. But this can cause problems too. With very small divisions, your encoder is subject to "noise" in its measurement. Any small misalignments or vibrations can be enough to cause the signal to behave in erratic ways. Fewer line counts reduce the probability of this occuring. The other drawback to a high number of line counts is the signal processing rate of your controller. If you're spinning so fast, you send 100,000 line counts past your detectors, your system may not be able to count that fast, and then your signal will become garbled as the controllers struggles to keep up.

So, more lines = better precision. Less lines = cleaner signal. We typically use 100 line count encoders for direct motor output since we gear down the motors and 360 line count encoders for more precise measurements on devices that don't move as fast.
__________________

2016 INWLA GP| INWCH Entrepreneurship | INPMH DCA | INCMP Team Spirit | CAGE Match Winner (w/ 1747 &868), Finalist (1471 w/ 1529 & 1018), Best Fans
2015 ININD Judges Award, Proud "Phyxed Red Card" alliance partners of 1529 & 1720 | INWLA EI | INCMP GP
2014 Boilermaker Creativity | Chesapeake Finalist, Safety, GP, Entrepreneurship | IN State Championship Winner (w/ 868 & 1018) | CAGE Match Winner (w/ 1024, 5402 & 1646)
2013 Boilermaker RCA, Innovation in Controls, Finalist | Crossroads Entrepreneurship | Newton Semi-finalist
2012 Boilermaker Entrepreneurship | Queen City EI | Curie Semi-finalist
2011 Boilermaker RCA, Entrepreneurship
Red Alert Robotics
Reply With Quote
  #4   Spotlight this post!  
Unread 11-09-2013, 16:30
Jade York Jade York is offline
Registered User
no team
 
Join Date: Sep 2013
Location: Michigan
Posts: 1
Jade York is on a distinguished road
Re: What is an encoder?

An encoder is a feedback device that is primarily used to reference position of a certain object. They can be linear or rotary. An example of a linear encoder would be a linear scale commonly used on different machine axis to reference the position of the axis to correspond with the machine program. Rotary encoders are commonly used on servo and spindle motors. On a servo motor they are used to detect shaft/rotor position in reference to the stator so that the drive running the motor knows which phase to fire next (commutation). On a spindle motor an encoder can also detect velocity and reference back to the controller to keep speed stablilized.

Encoders can communicate using a variety of different languages (so to say). The most common is the incremental encoder. There are also absolute, serial, TTL, 1Vp-p, 11 uAmp, All pretty much do the same thing, they count. Encoders can also come in various different counts from as low as 500 PPR (Pulse Per Revolution) up to in excess of 1,000,000 PPR. So, depending on how accurate you need to be there should be an encoder out there to fit your needs.

If you are interested in an article about some problems with encoders here is a link to an article http://www.repairzone.com/learningce...o-motor-repair

Jade
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 17:51.

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