# 含死區時間的半橋驅動器 (`hbDriverArch`)

> 以單一 PWM 命令驅動半橋的兩個開關，死區時間可為固定或自適應。

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

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

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

## 何時使用

用於架構階段，選擇整合式驅動器的死區時間方式：觀察固定死區造成的責任比誤差、本體二極體導通多久，以及自適應死區如何縮短它。要把實際的驅動 IC 與其供電放進電路，改用含自舉的半橋閘極驅動器。

## 接腳

| 接腳 | 訊號域 | 意義 |
|---|---|---|
| `IN` | 訊號 | PWM 命令，高準位導通上臂 |
| `SW` | 電氣 | 切換節點感測，供自適應死區使用 |
| `HO` | 訊號 | 上臂閘極訊號，0 或 1 |
| `LO` | 訊號 | 下臂閘極訊號，0 或 1 |
| `GND` | 電氣 | SW 的參考點 |

## 常用參數

- `tDead`: Fixed mode: the wait before each turn-on; adaptive mode: the longest the low side waits for SW to fall (預設值: 0.00000002)
- `adaptive`: 1 = adaptive dead time (sense SW and the other gate); 0 = fixed (預設值: 0)
- `tAdapt`: Adaptive mode: delay from the sensed edge (SW below vSwTh, or the other gate below vTh) to the turn-on (預設值: 0.000000002)
- `cGate`: Gate capacitance each output charges (0 = no gate stage: the outputs follow their commands at once) (預設值: 0)
- `rSource`: Pull-up resistance of each output (driver and gate resistor) (預設值: 2)

## 參數

| 鍵 | 單位 | 預設值 | 典型範圍 | 說明 | 規格書來源 |
|---|---|---|---|---|---|
| `tPd` | s | 0 | 0 – 10u s | Propagation delay from IN to both outputs, on both edges (0 = none) | typical, user must set |
| `tDead` | s | 0.00000002 | 0 – 10u s | Fixed mode: the wait before each turn-on; adaptive mode: the longest the low side waits for SW to fall | typical, user must set |
| `adaptive` | — | 0 | 0 – 1 | 1 = adaptive dead time (sense SW and the other gate); 0 = fixed | typical, user must set |
| `tAdapt` | s | 0.000000002 | 0 – 10u s | Adaptive mode: delay from the sensed edge (SW below vSwTh, or the other gate below vTh) to the turn-on | typical, user must set |
| `vSwTh` | V | 1 | -100 – 10k V | Adaptive mode: SW below this level lets the low side turn on | typical, user must set |
| `cGate` | F | 0 | 0 – 1u F | Gate capacitance each output charges (0 = no gate stage: the outputs follow their commands at once) | typical, user must set |
| `rSource` | Ω | 2 | 1m – 1k Ω | Pull-up resistance of each output (driver and gate resistor) | typical, user must set |
| `rSink` | Ω | 1 | 1m – 1k Ω | Pull-down resistance of each output (driver and gate resistor) | typical, user must set |
| `vDrive` | V | 5 | 100m – 100 V | Gate drive voltage | typical, user must set |
| `vTh` | V | 2 | 10m – 100 V | Gate threshold: an output is high while its gate is above it (below vDrive) | typical, user must set |

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

## 模型

IN 在兩個邊緣都延遲 tPd。固定死區時，每一側在另一側的命令下降後經過 tDead 才導通。adaptive 為 1 時，下臂在 V(SW) 低於 vSwTh 後經過 tAdapt 導通；若 V(SW) 一直不下降，則在 tDead 後導通。上臂在下臂閘極低於 vTh 後經過 tAdapt 導通。cGate 大於 0 時，每個閘極經 rSource 充電到 vDrive、經 rSink 放電，所以導通時經過 rSource·cGate·ln(vDrive/(vDrive − vTh)) 越過 vTh，關斷時經過 rSink·cGate·ln(vDrive/vTh)。固定死區會使切換節點看到的導通時間縮短 tDead 加上導通延遲再減去關斷延遲（TI SLUA618、TI SLVAF84）。

## 常見錯誤

- 預設值是典型值，使用者必須自行設定。固定死區必須長於另一個閘極的關斷延遲，否則兩個開關會同時導通。
- 自適應感測晚一個求解步長才讀到另一個閘極，所以本體二極體導通時間比 2·tAdapt 約多兩個最大步長。量測時請讓最大步長遠小於 tAdapt。

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

## 規格書與來源

這是架構方塊，數值來自你的設計。tPd 是傳播延遲，tDead 是死區時間（自適應模式下為最長等待時間），tAdapt 是感測延遲，cGate 是開關的閘極電容，rSource 與 rSink 是含閘極電阻的上拉與下拉電阻。之後模擬實際驅動器時，請取其切換特性表中的延遲與死區時間數值。

## 範例

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

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