A current detector circuit for detecting a load current flowing through a
load includes a first series circuit having a first element and the load
connected in series, a second series circuit having a second element and
a resistor connected in series, the second element having a temperature
characteristic equal to the temperature characteristic of the resistance
of the first element, a power supply configured to supply voltage to the
first series circuit and the second series circuit, and a control circuit
configured to control the voltage drop across the second element so that
the voltage drop across the second element is equal to the voltage drop
across the first element. A current detection signal corresponding to the
load current is generated based on a current flowing through the second
element.