Four-switch buck-boost converter schematic with buck, buck-boost and boost switch timing
Posted in

Four-Switch Buck-Boost Converter Design and Analysis: Guide + Calculator

A four-switch buck-boost converter (4SBB) gives you a steady positive output voltage whether the input is above, equal to or below it. A 2S lithium battery that swings from 8.4 V down to 6 V, a car battery that sags to 6 V during cold-crank and jumps to 18 V on load dump, a USB Power Delivery port that must produce 5 V to 20 V from any input: these are jobs for the four-switch buck-boost. It combines a synchronous buck and a synchronous boost around one inductor and reaches 95 to 98% efficiency. In this guide you will learn four-switch buck-boost converter analysis and design step by step: how it works, its three operating modes, the gain formula, inductor and capacitor sizing for the whole input range, MOSFET selection, losses and efficiency, the right-half-plane zero and layout. A complete worked example and a live calculator are included.

Key takeaways
  • It is a non-inverting buck-boost: the output stays positive.
  • Four MOSFETs form two half-bridges, one on each side of a single inductor.
  • It runs as a buck when Vin is above Vout, a boost when Vin is below Vout, and a blended buck-boost mode in between.
  • General gain: Vout = Vin × D1 / (1 − D3), where D1 is the buck leg duty and D3 the boost leg duty.
  • Size the inductor for both corners: Vin(max) in buck mode and Vin(min) in boost mode.
  • Only two switches carry current at any time, so efficiency stays high across the whole range.

What Is a Four-Switch Buck-Boost Converter?

A four-switch buck-boost converter is a synchronous DC-DC converter made of a buck converter stage and a boost converter stage that share one inductor. The input half-bridge (Q1 and Q2) is the buck leg, and the output half-bridge (Q3 and Q4) is the boost leg. A controller decides which leg switches based on how Vin compares to Vout.

It is also called a non-inverting buck-boost, an H-bridge buck-boost or a synchronous buck-boost. Unlike the inverting buck-boost converter, its output has the same polarity as the input. Unlike the SEPIC, it needs no coupling capacitor or second inductor, and it handles much higher power, from a few watts in phones to several hundred watts in USB-PD chargers and automotive systems.

+VinCin Q1Q2Q3Q4 SW1SW2 LI_L VoutCoutLoad Buck leg (input half-bridge)Boost leg (output half-bridge)
Four-switch buck-boost converter: the input half-bridge Q1/Q2 (buck leg) and the output half-bridge Q3/Q4 (boost leg) share one inductor L.

How a Four-Switch Buck-Boost Converter Works

At any instant, one switch in each half-bridge is on. That gives only three useful switch combinations, called phases:

PhaseSwitches onVoltage across LWhat happens
AQ1 + Q3+VinVin charges the inductor straight to ground. Cout alone feeds the load.
BQ1 + Q4Vin − VoutCurrent flows from Vin through L directly to the output. It rises if Vin is above Vout and falls if Vin is below Vout.
CQ2 + Q4−VoutL freewheels through Q2 and pushes its stored energy into the output.

The controller combines these phases differently depending on the input voltage. That gives three operating modes.

Buck mode (Vin well above Vout)

Q4 stays fully on and Q3 stays off, so the output half-bridge is just a closed switch. Q1 and Q2 switch exactly like a synchronous buck, alternating phases B and C. The output is Vout = D1 × Vin.

Boost mode (Vin well below Vout)

Q1 stays fully on and Q2 stays off, so the input half-bridge is just a closed switch. Q3 and Q4 switch like a synchronous boost, alternating phases A and B. The output is Vout = Vin / (1 − D3).

Buck-boost mode (Vin close to Vout)

When Vin is close to Vout, pure buck mode would need a duty cycle near 100% and pure boost mode a duty cycle near 0%. Real controllers cannot make on-times or off-times that short. So in this transition region, both legs switch and every cycle runs through phases A, B and C. The general gain formula, which covers all three modes, comes from volt-second balance on the inductor:

Vin × D3 + (Vin − Vout) × (D1 − D3) − Vout × (1 − D1) = 0 → Vout = Vin × D1 / (1 − D3)

Set D3 = 0 and you get the buck formula. Set D1 = 1 and you get the boost formula.

Q1Q2Q3Q4I_LBuck mode (Vin above Vout)Buck-boost (Vin close to Vout)Boost mode (Vin below Vout)High = switch on. One switching period per panel.
Switch timing in the three modes. In buck mode only Q1/Q2 switch; in boost mode only Q3/Q4 switch; in buck-boost mode all four switch every cycle, producing phases A, B and C.

Four-Switch Buck-Boost Design Equations

A four-switch buck-boost must work at both ends of the input range, so you check each component at its own worst-case corner.

ParameterFormulaWorst case
General gainVout = Vin × D1 / (1 − D3)—
Buck mode dutyD1 = Vout / VinVin(max)
Boost mode dutyD3 = 1 − Vin / VoutVin(min)
Buck-side inductorL = Vout × (Vin(max) − Vout) / (Vin(max) × fsw × r × Iout)Vin(max)
Boost-side inductorL = Vin(min) × D3 / (fsw × r × IL), IL = Iout / (1 − D3)Vin(min)
Inductor choiceUse the larger of the two values—
Peak inductor currentIpk = Iout / (1 − D3) + ΔI / 2Vin(min), boost mode
Output capacitanceCout ≥ Iout × D3 / (fsw × ΔVout)Vin(min), boost mode
Input capacitanceCin ≥ Iout × D1 × (1 − D1) / (fsw × ΔVin)Buck mode, D1 near 50%
Q1, Q2 voltage ratingVin(max) + 30% marginVin(max)
Q3, Q4 voltage ratingVout + 30% margin—
RHP zerofRHP = (1 − D3)² × Rload / (2π × L)Vin(min), full load

Four-Switch Buck-Boost Design Example: 6–18 V to 12 V, 2 A

Let us design a 12 V, 2 A (24 W) supply that runs from any input between 6 V and 18 V, for example an automotive accessory that must survive cold-crank and load dump. The same values are loaded in the live calculator below.

SpecificationValue
Input voltage6 V to 18 V
Output voltage12 V
Output current2 A (24 W)
Switching frequency400 kHz
Ripple ratio30% of inductor current
Output ripple target50 mV peak-to-peak
Input ripple target100 mV peak-to-peak
Transition limitsBuck leg max duty 85%, boost leg min duty 15%
MOSFETsFour N-channel, 10 mΩ, 10 nC

Step 1: Find the mode boundaries

Buck mode while Vin ≥ Vout / 0.85 = 14.1 V, boost mode while Vin ≤ Vout × (1 − 0.15) = 10.2 V

So this converter runs as a boost from 6 V to 10.2 V, in buck-boost mode from 10.2 V to 14.1 V, and as a buck from 14.1 V to 18 V.

Step 2: Inductor for the buck corner (Vin = 18 V)

L = 12 × (18 − 12) / (18 × 400 kHz × 0.3 × 2 A) = 16.7 µH

Step 3: Inductor for the boost corner (Vin = 6 V)

D3 = 1 − 6/12 = 0.5, IL = 2 / (1 − 0.5) = 4 A, L = 6 × 0.5 / (400 kHz × 0.3 × 4 A) = 6.25 µH

Take the larger value and round up: 18 µH.

Step 4: Inductor current rating

Boost corner: Ipk = 4 + 0.42 / 2 = 4.21 A, buck corner: Ipk = 2 + 0.56 / 2 = 2.28 A

The boost corner sets the rating. Choose a saturation current of at least 5.3 A (1.25 × 4.21 A) and an RMS rating above 4 A. Many designers miss this, because the output is only 2 A.

Step 5: Output capacitor

Boost corner: Cout ≥ 2 × 0.5 / (400 kHz × 50 mV) = 50 µF, ESR ≤ 50 mV / 4.21 A = 11.9 mΩ

In buck mode only 3.5 µF would be needed, but boost mode sends pulsed current into the output. Use 100 µF rated 25 V, for example 4 × 22 µF X7R ceramics plus a small bulk capacitor. The output capacitor carries 2 A rms at Vin(min).

Step 6: Input capacitor

Buck mode, worst near D1 = 0.67: Cin ≥ 2 × 0.67 × 0.33 / (400 kHz × 100 mV) = 11.1 µF

Use 22 µF rated 35 V (above 1.5 × 18 V), rated for about 1 A rms ripple current.

Step 7: MOSFET selection

Q1 and Q2 block the input voltage, so with 30% margin they need 25 V (use 30 V or 40 V for automotive transients). Q3 and Q4 block the output, so they need 20 V minimum. Pay attention to current: at 6 V input, Q1 stays on and carries the full 4 A inductor current, so it needs the lowest Rds(on).

Step 8: Right-half-plane zero

At 6 V input, full load: fRHP = (1 − 0.51)² × 6 Ω / (2π × 18 µH) = 12.7 kHz

Set the loop crossover below about 2.5 kHz to stay stable at the worst corner. In buck mode there is no RHP zero, so the same loop is very stable there.

Four-Switch Buck-Boost Loss and Efficiency Analysis

A big advantage of the four-switch topology is that only two MOSFETs carry the inductor current at any moment, and in buck or boost mode only two of them switch. Losses depend on the operating point:

Operating point (2 A load)ModeDuty cyclesTotal lossEfficiency
Vin = 6 VBoostD1 = 100%, D3 = 51%0.77 W96.9%
Vin = 9 VBoostD1 = 100%, D3 = 26%0.41 W98.3%
Vin = 12 VBuck-boostD1 = 92%, D3 = 8%0.45 W98.1%
Vin = 18 VBuckD1 = 67%, D3 = 0%0.34 W98.6%

At 12 V input, the loss breaks down like this:

Loss sourcePower
Q1 conduction + switching44 mW + 113 mW
Q2 conduction3 mW
Q3 conduction + switching4 mW + 114 mW
Q4 conduction44 mW
Gate drive (all four switching)80 mW
Inductor DCR47 mW
Capacitor ESR3 mW
Total0.45 W (98.1%)

Notice the small efficiency dip in buck-boost mode compared with pure buck at 18 V. Both legs switch every cycle, so switching and gate losses roughly double. That is why controllers keep the buck-boost window as narrow as their minimum on-time and off-time allow. The worst efficiency is at Vin(min), where the inductor current is double the output current. These figures leave out core loss, dead-time and body-diode losses, so expect real hardware to be one to two points lower.

Tip: Q1 is static-on in boost mode and Q4 is static-on in buck mode, so each one needs low Rds(on). Q2 and Q3 conduct only briefly near the transition. You can often save cost by using smaller MOSFETs for Q2 and Q3.

Operating Modes: CCM, DCM and Forced PWM

  • Continuous Conduction Mode (CCM): the inductor current never reaches zero. The gain formula holds in all three regions.
  • Discontinuous Conduction Mode (DCM): with diode emulation, Q2 and Q4 turn off when the current reaches zero, so it rests at zero for part of each cycle. Light-load efficiency improves. Many controllers go further and skip pulses (PSM or Burst Mode).
  • Forced PWM (FPWM): the inductor current is allowed to go negative at light load. The frequency stays fixed, which matters for EMI-sensitive designs such as automotive radios, but light-load efficiency drops.

In the example, the CCM/DCM boundary falls at roughly 0.1 to 0.3 A, depending on the input voltage. Drag the load and input sliders in the calculator to watch the converter change mode.

The Right-Half-Plane Zero in a 4SBB

In boost and buck-boost mode, energy reaches the output only when Q4 is on. Increasing D3 to deliver more power first shortens Q4’s on-time, so the output dips briefly before recovering. This is the boost converter’s right-half-plane zero, at fRHP = (1 − D3)² × Rload / (2π × L). It is lowest at Vin(min) and full load. In buck mode D3 is zero and the RHP zero disappears. Most four-switch controllers use peak or average current-mode control with slope compensation to handle the changing loop across all three modes.

Transition Control Strategies

Different controllers handle the buck-boost region in different ways:

  • Blended (three-phase) control: every cycle runs phases A, B and C, with the boost duty fading in as Vin drops. This is the method used in the calculator.
  • Alternating cycles: the controller alternates buck cycles and boost cycles, for example one boost cycle every few buck cycles. This has lower switching loss but more ripple.
  • Four-phase control: adds a Q2 + Q3 phase to keep the inductor current centred, used in some high-power USB-PD and bidirectional designs.

Whatever the method, the goal is a smooth handover with no output glitch when Vin crosses Vout.

4SBB vs SEPIC vs Inverting Buck-Boost

FeatureFour-switch buck-boostSEPICInverting buck-boost
Output polarityPositivePositiveNegative
Step up and downYesYesYes
MagneticsOne inductorTwo inductors or coupled inductorOne inductor
SwitchesFour MOSFETsOne MOSFET + diodeOne MOSFET + diode
Typical efficiency95 to 98%85 to 92%88 to 95%
Switch voltage stressVin or VoutVin + VoutVin + |Vout|
Typical power5 W to 500 WUnder about 30 WUnder about 30 W
Best forBatteries, USB-PD, automotiveSimple low-power LED and sensor railsNegative rails for op-amps and bias

If your input always stays on one side of the output, a simple buck converter or boost converter is cheaper and simpler. If you need a negative output instead, see our inverting buck-boost converter design guide and calculator.

PCB Layout Tips for Four-Switch Buck-Boost Converters

  • There are two hot loops. The input loop (Cin, Q1, Q2) is active in buck mode, and the output loop (Cout, Q3, Q4) is active in boost mode. Make both as small as possible, each with its own small ceramic capacitor.
  • Keep both switch nodes small. SW1 and SW2 are both fast-switching nodes.
  • Route the current-sense resistor with Kelvin connections. Most 4SBB controllers sense the inductor current with a resistor in the ground return or in series with the inductor.
  • Place the two bootstrap capacitors right next to the controller’s boot pins for Q1 and Q4.
  • Use a solid ground plane and connect power ground and signal ground at a single point near the controller.

Common Four-Switch Buck-Boost Design Mistakes

  • Sizing the inductor only for the buck corner and saturating it at Vin(min).
  • Choosing the output capacitor from buck-mode ripple and getting large ripple in boost mode.
  • Ignoring that Q1 carries the full inductor current continuously in boost mode.
  • Setting the loop crossover for buck mode and going unstable in boost mode because of the RHP zero.
  • Forgetting the input transient range: automotive inputs need MOSFETs and capacitors rated well above the normal maximum.
  • Using a 4SBB where the input never crosses the output. A plain buck or boost would be simpler and cheaper.

Four-Switch Buck-Boost Design Checklist

  1. Define Vin(min), Vin(max), Vout, Iout, ripple targets and fsw.
  2. Find the buck and boost mode boundaries from the controller’s duty limits.
  3. Calculate L for the buck corner at Vin(max) and the boost corner at Vin(min). Use the larger value.
  4. Rate the inductor for the boost-corner peak current.
  5. Size Cout for boost mode and Cin for buck mode.
  6. Rate Q1/Q2 for Vin(max) and Q3/Q4 for Vout, with margin.
  7. Pick low-Rds(on) parts for Q1 and Q4.
  8. Estimate losses at Vin(min), Vin = Vout and Vin(max).
  9. Set the loop crossover below fRHP / 5 at Vin(min), full load.
  10. Lay out both hot loops tightly and test across the full input range.

Try the Live Four-Switch Buck-Boost Design Calculator

Use the calculator below to design your own four-switch buck-boost converter. Enter the input range, output, load, frequency and MOSFET data, then slide the operating input voltage across Vout. It sizes the inductor and capacitors for the whole input range, shows which switches are on in each phase, gives the voltage, current, loss and temperature of every MOSFET, finds the RHP zero, and animates the live circuit and the switch-node, inductor current and output ripple waveforms.

Four-Switch Buck-Boost Converter Design Calculator

Enter your specs. Slide the operating input voltage across Vout to watch the converter move between buck, buck-boost and boost modes. Every value updates live.

1. Specifications
2. Control and devices
3. Operating point

    Live circuit

    Switching period: which switches are on

    A: Q1 + Q3 (L charges from Vin)B: Q1 + Q4 (Vin to output through L)C: Q2 + Q4 (L freewheels to output)Idle (DCM)
    Duty cycles
    Inductor ripple ΔI
    Output ripple
    Input current
    RHP zero

    Component value selection (whole input range)

    Inductor L
    Inductor current rating
    Output capacitor
    Input capacitor
    Input-side MOSFETs Q1, Q2
    Output-side MOSFETs Q3, Q4

    Voltage and current of each device

    Power, losses and temperature

    Efficiency
    Pout ÷ Pin at this operating point.
    Input power
    Total loss
    Hottest MOSFET
    Q1Q2Q3Q4Inductor DCRCapacitor ESR

    Live waveforms

    Estimates for first-pass design. The buck-boost region uses a blended three-phase control (A, B, C) similar to many four-switch controllers; your controller’s exact transition scheme may differ. Core loss, dead-time, body-diode conduction and layout parasitics are not modeled, so expect real efficiency a little lower. Confirm with your controller datasheet.

    Four-Switch Buck-Boost Converter FAQ

    What is a four-switch buck-boost converter?
    A four-switch buck-boost converter is a synchronous, non-inverting DC-DC converter that keeps a positive output voltage constant whether the input is above, equal to or below it. It uses two half-bridges (Q1/Q2 and Q3/Q4) around a single inductor and typically reaches 95 to 98% efficiency.
    How does a four-switch buck-boost converter work?
    When Vin is above Vout, Q4 stays on and Q1/Q2 switch as a buck. When Vin is below Vout, Q1 stays on and Q3/Q4 switch as a boost. When Vin is close to Vout, all four switches run every cycle in a buck-boost mode so the controller never needs impossibly short on-times or off-times.
    What is the output voltage formula of a four-switch buck-boost?
    Vout = Vin × D1 / (1 − D3), where D1 is the duty cycle of the input (buck) leg and D3 is the duty cycle of the output (boost) leg. In buck mode D3 = 0, so Vout = D1 × Vin. In boost mode D1 = 1, so Vout = Vin / (1 − D3).
    How do you choose the inductor for a four-switch buck-boost?
    Calculate the inductance for the buck corner at Vin(max) and for the boost corner at Vin(min), then use the larger value. Rate the saturation current for the boost corner, where the inductor current is Iout / (1 − D3). For 6–18 V to 12 V at 2 A and 400 kHz, this gives 18 µH with at least 5.3 A saturation current.
    Why does the four-switch buck-boost need a bigger output capacitor in boost mode?
    In boost mode, Q4 delivers current to the output only during part of each cycle, so the output capacitor alone supplies the load the rest of the time. The required capacitance is Cout ≥ Iout × D3 / (fsw × ΔVout), which is much larger than the buck-mode requirement.
    What voltage rating do the MOSFETs need in a four-switch buck-boost?
    The input-side MOSFETs Q1 and Q2 must block the maximum input voltage, and the output-side MOSFETs Q3 and Q4 must block the output voltage. Add at least 30% margin, and more for automotive inputs that see load-dump transients.
    Is a four-switch buck-boost better than a SEPIC?
    For efficiency and power, usually yes. A four-switch buck-boost uses one inductor, no coupling capacitor, and switches that only see Vin or Vout, so it reaches 95 to 98% efficiency at tens to hundreds of watts. A SEPIC is simpler with one switch, but its switch sees Vin + Vout and efficiency is typically 85 to 92%.
    Does a four-switch buck-boost have a right-half-plane zero?
    Only in boost and buck-boost mode. The RHP zero is at fRHP = (1 − D3)² × Rload / (2π × L) and is lowest at minimum input voltage and full load. In buck mode there is no RHP zero, so the control loop must be designed for the boost-mode worst case.
    What is the buck-boost transition region?
    It is the range of input voltages close to Vout where pure buck mode would need a duty cycle near 100% and pure boost mode a duty cycle near 0%. Controllers handle it by switching both legs every cycle, by alternating buck and boost cycles, or with four-phase control.
    Where are four-switch buck-boost converters used?
    They are used wherever the input can go above and below the output: battery-powered devices running from 2S to 4S lithium cells, USB Power Delivery chargers and power banks, automotive systems that must survive cold-crank and load dump, solar charge controllers and supercapacitor backup supplies.

    Leave a Reply

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

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    electronics believer