|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
single lline encoder on Jags
can we use a single line encoder like a gear tooth encoder or an optical encoder with the Jags?
|
|
#2
|
||||
|
||||
|
Re: single lline encoder on Jags
I don't see why not as long as you tell the Jag "number of lines per revolution".
|
|
#3
|
|||
|
|||
|
Re: single lline encoder on Jags
Have you tried this?
|
|
#4
|
||||
|
||||
|
Re: single lline encoder on Jags
We have connected our 250-line encoders to the Jags. They worked as expected. We are doing speed control on it although we did not use the Jaguar's built-in PID. We used our own PID controller library in the cRIO.
|
|
#5
|
|||
|
|||
|
Re: single lline encoder on Jags
Ah! You mean lines as in counts, but he means lines as in wires.
|
|
#6
|
||||
|
||||
|
Re: single lline encoder on Jags
Quote:
Quote:
|
|
#7
|
||||||
|
||||||
|
Re: single lline encoder on Jags
According to the jaguar getting started guide:
Quote:
|
|
#8
|
||||
|
||||
|
Re: single lline encoder on Jags
With a single channel tach input, the Jag cannot tell what the direction is. So position control would be problematic.
|
|
#9
|
||||
|
||||
|
Re: single lline encoder on Jags
I am not sure I understand your question. Are you asking if we connected both A and B? If so, yes.
Yes, that's correct. We call the Jag to read the speed and use that as the Input to our PID controller on the cRIO. By doing so, we can change the PID algorithm to give us a stable speed control. |
|
#10
|
||||
|
||||
|
Re: single lline encoder on Jags
Quote:
|
|
#11
|
||||
|
||||
|
Re: single lline encoder on Jags
Quote:
|
|
#12
|
||||
|
||||
|
Re: single lline encoder on Jags
Sorry for the confusion, I was answering the second part of his question whether I can use an optical encoder for which I assume is the KOP encoder.
|
|
#13
|
||||
|
||||
|
Re: single lline encoder on Jags
Yes, we have achieved pretty stable speed control with it.
|
|
#14
|
||||
|
||||
|
Re: single lline encoder on Jags
Interesting.
We haven't been getting a reliable reading from the Jag when the sprocket is stationary. What language are you using (we've seen some unimplemented features in Java in previous years). Thanks. |
|
#15
|
||||
|
||||
|
Re: single lline encoder on Jags
We are using Wind River C++. We just call CANJaguar::GetSpeed().
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|