# Multiplier Boost PFC Controller (Average Current Mode with Line Sensing) (`multiplierPfcController`)

> Shapes the input current of a boost PFC from the sensed line waveform through an analog multiplier with RMS feedforward, and regulates the output voltage.

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

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

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

## When to use it

Use it for a boost PFC with a UC3854-class controller, when you want the classic multiplier, the VRMS squared feedforward and two operational amplifiers whose compensation networks you draw yourself. circuit.applicationCircuit with topology multiplierPfc builds the data sheet's 250 W preregulator. For a PFC without line sensing use the CCM Boost PFC Controller; to try your own control law use the PI Controller and PWM Generator.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `GND` | electrical | Ground reference of every pin |
| `PKLMT` | electrical | Peak current limit, the pulse ends below 0 V |
| `CAOUT` | electrical | Current amplifier output, its network goes to ISENSE |
| `ISENSE` | electrical | Current amplifier inverting input |
| `MULTOUT` | electrical | Multiplier output current and current amplifier non-inverting input |
| `IAC` | electrical | Line waveform current into a pin held at 6 V |
| `VAOUT` | electrical | Voltage amplifier output |
| `VRMS` | electrical | Feedforward voltage proportional to the RMS line |
| `VREF` | electrical | 7.5 V reference output |
| `ENA` | electrical | Enable input |
| `VSENSE` | electrical | Voltage amplifier inverting input, the output divider goes here |
| `RSET` | electrical | Resistor to GND sets the oscillator and the multiplier limit |
| `SS` | electrical | Soft-start capacitor to GND |
| `CT` | electrical | Timing capacitor to GND |
| `VCC` | electrical | Supply, the controller runs above the UVLO threshold |
| `GTDRV` | electrical | Gate drive of the boost switch |

## Common parameters

- `vRef`: Reference output voltage, and the voltage amplifier reference (Default: 7.5)
- `kMult`: Multiplier gain constant k of IMO = k·IAC·(VAOUT − vaOffset)/VRMS² (Default: 1)
- `gbwCa`: Current amplifier gain-bandwidth product (Default: 800000)
- `vRamp`: CT ramp peak-to-valley amplitude (Default: 5.4)
- `dMax`: Maximum duty cycle (the rest of the period discharges CT) (Default: 0.95)

## Parameters

| Key | Unit | Default | Typical range | Description | Datasheet source |
|---|---|---|---|---|---|
| `vccOn` | V | 16 | 1 – 35 V | VCC UVLO turn-on threshold | Section 7.5 VCC turn-on threshold typ 16 V, p.6 |
| `vccOff` | V | 10 | 500m – 35 V | VCC UVLO turn-off threshold | Section 7.5 VCC turn-off threshold typ 10 V, p.6 |
| `vEnaRise` | V | 2.55 | 100m – 14 V | ENA rising threshold | Section 7.5 ENA threshold, rising typ 2.55 V, p.6 |
| `vEnaHyst` | V | 0.25 | 0 – 5 V | ENA threshold hysteresis | Section 7.5 ENA threshold hysteresis typ 0.25 V, p.6 |
| `vRef` | V | 7.5 | 1 – 10 V | Reference output voltage, and the voltage amplifier reference | Section 7.5 reference output voltage typ 7.5 V, p.7 |
| `rRef` | Ω | 0.5 | 0 – 100 Ω | Reference output resistance | Section 7.5 VREF load regulation typ 5 mV over 0 to -10 mA, p.7 |
| `iSs` | A | 0.000014 | 100n – 1m A | Soft-start charging current | Section 7.5 SS current typ -14 µA at VSS = 2.5 V, p.6 |
| `a0Va` | V/V | 100000 | 10 – 100meg V/V | Voltage amplifier open-loop gain | Section 7.5 voltage amplifier gain typ 100 dB, p.6 |
| `gbwVa` | Hz | 1000000 | 1k – 100meg Hz | Voltage amplifier unity-gain frequency | Figure 2: open-loop gain 80 dB at 100 Hz falling 20 dB/decade, 0 dB near 1 MHz (read off the plot), p.8 |
| `vaLo` | V | 0.5 | 0 – 5 V | Voltage amplifier lowest output | Section 7.5 voltage amplifier output swing min 0.5 V, p.6 |
| `vaHi` | V | 5.8 | 1 – 10 V | Voltage amplifier output limit | Section 7.5 voltage amplifier output swing 5.8 V, p.6; pin table: limited to about 5.8 V |
| `a0Ca` | V/V | 316228 | 10 – 100meg V/V | Current amplifier open-loop gain | Section 7.5 current amplifier gain typ 110 dB, p.6 |
| `gbwCa` | Hz | 800000 | 1k – 100meg Hz | Current amplifier gain-bandwidth product | Section 7.5 current amplifier gain-bandwidth product typ 800 kHz, p.7 |
| `caLo` | V | 0.5 | 0 – 5 V | Current amplifier lowest output | Section 7.5 current amplifier output swing min 0.5 V, p.7 |
| `caHi` | V | 16 | 1 – 35 V | Current amplifier highest output | Section 7.5 current amplifier output swing 16 V, p.7 |
| `rPullDown` | Ω | 8000 | 10 – 10meg Ω | Pull-down resistor of each amplifier output | Pin table, CAOUT and VAOUT: an NPN emitter-follower pull-up and an 8-kΩ resistor to ground, p.4 |
| `vIac` | V | 6 | 0 – 10 V | Voltage IAC is held at | Pin table, IAC: the nominal voltage on IAC is 6 V, p.4 |
| `kMult` | V | 1 | 10m – 100 V | Multiplier gain constant k of IMO = k·IAC·(VAOUT − vaOffset)/VRMS² | Section 7.5 multiplier gain constant typ -1 V and note (2), p.7 |
| `vaOffset` | V | 1 | 0 – 5 V | VAOUT below which the multiplier output is zero | Section 7.5 note (2): (VA Out − 1); pin table: VAOUT below 1 V inhibits the multiplier, p.4 |
| `kIacLimit` | — | 2 | 100m – 100 | Multiplier output limit, a multiple of IAC | Section 9.2.2.2: the multiplier output current never exceeds twice IAC, p.15 |
| `vRset` | V | 3.75 | 100m – 10 V | Multiplier limit IMO ≤ vRset/RSET; RSET is held at this voltage | Section 9.2.2.2 equation 4: IMULTMAX = -3.75 V/RSET, p.15 (the pin voltage itself is not given: holding it at 3.75 V makes its current that limit) |
| `kOsc` | — | 1.25 | 100m – 10 | Oscillator constant of f = kOsc/(RSET·CT) | Pin table, CT: equation 1, F = 1.25/(RSET·CT), p.4 |
| `vValley` | V | 1.1 | 0 – 5 V | CT ramp valley voltage | Section 7.5 CT ramp valley voltage typ 1.1 V, p.7 |
| `vRamp` | V | 5.4 | 500m – 10 V | CT ramp peak-to-valley amplitude | Section 7.5 CT ramp peak-to-valley amplitude typ 5.4 V, p.7 |
| `dMax` | — | 0.95 | 500m – 999m | Maximum duty cycle (the rest of the period discharges CT) | Section 7.5 gate driver maximum duty cycle typ 95 % at VCAOUT = 7 V, p.7 |
| `vPklmt` | V | 0 | -1 – 1 V | Peak current limit threshold on PKLMT | Pin table, PKLMT: the threshold is 0 V, p.4 |
| `vGateClamp` | V | 14.5 | 1 – 35 V | GTDRV high-level clamp | Section 7.5 maximum gate driver output voltage typ 14.5 V (0 mA, 18 V < VCC < 35 V), p.7 |
| `rGateHi` | Ω | 11 | 100m – 10k Ω | GTDRV pull-up resistance | Section 7.5 gate driver output voltage high typ 12.8 V at -200 mA, VCC = 15 V, p.7 (assumption: unloaded it would be at VCC) |
| `rGateLo` | Ω | 5 | 100m – 10k Ω | GTDRV pull-down resistance | Section 7.5 gate driver output voltage low typ 1 V at 200 mA, p.7 |

_Parameter descriptions are in English in both languages._

## Model

The multiplier sources IMO = kMult * IAC * (V(VAOUT) - vaOffset) / V(VRMS)^2 out of MULTOUT, at most kIacLimit * IAC and vRset / RSET, and zero below VAOUT = vaOffset; IAC is held at vIac and RSET at vRset. The voltage amplifier compares the lower of SS and vRef with VSENSE, the current amplifier MULTOUT with ISENSE: each has the gain a0 with one pole and unity gain at gbw, an output held between its lowest and highest swing, and an emitter follower with rPullDown to GND, so it sources only. CT charges from vValley to vValley + vRamp and discharges in the last 1 - dMax of the period, at f = kOsc / (RSET * CT). GTDRV turns on at the end of each discharge and off when CT passes CAOUT or PKLMT falls below vPklmt. The VCC UVLO and ENA enable VREF, the oscillator and the gate and release SS, which charges at iSs. Both amplifiers and the multiplier read node voltages only, so the solver stamps them with the circuit.

## Common mistakes

- The current amplifier's 800 kHz gain-bandwidth needs a step well under a microsecond near the switching edges; the application circuit uses 100 steps per switching period. A much coarser maximum step makes the line current wrong.
- VRMS must stay between 1.5 V and 3.5 V for the multiplier law to hold; below that the real part gives less than the law (80 uA where it gives 100 uA at 1 V). Size the VRMS filter for your line range.
- The voltage loop is slow (a pole near 19 Hz in the data sheet's circuit), so a start from an empty output takes many line cycles. Start the output and the VAOUT capacitor at the operating point, as the multiplierPfc application circuit does.

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

## Datasheet and sources

RSET, CT, the SS capacitor, the IAC and VRMS resistors, both amplifier networks, the output divider and the PKLMT divider are your own parts. vccOn, vccOff, the ENA threshold and hysteresis, vRef, iSs, both amplifier gains, gbwCa, the output swings, kMult, vValley, vRamp, dMax and the gate levels come from the electrical characteristics. rPullDown, vIac and vPklmt come from the pin table, kOsc from equation 1, vRset from equation 4, kIacLimit from the design text. gbwVa is read off the voltage amplifier's gain plot, and rGateHi assumes the unloaded high level is VCC.

## Example

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

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