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.
| Name | Unit | Range | Default | Description |
|---|---|---|---|---|
| vinnumber | V | 1 … 100 | 12 | Input Voltage |
| voutnumber | V | 0.5 … 99 | 5 | Output Voltage |
| ioutnumber | A | 0.01 … 50 | 1 | Output Current |
| fswnumber | kHz | 10 … 5000 | 500 | Switching Frequency |
| deltaILnumber | % | 5 … 80 | 30 | Inductor current ripple as % of output current. Typical: 20-40%. |
| deltaVoutnumber | % | 0.1 … 10 | 1 | Output voltage ripple as % of Vout. Typical: 0.5-2%. |
| deltaVinnumber | % | 0.1 … 10 | 1 | Input voltage ripple as % of Vin, which the input capacitor holds. Typical: 0.5-2%. |
| vinMinnumber | V | 0 … 100 | 0 | The lowest input the converter must work from; 0 for the nominal. The parts are sized and the stresses taken over the range. |
| vinMaxnumber | V | 0 … 100 | 0 | The highest input the converter must work from; 0 for the nominal. |
| coutEachnumber | μF | 0.1 … 10000 | 22 | One output capacitor; the bank is as many in parallel as the ripple target needs at the worst ripple current. |
| rdsOnHighnumber | mΩ | 0.1 … 10000 | 12 | The high-side FET's on-resistance at its operating temperature. |
| rdsOnLownumber | mΩ | 0.1 … 10000 | 6 | The low-side (synchronous) FET's on-resistance at its operating temperature. |
| tSwitchnumber | ns | 0 … 10000 | 20 | The high side's rise and fall times added: the switching loss is ½·V_in·I_out·(t_r + t_f)·f_sw. |
| qgnumber | nC | 0 … 10000 | 23 | Both FETs' gate charge at the drive voltage: the gate drive takes Q_g·V_g·f_sw. |
| vGatenumber | V | 1 … 20 | 5 | Gate Drive Voltage |
| tDeadnumber | ns | 0 … 1000 | 20 | The time both FETs are off at each edge, when the low side's body diode carries the current. |
| vBodynumber | V | 0 … 2 | 0.7 | Body Diode Forward Voltage |
| dcrnumber | mΩ | 0 … 100000 | 20 | The inductor's winding resistance. |
| coreLossnumber | mW | 0 … 100000 | 50 | From the inductor's datasheet at this ripple and frequency. |
| esrOutnumber | mΩ | 0 … 100000 | 3 | Output Capacitor ESR (each) |
| esrInnumber | mΩ | 0 … 100000 | 3 | Input Capacitor ESR |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| dutyCycle | % | Duty Cycle |
| inductorUHheadline | μH | Minimum Inductance |
| coutUF | μF | Output Capacitance |
| cinUF | μF | Input Capacitance |
| ilPeak | A | Peak Inductor Current |
| dutyMin | % | At the maximum input voltage |
| dutyMax | % | At the minimum input voltage |
| inductorMinWorstUH | μH | For the ripple target where the ripple is largest, at the maximum input voltage |
| inductorChosenUH | μH | The E12 value at or above the minimum inductance; every current below is the chosen part's |
| rippleNomA | A | Peak to peak, at the nominal input, with the chosen inductor |
| rippleWorstA | A | Inductor Ripple, Worst Case |
| rippleWorstVin | V | Input at the Worst Ripple |
| ilPeakWorst | A | The inductor's saturation current must be at least this |
| ilPeakWorstVin | V | Input at the Worst Peak |
| coutCount | none | How many of the chosen output capacitor, in parallel |
| coutTotalUF | μF | Output Capacitance (bank) |
| outputRippleMV | mV | Peak to peak: the bank's charge ripple plus its ESR ripple, added (an upper bound) |
| outputRippleVin | V | Input at the Worst Output Ripple |
| outputRipplePct | % | Output Ripple, % of Vout |
| cinMinWorstUF | μF | Minimum Input Capacitance over the Input Range |
| cinMinWorstVin | V | Input at the Largest Input Capacitance |
| cinRmsA | A | Input Capacitor RMS Current, Worst Case |
| cinRmsVin | V | Input at the Worst Input RMS Current |
| q1RmsA | A | High-Side FET RMS Current, Worst Case |
| q1RmsVin | V | Input at the Worst High-Side Current |
| q2RmsA | A | Low-Side FET RMS Current, Worst Case |
| q2RmsVin | V | Input at the Worst Low-Side Current |
| vdsRating | V | The rating sold at or above 1.5 times the maximum input |
| cinVoltageRating | V | The rating sold at or above 1.5 times the maximum input |
| coutVoltageRating | V | The rating sold at or above 1.5 times the output |
| lossDcr | W | Inductor DCR Loss |
| lossCore | W | Inductor Core Loss |
| lossHsConduction | W | High-Side Conduction Loss |
| lossLsConduction | W | Low-Side Conduction Loss |
| lossHsSwitching | W | High-Side Switching Loss |
| lossGateDrive | W | Gate Drive Loss |
| lossDeadTime | W | Dead-Time Loss |
| lossCapEsr | W | Capacitor ESR Loss |
| lossTotal | W | Total Loss |
| outputPower | W | Output 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.