T source inverter can realize single stage booster and inverter, compared with the Z source inverter, it has less passive components, the reduced passive components can improve the efficiency of system. The current of grid-connected inverter usually adopts PI control, but PI control has two disadvantages: one is that can not track the sinusoidal reference value with no steady-state error, and it has poor ability of disturbance rejection. in this paper we controlled by quasi proportional resonant (PR), and compared the performance of T source inverter with PI control and PR control, and verify its validity by simulation and experiment.