# Low-Dropout Regulator (`ldo`)

> Makes a clean fixed voltage from a slightly higher supply.

![ldo](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/img/ldo.svg)

[Component reference](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/) · [繁體中文](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/ic/ldo/)

**Group:** ICs · **Kind:** `{"definition":"ldo","kind":"subsystem"}`

## When to use it

Use it after a switching stage to clean the ripple, or to power logic, with its dropout, current limit and supply rejection. Use Voltage Reference for a precise low-current level.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `IN` | electrical | Input supply |
| `OUT` | electrical | Regulated output, needs its capacitor |
| `GND` | electrical | Ground |
| `EN` | electrical | Enable, tie to IN to keep it on |

## Common parameters

- `vOut`: Output voltage (Default: 3.3)
- `psrr`: Supply rejection at low frequency (Default: 90)
- `rDo`: Dropout resistance: dropout per ampere of output (Default: 0.48)
- `iLim`: Current limit (Default: 0.5)
- `tOn`: Start-up time: the set point ramps to vOut over it (Default: 0.00008)

## Parameters

| Key | Unit | Default | Typical range | Description | Datasheet source |
|---|---|---|---|---|---|
| `vOut` | V | 3.3 | 500m – 40 V | Output voltage | LP5907MFX-3.3 option; Section 5.5 tolerance applies to VOUT(NOM), p.5 |
| `psrr` | dB | 90 | 0 – 160 dB | Supply rejection at low frequency | Section 5.5 PSRR typ at 100 Hz, IOUT = 20 mA, p.5 |
| `fZero` | Hz | 430 | 100m – 1g Hz | Frequency where the rejection starts to fall (20 dB per decade) | fit to the four PSRR rows of Section 5.5 (100 Hz to 100 kHz), p.5 |
| `fPole` | Hz | 13600 | 100m – 1g Hz | Frequency where the rejection stops falling | fit to the four PSRR rows of Section 5.5 (60 dB at 100 kHz), p.5 |
| `vDo0` | V | 0 | 0 – 5 V | Dropout with no load | assumption: Section 5.5 gives the dropout at 250 mA only, p.5 |
| `rDo` | Ω | 0.48 | 100u – 1k Ω | Dropout resistance: dropout per ampere of output | Section 5.5 VDO typ 120 mV at 250 mA (DSBGA), p.5 |
| `rLoad` | Ω | 0.033 | 0 – 1k Ω | Load regulation as a resistance | Section 5.5 load regulation typ 0.001 %/mA at 3.3 V, p.5 |
| `rHf` | Ω | 0.48 | 100u – 1k Ω | Output resistance a load step sees before the loop responds | assumption: set to rDo (the pass device fully on); no output impedance curve is given |
| `fLoop` | Hz | 46000 | 1 – 1g Hz | Bandwidth with which the loop corrects load and dropout changes | fit: a 1 to 250 mA step in 10 us droops 40 mV with rHf and no capacitor (Section 5.5 load transient max), p.6 |
| `iLim` | A | 0.5 | 100u – 100 A | Current limit | Section 5.5 ISC typ, p.5 |
| `iq` | A | 0.000012 | 0 – 100m A | Quiescent current drawn from IN while enabled | Section 5.5 IQ typ at IOUT = 0, p.5 |
| `tOn` | s | 0.00008 | 1n – 1 s | Start-up time: the set point ramps to vOut over it | Section 5.5 tON typ (to 95 % of VOUT), p.6 |
| `vEnOn` | V | 1.2 | 100m – 10 V | EN rising threshold | Section 5.5 VIH min (used as the threshold), p.6 |
| `vEnOff` | V | 0.4 | 0 – 10 V | EN falling threshold | Section 5.5 VIL max (used as the threshold), p.6 |
| `rAd` | Ω | 230 | 1 – 1g Ω | Output discharge resistance while disabled | Section 5.5 RAD typ, p.5 |

_Parameter descriptions are in English in both languages._

## Model

The set point is vOut plus the input through the supply rejection, which is psrr at low frequency with a zero at fZero and a pole at fPole. After enable the set point ramps up over tOn. The output falls by rLoad times the current, and a fast load step sees rHf until the loop catches up at fLoop. In dropout the output is the input less vDo0 and rDo times the current. The current stops at iLim, the output cannot sink, and the input draws the output current plus iq. Noise, temperature and thermal shutdown are not modelled.

## Common mistakes

- Give the input a capacitor or a stiff source. The input current reaches the circuit one step late, and a soft source without a capacitor can make it oscillate.
- The control reaches the output one step late. Keep the step below about a tenth of 1 / (2 pi fLoop), which is about 0.35 us at the defaults.

Problems rules: `step.too_large`, `param.out_of_range`

## Datasheet and sources

vOut is your output option. psrr is the rejection at the lowest frequency listed, and fZero and fPole fit the other rows or the curve. rDo is the dropout divided by its test current, rLoad is the load regulation times vOut, iLim is the short-circuit current, iq is the quiescent current, and tOn is the turn-on time. vEnOn and vEnOff are the enable thresholds. Pass them to ic.fromSpec with the ldo template.

## Example

Open the example with the command `file.openExample` and the name `demo:ldo`.

---
Generated by `cargo xtask reference` from the usage texts and parameter specs. Do not edit by hand.
