Skip to content
Published On:
Mar 24, 2015
Last Updated:
Jul 15, 2023

Buck converters are a particular topology of switch-mode power supply (SMPSs) that use a switching element, diode (or second switch), inductor and capacitor to convert an input voltage into a lower output voltage.

The basic schematic of a buck converter. SW1 is typically a MOSFET switched by control logic (not shown).

To learn more about EMI/EMC considerations regarding buck converters, see the EMC Design Guidelines page.

How A Buck Converter Works

The output voltage of a buck converter is purely determined by the input voltage VINV_{IN} and the percentage of time that the switch spend on during each switching cycle, DD:

VOUT=DVIN\begin{align} V_{OUT} = DV_{IN} \end{align}

DD is the duty cycle, and varies from 00 to 11. It is defined as:

D=tonT\begin{align} D = \frac{t_{on}}{T} \end{align}

where:
tont_{on} is the on time of the switch, in seconds
TT is the switching frequency, in seconds (ton+tofft_{on} + t_{off})

The following steps show a way to intuitively understand how a buck converter produces a lower output voltage (and derive the basic equation):

  1. The average voltage across the inductor, over an entire switching cycle, must be 0 (other ways of saying is this is that the integral must be 0, or the volt-seconds must be 0). If it wasn’t, then because V=LdidtV = L \frac{di}{dt} (the basic equation for an inductor), the current in the inductor would increase or decrease without bound (i.e. go to infinity).
  2. When the switch is closed (tont_{on}), the voltage across L1L1 is VINVOUTV_{IN} - V_{OUT} during this phase.
  3. When the switch is open (tofft_{off}), D1D1 is forward biased, and if we assume it’s a perfect diode (no forward voltage drop), the voltage across L1L1 is VOUT-V_{OUT} during this phase.
  4. The average (or integral) over the entire switching cycle has to be 0, so: (VINVOUT)tonVOUTtoff=0VINtonVOUTtonVOUTtoff=0VINton=VOUT(ton+toff)VOUT=tonton+toffVIN=DVIN\begin{align} (V_{IN} - V_{OUT})t_{on} - V_{OUT}t_{off} &= 0 \nonumber \\ V_{IN}t_{on} - V_{OUT}t_{on} - V_{OUT}t_{off} &= 0 \nonumber \\ V_{IN}t_{on} &= V_{OUT}(t_{on} + t_{off}) \nonumber \\ V_{OUT} &= \frac{t_{on}}{t_{on} + t_{off}} V_{IN} \nonumber \\ &= D V_{IN} \nonumber \end{align}

When the switch is closed, the current flows from the input through the inductor to the output, as shown below:

Current path when the switch is closed (during tont_{on} ).

When the switch opens, the input is disconnected. Because the inductor doesn’t like changes in current, it keeps a current flowing through the load by forward biasing D1D1, as shown below:

Current path when the switch is open (during tofft_{off}).

C1C1 (which is also called COUTC_{OUT}) is to reduce the voltage ripple at the output/load.

Control Methods

99% of the time, you want a fixed (regulated) and stable output voltage, which does not depend on the input voltage and one which does not start to sag as you draw more current. To achieve this, it is insufficient to drive the switch at a fixed duty cycle. More complex control mechanisms with feedback are required. The most popular two are voltage-mode control and current-mode control, which are explained in the following section.

Voltage Mode Control

Voltage-mode (VM) control is the simplest control method, originating in approx. the 1970’s1. It works by taking a proportion of the output voltage and comparing it with a fixed reference voltage. The difference between these two is called the error voltage and is amplified by an error amplifier. This error voltage is then fed into a comparator, with the other input being a sawtooth signal (triangular waveform). The switch is turned on at the start of the sawtooth period, and turned off when the sawtooth exceeds the error voltage. An SR latch is normally used to prevent multiple triggers per cycle due to noise. Voltage-mode control is named as such because the duty cycle is proportional to the control voltage.

The basic logical components used for voltage-mode control.

Current-Mode Control (Constant Frequency)

Current-mode (CM) control is a very common control method for buck converters.

It has the following advantages over VM:

  • Simpler external frequency compensation than VM
  • Faster load transient response than VM.

However, one big disadvantage is the extra control circuitry complexity. However, this is somewhat mitigated in more recent years as all of this circuitry is integrated into a cheap silicon IC.

Peak current measurement is a common way of “measuring” the average output current.

A transconductance amplifier (amplifier that converts a input voltage to an output current) is used to compare the voltage at a feedback pin (typically labelled FB) to an internal voltage reference.

PCM: Peak current mode

See the excellent SNVA555: Understanding and Applying Current-Mode Control Theory by TI for more information on current-mode control theory.

Hysteretic Control

Hysteretic control is when the output voltage is directly monitored by a comparator, rather than going through an error amplifier. If the output voltage falls or exceeds below a certain value, the buck converter switch is turned on/off. Because the control is performed by measuring the ripple in the output voltage, this method is also called the ripple control method.

There are two ways on controlling the switch:

  1. Detect when the voltage falls BELOW a set threshold, and turn the switch ON for a fixed amount of time, OR
  2. Detect when the voltage rises ABOVE a set threshold, and turn the switch OFF for a fixed amount of time

Hysteretic control has the benefit of being extremely fast to respond to transient current changes, since it is directly monitoring the output voltage and there is no error amplifier. It also does not need any compensation. These advantages make it suitable for powering the rapidly changing current demands of high power CPUs and FPGAs.

Calculating Buck Converter Component Values

Inductor Selection

You can use the following equations to select the inductor for a buck converter.

Since the inductor is in series with the input, the average inductor current is also equal to the average input current. So we can use the conversation of energy (energy in = energy out) to find the average inductor current using:

IL=IOUTVOUTηVIN\begin{align} I_L = I_{OUT} \frac{V_{OUT}}{\eta V_{IN}} \end{align}

where:
VINV_{IN} is the input voltage to the buck regulator
VOUTV_{OUT} is the output voltage of the buck regulator
IOUTI_{OUT} is the output current of the buck regulator (pick your maximum)
η\eta is the efficiency, typically 0.90.9 (i.e. 90%)2

Then, calculate the value of inductance required with:

L=VIN(VOUTVIN)ΔILfVOUT\begin{align} L = \frac{V_{IN} (V_{OUT} - V_{IN})}{\Delta I_L \cdot f \cdot V_{OUT}} \end{align}

where:
ΔIL\Delta I_L = the desired ripple current in the inductor
ff = the switching frequency
and everything else as mentioned previously

The ripple current is typically chosen to be 20-40% of the average current2. If we choose 30%, then we can calculate ΔIL\Delta I_L with:

ΔIL=0.3IL\begin{align} \Delta I_L = 0.3I_L \end{align}

Capacitor Selection

The output capacitance is primarily determined by the maximum allowed output voltage ripple. This ripple is determined by the capacitance of the capacitor and it’s ESR (equivalent series resistance). The output capacitance of a boost converter can be found using the following equation.

Cmin=IO(VOUTVIN)fΔVVOUT\begin{align} C_{min} = \dfrac{I_O (V_{OUT} - V_{IN})}{f \Delta V V_{OUT}} \end{align}

where:
ΔV\Delta V = the maximum desired output voltage ripple
and everything else as mentioned previously

The actual ripple will be slightly larger than this due to the ESR of the capacitor.

ΔVESR=IORESR\begin{align} \Delta V_{ESR} = I_O R_{ESR} \end{align}

where:
RESRR_{ESR} = the parasitic series resistance of the output capacitor

The total output ripple is the sum of the ripple caused by the capacitance, and the ripple cause by the ESR.

Buck Converter Calculator

NinjaCalc has an online buck converter calculator.

A screenshot of the buck converter calculator in NinjaCalc (as of v2.2.0).

Synchronous Rectification

When using a P-channel MOSFET for synchronous rectification, it’s body diode is forward-biased when the converter is in shutdown mode. This can drain the power source into the output. More advanced buck converters have extra circuitry to disconnect this P-channel MOSFET when the device is not active.

EMC

The input current “hot loop” of a buck converter is the most important part to worry about when it comes to EMC. See the EMC Design Guidelines page for more information.

Examples

Tiny (Nano) Buck Converters

Texas Instruments released a series of very small (3.5x3.5x1.8mm) buck converter modules in 2015. One of the most impressive features is that this includes the inductor (external capacitors are still required). One example is the LMZ20502, which can provide up to 2A of current with an input voltage range of 2.7-5.5V and a output voltage range of 0.8-3.6V.

A photo of the LMZ20502 buck converter. Image from http://www.digikey.co.nz/product-detail/en/LMZ20502SILT/296-38656-1-ND/.

Notice how most of the volume on the module is taken up the chip inductor (the big brown thing that dominates most of the image). The dimensions of the package are shown in the diagram below.

The dimensions of the MicroSIP component package, used by the Texas Instruments ‘Nano’ buck converters. Image from http://www.ti.com/lit/ds/symlink/lmz20502.pdf.

Footnotes

  1. Maniktala, Sanjaya (2012). Voltage-Mode, Current-Mode (and Hysteretic Control). Microsemi. Retrieved 2021-08-22, from https://www.microsemi.com/document-portal/doc_view/124786-voltage-mode-current-mode-and-hysteretic-control.

  2. Brigitte Hauke (2015, Aug). Basic Calculation of a Buck Converter’s Power Stage [Application Report]. Texas Instruments. Retrieved 2023-06-20, from https://www.ti.com/lit/an/slva477b/slva477b.pdf. 2