# Transition-Mode Boost PFC Controller (Critical Conduction with Zero-Current Detection) (`crmPfcController`)

> Runs a boost PFC at the boundary of continuous conduction: each pulse starts when an inductor winding shows the current at zero and ends when the switch current reaches a multiplier of the line and the error voltage.

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

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

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

## When to use it

Use it for a low to medium power boost PFC (up to about 300 W) with a UCC38050-class controller: no oscillator, no current amplifier, and a boost diode that never sees reverse recovery. circuit.applicationCircuit with topology transitionModePfc builds the data sheet's universal-line 100 W preregulator. For higher power use the CCM Boost PFC Controller or the Multiplier Boost PFC Controller.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `VO_SNS` | electrical | Output voltage sense, regulated to 2.5 V; low disables the gate |
| `COMP` | electrical | Transconductance amplifier output, its network goes to GND |
| `MULTIN` | electrical | Multiplier input from a divider on the rectified line |
| `CS` | electrical | Switch current sense; the pulse ends when it passes the multiplier |
| `ZCD` | electrical | Zero-current detect from an auxiliary winding through a resistor |
| `GND` | electrical | Ground reference of every pin |
| `DRV` | electrical | Gate drive of the boost switch |
| `VCC` | electrical | Supply, the controller runs above the UVLO threshold |

## Common parameters

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

## Parameters

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

_Parameter descriptions are in English in both languages._

## Model

DRV turns on when ZCD, armed above vZcdRise while the switch is off, falls below vZcdRise - vZcdHyst, or after DRV has been off for tRestart; it turns off when CS, through the internal rCsFilt and cCsFilt filter, rises above the multiplier output kMult * (V(MULTIN) + vMultOffset) * (min(V(COMP), vCompMax) - vCompOffset), clamped at vCsMax and zero below COMP = vCompOffset. The voltage amplifier sources gm * (vRef - V(VO_SNS)) into COMP within plus or minus iLin, plus iSrcEdr below kUvd * vRef, minus iSinkEdr above kOvd * vRef while COMP is above vCompEdrLow; COMP is clamped between vCompLo and vCompHi. The gate is held low below the VCC UVLO, below the VO_SNS enable threshold, below COMP = vZeroPower and from vRef + vOvp until VO_SNS falls by vOvpHyst. ZCD is clamped between vZcdLo and vZcdHi.

## Common mistakes

- The auxiliary winding must put more than vZcdRise on ZCD while the switch is off, (Vout - Vline) / N with N the turns ratio. Near the peak of a high line that difference is small; when ZCD never arms, each pulse waits for the 400 us restart timer and the line current is wrong there.
- The drain needs a capacitance (the switch's coss or a capacitor) so the inductor rings after its current ends and ZCD sees the fall; with none the drain node floats once the boost diode stops conducting.
- The voltage loop is slow (a crossover of a few hertz in the data sheet's circuit), so a start from an empty output takes many line cycles. Start the output and the COMP capacitors at the operating point, as the transitionModePfc application circuit does.

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

## Datasheet and sources

The MULTIN and VO_SNS dividers, the COMP network, the sense resistor, the CS filter and the ZCD resistor are your own parts. vccOn, vccOff, vRef, gm, iSinkEdr, vCompLo, vCompHi, kMult, vCompMax, vCsMax, vZeroPower, vOvp, vOvpHyst, vEnable, vEnableHyst, the ZCD thresholds and clamps, tRestart and the gate resistances come from the electrical characteristics. iLin, kUvd, kOvd, iSrcEdr, vCompEdrLow, vMultOffset and vCompOffset come from the feature description, and rCsFilt and cCsFilt from the block diagram. vCompHi is the middle of its band, which has no typical value.

## Example

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

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