Documentation sections
Switching Regulator Output Ripple Calculator
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug switching-regulator-ripple. Calculate buck converter output voltage ripple, inductor current ripple, and ESR contribution for switching regulator design
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 |
|---|---|---|---|---|
| inputVoltagenumber | V | at least 0.1 | 12 | Input Voltage |
| outputVoltagenumber | V | at least 0.1 | 5 | Output Voltage |
| frequencynumber | kHz | at least 1 | 500 | Switching Frequency |
| inductancenumber | μH | at least 0.01 | 10 | Inductance |
| capacitancenumber | μF | at least 0.1 | 100 | Output Capacitance |
| esrnumber | mΩ | at least 0.1 | 20 | Equivalent series resistance of the output capacitor |
| outputCurrentnumber | A | 0.01 … 100 | 2 | The load current: it sets the inductor's peak, the switches' RMS currents and the losses, not the ripple. |
| inputVoltageMinnumber | V | at least 0 | 0 | The lowest input the regulator must work from; 0 for the nominal. |
| inputVoltageMaxnumber | V | at least 0 | 0 | The highest input the regulator must work from; 0 for the nominal. The ripple is largest there. |
| 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. |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| dutyCycle | % | Duty Cycle |
| inductorRippleCurrent | A | Inductor Ripple Current |
| capacitorRipple | mV | Capacitor Ripple Voltage |
| inductorRipple | mV | ESR Ripple Voltage |
| peakToPeakRippleheadline | mV | Total Peak-to-Peak Ripple |
| dutyMin | % | At the maximum input voltage |
| dutyMax | % | At the minimum input voltage |
| inductorRippleWorst | A | Inductor Ripple Current, Worst Case |
| inductorRippleWorstVin | V | Input at the Worst Inductor Ripple |
| ilPeakWorst | A | The load plus half the ripple; the inductor's saturation current must be at least this |
| ilPeakWorstVin | V | Input at the Worst Peak |
| rippleWorstMV | mV | Total Ripple, Worst Case |
| rippleWorstVin | V | Input at the Worst Ripple |
| coutRmsA | A | ΔI_L/√12, the inductor ripple the capacitor carries |
| coutRmsVin | V | Input at the Worst Capacitor 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 |
| 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 | Output 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.