A method for providing precise current regulation and limitation for a
power supply is provided. The method includes amplifying any difference
between a load current signal and a current setting reference signal with
a feedback loop amplifier to generate a feedback signal. A power output
signal is generated based on the feedback signal. An output signal for
the power supply is generated based on the power output signal. The load
current signal and the current setting reference signal are generated
based on the power output signal. An offset error signal is generated
based on the load current signal and the current setting reference
signal. A differential bias for the feedback loop amplifier is adjusted
based on the offset error signal.