Inverting buck-boost converter schematic with negative output and switching waveforms
Posted in

Inverting Buck-Boost Converter Design and Analysis: Guide + Calculator

An inverting buck-boost converter turns a positive DC voltage into a negative DC voltage, and the size of that negative output can be lower, equal to or higher than the input. Turning +12 V into −12 V, or +5 V into −5 V, is its classic job. It creates the negative rails for op-amps, audio circuits, LCD and OLED bias, sensor front ends, data converters and RS-232 drivers, all from a single positive supply. In this guide you will learn inverting buck-boost converter analysis and design step by step: how it works, the duty cycle and gain formula, inductor and capacitor sizing, MOSFET and diode selection, power loss and efficiency, CCM and DCM, the right-half-plane zero, and how to build one from an ordinary buck regulator IC. A complete worked example and a live calculator are included.

Key takeaways
  • The output is negative: Vout = −Vin × D / (1 − D).
  • Below D = 50% it steps down, at 50% the magnitude equals Vin, and above 50% it steps up.
  • The inductor carries Iin + Iout, which is Iout / (1 − D).
  • The switch and diode must block Vin + |Vout|, not just Vin.
  • Both the input and output currents are pulsed, so both capacitors work hard.
  • Like the boost, it has a right-half-plane zero that limits loop speed.
  • You can build one with a standard buck regulator IC by connecting the IC ground to the negative output.

What Is an Inverting Buck-Boost Converter?

The inverting buck-boost is one of the three basic non-isolated switching converters, alongside the buck (step-down) and the boost converter (step-up). It uses the same four parts as a buck converter (a switch, a diode, an inductor and a capacitor), but the inductor is connected from the switch node to ground instead of to the output. That one change flips the polarity of the output.

The word “inverting” separates it from the non-inverting buck-boost family (the four-switch buck-boost and the SEPIC), which keeps a positive output. When people say just “buck-boost converter” in textbooks, they usually mean this inverting version.

++VinCin Q1PWM SWLI_L D1 / Q2−VoutCoutLoad −+ GND (0 V)
Inverting buck-boost converter: high-side switch Q1, inductor L from the switch node to ground, diode D1 (or synchronous MOSFET Q2) pointing toward the switch node, and the output capacitor with its positive side on ground.

How an Inverting Buck-Boost Converter Works

The controller switches Q1 on and off at a fixed frequency (fsw), usually 100 kHz to 2 MHz. Unlike the buck and the boost, the inductor never connects the input directly to the output. Energy is always stored first, then delivered. That is why it can both step down and step up.

1. Switch ON (Q1 closed): storing energy

Q1 connects the switch node to +Vin. The full input voltage appears across the inductor, so its current ramps up from the switch node to ground and energy builds in its magnetic field. The diode is reverse biased, because its cathode is at +Vin and its anode is at the negative output. During this time the input is disconnected from the output, and the output capacitor alone feeds the load.

2. Switch OFF (Q1 open): delivering energy to the negative output

When Q1 turns off, the inductor keeps its current flowing toward ground. To do that it pulls the switch node below ground until the diode turns on. The current now circulates through the load, the output capacitor and the diode. Because current flows up from ground through the load into the output node, the output becomes negative. The inductor sees −|Vout| across it, so its current ramps down.

Volt-second balance and the gain formula

Vin × D × T = |Vout| × (1 − D) × T → |Vout| / Vin = D / (1 − D) → D = |Vout| / (Vin + |Vout|)

So the output is Vout = −Vin × D / (1 − D):

Duty cycle D|Vout| / VinExample with +12 V inBehavior
25%0.33−4 VSteps down
50%1.00−12 VSame magnitude
67%2.00−24 VSteps up
80%4.00−48 VSteps up, losses rising

In a real converter D is a little higher because the switch resistance, inductor DCR and diode drop all steal voltage.

V_SW +Vin0 V−|Vout| D × T(1 − D) × T I_L (= Iin + Iout on average)IL I_Q1 (input current, pulsed)0 A I_D (output current, pulsed)0 A
Switch node voltage, inductor current, switch (input) current and diode (output) current in continuous conduction mode. Both the input and the output see chopped, pulsed current.

Inverting Buck-Boost Design Equations

Use these formulas for every design. Size the inductor and switch at Vin(min), where duty cycle and inductor current are highest, and check voltage ratings at Vin(max). |Vout| is the size of the output voltage without the minus sign.

ParameterFormulaNotes
Duty cycleD = (|Vout| + Vf) / (Vin + |Vout| + Vf)Vf = 0 for a synchronous design
Output voltageVout = −Vin × D / (1 − D)Negative with respect to GND
Inductor currentIL = Iout / (1 − D) = Iin + IoutUse Vin(min) for the worst case
Ripple currentΔI = r × ILRipple ratio r = 0.2 to 0.4
InductanceL = Vin × D / (fsw × ΔI)Round up to a standard value
Peak currentIpk = IL + ΔI / 2Choose Isat ≥ 1.25 × Ipk
Switch and diode voltageV = Vin(max) + |Vout| + VfAdd at least 30% margin
Output capacitanceCout ≥ Iout × D / (fsw × ΔVout)Cout alone feeds the load during D × T
Output cap ESRESR ≤ ΔVout / IpkPulsed current makes ESR critical
Output ripple currentICout(rms) = Iout × √(D / (1 − D))Equals Iout at D = 50%
Input capacitanceCin ≥ Iout × D / (fsw × ΔVin)Input current is pulsed, like a buck
Input ripple currentICin(rms) = Iout × √(D / (1 − D))Same as the output capacitor
CCM/DCM boundaryIout(crit) = (1 − D) × ΔI / 2Below this load, current reaches zero
RHP zerofRHP = (1 − D)² × Rload / (2π × D × L)Keep loop crossover below fRHP / 5

Inverting Buck-Boost Design Example: +12 V to −12 V, 1 A

Let us design a −12 V, 1 A supply from a 12 V rail, a common job for powering op-amps and audio circuits. The same values are loaded in the live calculator below, so you can follow along and change anything.

SpecificationValue
Input voltage12 V nominal (10.8 V to 13.2 V)
Output voltage−12 V
Output current1 A (12 W)
Switching frequency500 kHz
Ripple ratio30% of inductor current
Output ripple target50 mV peak-to-peak
Input ripple target100 mV peak-to-peak
TopologyAsynchronous: MOSFET Q1 (20 mΩ) and Schottky diode (Vf 0.45 V)

Step 1: Duty cycle at minimum input

D = (12 + 0.45) / (10.8 + 12 + 0.45) = 0.536

At the nominal 12 V input the ideal duty cycle is exactly 50%, or 51.2% with losses included.

Step 2: Inductor current

IL = Iout / (1 − D) = 1 / (1 − 0.536) = 2.15 A

The inductor carries more than twice the output current, because it delivers the input current and the output current at different times in each cycle.

Step 3: Inductor value

Target ripple: ΔI = 0.30 × 2.15 A = 0.65 A.

L = Vin(min) × D / (fsw × ΔI) = 10.8 × 0.536 / (500 kHz × 0.65 A) = 17.9 µH

Round up to the next standard value: 18 µH.

Step 4: Inductor current rating

Ipk = IL + ΔI / 2 = 2.15 + 0.64 / 2 = 2.47 A

Choose an inductor with a saturation current of at least 3.1 A (1.25 × Ipk) and an RMS rating above 2.2 A.

Step 5: MOSFET and diode voltage rating

This is where inverting designs catch people out. When Q1 is on, the diode blocks Vin + |Vout|. When Q1 is off, the switch node sits at −12.45 V while Q1’s other end is at +13.2 V, so Q1 blocks the sum:

V = Vin(max) + |Vout| + Vf = 13.2 + 12 + 0.45 = 25.65 V

With 30% margin, use 40 V MOSFETs and a 40 V Schottky diode, even though no voltage in the circuit is labelled higher than 13.2 V.

Step 6: Output capacitor

Cout ≥ Iout × D / (fsw × ΔVout) = 1 × 0.536 / (500 kHz × 50 mV) = 21.4 µF ESR ≤ 50 mV / 2.47 A = 20 mΩ, ICout(rms) = 1 × √(0.536 / 0.464) = 1.07 A

With DC-bias margin, use 33 µF rated 25 V. The calculated ripple is about 40 mV. If you use a polarized (electrolytic or tantalum) capacitor, its positive lead goes to GND and its negative lead to the −12 V output.

Step 7: Input capacitor

Cin ≥ Iout × D / (fsw × ΔVin) = 1 × 0.536 / (500 kHz × 100 mV) = 10.7 µF, ICin(rms) = 1.07 A

Use 22 µF rated 25 V (X5R or X7R), placed tight against Q1. Unlike a boost, the input current here is chopped, so the input capacitor carries over 1 A rms.

Step 8: Right-half-plane zero

fRHP = (1 − D)² × Rload / (2π × D × L) = (0.488)² × 12 Ω / (2π × 0.512 × 18 µH) = 49 kHz

Keep the control loop crossover below about 10 kHz.

Inverting Buck-Boost Loss and Efficiency Analysis

The inverting buck-boost combines the hard parts of the buck and the boost. The switch must swing the full Vin + |Vout| on every edge, and the inductor carries Iin + Iout.

  • Q1 conduction loss: IQ1(rms)² × Rds(on).
  • Q1 switching loss: ½ × (Vin + |Vout| + Vf) × t(edge) × fsw × (Ion + Ioff). The larger voltage swing makes this bigger than in a buck or boost.
  • Coss loss: ½ × Coss × (Vin + |Vout|)² × fsw.
  • Gate drive loss: Qg × Vdrive × fsw for each MOSFET. Q1 is high-side, so it needs a bootstrap or P-channel drive.
  • Diode loss (asynchronous): Vf × Iout.
  • Inductor copper loss: IL(rms)² × DCR, plus core loss.
  • Capacitor ESR loss: in both Cin and Cout, since both carry pulsed current.

For our example with 10 ns edges, 8 nC gate charge, 300 pF Coss and a 20 mΩ inductor at 12 V input:

Loss sourceAsynchronous (Schottky, Vf 0.45 V)Synchronous (Q2 MOSFET, 20 mΩ)
Q1 conduction43 mW41 mW
Q1 switching + Coss295 mW285 mW
Gate drive20 mW40 mW
D1 forward drop / Q2 conduction449 mW41 mW
Inductor DCR85 mW82 mW
Capacitor ESR11 mW10 mW
Total loss0.90 W0.50 W
Efficiency at 1 A93.0%96.0%
Input current1.08 A1.04 A

Notice how big the switching loss is: about a third of the total. Compared with a 12 V to 5 V buck, Q1 here switches twice the voltage (24 V) while carrying about twice the current, so its switching loss is much higher for the same output power. That makes fast MOSFETs and a moderate switching frequency more important here than in a buck.

Tip: For low output currents (under about 100 mA), a charge pump inverter (such as the classic ICL7660-style circuits) is simpler and needs no inductor. Choose an inductor-based inverting buck-boost when you need more current, higher efficiency, or an output magnitude different from Vin.

Operating Modes: CCM, BCM and DCM

  • Continuous Conduction Mode (CCM): inductor current never reaches zero. Vout = −Vin × D / (1 − D) holds and the equations above apply.
  • Boundary Conduction Mode (BCM): the current just touches zero each cycle, at a load of (1 − D) × ΔI / 2. In our example that is about 0.17 A.
  • Discontinuous Conduction Mode (DCM): below the boundary, the current stays at zero for part of each cycle. The duty cycle now depends on the load: D = √(2 × L × fsw × Iout × |Vout|) / Vin. The switch node rings around 0 V while idle.
  • Forced PWM (FPWM): a synchronous design that keeps Q2 on for the whole off-time lets the inductor current go negative, pulling energy back from the output. Ripple stays low and frequency fixed, but light-load efficiency drops.

Drag the load slider in the calculator below to watch the circuit and waveforms move between these modes.

The Right-Half-Plane Zero

Just like the boost, the inverting buck-boost only delivers energy to the output while the switch is off. When the load jumps up, the controller increases the duty cycle, which shortens the off-time, so for a few cycles the output actually gets less energy and Vout dips before it recovers. This wrong-way response is the right-half-plane zero at fRHP = (1 − D)² × Rload / (2π × D × L). It falls at heavy load, at high duty cycle and with large inductors. Keep the loop crossover below about fRHP / 5 and use current-mode control where possible.

Using a Buck Regulator IC as an Inverting Buck-Boost

You rarely need a dedicated “inverting” chip. Many synchronous buck regulator ICs can be rewired as an inverting buck-boost. This is a very common, low-cost way to make a negative rail:

  1. Connect the buck IC’s VIN pin to +Vin and its GND pin to −Vout instead of system ground.
  2. The buck’s output (the inductor’s far end) now goes to system GND.
  3. The feedback divider connects from system GND to the IC’s GND (−Vout), so the IC regulates the voltage between its “output” and its “ground”, which is |Vout|.
  4. Place an input capacitor from +Vin to the IC’s GND pin (−Vout), not only to system ground.

Keep these limits in mind:

  • The IC sees Vin + |Vout| across its VIN and GND pins. A 12 V to −12 V design needs an IC rated above 26 V.
  • The maximum output current is lower than the IC’s buck rating. With a switch current limit ILIM, Iout(max) ≈ (ILIM − ΔI / 2) × (1 − D).
  • Logic pins (EN, PGOOD) are referenced to −Vout, so they may need level shifting to work with your system ground.
  • Many manufacturers publish application notes for exactly this configuration. Check that your chosen IC supports it.

Inverting Buck-Boost vs Buck vs Boost

FeatureBuckBoostInverting buck-boost
Output polarityPositivePositiveNegative
Output magnitudeLower than VinHigher than VinLower, equal or higher
Ideal gainD1 / (1 − D)−D / (1 − D)
Inductor currentIoutIinIin + Iout
Switch voltageVinVoutVin + |Vout|
Pulsed currentInputOutputInput and output
RHP zeroNoYesYes
Short-circuit protectionEasyHardEasy (Q1 disconnects input)

If you need a positive output that can be above or below the input, look at the four-switch (non-inverting) buck-boost or the SEPIC instead. For a step-down only design, see our buck converter design guide and calculator. For a step-up only design, see our boost converter design guide and calculator.

PCB Layout Tips for Inverting Buck-Boost Converters

  • There are two hot loops. Keep both small: Cin to Q1 to the diode (input side), and the diode to Cout (output side). A good layout places Cin, Q1, the diode and Cout in a tight cluster.
  • Keep the switch node small. It swings from +Vin to −|Vout|, the largest swing of the three basic converters.
  • Check capacitor polarity twice. On a negative rail, a polarized capacitor’s positive terminal connects to GND.
  • Route feedback carefully. If your controller is ground-referenced, the negative output needs an inverting feedback network or a controller made for negative outputs.
  • Use a solid ground plane and keep the negative output plane separate from sensitive analog ground until a single connection point.

Common Inverting Buck-Boost Design Mistakes

  • Rating the MOSFET and diode for Vin instead of Vin + |Vout|.
  • Sizing the inductor for Iout instead of Iin + Iout.
  • Installing a polarized output capacitor backwards.
  • Using a buck IC whose voltage rating is below Vin + |Vout|.
  • Expecting the full buck current rating from a buck IC used in inverting mode.
  • Forgetting that both Cin and Cout need high ripple current ratings.
  • Setting the loop crossover too high and ignoring the RHP zero.

Inverting Buck-Boost Design Checklist

  1. Define Vin range, Vout (negative), Iout, ripple targets and fsw.
  2. Calculate D at Vin(min) and check the controller’s on-time and off-time limits.
  3. Calculate the inductor current IL = Iout / (1 − D).
  4. Choose a ripple ratio (30%) and calculate L. Round up to a standard value.
  5. Pick Isat ≥ 1.25 × Ipk.
  6. Rate Q1 and the diode or Q2 for Vin(max) + |Vout| + Vf with 30% margin.
  7. Size Cout and Cin for capacitance, ESR and ripple current. Check polarity.
  8. Estimate losses, efficiency and junction temperatures.
  9. Calculate fRHP and set the loop crossover below fRHP / 5.
  10. Lay out both hot loops tightly and test with real load.

Try the Live Inverting Buck-Boost Design Calculator

Use the calculator below to design your own negative-output converter. Enter the input voltage range, the output magnitude, load current, frequency and device parameters. It instantly selects the inductor and capacitors, shows the voltage and current stress on every device, breaks down power loss and efficiency, estimates junction temperatures, finds the RHP zero, detects the operating mode, and animates the live circuit and the switch node, inductor current and output ripple waveforms.

Inverting Buck-Boost Converter Design Calculator

Enter your specs. Every value, rating, loss and the waveform updates live as you type.

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

    Live circuit

    Operation mode: switching period

    Q1 on (energy into L)Q1 off, L feeds the outputIdle, zero current (DCM)
    Duty cycle
    Inductor ripple ΔI
    Output ripple
    Input current
    RHP zero

    Component value selection

    Inductor L
    Inductor current rating
    Output capacitor
    Input capacitor
    High-side MOSFET Q1
    Schottky diode D1

    Voltage and current of each device

    Power, losses and temperature

    Efficiency
    Pout ÷ Pin at this load.
    Input power
    Total loss
    Q1 junction temp.
    Q2 / D1 junction temp.
    Q1 conductionQ1 switching + CossGate driveQ2 / D1Inductor DCRCapacitor ESR

    Live waveforms

    Estimates for first-pass design. Core loss, dead-time, diode reverse recovery and layout parasitics are not modeled, so expect real efficiency a little lower. The output is negative with respect to GND. Unlike a boost, Q1 disconnects the input when it turns off, so output short-circuit protection is possible with current limiting. Confirm with your controller datasheet.

    Inverting Buck-Boost Converter FAQ

    What is an inverting buck-boost converter?
    An inverting buck-boost converter is a DC-DC switching regulator that turns a positive input voltage into a negative output voltage. The magnitude of the output can be lower than, equal to or higher than the input. A common example is generating −12 V from a +12 V supply to power op-amps.
    What is the output voltage formula of an inverting buck-boost converter?
    In continuous conduction mode, Vout = −Vin × D / (1 − D), where D is the duty cycle. At D = 50% the output magnitude equals the input, below 50% it is smaller and above 50% it is larger. For +12 V to −12 V the ideal duty cycle is 50%.
    How do you calculate the duty cycle of an inverting buck-boost converter?
    Use D = |Vout| / (Vin + |Vout|) for an ideal converter, or D = (|Vout| + Vf) / (Vin + |Vout| + Vf) when using a Schottky diode with forward voltage Vf. Real converters need a slightly higher duty cycle to cover resistive losses.
    How do you calculate the inductor for an inverting buck-boost converter?
    First find the inductor current at minimum input voltage, IL = Iout / (1 − D), which equals Iin + Iout. Choose a ripple current of 20 to 40% of IL, then use L = Vin(min) × D / (fsw × ΔI). For 10.8 V to −12 V at 1 A and 500 kHz with 30% ripple, L is about 17.9 µH, so 18 µH is used.
    What voltage rating do the MOSFET and diode need in an inverting buck-boost?
    Both must block Vin + |Vout| + Vf, not just Vin. For a 13.2 V maximum input and −12 V output, that is about 25.7 V, so 40 V parts are a safe choice with 30% margin. This is the most common mistake in negative-rail designs.
    Why does an inverting buck-boost need large input and output capacitors?
    The input current flows only while the switch is on, and the output current flows only while the switch is off, so both are pulsed. Each capacitor carries a ripple current of about Iout × √(D / (1 − D)), which equals the full output current at 50% duty cycle.
    Can I use a buck regulator IC to make a negative voltage?
    Yes. Connect the buck IC’s ground pin to the negative output and its output side to system ground. The IC then regulates the negative rail. The IC must be rated for Vin + |Vout|, and its maximum output current drops to about (current limit − ΔI/2) × (1 − D).
    What is the difference between CCM and DCM in an inverting buck-boost?
    In continuous conduction mode (CCM) the inductor current never falls to zero and Vout = −Vin × D / (1 − D). In discontinuous conduction mode (DCM) the current reaches zero for part of each cycle and the duty cycle depends on the load. DCM starts when Iout drops below (1 − D) × ΔI / 2.
    Does an inverting buck-boost converter have a right-half-plane zero?
    Yes. Energy reaches the output only while the switch is off, so increasing the duty cycle first reduces output current. The RHP zero is at fRHP = (1 − D)² × Rload / (2π × D × L), and the loop crossover should stay below about fRHP / 5.
    What is the difference between an inverting and a non-inverting buck-boost converter?
    An inverting buck-boost uses one switch, one diode and one inductor and produces a negative output. A non-inverting buck-boost, such as the four-switch buck-boost or the SEPIC, keeps the output positive while still allowing it to be above or below the input, at the cost of more parts.

    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