# 轉態模式升壓功率因數校正控制器（臨界導通，零電流偵測） (`crmPfcController`)

> 讓升壓 PFC 工作在連續導通的邊界：電感繞組顯示電流歸零時開始每個脈波，開關電流達到市電與誤差電壓相乘的門檻時結束。

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

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

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

## 何時使用

低至中功率（約 300 W 以下）的升壓 PFC，使用 UCC38050 類控制器時使用：沒有振盪器、沒有電流放大器，升壓二極體也不會有逆向恢復。circuit.applicationCircuit 的 transitionModePfc 拓樸會建出規格書的通用輸入 100 W 前級穩壓器。功率更高時請用 CCM 升壓功率因數校正控制器或乘法器式升壓功率因數校正控制器。

## 接腳

| 接腳 | 訊號域 | 意義 |
|---|---|---|
| `VO_SNS` | 電氣 | 輸出電壓感測，穩定在 2.5 V；過低時停止閘極 |
| `COMP` | 電氣 | 轉導放大器輸出，補償網路接到 GND |
| `MULTIN` | 電氣 | 乘法器輸入，取自整流後市電的分壓 |
| `CS` | 電氣 | 開關電流感測；超過乘法器輸出時結束脈波 |
| `ZCD` | 電氣 | 零電流偵測，經電阻接到輔助繞組 |
| `GND` | 電氣 | 所有腳位的接地參考 |
| `DRV` | 電氣 | 升壓開關的閘極驅動 |
| `VCC` | 電氣 | 電源，高於 UVLO 臨界才會動作 |

## 常用參數

- `vRef`: Voltage amplifier reference on VO_SNS (預設值: 2.5)
- `gm`: Voltage amplifier transconductance (預設值: 0.00009)
- `kMult`: Multiplier gain constant of kMult·(V(MULTIN) + vMultOffset)·(V(COMP) − vCompOffset) (預設值: 0.65)
- `vZcdRise`: ZCD rising-edge threshold (arms the detector) (預設值: 1.7)
- `tRestart`: Restart timer: DRV turns on after this long off (預設值: 0.0004)

## 參數

| 鍵 | 單位 | 預設值 | 典型範圍 | 說明 | 規格書來源 |
|---|---|---|---|---|---|
| `vccOn` | V | 15.8 | 1 – 20 V | VCC UVLO turn-on threshold | Section 6.5 VCC turnon threshold, UCCx8050 typ 15.8 V, p.5 |
| `vccOff` | V | 9.7 | 500m – 20 V | VCC UVLO turn-off threshold | Section 6.5 VCC turnoff threshold typ 9.7 V, p.5 |
| `vRef` | V | 2.5 | 500m – 5 V | Voltage amplifier reference on VO_SNS | Section 6.5 voltage amplifier input voltage (VREF) typ 2.5 V, p.5 |
| `gm` | S | 0.00009 | 100n – 10m S | Voltage amplifier transconductance | Section 6.5 gM typ 90 µS at TJ = 25 °C, VCOMP = 3.5 V, p.5 |
| `iLin` | A | 0.00001 | 100n – 1m A | Voltage amplifier output current in normal operation (either way) | Section 7.3.2: sink and source capability approximately 10 µA during normal operation, p.12; pin table, COMP, p.3 |
| `kUvd` | — | 0.88 | 100m – 1 | VO_SNS fraction of vRef below which the enhanced source is on | Section 7.3.2: slew-rate enhancement when VO_SNS < 0.88 × VREF, p.12 |
| `kOvd` | — | 1.05 | 1 – 2 | VO_SNS fraction of vRef above which the enhanced sink is on | Section 7.3.2: slew-rate enhancement when VO_SNS > 1.05 × VREF, p.12 |
| `iSrcEdr` | A | 0.0013 | 1u – 100m A | Enhanced source current into COMP | Sections 7.1 and 8.1: the UCC38050 gM amplifier source current is typically 1.3 mA, pp.10 and 16 |
| `iSinkEdr` | A | 0.001 | 1u – 100m A | Enhanced sink current out of COMP | Section 6.5 sink current typ 1 mA at VO_SNS = 2.7 V, VCOMP = 3.5 V, p.5 |
| `vCompEdrLow` | V | 2.4 | 0 – 5 V | COMP the enhanced sink slews down to | Section 7.3.5: the slew rate enhancement slews the COMP pin to approximately 2.4 V, p.13 |
| `vCompLo` | V | 1.8 | 0 – 5 V | COMP lowest output | Section 6.5 VCOMP low typ 1.8 V at VO_SNS = 2.55 V, p.5 |
| `vCompHi` | V | 5 | 1 – 10 V | COMP highest output | Section 6.5 VCOMP high min 4.5 V, max 5.5 V at VO_SNS = 2.1 V, p.5 (no typical value: the middle of the band) |
| `kMult` | 1/V | 0.65 | 10m – 10 1/V | Multiplier gain constant of kMult·(V(MULTIN) + vMultOffset)·(V(COMP) − vCompOffset) | Section 6.5 multiplier gain constant (k) typ 0.65 /V, p.5; section 7.3.6 gives the law with about 0.67, p.13 |
| `vMultOffset` | V | 0.075 | 0 – 1 V | Positive offset added to MULTIN in the multiplier | Section 7.3.6: a positive offset of about 75 mV to the VMULTIN signal, p.13; pin table, CS: VOFFSET approximately 75 mV, p.3 |
| `vCompOffset` | V | 2.5 | 0 – 5 V | COMP below which the multiplier output is zero | Section 7.3.6: multiplier output approximately 0.67 × VMULTIN × (VCOMP − 2.5 V), p.13 |
| `vCompMax` | V | 4 | 1 – 10 V | Top of the COMP dynamic input range of the multiplier | Section 6.5 dynamic input range, COMP input typ 2.5 to 4 V, p.5 |
| `vCsMax` | V | 1.7 | 100m – 5 V | Maximum current sense threshold (clamp on the multiplier output) | Section 6.5 maximum current sense threshold voltage typ 1.7 V, p.6; pin table, CS, p.3 |
| `rCsFilt` | Ω | 40000 | 0 – 10meg Ω | Internal current-sense filter resistance | Section 7.2 functional block diagram: 40 kΩ in the CS path, p.11 |
| `cCsFilt` | F | 0.000000000005 | 1f – 1n F | Internal current-sense filter capacitance | Section 7.2 functional block diagram: 5 pF on the CS path, p.11 |
| `vZeroPower` | V | 2.3 | 0 – 5 V | COMP below which the zero-power comparator stops the gate | Section 6.5 zero power comparator threshold typ 2.3 V, p.5; section 7.3.5, p.13 |
| `vOvp` | V | 0.19 | 0 – 1 V | OVP threshold above vRef on VO_SNS | Section 6.5 overvoltage reference, UCCx8050 typ VREF + 0.19 V, p.5 |
| `vOvpHyst` | V | 0.2 | 0 – 1 V | OVP hysteresis | Section 6.5 OVP hysteresis, UCCx8050 typ 200 mV, p.5 |
| `vEnable` | V | 0.67 | 0 – 2.5 V | Enable threshold on VO_SNS (rising) | Section 6.5 enable threshold, UCCx8050 typ 0.67 V, p.5 |
| `vEnableHyst` | V | 0.1 | 0 – 1 V | Enable hysteresis | Section 6.5 enable hysteresis typ 0.1 V, p.5 |
| `vZcdRise` | V | 1.7 | 100m – 5 V | ZCD rising-edge threshold (arms the detector) | Section 6.5 zero current detect input threshold (rising edge) typ 1.7 V, p.6 |
| `vZcdHyst` | V | 0.35 | 0 – 2 V | ZCD hysteresis (the falling threshold is vZcdRise − vZcdHyst) | Section 6.5 zero current detect hysteresis typ 350 mV, p.6 |
| `vZcdHi` | V | 5 | 1 – 20 V | ZCD input high clamp | Section 6.5 input high clamp typ 5 V at I = 3 mA, p.6 |
| `vZcdLo` | V | 0.65 | 0 – 2 V | ZCD input low clamp | Section 6.5 input low clamp typ 0.65 V at I = −3 mA, p.6 |
| `tRestart` | s | 0.0004 | 1u – 100m s | Restart timer: DRV turns on after this long off | Section 6.5 restart time delay typ 400 µs, p.6; section 7.3.3, p.12 |
| `rGateHi` | Ω | 5 | 100m – 10k Ω | DRV pull-up resistance | Section 6.5 GT1 pull-up resistance typ 5 Ω at IOUT = −125 mA, p.6 |
| `rGateLo` | Ω | 2 | 100m – 10k Ω | DRV pull-down resistance | Section 6.5 GT1 pull-down resistance typ 2 Ω at IOUT = 125 mA, p.6 |

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

## 模型

ZCD 在開關關閉期間高於 vZcdRise 後完成預備，再降到 vZcdRise - vZcdHyst 以下時 DRV 導通；DRV 關閉超過 tRestart 時也會導通。CS 經內部 rCsFilt 與 cCsFilt 濾波後超過乘法器輸出 kMult * (V(MULTIN) + vMultOffset) * (min(V(COMP), vCompMax) - vCompOffset) 時關閉；乘法器輸出上限為 vCsMax，COMP 低於 vCompOffset 時為零。電壓放大器以 gm * (vRef - V(VO_SNS)) 對 COMP 送出電流，限制在正負 iLin 之內；VO_SNS 低於 kUvd * vRef 時加上 iSrcEdr，高於 kOvd * vRef 且 COMP 高於 vCompEdrLow 時減去 iSinkEdr；COMP 箝位在 vCompLo 與 vCompHi 之間。VCC 低於 UVLO、VO_SNS 低於致能臨界、COMP 低於 vZeroPower，以及 VO_SNS 超過 vRef + vOvp 直到降回 vOvpHyst 之前，閘極都保持低準位。ZCD 箝位在 vZcdLo 與 vZcdHi 之間。

## 常見錯誤

- 開關關閉期間，輔助繞組在 ZCD 上的電壓 (Vout - Vline) / N（N 為匝數比）必須高於 vZcdRise。高市電的峰值附近這個差很小；ZCD 一直無法預備時，每個脈波都要等 400 us 的重新啟動計時器，該處的市電電流會不正確。
- 汲極需要電容（開關的 coss 或外加電容），電感電流歸零後才會振盪，ZCD 才看得到下降；沒有電容時，升壓二極體停止導通後汲極節點會浮接。
- 電壓迴路很慢（規格書電路的交越頻率只有幾 Hz），從空的輸出啟動需要許多個市電週期。請像 transitionModePfc 應用電路一樣，把輸出與 COMP 電容先充到工作點。

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

## 規格書與來源

MULTIN 與 VO_SNS 分壓、COMP 網路、感測電阻、CS 濾波與 ZCD 電阻是你自己的零件。vccOn、vccOff、vRef、gm、iSinkEdr、vCompLo、vCompHi、kMult、vCompMax、vCsMax、vZeroPower、vOvp、vOvpHyst、vEnable、vEnableHyst、ZCD 臨界與箝位、tRestart 與閘極電阻取自電氣特性。iLin、kUvd、kOvd、iSrcEdr、vCompEdrLow、vMultOffset 與 vCompOffset 取自功能說明，rCsFilt 與 cCsFilt 取自方塊圖。vCompHi 沒有典型值，取其範圍的中間。

## 範例

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

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