Buck / Boost / Buck-Boost Converter Calculator
embedcalc_dcdc_converterCompute key design parameters for DC-DC converters in continuous conduction mode: duty cycle, minimum inductance, output capacitance, input current, and peak switch current for buck, boost, or inverting buck-boost topologies.
Instructions
DC-DC converter design (CCM): duty cycle, minimum inductance, minimum output capacitance, input current, and peak switch current for buck, boost, or inverting buck-boost.
Args: topology ('buck'|'boost'|'buckboost'), vin, vout, iout_a, freq_khz (default 100), ripple_current_pct (of Iout, default 30), ripple_voltage_mv (default 50). Returns (structured): { duty_percent, l_min_uh, c_min_uf, iin_a, i_peak_a }. Example: buck 12->5 V, 1 A, 100 kHz -> D=41.7%, L≥97.2 µH, C≥7.5 µF. Snap L/C with embedcalc_eseries_nearest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vin | Yes | Input voltage V | |
| vout | Yes | Output voltage V (magnitude for inverting) | |
| iout_a | Yes | Output current A | |
| freq_khz | No | Switching frequency kHz | |
| topology | Yes | Converter topology (buckboost = inverting) | |
| ripple_voltage_mv | No | Allowed output ripple voltage mV | |
| ripple_current_pct | No | Inductor ripple current as % of Iout |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iin_a | Yes | ||
| c_min_uf | Yes | ||
| i_peak_a | Yes | ||
| l_min_uh | Yes | ||
| duty_percent | Yes |