Saved

Press the star next to a tool's name to save it.

All my tools

Inverting Buck Boost Converter

Use this inverting buck boost converter calculator to find the duty cycle, the inductance and the switch timing from the input and output voltages, frequency and ripple.

Restored your last values ·

V
V
kHz
mA

Enter the input voltage, the size of the output voltage, the switching frequency and the largest ripple current that you accept in the inductor. You get the duty cycle, the inductance and the on and off times of the switch.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter the input and output voltages, the switching frequency and the ripple current, then press Calculate.

See full result

An inverting buck boost converter is a switching power supply that makes a negative output voltage from a positive input, and the output can be smaller or larger than the input. This calculator finds the duty cycle and the inductance from the input and output voltages, the switching frequency and the ripple current you allow.

How to use the inverting buck boost converter

  1. Enter the input voltage and the size of the output voltage.
  2. Enter the switching frequency in kilohertz and the ripple current in milliamps.
  3. Press Calculate.

What the converter does

In the inverting topology, the polarity of the output voltage is opposite to that of the input [1]. The output is always negative, since the duty cycle goes from 0 to 1, and its size can be lower or higher than the input [1]. This makes the circuit useful when a negative rail is needed from a single positive supply, or when the input may be above or below the wanted output.

The duty cycle

The duty cycle D is the fraction of each switching period in which the switch is on [1]. The Wikipedia article gives D = Vo ÷ (Vo − Vi), with the signed output voltage [1]. For magnitudes of the voltages this is D = |Vout| ÷ (Vin + |Vout|), the form this calculator uses. The calculator takes the size of the output voltage, so you do not type the minus sign.

The voltage gain

The gain of the ideal converter in continuous mode is Vo ÷ Vi = −D ÷ (1 − D) [1]. For magnitudes, this is Vout = D ÷ (1 − D) × Vin. A duty cycle of 0.5 gives a gain of one, so the output equals the input in size. Below 0.5 the converter steps down, like a buck, and above 0.5 it steps up, like a boost. This follows from the gain formula, and apart from the polarity the converter is either step-up or step-down [1]. As D approaches 1, the gain grows without limit, in theory.

The inductance

The inductance is L = D ÷ (fsw × Iripple) × Vin. This follows from the rise of the inductor current in the on state, ΔI = Vi D T ÷ L, where T is the switching period [1]. Solving for L, and using fsw = 1 ÷ T, gives this expression when the ripple is the full peak-to-peak change. We take the ripple as peak-to-peak, and say so on the result.

The worked example

Take an input of 18 volts, an output of 12 volts, a switching frequency of 200 kilohertz and a ripple current of 200 milliamps. The duty cycle is 40 percent and the inductance is 180 microhenries. Enter 18, 12, 200 and 200 to see them.

Switch timing

The on time is the duty cycle divided by the switching frequency, Ton = D ÷ fsw. For the example, 0.4 ÷ 200,000 hertz is 2 microseconds, in a period of 5 microseconds, so the switch is off for the other 3. The calculator shows both times. They help when you check a controller chip or an oscilloscope trace, and when you judge whether a switch can turn on and off cleanly in the time allowed. This is our own arithmetic on the definition of the duty cycle.

Continuous conduction

The Wikipedia article says that the converter is in continuous mode when the current in the inductor never falls to zero during a switching cycle [1]. The formulas on this page assume this mode. If the load is light, or if the inductance is too small for the ripple, the current may reach zero, and the voltage gain then depends on the load. The calculator does not model that mode, and it does not warn you about it, so check the minimum load of your design.

What is not covered

The calculator gives no formulas for the output capacitor, the peak current in the switch or the diode, or the losses. In a real inverting buck-boost converter, the switch and diode must handle the sum of the input and output currents, and the capacitor sets the ripple on the output. Use the data sheet of the controller, and add a margin to every rating.

Choosing the ripple current

A smaller allowed ripple needs a larger inductor, and a larger one allows a smaller part. A common rule of thumb sets the ripple to a fraction of the load current, but no value is built into the calculator. Try different values: because L is inversely proportional to the ripple, halving the ripple doubles the inductance. The same holds for the switching frequency, so a faster converter needs a smaller coil.

Units and polarity

Enter the voltages in volts, the frequency in kilohertz and the ripple in milliamps. The result shows the inductance in microhenries. The output is shown with a minus sign, because the converter inverts the input, and the formulas use magnitudes. Take care with the wiring: the ground of the load is the common point of the input, so the load sees a voltage that is negative with respect to it. Check the polarity of capacitors in the circuit.

Common mistakes

  • Typing the output voltage with a minus sign. Enter its size only.
  • Using the average current as the ripple. The ripple is the swing of the inductor current.
  • Forgetting the losses. Real converters have lower efficiency than the ideal one.
  • Using the result at a very light load. The converter may leave continuous mode.

What next

Use this often? Add Inverting Bu to your Home screen.

Frequently asked questions

What is an inverting buck boost converter?

A switching power supply that makes a negative output from a positive input, smaller or larger than the input.

How is the duty cycle of an inverting buck-boost converter found?

D = |Vout| ÷ (Vin + |Vout|), using the sizes of the voltages.

How is the inductance found?

L = D × Vin ÷ (fsw × Iripple), with the ripple taken as peak to peak.

When does the converter step down?

When D is below 0.5, so the output is smaller than the input.

Does the calculator size the capacitor?

No. It gives no capacitor or switch current formulas.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Physics & Science Tools