Chapter 04 - MPLAB® Mindi™ Analog Simulator - Peak Current Mode Step-Down (Buck) Converters

Last modified by Microchip on 2023/11/09 09:06

This chapter presents an introduction to the simulation of Microchip’s Peak Current Mode Step-Down (Buck) Converters. The following exercises will walk you through a number of exercises with multiple representative parts to observe characteristics, start-up from a rising input voltage, start-up from an enable, and start-up from output load steps. You will also explore Pulse Frequency Modulation (PFM) versus Pulse Width Modulation (PWM) operation and the boundary between them.

4.1 Prerequisites

4.2 Peak Current Mode Buck Converter

The goal of the following case studies is to understand the impact of the input voltage, the load current, and the passive components on the quality of the output voltage and stability, and to analyze PFM and PWM mode switching waveforms.

4.3 Case Study: Peak Current Mode Buck Converter Start-Up

Open the Buck example, startup application schematic from Power Management > Switching > MCP16301.

Place two voltage probes on VIN and EN, as seen in the accompanying figure.

two voltage probes on VIN and EN schematic


Rename curve’s label as desired. In order to perform this task, double-click on probe’s symbol and use the same name for all graphs.

Edit Probe window - Graph pane


Edit the parameters of each waveform generator, according to a specific test, if necessary. Double-click on a component’s symbol to pop up a window similar to what is presented in the accompanying figure.

Edit Probe window - Time/Frequency and Vertical pane


Run the simulation and stack the curves when viewing the results.

Add cursors and move them around to measure the various timing parameters.

4.3.1 Additional Exercises

Perform the tests presented above both for MCP16311 and MCP16331 devices and compare the results.

Change RTOP, L1, and converter’s load (RLOAD) in order to get another output voltage (according to the datasheet). Run the simulation and compare the results.

Back to top


4.4 Case Study: PFM versus PWM Switching Modes

Open the Synchronous Buck example, AC transient load step application schematic from Power Management > Switching > MCP16311.

Ensure that the transient analysis type is selected.

Select and remove the Bode Plot Probe and AC1 voltage source.

schematic with the Bode Plot Probe and AC1 voltage source removed


Connect RTOP with VOUT to close the feedback loop:

Connect RTOP with VOUT on the schematic


Edit the parameters of the ILOAD waveform generator. Choose Sawtooth as the shape of the signal, because the PFM/PWM transition happens when the load current is increased to a certain point. The waveform’s period should not exceed simulation time but should be comparable with it for accurate measurements. The amplitude of the signal should sweep from 0 to 200 mA, which is a value high enough to cover the occurrence of PFM/PWM transition (as presented in the datasheet):

Edit Waveform dialog


Change the parameters of RLOAD. In the following example, {5/0.01} means that at 5 V across the resistor, the current through it is 0.01 A (or 10 mA). This doesn’t mean that it forces the converter’s output voltage to be 5 V. If the output voltage changes to 10 V (for example) and the value of the resistor remains unchanged, the current flowing through it will be double (10 mA at 5 V means 20 mA at 10 V while keeping {5/0.01}). Instead of {5/0.01}, type the actual value of the resistance inside the Result box which corresponds to 10 mA at 5 V, which is 500 Ω:

Choose Component Value window


Increase the simulation time to 10 ms to correspond with the ILOAD ramp time.

Choose SIMPLIS Analysis window


Run the simulation and stack all curves.

Zoom into the area of interest and add cursors to find the load current (IOUT) where the converter transitions between PFM and PWM. This is indicated by a change in the output voltage ripple, as seen in the accompanying figure.

Simulation - change in the output voltage ripple


4.4.1 Additional Exercises

Change the value of the VIN and repeat this test several times to determine how this affects the load current threshold corresponding to PFM/PWM boundary.

Edit Probe window - Vertical pane


Change the values of RTOP, L1, and RLOAD to modify the output voltage (according to the datasheet) and compare the results.

Back to top


4.5 Case Study: Load transient response

4.5.1 Analyze Load Transient Response

Open the Buck example, AC transient load step application schematic from Power Management > Switching Regulators > MCP16331.

Run the simulation and stack the curves in the resulting waveform.

Add cursors to measure the undershoot and the overshoot, as depicted in the accompanying image.

Simulation - undershoot and the overshoot


Switch to the AC analysis graphs to observe the frequency response of the converter, as illustrated in the accompanying image.

AC analysis graphs


4.5.2 Additional Exercises

Increase the load current and measure the output voltage undershoot/overshoot, Gain Crossover Frequency, and Phase Margin.

Change RTOP and L1. In order to get a different output voltage, re-run the simulation and compare the results.

Change the values of the output capacitors (as shown in the next screenshot), run the simulation again, and compare the new results.

Perform the tests presented above for different switching regulators (MCP16301, MCP16311) and compare the results.

Edit Device Parameters window

Back to top


4.6 References

Evaluation Boards

Application Notes

MPLAB Mindi Available Models

  • MCP16301/H
  • MCP16311
  • MCP16331

Learn More

Back to top