A method is provided for current compensation. The method is based on division-sigma (D-.SIGMA.) control for a DC/DC converter. Inductance changes are allowed with D-.SIGMA. digital control achieved. Loop gain can be quickly adjusted. The disadvantage of average current-mode control (ACMC) is solved, where the disadvantage is a reduction of the response speed caused by the filter within the current loop. The present invention uses midpoint current sampling to ensure taking an average inductor current value in each switching cycle. By doing so, a lack of fidelity of peak current-mode control (PCMC) is solved, where the lack of fidelity is due to the amount of error value between the peak value and the average value. Besides, the present invention uses a table of the inductance following current changes to achieve compensation of duty cycle ratio, where the table is built in a single chip. |