Operation and closed-loop control of wind-driven stand-alone doubly fed induction enerators using a single inverter-battery system