Patent attributes
A switching regulator includes a clamp circuit which clamps the output voltage of the error amplifier to the clamp voltage when an output voltage of an error amplifier is higher than a clamp voltage, a constant voltage generation circuit having one end connected to an output terminal of the error amplifier, and a phase compensation capacitor having one end connected to the other end of the constant voltage generation circuit, and the other end connected to a ground terminal. When the clamp circuit clamps the output voltage of the error amplifier, the constant voltage generation circuit lowers the voltage at one end of the phase compensation capacitor by a prescribed voltage. When the clamped state of the output voltage of the error amplifier is released, the constant voltage generation circuit lowers the voltage of the output terminal of the error amplifier from the clamp voltage by the prescribed voltage.