PWMSim

Quickstart

Five minutes. Nothing to install, no account.

1. Open an example

Open the buck converter. It opens, runs once, and plots the output voltage.

The circuit is on the left and the waveforms are on the right. The top bar has Files, Examples, Share, Settings and Run transient.

2. Change a value and run again

Select PWM1 and change its duty from 0.18 to 0.22. Press Run transient (Ctrl+Enter, or ⌘+Enter on a Mac).

Check it by hand: 0.22 × 5 V = 1.10 V, less 1.1 A × 21 mΩ = 23 mV lost in the switch, inductor and trace resistance, gives 1.077 V. PWMSim gives 1.077 V.

3. Plot more signals

Select a wire for its voltage or a part for its current, and press Probe (or T). Or type an expression in Plot and press Add:

v(out)*i(L1)

4. Measure

Drag the two cursors, C1 and C2, around the part you care about. Measurements lists average, RMS, minimum, maximum and peak-to-peak between them. Spectrum shows the frequencies in the same window.

5. Change the run

Settings holds the stop time, the maximum step, the solver tolerances, and whether a run records every signal or only the probed ones.

6. Keep your work

Next: the examples, or the limits.