|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|
Encoder rate
What is the Jaguar's maximum encoder rate?
Would a K.O.P. encoder work well as a tachometer (only use channel A) for velocity control when driven directly from a CIM or FischerPrice motor? Or would some sort of encoder divider (a few flip flops) be needed to reduce the input rate? (with the necessary scaling factors in place in the software to output the correct rate) |
|
#2
|
||||
|
||||
|
Re: Encoder rate
Quote:
|
|
#3
|
|||||
|
|||||
|
Re: Encoder rate
Reading through the data sheet I got this;
Quote:
I hope this helps! |
|
#4
|
||||
|
||||
|
Re: Encoder rate
Quote:
- Bryce |
|
#5
|
||
|
Re: Encoder rate
Quote:
( PI loop) Wanted to make sure that the Jag would be able to handle the high encoder rate before trying it. Quote:
We are going to use just one output (channel A) of a 360 count per revolution encoder. I don't think that there is a need for direction sensing on our mechanism. Last edited by biojae : 23-01-2012 at 17:26. |
|
#6
|
||||
|
||||
|
Re: Encoder rate
Quote:
While this is working for cRIO control, it's proving difficult to close the loop on the Jaguar. I'm aware of the thread on Jaguar speed control http://www.chiefdelphi.com/forums/sh...d.php?t=100135 but we're seeing an even more basic problem with the encoder. We hooked up the encoder to the Jag input using just 3 wires (+, A, -), and in software set the encoder type to kEncoder (cf kQuadEncoder). Plotting the value of getSpeed(), we saw a useful signal when the shaft was rotating, but noise around 20kHz when the shaft was stationary rather than the expected zero speed reading. Investigations continue... Has anyone got a non-Quad encoder to work with Jaguar closed-loop? |
|
#7
|
|||
|
|||
|
Re: Encoder rate
I confirmed this too... but I am not sure if there are additional delays due to interupt processing. If I recall correctly, the pic used to have about 10 t0 20 us per interrupt for processing. Maybe a JAG engineer can chime in with respect to actual line/second limits.
|
|
#8
|
||||||
|
||||||
|
Re: Encoder rate
Quote:
|
|
#9
|
||||
|
||||
|
Re: Encoder rate
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|