The invention discloses a method for calculating secondary
ripple current of a single-phase PWM (
Pulse Width Modulation)
rectifier, which comprises the following steps of: A, obtaining input
voltage us and input current is of the
rectifier through sampling, and respectively obtaining orthogonal components us alpha and us beta of the
voltage and orthogonal components is alpha and is beta of the current through
orthogonal transformation or
delay of a quarter period; respectively calculating a
voltage amplitude Us and a
current amplitude Is; the included angle between the input voltage and the current is phi, namely a
power factor angle; b, the active power P and the reactive power Q of the input power of the
rectifier are calculated, and then the
power factor angle phi of the grid-side current and the voltage is calculated; obtaining the
angular velocity omega of the input voltage by using a phase-locked loop; c, according to the
inductance value L, the
voltage amplitude Us, the
current amplitude Is, the
power factor angle phi and the
angular velocity omega of the
PWM rectifier, the
alternating current side secondary pulsation power Pshc of the rectifier is calculated; and D, calculating the secondary
ripple current of the DC side of the
PWM rectifier in real time by using the PWM DC side given voltage Vdcref and the AC side secondary pulse power Pshc. The method is different from a method for obtaining the reference value of the secondary
ripple current on the DC side of the
PWM rectifier by adopting current sampling and filtering and the like, and the reference value of the secondary ripple current is directly calculated by directly utilizing the existing parameters of the PWM rectifier; and the precision of the secondary ripple current reference value is further improved on the basis of eliminating a
current sensor and a circuit thereof.