PWMSim

Examples

Each one opens in the app and runs. Change a value and run it again.

Showcase

Your LTspice file in the browser

An LTspice schematic opens in the browser as it was drawn, runs, and agrees with LTspice's own run of the same file.

Buck

Buck converter — CCM

A simple step-down converter with continuous inductor current.

Boost

Boost converter — CCM

A 2.5 V to 3.3 V step-up converter with continuous inductor current.

Isolated

Flyback converter — CCM

A 48 V isolated flyback converter with continuous inductor current.

Isolated

Flyback — turns ratio and load

A flyback converter for testing transformer ratio and output load separately.

Control

PI buck — 5 V regulation

A 12 V to 5 V buck with a sampled PI voltage controller.

Control

PI buck — line and load steps

A controlled buck responding to input-voltage and load changes.

Control

Peak current-mode buck

A buck that turns its switch off when inductor current reaches the set value.

Control

Peak current-mode buck — command and load

A peak-current buck for testing current command, load, and slope compensation.

Device

Diode reverse-recovery pulse

A detailed diode model switching from forward current to reverse voltage.

Device

IGBT clamped inductive switching

One hard-switching event with an inductive load and voltage clamp.

Device

Thyristor latching load switch

An SCR switched on into a resistive load and kept above its holding current.

LTspicePowerSim

Synchronous buck — PI regulation

LTspicePowerSim's 5 V to 1 V synchronous buck, its compensator and PWM block replaced by a PI-controlled switch.

LTspicePowerSim

Boost — PI regulation

LTspicePowerSim's 2.5 V to 3.3 V boost, regulated by a PI-controlled switch.

LTspicePowerSim

Buck — peak current mode with PI loop

LTspicePowerSim's peak current-mode buck, its comparator, latch, slope and compensator as one switch.

LTspicePowerSim

Boost — peak current mode with PI loop

LTspicePowerSim's 3 V to 5 V current-mode boost, its control loop as one switch.

LTspicePowerSim

SEPIC — peak current mode with PI loop

LTspicePowerSim's 3 V to 5 V SEPIC under peak current-mode control with a voltage loop.

LTspicePowerSim

Dual active bridge — phase shift

LTspicePowerSim's 400 V to 350 V dual active bridge, its phase-shift block replaced by phased PWM switches.

LTspicePowerSim

CLLC resonant converter — fixed phases

LTspicePowerSim's bidirectional CLLC, both bridges switching at fixed phases.

LTspicePowerSim

2:1 switched-capacitor ladder

LTspicePowerSim's 2:1 ladder, halving 10 V with one flying capacitor.

LTspicePowerSim

Three-level buck — peak current mode

LTspicePowerSim's flying-capacitor buck, its two switch pairs clocked half a period apart under peak current control.

LTspicePowerSim

Four-phase buck — peak current mode

LTspicePowerSim's four-phase 4 A buck, its phases a quarter period apart under one current command.

LTspicePowerSim

Active-clamp forward — PI regulation

LTspicePowerSim's 200 V to 12 V active-clamp forward, its current-mode loop and dead-time block replaced by a PI switch and its complement.

LTspicePowerSim

Active-clamp flyback — PI regulation

LTspicePowerSim's 24 V to 5 V active-clamp flyback, its clock, latch and dead-time blocks replaced by a PI switch and its complement.

LTspicePowerSim

Phase-shifted full bridge — fixed phase

LTspicePowerSim's 400 V to 12 V phase-shifted full bridge, its legs held at the phase its loop settles to.

LTspicePowerSim

LLC resonant converter — fixed frequency

LTspicePowerSim's 400 V LLC converter, its bridge held at the frequency its loop runs at.

LTspicePowerSim

2:1 resonant switched-capacitor ladder — fixed phase

LTspicePowerSim's resonant 2:1 ladder, its two switch pairs held at the phase its loop settles to.

LTspicePowerSim

Flyback — peak current mode with PI loop

LTspicePowerSim's 24 V to 5 V flyback, its boundary-mode latch and compensator replaced by a clocked current-mode switch.

LTspicePowerSim

Four-switch buck-boost — analog Type III loop

LTspicePowerSim's 3.5 V to 3.3 V buck-boost, its compensator, PWM and dead time drawn from native control parts.