Nonlinear feedback control and torque optimization of a doubly fed induction motor