Sensorless position control of permanent magnet motors with pulsating current injection and compensation of motor end-effects.pdf