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

Every power-supply project eventually gets the same request: "Can you take some cost out?" The usual answers are to buy a cheaper MOSFET, drop a capacitor or shrink the heatsink. Sometimes that works. Often it moves the cost somewhere else, such as a hotter part, a shorter life, a failed EMI scan or a field return that costs far more than the parts saved.

This article is about cutting cost on purpose rather than by accident. We start with where the money goes, then look at the four trade-offs that decide most of it, and then work through a 48 V to 12 V, 5 A buck in Voltecx, where a Pareto search shows what each saving really costs in watts and cubic centimetres. The headline result is a little surprising: in this design the expensive-looking choices (the lowest-RDS(on) MOSFET, the biggest inductor) make it worse or barely better, and the part that decides the efficiency is the cheapest one on the board.

The intuition: cost is a budget you spend on loss

Think of a power supply as a budget with two currencies: money and watts. Every watt of loss has to leave the box as heat, and you pay for that heat in copper, aluminium, airflow, board area and temperature margin. Every dollar you spend on better parts buys back some watts.

So "cheaper" is never one number. It is a point on a curve: for a given efficiency there is a cheapest design, and for a given cost there is a most efficient one. Designs on that curve are called Pareto-optimal: you cannot improve one objective without paying in the other. Designs off the curve waste money, because some other design is both cheaper and better.

The job of cost optimisation is therefore two things:

  1. Get onto the curve, so that no money is wasted.
  2. Choose where on the curve to sit, which is a business decision about how much a watt is worth to you.

Where the money goes

The bill of materials is only part of the cost of a power supply. A useful checklist:

  • Semiconductors. MOSFETs, diodes, the controller and the gate driver. Their price scales roughly with die area, and a lower RDS(on) at the same voltage means a larger die.
  • Magnetics. Inductors and transformers. Their cost scales with core size, copper and, for custom parts, the winding labour. Lower switching frequency means more energy stored per cycle and a bigger core.
  • Capacitors. Bulk input and output capacitance. Electrolytic and polymer parts wear out, so a cheap capacitor that runs hot can set the life of the whole product.
  • PCB area. Every square centimetre of board costs money, and the large parts (magnetics, bulk capacitors, heatsinks) decide the area.
  • Thermal management. Heatsinks, thermal pads, fans and the enclosure's airflow. A fan is cheap to buy but adds noise, a wear-out part and a failure mode.
  • Assembly. Part count, through-hole parts that need a second soldering step, and anything placed or screwed by hand.
  • Test and yield. Calibration, burn-in, and the cost of boards that fail at the end of the line.

Notice how many of these depend on loss. Loss sets the heatsink, the heatsink sets the area and assembly, and the temperature sets the capacitor life. That is why the trade-offs below always come back to watts.

Voltecx does not guess prices. Its parts catalogue cites a data sheet for every part, and data sheets do not publish prices, so the shipped price list is empty on purpose. You give your own quotes with the prices parameter of bom.export, design.tradeoff or analysis.pareto, or connect an online price lookup. Until then a line is marked unpriced and never filled in with a made-up number. In this article we therefore compare designs by what Voltecx can compute from data sheets (watts, inductor volume, board area, heatsink mass) and leave the dollars to your purchasing team.

The four trade-offs that decide most of the cost

1. Switching frequency against magnetics against loss

The inductor of a buck is sized for a ripple ratio rr, the peak-to-peak ripple current over the load current (Erickson and Maksimović, Fundamentals of Power Electronics, ch. 2):

L=(Vin−Vout) Dr Iout fswL = \frac{(V_{in} - V_{out})\,D}{r\, I_{out}\, f_{sw}}

Double the frequency and the inductance halves. The energy the core must store, 12LIpk2\tfrac{1}{2} L I_{pk}^2, halves too, and the core can be smaller. That is the cost saving. The price is switching loss, which grows in proportion to frequency:

Psw≈12 Vin Iout (tr+tf) fswP_{sw} \approx \tfrac{1}{2}\, V_{in}\, I_{out}\, (t_r + t_f)\, f_{sw}

and core loss, which grows with frequency for a given flux swing. Somewhere there is a frequency where the sum is lowest, and a range around it where the magnetics are small enough and the loss is still acceptable. The switching-frequency article covers this in detail.

2. MOSFET RDS(on) against price

A lower RDS(on) cuts conduction loss, Pcond=Irms2RDS(on)P_{cond} = I_{rms}^2 R_{DS(on)}. But within one technology, a lower RDS(on) at the same voltage usually comes from a bigger die, which has more gate charge and more capacitance, so it switches more slowly and loses more energy on every edge. It also costs more. Past a certain point you pay more money for more loss.

3. Thermal: heatsink against airflow against loss

A heatsink is rated by its sink-to-air thermal resistance Rth,saR_{th,sa}. The junction temperature is

Tj=Ta+P (Rth,jc+Rth,cs+Rth,sa)T_j = T_a + P\,(R_{th,jc} + R_{th,cs} + R_{th,sa})

Halving Rth,saR_{th,sa} in still air does not take twice the aluminium. It takes much more, because a bigger fin area also cools less efficiently per square centimetre. A little airflow changes the picture completely. Every watt you avoid upstream is a smaller heatsink downstream.

4. Derating: enough, not excessive

Derating means running a part below its rating: a 100 V MOSFET on a 48 V bus, a capacitor at 70 % of its ripple rating. Derating buys reliability, and too little of it is a classic false economy. But derating is not "the more the better". Every extra step of margin costs a bigger part, and stacked margins (a 1.5× voltage margin on top of a worst-case input, on top of a 125 °C ambient that never happens) quickly double the cost of a part without making the product more reliable. The rule is to derate against a named rule set and the real worst case, not against fear. The derating article goes through the rules part by part.

A worked example: 48 V to 12 V, 5 A

The example is an asynchronous buck: 44 to 52 V in (48 V nominal), 12 V out, 0.5 to 5 A, at most 0.12 V of output ripple. That is 60 W, the kind of intermediate rail you find in telecom and industrial equipment.

The buck in Voltecx (circuit.template, 48 V to 12 V, 5 A, 100 kHz): switch S1, diode D1, inductor L1, output capacitor C1, input capacitor Cin, with the PWM on the gate label g.

Step 1: let a search find the curve

Rather than guessing, we ask analysis.pareto to search the design space: switching frequency from 20 to 500 kHz, ripple ratio from 0.1 to 0.6, every diode in the vendor library rated for the voltage (each from its manufacturer's data sheet), four EPC GaN transistors (the EPC2619, EPC2204, EPC2045 and EPC2207: the switches a search over the whole vendor library kept on its front, given as switches so that the figures here do not move each time the library gains a part), and every core in the magnetics catalogue. It minimises two objectives at once: total loss and the boxed volume of the inductor. The volume is our stand-in for the cost of the magnetics.

The search (a genetic algorithm, NSGA-II) evaluates 504 designs and returns a front of fourteen designs:

  • The most efficient one switches at 27 kHz on an E 42/21/15 core: 2.36 W of loss with a 37.1 cm³ inductor.
  • The smallest one switches at 373 kHz on an EFD 20/10/7 core: 2.97 W with a 3.54 cm³ inductor.
  • The knee, the point where the curve bends and further savings get expensive, is the EFD 25/13/9 at 116 kHz: 2.54 W (95.94 % estimated efficiency) with a 7.06 cm³ inductor. The most efficient design saves only 0.18 W more for five times the inductor volume.

The knee is the natural starting point. The smallest design saves half of the knee's inductor volume for 0.43 W more loss. Voltecx also re-simulated the knee in the switching circuit: the simulation gives 95.67 % against the estimate's 95.94 %, so the estimate is 0.3 points optimistic. That is close enough to rank designs, and a reminder to check the final pick in simulation.

The core loss of a buck inductor depends on the DC current through it as well as on the ripple. For the TDK N87 and Ferroxcube 3C90 ferrites, Voltecx corrects the loss with measured DC-bias data (the Princeton MagNet database), so those cores no longer look cheaper than they are. No 3C90 or N87 core is on this front: all its cores are Ferroxcube 3C95 but one TDK N97, and neither material has such data yet, so their core loss is the data-sheet loss without it.

Every design on the front uses the same diode, the Vishay VX60202PW-M3, and a small EPC GaN transistor: the EPC2204, and the EPC2207 at the smallest end. That is the first lesson: searched over the whole library, the front kept only small GaN transistors, not the biggest, lowest-resistance MOSFET. We will see why in step 3.

The diode is the second lesson, and a warning. The VX60202PW-M3 is a 200 V, 2 × 30 A Schottky in a TO-247 package, on a 5 A output. The search picks it because its forward drop at 5 A is lower. Part of that lead is the data: its data sheet gives typical forward voltages only, where the other Schottky rectifiers in the library are modelled on maximum values. And the search counts only loss and inductor volume: nothing tells it what the part costs or how much board it takes. Give it your prices and the cost objective, and it weighs that saving against the price. The rest of this article keeps the part that bom.export picks for the diode, the Nexperia PMEG100V080ELPD (step 6), so that each step changes one thing.

Step 2: frequency and magnetics

To see the frequency trade on its own, we fix the switch, the diode and a ripple ratio of 0.3, and search only the core at three frequencies. The inductance follows the formula above: 240 µH at 25 kHz, 60 µH at 100 kHz and 15 µH at 400 kHz.

Loss against inductor box volume on the Pareto front at 25 kHz, 100 kHz and 400 kHz (EPC2214, PMEG100V080ELPD, ripple ratio 0.3), from analysis.pareto in Voltecx.

Read the figure from left to right: each curve is the lowest loss you can buy with a given inductor volume.

  • At 25 kHz (blue) the 240 µH inductor needs a big core. Getting under 3 W takes 26 cm³ of inductor.
  • At 100 kHz (red) the same 3 W is reached with 6.7 cm³ (2.94 W). Beyond that the curve is nearly flat: the largest core, 36.6 cm³, gets to 2.82 W. That is 5.5 times the volume to save 0.12 W, a bad deal for almost any product.
  • At 400 kHz (green) the inductor can be tiny (3.6 cm³ for 3.08 W), but the curve never gets below 2.97 W. Switching loss sets a floor that no amount of copper can remove.

The cheapest good design lives at the bend of the 100 kHz curve. A bigger core is money spent on almost nothing.

Now hold the core fixed (a PQ 26/25 in 3C95 ferrite) and sweep the frequency from 25 to 400 kHz:

Loss by part (switch conduction, switch switching, inductor) and efficiency against switching frequency, one PQ 26/25 3C95 core, from analysis.pareto in Voltecx. The diode's 2.60 W is the same at every frequency and is left off the top panel.

  • At 25 kHz the inductor loses 0.85 W, because the large inductance needs many turns of thin wire on a core of this size. Efficiency is 94.39 %.
  • At 100 kHz the inductor loss has fallen to 0.085 W and the switching loss is only 0.046 W. Efficiency peaks at 95.48 %.
  • At 400 kHz the switching loss has grown to 0.185 W, and efficiency drops back to 95.26 %.

The efficiency curve is flat around its peak: anywhere from about 70 to 200 kHz costs less than 0.15 points. Inside that band, choose the frequency that gives the cheapest magnetics, the easiest EMI filter (see conducted EMI pre-compliance) and a controller you can buy.

Step 3: the expensive MOSFET is the worse one

Next we swap the switch at 100 kHz, keeping everything else the same. Four candidates from the vendor library, with their typical RDS(on) at 25 °C from their data sheets:

Switch RDS(on), typ. Conduction Switching Total loss of the buck
EPC EPC2214 15 mΩ 0.106 W 0.046 W 2.84 W
Infineon BSC070N10NS5 6.0 mΩ 0.042 W 0.356 W 3.09 W
Infineon BSC040N10NS5 3.4 mΩ 0.024 W 0.667 W 3.38 W
Infineon ISC022N10NM6 1.8 mΩ 0.013 W 1.00 W 3.70 W

Conduction, switching and total switch loss against the switch's typical RDS(on) at 100 kHz and 5 A, for the four switches of the table, from analysis.pareto in Voltecx.

Going from 15 mΩ to 1.8 mΩ cuts conduction loss by 0.09 W and adds almost 1 W of switching loss. At 5 A and a duty cycle of 0.25, the RMS current through the switch is only about 50.25=2.55\sqrt{0.25} = 2.5 A, so conduction loss is small to begin with, while the big die's gate charge is paid at every edge. The part with the lowest RDS(on) makes the converter less efficient and hotter, and you would pay extra for the privilege.

Two caveats. First, these switching losses are estimates: the data sheets give no switching energies, so Voltecx derives them from the gate charges with the gate-charge method (Graovac, Pürschel and Kiep, Infineon application note, 2006), and says so in its notes. Second, the comparison flips at higher current, where I2RI^2R grows quickly. The point is not "small MOSFETs are better". The point is that the right RDS(on) depends on the current and the frequency, and the most expensive part is often not the right one.

Step 4: find the part that actually matters

Look at the loss budget at 100 kHz: 2.84 W in total, of which the diode takes 2.60 W, 91 %. The switch and the inductor together are less than a tenth. The diode's loss is roughly (1−D) Iout VF(1-D)\,I_{out}\,V_F: it conducts 75 % of the time at 5 A with an effective drop of about 0.69 V.

This is the most useful result of the whole exercise. Every hour spent shaving the inductor or choosing a MOSFET moves the total by a few percent at most. The one decision that moves it a lot is the rectifier: a second switch in place of the diode (a synchronous buck) cuts most of those 2.6 W, at the cost of a second transistor and a driver that can drive it. Whether that pays depends on what a watt is worth to you; the synchronous or diode buck article works through that decision. Find the biggest loss before you optimise anything.

Step 5: what a watt costs in heatsink

If a part needs a heatsink, every watt you save upstream shrinks it. The Voltecx thermal catalogue lists heatsinks from their manufacturers' data sheets, each with its temperature-rise table and weight. Taking the sink-to-air resistance at 5 W, the lightest heatsinks for each resistance are:

The lightest heatsinks in the Voltecx catalogue for each sink-to-air resistance at 5 W, in natural convection and at 200 LFM, from each heatsink's data-sheet rise table and weight.

  • In still air, a Same Sky HSS29-302513P (5.2 g) gives 17.4 K/W, and an HSE16-384225P-CP (14.2 g) gives 9.16 K/W.
  • To reach 5.06 K/W in still air you need an Ohmite RA-T2X-64E at 63 g, 4.4 times the mass for less than half the resistance.
  • With 200 LFM of airflow, the same 14.2 g HSE16-384225P-CP gives 2.92 K/W, better than any heatsink in the catalogue in still air.

So the cheapest ways to handle heat, in order: do not make it (step 4), spread it over the copper of the board, use the airflow the product already has, and only then buy aluminium. design.thermal does this pick for you: for each TO-220 or TO-247 device it chooses the lightest catalogue heatsink that keeps the junction at or below its limit.

Step 6: the bill of materials and the derating check

Finally, bom.export picks a catalogue part for every component from the stresses in the simulation. For the buck at 100 kHz:

Line Part Pieces Body area
L1 Coilcraft XAL1510-333MEC 3 in series 739 mm²
Cin Murata GRM32EC72A106KE05 8 64 mm²
C1 Murata GCM32ER71E106KA57 2 16 mm²
S1 EPC EPC2214 1 not in the catalogue
D1 Nexperia PMEG100V080ELPD 1 not in the catalogue

The inductor takes 90 % of the known part area (739 of 819 mm²), which is one more reason to get the frequency right. All 5 lines are unpriced: Voltecx tells you that the cost is incomplete instead of inventing it.

Then design.reliability compares every part's measured stress with its rating times the derating factor of a named rule set. By default that is NASA EEE-INST-002 (the derating tables of its capacitor, magnetics, resistor and semiconductor sections):

  • S1 sees 47.8 V against a limit of 60 V (0.75 of its 80 V rating).
  • D1 must block at most 70 V (0.7 of its 100 V rating).
  • D1 carries an average of 3.74 A against a limit of 4.0 A (0.5 of its 8 A rating), a ratio of 0.93. That is the tightest margin on the board, and still a pass.

That tells you where you can save and where you cannot. The diode has no room to shrink. The switch has room on voltage, but not enough for a lower rating: a 60 V part would be allowed only 45 V under the same rule, less than the 47.8 V it sees. EEE-INST-002 is a space-grade rule set and stricter than most commercial practice. Voltecx also offers stress, its own common-practice factors (not a standard), or your company's rules. Pick the rule set your product's reliability target actually calls for, and derate against it, not beyond it.

Practical pitfalls

  • Optimising the wrong part. In the example, 91 % of the loss is in one diode. Measure, or simulate, before you optimise.
  • Comparing parts at the wrong operating point. RDS(on) at 25 °C is not RDS(on) at 100 °C, and a part that wins at 20 A can lose at 5 A. Compare at your worst-case current, temperature and frequency.
  • Trusting typical values for margins. Use maximum RDS(on), maximum VFV_F and minimum capacitance for the worst case. Typical values are for estimates like the ones above.
  • Removing "unnecessary" parts. Snubbers, bleeders, test points and TVS diodes look like cost until the first EMI scan or surge test. Check the reason a part is there before you delete it.
  • Choosing non-standard values. A 6.8 µH inductor from a standard series is cheaper and easier to second-source than a custom 6.2 µH one. Design to the values you can buy.
  • Forgetting capacitor life. A smaller electrolytic or polymer capacitor carrying the same ripple runs hotter. An aluminium electrolytic's life halves for every 10 K (the formula of Panasonic's EEU-FR data sheet), and a polymer's falls by ten for every 20 K (Panasonic OS-CON). Check the life at your real ambient before you downsize a capacitor.
  • Cost-reducing after the layout. By then the topology, the frequency and the magnetics are fixed, and they decide most of the cost. Design to cost from the start: write the cost target down next to the efficiency target on day one, and search the curve before you draw the board.

Try it in Voltecx

  1. Open the template buck with the circuit.template command: {"topology":"buck","vin":48,"vout":12,"iout":5,"fsw":100e3} (from the CLI, Python or the assistant).
  2. Run Design → Automate → Pareto Front (analysis.pareto) with your spec. Start with the objectives loss and volume, then add cost with your own prices for the candidate switches, diodes and cores.
  3. Re-run with switches restricted to two or three candidates and compare their losses at your operating point.
  4. Run the simulation, then Design → Thermal (design.thermal) for the junction temperatures and the heatsink each device needs.
  5. Export the BOM (Design → Manufacturing → Export BOM, bom.export) with your prices and prefer: "cost", then check the margins with design.reliability and the capacitor choices with design.tradeoff.

Every number and figure in this article comes from those commands, and a regression test re-runs them and checks each value against the text.