End Effects in Linear Tubular Motors and Compensated Position Sensorless Control Based on Pulsating Voltage Injection