Patent ID: 8415937

Claim:
An apparatus comprising: a buck-boost switching regulator having an input terminal, an output terminal, a predetermined buck gain, a predetermined boost gain, a predetermined dead-time, and a predetermined on-time; and control circuitry that is coupled to at least one of the output terminal and the input terminal and that controls the buck-boost switching regulator, wherein the control circuitry employs a compensation function to determine pulse width modulation (PWM) duty cycles for the buck-boost switching regulator, wherein the control circuitry includes a processor and a storage medium with a computer program product embodied thereon, and wherein the computer program product includes: computer code for operating the buck-boost switching regulator in a buck mode when an output of the compensation function is less than the predetermined buck gain; computer code for operating the buck-boost switching regulator in a first bridge mode when the output of the compensation function is between the predetermined buck gain and an intermediate value; computer code for operating the buck-boost switching regulator in a second bridge mode when the output of the compensation function is between the predetermined boost gain; and computer code for operating the buck-boost switching regulator in a boost mode when the output of the compensation function is greater than the predetermined boost gain.