A FUZZY-LOGIC-BASED CONTROLLER FOR ACTIVE RECTIFIER