This paper presents a UPS system with PV to explain the structure of the system. In analyzing bidirectional converter topology, working principle, based on the decoupling based feedforward control loop control strategy to achieve different modes rectifier inverter automatically switches to achieve the purpose of energy flow in both directions. This method has no static error tracking input current, the harmonic pollution, power factor advantages.