TExcelTAD
Home › Power Electronics & Motor Drives › Loss Budgets and Measuring Efficiency and Ripple

Loss Budgets and Measuring Efficiency and Ripple

A datasheet says "up to 96 % efficient"; your board measures 91 %. Is the board bad, is the datasheet's "up to" doing heavy lifting, or are your meters lying? Answering that needs two skills: a loss budget, which predicts where every milliwatt goes, and a measurement method good enough to check it. Both matter more than they seem: at 95 %95\ \% efficiency, an error of 1 %1\ \% in the input power is an error of 20 %20\ \% in the loss, and the loss is what heats the board. This lesson builds the budget for the 24 V24\ \text{V} to 12 V12\ \text{V}, 2 A2\ \text{A} buck of the previous lessons and shows how to measure efficiency and ripple so the numbers can be trusted.

The loss budget

Loss Formula (buck, CCM) Scales with
High-side conduction IQ,rms2RDS(on),hot≈DIout2RDS(on)I_{Q,\text{rms}}^2 R_{DS(on),\text{hot}} \approx D I_\text{out}^2 R_{DS(on)} I2I^2
High-side switching (overlap) 12VinIout(tr+tf)fsw\frac{1}{2}V_\text{in}I_\text{out}(t_r + t_f)f_{sw} VIfV I f
Output capacitance 12CossVin2fsw\frac{1}{2}C_{oss}V_\text{in}^2 f_{sw} V2fV^2 f
Gate drive QgVGSfswQ_g V_{GS} f_{sw} ff
Diode (or synchronous FET) VF(1−D)IoutV_F(1-D)I_\text{out} (or (1−D)I2RDS(on)(1-D)I^2R_{DS(on)} + dead-time diode) II (or I2I^2)
Inductor copper and core IL,rms2RDCR+Pcore(ΔIL,fsw)I_{L,\text{rms}}^2 R_\text{DCR} + P_\text{core}(\Delta I_L, f_{sw}) I2I^2, ripple
Capacitor ESR IC,rms2RESRI_{C,\text{rms}}^2 R_\text{ESR} (input and output) I2I^2
Controller quiescent VinIqV_\text{in}I_q constant

The switching formulas are explained in Hard-Switching Waveforms and Switching Losses and the device parameters in Power MOSFETs. The scaling column predicts the shape of every efficiency curve: fixed losses (gate drive, CossC_{oss}, quiescent, core) dominate at light load, proportional losses (diode drop, overlap) set the flat middle, and I2I^2 losses pull the curve down at full load. Efficiency peaks where the fixed losses equal the I2I^2 losses.

Worked example: budget at full load

Given: Vin=24 VV_\text{in} = 24\ \text{V}, Vout=12 VV_\text{out} = 12\ \text{V}, Iout=2 AI_\text{out} = 2\ \text{A}, fsw=200 kHzf_{sw} = 200\ \text{kHz}, D=0.5D = 0.5; MOSFET RDS(on)=15 mΩR_{DS(on)} = 15\ \text{m}\Omega at 25 ∘C25\,^\circ\text{C} (×1.5 hot), tr+tf=20 nst_r + t_f = 20\ \text{ns}, Coss=300 pFC_{oss} = 300\ \text{pF}, Qg=15 nCQ_g = 15\ \text{nC} at 5 V5\ \text{V}; Schottky VF=0.45 VV_F = 0.45\ \text{V}; inductor DCR 38 mΩ38\ \text{m}\Omega, core loss 50 mW50\ \text{mW}; controller 2 mA2\ \text{mA}.

Find: each loss, the total and the efficiency.

Solve:

Pcond=0.5⋅22⋅0.0225=45 mW,Psw=12⋅24⋅2⋅20 ns⋅200 kHz=96 mWPoss=12⋅300 pF⋅242⋅200 kHz=17.3 mW,Pg=15 nC⋅5 V⋅200 kHz=15 mWPD=0.45⋅0.5⋅2=450 mW,PL=22⋅0.038+0.05=202 mW,Pq=24⋅0.002=48 mW\begin{aligned} P_\text{cond} &= 0.5 \cdot 2^2 \cdot 0.0225 = 45\ \text{mW}, \quad P_\text{sw} = \tfrac{1}{2} \cdot 24 \cdot 2 \cdot 20\ \text{ns} \cdot 200\ \text{kHz} = 96\ \text{mW} \\ P_{oss} &= \tfrac{1}{2} \cdot 300\ \text{pF} \cdot 24^2 \cdot 200\ \text{kHz} = 17.3\ \text{mW}, \quad P_g = 15\ \text{nC} \cdot 5\ \text{V} \cdot 200\ \text{kHz} = 15\ \text{mW} \\ P_D &= 0.45 \cdot 0.5 \cdot 2 = 450\ \text{mW}, \quad P_L = 2^2 \cdot 0.038 + 0.05 = 202\ \text{mW}, \quad P_q = 24 \cdot 0.002 = 48\ \text{mW} \end{aligned}

Check: the total (with a few milliwatts of ESR loss) is about 0.88 W0.88\ \text{W}, so η=24/(24+0.88)=96.5 %\eta = 24/(24 + 0.88) = 96.5\ \%. The diode is half of the loss: replacing it by a 15 mΩ15\ \text{m}\Omega synchronous MOSFET saves about 0.4 W0.4\ \text{W}. The code sweeps the load for both versions.

python · try it yourself
import numpy as np

Vin, Vout, fsw, L = 24.0, 12.0, 200e3, 56e-6
Rds, tsw, Coss, Qg, Vg = 0.015 * 1.5, 20e-9, 300e-12, 15e-9, 5.0
Vf, dcr, Pcore, Iq, esr_in, esr_out = 0.45, 0.038, 0.05, 2e-3, 0.005, 0.005
t_dead = 30e-9                                    # synchronous version: two dead times per period

def losses(Iout, sync):
    D = Vout / Vin
    dI = Vout * (1 - D) / (L * fsw)
    k = 1 + (dI / Iout)**2 / 12                     # rms factor of a ripple-on-DC current
    p = {"Q cond": D * Iout**2 * k * Rds,
         "Q switch": 0.5 * Vin * Iout * tsw * fsw,
         "Coss + gate": 0.5 * Coss * Vin**2 * fsw + Qg * Vg * fsw * (2 if sync else 1),
         "inductor": Iout**2 * k * dcr + Pcore,
         "caps": (Iout**2 * D * (1 - D)) * esr_in + dI**2 / 12 * esr_out,
         "controller": Vin * Iq}
    if sync:
        p["low side"] = (1 - D) * Iout**2 * k * Rds + 0.7 * Iout * 2 * t_dead * fsw
    else:
        p["diode"] = Vf * (1 - D) * Iout
    return p

p = losses(2.0, sync=False)
total = sum(p.values())
for name, w in sorted(p.items(), key=lambda kv: -kv[1]):
    print(f"{name:12s} {w*1e3:6.1f} mW  {100*w/total:5.1f} %")
print(f"total {total*1e3:.0f} mW, efficiency {100*24/(24+total):.2f} %")

print(" Iout   eta(diode)  eta(sync)")
for Iout in (0.1, 0.25, 0.5, 1.0, 1.5, 2.0, 3.0):
    Po = Vout * Iout
    e1 = Po / (Po + sum(losses(Iout, False).values()))
    e2 = Po / (Po + sum(losses(Iout, True).values()))
    print(f"{Iout:5.2f} A  {100*e1:7.2f} %  {100*e2:7.2f} %")
diode         450.0 mW   51.2 %
inductor      202.9 mW   23.1 %
Q switch       96.0 mW   10.9 %
controller     48.0 mW    5.5 %
Q cond         45.3 mW    5.1 %
Coss + gate    32.3 mW    3.7 %
caps            5.1 mW    0.6 %
total 880 mW, efficiency 96.46 %
 Iout   eta(diode)  eta(sync)
 0.10 A    88.28 %    88.68 %
 0.25 A    93.66 %    94.79 %
 0.50 A    95.53 %    96.92 %
 1.00 A    96.35 %    97.84 %
 1.50 A    96.49 %    97.98 %
 2.00 A    96.46 %    97.93 %
 3.00 A    96.24 %    97.64 %

The asynchronous buck peaks near 1.5 A1.5\ \text{A} (96.49 %96.49\ \%) and is flat from 11 to 3 A3\ \text{A}. The synchronous version gains 1.51.5 points at full load, but only 0.40.4 at 0.1 A0.1\ \text{A}, where its second gate drive and the fixed losses dominate; that is why synchronous controllers add light-load modes (diode emulation, pulse skipping).

Measuring efficiency

benchsupply converterunder test electronicload A A V V I_inI_out voltmeters sense at the board terminals (Kelvin), ammeters in series

Rules that make the number honest:

  • Measure voltage at the board's terminals with separate sense wires. A 0.5 m0.5\ \text{m} lead pair with 20 mΩ20\ \text{m}\Omega carrying 1 A1\ \text{A} drops 20 mV20\ \text{mV}; counted as input power, it is the board's fault.
  • Measure DC with DC meters only if the currents are DC. The input current of a buck is pulsed; with a good input capacitor and a decent lead inductance the supply current is DC, but check with a scope. If not, a power analyzer that integrates v⋅iv \cdot i is needed (Power Measurement).
  • Mind the ammeter's burden voltage. It is outside the Kelvin points, so it does not matter for the calculation, but it lowers the voltage reaching the board.
  • Wait for thermal equilibrium (several minutes): RDS(on)R_{DS(on)} and DCR rise with temperature, and efficiency falls by tenths of a percent as the board warms.
  • Compute the uncertainty. For η=VoIo/(ViIi)\eta = V_oI_o/(V_iI_i) the relative uncertainties add in quadrature. The loss is a small difference of two large numbers, so its relative uncertainty is magnified by η/(1−η)\eta/(1-\eta).
python · try it yourself
import numpy as np

# four readings and their uncertainties (k = 1, from a 5.5-digit DMM's specification)
Vi, Ii, Vo, Io = 24.012, 1.0442, 11.987, 2.0012
u_rel = {"Vi": 0.00015, "Ii": 0.0010, "Vo": 0.00015, "Io": 0.0010}
eta = Vo * Io / (Vi * Ii)
u_eta = eta * np.sqrt(sum(u**2 for u in u_rel.values()))
Pin, Pout = Vi * Ii, Vo * Io
loss = Pin - Pout
u_loss = np.sqrt((Pin * np.hypot(u_rel["Vi"], u_rel["Ii"]))**2 + (Pout * np.hypot(u_rel["Vo"], u_rel["Io"]))**2)
print(f"Pin = {Pin:.3f} W, Pout = {Pout:.3f} W")
print(f"efficiency = {100*eta:.2f} % +/- {100*u_eta:.2f} points (k = 1)")
print(f"loss = {loss:.3f} W +/- {u_loss:.3f} W ({100*u_loss/loss:.0f} % of the loss)")

# the same meters on more efficient converters: the loss uncertainty explodes
u_P = np.hypot(u_rel["Vi"], u_rel["Ii"])           # relative uncertainty of each power reading
for e in (0.90, 0.95, 0.98, 0.99):
    print(f"eta = {e:.2f}: loss known to +/- {100 * u_P * np.sqrt(1 + e*e) / (1 - e):.1f} %")
Pin = 25.073 W, Pout = 23.988 W
efficiency = 95.67 % +/- 0.14 points (k = 1)
loss = 1.085 W +/- 0.035 W (3 % of the loss)
eta = 0.90: loss known to +/- 1.4 %
eta = 0.95: loss known to +/- 2.8 %
eta = 0.98: loss known to +/- 7.1 %
eta = 0.99: loss known to +/- 14.2 %

With these meters the efficiency is known to about ±0.14\pm 0.14 points, but the loss only to about ±3 %\pm 3\ \%; at 98 %98\ \% efficiency the same meters would leave the loss uncertain by ±7 %\pm 7\ \%. For very efficient converters engineers measure the loss directly: by calorimetry, or by comparing the board's temperature rise with that of a resistor dissipating a known power.

Measuring ripple

Most "ripple" on a scope is the measurement. Switch-node edges of a few nanoseconds radiate into the loop formed by the probe tip and its 15 cm15\ \text{cm} ground lead (about 150 nH150\ \text{nH}), producing spikes of hundreds of millivolts that are not on the output. The practice (Probes):

  • Remove the ground clip and use the ground spring (tip and barrel) directly across the output capacitor, or a 50 Ω50\ \Omega coaxial connection with a DC block.
  • AC-couple and set the 20 MHz bandwidth limit for the ripple specification (most datasheets specify ripple that way; say which you used).
  • Check the floor: touch the probe tip to its own ground spring at the same spot. What remains is pickup.
  • Separate the two parts: the triangular or parabolic ripple at fswf_{sw} (compare with ΔIL/(8Cfsw)\Delta I_L/(8Cf_{sw}) plus ESR) and the spikes at the edges (high-frequency noise, reduced by layout and a small high-frequency capacitor).

Guided lab: the efficiency curve of a buck board

Hand calculation. Build the loss budget above with the parts on your board (from their datasheets) and predict η\eta at 0.10.1, 0.50.5, 11 and 2 A2\ \text{A}.

Simulation. Edit the parameters in the first code cell.

What you would measure. Bench supply at 24 V24\ \text{V} with a 1.5 A1.5\ \text{A} limit, four meters as in the figure (or two meters, moved, at constant conditions), an electronic load in constant-current mode at 0.10.1 to 2 A2\ \text{A}, ten minutes of warm-up per point at high load. Expect a curve within about 11 to 22 points of your budget above 0.5 A0.5\ \text{A}, and lower at light load (the budget underestimates fixed losses). Plot the loss, not only η\eta: it should fit P0+aI+bI2P_0 + aI + bI^2; the fitted bb tells you the total effective resistance. Measure the ripple both ways (long ground lead, then ground spring) and compare.

Hazards and safe setup. 24 V24\ \text{V}, current-limited. The electronic load and any power resistors run hot; keep their vents clear. Do not touch the inductor or the diode during the run (they can exceed 80 ∘C80\,^\circ\text{C}). Turning the electronic load to "constant resistance" at very low values at start-up can make the converter hiccup; start from a light load.

Pitfalls

  • Reading the voltage at the supply's front panel. The leads' drop is counted as converter loss.
  • Quoting efficiency without its uncertainty. At 95 % the loss can be off by tens of percent.
  • Measuring ripple with the ground clip. Most of what you see is the probe loop.
  • Measuring cold. Run to thermal equilibrium; hot on-resistance is 1.5 to 2 times the 25 ∘C25\,^\circ\text{C} value.

Practice

  1. A converter takes 50.0 W50.0\ \text{W} and delivers 47.5 W47.5\ \text{W}. If the input power reading is 0.5 %0.5\ \% high, what is the true loss?
  2. From the budget, by how much would doubling fswf_{sw} raise the full-load loss of the asynchronous buck?
  3. A loss measurement fits P=0.12+0.20I+0.09I2P = 0.12 + 0.20I + 0.09I^2 (W, A). At what current is the efficiency highest (fixed loss equal to the I2I^2 part), and what does 0.20I0.20I represent?
Answer
  1. True input 50.0/1.005=49.75 W50.0/1.005 = 49.75\ \text{W}, so the loss is 2.25 W2.25\ \text{W}, not 2.5 W2.5\ \text{W} (10 % less).
  2. The frequency-proportional parts double: 96+17.3+15=128 mW96 + 17.3 + 15 = 128\ \text{mW} more. The core loss changes too, the other way: the ripple ΔIL\Delta I_L, and with it the flux swing, halves, so with typical ferrite Steinmetz exponents the core loss falls (by roughly half), and the ripple part of the copper loss shrinks.
  3. 0.12=0.09I20.12 = 0.09I^2 gives I=1.15 AI = 1.15\ \text{A}. The linear term is the diode drop and the switching overlap, both proportional to current.

Test yourself

Which loss dominates a converter's efficiency at very light load?

  1. I2RI^2R conduction loss
  2. fixed losses: gate drive, output-capacitance, controller and core losses
  3. diode forward drop
  4. capacitor ESR

Why should the voltmeters in an efficiency measurement sense at the board's terminals?

  1. to reduce noise
  2. so the drop in the leads is not counted as converter loss
  3. to protect the meters
  4. it makes no difference

A converter is 98 % efficient and the power measurements are each uncertain by 0.1 %. The loss is uncertain by roughly…

  1. 0.1 %
  2. 1 %
  3. 7 %
  4. 50 %

Large spikes appear on a buck's output ripple measurement. The first thing to change is…

  1. add output capacitance
  2. replace the ground clip with a ground spring at the output capacitor and set the 20 MHz limit
  3. raise the switching frequency
  4. increase the inductance