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

A double-pulse test measures a transistor's switching energy by switching it twice into an inductive load: the first gate pulse ramps the inductor to the test current, the device turns off there (Eoff), the current freewheels for a moment, and the second pulse turns it on at the same current (Eon). Each energy is ∫vDS iD dt\int v_{DS}\, i_D\, dt over the edge. In Voltecx's doublePulse example, a Wolfspeed C3M0065090D SiC MOSFET at 400 V and 20 A gives Eoff = 44.9 µJ and Eon = 273 µJ, against 44.2 µJ and 239.8 µJ on the data sheet's Fig. 24; the turn-on is 14 % high because it includes the upper body diode's reverse recovery, modelled with the data sheet's 150 °C charge.

This article explains the test from the circuit up: why it looks the way it does, how to pick the inductance and the pulse widths, where to start and stop the integrals, what Eon really contains, and why a few nanohenries of common-source inductance move the result more than the gate resistor does. Every number comes from a run of the example, and the runs are checked by a test in the Voltecx source.

Why switching energy needs its own test

A transistor in a hard-switched converter loses energy every time it turns on or off, because for a few tens of nanoseconds it carries current and blocks voltage at the same time. The power is

Psw=(Eon+Eoff) fswP_{sw} = (E_{on} + E_{off})\, f_{sw}

and at 100 kHz the 273 µJ and 44.9 µJ above are already 31.8 W, more than the conduction loss of the same part at 20 A. So the switching energy at the operating point matters, and the data sheet only gives it at one set of conditions: one voltage, one gate resistor, one gate voltage, one freewheeling diode, one layout.

You cannot get these energies from a running converter easily: the edges come every period, the heatsink warms, and you cannot separate the turn-on from the turn-off. The double-pulse test switches the device twice, at a known voltage and current, in a few microseconds, so the junction stays at the temperature it started at.

The textbook picture is the clamped inductive switching of Mohan, Undeland and Robbins (Power Electronics: Converters, Applications, and Design, 3rd ed., chapter 2): with linear voltage and current ramps the energy per transition is about 12VdIotc\frac{1}{2} V_d I_o t_c, where tct_c is the crossover time. Erickson and Maksimović (Fundamentals of Power Electronics, 3rd ed., chapter 4) add the two pieces that this picture leaves out: the reverse-recovery charge of the diode and the energy stored in the device capacitances, both of which the transistor pays for at turn-on.

The bench

The doublePulse example in Voltecx: the 400 V supply, the upper C3M0065090D (Q1) held off with the 99 µH load inductor across it, the ammeter Id and the device under test Q2. Gate commands reach the transistors by the labels gh and gl.

The circuit is a half bridge with the load inductor across the upper device (Wolfspeed C3M0065090D data sheet, Rev. 08, Fig. 30, "Clamped Inductive Switching Waveform Test Circuit"):

  • Q2, the device under test, is the lower switch. Its gate gets the two pulses.
  • Q1, the same part, is held off at −4 V. Its body diode carries the inductor current while Q2 is off, exactly as the free-wheeling diode in a real half bridge would.
  • L1 is the load. It is large enough that its current hardly changes during an edge, so each edge switches a constant current, which is what "clamped inductive" means.
  • Id measures the drain current at the drain terminal, and v(dd) is the drain-source voltage. These two are what the data sheet integrates.

The example uses the dynamic MOSFET level with the gate charge, threshold, plateau and capacitance curves from the device library (data sheet Fig. 12, 17 and 18 and the Electrical Characteristics table), at the data sheet's test conditions: 400 V, 20 A, VGSV_{GS} = −4 V/15 V, RG(ext)R_{G(ext)} = 2.5 Ω, L = 99 µH. The body diode's recovery charge (185 nC) and time (28 ns) are the data sheet's, which gives them only at 150 °C. The 5 nH of common-source inductance is not a data-sheet value: it was chosen so the bench reproduces the data sheet's turn-off delay and fall time (Fig. 27).

Choosing L and the pulse widths

The first pulse decides the test current. With the supply VV across the inductor for t1t_1:

Itest=V t1L⇒t1=L ItestV=99 μH×20 A400 V=4.95 μsI_{test} = \frac{V\, t_1}{L} \quad\Rightarrow\quad t_1 = \frac{L\, I_{test}}{V} = \frac{99\,\mu\text{H} \times 20\ \text{A}}{400\ \text{V}} = 4.95\ \mu\text{s}

That is the example's first pulse, from 0.3 µs to 5.25 µs. The simulation reaches 20.2 A at the turn-off.

The inductance is a compromise:

  • Large enough that the current is flat during each edge and during the second pulse. The second pulse lasts 0.5 µs and adds Vt2/L=400×0.5 μ/99 μ=2.02V t_2 / L = 400 \times 0.5\,\mu / 99\,\mu = 2.02 A, so the turn-on and the next turn-off are 10 % apart in current. That is fine for a turn-on measurement; a much smaller inductor would make the second pulse too short to settle.
  • Small enough that the first pulse is short (a few microseconds), so the device does not heat during it, and the inductor does not need to store more energy than necessary.
  • Low capacitance: an inductor's winding capacitance sits across the device under test and adds to its output capacitance. A single-layer air-core coil is the usual bench choice.

The gap between the pulses (1 µs here) must be long enough for the turn-off ringing to die out, and short enough that the freewheeling current does not decay. During the gap the inductor sees only the body-diode drop, 5.18 V at 20 A (the device library's 25 °C body-diode curve, read from data sheet Fig. 9 and 10 at −4 V), so it loses 5.18×1 μ/99 μ=0.055.18 \times 1\,\mu / 99\,\mu = 0.05 A.

To test at another current, change t1t_1 or LL. The Voltecx test sweeps LL at the same gate pattern (L=Vt1/IL = V t_1 / I) to test from 5.5 A to 30 A.

The whole double-pulse run: the drain voltage v(dd), the drain current i(Id) and the inductor current i(L1), and the gate command gl. The first pulse ramps the current to 20 A, the turn-off at 5.25 µs hands it to Q1's body diode, and the second pulse at 6.25 µs takes it back.

The turn-off: Eoff

At 5.25 µs the gate command falls. Nothing happens for about 14 ns (the turn-off delay, while the gate discharges to the plateau), then the drain voltage rises at constant current until it passes the supply and Q1's body diode takes the current, and only then does Q2's current fall. The drain overshoots to 412 V: the current's fall rate times the loop inductance.

Integrated from the gate command until the drain current is below 2 % of the test current, the energy is Eoff = 44.9 µJ, collected in 33 ns. The data sheet's Fig. 24 gives 44.2 µJ at 20 A and 25 °C: 1.5 % apart.

Part of Eoff is not lost in the channel at all. The output capacitance charges to 400 V during the turn-off and keeps that energy until the next turn-on, where the channel discharges it. A data-sheet Eoff measured at the terminals includes the energy put into CossC_{oss}; that energy reappears in Eon. This is why Eoff of a fast SiC device is so small: the channel turns off before the voltage has risen much, and the rest of the edge is the load current charging the capacitance.

The turn-on: Eon, and what it contains

At 6.25 µs the gate rises again. After the turn-on delay the drain current rises, and it overshoots the load current: it goes up to 36.7 A before the voltage falls. The extra 16.7 A is the reverse-recovery current of Q1's body diode plus the current that charges Q1's output capacitance and discharges Q2's own. Only when the diode has recovered can the drain voltage fall.

The turn-on at 6.25 µs (0 ns): the drain voltage, the drain current and their product. The integral runs from the gate command to the moment the drain is below 2 % of the supply (the second marker, 35 ns). The current overshoot is the body diode's recovery and the output capacitances.

Integrated from the gate command until the drain voltage is below 2 % of the supply, Eon = 273 µJ, in 35 ns. Fig. 24 gives 239.8 µJ at 20 A; the Electrical Characteristics table gives 250 µJ at 150 °C. The simulation is 14 % above the 25 °C curve.

The difference is the recovery. The example gives the body diode the data sheet's recovery charge, 185 nC, which the data sheet lists only at 150 °C. A silicon carbide body diode has little stored charge at 25 °C; much of what is measured is capacitive and grows with temperature. A rough upper bound for what the recovery adds is QrrV=185 nC×400 V=74Q_{rr} V = 185\ \text{nC} \times 400\ \text{V} = 74 µJ. The test confirms it: with the recovery charge set to zero, Eon falls to 148 µJ at 20 A, and the data sheet's 239.8 µJ lies between the two runs. Eon is a property of the pair, the transistor and the diode it commutates against. A data sheet that measures with the body diode of the same part gives you a number for that pairing; with a separate SiC Schottky diode, or a silicon diode, the same transistor has a different Eon.

The integration window

The energy is an integral, so its limits matter. Typical limits start at the gate edge (10 % of the gate voltage, or the gate command in a simulation) and end when the edge is over: for Eon when the drain voltage is down to a few percent of the supply, for Eoff when the drain current is down to a few percent of the test current. The IGBT standard IEC 60747-9 uses 2 % end points of this kind, and many MOSFET data sheets follow similar rules; read the definition in the data sheet you compare with.

The bench shows how much the window moves the number:

  • Ending the turn-on at 10 % of the supply instead of 2 % gives 272.4 µJ instead of 273 µJ. The tail is small here because the SiC device's voltage falls fast.
  • A fixed 300 ns window over the energy signal E(Q2) gives 289 µJ: it adds the conduction loss of the next 265 ns, I2RDS(on)I^2 R_{DS(on)} for every nanosecond after the edge.

So a fixed window too long counts conduction as switching, and a window too short misses the tail. Use the same limits as the data sheet when you compare, and in a loss budget make sure the conduction loss is not counted twice.

Eon and Eoff against the test current

Sweeping the test current with the inductance and comparing with Fig. 24 at 400 V:

Test current Eon, Voltecx Eon, Fig. 24 Eoff, Voltecx Eoff, Fig. 24
5.5 A 115.3 µJ 62.0 µJ 9.42 µJ 8.7 µJ
10 A 153.5 µJ 102.0 µJ 11.66 µJ 10.9 µJ
15 A 205.9 µJ 162.0 µJ 26.2 µJ 22.0 µJ
20 A 273.1 µJ 239.8 µJ 44.9 µJ 44.2 µJ
30 A 467.4 µJ 444.3 µJ 91.1 µJ 124.2 µJ

Eon and Eoff against the test current: the C3M0065090D data sheet's Fig. 24 at 400 V and 25 °C, and Voltecx runs of the doublePulse example at the same gate pattern with L set for each current.

The shape is right, but the agreement is not uniform, and it is worth saying why:

  • Eon at low current is too high: 86 % at 5.5 A, 14 % at 20 A, 5 % at 30 A. The recovery charge is a fixed 185 nC in the model, so the energy it adds is the same at every current and weighs most at low current. Without it Eon at 5.5 A is 42.1 µJ, below the data sheet's 62.0 µJ; again the data sheet lies between.
  • Eoff at 30 A is 27 % low. The gate model's channel turns off faster at high current than the real device does. Up to 20 A, Eoff is within 20 %.

This is the honest state of a device model built from a data sheet: it reproduces the conditions it was fitted at, and the further you go from them, the more you should check it against the data sheet's curves, as this sweep does.

Gate resistance and common-source inductance

The test's main use in design is to see what the gate drive and the layout do to the losses. The bench makes both easy to sweep.

Gate resistance. Raising the external gate resistor of Q2 slows both edges:

RG(ext)R_{G(ext)} Eon Eoff
2.5 Ω 273.1 µJ 44.9 µJ
5 Ω 285.6 µJ 55.3 µJ
10 Ω 303.6 µJ 76.4 µJ
20 Ω 343.7 µJ 119.4 µJ

Eon and Eoff of the doublePulse example against the external gate resistance of Q2 (on and off), at 400 V and 20 A.

Eoff nearly triples from 2.5 Ω to 20 Ω; Eon rises 26 %. Eon depends less on the gate resistor because much of it is the recovery and the capacitance energy, which the gate does not control. A larger resistor buys a slower dv/dt (less EMI and less overshoot) at the cost of loss, which is the usual reason for separate turn-on and turn-off resistors.

Common-source inductance. The source lead of a TO-247-3 package carries both the power current and the gate return. When the drain current rises at turn-on, Lcs di/dtL_{cs}\, di/dt appears in the gate loop and subtracts from the gate drive; at turn-off it does the opposite and keeps the gate up. Both slow the edge. The sweep:

LcsL_{cs} Eon Eoff
0 nH 184.8 µJ 15.7 µJ
2 nH 221.3 µJ 26.5 µJ
5 nH (the example) 273.1 µJ 44.9 µJ
10 nH 356.2 µJ 78.0 µJ

Eon and Eoff against the common-source inductance of Q2, at 400 V, 20 A and 2.5 Ω.

Five nanohenries, roughly the source lead of a through-hole package, costs more than going from a 2.5 Ω to a 10 Ω gate resistor: Eon rises from 184.8 µJ to 273.1 µJ and Eoff almost triples. This is why fast SiC and GaN parts come in packages with a separate Kelvin source pin for the gate return, and why the gate return must be routed to that pin. JEDEC JEP187 (JC-70.2, 2021) describes how this and other parts of the measurement setup change the measured losses of SiC MOSFETs.

Common mistakes

  • Comparing energies measured with different windows. A fixed long window counts conduction loss; a window that ends at 10 % misses the tail of a slow device.
  • Ignoring the freewheeling diode. Eon is the transistor and the diode together. Change the diode and you change Eon.
  • Probing the voltage across more than the device. A probe that includes the source lead or a shunt adds L di/dtL\,di/dt to the voltage and bends the energy. Voltecx's v(dd) is the device's own terminal voltage.
  • Using the 25 °C curve at 125 °C, or the reverse. The recovery charge of a body diode grows with temperature; so does Eon.
  • Forgetting the layout. The data sheet's numbers come from its own board. Your common-source inductance and loop inductance are different.

How to do it in Voltecx

  1. Open File › Open Example › doublePulse (Basics) (file.openExample, {"name":"doublePulse"}) and run it (Simulation › Run Simulation, simulation.run). The run takes 6.8 µs on a variable step (at most 10 ns, at least 1 ps), which shortens itself through every edge; the solver is the fast one.
  2. Put v(dd), i(Id) and E(Q2) on the scope. Scope › Measurements (scope.measure) with t0 and t1 around an edge gives the energy as the rise of E(Q2); for a data-sheet window, export the two traces (waveform.get) and integrate v⋅iv \cdot i between your limits, as the test behind this article does.
  3. Change the test current with L1's inductance, the gate resistor with Q2's rgon (and rgoff), the common-source inductance with lcs, and the recovery with Q1's qrr and trr (Circuit › Parameters, circuit.setParam).
  4. Sweep any of them with Analysis › Parameter Sweep (analysis.paramSweep), measuring E(Q2) with max and min in a window.
  5. Set Simulation › Settings (simulation.settings) fidelity to ideal to see the same bench with ideal switches: no recovery, no overshoot and no switching energy, which is what an ideal switch hides.

The numbers here are checked by the tests the_double_pulse_post_energies_and_windows_match_the_simulation, the_double_pulse_post_energy_against_current_follows_the_data_sheet_curve and the_double_pulse_post_gate_resistance_and_source_inductance_move_the_energies in crates/engine/src/auto/tests_blog.rs. For what to do with the energies once you have them, see MOSFET loss and junction temperature estimation.

Frequently asked questions

Why two pulses and not one?

The first pulse only builds up the current; its turn-on happens at zero current and says nothing. The turn-off at the end of the first pulse and the turn-on at the start of the second are the two edges at the test current. Two pulses are the shortest sequence that gives both, and they are short enough that the junction does not heat.

How do I choose the inductance for a double-pulse test?

Pick the first pulse length you want (a few microseconds) and set L=Vt1/ItestL = V t_1 / I_{test}. Check that the second pulse adds only a few percent to the current (Vt2/LV t_2 / L), and use a coil with little winding capacitance. The example uses 99 µH and 4.95 µs for 20 A at 400 V.

Does Eon include the diode's reverse recovery?

Yes. The recovery current flows through the transistor while it still blocks most of the voltage, so the transistor dissipates the energy. In this bench, removing the recovery charge lowers Eon at 20 A from 273 µJ to 148 µJ. That is why the data sheet names the diode it tested with.

Why is my measured Eon higher than the data sheet's?

Common causes: a longer integration window, a different freewheeling diode, a higher temperature, a higher gate resistance, or more common-source inductance. In the example, 5 nH of common-source inductance alone adds 88 µJ to Eon compared with a Kelvin connection.

Can I use the double-pulse result for a converter's loss?

Yes, at the same voltage, current, gate drive, temperature and diode: Psw=(Eon+Eoff)fswP_{sw} = (E_{on} + E_{off}) f_{sw}. Scale the energy with voltage and current only near the test point, and prefer a measurement or a simulation at your own conditions.