PFC design: inductor, bulk, losses, loops and harmonics
Introduction
A power supply with a bridge and a capacitor draws narrow pulses from the line near the voltage peak: the current is rich in harmonics, the power factor is around 0.6 and IEC 61000-3-2 does not allow it above 75 W for many appliances. The PFC (power factor correction) is a boost placed right after the bridge, controlled so that the average inductor current is a rectified sinusoid in phase with the voltage: to the line the converter looks like a resistor. The energy arriving at twice the line frequency is stored in the bulk capacitor, which feeds the next stage, for example an LLC.
The tool covers four variants. The continuous-conduction (CCM) boost with average current control, for medium and high power. The boost at the boundary between continuous and discontinuous conduction (CrM, or transition mode), with constant on-time and turn-on at zero current, for low power. The two-phase CCM interleaved, which shares the current and partly cancels the ripple. The bridgeless totem-pole, which removes the diode bridge and with gallium nitride switches goes above 99 %. For each one the tool sizes the inductor on the cores of the inductor calculator, the bulk for hold-up, the losses at the three line voltages and the two loops; then it simulates the switching circuit over eight line cycles and compares harmonics, ripple, hold-up and loop gains with the calculation.
| What | Formula |
|---|---|
| CCM inductance | \( L = \dfrac{V_{pk}\,D}{f_s\,\Delta I},\quad D = 1-\dfrac{V_{pk}}{V_o},\quad \Delta I = K_{RL}\,\dfrac{\sqrt2\,P_{in}}{n_f\,V_{ac,min}} \) |
| CrM frequency | \( t_{on} = \dfrac{2\,L\,P_{in}}{V_{ac}^2},\quad f(\theta) = \dfrac{V_o – V_{pk}\,|\sin\theta|}{t_{on}\,V_o} \) |
| CrM inductance | \( L = \min_{V_{ac,min},\,V_{ac,max}} \dfrac{V_{ac}^2\,(V_o-\sqrt2\,V_{ac})}{2\,P_{in}\,f_{min}\,V_o} \) |
| Bulk ripple | \( \Delta V_{pp} = \dfrac{P_o}{2\pi f_l\,C\,V_o} \) |
| Hold-up | \( C \ge \dfrac{2\,P_o\,t_h}{V_{start}^2 – V_{hold}^2},\quad V_{start} = V_o – \dfrac{\Delta V_{pp}}{2} \) |
| Current loop | \( G_i(s) = \dfrac{R_s\,V_o}{s\,L\,V_{ramp}} \) |
| Voltage loop | \( G_v(s) = \dfrac{k_P}{V_o\,(s\,C + 2/R)},\quad k_P = \dfrac{\partial P_{in}}{\partial v_{cv}} \) |
| Third harmonic from the voltage loop | \( \dfrac{I_3}{I_1} = \dfrac{|H_v(j\,2\omega_l)|\,\Delta V_{pp}}{4\,V_{cv}} \) |
Card 1 — Specifications, stage and bulk
| Vac | Pin | Iac | Peak IL | IL,rms | IQ,rms | ID,avg | IC,rms | DCM | |
|---|---|---|---|---|---|---|---|---|---|
The worst case for currents is minimum line at full power: there the peak current is highest and the duty cycle longest. In CCM the inductance is chosen from the ripple at the line peak, usually between 20 and 40 %% of the peak current: more ripple means a smaller inductor but more current to filter and more core loss. At high line the current is small and the ripple stays similar, so near the line zero the boost goes into discontinuous conduction: the DCM share shows it.
In CrM the switch stays on for a fixed time and turns on again as soon as the current returns to zero: the peak current is twice the average and the frequency changes along the half cycle, lowest at the line peak. The minimum frequency must hold at both line extremes, and often the maximum line sets L, because there Vo − Vpk is small. In the interleaved version each phase carries half the current; table values are per phase, except line and bulk current.
The bulk has two jobs: keep the 2·fline ripple within the allowed value and feed the load during a line dropout, for example one full cycle. The dropout can start in the ripple trough, so the calculation starts from Vo − ΔVpp/2 rather than Vo; the downstream load is constant power.
Card 2 — Inductor
A PFC inductor works with a current that changes along the line cycle: at the peak it carries the maximum current plus ripple, near the zero almost nothing. The tool designs it at the peak of the minimum line, the hardest point for saturation and copper, with the same method as the inductor calculator: core by core, from the smallest, until one works. Core loss and AC copper loss are then computed at twelve points of the half cycle, each with its own ripple, duty cycle and frequency, and averaged; DC copper uses the line RMS current.
For CCM powder cores (Kool Mµ, High Flux, iron powder) are the common choice: the gap is distributed, there is no fringing loss on the winding, and the permeability drop with current is tolerated. For CrM, with a ripple as large as the current, core loss weighs more and gapped ferrite becomes useful again. For interleaved the tool designs one inductor per phase.
Card 3 — Losses and efficiency
Losses are summed over the line half cycle, point by point. The bridge always has two diodes conducting the line current. The switch has conduction losses on its RMS current, which is large at low line because the duty cycle is long, and switching losses: the voltage-current overlap at each turn-on and turn-off, the Coss energy dumped at turn-on, and in CCM the charge of the boost diode turning off at full current. That is why in CCM the diode is almost always silicon carbide, with a small capacitive charge and no reverse recovery.
In CrM turn-on happens at zero current and, when the line voltage is below half of Vo, also at zero voltage: after the diode turns off the drain rings with L down to 2·v − Vo, the controller turns on in the valley, and below Vo/2 the valley reaches zero. In the totem-pole the GaN fast leg acts as switch and synchronous rectifier, and the slow leg switches at line frequency. Efficiency goes back to card 1: enter it there to size the inductor with the true input power. Device data come from datasheets, as in the MOSFET calculator.
Card 4 — Current loop and voltage loop
| Part | Position | Computed | Standard |
|---|
| Vac | fc | Phase margin | vcv | Ripple on vcv | I3/I1 | |
|---|---|---|---|---|---|---|
| Part | Position | Computed | Standard |
|---|
In average current control the current reference is the product of three things: the rectified voltage, which gives the shape; the voltage-loop output vcv, which gives the amplitude; and 1/Vrms², the feed-forward, which keeps power constant for a given vcv whatever the line. The current loop must follow a rectified sinusoid, so it is fast, with fc around a tenth of fs. Its stage is the inductor seen from the modulator, an integrator; the compensator is a type II, sized with the K factor as in the control loop calculator. Dixon’s limit requires the compensator output slope to stay below the ramp slope.
The voltage loop, instead, must be slow. The bulk carries an unavoidable 2·fline ripple: if it reaches vcv, the reference amplitude oscillates at 2·fline and the current picks up a third harmonic. That is why fc sits around 10 Hz and the type II pole attenuates the ripple further; the table shows how much third harmonic remains at each line voltage. In CrM there is no feed-forward and gain grows with Vac²: the tool designs the loop at maximum line.
Parts are for an inverting type II op-amp with R1 at the input. Many PFC controllers have a transconductance amplifier: poles and zero are the same, values must be recomputed with the datasheet gm.
Card 5 — Line-cycle simulation and harmonics
| Quantity | Calculation | Simulation |
|---|
The simulation follows the switching circuit for at least eight line cycles, more if the voltage loop is slow: bridge, inductor, switch, diode and bulk with their drops, the two loops with the compensators of card 4, the modulator comparing the current-amplifier output with the ramp and, in CrM, turn-on at the instant the current returns to zero. Switching instants are computed inside the step, so the result does not depend on how many steps are used. Harmonics come from the last cycle, by Fourier transform of the line current; the power factor is the one seen after the EMI filter, that is without the fs ripple.
The table puts each number next to its independent calculation. The calculated third harmonic comes only from the ripple on the voltage loop: in CCM at high line the simulation shows more, because in the DCM region the current loop tracks less well, and the averaged model does not see that. Hold-up is checked by removing the line in the ripple trough with a constant-power load. The loops are measured by injecting a signal, as with a network analyser: the current loop with the line phase frozen at the peak, the voltage loop on the circuit running normally.
The limits are those of IEC 61000-3-2 for odd harmonics, taken from the table reported on Wikipedia (2005 edition with amendments A1 and A2): class A in amperes, class D in mA per input watt capped at class A. For the class and the edition in force for your appliance, the official text applies.
In the simulation switches are ideal with RDS(on), diodes have a fixed drop, the line is a pure sinusoid without impedance or EMI filter, inductance is constant. Switching losses are not simulated: the loss row compares conduction only. Sources: L. Dixon, Average Current Mode Control of Switching Power Supplies (Unitrode U-140); STMicroelectronics, application note AN966 for the L6562 CrM controller.