# 相移全橋控制器 (`psfbController`)

> 依規格書的頻率、延遲、軟啟動與電流限制，由誤差放大器驅動全橋。

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

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

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

## 何時使用

相移全橋使用 UCC28950 類控制器，並想以自己的功率級套用程式設定的死區時間、閉迴路軟啟動與 CS 電流限制時使用。circuit.applicationCircuit 的 psfbVoltageMode 拓樸會建出轉換器，並依規格書的設計步驟算出所有外部零件。

## 接腳

| 接腳 | 訊號域 | 意義 |
|---|---|---|
| `GND` | 電氣 | 所有腳位的接地參考 |
| `VDD` | 電氣 | 偏壓電源，高於 UVLO 臨界才會啟動 |
| `VREF` | 電氣 | 5 V 參考，供應誤差放大器的分壓 |
| `EAP` | 電氣 | 誤差放大器非反相輸入，接參考分壓 |
| `EAN` | 電氣 | 誤差放大器反相輸入，接輸出分壓與補償 |
| `COMP` | 電氣 | 誤差放大器輸出，也是 PWM 比較器輸入 |
| `SS` | 電氣 | 軟啟動電容與致能，低於 0.5 V 時關閉 |
| `CS` | 電氣 | 一次側電流感測，用於逐週期限流 |
| `OUTA` | 電氣 | 領先臂上橋 |
| `OUTB` | 電氣 | 領先臂下橋 |
| `OUTC` | 電氣 | 落後臂上橋 |
| `OUTD` | 電氣 | 落後臂下橋 |
| `OUTE` | 電氣 | 同步整流驅動，隨 OUTC 上升 |
| `OUTF` | 電氣 | 同步整流驅動，隨 OUTD 上升 |

## 常用參數

- `rt`: Resistor from RT to VREF (leader), which sets the switching frequency (預設值: 59000)
- `rAb`: Resistor from DELAB to GND (delay between OUTA and OUTB) (預設值: 22600)
- `rCd`: Resistor from DELCD to GND (delay between OUTC and OUTD) (預設值: 22600)
- `rEf`: Resistor from DELEF to GND (delay between OUTA and OUTF, OUTB and OUTE) (預設值: 13300)
- `rTmin`: Resistor from TMIN to GND, which sets the minimum pulse (預設值: 88700)

## 參數

| 鍵 | 單位 | 預設值 | 典型範圍 | 說明 | 規格書來源 |
|---|---|---|---|---|---|
| `vddOn` | V | 7.3 | 2 – 17 V | VDD UVLO rising threshold | Section 5.5 UVLO_RTH typ 7.3 V at 25 °C, p.6 |
| `vddHys` | V | 0.6 | 0 – 5 V | VDD UVLO hysteresis | Section 5.5 UVLO_HYST typ 0.6 V at 25 °C, p.6 |
| `vRef` | V | 5 | 3 – 5.6 V | Reference voltage | Section 5.5 VREF typ 5 V at 25 °C, p.6 |
| `rt` | Ω | 59000 | 5k – 1meg Ω | Resistor from RT to VREF (leader), which sets the switching frequency | Section 5.5 test conditions RT = 59 kΩ for FSW = 100 kHz, p.6; equation 10, p.25 |
| `rTmin` | Ω | 88700 | 10k – 1meg Ω | Resistor from TMIN to GND, which sets the minimum pulse | Section 5.5 test conditions RTMIN = 88.7 kΩ, p.6; equation 8, p.23 (minimum 10 kΩ) |
| `rAb` | Ω | 22600 | 5k – 1meg Ω | Resistor from DELAB to GND (delay between OUTA and OUTB) | Section 5.5 test conditions RAB = 22.6 kΩ, p.6; equation 3, p.20 |
| `rCd` | Ω | 22600 | 5k – 1meg Ω | Resistor from DELCD to GND (delay between OUTC and OUTD) | Section 5.5 test conditions RCD = 22.6 kΩ, p.6; equation 4, p.20 |
| `rEf` | Ω | 13300 | 13k – 90k Ω | Resistor from DELEF to GND (delay between OUTA and OUTF, OUTB and OUTE) | Section 5.5 test conditions REF = 13.3 kΩ, p.6; equation 6 and the 13 kΩ to 90 kΩ range, p.22 |
| `vAdel` | V | 0 | 0 – 5 V | Voltage at ADEL: the CS divider RA/(RA+RAHI) at the current the delay is evaluated for (0 = the delay is fixed, ADEL tied to GND) | Section 6.3.6, p.20; the model keeps the delay fixed instead of following CS |
| `vAdelEf` | V | 0 | 0 – 5 V | Voltage at ADELEF (0 = the delay is fixed, ADELEF tied to GND) | Section 6.3.7, p.22; the model keeps the delay fixed instead of following CS |
| `dMax` | — | 0.95 | 500m – 970m | Maximum duty cycle | Section 5.5 DMAX typ 95 % (max 97 %), p.6 |
| `rampLow` | V | 0.8 | 0 – 3 V | Bottom of the PWM comparator ramp | Section 6.3.3 ramp-signal range 0.8 V to 2.8 V, p.18 |
| `rampHigh` | V | 2.8 | 500m – 4 V | Top of the PWM comparator ramp | Section 6.3.3 ramp-signal range 0.8 V to 2.8 V, p.18 |
| `eaLow` | V | 0.25 | 0 – 2 V | Lowest error amplifier output | Section 5.5 EALOW typ 0.25 V at 25 °C, p.7 |
| `eaHigh` | V | 4.25 | 2 – 5 V | Highest error amplifier output | Section 5.5 EAHIGH typ 4.25 V at 25 °C, p.7 |
| `gbw` | Hz | 3000000 | 10k – 100meg Hz | Error amplifier unity-gain bandwidth | Section 5.5 GBW typ 3 MHz (verified in characterization only), p.7 |
| `iSs` | A | 0.000025 | 100n – 1m A | Soft-start charge current | Section 5.5 ISS typ 25 µA at 25 °C, p.7 |
| `vSsStd` | V | 0.5 | 100m – 1 V | Soft-start shutdown and restart threshold | Section 5.5 VSS_STD typ 0.5 V at 25 °C, p.7 (section 6.3.4 text says 0.55 V) |
| `vSsOffset` | V | 0.55 | 0 – 1 V | Offset between SS/EN and the loop reference during the soft start | Section 6.3.4, p.19: the lower of (SS/EN − 0.55 V) and EA+ |
| `vSsClamp` | V | 4.65 | 3 – 5 V | Soft-start clamp voltage | Section 5.5 VSS_CL typ 4.65 V at 25 °C, p.7 |
| `rSsDown` | Ω | 1000 | 10 – 100k Ω | SS/EN pull-down while the controller is off | assumption: the sheet gives a 1 kΩ switch for the fast pull-up (section 6.3.14); the pull-down is not given |
| `pcm` | — | 0 | 0 – 1 | Control mode: 1 = peak current mode (RSUM to GND), 0 = voltage mode with the internal ramp (RSUM to VREF) | Section 6.3.11, p.26 and Figure 6-9: the RSUM connection selects the mode |
| `rSum` | Ω | 124000 | 10k – 1meg Ω | Slope compensation resistor at RSUM | Section 5.5 test conditions RSUM = 124 kΩ, p.6; equations 13 and 14 and the 10 kΩ to 1 MΩ range, p.27 |
| `vPcmOffset` | V | 0.85 | 0 – 2 V | Offset added to the CS ramp at the PWM comparator in peak current mode | Figures 5-1 and 5-2 "Add 0.85 V offset to RAMP", p.10; Figure 6-9, p.26 |
| `vCsLim` | V | 2 | 500m – 4 V | CS cycle-by-cycle threshold | Section 5.5 VCS_LIM typ 2 V at 25 °C, p.7 |
| `iddRun` | A | 0.005 | 0 – 100m A | Operating supply current from VDD (gate current excluded) | Section 5.5 IDD typ 5 mA at 25 °C, p.6 |
| `rSrc` | Ω | 20 | 1 – 1k Ω | Output source resistance of OUTA to OUTF | Section 5.5 RSRC typ 20 Ω at 25 °C, p.8 |
| `rSink` | Ω | 10 | 1 – 1k Ω | Output sink resistance of OUTA to OUTF | Section 5.5 RSINK typ 10 Ω at 25 °C, p.8 |
| `rOff` | Ω | 100000000 | 1k – 1t Ω | Off-state resistance of the internal switches | assumption: large against the external networks |

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

## 模型

RT 設定振盪器（fsw = 2.5e3 / (RT / (VREF - 2.5) + 1) kHz）。誤差放大器積分 EA+ - EA-（EA+ 取 EAP 與 SS - 0.55 V 中較低者），COMP 決定責任比 D = (COMP - 0.8) / 2，限制在 DMIN 與 dMax 之間。OUTA 與 OUTB 是領先對，OUTC 與 OUTD 是延遲 D * 180 度的一對；TABSET 與 TCDSET（式 3、4）是各對的死區時間，TAFSET 與 TBESET（式 6）讓整流驅動在 OUTA、OUTB 下降後再維持一段時間。

## 常見錯誤

- 模組以電壓模式運作，未模擬峰值電流模式與 RSUM 的斜率補償、突發模式、隨 CS 變化的自適應延遲與打嗝模式。
- 程式設定用的電阻（rt、rAb、rCd、rEf、rTmin）是模組的參數，不是電路圖上的電阻：請在模組上修改頻率與延遲。

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

## 規格書與來源

功率級、分壓、補償網路與軟啟動電容是你自己的。vddOn、vddHys、vRef、rt、rTmin、rAb、rCd、rEf、dMax、iSs、vSsStd、vCsLim、rSrc 與 rSink 取自 UCC28950 規格書；rSsDown 與 rOff 的來源在參數說明中標明。

## 範例

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

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