# LDO 迴路（架構） (`ldoArch`)

> 低壓降穩壓器的迴路，含誤差放大器極點與閘極極點，用來選擇輸出電容的 ESR 範圍。

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

[元件參考](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/) · [English](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/ic/ldoArch/)

**分類:** 積體電路 · **種類:** `{"definition":"ldoArch","kind":"subsystem"}`

## 何時使用

用於架構階段，配置誤差放大器與導通元件的極點，並找出能讓迴路穩定的輸出電容 ESR。輸出電容與其 ESR、負載以及接到 FB 的分壓電阻放在電路中，再以 signal U1.x_err 執行 analysis.loopGain。

## 接腳

| 接腳 | 訊號域 | 意義 |
|---|---|---|
| `IN` | 電氣 | 輸入電源，即導通元件的源極 |
| `OUT` | 電氣 | 輸出，即導通元件的汲極 |
| `FB` | 電氣 | 輸出分壓的回授，穩定在 vRef |
| `GND` | 電氣 | FB 的參考點 |

## 常用參數

- `gmEa`: Transconductance of the error amplifier; its DC gain is gmEa·roEa (預設值: 0.0003)
- `cEa`: Capacitance at the error amplifier's output: its pole is 1/(2π·roEa·cEa) (預設值: 0.000000000318)
- `cGate`: Gate capacitance of the pass device: the gate pole is 1/(2π·rGate·cGate) (預設值: 0.000000001)
- `gmPass`: Transconductance of the pass device at its operating point (預設值: 1)
- `rDo`: On resistance of the pass device at full gate drive: the dropout is rDo·I (預設值: 1)

## 參數

| 鍵 | 單位 | 預設值 | 典型範圍 | 說明 | 規格書來源 |
|---|---|---|---|---|---|
| `vRef` | V | 1.2 | 100m – 10 V | Reference: FB is regulated to it | typical, user must set |
| `gmEa` | S | 0.0003 | 1n – 10 S | Transconductance of the error amplifier; its DC gain is gmEa·roEa | typical, user must set |
| `roEa` | Ω | 10000000 | 1 – 1t Ω | Output resistance of the error amplifier | typical, user must set |
| `cEa` | F | 0.000000000318 | 1f – 1m F | Capacitance at the error amplifier's output: its pole is 1/(2π·roEa·cEa) | typical, user must set |
| `rGate` | Ω | 1000 | 1m – 1g Ω | Output resistance of the stage that drives the pass device's gate | typical, user must set |
| `cGate` | F | 0.000000001 | 1f – 1m F | Gate capacitance of the pass device: the gate pole is 1/(2π·rGate·cGate) | typical, user must set |
| `gmPass` | A/V | 1 | 1u – 1k A/V | Transconductance of the pass device at its operating point | typical, user must set |
| `roPass` | Ω | 330 | 1m – 1g Ω | Output resistance of the pass device (the supply's path to the output) | typical, user must set |
| `rDo` | Ω | 1 | 100u – 1k Ω | On resistance of the pass device at full gate drive: the dropout is rDo·I | typical, user must set |
| `iLim` | A | 0.5 | 1u – 100 A | Current limit of the pass device | typical, user must set |

_參數說明在兩種語言中都是英文。_

## 模型

誤差 vRef − V(FB) 經過誤差放大器（增益 gmEa·roEa，極點在 1/(2π·roEa·cEa)），再經過閘極極點 1/(2π·rGate·cGate)，成為受 iLim 限制的導通電流 gmPass·g，從 IN 經 rDo 流到 OUT；roPass 連接 IN 與 OUT。壓降狀態下輸出電流為 (V(IN) − V(OUT))/rDo。迴路增益為 β·gmEa·roEa·gmPass·Zp/((1 + s/ωea)(1 + s/ωg))，Zp 含負載極點與 ESR 零點 1/(2π·ESR·C)。這個迴路即 TI SLVA115A 的迴路（第 1 節、圖 1；ESR 零點為其式 1），ESR 範圍依其規則：ESR 零點低於交越頻率，交越頻率低於導通元件極點。

## 常見錯誤

- 預設值是典型值，使用者必須自行設定。使用預設值與 10 µF 時，只有 ESR 約 0.7 Ω 到 4 Ω 時相位裕度才高於 45°；陶瓷電容只有幾毫歐姆，會使迴路振盪。
- gmPass 只取一個工作點。實際導通元件的 gm 隨負載電流增加，迴路增益與負載極點也會跟著移動：請以各自的 gmPass 分別檢查輕載與滿載。

Problems 規則: `ground.missing`

## 規格書與來源

這是架構方塊。這些數值由設計者決定：誤差放大器的 gm、輸出電阻與輸出電容，閘極驅動的電阻，導通元件的閘極電容、gm、輸出電阻與導通電阻，以及限流值。LDO 的規格書只列出穩定的輸出電容與 ESR 範圍、壓降與限流。

## 範例

以指令 `file.openExample` 開啟範例，名稱為 `demo:ldoArch`.

---
由 `cargo xtask reference` 依使用說明文字與參數規格產生，請勿手動編輯。
