PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 65 in Electricity & Magnetism.

View category →
NewSchool

Boost Converter

Launch Simulator

Step-up DC-DC converter: Vout = Vin/(1−D), inductor current ripple, MOSFET/diode states, CCM/DCM hint, and output ripple.

NewSchool

Buck Converter Ripple

Launch Simulator

Step-down DC-DC converter: duty cycle, inductor ripple, CCM/DCM boundary, capacitor ESR ripple, and switching waveform sketch.

NewSchool

RC Filter (LP / HP)

Launch Simulator

Bode gain vs frequency, f_c at −3 dB; live sine V_in and V_out.

NewSchool

RL Circuit

Launch Simulator

Series RL: τ = L/R, i(t) rise & decay, v_L; DC steady i = V/R.

NewSchool

Ideal Op-Amp (feedback)

Launch Simulator

Inverting, non-inverting, buffer; sine or DC; optional rail clipping.

NewSchool

Dipole Radiation Pattern

Launch Simulator

Time-averaged power ∝ sin² θ in the plane containing the dipole axis (far-field cartoon).

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Electricity & Magnetism/DC–DC Buck / Boost

DC–DC Buck / Boost

Ideal CCM averages: buck V_out ≈ D·V_in, boost V_out ≈ V_in/(1−D); schematic + ripple cartoon.

Topology

12 V
0.42

Measured values

Vₒᵤₜ (ideal CCM)5.04V
Vₒᵤₜ/Vᵢₙ0.420

About this model

Ideal continuous-conduction-mode (CCM) averages for two classic DC–DC stages: the buck converter gives V_out ≈ D·V_in, while the boost gives V_out ≈ V_in/(1−D), with D the switch duty cycle between 0 and 1. The schematic and ripple cartoon show inductor current and capacitor voltage ripple trends under the averaged switching model. Assumptions: ideal switches and diodes, CCM (inductor current never reaches zero within a cycle), neglected ESR and switching losses, and quasi-steady averaged voltages across the period. You can vary D and input voltage conceptually through the ideal relations and compare buck step-down versus boost step-up behavior together with qualitative ripple size.

Who it's for: Intermediate power electronics, mechatronics, and embedded systems courses introducing switched-mode supplies.

Key terms

  • buck converter
  • boost converter
  • duty cycle
  • CCM
  • DC–DC conversion
  • inductor ripple

How it works

Ideal continuous-conduction average models: buck Vₒᵤₜ ≈ D·Vᵢₙ, boost Vₒᵤₜ ≈ Vᵢₙ/(1−D). Real converters add switch drops, inductor resistance, and discontinuous conduction at light load.

Key equations

Buck: Vₒᵤₜ/Vᵢₙ = D

Boost: Vₒᵤₜ/Vᵢₙ = 1/(1−D)

Frequently asked questions

Why does boost voltage rise as D increases?
In CCM the inductor is charged for fraction D of the period and transfers energy to the output for (1−D). The volt-second balance yields V_out/V_in = 1/(1−D), so larger D means a smaller off-interval and higher voltage gain—until nonidealities and DCM invalidate the ideal formula.
When is V_out ≈ D·V_in wrong for a buck?
That average holds in ideal CCM. In discontinuous conduction mode, with large ESR, or with significant diode/switch drops, the ratio departs from D. A misconception is that duty cycle alone always sets the ratio regardless of load current and inductance.
What does the ripple cartoon represent?
It sketches the triangular inductor-current and capacitor-voltage ripple expected from the switching period under CCM averaging—not a full SPICE transient. Use it to build intuition that higher frequency or larger L/C reduces ripple amplitude for a given power level.