Patent attributes
In order both to accommodate instantaneous current as well as overcurrent protection in accordance with the load, an overcurrent protection circuit has: a threshold value generation unit that, in accordance with a threshold value control signal, switches between setting an overcurrent detection threshold value to a first set value (∝Iref) and a second set value (∝Iset) lower than the first set value; an overcurrent detection unit that compares a sense signal in accordance with the current being monitored and the overcurrent detection value and generates an overcurrent protection signal; a reference value generation unit that generates a reference value (∝Iset) in accordance with the seconds set value; a comparison unit that compares the sense signal and the reference value, and generates a comparison signal; and a threshold value control unit that monitors the comparison signal, and generates a threshold value control signal.