Low-dropout regulator (LDO)

Table of Contents

  1. Introduction
  2. Principle of operation
  3. LDO topologies
  4. Feedback resistance calculation
  5. Output voltage error
  6. LDO stability
  7. LDO parasitics

1. Introduction

Low-dropout regulator (LDO) - is a critical building block that generates a stable voltage (which can be used as a voltage reference or a supply) irrespective of the external conditions (supply voltage variation, noise etc.). An LDO helps in achieving better performance of the internal circuits and usually used together with the bandgap reference to ensure a constant output voltage.


2. Principle of operation

The principle of operation of an LDO can be explained as a voltage-controlled voltage source (VCVS). This VCVS is controlled by two voltages - reference voltage (Vref)(V_{ref}) and feedback voltage (Vfb)(V_{fb}) targeting to maintain a constant voltage (Vout)(V_{out}) equal to VrefV_{ref} by supplying sufficient current to the feedback resistance R1R_1 and load resistance RLR_L. The feedback resistance R1R_1 defines a minimum current at no-load condition
which is called quiescent current (Iq)(I_q). Elaborating further the control stage of an LDO, we can represent it as a subtraction block, producing the error voltage VEV_E followed by the gain stage, generating the control voltage VcV_c :


Behavioural model of an LDO

Behavioural model of an LDO

Subtraction and gain can be implemented using operational amplifier and usually called an error amplifier. The voltage controlled current source is represented by the MOS transistor and usually called a pass device:


Basic LDO structure

Basic LDO structure

The difference between the feedback voltage VfbV_{fb} and the reference voltage VrefV_{ref} produces the control voltage VcV_c which determines current through the pass device, hereby ensuring that enough current is supplied to the load resistance RLR_L and Vout=VrefV_{out} = V_{ref} is maintained. The load capacitance CLC_L is playing a vital role during load transients (by supplying extra current) and stability, which wil be discussed later.


2.1 LDO operation at no-load condition

Let's have a look on a practical example of an LDO to understand its operation better. The picture below represents a simple LDO with an NMOS pass device and no load.


Basic LDO operation

Basic LDO operation

Let's assume the following inputs:

  • VDD=1.8VV_{DD} = 1.8V
  • Vref=1.2VV_{ref} = 1.2V
  • R1=100kΩR_1 = 100k\Omega
  • RL=1kΩR_L = 1k\Omega
  • AEA=40dB=10000A_{EA} = 40dB = 10'000

At the start-up, the output is Vout=Vfb=0VV_{out} = V_{fb} = 0V. The reference voltage is set to 1.2V1.2V, so the output voltage of the amplifier is:

Vc=AEA(V+V)=10000(1.20)=120V1.8VV_c = A_{EA} (V_{+} - V_{-}) = 10'000(1.2-0) = 120V \Rightarrow 1.8V

Note: The output voltage of the amplifier is clamped at VddV_{dd} and equals to 1.8V

The VgsV_{gs} of the pass device now equals 1.8V1.8V and it starts supplying current to the R1R_1. When VoutV_{out} reaches 1.2V1.2V, both inputs of the error amplifier are at the same voltage and the loop is now locked, supplying Iq=Vout/R1=12μAI_q = V_{out}/R_1 = 12\mu A. This current is called a quiescent current, which helps to achieve stability at no-load condition. Quiescent current and operational amplifier defines the idle power consumption of the LDO.


2.2 LDO operation under load

Let's add a load resistor RL=1kΩR_L = 1k\Omega to the output and see the response of the LDO:


Basic LDO operation

Basic LDO operation 2

When we added a load resistance, the effective output resistance becomes (R1RL)0.99kΩ(R_1||R_L) \approx 0.99 k\Omega. Initially, the LDO was supplying only 12μA12\mu A of current which leads to a sudden drop of the output voltage:

Vout=Iout(R1RL)=0.109VV_{out} = I_{out}(R_1||R_L) = 0.109V

This changes is seen at the feedback voltage and produces a voltage difference at the input of the error amplifier:

ΔV=VrefVfb=1.20.109=1.091V\Delta V = V_{ref} - V_{fb} = 1.2 - 0.109 = 1.091V

The control voltage ramps-up, increasing the VgsV_{gs} of the pass device and the output current increases. As the output current increases, the output voltage increases too and settles when Vout=VfbV_{out}=V_{fb}. At the steady state, Vout=1.2VV_{out} = 1.2V, Iout=Iq+IL=12.012mAI_{out} = I_q + I_L = 12.012 mA.


3. LDO topologies

In the previous chapters we had LDO operation and stability covered, and now we can cover different LDO topologies. LDOs have a variety of topologies and oriented for use with analog or digital circuits. There are two main LDO topologies: NMOS- and PMOS- based.

By architecture:

  • With an off-chip load capacitor
  • Capacitor-less

By Pass device type:

  • NMOS-based
  • PMOS-based


LDO topologies

LDO topologies

A bandgap voltage reference provides a stable reference signal for the regulator. An error amplifier (EA), typically implemented as an OTA (Operational Transconductance Amplifier), detects differences between the feedback voltage and the reference voltage, adjusting the pass-element resistance accordingly. A feedback resistor network divides the output voltage for comparison with the reference voltage (VrefV_{ref}). The pass device (usually a MOSFET) regulates resistance between the input and output voltages to maintain stability. In practical applications, the pass device is commonly a PMOS transistor. Next, we’ll compare the use of PMOS vs. NMOS topologies:


PMOSNMOS
Maximum output voltageVdsat(50100mV)V_{dsat} (\approx 50-100mV)VddVth(0.40.6V)V_{dd}-V_{th}(\approx 0.4-0.6V)
PSRRLowHigh
Output impedanceLowerHigher
AreaBiggerSmaller
SpeedSlowerFaster
Dominant pole locationOutput nodeGate of pass device

PMOS LDOs is the most commonly used topology due to their low dropout voltage, while NMOS pass transistors are practical when the supply voltage is significantly higher than the regulated output. In an NMOS configuration, the pass transistor acts as a common drain (source follower) with positive gain, whereas the PMOS operates as a common source with negative feedback. This difference requires the op-amp polarity to be adapted accordingly.

The primary advantage of PMOS LDOs is their lower dropout voltage. The error amplifier output (EAoutEA_{out}) in a PMOS design can swing between GND and VinVthV_{in}-V_{th}, with dropout voltage primarily dependent on VdsV_{ds}(around 50mV for saturated devices). In contrast, NMOS LDOs require the output of the error amplifier to be at least VthV_{th} above the output voltage to turn on the pass transistor. This means the output voltage is inherently limited to at least Vth below the input voltage, with additional margin for loop regulation. Furthermore, NMOS pass devices are typically high-power or high-voltage transistors designed to handle significant current and voltage, and their threshold voltage is often higher than the standard 1V of regular transistors.

ParameterExternalCapless
StabilityEasyHard
Max out currentHighLow-Med
ParasiticsHighLow
Amplifier TopologyRegulationStabilityPSRRNoisePower consumption
TelescopicMediumHighMediumLowLow
Folded cascodeMediumHighMediumMediumMedium
Two-stageHighLowHighLowMedium
Gain-boostedHighMediumHighMediumHigh

4. Feedback resistance calculation

The reference voltage is usually provided by the bandgap reference and usually outputs a fixed voltage, that might be different from what we want to see at the output of LDO. Solution to this is to use a voltage divider in the feedback of the LDO:


Resistive feedback in LDO

Resistive feedback in LDO

Using a voltage divider equation, we get:

Vfb=VoutR2R1+R2V_{fb} = V_{out}\frac{R_2}{R_1 + R_2}

Knowing that Vfb=VrefV_{fb} = V_{ref} , we can rewrite:

Vref=VoutR1R1+R2V_{ref} = V_{out}\frac{R_1}{R_1 + R_2}

Combining for R1R_1, we get:

R1=R2(VoutVref)VrefR_1 = \frac{R_2(V_{out}-V_{ref})}{V_{ref}} R1R2=VoutVrefVref\frac{R_1}{R_2} = \frac{ V_{out} - V_{ref} } { V_{ref} }

Denoting k=R1/R2k = R_1/R_2 :

k=VoutVref1k = \frac{ V_{out} } { V_{ref} } - 1

Using that equation, we can easily calculate the feedback resistor values, knowing the output voltage of an LDO and a reference voltage. The quiescent current IqI_q is defined as:

Iq=Vout(R1+R2)I_q = \frac{V_{out}}{(R_1 + R_2)}

Then,

R1+R2=VoutIqR_1 + R_2 = \frac{V_{out}}{I_q}

And we are getting a system of equations:

{R1/R2=VoutVref1R1+R2=VoutIq\begin{cases} R_1/R_2 = \frac{ V_{out} } { V_{ref} } - 1 \\ \\ R_1 +R_2 = \frac{V_{out}}{I_q} \\ \end{cases}

So the full equation will look like:

{k=VoutVref1R2=VoutIq(1+k)R1=kR2\begin{cases} k = \frac{ V_{out} } { V_{ref} } - 1 \\ R_2 = \frac{ V_{out} } { I_q (1 + k) } \\ R_1 = k R_2 \\ \end{cases}

For VoutVrefV_{out} \geq V_{ref}

Just knowing VoutV_{out}, VrefV_{ref} and IqI_q will give us the exact values of R1R_1 and R2R_2

LDO Feedback Resistance Calculator


5. Output voltage error


There are 3 main sources of the output error in LDO:
  1. Voltage divider mismatch (R1R_1 and R2R_2)
  2. Gain error of error amplifier
  3. Reference voltage error

5.1 Voltage divider mismatch

The resistor value variation in CMOS process in generally big and can be up to 15-30%, depending on the resistor type. Since only the ratio between R1R_1 and R2R_2 matters (and not their absolute values), we can neglect the error, introduced by the divider if we match them in layout.

5.2 Gain error of error amplifier

Due to the finite gain of the amplifier, we get some error in control voltage (Vc)(V_c) which leads to the error in output current and hence, an output voltage. The output voltage of the error amplifier is given by:

Vout=AEA(V+V)V_{out} = A_{EA}(V_{+}-V_{-})

Taking into account that V=VfbV_{-}=V_{fb} and V+=VrefV_{+}=V_{ref}:

Vout=AEA(VrefVfb)V_{out} = A_{EA}(V_{ref}-V_{fb}) Vout=AEA(VrefVoutβ)V_{out} = A_{EA}(V_{ref}-V_{out} \beta)

, where β=R2R1+R2\beta = \frac{R_2}{R_1 + R_2}.

Grouping for VrefV_{ref} and VoutV_{out}:

(1+AEAβ)Vout=AEAVref(1+A_{EA}\beta)V_{out}=A_{EA}V_{ref}

Hence, Vout/VrefV_{out}/V_{ref} becomes:

AEAreal=VoutVref=AEA1+AEAβA_{EA}^{real} = \frac{V_{out}}{V_{ref}} = \frac{A_{EA}}{1+A_{EA}\beta}

The gain error is simply the difference between ideal gain and real gain. Taking into account, that ideal gain is 1/β1/\beta:

δAEA=AEAidealAEArealAEAideal\delta A_{EA} = \frac{A_{EA}^{ideal} - A_{EA}^{real} }{A_{EA}^{ideal}} δAEA=1/βAEA1+AEAβ1/β\delta A_{EA} = \frac{ 1/\beta - \frac{ A_{EA} }{ 1+A_{EA}\beta }} { 1/\beta } δAEA=11+AEAβ\delta A_{EA} = \frac{ 1 } {1 + A_{EA}\beta}

To calculate the required gain for a given gain error:

AEA=1δAEAδAEAβA_{EA} = \frac{ 1 - \delta A_{EA} } { \delta A_{EA} \beta }

4.3 Reference voltage error

Another source of the output voltage error is the reference voltage. The reference voltage is usually provided by the Bandgap, which will typically have a variation about ±0.5%\pm 0.5\% across PVT:

δVref=±0.5%1%\delta V_{ref} = \pm 0.5\% \Rightarrow 1\%

Total output voltage error: The total output voltage error is basically the sum of the gain error and reference voltage error:

δVout=δAEA+δVref\delta V_{out} = \delta A_{EA} + \delta V_{ref}
Calculation example:
  • Vref = 0.6V
  • Vout = 1.2V
  • Iq = 1μA
  • δVref = 1%
  • AEA = 60 dB
  1. Calculate R1R_1, R2R_2:
k=VoutVref1=1.20.61=1k = \frac{V_{out}}{V_{ref}}-1 = \frac{1.2}{0.6} - 1 = 1 R2=VoutIq(1+k)=1.21e6(1+1)=600kΩR_2 = \frac{V_{out}}{I_q(1+k)} = \frac{1.2}{1e^-6(1+1)} = 600k\Omega R1=kR2=600kΩR_1 = kR_2 = 600k\Omega

Check:

Iq=VoutR1+R2=1.21200kΩ=1μAI_q = \frac{V_{out}}{R_1 + R_2} = \frac{1.2}{1200k\Omega} = 1\mu A
  1. Calculate δVout\delta V_{out}:
β=R2R1+R2=600kΩ1200kΩ=0.5\beta = \frac{R_2}{R_1+R_2} = \frac{600k\Omega}{1200k\Omega} = 0.5 δAEA=11+AEAβ=11+10000.50.002\delta A_{EA} = \frac{1}{1+A_{EA}\beta} = \frac{1}{1+1000*0.5} \approx 0.002 δVout=δAEA+δVref=0.002+0.01=0.012=1.2%\delta V_{out} = \delta A_{EA} + \delta V_{ref} = 0.002 + 0.01 = 0.012 = 1.2\%

Feedback resistor highlights:

  • Use low-mismatch resistors, such as polysilicon resistors;
  • Make resistors as wide as possible to reduce mismatch;
  • Use unit-sized segments; connect resistors in parallel or in series, if needed;
  • Match feedback resistors in layout;
  • Total resistance defines quiescent current (IqI_q) - a trade-off between stability and power consumption;

6. LDO stability & transfer function

6.1 Poles and zeros

As any feedback system, the LDO is a subject to stability analysis. Let's dive into a typical LDO structure and understand the location and role of the poles and zeros. In a typical LDO there are two main poles.


LDO poles location

LDO poles location

The first pole is produced by the combination of the load capacitance and output resistance:

ωp1=1RoutCL\omega_{p1} = \frac{1}{R_{out}C_L} Rout=rds(R1+R2)RLR_{out} = r_{ds}||(R_1+R_2)||R_{L}

The second pole is produced by the combination of the output resitance of the error amplifier and gate capacitance of the pass device:

ωp2=1rEACgs\omega_{p2} = \frac{1}{r_{EA}C_{gs}}

Load current variation causes the variation in pole location:

ωp1=1RoutCL1rdsCL=IL(VoutVdd)CL\omega_{p1} = \frac{1}{R_{out}C_L} \approx \frac{1}{r_{ds}C_L} = \frac{I_{L}}{(V_{out}-V_{dd})C_L} Rout=rds(R1+R2)RLR_{out} = r_{ds}||(R_1+R_2)||R_{L} β=R2R1+R2\beta = \frac{R_2}{R_1 + R_2}


Load variation impact on LDO poles location

Load variation impact on LDO poles location

6.2 Transfer function of the LDO


Using the poles equations from Chapter 6.1, the transfer function of an LDO (feedback loop-gain) can be written as:

T(s)=AEAgmpRoutβ1(1+sωp1)(1+sωp2)T(s) = A_{EA} g_{mp} R_{out} \beta \frac{1}{ \left(1 + \frac{s}{\omega_{p1}} \right) \left(1 + \frac{s}{\omega_{p2}} \right)}

,or, in standard form:

T(s)=AEAgmpRoutβ(1ωp1ωp2)s2+(1ωp1+1ωp2)s+1T(s) = \frac{ A_{EA} g_{mp} R_{out} \beta }{ \left( \frac{1}{ \omega_{p1} \omega_{p2}} \right) s^2 + \left( \frac{1}{ \omega_{p1}} + \frac{1}{ \omega_{p2}} \right) s + 1}

6.3 Compensation

In the previous chapter we saw that the load pole ωp2\omega _{p2} moves, when the load is changing. This effect lead to change in phase margin, which can lead to unstable condition (oscillations). There are two main ways to compensate this effect:

  • Zero insertion
  • CgsC_{gs} shielding through buffer

6.3.1 Using a ESR zero

One of the ways to compensate our LDO with external capacitor is to utilize the capacitor's equivalent series resistance (ESR). Every capacitor model contains the series resistance that represents the losses in the capacitor.


Inserting ESR zero

Inserting ESR zero

Apart from the standard poles ωp1\omega_{p1} and ωp2\omega_{p2}, we get an extra zero from the ESR:

ωp1=1RoutCL\omega_{p1} = \frac{1}{R_{out} C_L} ωp2=1rEACgs\omega_{p2} = \frac{1}{r_{EA} C_{gs}} ωz=1RESRCL\omega_{z} = \frac{1}{R_{ESR} C_{L}}

This zero is usually located at a relatively high frequency and helps in phase margin improvement. Phase margin is given by:

PMarctan(ωUGFωz)PM \approx \arctan \left(\frac{\omega_{UGF}}{\omega_z} \right)

Note: The ESR depends on frequency so it's better to use an s-parameter model for your sims to get precise results.


6.3.2 Using a buffer

Another way to compensate an LDO is to add a buffer between the output of the amplifier and the pass device. Effectively, adding a buffer will shield the output of the error amplifier from the large CgsC_{gs} of the pass device.


Using a buffer

Using a buffer

Previously, we had a low-frequency pole ωp1\omega_{p1} and a high-frequency pole ωp2\omega_{p2}. Adding a buffer splits the high-frequency pole ωp2\omega_{p2} into two higher-frequency poles:

ωp2=1CgsRo,EA\omega_{p2} = \frac{1}{C_{gs} R_{o,EA}}

Two high-frequency poles:

ωp2,A=1CBRo,EA\omega_{p2,A} = \frac{1}{C_{B} R_{o,EA}} ωp2,B=1CgsRo,EA\omega_{p2,B} = \frac{1}{C_{gs} R_{o,EA}}

The target here is to push ωp2,A\omega_{p2,A} and ωp2,B\omega_{p2,B} above ωUGB\omega_{UGB} so it is no longer affects the phase margin.


7. LDO Parasitics

In the design of LDO with an off-chip capacitor, it's very important to take into account parasitics, associated with the output node. The main contributors are I/O pads, bondwires, packaging and PCB trace:


Abstract view of LDO parasitics

Abstract view of LDO parasitics

Let's now have a detailed look into these contributors. The I/O pad is a large piece of metal so its contribution is mostly capacitive. The typical capacitance for the analog I/O pad is around 1-2pF and usually mentioned in the process documentation.

The next piece is the bondwire - metal interconnect between the chip and package. Bondwires are typically made of gold to achieve low resistance (50mΩ/mm\approx 50m\Omega /mm). However, due to relatively big length, the bondwire brings a significant inductance to the picture (1nH/mm\approx 1nH /mm) and it has to be taken into account.


LDO parasitics

LDO parasitics

The package itself also introduces parasitic capacitance, inductance and resistance, which is usually specified in the package manufacturer's documentation. Since inductance and resistance are primarily coming from the leads of the package, choosing a lead-free package (such as QFN) will be very beneficial.

The last, but not the least contributor is the PCB trace that connects the package and the output load. This trace can be represented as a distributed RLC-network. Since every extra inch of the trace contributes to increased parastics, it's essential to keep the output capacitor as close as possible to the chip.

Typical values for the parasitics are given in the table below:

ParasiticsRLC
Bondwire*50mΩ/mm\approx 50m\Omega /mm1nH/mm\approx 1nH /mm-
Package**50mΩ50m\Omega1.119nH1.119 nH352fF352 fF
PCB trace***4.93Ω4.93\Omega2.1nH2.1 nH1.47pF1.47pF

Notes:

  • *For a typical golden bondwire, (1mil diameter). Typical bondwire length is 3-5mm.
  • **Values are provided for the QFN-20 package
  • ***For a typical PCB trace (W = 1mm, L = 10mm, thickness = 35um). To calculate different geometries, use this calculator.