Patent ID: 8102676

Claim:
A method comprising: (a) receiving a feedback signal indicative of an output voltage of a power converter, wherein the feedback signal has a voltage, wherein the power converter has a charger cord with a plug, wherein the charger cord has a resistance, and wherein a plug voltage is present on the charger cord at the plug; (b) generating a cord correction signal, wherein the cord correction signal has a voltage; (c) generating a corrected feedback signal by subtracting the voltage of the cord correction signal from the voltage of the feedback signal, wherein the corrected feedback signal has a voltage; (d) comparing a reference voltage to the voltage of the corrected feedback signal; (e) using the comparing in (d) to adjust the output voltage to compensate for a decrease in the plug voltage caused by the resistance of the charger cord, wherein an inductor switch control signal controls an inductor current flowing through an inductor, and wherein the inductor switch control signal has a pulse width; and (f) adjusting the pulse width such that the plug voltage remains constant, wherein the generating in (c), the comparing in (d), the adjusting in (e) and the adjusting in (f) are performed by an integrated circuit that is packaged in an integrated circuit package.