# Transition-Mode Boost PFC Controller (Constant On-Time) (`tmPfcController`)

> Runs a boost PFC in transition mode: a constant on-time per line cycle, the next cycle starting when the drain shows the inductor current is zero, so the line current follows the line voltage.

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

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

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

## When to use it

Use it for a boost PFC up to a few hundred watts with a UCC28056-class controller, when you want valley turn-on without an auxiliary winding, line feed-forward and burst mode. circuit.applicationCircuit with topology tmPfc builds the data sheet's 165 W, 390 V preregulator. For larger power in continuous conduction use the CCM Boost PFC Controller.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `VOSNS` | electrical | Output voltage sense, regulated to 2.5 V |
| `ZCD` | electrical | Drain divider while DRV is low, sense resistor while DRV is high |
| `VCC` | electrical | Supply, the controller runs above the UVLO threshold |
| `GND` | electrical | Ground reference, at the lower end of the sense resistor |
| `DRV` | electrical | Gate drive of the boost switch |
| `COMP` | electrical | Error amplifier output and power demand |

## Common parameters

- `vOsReg`: Error amplifier reference (Default: 2.5)
- `gM`: Error amplifier transconductance for small errors (Default: 0.00005)
- `vCoMax`: COMP voltage of full power demand (VCOMax of equation 8) (Default: 5)
- `tZcdDrv`: Delay from the zero-current detection to DRV high (Default: 0.00000017)
- `vOcp1`: First-level over-current threshold on ZCD while DRV is high (Default: 0.5)

## Parameters

| Key | Unit | Default | Typical range | Description | Datasheet source |
|---|---|---|---|---|---|
| `vccStart` | V | 10.65 | 1 – 34 V | VCC UVLO turn-on threshold | Section 7.5 VCCStart typ 10.65 V (max 11 V), p.7 |
| `vccStop` | V | 8.85 | 500m – 34 V | VCC UVLO turn-off threshold | Section 7.5 VCCStop typ 8.85 V, p.7 |
| `vOsReg` | V | 2.5 | 500m – 5 V | Error amplifier reference | Section 7.5 VOSReg typ 2.5 V, p.7 |
| `gM` | S | 0.00005 | 100n – 10m S | Error amplifier transconductance for small errors | Section 7.5 gM typ 50 µS, p.7 |
| `gMNL` | S | 0.0003 | 100n – 100m S | Error amplifier transconductance beyond dSuThs (incremental) | Section 7.5 gMNL typ 300 µS, p.8 |
| `dSuThs` | V | 0.067 | 1m – 1 V | Error beyond which the large-error gain applies | Section 7.5 DSuThs typ 67 mV, p.8 |
| `iCoMax` | A | 0.00012 | 100n – 10m A | COMP maximum source and sink current | Section 7.5 ICOMin typ -120 µA, ICOMax typ 120 µA, p.8 |
| `vCoClmp` | V | 5.6 | 1 – 10 V | COMP internal high clamp | Section 7.5 VCOClmp typ 5.6 V, p.8 |
| `rCoDisch` | Ω | 5000 | 1 – 1meg Ω | COMP discharge resistance in the stop state | Section 7.5 RCODisch typ 5 kΩ, p.8 |
| `vCoMax` | V | 5 | 500m – 10 V | COMP voltage of full power demand (VCOMax of equation 8) | Section 9.2.2.5.2 equations 98 and 99: 0.0202 = VCOMax·2 % / 4.95 V gives VCOMax = 5.0 V |
| `vBstFall` | V | 0.5 | 0 – 5 V | COMP threshold below which switching halts (burst off) | Section 5 Device Comparison Table VBSTFall 0.5 V (UCC28056, UCC28056C), p.4 |
| `vBstRise` | V | 0.625 | 0 – 5 V | COMP threshold above which switching resumes (burst on) | Section 5 Device Comparison Table VBSTRise 0.625 V (UCC28056, UCC28056C), p.4 |
| `vOvp1Rise` | V | 2.75 | 500m – 6 V | VOSNS over-voltage threshold, rising (switching halts) | Section 5 VOSOvp1Rise typ 2.75 V (UCC28056, B, C), p.4 |
| `vOvp1Fall` | V | 2.675 | 500m – 6 V | VOSNS over-voltage threshold, falling (switching resumes) | Section 5 VOSOvp1Fall typ 2.675 V (UCC28056, B, C), p.4 |
| `vZcBo` | V | 0.3 | 0 – 5 V | Brown-in threshold on the peak of VInSynth | Section 7.5 VZCBoRise typ 0.3 V, p.9 |
| `vOcp1` | V | 0.5 | 10m – 5 V | First-level over-current threshold on ZCD while DRV is high | Section 7.5 VZCOcp1 typ 500 mV, p.9 |
| `tOcp1Blk` | s | 0.00000045 | 0 – 10u s | Over-current blanking from the DRV rising edge | Section 7.5 TOcp1Blk 450 ns, p.9 |
| `tDchVinMin` | s | 0.000000358 | 0 – 10u s | ZCD comparator blanking from the DRV falling edge | Section 7.5 TDCHVinMin typ 358 ns, p.9 |
| `tDchMax0` | s | 0.00025 | 1u – 10m s | Longest off-time without a zero-current detection | Section 7.5 TDCHMax0 250 µs, p.9 |
| `tZcdDrv` | s | 0.00000017 | 0 – 10u s | Delay from the zero-current detection to DRV high | Section 7.5 TZCDR0 typ 170 ns (RDG0, max 235 ns), p.9 |
| `tauSynth` | s | 0.0001 | 100n – 10m s | Averaging time constant of VInSynth | assumption: the data sheet says only that the drain waveform is filtered to its switching-cycle average (section 8.3.2.1); 100 µs is many switching periods and a few degrees of a 100 Hz half-cycle |
| `tPeakHold` | s | 1 | 1m – 100 s | Decay time constant of the line peak detector | assumption: in place of the 12.3 ms THLinMax window (section 7.5, p.8), a peak detector that decays slowly enough not to cross the feed-forward hysteresis within a line cycle |
| `vDrHigh` | V | 13.7 | 1 – 20 V | DRV high-level limit | Section 7.5 VDRHigh typ 13.7 V at VCC = 25 V, p.7 |
| `vDrDrop` | V | 1.05 | 0 – 5 V | DRV high level below VCC when not limited | Section 7.5 VDRHighMin 8 V at VCC = VCCStop + 200 mV (9.05 V), p.7 |
| `rDrH` | Ω | 9.7 | 100m – 10k Ω | DRV pull-up resistance | Section 7.5 RDRH typ 9.7 Ω, p.7 |
| `rDrL` | Ω | 4.6 | 100m – 10k Ω | DRV pull-down resistance | Section 7.5 RDRL typ 4.6 Ω, p.7 |
| `rOff` | Ω | 100000000 | 1k – 1t Ω | Off-state resistance of the internal switches | assumption: large against the COMP network |

_Parameter descriptions are in English in both languages._

## Model

The on-time is TONMAX0 * GFF * V(COMP) / vCoMax, at most the TONMAX of the selected level. While DRV is low the drain part of ZCD is averaged over tauSynth into VInSynth; after tDchVinMin the drain falling below VInSynth is the zero-current detection, and the next on-time starts tZcdDrv later (or after tDchMax0 without one). The peak of VInSynth selects GFF0 to GFF7 through seven comparators with hysteresis, and switching starts once it passes vZcBo. The error amplifier sources gM * (vOsReg - V(VOSNS)), with the slope gMNL beyond dSuThs, limited to iCoMax; COMP is clamped between 0 V and vCoClmp and discharged through rCoDisch below the UVLO. Switching halts below vBstFall on COMP and above vOvp1Rise on VOSNS; ZCD above vOcp1 after tOcp1Blk ends the on-time.

## Common mistakes

- The drain rings with the ZCD divider capacitance at a few megahertz when the inductor current reaches zero; the detection needs a step of a few tens of nanoseconds. The application circuit uses 25 ns.
- Light-load DCM operation is not modelled: the model stays in transition mode down to the burst threshold, so its switching frequency rises at light load where the real part's falls.

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

## Datasheet and sources

The ZCD divider, the VOSNS divider, the COMP network, the sense resistor and the DRV-to-GND resistor are your own parts. vccStart, vccStop, vOsReg, gM, gMNL, dSuThs, iCoMax, vCoClmp, rCoDisch, vZcBo, vOcp1, tOcp1Blk, tDchVinMin, tDchMax0, tZcdDrv and the DRV levels come from the electrical characteristics, the burst and OVP1 thresholds from the device comparison table, vCoMax from the loop design example (equations 98 and 99). tauSynth and tPeakHold are assumptions.

## Example

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

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