The method involves changing the triple-loop cascade control to a dual-loop control architecture with an integrated outer loop for position and speed control and an inner loop for current control.