|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
maximum rpm for encoder
So its been suggested to me that for ppvs I increase the rp maximum to 5. I thought Id see what the board thinks of that idea.
|
|
#2
|
||||
|
||||
|
Re: maximum rpm for encoder.
If you look at the sensor manual it says that the maximum RPM's of the sensor is 10000. But i don't anyone is going to need anywhere near that. And it all depends on the processing speed of your cRIO.
|
|
#3
|
||||
|
||||
|
Re: maximum rpm for encoder.
Anecdotally,
we are sampling at 20,000 cps without any difficulty using the kit-supplied encoders. This is using the 4X sampling feature, which is enabled by default. This means even though the encoders produce 250 cpr, the cRIO is actually able to read 1000 cpr by capturing every edge transition on both phases. My related question is: I've noticed in the WPILib documentation that the FPGA is only mentioned when using the 4x encoder mode. In 1x mode, the documentation mentions that a Counter object is used instead. If we use 1x mode, is the FPGA NOT used to count pulses? If the FPGA is not used, does this reduce our maximum count rate by more than a factor of 4? Does this basically mean the 4x mode is always our best bet when using encoders? |
|
#4
|
||||||
|
||||||
|
Re: maximum rpm for encoder.
Quote:
If you're just counting pulses, you'll get the highest resolution with 4x. However, if you're using the rate feature, you will probably get better results (less noise) with 1x, as it is always counting the same transition. As for the maximum rate question: http://decibel.ni.com/content/message/12523#12523 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Screwing Encoder into Encoder Mount? | Adrien | Electrical | 3 | 25-01-2009 18:14 |
| Inputs for the Encoder | petet4 | Electrical | 2 | 19-01-2009 13:26 |
| Wanted: CIM RPM data For actual robots | de_ | Motors | 8 | 12-04-2008 20:07 |
| Co-Operating for maximum hurdels | Leav | Rules/Strategy | 15 | 08-01-2008 16:54 |
| Kevin Watson's encoder code with RPM output | MaxM | Programming | 2 | 05-02-2005 00:06 |