# IGBT 開關 (`igbt`)

> 由閘極控制、只單向導通電流的開關，有固定壓降。

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

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

**分類:** 開關元件 · **種類:** `{"kind":"igbt"}`

## 何時使用

用於可接受集極射極壓降的高壓大電流橋臂。需要體二極體或純電阻壓降時用 MOSFET 開關。

## 接腳

| 接腳 | 訊號域 | 意義 |
|---|---|---|
| `d` | 電氣 | 集極；順向電流由 d 流向 s |
| `s` | 電氣 | 射極；另一端 |
| `gate` | 訊號 | 訊號輸入；大於 0.5 時允許導通 |

## 常用參數

- `vf`: Voltage lost while it conducts (預設值: 0)
- `ron`: Resistance when it is on (預設值: 10m)
- `eon`: Energy lost each time it turns on (預設值: 0)
- `eoff`: Energy lost each time it turns off (預設值: 0)

## 參數

| 鍵 | 單位 | 預設值 | 典型範圍 | 說明 |
|---|---|---|---|---|
| `ron` | Ω | 10m |  | Resistance when it is on |
| `roff` | Ω | 1meg |  | Resistance when it is off |
| `vf` | V | 0 |  | Voltage lost while it conducts |
| `device` | — | 選填（預設關閉） |  | Device name used to look up losses |
| `thermal` | — | 選填（預設關閉） |  | Where the lost heat goes |
| `eon` | J | 0 |  | Energy lost each time it turns on |
| `eoff` | J | 0 |  | Energy lost each time it turns off |
| `err` | J | 0 |  | Energy lost when the diode recovers |
| `vref` | V | 0 |  | Voltage used to measure those energies |
| `iref` | A | 0 |  | Current used to measure those energies |
| `tc` | 1/K | 0 |  | How on-resistance changes with heat |
| `tj` | °C | 25 |  | Junction temperature for the loss tables |
| `nParallel` | — | 1 |  | Identical devices this one switch stands for: the current is shared, the losses add up, each device keeps its own junction |
| `tjMax` | °C | 選填（預設關閉） |  | Highest junction temperature allowed; overrides the device's rating |
| `ls` | H | 0 | 500p – 50n H | Unwanted inductance in series with it |
| `coss` | F | 0 | 10p – 5n F | Capacitance across the device |
| `cj` | F | 0 | 5p – 2n F | Extra capacitance across the junction |
| `tdon` | s | 0 | 1n – 500n s | Delay before it turns on |
| `tdoff` | s | 0 | 1n – 500n s | Delay before it turns off |
| `qrr` | C | 0 | 1n – 5u C | Charge released as the diode recovers |
| `trr` | s | 100n | 10n – 1u s | How long the diode takes to recover |
| `qrrTemp` | — | 選填（預設關閉） |  | Junction temperature (°C) and factor pairs that scale qrr, from the datasheet's curve |
| `part` | — | 選填（預設關閉） |  | Part number; the catalogue part number, such as BSC070N10NS5, written on the schematic; information only, not simulated |
| `vRating` | V | 選填（預設關閉） |  | Voltage rating; the largest blocking voltage of the data sheet's maximum ratings (VDS, VCES, VRRM), written on the schematic; information only, not simulated |
| `iRating` | A | 選填（預設關閉） |  | Current rating; the continuous current of the data sheet's maximum ratings (ID, IC, IF), written on the schematic; information only, not simulated |

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

**適用於:** 高壓橋臂 · 馬達驅動 · 變頻器橋臂

**不適用於:** 低壓高速切換 → [`mosfet`](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/switches/mosfet/)

## 公式

| 公式 | 方程式 | 出處 |
|---|---|---|
| 導通電壓 | Vce = vf + ron·I | IEC 60747-9:2019 (collector-emitter saturation voltage of IGBTs) |
| 導通損失 | P = D·(vf·I + ron·I²) | Mohan, Undeland & Robbins, Power Electronics, 3rd ed. (2003), ch. 2 (on-state power loss) |

## 快速驗算

輸入:

- `ic`: 導通時的集極電流 = 50 A
- `duty`: 導通時間比例 = 500m —
- `vf`: 飽和臨界電壓 = 1.2 V, `vf`
- `ron`: 斜率電阻 = 15m Ω, `ron`

輸出:

- `vce`: 導通電壓 = `vf + ron*ic` V
- `pcond`: 導通損失 = `duty*(vf*ic + ron*ic^2)` W

## 模型邏輯

- 閘極大於 0.5 且 v(d) - v(s) 超過 vf 時導通，之後 i = (v - vf)/ron，只能順向導通。
- 閘極降到 0.5 以下或電流反向時立即關斷，之後以 roff 阻斷；沒有尾電流。
- 沒有反並聯二極體，也沒有逆向恢復；vf 預設為 0，未設定時沒有飽和壓降。
- eon 與 eoff 依 (V/vref)·(I/iref) 比例在每次切換時計入損失報告，不改變波形。

## 模型

閘極大於 0.5 時，v(d) - v(s) 超過 vf 後元件導通，之後遵循 i = (v - vf) / ron。電流反向或閘極變低時關斷，關斷後經 roff 阻擋。沒有並聯二極體，也沒有逆向導通，且不模擬關斷尾電流。

## 常見錯誤

- 電感性負載需要與 IGBT 反向並聯的續流二極體。沒有它時，關斷會把電壓推高到電流乘以 roff，並出現額定值警告。
- 橋臂的兩個開關同時導通會使電源短路。vf 預設為 0，不設定的話導通損耗會偏低，請填入飽和壓降。

Problems 規則: `shoot-through`, `device.rating`

## 規格書與來源

vf 取低電流下的集極射極飽和電壓，ron 取輸出曲線在工作電流附近的斜率，兩者都用高溫接面的值。eon 與 eoff 取自切換能量表，並以其測試電壓 vref 與電流 iref 填入，二極體的能量 err 則屬於續流二極體。

## 範例

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

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