I'm looking for the best way for stepper motor controlling: I tried to approximate the continuous space versus time curve, calculating the time intervals where space increase one but it requires square root and divisions that whould force me to choose a very fast microcontroller/dsp. I've looked for some commercial controller and I've seen that all of them have a cycle loop: seems like they don't control directly space; they instead update the speed at any control cycle approximating so the speed versus time curve: it is correct ?

Thanks in advance.

Simone Navari.