Patent ID: 8174249

Claim:
A voltage boosting/lowering circuit comprising: an output voltage generation circuit comprising a first switch element connected between an input terminal and one end of a choke coil and a second switch element connected between another end of the choke coil and a ground terminal, the output voltage generation circuit being configured to boost or lower an input voltage input to the input terminal and thereby to generate an output voltage by switching the first and second switch elements between an On-state and an Off-state; a clock generation circuit that generates first and second clocks having different timings; and a switch control unit that performs switching control of the first and second switch elements based on the first and second clocks so that negative feedback control is performed so as to bring the output voltage to a target output voltage, wherein: the switch control unit further comprises: an error amplifier that amplifies and outputs a difference between a feedback voltage determined based on the output voltage and a first reference voltage determined based on the target output voltage; a current detection circuit that generates a second reference voltage determined based on a change of a current output from the choke coil; and a first slope circuit that lowers a voltage output from the error amplifier over time, and wherein: the switch control unit performs switching control of the first and second switch elements based on output results of the error amplifier and the current detection circuit, and the switch control unit brings the first switch element into an Off-state when a voltage output from the first slope circuit becomes lower than the second reference voltage output from the current detection circuit.