We're going to do some closed-loop stepper control with the NI 7334
motion controller. What happens when the quadrature encoder has a
different number of counts per turn than the stepper? I can see two
issues:
1. the axis is "under encoded". It takes more than one motor step to
produce a change in the encoder reading
2. "over encoded": one step of the motor causes more than one count of
encoding, so that some encoder values are in effect not achievable.
How does the 7334 handle this? Say I tell it to go to position 10000,
but due to over-encoding, it will either see 9998 at one stepper
position, or 10002 at the next? Will it dither back and forth?
Say it takes 10 motor steps to induce a single count in encoded
position. Will the 7334 stop
at the first correct reading? Will there
be hysteresis, stopping at a different place if coming from the other
direction?
Since it's probably hard always to match encoders to steppers, my guess
is that the rule of thumb is to overencode, and that the 7334 knows how
to manage this. Is this right?
--
Jeffrey W Percival, Senior Scientist and Associate Director
Space Astronomy Laboratory, University of Wisconsin - Madison
1150 University Ave, Madison, WI 53706 USA
608-262-8686 (fax 608-263-0361) jwp@sal.wisc.edu
http://www.sal.wisc.edu/~jwp