PWMSim

Control · Example

Peak current-mode buck

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

Open and simulate Check the LTspice comparison status
Peak current-mode buck circuit and simulated waveform in PWMSim
This is the editable circuit and completed result in PWMSim. You can review the values, model type, and recommended waveform before opening it.

Try this first

Lower the peak-current command from 2 A to 1.5 A.

The app opens this template, adds the recommended probe, and runs it once. Change the suggested value and run it again to compare the results.

Limits

This example works in the browser, but it is not a promoted LTspice comparison, hardware design, or certification. Check the app for model limits. It does not cover packaging, layout, thermal behavior, or operating conditions that are not listed.

Need batch runs or CI for this circuit? Tell us what your workflow needs.