Control of a wind energy conversion system based on brushless doubly fed induction generator