The present invention discloses a control method for a
harmonic compensation circuit, which is divided into a power circuit part and a control method part. The power circuit part is a Boost type
power factor correction circuit, which is composed of a
rectifier bridge, a Π type filter circuit, a Boost circuit, and an output filter link; the control method part is composed of a
voltage and current double closed-
loop control loop and a
reference current generation module containing a
harmonic compensation
signal, wherein the current controller is designed to be a combination of an embedded repetitive controller and a single zero-point single-pole compensator, and the
reference current generation module includes a bandpass filter with a
center frequency of 50Hz and a repetitive controller. Under the premise of not adding an additional sampling circuit, the present invention samples the input
voltage, and while the converter realizes the
power factor correction function, it compensates for the
harmonic current flowing into the
power grid from the common
coupling point, and in the face of different
power grid impedances, it can adaptively generate a
reference current signal to reduce the harmonic current flowing into the
power grid.