A PWM control circuit for a voltage regulator including a compensation
network, a ramp generator providing a ramp voltage, an offset adjust
circuit and a comparator circuit. The compensation network senses the
output voltage, receives a reference voltage, and outputs a compensation
voltage. The offset adjust circuit adjusts a selected one of the ramp
voltage and the compensation voltage based on the reference voltage. The
comparator circuit compares the compensation voltage with the ramp
voltage and provides a PWM signal for controlling the output voltage. The
offset adjust circuit may generate an offset voltage based on the
reference voltage and a gain G of the voltage regulator. The offset
adjust circuit may subtract the offset voltage from either the ramp
voltage or the compensation voltage to provide an adjusted voltage to the
comparator circuit.