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 efficiency, an error of in the input power is an error of in the loss, and the loss is what heats the board. This lesson builds the budget for the to , 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 | ||
| High-side switching (overlap) | ||
| Output capacitance | ||
| Gate drive | ||
| Diode (or synchronous FET) | (or + dead-time diode) | (or ) |
| Inductor copper and core | , ripple | |
| Capacitor ESR | (input and output) | |
| Controller quiescent | 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, , quiescent, core) dominate at light load, proportional losses (diode drop, overlap) set the flat middle, and losses pull the curve down at full load. Efficiency peaks where the fixed losses equal the losses.
Worked example: budget at full load
Given: , , , , ; MOSFET at (×1.5 hot), , , at ; Schottky ; inductor DCR , core loss ; controller .
Find: each loss, the total and the efficiency.
Solve:
Check: the total (with a few milliwatts of ESR loss) is about , so . The diode is half of the loss: replacing it by a synchronous MOSFET saves about . The code sweeps the load for both versions.
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 () and is flat from to . The synchronous version gains points at full load, but only at , 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
Rules that make the number honest:
- Measure voltage at the board's terminals with separate sense wires. A lead pair with carrying drops ; 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 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): and DCR rise with temperature, and efficiency falls by tenths of a percent as the board warms.
- Compute the uncertainty. For the relative uncertainties add in quadrature. The loss is a small difference of two large numbers, so its relative uncertainty is magnified by .
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 points, but the loss only to about ; at efficiency the same meters would leave the loss uncertain by . 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 ground lead (about ), 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 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 (compare with 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 at , , and .
Simulation. Edit the parameters in the first code cell.
What you would measure. Bench supply at with a limit, four meters as in the figure (or two meters, moved, at constant conditions), an electronic load in constant-current mode at to , ten minutes of warm-up per point at high load. Expect a curve within about to points of your budget above , and lower at light load (the budget underestimates fixed losses). Plot the loss, not only : it should fit ; the fitted tells you the total effective resistance. Measure the ripple both ways (long ground lead, then ground spring) and compare.
Hazards and safe setup. , 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 ). 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 value.
Practice
- A converter takes and delivers . If the input power reading is high, what is the true loss?
- From the budget, by how much would doubling raise the full-load loss of the asynchronous buck?
- A loss measurement fits (W, A). At what current is the efficiency highest (fixed loss equal to the part), and what does represent?
Answer
- True input , so the loss is , not (10 % less).
- The frequency-proportional parts double: more. The core loss changes too, the other way: the ripple , 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.
- gives . 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?
- conduction loss
- fixed losses: gate drive, output-capacitance, controller and core losses
- diode forward drop
- capacitor ESR
Why should the voltmeters in an efficiency measurement sense at the board's terminals?
- to reduce noise
- so the drop in the leads is not counted as converter loss
- to protect the meters
- 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…
- 0.1 %
- 1 %
- 7 %
- 50 %
Large spikes appear on a buck's output ripple measurement. The first thing to change is…
- add output capacitance
- replace the ground clip with a ground spring at the output capacitor and set the 20 MHz limit
- raise the switching frequency
- increase the inductance