Buck-Boost DC-DC Converter Design Tool
Design a non-inverting four-switch buck-boost power stage. Check CCM/DCM operation, inductor and capacitor sizing, RMS and peak stresses, and optional iGSE core loss.
This buck boost converter calculator sizes a non-inverting, four-switch DC-DC power stage whose supply can move above or below a regulated positive output. It is intended for engineers comparing components, students studying switching converters, and people checking a battery-powered rail before choosing a controller.
Enter the input-voltage range, an operating voltage, the output voltage and load current. Then enter switching frequency, selected inductance and an allowance for inductance reduction. The default example converts a 6–18 V supply to 12 V at 2 A, with a 9 V operating point. The calculation uses the reduced inductance for current stress and gives a nominal inductance recommendation for your ripple target across the whole range.
The operating-mode card distinguishes continuous conduction, discontinuous conduction and ideal bypass. In CCM, the current never reaches zero. In DCM, this tool assumes fixed-frequency diode emulation: the current falls to zero and remains there until the next cycle. The waveforms make the difference visible. Press ▶ beside Switching-period position to follow a slowed switching cycle. The schematic highlights commanded switches and the current path; synchronized cursors mark switch-node voltages, inductor current and all four switch currents. Floating-node voltage during DCM idle is left unspecified. Controllers using forced negative current, pulse skipping or burst mode need their own light-load model.
Automatic PWM selects buck or boost from the voltage ratio. The optional two-state buck-boost strategy alternates Q1/Q4 for energy storage and Q2/Q3 for delivery. It provides a defined waveform even at equal input and output voltages, but represents a distinct modulation choice, not the LM5176’s transition algorithm.
For buck boost inductor calculation, compare peak current with saturation current and the controller’s guaranteed peak limit. Compare RMS current with the inductor’s thermal rating. The MOSFET table gives each device’s RMS current, ideal blocking voltage and conduction loss. The voltage sweep shows how current stress changes with the supply; sampled maxima are useful screening values, rather than guaranteed controller limits.
Enter effective capacitance after DC bias, tolerance, temperature and ageing. The tool integrates capacitor charge and adds an ESR ripple allowance. It also reports capacitor RMS current. Capacitance cards apply at the selected operating point; the ripple curves and warnings cover the sampled range. Load-step response and loop stability can require substantially more capacitance.
Optional iGSE core loss uses core geometry and a sinusoidal material-loss reference with Steinmetz exponents. Replace the illustrative entries with a consistent material fit at the intended temperature. The estimate does not include DC-bias correction, relaxation loss or AC winding loss. Evaluate inductance variation separately when assessing magnetic loss and saturation.
Use this DC-DC converter design calculator to compare candidate parts and understand the calculations. The named steps expose the method, and reference cases reproduce published TI LM5176 design values. Real converters also need checks for transition modulation, minimum pulse times, startup, protection, switching loss, thermal behavior and PCB parasitics. Near equal input and output voltages, the ideal bypass approximation understates the ripple of many controllers. Electrical units are shared between metric and US practice; the unit switch converts core area and volume.
How it is calculated
Ideal switching waveform
The topology is a non-inverting four-switch stage. Q1/Q2 form the input bridge; Q3/Q4 form the output bridge. In buck operation Q3 stays on while Q1/Q2 switch. In boost operation Q1 stays on while Q3/Q4 switch. TI SLVA535B, sections 2–4, describes this power stage; TI LM5176 Rev D sections 7.3.14 and 8.2.2 give the switching convention and worked design.
Let , , and denote the rising-current fraction. For automatic buck/boost selection, the ideal CCM values are in buck and in boost. The positive and negative inductor voltages are in buck and in boost. Thus . Mean inductor current is in buck and in boost.
Boundary and discontinuous conduction
The boundary load is , where for automatic buck/boost selection. If , diode emulation gives , and . Valley current is zero; otherwise it is . Peak current follows from the rising ramp. These DCM equations are derived here from volt-second balance and port charge balance, rather than an efficiency-adjusted duty approximation.
Exact current moments and ripple
For ramp endpoints , the ramp mean square is . Then . Device RMS currents use their conducting fractions. Capacitor RMS follows .
For a port that conducts during fraction , capacitor charge swing is the integral of positive : zero if , if , otherwise . This also covers DCM. Ripple upper estimate is ; the peaks need not occur together. Required effective capacitance is . Input source and load currents are assumed constant over each cycle. These moment and charge expressions are derived here; they reduce to the CCM sizing relations in TI SLVA477 and SLVA372.
The nominal inductance recommendation is the analytical maximum of the ideal CCM buck and boost requirements, divided by . For automatic PWM, the boost requirement can peak at , not necessarily at minimum input. Other range maxima use 201 evenly spaced samples plus the selected point in rating comparisons.
Optional core loss
Venkatachalam et al. (2002), attached PDF pp.3–6, Eqs.9–10 and 15–17, give iGSE. With a sinusoidal reference at (peak amplitude), this implementation uses
where and
Flat zero-current intervals contribute no slope loss. Ideal bypass has zero flux swing. Core loss is . No minor-loop separation is needed for this single rise/fall waveform. The normalization fit is valid for .
Published checks
TI LM5176 Rev D, PDF pp.22–24, explicitly specifies 6–50 V input, 12 V / 6 A output and 300 kHz. Checks compare its 12.7/2.8 uH target inductances, 6.5/4.3/2.1 A ripple values and 25 mV capacitive ripple. The published 90%-efficiency average/peak currents are not targets for an ideal waveform. SLVA535B Appendix A is not used for numerical validation: its buck duty 0.614 conflicts with Eq.1 (about 0.710 using 93% efficiency) and ideal balance (0.660), and it does not explicitly state a switching frequency. The printed maximum-boost duty expression should use minimum input voltage.
Two-state buck-boost PWM and playback
The optional two-state strategy alternates Q1/Q4 (inductor voltage ) with Q2/Q3 (voltage ). Volt-second balance gives ; output charge balance gives . Replace the current ratio in the boundary expression by . In DCM the same square-root reduction of applies, , and both bridges are off in the zero-current interval. Q1/Q4 carry the rising ramp; Q2/Q3 carry the falling ramp. The range inductance requirement increases with input voltage, so its maximum is at the upper input limit. These relations are derived here from Kirchhoff’s laws and balance; TI’s 2020 USB power-delivery webinar describes the traditional two-phase switching sequence. Device numbering differs between that presentation and this drawing: here Q3 is the output high-side device.
Playback uses the exact piecewise-linear sizing waveform. One normalized period runs from 0 to 1, with 1 wrapping to the start. Sizing, loss, sweep and waveform-vertex steps do not read the playing input. Only instantaneous states, captions and drawings update each frame. Orange shows the conducting loop and the synchronized cursors; green device symbols indicate an ON command. Idle pass switches may be commanded on while current is zero. Q2 and Q3 conduct source-to-drain; switch charts show current magnitudes. Switch-node voltages are measured from A/B to ground. During DCM idle the floating-node voltage and ringing are not determined by this ideal model, so voltage traces and their dots stop until the next cycle. Dead time and commutation are instantaneous.
Assumptions
- Fixed frequency, one phase, forward power flow and positive output. Automatic PWM uses pure buck or pure boost switching; the optional two-state strategy switches both bridges.
- Ideal voltage conversion and piecewise linear inductor current; diode emulation prevents reverse current in DCM. At equal voltages automatic PWM uses Q1 and Q3 as an ideal bypass with constant current; two-state PWM continues switching.
- Inductance is constant at the entered effective value. Include hot tolerance and DC-current degradation in the reduction allowance; do not count the same reduction twice.
- All four MOSFETs use the same entered hot resistance. Winding and capacitor ESR losses are evaluated from ideal current moments and do not feed back into duty or current.
- Capacitances are effective values, the upstream source supplies cycle-average input current, and load current is constant over a switching cycle. ESL and interconnect impedance are neglected.
- Magnetic defaults are illustrative user entries, not a material database. Core loss is disabled by default. iGSE is a zero-bias estimate; the Steinmetz fit must match frequency, flux and temperature. No i²GSE DC-bias correction is claimed.
- Linear flux estimates neglect remanence. Peak-flux screening multiplies nominal inductance by the highest current calculated with reduced inductance, a conservative combination within that reduction interval. Positive inductance tolerance, gap fringing and material nonlinearity need separate checks.
Where it applies
Use for preliminary steady-state power-stage sizing, not controller qualification. All electrical inputs must be positive; inductance reduction must remain below 1 and the operating voltage must lie in its sweep range. Invalid voltage ranges and exhausted ESR ripple budgets block result cards with corrective messages.
The interface allows low-voltage supplies through higher-power studies; numeric bounds are not a certification of a device's operating range. Check the selected controller's voltage, frequency, peak/average current-limit definition, minimum on/off time and recommended L/C ranges.
With automatic PWM, a 5% band around equal input and output voltage triggers a transition warning. The 5% is a display heuristic, not a controller specification. The sweep uses the selected ideal PWM strategy; real four-switch transition operation can differ from either choice. Two-state buck-boost is not an automatic blend or a reproduction of an IC's proprietary transition law. Range extrema are sampled except for the analytical inductance recommendation; narrow peaks can be missed.
No startup, load transient, compensation, subharmonic stability, forced CCM with negative current, burst/PFM, reverse power, ZVS, dead-time/body-diode loss, switching/gate/reverse-recovery loss, AC winding loss, EMI or temperature-rise model is included. Conduction loss is a partial estimate, not total loss or efficiency. iGSE excludes DC bias and relaxation; its normalization check does not validate any particular core material or the illustrative data.
Capacitor ripple-current ratings must exceed the calculated RMS values under actual thermal conditions. MOSFET blocking voltages need ringing allowance. Verify the final design using the controller datasheet, switching simulation and bench measurements. Waffler and Kolar's negative-current ZVS modulation is cited as further reading and is not implemented.
References
- [TI SLVA535B, Basic Calculations of a 4-Switch Buck-Boost Power Stage (July 2018)](https://www.ti.com/lit/an/slva535b/slva535b.pdf), sections 2–7; Appendix A discrepancies discussed above.
- [TI LM5176 datasheet, SNVSAI1D (August 2021)](https://www.ti.com/lit/ds/symlink/lm5176.pdf), sections 7.3.14 and 8.2.1–8.2.2; worked design pp.22–24.
- [TI SLVA477, Basic Calculation of a Buck Converter's Power Stage](https://www.ti.com/lit/an/slva477b/slva477b.pdf), inductor and capacitor sizing. This TI link currently serves Rev C.
- [TI SLVA372D, Basic Calculation of a Boost Converter's Power Stage](https://www.ti.com/lit/an/slva372d/slva372d.pdf), CCM boost sizing.
- [Venkatachalam, Sullivan, Abdallah and Tacca, Accurate Prediction of Ferrite Core Loss with Nonsinusoidal Waveforms Using Only Steinmetz Parameters (2002)](https://doi.org/10.1109/CIPE.2002.1196712), Eqs.9–10 and 15–17; full text attached.
- [Waffler and Kolar, A Novel Low-Loss Modulation Strategy for High-Power Bidirectional Buck + Boost Converters (2009)](https://doi.org/10.1109/TPEL.2009.2015881). Further reading; legal author-hosted full text attached; ZVS method outside this tool.
- [TI, New Product Update: USB Type C and USB Power Delivery Charging (2020)](https://www.ti.com/video/6211004952001), discussion of traditional two-phase four-switch buck-boost operation.
Inputs
| Input | Symbol | Unit | Default |
|---|---|---|---|
| Operating input voltage Choose a voltage inside the sweep range. | V_in | V | 9 |
| Minimum input voltage | V_low | V | 6 |
| Maximum input voltage | V_high | V | 18 |
| Regulated output voltage Positive output: four-switch non-inverting topology. | V_out | V | 12 |
| Load current Fixed-frequency diode emulation: current stops at zero at light load. | I_out | A | 2 |
| Switching frequency Use the lowest guaranteed frequency for worst-case current ripple. | f_sw | kHz | 400 |
| PWM strategy Automatic PWM uses buck or boost; at equal input and output voltages it assumes ideal bypass with Q1 and Q3 on. Two-state PWM alternates Q1/Q4 and Q2/Q3. It does not model a controller's proprietary transition. | modulation | Auto buck / boost | |
| Switching-period position Press ▶ to slow down one switching period. 0 to 1 spans a full period; all waveform cursors share this position. | cycle_phase | 0.125 | |
| Selected nominal inductance Enter nominal inductance. The reduction below accounts for tolerance, DC current and temperature. If you enter an already derated effective value, set the reduction to zero. | L_nom | uH | 22 |
| Inductance reduction fraction 0.20 uses 80% of nominal inductance. Set this to zero if the entered inductance is already derated. | L_tol | 0.2 | |
| CCM ripple / average-current target Sizing target at this load; also used for the range recommendation. | r_target | 0.3 | |
| Guaranteed saturation current Use the hot rating at an acceptable inductance drop. | I_sat | A | 8 |
| Inductor RMS current rating Use the part's thermal rating under your cooling conditions. | I_thermal | A | 6 |
| Minimum peak current limit For a controller that limits peak inductor current. Average-current limits require a different check. | I_limit | A | 8 |
| Q1 and Q2 voltage rating | V_left | V | 40 |
| Q3 and Q4 voltage rating | V_right | V | 40 |
| Current and voltage rating factor Engineering allowance; not a model of startup overshoot or ringing. | margin | 1.2 | |
| Effective input capacitance Enter capacitance after DC bias, tolerance, temperature and ageing. | C_in | uF | 47 |
| Effective output capacitance Enter capacitance after DC bias, tolerance, temperature and ageing. | C_out | uF | 220 |
| Input capacitor ESR | ESR_in | mohm | 10 |
| Output capacitor ESR | ESR_out | mohm | 5 |
| Input ripple budget | dv_in_limit | mV | 200 |
| Output ripple budget | dv_out_limit | mV | 50 |
| Inductor winding resistance, hot DC copper loss only; AC winding loss is excluded. | R_dcr | mohm | 30 |
| Each MOSFET on-resistance, hot Same resistance assumed for all four devices. Switching and gate losses are excluded. | R_on | mohm | 10 |
| Enable iGSE core-loss estimate Replace all illustrative data with a material fit at the intended temperature. iGSE does not correct for DC bias. | core_enabled | false | |
| Winding turns | N_turn | 20 | |
| Effective core area | A_core | mm^2 | 40 |
| Effective core volume | Vol_core | mm^3 | 2000 |
| Sinusoidal reference loss density Illustrative only: use measured or manufacturer loss data at your temperature. | P_ref | kW/m^3 | 200 |
| Reference frequency | f_ref | kHz | 100 |
| Reference sinusoidal peak flux Peak amplitude, not peak-to-peak. Must use the same fit as the exponents. | B_ref | mT | 100 |
| Steinmetz frequency exponent Fit valid over your frequency, flux and temperature range. | alpha_se | 1.5 | |
| Steinmetz flux exponent | beta_se | 2.5 | |
| Allowable total peak flux density Use the hot material limit. Linear flux estimate assumes negligible remanence. | B_allow | mT | 250 |
Results
With the default inputs above, the calc gives:
| Result | Value |
|---|---|
| Operating mode | CCM / boundary |
| Rising-current duty | 0.25 |
| Zero-current interval | 0 |
| Peak inductor current | 2.826 A |
| Inductor RMS current | 2.668 A |
| Boundary load current | 0.12 A |
| Nominal inductance for range ripple target | 20.833 uH |
| Range peak rating with margin | 5.056 A |
| Range RMS rating with margin | 4.802 A |
| Input capacitor RMS at operating point | 0.092 A |
| Output capacitor RMS at operating point | 1.157 A |
| Effective input C required at operating point | 0.507 uF |
| Effective output C required at operating point | 34.85 uF |
| Input ripple upper estimate | 5.321 mV |
| Output ripple upper estimate | 19.814 mV |
| Maximum sampled output ripple | 32.429 mV |
| Conduction loss at operating point | 0.363 W |
| Optional iGSE core loss | Disabled |
Checked against sources
Each case below was calculated by this calc and agrees with the value from its source (within the tolerance where one is shown).
TI LM5176 worked design: 50 V buck corner
Source: TI LM5176 datasheet SNVSAI1D (August 2021), section 8.2.1 and 8.2.2.4, PDF pp.22–23, Eqs.13–14. Explicit design inputs: 6–50 V in, 12 V / 6 A out, 300 kHz; selected L=4.7 uH. Published buck target is 12.7 uH for 40% ripple, with 6.5 A actual ripple at 50 V. Tolerances allow the source's displayed rounding. These are independent published values, without inferred frequency. https://www.ti.com/lit/ds/symlink/lm5176.pdf
Inputs: Operating input voltage = 50 V; Maximum input voltage = 50 V; Load current = 6 A; Switching frequency = 300 kHz; Selected nominal inductance = 4.7 uH; Inductance reduction fraction = 0; CCM ripple / average-current target = 0.4; Input capacitor ESR = 0 mohm; Output capacitor ESR = 0 mohm; Effective output capacitance = 400 uF; the others as above.
| Result | Source | This calc |
|---|---|---|
| Effective inductance required at this input | 12.7 ± 0.05 uH | 12.667 uH |
| Actual peak-to-peak inductor current | 6.5 ± 0.05 A | 6.468 A |
TI LM5176 worked design: 6 V boost corner
Source: TI LM5176 datasheet SNVSAI1D (August 2021), sections 8.2.2.4–8.2.2.5, PDF pp.23–24: 2.8 uH boost target for 30% ripple, 2.1 A ripple with 4.7 uH at 6 V, capacitor RMS about 6 A and 25 mV capacitive ripple with 400 uF. The calculator retains the ripple contribution in RMS, giving about 6.016 A. The source's 13.3 A average / 14.4 A peak uses an assumed 90% efficiency; this ideal waveform instead gives 12 A average and about 13.064 A peak. Those nonideal stresses are not used as ideal-model targets. https://www.ti.com/lit/ds/symlink/lm5176.pdf
Inputs: Operating input voltage = 6 V; Maximum input voltage = 50 V; Load current = 6 A; Switching frequency = 300 kHz; Selected nominal inductance = 4.7 uH; Inductance reduction fraction = 0; Input capacitor ESR = 0 mohm; Output capacitor ESR = 0 mohm; Effective output capacitance = 400 uF; the others as above.
| Result | Source | This calc |
|---|---|---|
| Effective inductance required at this input | 2.8 ± 0.03 uH | 2.778 uH |
| Actual peak-to-peak inductor current | 2.1 ± 0.03 A | 2.128 A |
| Capacitive output ripple | 0.025 ± 1 × 10⁻⁴ V | 0.025 V |
| Output capacitor RMS at operating point | 6 ± 0.02 A | 6.016 A |
iGSE normalization: squared cosine integral
Source: Venkatachalam, Sullivan, Abdallah and Tacca (2002), DOI 10.1109/CIPE.2002.1196712, section IV, printed p.5 / attached PDF p.6, Eq.16: normalization integral approximation accurate within 0.15%. At alpha=2 the exact analytical integral of cos² over a period is pi. This checks the published normalization fit, not measured loss or a material.
Inputs: Steinmetz frequency exponent = 2; Enable iGSE core-loss estimate = yes; the others as above.
| Result | Source | This calc |
|---|---|---|
| iGSE normalization integral, published fit | 3.142 ± 0.005 | 3.139 |
TI LM5176 worked design: 24 V buck ripple
Source: TI LM5176 datasheet SNVSAI1D (August 2021), section 8.2.2.4, PDF p.23: selected 4.7-uH inductor gives 4.3-A ripple at 24-V input, 12-V output and 300 kHz. https://www.ti.com/lit/ds/symlink/lm5176.pdf
Inputs: Operating input voltage = 24 V; Maximum input voltage = 50 V; Load current = 6 A; Switching frequency = 300 kHz; Selected nominal inductance = 4.7 uH; Inductance reduction fraction = 0; Input capacitor ESR = 0 mohm; Output capacitor ESR = 0 mohm; the others as above.
| Result | Source | This calc |
|---|---|---|
| Actual peak-to-peak inductor current | 4.3 ± 0.05 A | 4.255 A |
Related Resources
Related articles
Related courses
IEC Electrical Schematics and Industrial Control Panels
5
Original price was: 42 €.21 €Current price is: 21 €.
Basic Electrical Controls & Diagram Reading
7
Original price was: 32 €.18 €Current price is: 18 €.
Modeling Electrical Motor Faults with FEM Simulation using ANSYS MAXWELL
3
Original price was: 50 €.15 €Current price is: 15 €.







Responses