Kyros Engineering Engineering Tools
Home › Tools › Power Supply Designer
// Power tools Proto v0.1BuckBoostBuck-boostLDO

Power Supply Designer

Enter Vin, Vout and load. Get the duty cycle, inductor, peak and RMS currents, capacitor sizes, an efficiency estimate with a loss breakdown and a feedback divider with its tolerance window. The charts show the inductor current and efficiency across the load range, including where the converter drops into DCM.

Runs entirely in your browser. Nothing is uploaded.

1 · Topology and operating point

V
V
A
Hz
×
H
V

2 · Losses

Datasheet values at your operating temperature. Hot FETs and inductors are worse than 25 °C.

V
Ω
Ω
Ω
s
C
V
A

3 · Capacitor targets

V
Ω
V
Ω

2 · LDO and package

V
A
°C/W
°C
°C

4 · Feedback divider

Vout = Vref × (1 + R1 ÷ R2). R1 is from Vout to FB, R2 from FB to ground. For an inverting converter use the magnitude and check how your controller references the divider.

V
Ω
± %
± %
A

Power stage

Efficiency (est.)
—
Duty cycle
—
Inductor
—
Ripple current ΔIL
—
Peak current
—
Inductor RMS
—
CCM/DCM boundary
—
Total loss
—
—

Capacitors

Output capacitance, min
—
Input capacitance, min
—
Output cap ripple current
—
Input cap ripple current
—

Linear regulator

Junction temperature
—
Dissipation
—
Efficiency
—
Max load for Tj limit
—
—

Feedback divider

R1 (top)
—
R2 (bottom)
—
Vout, nominal
—
Worst-case window
—
Divider current
—

Inductor current

Two switching periods at nominal Vin and full load. The dashed line is the average.

Efficiency vs load

Same inductor and losses, load swept from 0.1 % to 130 % of the design current. The dot is your operating point.

Loss breakdown at full load

SourcePowerShare
// How it works

The equations behind each number

The tool solves volt-second balance on the inductor with the real drops in it, then sizes parts from the resulting duty cycle and ripple. With every drop set to zero it reduces to the ideal formulas in the TI application notes.

buck D = (Vo + Vrect + IL·DCR) / (Vin − IL·Rds + Vrect) boost D = (Vo + Vrect + IL·DCR − Vin) / (Vo + Vrect − IL·Rds) buck-boost D = (|Vo| + Vrect + IL·DCR) / (Vin − IL·Rds + |Vo| + Vrect) inductor L = Von · D / (fs · ΔIL), ΔIL = ratio · IL(avg) IL(avg) = Iout (buck) or Iout / (1 − D) (boost, buck-boost) peak Ipk = IL + ΔIL / 2, RMS² = IL² + ΔIL² / 12

Capacitors

buck Cout ≥ ΔIL / (8 · fs · (ΔVout − ΔIL · ESR)) boost Cout ≥ Iout · D / (fs · (ΔVout − Ipk · ESR)) buck Cin ≥ Iout · D(1 − D) / (fs · (ΔVin − Ipk · ESR)) boost Cin ≥ ΔIL / (8 · fs · (ΔVin − ΔIL · ESR))

The ESR term is subtracted from the ripple allowance first, because the capacitor part and the ESR part add. If the ESR step alone already exceeds your ripple target, no capacitance can fix it and the tool says so.

CCM, DCM and efficiency

The converter stays in continuous conduction while the valley current is above zero, which means the load is above ΔIL/2 for a buck and (ΔIL/2)(1 − D) for a boost or buck-boost. Below that, the inductor current sits at zero for part of the cycle. The efficiency sweep switches to a discontinuous model there: triangular current, zero-current turn-on, and an ideal diode-emulating rectifier (a synchronous FET that is forced to conduct in both directions will be less efficient at light load than shown). Losses are:

switch Rds · Irms,sw² rectifier Vd · Iavg (or Rds · Irms²) DCR DCR · Irms,L² switching ½ · Vsw · tsw · fs · (Ivalley + Ipeak) gate Qg · Vdrv · fs quiescent Iq · Vin

Feedback divider

For each candidate R2 within a factor of three of your target, the tool tries the two nearest E-series values for R1 and keeps the pair with the smallest nominal error (ties go to the R2 closest to your target). The worst-case window then moves Vref and both resistors to their tolerance limits at once. That is the number to compare with your load's supply tolerance, because a nominal error of 0.1 % means little if the stack is ±3 %.

LDO

Pd = (Vin − Vout) · Iout + Vin · Iground Tj = Tamb + Pd · θJA η = Vout · Iout / (Vin · (Iout + Iground))

Limits

References

  1. Texas Instruments, SLVA477C, Basic Calculation of a Buck Converter's Power Stage: duty cycle, inductor value, ripple current, output capacitor and ESR ripple.
  2. Texas Instruments, SLVA372D, Basic Calculation of a Boost Converter's Power Stage: duty cycle, inductor, peak switch current, feedback divider equations.
  3. R. W. Erickson and D. Maksimovic, Fundamentals of Power Electronics, 3rd ed., Springer: CCM and DCM analysis, buck-boost relations, conduction-mode boundary, right-half-plane zero.
  4. Texas Instruments, SLVA059, Understanding Buck-Boost Power Stages in Switch Mode Power Supplies: inverting buck-boost inductor current relations.
  5. IEC 60063, preferred number series for resistors and capacitors (E12, E24, E96).

Power stage not behaving on the bench?

Kyros designs and debugs DC-DC converters, power distribution and the thermal and EMC problems that come with them, from first schematic through production.

Talk about your project →