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.

#buck-boost #CCM #DC-DC #DCM #four-switch #iGSE #inductor sizing #RMS stress

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 L=Lnom(1−tL)L=L_{nom}(1-t_L), f=fswf=f_{sw}, and dd denote the rising-current fraction. For automatic buck/boost selection, the ideal CCM values are d=Vo/Vid=V_o/V_i in buck and d=1−Vi/Vod=1-V_i/V_o in boost. The positive and negative inductor voltages are (Vi−Vo,−Vo)(V_i-V_o,-V_o) in buck and (Vi,Vi−Vo)(V_i,V_i-V_o) in boost. Thus ΔI=V+d/(Lf)\Delta I=V_+d/(Lf). Mean inductor current is IoI_o in buck and IoVo/ViI_oV_o/V_i in boost.

Boundary and discontinuous conduction

The boundary load is Ib=ΔI/(2K)I_b=\Delta I/(2K), where K=max⁡(1,Vo/Vi)K=\max(1,V_o/V_i) for automatic buck/boost selection. If Io<IbI_o<I_b, diode emulation gives d1=dIo/Ibd_1=d\sqrt{I_o/I_b}, d2=V+d1/V−d_2=V_+d_1/V_- and d0=1−d1−d2d_0=1-d_1-d_2. Valley current is zero; otherwise it is Iavg−ΔI/2I_{avg}-\Delta I/2. 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 a,ba,b, the ramp mean square is J=(a2+ab+b2)/3J=(a^2+ab+b^2)/3. Then IL,rms2=(d1+d2)JI_{L,rms}^2=(d_1+d_2)J. Device RMS currents use their conducting fractions. Capacitor RMS follows IC2=Iport,rms2−IDC2I_C^2=I_{port,rms}^2-I_{DC}^2.

For a port that conducts during fraction qq, capacitor charge swing is the integral of positive iport−IDCi_{port}-I_{DC}: zero if b≤IDCb\le I_{DC}, q[(a+b)/2−IDC]/fq[(a+b)/2-I_{DC}]/f if a≥IDCa\ge I_{DC}, otherwise q(b−IDC)2/[2f(b−a)]q(b-I_{DC})^2/[2f(b-a)]. This also covers DCM. Ripple upper estimate is Q/C+ESR ΔiportQ/C+ESR\,\Delta i_{port}; the peaks need not occur together. Required effective capacitance is Q/(ΔVbudget−ESR Δiport)Q/(\Delta V_{budget}-ESR\,\Delta i_{port}). 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 1−tL1-t_L. For automatic PWM, the boost requirement can peak at Vi=2Vo/3V_i=2V_o/3, 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 PrP_r at fr,Brf_r,B_r (peak amplitude), this implementation uses

Pv=Pr(f/fr)α[ΔB/(2Br)]βF,P_v=P_r(f/f_r)^\alpha[\Delta B/(2B_r)]^\beta F,

where ΔB=LΔI/(NAe)\Delta B=L\Delta I/(NA_e) and

F=2α[d11−α+d21−α](2π)α−1Iα,Iα≃4[0.2761+1.7061/(α+1.354)].F=\frac{2^\alpha[d_1^{1-\alpha}+d_2^{1-\alpha}]}{(2\pi)^{\alpha-1}I_\alpha},\quad I_\alpha\simeq4[0.2761+1.7061/(\alpha+1.354)].

Flat zero-current intervals contribute no slope loss. Ideal bypass has zero flux swing. Core loss is PvVeP_vV_e. No minor-loop separation is needed for this single rise/fall waveform. The normalization fit is valid for 0.5≤α≤30.5\le\alpha\le3.

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 +Vi+V_i) with Q2/Q3 (voltage −Vo-V_o). Volt-second balance gives d=Vo/(Vi+Vo)d=V_o/(V_i+V_o); output charge balance gives IL,avg=Io(1+Vo/Vi)I_{L,avg}=I_o(1+V_o/V_i). Replace the current ratio in the boundary expression by K=1+Vo/ViK=1+V_o/V_i. In DCM the same square-root reduction of d1d_1 applies, d2=Vid1/Vod_2=V_i d_1/V_o, 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

InputSymbolUnitDefault
Operating input voltage
Choose a voltage inside the sweep range.
V_inV9
Minimum input voltageV_lowV6
Maximum input voltageV_highV18
Regulated output voltage
Positive output: four-switch non-inverting topology.
V_outV12
Load current
Fixed-frequency diode emulation: current stops at zero at light load.
I_outA2
Switching frequency
Use the lowest guaranteed frequency for worst-case current ripple.
f_swkHz400
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.
modulationAuto 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_phase0.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_nomuH22
Inductance reduction fraction
0.20 uses 80% of nominal inductance. Set this to zero if the entered inductance is already derated.
L_tol0.2
CCM ripple / average-current target
Sizing target at this load; also used for the range recommendation.
r_target0.3
Guaranteed saturation current
Use the hot rating at an acceptable inductance drop.
I_satA8
Inductor RMS current rating
Use the part's thermal rating under your cooling conditions.
I_thermalA6
Minimum peak current limit
For a controller that limits peak inductor current. Average-current limits require a different check.
I_limitA8
Q1 and Q2 voltage ratingV_leftV40
Q3 and Q4 voltage ratingV_rightV40
Current and voltage rating factor
Engineering allowance; not a model of startup overshoot or ringing.
margin1.2
Effective input capacitance
Enter capacitance after DC bias, tolerance, temperature and ageing.
C_inuF47
Effective output capacitance
Enter capacitance after DC bias, tolerance, temperature and ageing.
C_outuF220
Input capacitor ESRESR_inmohm10
Output capacitor ESRESR_outmohm5
Input ripple budgetdv_in_limitmV200
Output ripple budgetdv_out_limitmV50
Inductor winding resistance, hot
DC copper loss only; AC winding loss is excluded.
R_dcrmohm30
Each MOSFET on-resistance, hot
Same resistance assumed for all four devices. Switching and gate losses are excluded.
R_onmohm10
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_enabledfalse
Winding turnsN_turn20
Effective core areaA_coremm^240
Effective core volumeVol_coremm^32000
Sinusoidal reference loss density
Illustrative only: use measured or manufacturer loss data at your temperature.
P_refkW/m^3200
Reference frequencyf_refkHz100
Reference sinusoidal peak flux
Peak amplitude, not peak-to-peak. Must use the same fit as the exponents.
B_refmT100
Steinmetz frequency exponent
Fit valid over your frequency, flux and temperature range.
alpha_se1.5
Steinmetz flux exponentbeta_se2.5
Allowable total peak flux density
Use the hot material limit. Linear flux estimate assumes negligible remanence.
B_allowmT250

Results

With the default inputs above, the calc gives:

ResultValue
Operating modeCCM / boundary
Rising-current duty0.25
Zero-current interval0
Peak inductor current2.826 A
Inductor RMS current2.668 A
Boundary load current0.12 A
Nominal inductance for range ripple target20.833 uH
Range peak rating with margin5.056 A
Range RMS rating with margin4.802 A
Input capacitor RMS at operating point0.092 A
Output capacitor RMS at operating point1.157 A
Effective input C required at operating point0.507 uF
Effective output C required at operating point34.85 uF
Input ripple upper estimate5.321 mV
Output ripple upper estimate19.814 mV
Maximum sampled output ripple32.429 mV
Conduction loss at operating point0.363 W
Optional iGSE core lossDisabled

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.

ResultSourceThis calc
Effective inductance required at this input12.7 ± 0.05 uH12.667 uH
Actual peak-to-peak inductor current6.5 ± 0.05 A6.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.

ResultSourceThis calc
Effective inductance required at this input2.8 ± 0.03 uH2.778 uH
Actual peak-to-peak inductor current2.1 ± 0.03 A2.128 A
Capacitive output ripple0.025 ± 1 × 10⁻⁴ V0.025 V
Output capacitor RMS at operating point6 ± 0.02 A6.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.

ResultSourceThis calc
iGSE normalization integral, published fit3.142 ± 0.0053.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.

ResultSourceThis calc
Actual peak-to-peak inductor current4.3 ± 0.05 A4.255 A

Related Resources

Responses

Your email address will not be published. Required fields are marked *

L ading...