|
|
|
![]() |
|
|||||||
|
||||||||
| View Poll Results: What PPR (CPR * 4) do you use? | |||
| 1-127 |
|
2 | 6.45% |
| 128-255 |
|
3 | 9.68% |
| 256-511 |
|
8 | 25.81% |
| 512-1023 |
|
2 | 6.45% |
| 1024-2047 |
|
7 | 22.58% |
| 2048-8191 |
|
6 | 19.35% |
| 8192+ |
|
1 | 3.23% |
| None, we're too cool for encoders. |
|
2 | 6.45% |
| Voters: 31. You may not vote on this poll | |||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: How much PPR do you use on your encoders?
I
Quote:
I can see a 100 cycles per revolution encoder yielding 400 pulses per revolution. I can see a 360 cycles per revolution encoder yielding 1440 pulses per revolution. Those are all multiples of 4. I have taken a ton of PCB out of these encoders (they fail a lot and not just in FIRST robots but on my MaxNC CNC tools) and there is no decoding in them. Are they just being cute and declaring the pulses you could get in the decoder circuit with a 4x decode? Effectively exchanging the meaning of PPR and CPS as other companies use it? Last edited by techhelpbb : 06-09-2016 at 13:39. |
|
#2
|
||||
|
||||
|
Re: How much PPR do you use on your encoders?
A cycle is one repeating pattern. It's a good way to define an encoder because it's independent of how you plan to use (decode) the signal. The space between the red lines is one cycle. One cycle can be 1 count (if you are counting only rising edges on one channel); or 2 counts (if you are counting only rising edges on 2 channels); or 4 counts (if you are counting rising and falling edges on 2 channels). |
|
#3
|
||||
|
||||
|
Re: How much PPR do you use on your encoders?
Quote:
Yes using cycle in that context seemingly eliminates the idea you can get 4 pulses from the decoder circuit, but it ignores that not all decoders are 4x decoders. What is the difference between a cycle and a pulse in a 1x decoder? Nothing. Even over time, a bunch of pulses and a bunch of cycles, still nothing. Granted: to the point of the OP, U.S. Digital's use of the term is what matters so I will accept the cycles per revolution in their case is 4x lower than the potential PPR as they use the terms. I prefer to think of them the other way and simply assume the quadrature decoder circuit is 1x unless provided as part of the encoder assembly. Still a lot of good information in here on the point, minus the ambiguity of the terms. The ambiguity of the term is itself notable. Also: the failure rate for that style encoder Ether linked has to do with the end play of the shaft with the encoder disc. My MaxNC servos have eventually had encoder failures at the back of the steppers because the axis coupled to the shaft of the stepper exerts at times enough vibration (screw lash) and force to displace the disc and either scratch it or put it out of range of the detector. MaxNC has historically used a similar encoder from other companies and they suffered the same fate. I solved this problem using sealed encoders, a timing belt and a mount for the encoder. With 12 axis between these machines I'd have spent $1,400 on fixing those encoders or more by now without making those changes. Point being - I am noting a limitation of that style encoder not taking a shot at U.S. Digital. Last edited by techhelpbb : 06-09-2016 at 15:19. |
|
#4
|
||||
|
||||
|
Re: How much PPR do you use on your encoders?
Quote:
Your point about the 1x decoder seeing CPR and PPR as the same is valid, but then the designer would have to determine that themselves. Are we defining pulses as the actual counts the decoder spits out, or just the step changes coming in from the encoder? AFAIK FRC encoder decoders (TalonSRX and RoboRio) count all the step changes/pulses anyway, so for the purposes of this discussion I think using PPR = 4 x CPR is the best way to define it. EDIT: On topic: The results of the poll are pretty interesting. It looks like most people are using 256 or 512 CPR encoders, with a few people using 64 CPR (or just picked the wrong option in the poll... I should have used CPR instead). Last edited by asid61 : 06-09-2016 at 14:13. |
|
#5
|
||||
|
||||
|
Re: How much PPR do you use on your encoders?
Quote:
FRC11 has been using the Grayhill potentiometer style encoders recently. Too many issues with the end of shaft style. Using the terms used as criteria for this topic we get 128 cycles per revolution. Last edited by techhelpbb : 06-09-2016 at 14:29. |
|
#6
|
||||
|
||||
|
Re: How much PPR do you use on your encoders?
Depends where in the gearbox/ system. You don't want to flood the Roborio with data.
|
|
#7
|
|||
|
|||
|
Re: How much PPR do you use on your encoders?
The two common encoders are 250 & 360 from US Digital. Not sure about the (much higher) others.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|