Sensorless Speed Control of a PM Synchronous Motor Based on Sliding Mode Observer and Extended Kalman Filter