Thread: pic: All Done!
View Single Post
  #15   Spotlight this post!  
Unread 08-11-2014, 00:26
TheVoid's Avatar
TheVoid TheVoid is offline
C++ programmer
AKA: Liam Taylor
FRC #2605 (Sehome Seamonsters)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Bellingham
Posts: 8
TheVoid is an unknown quantity at this point
Re: pic: All Done!

As for performance, they work brilliantly!

Interestingly, these encoders have the option to select the output resolution. This becomes handy when you're dealing with the FPGA's encoder counting, seeing as it's only able to count about 38,000 counts per second with a quadrature signal, so the factory setting of 2048 lines per rev was just a bit too high. Currently, i have them set to 256 counts/rev and it tracks pretty reasonably even with the motor turned to 11. (or 12.9 as it may be)

They're pretty accurate by my tests so far. Assuming we're not going too fast for the FPGA, it doesn't seem to lose count at all. I wouldn't be uncomfortable with popping these things in for position control if need be.

We currently don't have any CAN system set up to test them with a jaguar in PID control, but doing it in the FPGA seems to be working pretty well. Ideally, we're going to be using CAN Talons this season, although having the FPGA as a fallback should be nice.
__________________
"Just look for the rectangle. Simple!"
Reply With Quote