Hi,
I am working on a telescope tracking project (DIY GOTO). I am using 5V 1.2A 200 steps per revolution stepper motor and an Allegro A4983 driver (http://www.pololu.com/file/download...ping_driver_with_translator.pdf?file_id=0J199) for driving stepper motor on a Pololu PCB (http://www.pololu.com/catalog/product/1202).
For tracking I will be driving stepper motor with 16 microsteps, but for slewing between targets the idea was to use full steps. For correct tracking and slewing I will count the steps to calculate the coordinates where the telescope is pointing. Correct driving of stepper motors is therefore important requirement for correct and accurate tracking. Tracking is done at very low speed (0.5RMP), however slewing will be done at 250 to 400 RPM, which corresponds to 500 to 800x tracking speed.
Stepping resolution on Allegro A4983 driver can be selected with three MS pins. For 16 microsteps MS are put on LOW, and for full step MS pins are put on HIGH. I will put all three MS pins on one microcontroller pin so I could change the stepping resolution.
The idea as I mentioned before is to use 1/16 steps for tracking and full steps for slewing. The question here is can I change stepping resolution on-the-fly? I haven't found much useful beyond the statement that changing resolution on-the-fly is a bad practice and that it could even damage the driver chip. I talked to my colleagues and one of them changes stepping resolution on-the-fly and he hasn't experienced any problems with it. The other colleague said that I should stop the motor, reset the driver and then change the resolution. I imagine that when you reset the driver, the motor shaft could rotate a little bit and then the information about the rotation of the motor would become (even more) inaccurate.
So what do you think, any idea is very welcome.
I am working on a telescope tracking project (DIY GOTO). I am using 5V 1.2A 200 steps per revolution stepper motor and an Allegro A4983 driver (http://www.pololu.com/file/download...ping_driver_with_translator.pdf?file_id=0J199) for driving stepper motor on a Pololu PCB (http://www.pololu.com/catalog/product/1202).
For tracking I will be driving stepper motor with 16 microsteps, but for slewing between targets the idea was to use full steps. For correct tracking and slewing I will count the steps to calculate the coordinates where the telescope is pointing. Correct driving of stepper motors is therefore important requirement for correct and accurate tracking. Tracking is done at very low speed (0.5RMP), however slewing will be done at 250 to 400 RPM, which corresponds to 500 to 800x tracking speed.
Stepping resolution on Allegro A4983 driver can be selected with three MS pins. For 16 microsteps MS are put on LOW, and for full step MS pins are put on HIGH. I will put all three MS pins on one microcontroller pin so I could change the stepping resolution.
The idea as I mentioned before is to use 1/16 steps for tracking and full steps for slewing. The question here is can I change stepping resolution on-the-fly? I haven't found much useful beyond the statement that changing resolution on-the-fly is a bad practice and that it could even damage the driver chip. I talked to my colleagues and one of them changes stepping resolution on-the-fly and he hasn't experienced any problems with it. The other colleague said that I should stop the motor, reset the driver and then change the resolution. I imagine that when you reset the driver, the motor shaft could rotate a little bit and then the information about the rotation of the motor would become (even more) inaccurate.
So what do you think, any idea is very welcome.