Synchronous Boost Controller (Peak Current Mode) (syncBoostController)
Controls both switches of a synchronous boost from its output voltage and inductor current, with soft start, current limit and hiccup.
Group: ICs · Kind: {"definition":"syncBoostController","kind":"subsystem"}
When to use it
Use it when your boost uses an LM5122-class peak-current-mode controller and you want to see slope compensation, soft start, the cycle-by-cycle current limit and the RES hiccup timer with your own power stage and compensation. To try your own control law, use PI Controller and PWM Generator instead.
Pins
| Pin | Domain | Meaning |
|---|---|---|
VIN |
electrical | Input voltage sense for the slope compensation |
UVLO |
electrical | Input UVLO, wire the divider from VIN here |
SS |
electrical | Soft start, the capacitor to GND sets the ramp time |
FB |
electrical | Feedback input, wire the output divider here |
COMP |
electrical | Error amplifier output, wire the compensation to FB |
SLOPE |
electrical | Slope compensation, RSLOPE goes to GND |
RES |
electrical | Hiccup timer, the capacitor CRES goes to GND |
CSP |
electrical | Current sense, the input side of the shunt |
CSN |
electrical | Current sense, the inductor side of the shunt |
BST |
electrical | High-side driver supply, the bootstrap capacitor goes to SW |
HO |
electrical | High-side gate drive of the synchronous rectifier |
SW |
electrical | Switch node, return of the high-side driver |
LO |
electrical | Low-side gate drive of the main switch |
VCC |
electrical | Gate driver supply |
GND |
electrical | Ground reference of every pin |
Common parameters
rt: Oscillator resistor RT; fsw = 9e9 / rt (Default: 20000)vRef: Feedback reference voltage (Default: 1.2)acs: Current-sense amplifier gain (Default: 10)vCsLim: Cycle-by-cycle current limit threshold (CSP - CSN) (Default: 0.075)kSlope: Slope constant: the ramp reaches kSlope / (fsw · RSLOPE) · D' in a period (Default: 6000000000)
Parameters
| Key | Unit | Default | Typical range | Description | Datasheet source |
|---|---|---|---|---|---|
rt |
Ω | 20000 | 5k – 500k Ω | Oscillator resistor RT; fsw = 9e9 / rt | Section 7.3.3 equation 4 RT = 9e9 / fSW, p.17; Section 6.5 fSW typ 450 kHz at RT = 20 kOhm, p.8 |
vRef |
V | 1.2 | 100m – 5 V | Feedback reference voltage | Section 6.5 VREF typ 1.2 V (1.188 to 1.212 V), p.8 |
a0 |
V/V | 10000 | 10 – 1g V/V | Error amplifier DC gain (80 dB) | Section 6.5 AOL typ 80 dB, p.8 |
gbw |
Hz | 3000000 | 10k – 1g Hz | Error amplifier gain-bandwidth product | Section 6.5 fBW typ 3 MHz, p.8 |
vCompLo |
V | 0.25 | 0 – 5 V | Lowest COMP voltage | Derived from a limit: Section 6.5 COMP VOL max 0.25 V (no typical), p.8 |
vCompHi |
V | 3.4 | 1 – 10 V | Highest COMP voltage | Derived from a limit: Section 6.5 COMP VOH min 3.4 V sourcing 2 mA at VCC 12 V (no typical), p.8 |
vCompDrop |
V | 1.1 | 0 – 3 V | COMP to PWM comparator voltage drop | Section 6.5 COMP to PWM voltage drop typ 1.1 V, p.8 (Section 7.3.6 p.19 says 1.2 V in the text) |
acs |
V/V | 10 | 1 – 100 V/V | Current-sense amplifier gain | Section 6.5 CS amplifier gain typ 10 V/V, p.9 |
vCsLim |
V | 0.075 | 1m – 1 V | Cycle-by-cycle current limit threshold (CSP - CSN) | Section 6.5 VCS-TH1 typ 75 mV, p.9; Section 7.3.10 equation 13 IPEAK(CL) = 75 mV / RS, p.21 |
vSlope |
V | 1.2 | 100m – 5 V | SLOPE pin voltage | Section 6.5 SLOPE pin voltage typ 1.2 V, p.8 |
kSlope |
V·Ω/s | 6000000000 | 1meg – 1t V·Ω/s | Slope constant: the ramp reaches kSlope / (fsw · RSLOPE) · D' in a period | Section 7.3.4 equation 5 VSLOPE = 6e9 / (fSW · RSLOPE) · D', D' = VIN / VOUT, p.17 |
tOffMin |
s | 0.00000033 | 0 – 10u s | Forced LO off-time at the end of every period | Section 6.5 forced LO off-time typ 330 ns (VCC 5.5 V; 560 ns at 4.5 V), p.8 |
tOnMin |
s | 0.00000015 | 0 – 10u s | Minimum LO on-time (the current comparators are blanked for it) | Section 6.5 minimum LO on-time typ 150 ns (RSLOPE 20 kOhm; 300 ns at 200 kOhm), p.8 |
iSs |
A | 0.00001 | 100n – 1m A | Soft-start charging current | Section 6.5 ISS typ 10 uA, p.8 |
rSsDis |
Ω | 13 | 100m – 10k Ω | Soft-start discharge resistance | Section 6.5 SS discharge switch typ 13 Ohm, p.8 |
vUvlo |
V | 1.2 | 100m – 10 V | UVLO threshold above which switching is enabled | Section 6.5 UVLO threshold typ 1.2 V (rising), p.7 |
iUvloHys |
A | 0.00001 | 0 – 1m A | Hysteresis current out of UVLO while enabled | Section 6.5 UVLO hysteresis current typ 10 uA, p.7 |
vccOn |
V | 4 | 1 – 20 V | VCC undervoltage threshold, rising | Section 6.5 VCC UV threshold typ 4.0 V (rising), p.7 |
vccHys |
V | 0.385 | 0 – 5 V | VCC undervoltage hysteresis | Section 6.5 VCC UV hysteresis typ 0.385 V, p.7 |
iResLim |
A | 0.00003 | 100n – 1m A | Current into RES for the rest of a current-limited period | Section 6.5 RES source current typ 30 uA, p.9; Section 7.4.3, p.24 |
iResSink |
A | 0.000005 | 0 – 1m A | Current out of RES in a period without current limit | Section 6.5 RES sink current typ 5 uA, p.9; Section 7.4.3, p.24 |
vResTrip |
V | 1.2 | 100m – 10 V | RES voltage that starts a hiccup | Section 6.5 hiccup enable threshold typ 1.2 V, p.9 |
vResLo |
V | 2.15 | 100m – 10 V | Lower RES threshold of the hiccup off-time | Section 6.5 RES lower threshold typ 2.15 V, p.9; Section 7.4.3, p.24 |
vResHi |
V | 4.2 | 200m – 20 V | Upper RES threshold of the hiccup off-time | Section 6.5 RES upper threshold typ 4.2 V, p.9; Section 7.4.3, p.24 |
iResUp |
A | 0.00001 | 100n – 1m A | RES charging current in the hiccup off-time | Section 6.5 RES charge current typ 10 uA (hiccup off-time), p.9 |
iResDown |
A | 0.000005 | 100n – 1m A | RES discharging current in the hiccup off-time | Section 6.5 RES discharge current typ 5 uA (hiccup off-time), p.9 |
nResCycles |
— | 8 | 1 – 1k | RES ramps between vResLo and vResHi in a hiccup off-time | Section 7.4.3: RES ramps between 2.15 V and 4.2 V eight times, then SS is released, p.24 |
rResDis |
Ω | 40 | 100m – 10k Ω | RES discharge resistance at the end of a hiccup | Section 6.5 RES discharge switch typ 40 Ohm, p.9 |
tDead |
s | 0.00000008 | 0 – 1u s | Dead time between one gate turning off and the other turning on | Section 6.5 tDLH and tDHL typ 80 ns, p.10 (adaptive on the part, a fixed delay here) |
rHoUp |
Ω | 1.5 | 100m – 1k Ω | HO pull-up resistance (to BST) | Derived: Section 6.5 HO high-state voltage drop typ 0.15 V at -100 mA, p.9 |
rHoDown |
Ω | 1 | 100m – 1k Ω | HO pull-down resistance (to SW) | Derived: Section 6.5 HO low-state voltage drop typ 0.1 V at 100 mA, p.9 |
rLoUp |
Ω | 1.5 | 100m – 1k Ω | LO pull-up resistance (to VCC) | Derived: Section 6.5 LO high-state voltage drop typ 0.15 V at -100 mA, p.10 |
rLoDown |
Ω | 1 | 100m – 1k Ω | LO pull-down resistance (to GND) | Derived: Section 6.5 LO low-state voltage drop typ 0.1 V at 100 mA, p.10 |
rOff |
Ω | 1000000 | 1k – 1t Ω | Off-state resistance of the gate driver switches (the SS and RES switches use 10 GOhm) | assumption: the solver's default switch off resistance |
Parameter descriptions are in English in both languages.
Model
The oscillator runs at fsw = 9e9 / rt. LO turns on at each clock and is forced off for tOffMin at the end of the period. After the blanking time tOnMin, LO turns off when acs times V(CSP) - V(CSN) plus the slope ramp exceeds COMP - vCompDrop, or when V(CSP) - V(CSN) exceeds vCsLim. SLOPE is held at vSlope, and the resistor from SLOPE to GND sets the ramp: it rises at kSlope / RSLOPE times D' = VIN / VOUT per second, with VOUT read on SW in the forced off-time. The error amplifier is a single pole (a0, gbw) driven by the lower of vRef and V(SS) minus FB, limited to vCompLo ... vCompHi. Above vUvlo on UVLO and vccOn on VCC, iSs charges SS and iUvloHys flows out of UVLO; otherwise SS is discharged through rSsDis. In a period the current limit ended, iResLim flows into RES; otherwise iResSink flows out. At vResTrip both gates turn off and SS is discharged, RES ramps up at iResUp to vResHi and down at iResDown to vResLo nResCycles times, then it is discharged through rResDis and a new soft start begins. HO is the complement of LO, each turning on tDead after the other turned off.
Common mistakes
- Without a resistor on SLOPE there is no slope compensation, and above 50 % duty the current loop alternates long and short pulses. Size RSLOPE so the ramp is at least half the sensed inductor down-slope acs * RS * (VOUT - VIN) / L.
- The current limit also acts in the soft start: charging the output capacitor takes COUT * VOUT / tSs more output current, VOUT / VIN times that at the input. A limit sized for the full load alone makes the converter hiccup at start-up.
- The hiccup off-time is about CRES * (3 V / 10 uA + 8 * 2.05 V / 5 uA + 7 * 2.05 V / 10 uA), so 1 nF already gives about 5 ms. Use a small CRES for a short run.
- VCC and BST must be supplied from outside, because the internal regulator and the charge pump are not modelled. A boost cannot limit an output short: the current flows through the synchronous rectifier's body diode, so the limit and hiccup act only on an overload the converter still boosts into.
Problems rules: step.too_large, param.out_of_range, pin.unconnected
Datasheet and sources
rt is your own timing resistor, and RSLOPE and CRES are your own parts on SLOPE and RES. vRef, a0, gbw, vCompDrop, acs, vCsLim, vSlope, tOffMin, tOnMin, iSs, rSsDis, vUvlo, iUvloHys, vccOn, vccHys, the RES currents and thresholds, rResDis and tDead come from the electrical characteristics, kSlope from the slope compensation equation and nResCycles from the hiccup description. The four driver resistances are the driver voltage drops divided by their test currents. vCompLo and vCompHi are limits, because the data sheet gives no typical COMP levels.
Example
Open the example with the command file.openExample and the name demo:syncBoostController.
Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.