Patent ID: 8461819

Claim:
A current detector comprising: a switch portion having an input node, an output node and a detection node, the switch portion being configured to divide an input current supplied to the input node into a power current between the input node and the output node and a detection current between the input node and the detection node; a current controller configured to control the detection current so as to equalize voltages at the detection node and the output node, the current controller being coupled with the detection node and the output node and including a transistor and a diode coupled to the transistor in series so as to prevent impression of negative voltage on the transistor, the transistor and the diode being formed within a single monolithic substrate; and a monitor current output portion having a monitor node and being coupled with the current controller, the monitor current output portion being configured to mirror the detection current in the current controller to the monitor node, wherein the monitor current output portion comprises; a first current mirror portion including an input transistor coupled with the current controller and an output transistor so linked with the input transistor and the monitor node as to mirror the detection current in the input transistor to the monitor node; and a current compensator including a compensation diode having a common structure with the diode of the current controller, the compensation diode being coupled with the output transistor in series.