Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new
Documentation

Synchronous Buck Controller (Voltage Mode) (syncBuckController)

Controls both switches of a synchronous buck from its output voltage, with soft start and current limit.

syncBuckController

Component reference · 繁體中文

Group: ICs · Kind: {"definition":"syncBuckController","kind":"subsystem"}

When to use it

Use it when your buck uses an LM5145-class voltage-mode controller and you want to see soft start, PGOOD, the valley current limit and hiccup with your own power stage and type-III 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 feed-forward ramp
EN electrical Enable and 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
PGOOD electrical Power good, open drain, needs a pull-up
ILIM electrical Valley current limit, R_ILIM goes to SW
BST electrical High-side driver supply, the bootstrap capacitor goes to SW
HO electrical High-side gate drive
SW electrical Switch node, return of the high-side driver
LO electrical Low-side gate drive
VCC electrical Low-side driver supply
GND electrical Ground reference of every pin

Common parameters

  • rt: Oscillator resistor RT; fsw = 1 / (rt · 99.63 pF + 37 ns) (Default: 25000)
  • vRef: Feedback reference voltage (Default: 0.8)
  • kff: PWM feed-forward gain VIN / VRAMP (Default: 15)
  • iSs: Soft-start charging current (Default: 0.00001)
  • iLim: Current out of ILIM (RDS(on) sensing; 100 uA for a shunt) (Default: 0.0002)

Parameters

Key Unit Default Typical range Description Datasheet source
rt Ω 25000 5k – 250k Ω Oscillator resistor RT; fsw = 1 / (rt · 99.63 pF + 37 ns) Section 7.5 FSW1..FSW3 typ: RT = 100 kOhm 100 kHz, 25 kOhm 400 kHz, 12.5 kOhm 780 kHz, p.9; the equation is a fit to them
vRef V 0.8 100m – 5 V Feedback reference voltage Section 7.5 VREF typ 800 mV (792 to 808 mV), p.8
kff V/V 15 1 – 100 V/V PWM feed-forward gain VIN / VRAMP Section 7.5 kFF typ 15 V/V (6 V to 75 V), p.9
vValley V 0.3 0 – 2 V Ramp valley voltage: COMP below it gives 0 % duty Section 7.5 VRAMP(min) typ 300 mV (COMP at 0 % duty cycle), p.9
tOffMin s 0.00000014 0 – 10u s Minimum off-time of HO in every period Section 7.5 tOFF(MIN) typ 140 ns (VBST - VSW = 7 V, HO 50 % to 50 %), p.9
a0 V/V 50119 10 – 1g V/V Error amplifier DC gain (94 dB) Section 7.5 AVOL typ 94 dB, p.8
gbw Hz 6500000 10k – 1g Hz Error amplifier gain-bandwidth product Section 7.5 GBW typ 6.5 MHz, p.8
vCompLo V 0 0 – 5 V Lowest COMP voltage assumption: Section 7.5 gives VCOMP-OL max 0.3 V sinking 1 mA and no typical, p.8; ground
vCompHi V 5 1 – 10 V Highest COMP voltage (full duty needs vValley + VIN / kff below it) Section 7.5 VCOMP-OH typ 5 V (VFB = 0 V, sourcing 1 mA), p.8
iSs A 0.00001 100n – 1m A Soft-start charging current Section 7.5 ISS typ 10 uA (VSS/TRK = 0 V), p.8
rSsDis Ω 11 100m – 10k Ω Soft-start discharge resistance Section 7.5 RSS typ 11 Ohm, p.8
vEn V 1.2 100m – 10 V EN threshold above which switching is enabled Section 7.5 VEN typ 1.2 V (EN/UVLO rising), p.8
iEnHys A 0.00001 0 – 1m A Hysteresis current out of EN while enabled Section 7.5 IEN-HYS typ 10 uA, p.8
iLim A 0.0002 1u – 10m A Current out of ILIM (RDS(on) sensing; 100 uA for a shunt) Section 7.5 IRDSON typ 200 uA (180 to 220 uA at 25 C; IRS 100 uA in RSENSE mode), p.9
vIlimOff V -0.002 -100m – 100m V ILIM comparator threshold Section 7.5 VILIM-TH typ -2 mV (-8 to 3.5 mV), p.9
nHiccup — 128 1 – 4.1k Consecutive current-limited periods before a hiccup Section 7.5 CHICC-DEL 128 cycles, p.9; Section 8.3.11: 128 continuous clock cycles, p.25
nHiccupReset — 4 1 – 4.1k Clean periods in a row that restart the hiccup count assumption: Section 8.3.11 counts 128 continuous clock cycles of overcurrent, p.25, but in a hard short the model skips only every other period, so up to 3 unskipped periods between skips still count as one overcurrent run (the LM5143 data sheet rule)
nHiccupOff — 8192 1 – 1meg Periods without switching in a hiccup Section 7.5 CHICCUP 8192 cycles, p.9
pgUvRise — 0.94 500m – 1 PGOOD lower threshold, FB rising, as a fraction of vRef Section 7.5 PGLTH typ 92 % (FB falling) plus PGHYS_L 2 %, p.8
pgUvFall — 0.92 500m – 1 PGOOD lower threshold, FB falling Section 7.5 PGLTH typ 92 % (90 to 94 %), p.8
pgOvRise — 1.08 1 – 1.5 PGOOD upper threshold, FB rising Section 7.5 PGUTH typ 108 % (106 to 110 %), p.8
pgOvFall — 1.05 1 – 1.5 PGOOD upper threshold, FB falling Section 7.5 PGUTH typ 108 % minus PGHYS_U 3 %, p.8
tPgFilter s 0.000025 0 – 10m s PGOOD rising and falling filter time Section 7.5 TPG-RISE and TPG-FALL typ 25 us, p.8
rPgood Ω 75 100m – 100k Ω PGOOD pull-down resistance Derived from a limit: Section 7.5 VPG-OL max 150 mV at 2 mA (no typical), p.8
tDead s 0.000000014 0 – 1u s Dead time between one gate turning off and the other turning on Section 7.6 THO-DT and TLO-DT typ 14 ns, p.10 (adaptive on the part, a fixed delay here)
rHoUp Ω 1.5 100m – 1k Ω HO pull-up resistance (to BST) Section 7.5 RHO-UP typ 1.5 Ohm (VBST - VSW = 7 V, 100 mA), p.10
rHoDown Ω 0.9 100m – 1k Ω HO pull-down resistance (to SW) Section 7.5 RHO-DOWN typ 0.9 Ohm (100 mA), p.10
rLoUp Ω 1.5 100m – 1k Ω LO pull-up resistance (to VCC) Section 7.5 RLO-UP typ 1.5 Ohm (100 mA), p.10
rLoDown Ω 0.9 100m – 1k Ω LO pull-down resistance (to GND) Section 7.5 RLO-DOWN typ 0.9 Ohm (100 mA), p.10
rOff Ω 1000000 1k – 1t Ω Off-state resistance of the internal switches assumption: the solver's default switch off resistance

Parameter descriptions are in English in both languages.

Model

The oscillator runs at fsw = 1 / (rt * 99.63 pF + 37 ns), a fit to the data sheet's frequency rows. Each period a ramp starts at vValley and rises by V(VIN) / kff, so the gain from COMP to the switch node is kff at any input voltage. HO is on while COMP is above the ramp, with at least tOffMin off before the next clock, and LO is its complement, each turning on tDead after the other turned off. 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 vEn on EN, iSs charges SS and iEnHys flows out of EN; otherwise SS is discharged through rSsDis. iLim flows out of ILIM, and when V(ILIM) is below vIlimOff while LO is on at the clock, that period's HO pulse is skipped. After nHiccup skipped periods (the count restarts after nHiccupReset clean periods in a row) both gates stay off and SS is held at zero for nHiccupOff periods. PGOOD pulls low unless FB is inside the window pgUvRise ... pgOvRise times vRef, with hysteresis and the filter time tPgFilter.

Common mistakes

  • The frequency comes from rt, and there is no separate frequency parameter. With the default 25 kOhm it is about 396 kHz, so use a step of a few hundredths of a period (about 13 ns at the default) or the error amplifier and the dead time are off by a step.
  • ILIM reads the low-side MOSFET's on resistance through R_ILIM, so R_ILIM = valley limit times RDS(on) / iLim. Leaving ILIM open or tied to GND disables the limit, and in a short the current then runs away.
  • The hiccup off-time is 8192 periods, about 21 ms at the default frequency. For a short run, set nHiccupOff lower to see the restart.
  • VCC and BST must be supplied from outside, because the internal regulator and the bootstrap diode are not modelled. Without them HO and LO have no high level.

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

Datasheet and sources

rt is your own timing resistor. vRef, kff, vValley, tOffMin, a0, gbw, vCompHi, iSs, rSsDis, vEn, iEnHys, iLim, vIlimOff, nHiccup, nHiccupOff, the PGOOD thresholds and filter time, and the four driver resistances (RHO-UP, RHO-DOWN, RLO-UP, RLO-DOWN) come from the electrical characteristics, and tDead from the switching characteristics. rPgood is the largest PGOOD low-state voltage divided by its test current. nHiccupReset (4) and vCompLo are assumptions: the data sheet counts 128 continuous overcurrent cycles, while the model skips only every other period in a short, and it gives only a maximum COMP low level.

Example

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


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