# 可調式並聯穩壓器 (`shuntRegulator`)

> 從陰極吸入電流，讓 REF 維持在參考電壓。

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

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

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

## 何時使用

用作隔離電源二次側的誤差放大器並驅動光耦合器，或搭配兩顆電阻當作精密並聯參考。負載需要輸出電流時，改用電壓參考。

## 接腳

| 接腳 | 訊號域 | 意義 |
|---|---|---|
| `K` | 電氣 | 陰極，吸入調節電流 |
| `A` | 電氣 | 陽極，REF 與 K 的參考點 |
| `REF` | 電氣 | 參考輸入，與 vref 比較 |

## 常用參數

- `vref`: Reference voltage: REF above the anode where the device regulates (預設值: 2.495)
- `gm`: Low-frequency transconductance: cathode current per volt of REF error (預設值: 2.57)
- `fPole`: Pole of the transconductance (預設值: 6500)
- `iMin`: Cathode current with REF exactly at vref (the internal bias) (預設值: 0.0004)

## 參數

| 鍵 | 單位 | 預設值 | 典型範圍 | 說明 | 規格書來源 |
|---|---|---|---|---|---|
| `vref` | V | 2.495 | 500m – 40 V | Reference voltage: REF above the anode where the device regulates | Section 6.5 Vref typ (TL431C), p.6 |
| `iRef` | A | 0.000002 | 0 – 1m A | Current flowing into REF | Section 6.5 Iref typ (R1 = 10 kΩ), p.6 |
| `gm` | A/V | 2.57 | 1m – 1k A/V | Low-frequency transconductance: cathode current per volt of REF error | Figure 6-10: 55.5 dB at 1 kHz into the 232 Ω load of Figure 6-11 (10^(55.5/20) / 232 Ω), p.16 |
| `fPole` | Hz | 6500 | 1 – 100meg Hz | Pole of the transconductance | Figure 6-10: 3 dB below the low-frequency gain near 6.5 kHz, read off the plot, p.16 |
| `iMin` | A | 0.0004 | 0 – 100m A | Cathode current with REF exactly at vref (the internal bias) | Section 6.5 Imin typ, p.6 |
| `ikMax` | A | 0.1 | 1m – 1 A | Most cathode current | Section 6.4 IKA max (recommended), p.5 |
| `vKaMin` | V | 2 | 0 – 10 V | Lowest cathode voltage (above the anode) while sinking | assumption: no saturation voltage is given; Section 6.4 recommends VKA >= Vref, p.5 |

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

## 模型

誤差 V(REF) - V(A) - vref 經過 fPole 的單極點，成為 gm 乘以誤差的吸入電流，在參考點時另加 iMin。電流限制在 0 到 ikMax 之間且不會積分飽和，陰極低於陽極之上 vKaMin 時停止吸入電流。REF 腳有固定的 iRef 流入。所有部分都與電路一起求解，所以陰極接 REF 或接 type II 網路時，不需要很小的步長。1 MHz 附近的第二極點、電容性負載下的不穩定，以及低於 Imin 時失去調節，都沒有建模。

## 常見錯誤

- 陰極電流至少保持 1 mA。實際零件低於 Imin 就不再調節，但模型仍會調節，所以請在光耦合器 LED 兩端加偏壓電阻。
- 吸入電流時陰極電壓無法低於約 2 V。低輸出電壓搭配光耦合器 LED 與串聯電阻時，請確認陰極仍高於此值。
- REF 電流流過上分壓電阻，使輸出升高 iRef 乘以該電阻，10 kOhm 時為 20 mV。

Problems 規則: `pin.unconnected`, `param.out_of_range`

## 規格書與來源

vref、iRef、iMin 取電氣特性的典型值。ikMax 取建議的最大陰極電流。gm 與 fPole 取自小訊號電壓放大率曲線：gm 是低頻增益除以測試電路的負載電阻，fPole 是增益下降 3 dB 的頻率。vKaMin 是假設值。以 ic.fromSpec 搭配 shuntRegulator 模板傳入。

## 範例

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

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