I need to design PID controller for stepper motor, in order to remove the resonance effect of the stepper and also eliminate the velocity error, and increasing the raising time.
which poles should I use ?
where is the Transfer function? should I use the transfer function of the gate drive or the stepper motor itself?