← Circuit Toolkit

DC-DC Converter

Choose a topology — buck, boost, or buck-boost — set the input voltage, duty cycle, inductance, and switching frequency, then watch the output voltage and inductor current ripple update live. The widget flags CCM vs DCM operation so you can see exactly when the inductor current hits zero.

Switch Node Voltage (VSW )voltage at the MOSFET–inductor–diode junction — not the gate PWM signalONOFF24V0VInductor CurrentT_ONT_OFFIout02.3A1.7A

During TON (rising)

didt=2412.0100μH=0.12  A/µs\small\tfrac{di}{dt} = \tfrac{24-12.0}{100\,\mu\text{H}} = 0.12\;\text{A/µs}

During TOFF (falling)

didt=12.0100μH=0.12  A/µs\small\tfrac{di}{dt} = \tfrac{-12.0}{100\,\mu\text{H}} = -0.12\;\text{A/µs}

Output voltage

Vout=D ⁣ ⁣Vin=0.5 ⁣× ⁣24=12.0  V\small V_{out} = D \!\cdot\! V_{in} = 0.5 \!\times\! 24 = 12.0\;\text{V}

Inductor ripple

ΔIL=(24 ⁣ ⁣12.0) ⁣× ⁣0.5100k ⁣× ⁣100μ=0.60  A\small \Delta I_L = \tfrac{(24\!-\!12.0)\!\times\!0.5}{100\text{k}\!\times\!100\mu} = 0.60\;\text{A}

Conduction mode

CCM — Continuous

Minimum inductance for CCM

Lmin = 15.0 µH

Quick experiments

  • Buck 24 V → 12 V. Set Vin = 24 V and D = 0.5 — the output should read 12 V, confirming Vout = D · Vin.
  • Boost 12 V → 48 V. Switch to boost, set Vin = 12 V and D = 0.75 — the output climbs to 48 V.
  • Ripple vs inductance. Increase L and watch the inductor current ripple shrink — a larger inductor stores more energy per cycle, smoothing the current.

DC-DC converter topologies

DC-DC converters transfer power from one DC voltage to another with high efficiency (typically 85–95 %) by switching an inductor or transformer at high frequency (tens of kHz to several MHz).

Buck (step-down)

Vout = D × Vin where D is duty cycle (0–1). During the on-time the inductor stores energy; during the off-time it releases energy to the load. Higher switching frequency → smaller L and C values → smaller PCB footprint, but higher switching losses.

Boost (step-up) and flyback

  • Boost: Vout = Vin / (1−D). Energy stored in inductor during on-time is transferred to output during off-time.
  • Flyback: isolated topology using a coupled inductor (flyback transformer). Common in offline power supplies for galvanic isolation.

Learn more → DC-DC Converters — Learn

Share