# Patent

## Title
Generator scheme and circuit for overcoming resistive voltage drop on power

## Abstract

A current reference circuit comprises a positive temperature coefficient circuit and a negative temperature coefficient circuit, the temperature coefficients of which can be adjusted to give a temperature independent output current. The base of a transistor in the positive temperature coefficient circuit is connected to the base of a transistor in the negative temperature coefficient circuit to bias it.

## Background
This application claims priority under 35 U.S.C. .sctn..sctn.119 and/or 365 to 9924876.7 filed in the United Kingdom on Oct. 20, 1999; the entire content of which is hereby incorporated by reference.

This invention relates to an electronic circuit, and in particular to a current reference circuit, which produces a reference current which is independent of temperature and supply voltage.

A current reference circuit, implemented using bipolar transistors, is known from U.S. Pat. No. 4,335,346. U.S. Pat. No. 4,335,346 describes a circuit which has two sub-circuits. A first sub-circuit has a negative temperature coefficient, that is the current generated thereby varies inversely with temperature, and a second sub-circuit has a positive temperature coefficient, that is the current generated thereby varies directly with temperature. The first sub-circuit comprises an NPN transistor, the emitter terminal of which is connected through a resistor to ground. As is well known, the base-emitter voltage of a bipolar transistor varies inversely with the temperature. Thus, the current through the transistor, which depends on the voltage across the resistor and the resistance value thereof, will also vary inversely with the temperature. The circuit further includes means for summing the currents generated by the first and second sub-circuits to produce an output current.

The present invention relates to a circuit which has two sub-circuits. A first sub-circuit has a negative temperature coefficient, and a second sub-circuit has a positive temperature coefficient. The first sub-circuit comprises a first bipolar transistor, the emitter terminal of which is connected through a first resistor to a first voltage supply rail. Thus, the current through the first bipolar transistor varies inversely with the temperature.

The second sub-circuit comprises second, third, fourth and fifth bipolar transistors. The bases of the second and third transistors are connected together, and to the collector terminal of the third transistor. This terminal is further connected to a second voltage supply rail through a second resistor. The emitter of the second transistor is connected to the collector of a fourth transistor, and to the base of a fifth transistor. The emitter of the third transistor is connected to the collector of the fifth transistor, and to the base of the fourth transistor. The emitter of the fourth transistor is connected to the first voltage supply rail through a third resistor, and the emitter of the fifth transistor is also connected to the first voltage supply rail.

The current through the collector terminal of the second sub-circuit is the current generated by the circuit.

The circuit further includes means for summing the currents generated by the first and second sub-circuits to produce an output current.

Importantly, in accordance with the invention, the base of the second transistor, in the second sub-circuit, is connected to the base of the first transistor, in the first sub-circuit. Thus, the second sub-circuit is used to provide the bias voltage for the first transistor, in the first sub-circuit, and it is not necessary to provide any additional bias voltage therefor. This reduces the power required by the circuit, and also reduces the area of the circuit when it forms part of an integrated circuit device.

FIG. 1 is a circuit diagram of a circuit in accordance with the invention.

FIG. 2 is a circuit diagram of a second circuit in accordance with the invention.

The circuit of FIG. 1 is made up of a positive temperature coefficient sub-circuit 2, a negative temperature coefficient sub-circuit 4, and a summing circuit 6.

The positive temperature coefficient sub-circuit 2 is made uo of NPN transistors Q1, Q2, Q3 and Q4, and resistors R1 and R2. Transistor Q1 has its base and collector terminals connected together, and connected to a positive voltage supply rail Vcc through a first resistor R1. The base of transistor Q1 is also connected to the base of transistor Q2. The ratio of the emitter area of transistor Q1 to the emitter area of transistor Q2 is A.

The emitter of transistor Q1 is connected to the collector of transistor Q3, and to the base of transistor Q4. The emitter of transistor Q2 is connected to the collector of transistor Q4, and to the base of transistor Q3. The ratio of the emitter area of transistor Q4 to the emitter area of transistor Q3 is also A.

The emitter of transistor Q3 is connected to ground, and the emitter of transistor Q4 is connected to ground through a second resistor R2.

The current drawn through the collector of transistor Q2 is indicated as I1.

The negative temperature coefficient sub-circuit 4 is made up of an NPN transistor Q5, and resistor R3. The base terminal of transistor Q5 is connected to that of the transistor Q2, and thus it is biased thereby. The emitter terminal of transistor Q5 is connected to ground through the resistor R3. The collector terminal of transistor Q5 is connected to the collector terminal of transistor Q2 at a current summing node.

The current drawn through the collector of transistor QS is indicated as I2.

The summing circuit 6 is effectively a current mirror, made up of PNP transistors Q6 and Q7. The base and collector terminals of transistor Q6 are connected together, and to the current summing node. Further, tine base terminals of transistors Q6 and Q7 are connected together, and the emitter terminals of transistors Q6 and Q7 are connected to the positive voltage supply Vcc.

The current drawn through the collector of transistor Q7 is indicated as Iref, and can then of course be supplied to any other circuit

If desired, further transistors could be connected in the same way as transistor Q7, thereby providing the sane output current Iref to other circuits

In the case of the positive temperature coefficient sub-circuit 2, the voltage which is developed across the resistor R1 is U.sub.T.ln(A.sup.2), where U.sub.T is the thermal voltage kT/q, k being Boltzmann's constant, T being the absolute temperature, and q being the charge on an electron. Thus, provided that the current gain, .beta., of the transistors is high, the current I1 in the collector of Q2 is given by:

Thus, if the resistor R2 has zero temperature coefficient, Il is directly proportional to absolute temperature, and substantially independent of supply voltage and the value of R1.

In the case of the negative temperature coefficient sub-circuit 4, it must be noted that the base of transistor Q2 is biased to twice the base-emitter voltage of the transistors, and so the base of transistor Q5 is biased to the same voltage. Hence toe emitter of the transistor Q5 is biased to a level equal to one base-emitter voltage. It is known that a silicon diode junction voltage varies with temperature, the temperature coefficient being about -2 mV.K.sup.-1.Thus, the collector current I2 through the transistor Q5 will be given by: .DELTA.T is the temperature variation from that temperature, and k1 is the temperature coefficient -2 mV.K.sup.-1.

Thus, the output current, Iref, is given by: ##EQU1##

This gives a temperature coefficient for the output current of: ##EQU2##

The ratio of the resistance values R3:R2 can therefore be selected to give any desired value of the temperature coefficient of the output current, including zero.

If R2 and R3 have negligible temperature coefficients, then the output current will have a zero temperature coefficient if: ##EQU3##

If the resistors do not themselves have zero temperature coefficients, as will be the case in practice, the ratio of the resistance values can be selected to account for that.

FIG. 2 shows a modified circuit, in which components indicated with the same reference numerals used in FIG. 1 have the same functions. In order to improve the accuracy of the circuit shown in FIG. 1, a high value resistor can be used for the resistor R1, which generates the input current. The collector of a further PNP transistor Q8, connected in the same way as the transistor Q7, is connected to the base-collector junction of the transistor Q1. Then, after start-up, a current equal to the output current Iref is supplied to Q1. Since this current is then largely independent of fluctuations in the supply voltage, a source of possible inaccuracy in the output current is removed.

There is therefore provided a circuit which can provide a reference current with a desired temperature coefficient, including providing a temperature independent reference current, while using few components, and having low power consumption.

## Claims

1. A current supply circuit, comprising a first current supply sub-circuit with a negative temperature coefficient, and a second current supply sub-circuit with a positive temperature coefficient, through a first resistor to a first voltage supply rail, second and third transistors being connected together, and to the collector terminal of the third transistor, the collector terminal of the third transistor being connected to a second voltage supply rail through a second resistor, the emitter of the second transistor being connected to the collector of the fourth transistor, and to the base of the fifth transistor, the emitter of the third transistor being connected to the collector of the fifth transistor, and to the base of the fourth transistor, the emitter of the fourth transistor being connected to the first voltage supply rail through a third resistor, and the emitter of the fifth transistor also being connected to the first voltage supply rail; currents through the first transistor and the second transistor to produce an output current; and transistor to provide a bias voltage therefor.

2. A current supply circuit as claimed in claim 1, wherein the ratio of the resistances of the first and second resistors is selected to give a desired temperature coefficient for the output current.

3. A current supply circuit as claimed in claim 2, wherein the desired temperature coefficient for the output current is zero.

4. A current supply circuit as claimed in claim 1, comprising a current mirror circuit, wherein the output current is mirrored to a current supply line connected to the base and collector of the third transistor.