# LLC Resonant Controller (Hybrid Hysteretic Control) (`llcController`)

> Drives a half-bridge LLC from an optocoupler feedback current, with the data sheet's start sequence, soft start and protections.

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

[Component reference](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/) · [繁體中文](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/ic/llcController/)

**Group:** ICs · **Kind:** `{"definition":"llcController","kind":"subsystem"}`

## When to use it

Use it for an LLC half bridge with a UCC25640x-class controller, when you want the hybrid hysteretic control, the BLK start threshold, the LL/SS soft start and OCP1 with your own tank. circuit.applicationCircuit with topology llcHhc builds the converter and sizes every external part with the data sheet's design steps.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `GND` | electrical | Ground reference of every pin |
| `VCC` | electrical | Supply, the controller starts above the UVLO threshold |
| `RVCC` | electrical | Regulated 13 V supply of the gate drivers, feeds the bootstrap diode |
| `BLK` | electrical | Bulk voltage sense through a divider |
| `FB` | electrical | Feedback, the optocoupler pulls current out of it |
| `ISNS` | electrical | Resonant current sense through CISNS and RISNS |
| `VCR` | electrical | Resonant capacitor voltage through the capacitor divider |
| `BW` | electrical | Bias winding sense for the output overvoltage protection |
| `LLSS` | electrical | Soft-start capacitor and the divider from RVCC |
| `HB` | electrical | High-side bootstrap supply |
| `HO` | electrical | High-side gate drive |
| `HS` | electrical | Switch node of the half bridge |
| `LO` | electrical | Low-side gate drive |

## Common parameters

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

## Parameters

| Key | Unit | Default | Typical range | Description | Datasheet source |
|---|---|---|---|---|---|
| `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 |

_Parameter descriptions are in English in both languages._

## Model

FB is held at vFb and the control effort is Vcomp = rFb * (iFb - Iopto), at least bmtl and at most avdd. The thresholds are VTH = vcm + Vcomp / 2 and VTL = vcm - Vcomp / 2; VCR gets +-iRamp from the controller, so the high side turns off at VTH and the low side at VTL, which makes a smaller Vcomp a higher frequency. The incoming gate follows the outgoing one after tDead.

## Common mistakes

- Burst mode, the capacitive-region (ZCS) protection and OCP2 and OCP3 are not modelled, so a heavy load can drive the frequency below resonance. The llcHhc application runs at half load for this reason.
- A fault (OCP1, the bias winding OVP) holds the switching off for tPause, one second by default, so a short run shows only the stop.

Problems rules: `step.too_large`, `param.out_of_range`, `pin.unconnected`

## Datasheet and sources

The tank, the BLK, ISNS, VCR and BW networks and the LL/SS parts are your own. vccOn, vccHys, vRvcc, vBlkStart, vBlkStop, vFb, iFb, rFb, vcm, iRamp, vOcp1, vBwOvp, iSsUp, tSsInit and tChargeBoot come from the UCC256404 data sheet; avdd, rClamp and tDead are labelled in their sources.

## Example

Open the example with the command `file.openExample` and the name `demo:llcController`.

---
Generated by `cargo xtask reference` from the usage texts and parameter specs. Do not edit by hand.
