# LLC 諧振控制器（混合遲滯控制） (`llcController`)

> 依光耦合器回授電流驅動半橋 LLC，並含規格書的啟動順序、軟啟動與保護。

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

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

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

## 何時使用

半橋 LLC 使用 UCC25640x 類控制器，並想以自己的諧振槽套用混合遲滯控制、BLK 啟動臨界、LL/SS 軟啟動與 OCP1 時使用。circuit.applicationCircuit 的 llcHhc 拓樸會建出轉換器，並依規格書的設計步驟算出所有外部零件。

## 接腳

| 接腳 | 訊號域 | 意義 |
|---|---|---|
| `GND` | 電氣 | 所有腳位的接地參考 |
| `VCC` | 電氣 | 電源，高於 UVLO 臨界才會啟動 |
| `RVCC` | 電氣 | 閘極驅動用的 13 V 穩壓電源，供應自舉二極體 |
| `BLK` | 電氣 | 經分壓感測匯流排電壓 |
| `FB` | 電氣 | 回授，光耦合器從這裡拉出電流 |
| `ISNS` | 電氣 | 經 CISNS 與 RISNS 感測諧振電流 |
| `VCR` | 電氣 | 經電容分壓取得諧振電容電壓 |
| `BW` | 電氣 | 偏壓繞組感測，用於輸出過壓保護 |
| `LLSS` | 電氣 | 軟啟動電容與來自 RVCC 的分壓 |
| `HB` | 電氣 | 上臂自舉電源 |
| `HO` | 電氣 | 上臂閘極驅動 |
| `HS` | 電氣 | 半橋的切換節點 |
| `LO` | 電氣 | 下臂閘極驅動 |

## 常用參數

- `iFb`: FB internal current source (預設值: 0.000082)
- `rFb`: Internal pull-down resistor of the feedback chain (預設值: 100000)
- `vcm`: Common-mode voltage of VCR (預設值: 3)
- `iRamp`: Frequency compensation ramp current (預設值: 0.002)
- `tDead`: Dead time between the outgoing and the incoming gate (預設值: 0.0000001)

## 參數

| 鍵 | 單位 | 預設值 | 典型範圍 | 說明 | 規格書來源 |
|---|---|---|---|---|---|
| `vccOn` | V | 8.25 | 2 – 30 V | VCC UVLO rising threshold | Section 6.5 VCCUVLOrising typ 8.25 V, p.7 |
| `vccHys` | V | 0.25 | 0 – 5 V | VCC UVLO hysteresis | Section 6.5 VCCUVLOHYS typ 0.25 V, p.7 |
| `vRvcc` | V | 13 | 5 – 17 V | Regulated RVCC voltage | Section 6.5 VRVCC typ 13 V at VCC = 15 V, p.8 |
| `vRvccDrop` | V | 0.02 | 0 – 5 V | VCC minus RVCC when VCC is too low to regulate | derived: section 6.5 VRVCC typ 12.98 V at VCC = 13 V, no load, p.8 |
| `rRvcc` | Ω | 12.7 | 0 – 1k Ω | Output resistance of RVCC | derived: section 6.5 VRVCC typ 12.98 V no load and 12.6 V at 30 mA at VCC = 13 V, p.8 |
| `vRvccUvlo` | V | 7 | 1 – 15 V | RVCC UVLO threshold | Section 6.5 VRVCCUVLO typ 7 V, p.8 (no hysteresis is given) |
| `vBlkStart` | V | 1 | 100m – 7 V | BLK voltage that allows the LLC to start switching | Section 6.5 VBLKStart typ 1 V for UCC256404, p.8 (3 V for UCC256402 and UCC256403) |
| `vBlkStop` | V | 0.9 | 100m – 7 V | BLK voltage that forces the LLC to stop | Section 6.5 VBLKStop typ 0.9 V for UCC256404, p.8 (2.2 V for UCC256402 and UCC256403) |
| `vFb` | V | 5.6 | 1 – 7 V | Voltage FB is held at | Section 6.5 VFB typ 5.6 V at a sink current of IFB − 50 µA, p.9 |
| `iFb` | A | 0.000082 | 1u – 1m A | FB internal current source | Section 6.5 IFB typ 82 µA for UCC256404, p.9 (164 µA for UCC256403) |
| `rFb` | Ω | 100000 | 1k – 10meg Ω | Internal pull-down resistor of the feedback chain | Section 6.5 RFBInternal typ 100 kΩ, p.8 |
| `avdd` | V | 6 | 3 – 12 V | Upper limit of the control effort | derived: section 7.3.1 requires AVDD at least twice VCM; the sheet gives no value, so the lower bound is used |
| `bmtl` | V | 0.2 | 0 – 6 V | Lowest control effort (the burst mode entry threshold BMTL) | Section 6.5 BMTLmin 0.2 V, p.10; burst mode is not modelled |
| `vcm` | V | 3 | 1 – 5 V | Common-mode voltage of VCR | Section 6.5 VCM typ 3 V, p.9 |
| `iRamp` | A | 0.002 | 10u – 100m A | Frequency compensation ramp current | Section 6.5 IRAMP typ 2 mA, p.9 |
| `rClamp` | Ω | 100 | 1 – 100k Ω | Resistance that clamps VCR to VCM while idle | assumption: the sheet says the pin is clamped to VCM in idle (section 7.3.4) but not how hard |
| `tDead` | s | 0.0000001 | 10n – 5u s | Dead time between the outgoing and the incoming gate | Section 6.6 tDT(min) typ 100 ns, p.11; the part adapts it between 100 ns and 1.1 µs, the model keeps it fixed |
| `vOcp1` | V | 4 | 500m – 7 V | OCP1 threshold on ISNS | Section 6.5 VISNS_OCP1 typ 4 V, p.9 |
| `vOcp1Ss` | V | 5 | 500m – 7 V | OCP1 threshold on ISNS during the soft start | Section 6.5 VISNS_OCP1_SS typ 5 V, p.9 |
| `vOcp3` | V | 0.43 | 50m – 7 V | OCP3 threshold on the average ISNS (read by the design equations only: OCP2 and OCP3 are not modelled) | Section 6.5 VISNS_OCP3 typ 0.43 V, p.9 |
| `vBwOvp` | V | 4 | 500m – 7 V | Bias winding overvoltage threshold (positive and negative) | Section 6.5 VBWOVPos typ 4 V and VBWOVNeg typ −4 V, p.10 |
| `tPause` | s | 1 | 1m – 100 s | Wait after a fault before the next start | Section 7.3.9 (every fault) and section 6.5 tPauseTimeOut 1 s, p.11 |
| `iSsUp` | A | 0.000036 | 100n – 1m A | Current that charges the soft-start capacitor on LL/SS | Section 6.5 ISSUp typ 36 µA, p.10 |
| `rSsDown` | Ω | 1200 | 10 – 100k Ω | LL/SS pull-down while idle | Section 7.4.3.1: the pin is pulled low with a typical 1.2 kΩ resistor |
| `tSsInit` | s | 0.000776 | 1u – 100m s | Time the LL/SS initial voltage is programmed before the soft start | Section 6.5 tSSInitVolPrgm typ 776 µs, p.10 |
| `tChargeBoot` | s | 0.000265 | 1u – 100m s | Time LO is held on to charge the bootstrap capacitor | Section 6.5 tChargeBoot typ 265 µs, p.10 |
| `iccRun` | A | 0.0022 | 0 – 100m A | Supply current from VCC while the gates switch | Section 6.5 ICCRun typ 2.2 mA (gate current excluded), p.8 |
| `vHbUvloFall` | V | 7.25 | 1 – 30 V | HB − HS UVLO falling threshold | Section 6.5 VHB-HSUVLOFall typ 7.25 V, p.9 |
| `vHbUvloHys` | V | 0.9 | 0 – 10 V | HB − HS UVLO hysteresis | Section 6.5 VHB-HSUVLOHys typ 0.9 V, p.9 |
| `rGateHi` | Ω | 9 | 100m – 1k Ω | Pull-up resistance of each gate output | derived: section 6.5 VRVCC − VLOH typ 0.18 V and VHB − VHOH typ 0.18 V at 20 mA, p.9 |
| `rGateLo` | Ω | 2.5 | 100m – 1k Ω | Pull-down resistance of each gate output | derived: section 6.5 VLOL and VHOL − VHS typ 0.05 V at 20 mA, p.9 |
| `iHb` | A | 0.000062 | 0 – 10m A | HB quiescent current, from HB to HS | Section 6.5 IBOOT_QUIESCENT typ 62 µA, p.10 |
| `rOff` | Ω | 100000000 | 1k – 1t Ω | Off-state resistance of the internal switches | assumption: large against the external networks |

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

## 模型

FB 保持在 vFb，控制量 Vcomp = rFb * (iFb - Iopto)，不小於 bmtl、不大於 avdd。臨界為 VTH = vcm + Vcomp / 2 與 VTL = vcm - Vcomp / 2；控制器對 VCR 注入 ±iRamp，所以上臂在 VTH 關閉、下臂在 VTL 關閉，Vcomp 越小頻率越高。進入的閘極在退出的閘極之後 tDead 才導通。

## 常見錯誤

- 未模擬突發模式、電容區（ZCS）保護與 OCP2、OCP3，重載時頻率可能被推到諧振點以下，所以 llcHhc 應用電路預設半載。
- 故障（OCP1、偏壓繞組過壓）會讓開關停止 tPause，預設 1 秒，所以短時間的模擬只會看到停止。

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

## 規格書與來源

諧振槽、BLK、ISNS、VCR 與 BW 網路以及 LL/SS 的零件是你自己的。vccOn、vccHys、vRvcc、vBlkStart、vBlkStop、vFb、iFb、rFb、vcm、iRamp、vOcp1、vBwOvp、iSsUp、tSsInit 與 tChargeBoot 取自 UCC256404 規格書；avdd、rClamp 與 tDead 的來源在參數說明中標明。

## 範例

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

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