Hi,
I'm playing with the InstaSPIN Motion library to position my motor. I have an quadrature encoder with 2000 steps mounted on my motor. So the resolution is 8000 steps per revolution.
I think I have set up the position controler in the right way (as in example proj_lab13b). The position converter takes as target mechanical revolution. What I want is stop at a certain coordinate. That's why I calculate the number of revolutions from the current and target coordinate.
After starting the positioning process the motor stops with a coordinate error of maybe 20 to 40. This is not enough for me. I want a low one-digit error. Is there something to tune the position controller to lower the error?
Sebastian