Modeling, simulation and control of the alternate arm converter