Skip to content
Documentation sections

Buck Converter Design Calculator

POSThttps://rftools.io/api/py/v1/calculate

Slug buck-converter. Design a synchronous buck converter: calculate duty cycle, inductor, output and input capacitors, peak current, and ripple. Free, instant results.

Inputs

Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.

Inputs of buck-converter
NameUnitRangeDefaultDescription
vinnumberV1 … 10012Input Voltage
voutnumberV0.5 … 995Output Voltage
ioutnumberA0.01 … 501Output Current
fswnumberkHz10 … 5000500Switching Frequency
deltaILnumber%5 … 8030Inductor current ripple as % of output current. Typical: 20-40%.
deltaVoutnumber%0.1 … 101Output voltage ripple as % of Vout. Typical: 0.5-2%.
deltaVinnumber%0.1 … 101Input voltage ripple as % of Vin, which the input capacitor holds. Typical: 0.5-2%.
vinMinnumberV0 … 1000The lowest input the converter must work from; 0 for the nominal. The parts are sized and the stresses taken over the range.
vinMaxnumberV0 … 1000The highest input the converter must work from; 0 for the nominal.
coutEachnumberμF0.1 … 1000022One output capacitor; the bank is as many in parallel as the ripple target needs at the worst ripple current.
rdsOnHighnumbermΩ0.1 … 1000012The high-side FET's on-resistance at its operating temperature.
rdsOnLownumbermΩ0.1 … 100006The low-side (synchronous) FET's on-resistance at its operating temperature.
tSwitchnumberns0 … 1000020The high side's rise and fall times added: the switching loss is ½·V_in·I_out·(t_r + t_f)·f_sw.
qgnumbernC0 … 1000023Both FETs' gate charge at the drive voltage: the gate drive takes Q_g·V_g·f_sw.
vGatenumberV1 … 205Gate Drive Voltage
tDeadnumberns0 … 100020The time both FETs are off at each edge, when the low side's body diode carries the current.
vBodynumberV0 … 20.7Body Diode Forward Voltage
dcrnumbermΩ0 … 10000020The inductor's winding resistance.
coreLossnumbermW0 … 10000050From the inductor's datasheet at this ripple and frequency.
esrOutnumbermΩ0 … 1000003Output Capacitor ESR (each)
esrInnumbermΩ0 … 1000003Input Capacitor ESR

Outputs

Returned in values, by key. A value that is unbounded or undefined is null.

Outputs of buck-converter
FieldUnitDescription
dutyCycle%Duty Cycle
inductorUHheadlineμHMinimum Inductance
coutUFμFOutput Capacitance
cinUFμFInput Capacitance
ilPeakAPeak Inductor Current
dutyMin%At the maximum input voltage
dutyMax%At the minimum input voltage
inductorMinWorstUHμHFor the ripple target where the ripple is largest, at the maximum input voltage
inductorChosenUHμHThe E12 value at or above the minimum inductance; every current below is the chosen part's
rippleNomAAPeak to peak, at the nominal input, with the chosen inductor
rippleWorstAAInductor Ripple, Worst Case
rippleWorstVinVInput at the Worst Ripple
ilPeakWorstAThe inductor's saturation current must be at least this
ilPeakWorstVinVInput at the Worst Peak
coutCountnoneHow many of the chosen output capacitor, in parallel
coutTotalUFμFOutput Capacitance (bank)
outputRippleMVmVPeak to peak: the bank's charge ripple plus its ESR ripple, added (an upper bound)
outputRippleVinVInput at the Worst Output Ripple
outputRipplePct%Output Ripple, % of Vout
cinMinWorstUFμFMinimum Input Capacitance over the Input Range
cinMinWorstVinVInput at the Largest Input Capacitance
cinRmsAAInput Capacitor RMS Current, Worst Case
cinRmsVinVInput at the Worst Input RMS Current
q1RmsAAHigh-Side FET RMS Current, Worst Case
q1RmsVinVInput at the Worst High-Side Current
q2RmsAALow-Side FET RMS Current, Worst Case
q2RmsVinVInput at the Worst Low-Side Current
vdsRatingVThe rating sold at or above 1.5 times the maximum input
cinVoltageRatingVThe rating sold at or above 1.5 times the maximum input
coutVoltageRatingVThe rating sold at or above 1.5 times the output
lossDcrWInductor DCR Loss
lossCoreWInductor Core Loss
lossHsConductionWHigh-Side Conduction Loss
lossLsConductionWLow-Side Conduction Loss
lossHsSwitchingWHigh-Side Switching Loss
lossGateDriveWGate Drive Loss
lossDeadTimeWDead-Time Loss
lossCapEsrWCapacitor ESR Loss
lossTotalWTotal Loss
outputPowerWOutput Power
efficiency%At the nominal input and load, from the loss model

Calling it

  • Calculate: one call, the request and response in full, and its errors.
  • Batch: this calculator with others, or a sweep, in one request.
  • Solve for a target: the value of one input that brings an output to a target.