A Fuzzy Logic Controller for Active Rectifier