Skip to content

Buck Converter Example

This tutorial validates the simulation workflow for a buck topology using the built-in project template.

Objective

  • Open the buck template.
  • Adjust basic input/switching/load parameters.
  • Run a transient simulation.
  • Read Vsw, Vout, and inductor current.

Steps

  1. Open File → New from Template.
  2. Select Buck Converter.
  3. Verify core blocks:
  4. Input source (Vin)
  5. Switching element (MOSFET)
  6. Freewheel diode
  7. Inductor (L1)
  8. Output capacitor (Cout)
  9. Load (Rload)
  10. Open Simulation Settings and start with:
  11. Stop time: 10ms
  12. Step size: 2us
  13. Output points: 5000 to 10000
  14. Transient robustness enabled
  15. Run with Run (F5).
  16. In viewer/scope, inspect:
  17. V(SW)
  18. V(VOUT)
  19. I(L1)

What to Analyze

  • SW node: high-frequency pulsed waveform.
  • VOUT: stabilized average level with ripple.
  • I(L1): triangular ramp (continuous or discontinuous mode depending on load/inductance).

Useful Adjustments

  • High VOUT ripple: increase Cout and/or switching frequency.
  • Excessive inductor ripple current: increase L1.
  • Poor convergence: reduce Step size, keep robustness enabled, and review extreme parameters.

Internal References