Sliding Mode Control of a Grid-Connected Brushless Doubly Fed Induction Generator