Patent ID: 8471543

Claim:
A DC-DC converter comprising: a switching circuit configured to convert an input voltage value inputted to an input and being switched in response to a drive signal into an output voltage value being outputted to an output; an error amplifier configured to generate an error signal based on an error between a target output voltage value to be outputted from the output and the output voltage value at the output; a PWM comparator configured to generate a PWM signal based on the error signal, a current feedback signal corresponding to a current value between the input and the output, and a slope compensation signal to perform a slope compensation of the current value between the input and the output; a latch circuit configured to generate the drive signal based on the PWM signal and a predetermined period signal; an output voltage set register configured to record a set voltage value corresponding to the target output voltage value; a slope compensation circuit configured to generate the slope compensation signal having a slope compensation amount corresponding to the set voltage value; a first D/A converter configured to generate a slope compensation amount reference voltage being a voltage level corresponding to the set voltage value; and a second D/A converter configured to generate a reference voltage being a voltage level corresponding to the set voltage value, wherein the slope compensation circuit is configured to change the slope compensation amount of the slope compensation signal in response to the slope compensation amount reference voltage, and the error amplifier is configured to generate the error signal by using the reference voltage as the target output voltage value.