The proposed control system is assumed to operate under a uniform sample rate. In each sample period, the error
between the measured speed ω and the feedback motor speed is estimated by a PI controller that generates the
estimated torque T*em. After the generation of the reference torque, and the calculation of the motor power losses the
suitable fuzzy logic controller is chosen to determine the reference field current . The IFOC controller generates the terminal voltage, using the space vector modulation. The switching signals are produced to control the inverter