5 V to −12 V inverting rail

Generate a negative 12 V bias rail from a positive 5 V source. Enter 12 V as the output magnitude.

Design inputs

Operating point
Inductor & output capacitor

Peak-to-peak ripple divided by average current in CCM.

Enter 0 to use the calculated inductance.

View live readout ↑

Live readout

Edit inputs
Target L
43.78 µH
Ripple ΔI
0.2868 A
Peak Iₗ
1.099 A
Ripple ΔV
31.57 mV
Inductor current Inductor current 4 µs / period Iₗ0Switching cycle →Peak current1.1 ARipple ΔI0.287 ARegionCCM
The trace follows the selected inductor. The idle interval opens when coil current reaches zero before the next cycle.
Continuous conduction

Output ripple is within the entered goal.

CCM boundary / load0.0375 A / 0.25 A

Output ripple / goal31.57 mV / 100 mV

Result breakdown
Inductance at target ripple43.7775 µH
Inductance used in readout43.7775 µH
Continuous-conduction duty73.8462 %
Operating duty73.8462 %
Conduction modeCCM
Average inductor current0.955882 A
Valley inductor current0.8125 A
Peak inductor current1.09926 A
RMS inductor current0.95946 A
Peak-to-peak inductor ripple0.286765 A
Critical output load0.0375 A
Capacitive ripple7.38462 mV
ESR ripple24.1838 mV
Combined ripple estimate31.5684 mV
Minimum capacitance at ripple goal9.74016 µF

Worked calculation

Veff = 85% × 5 V = 4.25 V → L at target ripple = 43.7775 µH

Compare switch on-time with output delivery time. The capacitor supplies the full load while the switch is on.

Duty & inductor

Veff = η · Vin | L = Von · D / (fs · ΔIL)

Efficiency is represented by an effective input voltage ahead of an ideal switching stage. Duty is Vout/Veff for buck, 1 − Veff/Vout for boost, and Vout/(Veff + Vout) for the inverting topology. Output magnitude is positive for all three cases.

Boundary & current

Icrit = (ΔIL,CCM / 2) · k | k = 1 (buck), 1 − D (boost / inverting)

At the boundary, the valley inductor current is zero. Below it, the model solves on-time and off-time from the two current slopes and load charge balance. For CCM the RMS value is √(Iavg² + ΔIL²/12).

Ripple budget

ΔVpp ≈ Qpositive / Cout + ESR · ΔIcap

Positive capacitor current is integrated over the waveform. For a CCM buck this yields ΔIL/(8·fs·Cout). CCM boost and inverting stages reduce to Iout·D/(fs·Cout) when coil current during discharge stays above load current. Use effective capacitance under DC bias.