|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#6
|
||||
|
||||
|
Re: Consistent Encoder RPM Issues
Quote:
- Physically disconnect Channel B. Don't use it. Use Channel A only - Create an up/down Counter object (not encoder) on the Channel A signal, and set it to count rising edges only - Set the FPGA sample ring buffer to 125 samples1. - Use Counter getPeriod() method. RPM = 60/(250*getPeriod()) Can you provide some more detail about your shooter design? - what motor controller(s) are you using? - what motor(s) are you using? - how are those motor(s) connected to the wheel(s)? - where and how is your encoder mounted? Depending on the answers, you may be able to use the very simple bang-bang speed controller algorithm. 1if you don't know what this means, ask |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|