Low-dropout regulator (LDO)
Table of Contents
- Introduction
- Principle of operation
- LDO topologies
- Feedback resistance calculation
- Output voltage error
- LDO stability
- 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 and feedback voltage targeting to
maintain a constant voltage equal to by supplying sufficient current to the feedback resistance
and load resistance . The feedback resistance defines a minimum current at no-load condition
which is called quiescent current .
Elaborating further the control stage of an LDO, we can represent it as a subtraction block, producing the error voltage
followed by the gain stage, generating the control voltage :
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
The difference between the feedback voltage and the reference voltage produces the control voltage which determines current through the pass device, hereby ensuring that enough current is supplied to the load resistance and is maintained. The load capacitance 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
Let's assume the following inputs:
At the start-up, the output is . The reference voltage is set to , so the output voltage of the amplifier is:
Note: The output voltage of the amplifier is clamped at and equals to 1.8V
The of the pass device now equals and it starts supplying current to the . When reaches , both inputs of the error amplifier are at the same voltage and the loop is now locked, supplying . 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 to the output and see the response of the LDO:
Basic LDO operation 2
When we added a load resistance, the effective output resistance becomes . Initially, the LDO was supplying only of current which leads to a sudden drop of the output voltage:
This changes is seen at the feedback voltage and produces a voltage difference at the input of the error amplifier:
The control voltage ramps-up, increasing the of the pass device and the output current increases. As the output current increases, the output voltage increases too and settles when . At the steady state, , .
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
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 (). 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:
PMOS | NMOS | |
---|---|---|
Maximum output voltage | ||
PSRR | Low | High |
Output impedance | Lower | Higher |
Area | Bigger | Smaller |
Speed | Slower | Faster |
Dominant pole location | Output node | Gate 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 () in a PMOS design can swing between GND and , with dropout voltage primarily dependent on (around 50mV for saturated devices). In contrast, NMOS LDOs require the output of the error amplifier to be at least 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.
Parameter | External | Capless |
---|---|---|
Stability | Easy | Hard |
Max out current | High | Low-Med |
Parasitics | High | Low |
Amplifier Topology | Regulation | Stability | PSRR | Noise | Power consumption |
---|---|---|---|---|---|
Telescopic | Medium | High | Medium | Low | Low |
Folded cascode | Medium | High | Medium | Medium | Medium |
Two-stage | High | Low | High | Low | Medium |
Gain-boosted | High | Medium | High | Medium | High |
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
Using a voltage divider equation, we get:
Knowing that , we can rewrite:
Combining for , we get:
Denoting :
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 is defined as:
Then,
And we are getting a system of equations:
So the full equation will look like:
For
Just knowing , and will give us the exact values of and
LDO Feedback Resistance Calculator
5. Output voltage error
There are 3 main sources of the output error in LDO:
- Voltage divider mismatch ( and )
- Gain error of error amplifier
- 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 and 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 which leads to the error in output current and hence, an output voltage. The output voltage of the error amplifier is given by:
Taking into account that and :
, where .
Grouping for and :
Hence, becomes:
The gain error is simply the difference between ideal gain and real gain. Taking into account, that ideal gain is :
To calculate the required gain for a given gain error:
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 across PVT:
Total output voltage error: The total output voltage error is basically the sum of the gain error and reference voltage error:
Calculation example:
- Vref = 0.6V
- Vout = 1.2V
- Iq = 1μA
- δVref = 1%
- AEA = 60 dB
- Calculate , :
Check:
- Calculate :
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 () - 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
The first pole is produced by the combination of the load capacitance and output resistance:
The second pole is produced by the combination of the output resitance of the error amplifier and gate capacitance of the pass device:
Load current variation causes the variation in pole 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:
,or, in standard form:
6.3 Compensation
In the previous chapter we saw that the load pole 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
- 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
Apart from the standard poles and , we get an extra zero from the ESR:
This zero is usually located at a relatively high frequency and helps in phase margin improvement. Phase margin is given by:
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 of the pass device.
Using a buffer
Previously, we had a low-frequency pole and a high-frequency pole . Adding a buffer splits the high-frequency pole into two higher-frequency poles:
Two high-frequency poles:
The target here is to push and above 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
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 (). However, due to relatively big length, the bondwire brings a significant inductance to the picture () and it has to be taken into account.
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:
Parasitics | R | L | C |
---|---|---|---|
Bondwire* | - | ||
Package** | |||
PCB trace*** |
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.