Application of fuzzy logic control algorithm as stator power controller of a grid-connected doubly-fed induction generator