Space-learning tracking control for permanent magnet step motors