A modular AC/DC rectifier based on cascaded H-bridge rectifier