Sensorless Speed Control of a PM Synchronous Motor by Sliding Mode Observer