A current mirror circuit includes a pair of first and second transistors
having bases connected together and emitters connected to a power line, a
resistor connected between the bases of the first and second transistors
and the power line, a third transistor for providing base currents of the
first and second transistors and a resistor current flowing through the
resistor, and a current compensation circuit that adds a compensation
current to an input current to the first transistor. The amount of the
compensation current is approximately equal to that of the resistor
current divided by a current gain of the third transistor. Thus, the
compensation current compensates the difference between a collector
current of the first transistor and the input current.