# 數位隔離器 (`digitalIsolator`)

> 把邏輯訊號在短暫延遲後傳到隔離的接地。

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

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

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

## 何時使用

用來把 PWM 或致能訊號傳過隔離屏障，並保留真實的延遲與輸出準位。類比回授電流改用光耦合器。

## 接腳

| 接腳 | 訊號域 | 意義 |
|---|---|---|
| `IN` | 電氣 | 邏輯輸入，以 GND1 為參考 |
| `VCC1` | 電氣 | 輸入側電源，決定臨界值 |
| `GND1` | 電氣 | 輸入側接地 |
| `OUT` | 電氣 | 隔離側的推挽輸出 |
| `VCC2` | 電氣 | 輸出側電源 |
| `GND2` | 電氣 | 輸出側接地 |

## 常用參數

- `tPd`: Propagation delay IN to OUT (both edges) (預設值: 0.000000011)
- `riseFrac`: Rising input threshold as a fraction of VCC1 (預設值: 0.6)
- `fallFrac`: Falling input threshold as a fraction of VCC1 (預設值: 0.4)
- `defaultHigh`: Output while VCC1 is unpowered: 1 = high (ISO7710), 0 = low (ISO7710F) (預設值: 1)

## 參數

| 鍵 | 單位 | 預設值 | 典型範圍 | 說明 | 規格書來源 |
|---|---|---|---|---|---|
| `riseFrac` | — | 0.6 | 50m – 950m | Rising input threshold as a fraction of VCC1 | Section 5.9 VIT+(IN) typ 0.6 x VCC1, p.11 |
| `fallFrac` | — | 0.4 | 50m – 950m | Falling input threshold as a fraction of VCC1 | Section 5.9 VIT-(IN) typ 0.4 x VCC1, p.11 |
| `tPd` | s | 0.000000011 | 0 – 1m s | Propagation delay IN to OUT (both edges) | Section 5.15 tPLH, tPHL typ, p.14 |
| `rOutHi` | Ω | 50 | 100m – 100k Ω | Output resistance to VCC2 when high (0.2 V at 4 mA) | Section 5.9 VOH typ 4.8 V at IOH = -4 mA, p.11 |
| `rOutLo` | Ω | 50 | 100m – 100k Ω | Output resistance to GND2 when low (0.2 V at 4 mA) | Section 5.9 VOL typ 0.2 V at IOL = 4 mA, p.11 |
| `vUvloOn` | V | 2 | 500m – 10 V | Supply UVLO rising threshold (VCC1 and VCC2) | Section 5.3 VCC(UVLO+) nom, p.6 |
| `vUvloOff` | V | 1.8 | 500m – 10 V | Supply UVLO falling threshold (VCC1 and VCC2) | Section 5.3 VCC(UVLO-) nom, p.6 |
| `defaultHigh` | — | 1 | 0 – 1 | Output while VCC1 is unpowered: 1 = high (ISO7710), 0 = low (ISO7710F) | Table 7-2 Function Table, p.20 |
| `rOff` | Ω | 100000000 | 1k – 1t Ω | Off-state resistance of the output switches | assumption: leakage is not specified |
| `cmti` | V/s | 100000000000 | 0 – 10t V/s | Common-mode transient immunity: the barrier slope the output withstands (0: not set, no check) | Section 5.9 CMTI typ 100 kV/µs |
| `tGlitch` | s | 0.00000002 | 1p – 1m s | Width of the spurious output pulse while the barrier slope is above cmti | assumption (typical, user must set): data sheets give CMTI as a pass/fail limit, not the glitch it causes |

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

## 模型

IN 與 VCC1 的 riseFrac 與 fallFrac 倍比較，是一個隨電源變動的史密特觸發。VCC1 低於 UVLO 時輸出採預設準位。資料在上升與下降沿都延遲 tPd 後到達 OUT，高準位經 rOutHi 接 VCC2，低準位經 rOutLo 接 GND2。VCC2 低於 UVLO 時兩個輸出開關都斷開。GND2 對 GND1 的斜率會被量測；超過 cmti（100 V/ns，ISO7710 的典型 CMTI）時輸出反相 tGlitch，Problems 會回報超過 CMTI。脈寬失真與屏障電容沒有建模。

## 常見錯誤

- 兩側各自要有電源與接地。輸出以 GND2 為參考，所以對電路接地量測時也會看到接地之間的偏移。
- 控制訊號會晚一個步長才到達輸出開關，所以延遲會多出約一步。預設延遲 11 ns 時，請用 1 ns 以下的步長。

Problems 規則: `step.too_large`, `ground.missing`

## 規格書與來源

riseFrac 與 fallFrac 取典型輸入臨界值除以 VCC1。tPd 取典型傳遞延遲。rOutHi 與 rOutLo 取輸出壓降除以測試電流。vUvloOn 與 vUvloOff 取電源 UVLO 臨界值，defaultHigh 取你的型號的預設輸出。以 ic.fromSpec 搭配 digitalIsolator 模板傳入。

## 範例

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

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