Patent ID: 7180274

Claim:
A switching voltage regulator for converting an input voltage to an output voltage, comprising: a switching circuit operating with a first operating state and a second operating state such that the switching circuit allows a switching current to linearly increase during the first operating state and allows the switching current to linearly decrease during the second operating state; a control circuit coupled to the switching circuit for controlling the switching circuit to operate with the first operating state or the second operating state; and a setting circuit for generating a threshold signal, wherein the control circuit comprises: a voltage feedback circuit for generating a voltage feedback signal representative of the output voltage; a current feedback circuit for generating a current feedback signal representative of the switching current; an error amplifier for generating an error signal representative of a difference between the voltage feedback signal and a reference voltage signal; a first comparing circuit for comparing the current feedback signal and the error signal so as to generate a first comparison result signal; a second comparing circuit for comparing the current feedback signal and the threshold signal to generate a second comparison result signal; and a logic circuit for receiving the first and the second comparison result signals so as to generate a trigger signal in response to logical coupling between the first and the second comparison result signals, wherein the control circuit is triggered by the trigger signal to operate the switching circuit with the second operating state when the current feedback signal during the first operating state becomes higher than a larger one of the error signal and the threshold signal.