This paper presents a comparison between two control strategies, field oriented control (FOC) and sliding mode control (SMC). The first study has been done on controlling the
Permanent Magnets Synchronous Machine (PMSM) by using field oriented control technique using a speed sensor to detect the rotor position of the motor. After we present the theory of sliding mode control .We can see from the simulation results that the second proposed control system (SMC), is a robust nonlinear
time optimal controller, that's will be more explained in the appendix.