A MRAS observer applied to sensorless doubly fed induction machine drives