
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.
- 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.
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:
| Phase | Switches on | Voltage across L | What happens |
|---|---|---|---|
| A | Q1 + Q3 | +Vin | Vin charges the inductor straight to ground. Cout alone feeds the load. |
| B | Q1 + Q4 | Vin − Vout | Current flows from Vin through L directly to the output. It rises if Vin is above Vout and falls if Vin is below Vout. |
| C | Q2 + Q4 | −Vout | L 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.
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.
| Parameter | Formula | Worst case |
|---|---|---|
| General gain | Vout = Vin × D1 / (1 − D3) | — |
| Buck mode duty | D1 = Vout / Vin | Vin(max) |
| Boost mode duty | D3 = 1 − Vin / Vout | Vin(min) |
| Buck-side inductor | L = Vout × (Vin(max) − Vout) / (Vin(max) × fsw × r × Iout) | Vin(max) |
| Boost-side inductor | L = Vin(min) × D3 / (fsw × r × IL), IL = Iout / (1 − D3) | Vin(min) |
| Inductor choice | Use the larger of the two values | — |
| Peak inductor current | Ipk = Iout / (1 − D3) + ΔI / 2 | Vin(min), boost mode |
| Output capacitance | Cout ≥ Iout × D3 / (fsw × ΔVout) | Vin(min), boost mode |
| Input capacitance | Cin ≥ Iout × D1 × (1 − D1) / (fsw × ΔVin) | Buck mode, D1 near 50% |
| Q1, Q2 voltage rating | Vin(max) + 30% margin | Vin(max) |
| Q3, Q4 voltage rating | Vout + 30% margin | — |
| RHP zero | fRHP = (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.
| Specification | Value |
|---|---|
| Input voltage | 6 V to 18 V |
| Output voltage | 12 V |
| Output current | 2 A (24 W) |
| Switching frequency | 400 kHz |
| Ripple ratio | 30% of inductor current |
| Output ripple target | 50 mV peak-to-peak |
| Input ripple target | 100 mV peak-to-peak |
| Transition limits | Buck leg max duty 85%, boost leg min duty 15% |
| MOSFETs | Four 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 VSo 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 µHStep 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 µHTake 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 AThe 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 µFUse 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 kHzSet 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) | Mode | Duty cycles | Total loss | Efficiency |
|---|---|---|---|---|
| Vin = 6 V | Boost | D1 = 100%, D3 = 51% | 0.77 W | 96.9% |
| Vin = 9 V | Boost | D1 = 100%, D3 = 26% | 0.41 W | 98.3% |
| Vin = 12 V | Buck-boost | D1 = 92%, D3 = 8% | 0.45 W | 98.1% |
| Vin = 18 V | Buck | D1 = 67%, D3 = 0% | 0.34 W | 98.6% |
At 12 V input, the loss breaks down like this:
| Loss source | Power |
|---|---|
| Q1 conduction + switching | 44 mW + 113 mW |
| Q2 conduction | 3 mW |
| Q3 conduction + switching | 4 mW + 114 mW |
| Q4 conduction | 44 mW |
| Gate drive (all four switching) | 80 mW |
| Inductor DCR | 47 mW |
| Capacitor ESR | 3 mW |
| Total | 0.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.
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
| Feature | Four-switch buck-boost | SEPIC | Inverting buck-boost |
|---|---|---|---|
| Output polarity | Positive | Positive | Negative |
| Step up and down | Yes | Yes | Yes |
| Magnetics | One inductor | Two inductors or coupled inductor | One inductor |
| Switches | Four MOSFETs | One MOSFET + diode | One MOSFET + diode |
| Typical efficiency | 95 to 98% | 85 to 92% | 88 to 95% |
| Switch voltage stress | Vin or Vout | Vin + Vout | Vin + |Vout| |
| Typical power | 5 W to 500 W | Under about 30 W | Under about 30 W |
| Best for | Batteries, USB-PD, automotive | Simple low-power LED and sensor rails | Negative 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
- Define Vin(min), Vin(max), Vout, Iout, ripple targets and fsw.
- Find the buck and boost mode boundaries from the controller’s duty limits.
- Calculate L for the buck corner at Vin(max) and the boost corner at Vin(min). Use the larger value.
- Rate the inductor for the boost-corner peak current.
- Size Cout for boost mode and Cin for buck mode.
- Rate Q1/Q2 for Vin(max) and Q3/Q4 for Vout, with margin.
- Pick low-Rds(on) parts for Q1 and Q4.
- Estimate losses at Vin(min), Vin = Vout and Vin(max).
- Set the loop crossover below fRHP / 5 at Vin(min), full load.
- 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.
Live circuit
Switching period: which switches are on
Component value selection (whole input range)
Voltage and current of each device
Power, losses and temperature
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.
