Control of doube fed induction machine using direct torque control