|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Has anyone actually tested the encoders that come shipped on the AndyMark SuperShifters? They're made by US Digital (US Digital E4P-250-250 ). They have a rate of 250 cycles per revolution, or because they're quad encoders, 1000 pulses (interrupts?) per revolution.
Everything I've read says that this interrupt rate is pushing the upper limits of the RC, especially if you are using multiple encoders (we're planning to use two). The trick is that since they are mounted to the final output drive shaft, there is no opportunity to reduce this rate. On the other hand, knowing that AndyMark always optimally engineers their products for use in FIRST competitions, I would think that they picked this particular encoder for a reason. Should I be concerned? Do I need to look into some kind of divider card as well? Thanks for any info. Last edited by Abrakadabra : 10-01-2008 at 08:16. Reason: fixed link URL |
|
#2
|
|||||
|
|||||
|
Re: AndyMark SuperShifter Encoders
Only one phase of the encoder output causes an interrupt, so you're off by a factor of two at the start. Digital inputs 1 and 2 trigger on only one edge of the signal, so there's another factor of two.
We used those encoders on our 2007 drivetrain. Even at top speed, interrupts were not an issue. |
|
#3
|
||||
|
||||
|
Re: AndyMark SuperShifter Encoders
Quote:
If you use and follow the methods by this white paper: http://www.chiefdelphi.com/media/papers/1490 (we've done this in the past for lower count encoders ex.. H1-50 from USDigital) Then yes your are going to be "pushing" the limits" and a line/signal divider might be wise. That is because your code will be interrupting on both the rising and falling edges of both the "A" and "B" phase, so you will get 1024 interrupts per revolution per encoder, yielding 2048 interrupts for two encoders per a single revolution. If you use "Kevin Watson's" encoder code, the caveat is (as I understand it) that if the encoder is spinning at a high enough rate of speed it is possible for his routines to incorrectly interpret the direction and thereby mis count. (See his FAQ). Which is why we don't use it. But this method will give you only 256 interrupts per revolution and under those conditions there shouldn't be any issue. 512 is significantly lower than 2048. I do hope this helps. |
|
#4
|
||||
|
||||
|
Re: AndyMark SuperShifter Encoders
Quote:
-"Kevin" Last edited by Kevin Watson : 10-01-2008 at 13:54. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AM SuperShifter in Inventor | ADZDEBLICK | Inventor | 17 | 02-01-2008 05:25 |
| pic: AM Supershifter mount / cntr axle saddle rev 3 | Andrew Schuetze | Extra Discussion | 7 | 28-12-2007 18:41 |
| Mounting encoders to the AndyMark | Joel J | Technical Discussion | 11 | 31-01-2007 21:32 |
| andymark? | Ian_Xodus | General Forum | 9 | 18-01-2007 22:08 |
| 3 Encoders | stephenthe1 | Programming | 5 | 17-11-2005 19:21 |