Patent ID: 8767423

Claim:
A power supply controller, comprising: an input voltage sense input coupled to sense an input voltage sense signal representative of an input voltage of a power supply; an output voltage sense input coupled to sense an output voltage sense signal representative of an output voltage of the power supply; a current limit circuit including a first variable resistance coupled in parallel with a second variable resistance, wherein the first variable resistance is coupled to be responsive to the input voltage of the power supply and wherein the second variable resistance is coupled to be responsive to the output voltage of the power supply, wherein the current limit circuit is coupled to generate a current limit signal in response to a first equivalent resistance of the first variable resistance coupled in parallel with the second variable resistance, wherein the current limit circuit further includes a third variable resistance coupled in parallel with a fourth variable resistance, wherein the third variable resistance is coupled to be responsive to the input voltage of the power supply and wherein the fourth variable resistance is coupled to be responsive to the output voltage of the power supply, wherein the current limit circuit is further coupled to generate the current limit signal in response to a second equivalent resistance of the third variable resistance coupled in parallel with the fourth variable resistance; and a drive signal generator coupled to generate a drive signal in response to the current limit signal to drive a power switch of the power supply to limit an output power of the power supply in response to the input voltage.