View Single Post
  #13   Spotlight this post!  
Unread 14-04-2012, 21:47
JamesTerm's Avatar
JamesTerm JamesTerm is offline
Terminator
AKA: James Killian
FRC #3481 (Bronc Botz)
Team Role: Engineer
 
Join Date: May 2011
Rookie Year: 2010
Location: San Antonio, Texas
Posts: 298
JamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to behold
Re: Encoders on Drive Train DON'T WORK.

Quote:
Originally Posted by Ether View Post
Code:
360		CPR encoder
4		4X decoding
1440		counts per rev
47		rev/sec
67,680		counts/sec
Note the 67,680 counts per sec. I'm told the FPGA is only good for 40,000 counts/sec, but I don't know if that's per channel or for both channels of an encoder.


http://www.usdigital.com/first

This link shows 166 rps...

For the E4P, the maximum output frequency is 60 kHz (60,000 cycles per second). A 360 CPR encoder produces 360 pulses on each channel per revolution. To solve for how fast the encoder's shaft must turn per second to reach the maximum output frequency, divide the maximum frequency by the pulses per revolution. 60,000 / 360 = 166 revolutions per second. To convert to RPM multiply by 60 (10,000 RPM).