Go to Post I do know that I cringe every time someone brings up "lawyerism" or some other such nonsense as the reason their interpretation of the rules is right. - Kris Verdeyen [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 03-10-2012, 22:40
smclean1969 smclean1969 is offline
Registered User
FRC #3512
 
Join Date: Oct 2010
Location: Orcutt, CA
Posts: 37
smclean1969 is an unknown quantity at this point
Success with encoders

We have had some problems with getting an encoder working on our robots. Our team stood up in 2011 and it wasn't essential to have an encoder for Logomotion but it was a critical part of a successful shooter for Rebound Rumble.

The problem we had with the Kit of Parts encoder was the shooter RPMs being up in the 1000+ range, there were some vibrations that were causing the encoder to misread the encoder disk. I wanted to see if other teams had experience a similar problem.

Also, for the teams that don't use the KOP encoder, what type of encoder are they using?

thanks,
__________________
Scott McLean
FIRST Team 3512, the Spartatroniks
Team role: mentor


2011: Highest Rookie Seed and Rookie Inspiration Award Long Beach Competition
2012: Winner Los Angeles Regional -- w/ Team 987 and Team 1717
2013: Finalist Los Angeles Regional -- w/ Team 599 and Team 981; Engineering Excellence
2015: Entrepreneurship Award - Ventura Regional
  #2   Spotlight this post!  
Unread 03-10-2012, 23:14
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,905
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: Success with encoders

I've always liked using enclosed models like the Grayhill 61K, 63K/R (example) (spec sheet: ShaftEncoder_128CountPerRev.pdf) .
A 63R is guaranteed for 10 years of continuous use at 5000rpm. We're still running them on a robot from 2004.
For drive train or shooter type applications look for encoders with a high rotational life, ball bearings, etc.
Lighter duty applications can use cheaper alternatives by using bearing sleeves, lower rpm ratings, etc.

Depending on the application you might consider absolute or incremental, quadrature, BCD, etc.
Both digital and analog models are easy to deal with and the FRC cRIO is setup to handle them. Other connection methods (I2C, SPI,) tend to cost more. PWM outputs don't really work with FRC without the added complication of custom circuit pre-processing.

Do be careful to match the counts-per-revolution to the application and the capabilities of the cRIO to handle the maximum counts-per-second you design for.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-10-2012 at 20:08.
  #3   Spotlight this post!  
Unread 03-10-2012, 23:20
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Success with encoders



http://www.chiefdelphi.com/forums/sh...04&postcount=2


  #4   Spotlight this post!  
Unread 04-10-2012, 12:44
topgun's Avatar
topgun topgun is offline
Registered User
FRC #2846 (FireBears)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Minnesota
Posts: 229
topgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant future
Re: Success with encoders

Quote:
Originally Posted by Mark McLeod View Post
I've always liked using enclosed models like the Grayhill 61K, 63K/R (example).
A 63R is guaranteed for 10 years of continuous use at 5000rpm. We're still running them on a robot from 2004.
For drive train or shooter type applications look for encoders with a high rotational life, ball bearings, etc.
Lighter duty applications can use cheaper alternatives by using bearing sleeves, lower rpm ratings, etc.
How do you typically incorporate these encoders into your robot? gears, timing belts, etc? Pictures would help.

Thanks.

- T
__________________
-T

  #5   Spotlight this post!  
Unread 04-10-2012, 12:54
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Re: Success with encoders

We are currently using an KOP encoder in our off season robot, so far it has been working mostly. Our problem is more so our PID code..
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #6   Spotlight this post!  
Unread 04-10-2012, 13:21
rees2001 rees2001 is offline
Registered User
AKA: Rees
FRC #0340 (Greater Rochester Robotics)
Team Role: Teacher
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Rochester NY
Posts: 802
rees2001 has a reputation beyond reputerees2001 has a reputation beyond reputerees2001 has a reputation beyond reputerees2001 has a reputation beyond reputerees2001 has a reputation beyond reputerees2001 has a reputation beyond reputerees2001 has a reputation beyond reputerees2001 has a reputation beyond reputerees2001 has a reputation beyond reputerees2001 has a reputation beyond reputerees2001 has a reputation beyond repute
Re: Success with encoders

Quote:
Originally Posted by Mark McLeod View Post
I've always liked using enclosed models like the Grayhill 61K, 63K/R (example).
A 63R is guaranteed for 10 years of continuous use at 5000rpm. We're still running them on a robot from 2004.
For drive train or shooter type applications look for encoders with a high rotational life, ball bearings, etc.
Lighter duty applications can use cheaper alternatives by using bearing sleeves, lower rpm ratings, etc.

Depending on the application you might consider absolute or incremental, quadrature, BCD, etc.
Analog models are easy to deal with and the FRC cRIO is setup to handle them. Other connection methods tend to cost more.

Do be careful to match the counts-per-revolution to the application and the capabilities of the cRIO to handle the maximum counts-per-second you design for.
Where is the like button?

I prefer the greyhill's. They work well with kids that my not understand the robustness of the KOP encoders.
  #7   Spotlight this post!  
Unread 04-10-2012, 14:54
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: Success with encoders

We used the KOP encoders for our shooter which ran up to about 4500RPM without any issues.

In years past when encoders weren't in the KOP we used the "H" series from USDigital with good success.

http://www.usdigital.com/products/en...otary/shaft/H1
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


  #8   Spotlight this post!  
Unread 04-10-2012, 15:50
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Re: Success with encoders

Is there documentation on how to wire/program an Analog encoder such as an greyhill?
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013

Last edited by Mk.32 : 04-10-2012 at 16:01.
  #9   Spotlight this post!  
Unread 04-10-2012, 16:08
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,905
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: Success with encoders

Quote:
Originally Posted by topgun View Post
How do you typically incorporate these encoders into your robot? gears, timing belts, etc? Pictures would help.
Several different ways.
You just have to avoid side loads on the encoder shaft, so usually we use an L bracket to hold the encoder and a flexible coupler, e.g., a short segment of pneumatic tubing, as a coupler directly to a shaft, as if you were replacing the KOP encoder on an AndyMark gearbox.
We've also used a hardware shaft coupler available from McMaster and elsewhere.

Here's a photo of a mount (from our 2004 robot) using plastic gears to couple to a drive train.

We've also used a sprocket w/ #25 chain on a special purpose turret. The sprocket has to be supported at both ends on a separate shaft, so the encoder doesn't carry any load.

Quote:
Originally Posted by Mk.32 View Post
Is there documentation on how to wire/program an Analog encoder such as an greyhill?
The Grayhill model I mentioned is a digital input. (I went back and reworded a little to avoid that implication)

Here's an example of an analog encoder with 10-bit resolution that's rated for 20,000 rpm. It is terribly expensive (but under the FRC $ limit), so I wouldn't recommend it. But it'll give you an idea of how simple the wiring and use is.
The wiring pinout is on page 12.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-10-2012 at 16:45.
  #10   Spotlight this post!  
Unread 04-10-2012, 16:29
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Re: Success with encoders

Quote:
Originally Posted by Mark McLeod View Post
Several different ways.
You just have to avoid side loads on the encoder shaft, so usually we use an L bracket to hold the encoder and a flexible coupler, e.g., a short segment of pneumatic tubing, as a coupler directly to a shaft, like you would to replace the KOP encoder on an AndyMark gearbox.
We've also used a hardware shaft coupler available from McMaster and elsewhere.

Here's a photo of a mount (from our 2004 robot) using plastic gears to couple to a drive train.

We've also used a sprocket w/ #25 chain on a special purpose turret. The sprocket has to be supported at both ends on a separate shaft, so the encoder doesn't carry any load.


The Grayhill model I mentioned is a digital input.
Oh my bad, then could I just use the encoder class built into the JAVA api to run it?
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #11   Spotlight this post!  
Unread 04-10-2012, 16:46
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,905
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: Success with encoders

Quote:
Originally Posted by Mk.32 View Post
Oh my bad, then could I just use the encoder class built into the JAVA api to run it?
Yes, that works seamlessly with a Quadrature output-type, like the Grayhill 63R.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #12   Spotlight this post!  
Unread 04-10-2012, 17:14
Hugh Meyer's Avatar
Hugh Meyer Hugh Meyer is offline
Registered User
FRC #1741 (Red Alert Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Greenwood Indiana
Posts: 158
Hugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud of
Re: Success with encoders

It is absolutely critical that run out be very small and end play in the shaft be near zero. The distance the encoder wheel is set from the sensor is very important. You need to look at the signal with a scope. If everything is not just right the sensor will drop out one or the other of the A or B channel. This creates errors. It is important that the sensor base is used with the correct line count encoder wheel. If the two do not match then the relationship between the A and B signals will not be 90 degrees.

We mounted a KOP sensor on the CIM motor for our drive train. It was reading in the 4800 RPM range just fine once we got everything aligned properly. Attached is a photo.

We used the larger brother of the KOP sensor for the shooter. We used a 3/8" shaft. The sensor is larger, and seems easier to mount. Attached is a photo with the cap removed. Here is a link:

http://usdigital.com/products/encode...rotary/kit/E7P

-Hugh
Attached Thumbnails
Click image for larger version

Name:	IMG_4004_LR.jpg
Views:	98
Size:	100.2 KB
ID:	13067  Click image for larger version

Name:	IMG_4012_LR.jpg
Views:	98
Size:	456.6 KB
ID:	13068  
  #13   Spotlight this post!  
Unread 04-10-2012, 17:37
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,384
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Success with encoders

Quote:
Originally Posted by Mark McLeod View Post
Here's an example of an analog encoder with 10-bit resolution that's rated for 20,000 rpm. It is terribly expensive (but under the FRC $ limit), so I wouldn't recommend it. But it'll give you an idea of how simple the wiring and use is.
The wiring pinout is on page 12.

US Digital has this analog version that only runs around $67. It has a 15K RPM limit, with a +/- 1 deg of accuracy. It can be treated like a potentiometer for all intents and purposes, but is actually an absolute shaft encoder.

Depending on what you are trying to do with it, this may also be an option.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #14   Spotlight this post!  
Unread 04-10-2012, 18:36
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,905
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: Success with encoders

That's a more reasonable example of an analog encoder.
I was actually thinking of its predecessor the MA2, but didn't know what the new model # was.
That model is quite tiny and great for compact spaces.

It's a less complicated interface dealing with it as if it were an infinite rotation potentiometer (without the drawback of a pot dead spot).

There are also interface circuits to be had that can turn a digital absolute encoder into an analog input.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-10-2012 at 20:11.
  #15   Spotlight this post!  
Unread 04-10-2012, 19:08
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,047
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: Success with encoders

This is a rather expensive but proven bulletproof product:

http://usdigital.com/products/encode...llow-bore/HB5M

We used it to monitor our shooter RPM. Installed very simply. Reliable, stress-free operation all season long.
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner

Last edited by Travis Hoffman : 04-10-2012 at 19:23.
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


All times are GMT -5. The time now is 19:44.

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