Patent attributes
A converter including an inductor (L), a first switch (SW1, S1) connected between an input terminal (Vin) and the inductor, a diode/switch (D1, S2), connected between the first end of the inductor and ground, a diode/switch (D2, S3) connected between the inductor and an output terminal (Vout), and a second switch (SW2, S4) coupled between inductor and ground. A current sensor senses current in the first switch (SW1, S1) as a measure of inductor current. Waveform generators (31, 32) generate buck and boost slope compensation ramps (RMP-BUCK, RMP-BOOST). Control logic (10) opens and closes the switches every clock period at individual duty cycles determined using a feedback signal derived from the output terminal, the sensed current and the slope compensation ramps. The slope compensation ramps are mutually offset such that current sensing is needed only while the first switch (SW1, S1) is closed.