The topology structure and control method of a new type of static var compensator are proposed. To improve the compensation performance of the device, repetitive control is introduced. Then a new static var compensator system is designed for a 10 MVA non-controlled rectifier load in a 10 kV power system. Simulation results show that the new type of static var compensator can suppress resonance between passive filter and the system with high harmonic compensation precision and fast response. The static var compensator is suitable for high voltage and high capacity reactive power and harmonic compensation application.