Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new

The first power-up of a new converter is the moment the design meets reality. It is also the moment when most boards get damaged, and when most misleading measurements are taken. A wrong probe setup can show 70 V of ringing on a node that never goes above 50 V; a hasty power-up can blow a MOSFET that would have worked.

This article is a practical guide for the bench: how to stay safe, in which order to bring a board up, how to probe a fast switch node, how to measure current and efficiency, and how to run a double-pulse test. Where a mistake can be shown, a Voltecx simulation shows it, with the numbers.

1. Safety first

Power electronics benches combine high voltage, high energy and fast edges. A few habits prevent almost every accident.

Know where the dangerous voltage is

  • Mains-connected circuits. Everything on the primary side of an offline converter is at mains potential, including the "ground" of the primary controller. Touching it, or clipping an earthed scope ground to it, is dangerous.
  • Isolation transformer for the unit under test. Feed an offline converter from an isolation transformer so that a single touch to the primary side does not complete a path to earth. It protects you, not the scope.
  • Never float the oscilloscope by removing its protective earth. The whole chassis and every BNC shell then sit at whatever voltage your ground lead touches. Use a differential probe or an isolated-input instrument instead (section 4).

Stored energy stays after you switch off

Bulk capacitors hold their charge long after the supply is off. The energy in a capacitor is 12CV2\frac{1}{2}CV^2: a 470 µF capacitor at 400 V stores 37.6 J, enough to burn and to throw a screwdriver tip.

A bleeder resistor discharges it, but slowly. With a time constant τ=RC\tau = RC, the voltage falls as V(t)=V0e−t/τV(t) = V_0 e^{-t/\tau}, so the time to fall to a safe level VsafeV_{safe} is

t=RCln⁡V0Vsafet = RC \ln\frac{V_0}{V_{safe}}

With a 100 kΩ bleeder on 470 µF (τ=47\tau = 47 s), going from 400 V to 60 V (the DC limit of energy source class ES1 in IEC 62368-1) takes 47×ln⁡(400/60)=8947 \times \ln(400/60) = 89 s. That is a minute and a half. Practical rules:

  • Measure before you touch. Use a meter across the bulk capacitor every time, even if the bleeder "should" have discharged it.
  • Discharge through a resistor, never with a screwdriver short: the spark welds tips and the current spike can damage the capacitor.
  • Put a visible indicator (a lamp or LED with a resistor) across the high-voltage bus on prototypes.

Limit the energy that a fault can release

  • Current-limited supply. For the first power-up, set the bench supply's current limit just above the expected no-load input current. A short then trips the limit instead of burning a trace.
  • Enclosure or shield. Electrolytic capacitors and power semiconductors can explode. Run new boards behind a clear shield and wear safety glasses.
  • One hand rule and no jewellery around live high-voltage circuits.
  • Probes and leads rated for the voltage. Read the voltage rating and measurement category printed on each probe and lead.

2. Bring-up order: one stage at a time

The worst way to bring up a converter is to connect everything and switch on full power. If anything is wrong, you learn only that something is wrong, usually with smoke. Bring it up in steps so that each step tests one thing.

  1. Visual and resistance checks, unpowered. Look for solder bridges, wrong polarity on capacitors and diodes, rotated ICs. Measure resistance from each rail to ground: a near-zero reading is a short to find now.
  2. Auxiliary rails first. Power only the controller, gate-driver and bias supplies from a bench supply. Check each rail's voltage and current.
  3. Gate signals without power. With the power stage unpowered (or its input disconnected), check every gate waveform: frequency, duty cycle, dead time, amplitude, and that complementary gates never overlap. A shoot-through found here costs nothing.
  4. Low input voltage. Apply a fraction of the rated input (for example 10 to 20 %) through a current-limited supply, at light load. Check the switch node and the output.
  5. Raise the voltage in steps, watching input current, temperatures and the switch node at each step.
  6. Then load, in steps, then load steps and line steps to test the control loop.

Why a soft start matters

When a converter starts with its full duty cycle into an empty output capacitor, the LC filter rings: the inductor current and the output voltage overshoot. A soft start ramps the duty cycle (or the reference) up slowly instead.

The textbook buck example in Voltecx, buckIdeal, (48 V to 12 V, 5 A, 100 µH and 100 µF) shows the difference. The hard start applies its duty of 0.25 at once; the soft start ramps the duty from 0 to 0.25 over 1 ms.

The buck's output voltage v(out) and inductor current i(L1) in Voltecx, with a hard start (full duty at once) and a 1 ms soft start, both from an empty output capacitor.

Peak inductor current Peak output voltage
Hard start 13.6 A 18.1 V
1 ms soft start 6.7 A 12.9 V

The hard start pushes 13.6 A through an inductor meant for 5 A (it may saturate) and 18.1 V onto a 12 V output (it may damage the load or trip over-voltage protection). The soft start halves the current peak and keeps the overshoot under 1 V. On the bench, check the start-up at the lowest and highest input voltage and with no load and full load: the overshoot changes with all of them.

3. Probing the switch node: the ground lead rings

The intuition

A passive probe is not just a wire. Its tip has input capacitance, and the ground lead (the clip on a wire) has inductance. Together they form an LC circuit, and a fast switch-node edge rings it. The ring you see on the screen is in your probe, not in your converter.

The longer the ground lead, the larger its inductance. For a straight round wire of length ll and radius rr (in cm), Grover's low-frequency formula gives

L≈2 l[ln⁡(2lr)−0.75] nHL \approx 2\,l \left[\ln\left(\frac{2l}{r}\right) - 0.75\right]\ \text{nH}

A worked example

Take wire of 0.5 mm diameter (r=0.025r = 0.025 cm) and a probe with 10 pF of input capacitance:

Ground connection Inductance Ring frequency 1/(2πLC)1/(2\pi\sqrt{LC})
15 cm clip lead 190 nH 115 MHz
1 cm spring tip 7.3 nH 590 MHz

The simulation below drives that probe model with a clean 48 V edge rising in 5 ns. A 10 Ω resistor lumps the losses of the lead and tip; its exact value sets how fast the ring decays, not its frequency.

A 48 V switch-node edge v(sw) with a 5 ns rise, and what the probe shows with a 15 cm ground lead and with a 1 cm spring, simulated in Voltecx: 190 nH or 7.3 nH, 10 Ω and 10 pF.

With the long lead, the probe shows 71 V on an edge that never exceeds 48 V, ringing near 115 MHz for tens of nanoseconds. With the spring tip the overshoot is 49.8 V, about 4 %, and its ring is above the bandwidth of many probes. Same converter, same edge: one measurement would make you add a snubber and buy a higher-voltage MOSFET for nothing.

The fix

  • Shortest possible ground. Remove the clip lead and use the spring tip (or a probe-tip adapter soldered on the board) with its ground on a pad right next to the measured node.
  • Design the test points in. Put a ground pad beside every switch node and gate on the PCB, so the short ground is possible. design.debugAids in Voltecx adds test points on each switch node, each gate (with a ground pad on its source), VIN, VOUT and current shunts to the schematic.
  • Check the probe with the edge it measures. Touch the probe tip and its ground together to the ground of the switch node. You should see nothing; what you see is pick-up from the loop between the lead and the board.
  • Bandwidth. Your scope and probe need several times the bandwidth of the edge: for a rise time trt_r, the edge's content reaches about 0.35/tr0.35/t_r (70 MHz for 5 ns).

4. Differential versus single-ended probes

A standard passive probe measures between its tip and its ground, and its ground is the oscilloscope's earth. That is fine only when the reference point of the measurement is ground.

  • High-side gate voltage of a half bridge is referenced to the switch node, which jumps between 0 V and the bus voltage at every edge. A ground-referenced probe on it either shorts the switch node to earth through the scope or, with two probes subtracted in math, shows a large error from their mismatch.
  • High-voltage differential probes measure between two points that both move. Check their common-mode rejection at the switching frequency and its harmonics: the fast dv/dtdv/dt of the switch node appears as an error when rejection is poor.
  • Isolated probe systems (optically isolated front ends) give the best common-mode rejection for high-side gate measurements on GaN and SiC.
  • Deskew differential and current probes against each other before measuring power or switching energy (section 7).

5. Current probes and shunts

Measuring current is harder than measuring voltage. Three common ways:

Method Good for Watch out for
Clamp-on current probe (Hall plus transformer) Inductor and wire currents, DC to tens of MHz Its own insertion inductance, saturation, offset drift; degauss and zero it first
Rogowski coil Large pulsed currents, a flexible loop around a device leg No DC; limited low-frequency accuracy
Coaxial or SMD shunt Fast switch currents in the power loop It adds resistance and inductance to the loop; the voltage across it is millivolts

Each one changes the circuit a little. A current probe needs a wire loop to clamp around, and that loop adds inductance to the power loop, which raises the ringing you are trying to measure. Design a current loop into the prototype board where you need it: design.debugAids adds 0 Ω links between the source and the input and between the output and the load, which you lift to power one stage alone and to clamp a probe around a short wire.

6. Measuring efficiency correctly

Efficiency η=Pout/Pin\eta = P_{out}/P_{in} looks simple, but at high efficiency a small measurement error is a large error in the loss, and the loss is what you actually want to know.

Why it is sensitive

Suppose the converter is 95 % efficient and each power reading has a 0.5 % error. In the worst case the two errors push in opposite directions:

ηmin=0.95×0.9951.005=94.05 %,ηmax=0.95×1.0050.995=95.95 %\eta_{min} = 0.95 \times \frac{0.995}{1.005} = 94.05\ \%, \qquad \eta_{max} = 0.95 \times \frac{1.005}{0.995} = 95.95\ \%

The loss is 5 % of the input power, but the measurement says anything from 4.05 % to 5.95 %: a 19 % error in the loss from 0.5 % meters.

How to do it right

  • Four-wire (Kelvin) voltage sensing. Measure the input and output voltages at the converter's terminals, not at the supply or the load, so the drop in the cables is not counted as converter loss.
  • DC meters on DC quantities. The input current of a buck is pulsed; measure it after the input capacitor, or with a power analyser that integrates over whole periods. An oscilloscope with a current probe has percent-level DC accuracy at best.
  • Wait for thermal steady state. A MOSFET's on-resistance rises with temperature, so the efficiency drops as the board warms up. Read it after the temperatures stop changing, which can take many minutes on a heatsink.
  • Record the conditions: input voltage, output current, ambient temperature, airflow, the time since power-up.
  • Cross-check with temperature. If you know the thermal resistance, a device's temperature rise gives an independent estimate of its loss.

The same rule as in simulation applies to any average or RMS value: use whole switching periods (or whole line cycles for an AC input). The simulation checklist shows an 18 % RMS error from a window of 1.5 periods.

7. Thermal checks

  • Thermocouples glued to the device case or tab with thermal adhesive, the wire leads run away from the switch node (they pick up noise and can be at switch-node potential).
  • Thermal cameras are fast and show hot spots you did not expect, but they read emissivity: shiny metal and glossy packages read cold. Put a piece of matt tape or a dot of matt paint on the spot you measure.
  • Worst case. Test at the lowest input voltage (highest current) and the highest ambient temperature you specify, at full load, in the final enclosure or airflow.
  • Leave margin. Compare the estimated junction temperature, case temperature plus loss times junction-to-case thermal resistance, with the device's maximum from its data sheet.

8. The double-pulse test

To know a transistor's switching losses in your circuit (your gate driver, your layout), measure them with a double-pulse test. It is the clamped inductive switching test that data sheets use.

How it works

A half bridge with an inductor across the upper device. The upper switch is held off; its diode (or body diode) freewheels the inductor current.

  1. First pulse: the lower device (the device under test) turns on and the inductor current ramps up: I=V t1/LI = V\,t_1/L.
  2. Turn-off: at the test current the device turns off. You measure EoffE_{off} here.
  3. Short gap: the current freewheels in the upper diode, almost constant.
  4. Second pulse: the device turns on again at the same current. You measure EonE_{on}, including the reverse recovery of the upper diode.

Because the test lasts microseconds, the device stays cold and you can test at full current and voltage without a heatsink.

The doublePulse example in Voltecx is this bench with a SiC MOSFET from the device library at 400 V. The first pulse is 4.95 µs long with a 99 µH inductor:

I=V t1L=400 V×4.95 μs99 μH=20 AI = \frac{V\, t_1}{L} = \frac{400\ \text{V} \times 4.95\ \mu\text{s}}{99\ \mu\text{H}} = 20\ \text{A}

The simulated current at turn-off is 20.2 A.

The double-pulse test in Voltecx: the gate command gl, the drain voltage v(dd) and the drain current i(Id) of the device under test over both pulses.

The turn-off edge of the double-pulse test at 20 A and 400 V in Voltecx: the drain voltage v(dd) and current i(Id).

In the run, the drain voltage overshoots to 412 V at turn-off, and at turn-on the current peaks at 36.7 A as the upper body diode recovers. The switching energies are 38 µJ at turn-off and 289 µJ at turn-on.

What to watch out for

  • Probe deskew. Switching energy is the integral of v⋅iv \cdot i over the edge. A time offset between the voltage and current probes shifts that product. At 400 V and 20 A, a 1 ns skew moves the energy by up to 400×20×1 ns=8 μJ400 \times 20 \times 1\ \text{ns} = 8\ \mu\text{J}, which is 21 % of the 38 µJ turn-off energy. Deskew with a fixture before you measure.
  • Current sensing in the loop. A coaxial shunt or a Rogowski coil on the device leg; whatever you insert adds loop inductance and changes the overshoot.
  • The inductor. It must not saturate at the test current, and its winding capacitance should be small, or it adds a current spike at every edge.
  • Overshoot margin. The turn-off overshoot (412 V on a 400 V bus here, more on a real layout) must stay well inside the device's rating.
  • Gate-voltage measurement. Measure the gate between gate and source at the package (Kelvin source if there is one), with a short ground.

9. Load steps show the loop's real margins

A load step is the quickest test of the control loop on the bench: switch an electronic load between two currents and watch the output voltage. It shows what the Bode plot predicts, and sometimes what it hides.

The buckClosedLoop example in Voltecx, with two compensators from design.voltageLoop, steps from 5 A to 7.5 A at 1 A/µs and back 4 ms later:

Compensator Crossover Phase margin Gain margin Lowest output Back within ±2 %
PI 685 Hz 86° 2.6 dB 9.86 V not within 4 ms
Type III 5.78 kHz 60° 13.8 dB 11.46 V 0.12 ms

The output voltage v(out) of buckClosedLoop in Voltecx with a PI and with a Type III compensator, as an electronic load i(Iload) adds 2.5 A at 4 ms and removes it at 8 ms.

The PI has a large phase margin, 86°, but only 2.6 dB of gain margin: at the LC filter's resonance the loop gain comes close to 1 again. The load step rings at that resonance, swinging from 9.86 V to 14.07 V, and is still outside ±2 % when the load is released. The Type III compensator crosses higher with more gain margin: the output dips to 11.46 V and recovers in 0.12 ms.

On the bench:

  • Use a load with a controlled slew rate and note it: a faster step gives a deeper dip.
  • Trigger on the load current and measure the output at the converter's terminals with a short ground.
  • Step at the corners: lowest and highest input, light and full load. Margins change with all of them.
  • A ringing step means a small margin somewhere, even if one margin looks large. Measure the loop gain if you can (an injection resistor in the feedback path, which design.debugAids adds with a test point on each side).

10. What to log

A measurement you cannot reproduce is not worth much. For every capture, record:

  • Conditions: input voltage, load current, ambient temperature, airflow, time since power-up, board serial and revision, any rework.
  • Setup: probe type and attenuation, ground connection (spring or lead), bandwidth limit, deskew values, current probe range.
  • Data, not screenshots only: save the scope capture as a CSV file as well as the picture.

With the CSV you can compare the bench with the simulation. In Voltecx, file.importMeasurement reads a scope export and overlays it on the simulated signals, waveform.compare gives the RMS error and the difference in rise and settling times, and analysis.diagnoseWaveforms runs its fault checks (ringing, inrush, sub-harmonic oscillation, overlapping gates) on the measurement. If the ringing on the bench is at a different frequency from the simulation, design.debugAids takes the measured ring frequency (ringHz) to work out the real loop inductance, and debug.fitToMeasurement adjusts chosen parameters until the simulation matches the capture.

A bench checklist

  • Isolation transformer for offline units; never float the scope.
  • Measure the bulk capacitor voltage before touching anything.
  • Current-limited supply for the first power-up; shield and glasses.
  • Bring up auxiliary rails, then gates without power, then low voltage, then load.
  • Spring ground on the switch node; differential or isolated probe for high-side signals.
  • Deskew probes before measuring power or switching energy.
  • Kelvin voltage sensing and thermal steady state for efficiency.
  • Save CSVs with the conditions.

The formulas come from standard texts: F. W. Grover, Inductance Calculations, for the wire inductance; R. W. Erickson and D. Maksimović, Fundamentals of Power Electronics, 3rd ed., for the buck and its control loop. The ES1 limit is from IEC 62368-1. The double-pulse example's device data cite the Wolfspeed C3M0065090D data sheet.

Try it in Voltecx

  • design.testPlan writes the production test procedure of a design: each step with its condition and its limit, the source of each limit, and the equipment with the range each instrument must reach (the DC source's voltage and current, the electronic load's current). It exports the steps as CSV.
  • design.debugAids adds test points, 0 Ω links, a loop-injection resistor, DNP snubber and bulk-capacitor footprints to the schematic as a proposal you accept, and returns bring-up steps.
  • testbench.list and testbench.run simulate the start-up, load steps, hold-up and inrush cases of a specification before you build anything.
  • Open the doublePulse example to see the test above; analysis.losses gives the switching energy of each device.

More on the debugging and scope and design tools pages.