A converter controller for controlling a converter, the converter having a power factor correction stage, the power factor correction stage having a control loop for forming a regulated output voltage at an output node wherein the control loop comprises an error amplifier, the error amplifier comprising:
- a. a first resistor having a first terminal and a second terminal wherein the first terminal of the first resistor is coupled to the output node of the power factor correction stage and the second terminal of the first resistor forms an output node of the error amplifier;
- and
- b. means for drawing a constant current from the output node of the error amplifier.