
In Voltecx the losses and the temperatures are solved together. Each switch and diode reads its conduction and switching loss from its data-sheet tables at the present current, voltage and junction temperature, and puts that heat into a thermal network drawn on the same schematic. The junction temperature then feeds back into the on-resistance and the loss tables on the next step. This page shows how to set up that loop, read it, start it warm and choose the cooling. Models and parts lists the thermal parts themselves. Items marked in the next release are merged for the next beta and are not in Voltecx 0.9.0 yet.
The thermal path on the schematic
A device heats a thermal net: set its thermal parameter to a net name such as tj or hs. Everything from there to the air is drawn with thermal parts: rth and cth, an ambient at a fixed temperature, a data sheet's Foster table (foster), points read off its Zth(t) curve and fitted to a Foster chain (zth), a Cauer ladder (cauer) and a catalogue heatsink.
The two network forms behave differently, and Voltecx uses each where it is right. A Foster chain is how data sheets publish Zth(t), but its inner nodes have no physical meaning, so it adds exactly only into a side that stores no heat, such as an ambient or a heatsink without a heat capacity. Into a side that stores heat (a cth, a Cauer ladder or a device's junction ladder) it becomes the equivalent Cauer ladder, as a device's own junction-to-case chain does, so the case and the heatsink do not heat up at the first step. form forces one or the other. None of these parts has a starting value: a part without its data-sheet numbers stops the build and names what is missing.
Losses from the data sheet
A library device carries its output characteristic and its turn-on, turn-off and reverse-recovery energies over voltage, current and temperature, each value cited to its data sheet. The inverter3Thermal example embeds such tables for a 1200 V, 50 A class IGBT and its diode (illustrative values, not a real part) so the file simulates the same everywhere.
analysis.losses (Analysis › Losses) gives each switch and diode's average loss over a window you choose, split into conduction and switching energy. The split is what tells you which change helps: a conduction-dominated device wants a lower on-resistance or more devices in parallel, a switching-dominated one wants a lower frequency or faster edges, and a device whose loss is low but runs hot wants a better thermal path. By default the switching energies count toward the loss totals only; Draw switching loss in the simulation settings (switchingLossFromCircuit) makes each switching event take its energy from the circuit, so the terminal powers and the efficiency include it.
Where the watts go: the loss chart
In the next release. Analysis › Loss Chart (analysis.lossChart) draws the full-load loss budget as a Sankey: the output runs straight across the top, and the losses leave the input in one lane per kind (conduction, switching, gate drive, winding copper, core, capacitor ESR, and the rest no part explains) before fanning out to the parts. Under it, one stacked bar per part, largest first. It runs design.efficiency itself, so no simulation is needed first.
On the buck example 57.4 W goes in and 55.0 W comes out (95.70 %). Of the 2.47 W lost, D1 takes 2.43 W in conduction, S1 34.5 mW and C1 1.83 mW. Every watt on the chart is a number of the loss table, never scaled or rounded away. A budget whose input misses the output plus the losses by more than 0.5 %, or a loss that is not a finite, non-negative number, is refused by name instead of drawn. The same chart is loss-chart.svg in the design summary folder, and format gives it as SVG, PNG or JSON. More in the manual: the loss chart.
Junction temperatures and their limits
analysis.thermal (Analysis › Thermal) lists every recorded temperature T(…) of the last run with its final, highest and lowest value.
In the next release. every switch kind has a tjMax parameter (°C), and 146 of the 150 vendor devices in the library carry the data sheet's maximum junction temperature, each with the table and row it came from. For the Infineon IGBT modules it is Tvj op, the temperature allowed under switching conditions (150 °C or 175 °C by series). Both solvers watch every junction that has a limit after each accepted step. A junction that passes its limit:
- adds a warning to the run that names the part, the peak, the limit and where the limit came from, and the first crossing time, found within the step;
- adds
limit,limitFrom,marginK,passandcrossedAtto its row ofanalysis.thermal, and the result window draws a failing row in red; - shows as the problem
thermal.overTemperaturein the Problems tab for as long as the result belongs to the circuit as it is; - ends the run at the first crossing when Stop when too hot (
stopOnOverTemperature) is on in Properties › Simulation.
Start warm, not cold
Every thermal node starts at ambient by default. A heatsink takes seconds to minutes to warm up, while a converter run lasts milliseconds, so a short run shows only the fast rise of the die. In inverter3Thermal the heatsink's time constant is 15 s, and in its 0.1 s run the heatsink rises by 0.1 K.
In the next release. thermalStart in simulation.settings (from a script or the CLI; the desktop panel has no control for it yet) sets where the network starts:
ambient(the default): every node at ambient, as before.steady: a pre-run finds the electrical steady state with the temperatures held, measures each loss source's average heat, and solves the network's DC steady state with it. Because the losses depend on the temperature, it repeats up to 5 rounds, until no node moves by 0.1 K. The run itself then starts at t = 0 at those temperatures, and its reply says how many rounds it took and the last round's largest change (residualK).- a map such as
{"Q1.j": 95, "hs": 80}: those nodes start at those temperatures.
On the buckThermal example (48 V to 12 V at 5 A, 100 kHz) at an 85 °C ambient, with tjMax 125 °C on Q1, a 2 ms run from ambient reads Q1's junction at 89.8 °C, a 35.2 K margin that looks comfortable and is wrong. With thermalStart: "steady" the same run starts after 2 rounds (residualK 0.015) and reads 105.5 °C, a 19.5 K margin. analysis.losses puts Q1 at 13.7 W, almost all of it switching (27.0 mJ against 0.35 mJ of conduction over the run), so the fix is the frequency: at 50 kHz Q1 dissipates 7.1 W and peaks at 95.6 °C, a 29.4 K margin.
For a long run, thermalStep (Properties › Simulation › Thermal step) steps the thermal network on its own slower grid with the average device power, while the circuit keeps its own step. About a tenth of the fastest thermal time constant (50u for inverter3Thermal) stays within 1 % of the single-rate run.
Paralleled devices and data checks
In the next release. one switch, diode or MOSFET can stand for N identical devices (nParallel, 1 to 1024). The current is shared, the losses add up, and the junction chain of a library device becomes one device's Zth,jc over N, so the junction node reads one device's temperature while the case gets the total heat. Two IGBTs of 0.5 K/W on a case-to-ambient path of 2.0 K/W, dissipating 10 W in all, run each junction at ambient + 10 W × (0.5/2 + 2.0) K/W, which is 22.5 K above ambient. Sharing is assumed ideal: no spread of threshold, on-resistance or layout between the devices.
The Problems tab also checks the thermal data you type in: a Foster table whose time constants do not rise, a Zth curve whose times do not rise or whose impedance falls, a fit that misses its curve by more than 5 % of its largest impedance, and lists of different length or with a value that is not positive. Where it can repair one without inventing a value, it offers a one-click fix: sort the stages, sort and flatten the curve, or fit with more terms.
Pick the cooling and put it on the schematic
design.thermal (Design › Design Steps › Thermal) runs one simulation for the losses and gives every switch and diode's junction temperature at your hottest ambient against tjMax (125 °C unless you say otherwise), with the thermal resistances taken from the circuit's own network when it has one. It then picks the cooling from cited catalogues: for each TO-220 or TO-247 device the lightest heatsink that keeps the junction at or below the limit, read at the airflow you give, with the interface pad of lowest resistance; for each SMD device the smallest copper area its data sheet rates it on that is enough. A device without a package or thermal data is named in the notes, never guessed, and a failing result names the heatsink resistance that would pass.
thermal.placeHeatsink (Design › Design Steps › Place Heatsink) then places the chosen heatsink as a heatsink part, with the data sheet's sink-to-ambient resistance at the heat it carries and the airflow, and an ambient part if you ask, in one undo step. The catalogue holds 11 heatsinks from Same Sky and Ohmite, each with its data sheet and revision. Their data sheets give no heat capacity, so a placed heatsink has none: add a cth from the data sheet when it gives one, if you want to see the warm-up.
On a circuit with no thermal network yet, design.thermal with Apply (apply: true) writes everything it picked in one undo step: each device's thermal net and junction-to-case path (its data sheet's chain when the part has one), the pad and heatsink or the board copper, one ambient part, and a steady thermal start. The next simulation then records every junction temperature. A device with no pick is listed, and a circuit that already has a thermal network is left as it is.
On the board: copper, vias and the hot spot
In the next release. Once the circuit has a board, board.thermal (from a script, the CLI or the assistant; it has no menu item yet) solves the temperatures of the board itself. It turns the copper, the vias, the stack-up and the outline into a grid of square cells, puts each part's loss from the last run into the cell under its largest pad, and cools each face to the ambient through a heat-transfer coefficient you give. The reply gives every part's case and junction temperature, the hottest cell and the rise of every cell on every layer. It changes nothing on the board, so you can widen a pour, add thermal vias and call it again to see what the change bought.
- Copper heats too. With
copperHeat, the DC current of the power nets you name is solved over their copper, as the IR-drop check does, and each cell's I²R loss goes in as heat on its own layer. A narrow neck in a high-current pour shows up as its own hot spot. In the Board window, Board temperature draws the map with the copper's heat already in it: the nets the Current density overlay solved, else every net the run carries current through. Under the scale it says how many watts the copper adds, and the conductor with the worst rise is outlined in red. - Every track and via. The same call lists each track, arc and via of those nets with its current and two rises side by side: the IPC-2221 §6.2 conductor formula, flagged as IPC-2221 because the IPC-2152 charts are not shipped yet, and the hottest board cell along it, which includes the parts' heat. With
transientin the same call, each also gets its peak board rise during the transient and when it was reached, so an overload pulse shows how hot a track ran even after it has cooled. Addtransient.conductorRises: trueand each one also gets its whole curve,transientRiseK: its board rise at every recorded time of the transient, ready to plot a track's warm-up during a startup. - Hot copper heats more. The copper's resistance is taken at the ambient unless you add
copperHeat.coupled: true. Then each cell's heat follows its own temperature, 0.393 % per kelvin at 20 °C (IEC 60028), in the steady map and step by step in the transient. If the copper makes heat faster than the board sheds it, the call is refused as thermal runaway instead of returning a temperature. - Startup and pulses.
transientsteps the same grid in time, so the copper stores heat: the planes and traces, and each via's barrel, half to each layer it joins; withfollowRuneach part's loss follows its own loss waveform from the run, and the copper heat follows its net's current, so a startup or an overload pulse heats the board as it heated the parts. - Junctions follow their Zth,jc. In the transient, a part whose library device carries its data sheet's junction-to-case Foster chain, or a
lossesentry withzthJc, has its junction follow that chain above the case, so a pulse shorter than the package's time constants no longer lifts the junction by the whole loss × Rjc at once. A part without a chain, or with one the CSV import made up from Rth,jc alone, keeps loss × Rjc above its case and is named in the reply.
Nothing is filled in for you: a layer without a thickness or copper weight, or a dielectric without a thickness, is refused by name, and the laminate's heat capacity comes from its data sheet or the transient warms faster than the board would. More in the manual: board temperatures and DC IR drop.
Examples to open
- File › Open Example › DC-DC › Buck converter with thermal model (
buckThermal): the MOSFET's losses heat its junction through 1.5 K/W to a heatsink held at the ambient's temperature; the run above. - File › Open Example › Inverters › Three-phase inverter with current control and thermal model (
inverter3Thermal): a 600 V, 10 kHz IGBT inverter with dq current control, every IGBT and diode on a Foster junction-to-case chain and one shared heatsink of 0.15 K/W and 100 J/K. - File › Open Example › Power quality › NTC heatsink temperature sensor (
ntcHeatsink): a diode heats a heatsink by 8 W, and an NTC on the heatsink lowers a divider voltage as it warms to 41 °C, the signal an over-temperature protection reads.
With an assistant
In the next release. the built-in assistant has a thermal skill. Ask it for a thermal check: it checks that every power device has a thermal path and says where each value came from, runs the worst corner with a steady start, reads analysis.thermal, analysis.losses and analysis.stress, and proposes the fix the loss split points to, changing one thing at a time, until every junction keeps 25 K of margin at every corner, or the spec's own margin. It proposes; you decide what changes in the circuit. The AI assistant.
From a script
The buckThermal run above, from the command line (with a version that has tjMax and thermalStart):
powercraft-cli run --cmd file.openExample --params '{"name": "buckThermal"}' \
--cmd circuit.setParam --params '{"component": "Q1", "key": "tjMax", "value": 125}' \
--cmd circuit.setParam --params '{"component": "Amb", "key": "t", "value": 85}' \
--cmd simulation.settings --params '{"tEnd": 0.002, "thermalStart": "steady"}' \
--cmd simulation.run --params '{}' \
--cmd analysis.thermal --params '{}' \
--cmd analysis.losses --params '{}'
Know the limits
A junction temperature is only as good as its losses and its thermal path. The circuit's thermal network leaves out heat spreading in the board and neighbouring parts heating each other; board.thermal adds both once there is a layout. Neither models the enclosure or the data-sheet spread of thermal resistance. A placed heatsink's resistance is read once, at the heat you give, and stays fixed during the run. No model here has been compared with a measured board yet. The thermal parts and the thermal commands are in the Thermal licence module; see licences.
More in the manual: thermal parts, the thermal step and the warm start, losses, thermal and over-temperature, and the thermal and losses tutorial. Related pages: analyses, automatic design.