PWMSim

Control

Hysteretic buck

A comparator-controlled buck with a variable switching frequency.

Open and simulate
Press Run: the example simulates in your browser. Open and simulate takes it to the full app, where you can change it.

Try this

Increase comparator hysteresis and observe ripple and switching rate. Then press Run again.