A switch mode power supply in which a control loop responsive to an input
signal representative of the power supply output to provide a compensated
error signal; and a PWM signal generator responsive to the compensated
error signal to generate a variable duty cycle drive signal for the drive
circuit having a selectable repetition rate. The control loop is
implemented by digital circuitry, and the PWM signal generator is
implemented by analog circuitry.