Quote:
Originally Posted by biojae
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.
|
We are also investigating the same approach, using a Hall effect sensor to control wheel speed.
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?