|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Encoder resolution on fast turning shafts
There was a very lengthy discussion about jitter, sampling, and RPM calculation in 2012. To make a long discussion short, if you are using the period function in LabVIEW, you may actually be better off with a 1 count per rotation encoder to maximize the period and make your RPM calculation more accurate. We used it very successfully in 2012, and 2013. This will also eliminate any worries you may have about loading the roborio.
This is somewhat counter-intuitive if you are thinking about calculating RPM using "number of ticks" divided by time. |
|
#2
|
|||
|
|||
|
Re: Encoder resolution on fast turning shafts
Quote:
The roboRIO and the cRIO does / did all quadrature decoding in the FPGA. It incurs no more or less load on the system sitting unswitched vs. switching quickly. Last edited by jhersh : 02-02-2016 at 18:01. |
|
#3
|
||||
|
||||
|
Re: Encoder resolution on fast turning shafts
Quote:
EDIT: Nevermind. I didn't see the 25ns number above. Does that mean that that the RoboRIO can take 40,000,000 edge to edge pulses per second, or am I screwing my math up somewhere. That number just seems incredibly high, but I could see it being that high. Last edited by Thad House : 02-02-2016 at 15:39. |
|
#4
|
||||
|
||||
|
Re: Encoder resolution on fast turning shafts
Quote:
So no, you wouldn't get a usable reading at 40M edges per second. Note: back in 2012, the cRIO FPGA took samples at only 153KHz, and timestamped them with a 1MHz clock. That's why we had all the discussions back then. Last edited by Ether : 02-02-2016 at 15:54. |
|
#5
|
|||
|
|||
|
Re: Encoder resolution on fast turning shafts
Quote:
Quote:
|
|
#6
|
|||
|
|||
|
Re: Encoder resolution on fast turning shafts
Hello My team is trying to use the VersaPlanetary Integrated Encoder to reach about 12000 rpm. The documentation on vex pro says 15000 rpm max but looking at the talon SRX software documentation says 10000 rpm max and we seem to be maxing out the rpm.
|
|
#7
|
||||
|
||||
|
Re: Encoder resolution on fast turning shafts
Quote:
The 10000RPM in section 7.5.4 in SRX Software Reference Manual is a typo. I'll fix it soon. And also... http://www.chiefdelphi.com/forums/sh...63&postcount=6 |
|
#8
|
|||
|
|||
|
Re: Encoder resolution on fast turning shafts
Thanks, still can't seem to get it work are current using java and have set the feedback device to ctre mag relative and are unable to read an rpm above 5000 we are using java any suggestions
Edit. We updated the firmware and it worked. *facepalm* Last edited by Qormix : 04-02-2016 at 19:34. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|