Current mirror circuit

Abstract: A current mirror circuit has an actively controllable feedback element in the form of a p-channel field effect transistor (28). The p-channel transistor 28 has its gate connected to the output of a differential amplifier (12). The opamp 12 is connected to form a feedback loop within the current mirror circuit. The negative input (14) of the opamp (12) is connected to receive at node (16) the drain voltage V1 of the first transistor (24). The positive input (18) of the opamp (12) is connected to receive at node (20) the drain voltage (V2) of the second transistor (26). The purpose of the opamp 12 is to tend to equalise the drain voltages V1 and V2 of the first and second transistors 24, 26. If the drain voltage V2 of the second transistor 26 increases relative to the drain voltage V1 of the first transistor 24 the output signal Vo of the opamp 12 will be such as to reduce Vgs of the transistor 28 and hence Ids thereby to reduce the drain voltage V2 of the second transistor 26. If the drain voltage V2 of the second transistor 26 falls below the drain voltage V1 of the first transistor 24 the output signal of the opamp 12 will be such as to increase Vgs of the transistor 20, and hence Ids thereby to allow the drain voltage V2 of the second transistor 26 to rise. In this way the nodes 16 and 20 are continuously biased equal.

Description: This invention relates to a current mirror circuit. Current mirror circuits are well known in MOS (metal oxide semiconductor) analogue devices. Essentially they are used to convert a current source to a current sink or vice-versa. A basic current mirror comprises first and second FET's (field effect transistors) with sources connected to a common fixed potential and their gates connected together. In addition the gate of the first transistor is connected to its drain. A current source is connected in the drain of the first transistor and the output current is taken across a load in the drain of the second transistor. In these circumstances, the ratio of the output to the input current is ideally defined by the ratio of transistor sizes in the current mirror. However, in practice the accuracy of a current mirror circuit is dependent on other factors, particularly its output impedance. Ideally the impedance should be infinite, or at least very large compared with the load connected to the current mirror. In practice, the impedance of a conventional current mirror circuit is too low for many applications, e.g. high-gain amplifiers. Current mirror circuits also have application in the production of an output current which is a fixed multiple of an input current, or of several such output currents. In the drawings: Figure 1 is a circuit diagram of a conventional cascode current mirror circuit; Figure 2 is a circuit diagram of a conventional cascode current mirror circuit when used to provide an output current which is a multiple of an input current and which can be adapted to provide a plurality of output currents; and Figures 3 to 5 are circuit diagrams of embodiments of the present invention. Figure 1 shows a cascode current mirror which has a first transistor pair comprising an n-channel transistor 1 the gate of which is connected to its drain and a second n-channel transistor 3, the gate of which is connected to the gate of the transistor 1. A current source supplying an input current I in is connected in the drain of the first transistor while an output current I out is taken across a load (not shown) connected in the drain of the second transistor 3. A second transistor pair is connected as follows: a third n-channel transistor 2 whose gate is connected both to its drain and also to the gate of a fourth n-channel transistor 4 is connected in the source of the first transistor 1. The fourth transistor 4 is connected in the source of the second transistor 3. Finally, the sources of the third and fourth transistors 2, 4 are connected to ground. In this configuration, if, because of an increase in the drain voltage Vds₃ of the second transistor, the output current I out tends to increase relative to its correct value with respect to the input current I in there will be an increase in the drain source voltage Vds₄ of the fourth transistor which in turn will tend to reduce the gate source voltage Vgs₃ of the second transistor 3. This in turn limits the amount of current which can pass along the drain source channel of the second transistor 3 and hence the output current I out is reduced. The circuit thus utilises negative feedback to be self controlling. The circuit of Figure 1 is suitable for converting a current source to a current sink. In some circumstances, it is necessary to use a current mirror type circuit to provide a second current source from an existing source. This may be the case where a second current source of a different value to the existing current source is required or where a plurality of similar current sources is required to be produced from a single current source. The production of multiple current sources is used for example in digital to analogue converters. To achieve this, an "inverted" current mirror circuit is used as the load in the drain of the second transistor 3 (see Figure 2). The inverted current mirror circuit consists of two current mirror p-channel transistor pairs, 5, 6 and 7, 8, connected in a cascode configuration as described earlier with reference to the transistors 1 to 4 of Figure 1. The operation of this "inverted" circuit will not be described since it is substantially the same as the arrangement of transistors 1 to 4. Suffice it to say that in order to achieve satisfactory output impedances so that the output current I out bears a predefined and accurate relationship to the input current I in the pair of transistors in each case 1, 3 and 7, 8 is necessary. In a known digital-to-analogue converter current mirror there is a plurality of transistor output arrangements as represented by transistors 6, 8 and as indicated only diagramatically by the dotted lines in Figure 2. The circuit illustrated in Figure 2 has significant disadvantages when implemented on a semiconductor chip for CMOS digital processes with large tolerances. As is known, for a given gate-source voltage (Vgs) the drain-source current (Ids) of an FET is limited by its width/length ratio as implemented in a practical integrated circuit. It is always necessary to specify transistor widths to account for the worst possible case which could arise in processing. With large tolerance processes, this is a serious problem for short transistors, where a change in length due to process tolerances has a greater adverse effect than for transistors of longer length. For typical input currents of the order of 2mA, the current mirror transistors 1 to 4 may each need to be of a width, W, of the order of 15000 um, and length L of 1-2 um. In terms of the space on a single chip, this is quite costly. In addition, the relationship between Ids, W and the drain-source voltage Vds in a FET means that as the width/length ratio increases, Vds is lowered for the same current. Referring to the circuit of Figure 2, if the width/length ratio of the p-channel transistors 5 to 8 decreases, Vgs of transistors 5 and 7 must increase to maintain Ids constant. This means that the drain voltage of the n-channel transistor 3 moves closer to ground. If Vgs of transistor 3 is allowed to exceed the sum of its drain-source voltage Vds and threshold voltage Vt, the transistor 3 will move from its saturation region of operation to its linear region. A current mirror designed to operate in the saturation region will be in error in the linear region since small changes in Vds result in large changes in Ids. If the transistor 4 similarly moves out of its saturation region of operation, the error is compounded and the circuit ceases to function sensibly as a current mirror. A reduction in the width/length ratio of transistors 1 to 4 has a similar effect on the operating conditions of transistors 3 and 4. Where, as in the circuit of Figure 2, there are four transistors connected across the supply voltage V DD to ground, the width/length ratio of each transistor is required to be as high as possible to ensure that even for the worst possible ambient conditions, the transistors remain in saturation. At high temperatures and low supply voltages, it is not possible using the known circuit designs on a large tolerance process to keep the transistors in saturation on without their dimensions being prohibitively large. It is of course also important from the point of view of providing as many circuits as possible on a single chip that transistor widths should be reduced. Reference is made to an article entitled "Negative current-mirror using n-p-n transistors" in Electronic Letters 26th May 1977, Col. 13, No. 11, which describes a current mirror using an op-amp to establish the same potential difference across diode-strapped matched current mirror transistors. The transistors are bipolar transistors. Reference is also made to EP-A-0356570 in the name of Siemens which forms part of the state of the art by virtue of Article 54(3) for Germany only. This discloses a current mirror circuit using field effect transistors and an operational amplifier in feedback. According to the present invention there is provided a current mirror circuit comprising: first and second MOS field effect transistors, the sources of which are connected to a fixed potential and the gates of which are connected to receive a common voltage, the drain of the first transistor being adapted to be connected to a current source; an actively controllable feedback element connected in the drain of the second transistor which feedback element is controllable by a differential amplifier in response to the difference in the drain voltages of the first and second transistors thereby to maintain said drain voltages of the first and second transistors substantially equal to one another, wherein the output of said differential amplifier is coupled to a first output terminal adapted to supply a first reference voltage to an output stage; and wherein a bias element is connected in the drain of the second transistor and the actively controllable feedback element, the bias element being coupled to a second output terminal to supply a second reference voltage to the output stage. The use of a differential amplifier with an actively controllable feedback element in this way enables the drain-source voltages of the current mirror transistors to be held equal independently of changes in the operating conditions of the circuit, e.g. the load characteristics (affected by temperature and process tolerance for example) or the supply voltage. As the drain-source voltage of the second transistor is dependent only on the drain-source voltage of the first transistor it is hardly affected by load conditions and hence the current mirror circuit has a higher impedance than conventional current mirror circuits and comparable with cascode current mirror circuits. However, the feedback control of the drain-source voltage enables the widths of the current mirror transistors to be drastically reduced as compared with a cascode current mirror circuit, to around 1300 um. As the cascode transistors are not required, there are hence less transistors connected across the supply lines and hence fewer problems in keeping them in saturation. The actively controllable feedback element is preferably an FET transistor whose gate is connected to receive an output signal from the differential amplifier. The further transistor can be driven by forward amplification circuitry coupled to receive the output from the differential amplifier. This enables Vgs of the second FET to be increased independently of the drain voltage of the second transistor, and thus to be turned on more strongly. The transistor can hence be manufactured of an even lower width/length ratio for the same Ids. The circuit of the invention particularly advantageous when used to generate an output current which is a fixed multiple of an input current, since there is connected in the drain of the second transistor a bias transistor in series with the actively controllable feedback element. A first output element can be driven by the differential amplifier and a second output element connected in series with the first output element can be coupled to the bias transistor. Where a plurality of output currents are to be generated, there may be several sets connected in parallel of first and second output elements connected in series, each set providing a respective output current. With this arrangement the circuit of the invention has particular advantage in that the differential amplifier enables bias voltages to be generated for the output elements without using up the quantity of silicon area required with the prior art circuit. Furthermore, each set of first and second output elements, connected in series as a cascaded pair, ensures a high impedance current source. The gates of the first and second transistors can be connected to the drain of the first transistor. Preferably, however, the gates of the first and second transistors are connected to receive the common gate voltage from a separate voltage supply circuit. The independent control of the gate voltage means that Vgs can be made to exceed Vds. This has the significant advantage that a smaller transistor, that is a transistor of lower width/length ratio, can be made to pass the same current as a transistor of larger width/length ratio. Typically, the widths of the current mirror transistors can be reduced to around 360 um. Hence, even taking into account large tolerances, the specifications for transistor widths are greatly reduced. For a better understanding of the present invention, and to show how the same may be carried into effect, reference will now be made, by way of example, to Figures 3 to 5 of the accompanying drawings. The components of a conventional current mirror circuit can be identified in Figure 3 as a first n-channel transistor 24 having a current source I in connected in its drain and a second transistor 26 the gate of which is connected to the gate of transistor 24. The sources of the first and second transistors are connected a fixed potential (ground). There is connected in the drain of the second transistor 26 an actively controllable feedback element in the form of a p-channel field effect transistor 28. In the embodiment of Figure 3, the gates of the transistors 24, 26 are connected to the drain of the first transistor 24 at the node 30. The p-channel transistor 28 has its gate connected to the output of a differential amplifier or opamp 12. The opamp 12 is connected to form a feedback loop within the current mirror circuit. The negative input 14 of the opamp 12 is connected to receive at node 16 the drain voltage V1 of the first transistor 24. The positive input 18 of the opamp 12 is connected to receive at node 20 the drain voltage V2 of the second transistor 26. The purpose of the opamp 12 is to tend to equalise the drain voltages V1 and V2 of the first and second transistors 24, 26. If the drain voltage V2 of the second transistor 26 increases relative to the drain voltage V1 of the first transistor 24 the output signal Vo of the opamp 12 will be such as to reduce Vgs of the transistor 28 and hence Ids thereby to reduce the drain voltage V2 of the second transistor 26. If the drain voltage V2 of the second transistor 26 falls below the drain voltage V1 of the first transistor 24 the output signal of the opamp 12 will be such as to increase Vgs of the transistor 28, and hence Ids thereby to allow the drain voltage V2 of the second transistor 26 to rise. In this way the nodes 16 and 20 are continuously biased equal. There is connected between the output of the op. anp. 12 and its positive input 18 a capacitor C₁ to stabilise the control loop if the phase margin of the loop is less than 45°. An output transistor 50 has its gate connected to receive the output signal Vo of the opamp 12 and is driven by this signal. To increase the output impedance of the circuit, a second output transistor 52 is connected in series with the first output transistor 50. A further p-channel transistor 48 is connected in the drain of the second transistor 26 to drive the second output transistor 52, which is connected to receive at its gate the gate voltage Vg of the transistor 48. There may be several output sets of transistors as indicated diagrammatically by the dotted line in Figure 3. The output transistors 50, 52 are controlled in dependence on the current source I in to produce the output current I out of the current mirror circuit. Referring now to Figure 4, forward amplification circuitry consisting of two p-channel transistors 40, 42 and two n-channel transistors 44, 46 can be connected between the output of the opamp 12 and the gate of the further p-channel transistor 48 which then constitutes a second actively controllable feedback element. The transistors in the amplification circuitry are connected as described in the following: the gate of the p-channel transistor 40 is connected to receive the output voltage V O from the opamp 12. This transistor 40 is connected between the supply rail VDD and the drain of the n-channel transistor 44. The gate of the transistor 44 is connected to its drain. The source and gate of the n-channel transistor 44 are connected respectively to the source and gate of the n-channel transistor 46. A p-channel transistor 42 is connected in the drain of the transistor 46. The transistor 42 is connected to the supply VDD and its gate is connected both to the drain of the transistor 46 and to the gate of the transistor 48 forming the controllable feedback element. The purpose of this circuit is to make the gate voltage Vg of the transistor 48 a positive function of the output voltage Vo of the comparator 12. The ratio is given by the following: Where W40 and W42 are the widths of the transistors 40 and 42 respectively, and K1 is a constant. The effect of the amplification circuitry is to enable the width/length ratio of the transistor 48 to be reduced as discussed earlier. Another embodiment of the invention is shown in Figure 5. Instead of being connected to the drain of the first transistor 24, the gates of the first and second transistors 24, 26 are connected to receive a control voltage V c at node 10. The control voltage V c is derived from amplification circuitry which receives the drain voltage V1 of the first transistor 24 from node 22. The amplification circuitry consists of input and output n-channel transistors 36, 38 with their sources connected to ground. Two p-channel transistors 32, 34 are connected in the drains of the transistors 36, 38 and to the supply rail VDD and their gates are connected together. The gates of the transistors 32, 34 are also connected to the drain of the input transistor 36. The drain of the output transistor 38 is connected to its gate. The circuit operates so that the ratio of V c to V1 is given by the following: where W38, W36 are the widths of the transistors 38, 36 respectively, and K₂ is a constant. The independent control of V c and hence the gate voltage of the first and second transistors 24, 26 enables the gate voltage to be held higher than the drain voltage V1 but not so much higher that the transistor comes out of saturation. This has the advantage that more current can be passed for a transistor of the same size in which the gate voltage is tied to the drain voltage. Conversely, a smaller size transistor can be used for existing current values. The first transistor 24 is biased by the voltage supply circuitry 32, 34, 36, 38 closer to the linear region of operation, but nevertheless in saturation. The independent control of feedback elements formed by p-channel transistors 28, 48 has a similar effect in that the width of the transistors can be reduced relative to transistors 5, 7 in Figure 2 yet still carry the same current. The sizes of the p-channel transistors 28, 48, 40, 42 are chosen so that for the worst cases of highest temperature, lowest supply voltage, maximum transistor length, and highest threshold voltage feedback elements 28, 48 are just into the saturation region. For other cases they will be further into the saturation region. The reduction of transistor widths made possible by the described circuit is significant, and can be seen from Table I which compares transistor widths for the case (i) of Figure 2, the case (ii) of Figure 3, the case (iii) of Figure 4 and the case (iv) of Figure 5.

Claims: A current mirror circuit comprising: first and second MOS field effect transistors (24,26), the sources of which are connected to a fixed potential and the gates of which are connected to receive a common voltage, the drain of the first transistor being adapted to be connected to a current source; an actively controllable feedback element (28) connected in the drain of the second transistor which feedback element is controllable by a differential amplifier (12) in response to the difference in the drain voltages of the first and second transistors (24,26) thereby to maintain said drain voltages of the first and second transistors substantially equal to one another, wherein the output of said differential amplifier (12) is coupled to a first output terminal adapted to supply a first reference voltage to an output stage (50,52); and wherein a bias element (48) is connected in the drain of the second transistor and the actively controllable feedback element, the bias element being coupled to a second output terminal to supply a second reference voltage to the output stage (50,52). A circuit as claimed in claim 1 in which the actively controllable feedback element (28) is a field effect transistor with its gate connected to the output of the differential amplifier. A circuit as claimed in claim 1 or 2 which comprises an output stage having an output element (50) coupled to the first output terminal and driven by the differential amplifier. A circuit as claimed in claim 3 in which the output stage comprises a further output element (51) in series with said first-mentioned output element (50) and coupled to the second output terminal. A circuit as claimed in claim 3 or 4 in which the or each output element is a field effect transistor. A circuit as claimed in any preceding claim in which the bias element is a field effect transistor with its gate connected to its drain. A circuit as claimed in claim 4, wherein there is a forward amplification circuitry (40,42,44,46) coupled to receive the output of the differential amplifier and arranged to drive the bias element (48) and the further output element (52). A circuit as claimed in any preceding claim which comprises a plurality of such output stages to provide a respective plurality of output currents. A circuit as claimed in any preceding claim, wherein the gates of the first and second transistors are connected to the drain of the first transistor. A circuit as claimed in any of claims 1 to 8 wherein the gates of the first and second transistors are connected to receive the common voltage from an independent voltage supply circuit. A circuit as claimed in any preceding claim further comprising a capacitor (C1) connected between the output of the differential amplifier (12) and the third terminal of the second transistor (26).

Inventors: CYTERA CHRISTOPHER, CYTERA, CHRISTOPHER
Applicants: INMOS LTD, INMOS LIMITED
Application year: 1990
Main classification: G05F3
IPC codes: G05F3, H03F3