A Wilson current mirror is a three-terminal circuit (Fig. 1) that accepts an input current at the input terminal and provides a "mirrored" current source or sink output at the output terminal. The mirrored current is a precise copy of the input current.
It may be used as a Wilson current source by applying a constant bias current to the input branch as in Fig. 2. The circuit is named after George R. Wilson, an integrated circuit design engineer who worked for Tektronix. [1] [2] Wilson devised this configuration in 1967 when he and Barrie Gilbert challenged each other to find an improved current mirror overnight that would use only three transistors. Wilson won the challenge. [3]
There are three principal metrics of how well a current mirror will perform as part of a larger circuit. The first measure is the static error, i.e., the difference between the input and output currents expressed as a fraction of the input current. Minimizing this difference is critical in such applications of a current mirror as the differential to single-ended output signal conversion in a differential amplifier stage because this difference controls the common mode and power supply rejection ratios. The second measure is the output impedance of the current source or equivalently its inverse, the output conductance. This impedance affects stage gain when a current source is used as an active load and affects common mode gain when the source provides the tail current of a differential pair. The last metric is the pair of minimum voltages from the common terminal, usually a power rail connection, to the input and output terminals that are required for proper operation of the circuit. These voltages affect the headroom to the power supply rails that are available for the circuitry in which the current mirror is embedded.[ citation needed ]
An approximate analysis due to Gilbert [3] shows how the Wilson current mirror works and why its static error should be very low. Transistors Q1 and Q2 in Fig. 1 are a matched pair sharing the same emitter and base potentials and therefore have and . This is a simple two-transistor current mirror with as its input and as its output. When a current is applied to the input node (the connection between the base of Q3 and collector of Q1), the voltage from that node to ground begins to increase. As it exceeds the voltage required to bias the emitter-base junction of Q3, Q3 acts as an emitter follower or common collector amplifier and the base voltage of Q1 and Q2 begins to rise. As this base voltage increases, current begins to flow in the collector of Q1. All increases in voltage and current stop when the sum of the collector current of Q1 and base current of Q3 exactly balance . Under this condition all three transistors have nearly equal collector currents and therefore approximately equal base currents. Let . Then the collector current of Q1 is ; the collector current of Q2 is exactly equal to that of Q1 so the emitter current of Q3 is . The collector current of Q3 is its emitter current minus the base current so . In this approximation, the static error is zero.[ citation needed ]
A more exact formal analysis shows the expected static error. We assume:
Therefore, and . The base current of Q3 is given by, and the emitter current by,
From the sum of currents at the node shared by the emitter of Q3, the collector of Q2 and the bases of Q1 and Q2, the emitter current of Q3 must be:
Equating the expressions for in (1) and (2) gives:
The sum of currents at the input node implies that . Substituting for from (3) leads to: or .
Because is the output current, the static error, the difference between the input and output currents, is:
With NPN transistors, the current gain, , is of the order of 100, and, in principle, the mismatch is about 1:5000.
For the Wilson current source of Fig. 2, the input current of the mirror is . The base-emitter voltages, , are typically between 0.5 and 0.75 volts so some authors [1] approximate this result as . The output current is thus substantially dependent only on VCC and R1 and the circuit acts as a constant current source, that is, the current remains constant with variations in the impedance of the load. However, variations in VCC or changes in the value of R1 due to temperature will be reflected in variations in the output current. This method of direct generation of a reference current from the power supply using a resistor rarely has adequate stability for practical applications and more complex circuits are used to provide reference currents independent of temperature and supply voltages. [4]
Equation (4) substantially underestimates the differences between the input and output currents that are generally found in this circuit for three reasons. First, the emitter-collector voltages of the inner current mirror formed by Q1 and Q2 are not the same. Transistor Q2 is diode-connected and has , which is typically on the order of 0.6 to 0.7 volts. The collector emitter voltage of Q1 is higher by the base-emitter voltage of Q3 and therefore is about twice the value across Q2. The Early effect (base-width modulation) in Q1 will force its collector current to be slightly higher than that of Q2. This problem can be essentially eliminated by the addition of a fourth transistor, shown as Q4 in the improved Wilson current mirror of Fig. 4a. Q4 is diode-connected in series with the collector of Q1, lowering its collector voltage until it is approximately equal to for Q2.
Second, the Wilson current mirror is susceptible to mismatches in the current gain, , of its transistors, particularly the match between and the current gains of the matched pair Q1 and Q2. [3] Accounting for differences among all three transistors, one can show that where is the harmonic mean of the current gains of Q1 and Q2 or . Beta mismatches of five percent or more are reported [3] to be common, causing an order of magnitude increase in the static error.
Finally, the collector current in a bipolar transistor for low and moderate emitter currents conforms closely to the relation where is the thermal voltage and is a constant dependent on temperature, doping concentrations, and collector-emitter voltage. [5] Matched currents in transistors Q1 and Q2 depend on conformity to the same equation but observed mismatches in are geometry dependent and range from percent. [6] Such differences between Q1 and Q2 lead directly to static errors of the same percentage for the entire mirror. Careful layout and transistor design must be used to minimize this source of error. For example, Q1 and Q2 may each be implemented as a pair of paralleled transistors arranged as a cross-coupled quad in a common-centric layout to reduce effects of local gradients in current gain. [3] If the mirror is to be used at a fixed bias level, matching resistors in the emitters of this pair can transfer some of the matching problem from the transistors to those resistors.
A circuit is a current source only to the extent that its output current is independent of its output voltage. In the circuits of Fig. 1 and Fig. 2, the output voltage of importance is the potential from the collector of Q3 to ground. The measure of that independence is the output impedance of the circuit, the ratio of a change in output voltage to the change in current it causes. Fig. 3 shows a small signal model of a Wilson current mirror drawn with a test voltage source, , attached to the output. The output impedance is the ratio: . At low frequency this ratio is real and represents an output resistance.
In Fig. 3, transistors Q1 and Q2 are shown as forming a standard two-transistor current mirror. It is sufficient for calculating the output impedance [1] [3] to assume that the output current of this current mirror sub-circuit, , is equal to the input current, , or . Transistor Q3 is represented by its low-frequency hybrid-pi model with a current controlled dependent current source for the collector current.
The sum of currents at the emitter node of Q3 implies that:
Because the dynamic resistance of the diode-connected transistor Q2, the input resistance of the two-transistor current mirror, is much smaller than , the test voltage, , effectively appears across the collector-emitter terminals of Q3. The base current of Q3 is . Using equation (5) for , the sum of currents at the collector node of Q3 becomes . Solving for the output impedance gives:
In a standard two-transistor current mirror, the output impedance would be the dynamic early resistance of the output transistor, the equivalent of which in this case is . The Wilson current mirror has an output impedance that is higher by the factor , on the order of 50 times.
The input impedance of a current mirror is the ratio of the change in input voltage (the potential from the input terminal to ground in Fig. 1 and Fig. 2) to the change in input current that causes it. Since the change in output current is very nearly equal to any change in input current, the change in the base-emitter voltage of Q3 is . Eq. (3) shows that the collector of Q2 changes by nearly the same amount, so . The input voltage is the sum of the base-emitter voltages of Q2 and Q3; the collector currents of Q2 and Q3 are nearly equal implying that . The input impedance is . Using the standard formula for leads to:
where is the usual thermal voltage , the product of the Boltzmann constant and absolute temperature divided by the charge of an electron. This impedance is twice the value of for the standard two-transistor current mirror.
Current mirrors are frequently used in the signal path of an integrated circuit, for example, for differential to single-ended signal conversion within an operational amplifier. At low bias currents, the impedances in the circuit are high enough that the effect of frequency may be dominated by device and parasitic capacitances shunting the input and output nodes to ground, lowering the input and output impedances. [3] The collector-base capacitance, , of Q3 is one component of that capacitive load. The collector of Q3 is the output node of the mirror and its base is the input node. When any current flows in , that current becomes an input to the mirror and the current is doubled at the output. Effectively the contribution from Q3 to the total output capacitance is . If the output of the Wilson mirror is connected to a relatively high impedance node, the voltage gain of the mirror may be high. In that case the input impedance of the mirror may be affected by the Miller effect because of , although the low input impedance of the mirror mitigates this effect.
When the circuit is biased at higher currents that maximize the frequency response of the transistor current gain, it is possible to operate a Wilson current mirror with satisfactory results at frequencies up to approximately one tenth of the transition frequency of the transistors. [3] The transition frequency of a bipolar transistor, , is the frequency at which the short-circuit common-emitter current gain falls to unity. [7] It is effectively the highest frequency for which a transistor may supply useful gain in an amplifier. The transition frequency is a function of the collector current, increasing with increasing current until a broad maximum at a collector current slightly less than what causes the onset of high injection. In simple models of the bipolar transistor when the collector is grounded, shows a single-pole frequency response so is also the current gain-bandwidth product. Crudely this implies that at , . By equation (4) one might expect the magnitude of the ratio of output to input current at that frequency to differ from unity by about 2%.
The Wilson current mirror achieves the high output impedance of equation (6) by negative feedback rather than by emitter degeneration as cascoded mirrors or sources with resistor degeneration do. The node impedance of the only internal node of the mirror, the node at the emitter of Q3 and the collector of Q2, is quite low. [3] At low frequency, that impedance is given by . For a device biased at 1 mA having a current gain of 100, this evaluates to 0.26 ohms at 25 °C. Any change in output current with output voltage results in a change in the emitter current of Q3 but very little change in the emitter node voltage. The change in is fed back through Q2 and Q1 to the input node where it changes the base current of Q3 in a way that reduces the net change in output current, thus closing the feedback loop.
Circuits that contain negative feedback loops, whether current or voltage loops, with loop gains near or above unity may exhibit undesirable anomalies in frequency response when the phase shift of the signal inside the loop is sufficient to convert negative into positive feedback. For the current feedback loop of the Wilson current mirror this effect appears as a strong broad resonant peak in the ratio of the output to input current, , at about . Gilbert [3] shows a simulation of a Wilson current mirror implemented in NPN transistors with GHz and current gain that shows a peak of 7.5 dB at 1.2 GHz. This behavior is very undesirable and can be largely eliminated by further modification of the basic mirror circuit. Fig. 4b show a possible variant on the Wilson mirror that reduces this peak by disconnecting the bases of Q1 and Q2 from the collector of Q2 and adding a second emitter to Q3 to drive the bases of the internal mirror. For the same bias conditions and device type, this circuit exhibits flat frequency response to 50 MHz, has a peak response less than 0.7 dB at 160 MHz and falls below its low-frequency response at 350 MHz.
The compliance of a current source, that is, the range of output voltage over which the output current remains approximately constant, affects the potentials available to bias and operate the circuitry in which the source is embedded. For example, in Fig. 2 the voltage available to the "Load" is the difference between the supply voltage and the collector voltage of Q3. The collector of Q3 is the output node of the mirror and the potential of that collector relative to ground is the output voltage of the mirror, that is, and the "load" voltage is . The "load" voltage range is maximized at the minimum . Also, when a current mirror source is used as an active load for one stage of a system, the input to the next stage is often directly connected between the source output node and the same power rail as the mirror. This may require that the minimum be kept as small as possible to simplify biasing the succeeding stage and to make it possible to turn that stage fully off under transient or overdrive conditions.
The minimum output voltage of the Wilson current mirror must exceed the base emitter voltage of Q2 by enough that Q3 will operate in active mode rather than saturation. Gilbert [3] reports data on a representative implementation of a Wilson current mirror that showed constant output current for an output voltage as low as 880 millivolts. Since the circuit was biased for high frequency operation (), this represents a saturation voltage for Q3 of 0.1 to 0.2 volts. By contrast, the standard two-transistor mirror operates down to the saturation voltage of its output transistor.
The input voltage of the Wilson current mirror is . The input node is a low impedance node so its voltage remains approximately constant during operation at volts. The equivalent voltage for the standard two-transistor mirror is only one base-emitter drop, , or half that of the Wilson mirror. The headroom (the potential difference between the opposite power rail and the input of the mirror) available to the circuitry that generates the input current to the mirror is the difference of the power supply voltage and the mirror input voltage. The higher input voltage and higher minimum output voltage of the Wilson current mirror configuration may become problematic for circuits with low supply voltages, particularly supply voltages less than three volts as are sometimes found in battery powered devices.
Adding a fourth transistor to the Wilson current mirror as in Fig. 4a equalizes the collector voltages of Q1 and Q2 by lowering the collector voltage of Q1 by an amount equal to VBE4. This has three effects: first, it removes any mismatch between Q1 and Q2 due to the Early effect in Q1. This is the only first order source of mismatch in the three-transistor Wilson current mirror [8] Second, at high currents the current gain, β, of transistors decreases and the relation of collector current to base-emitter voltage deviates from . The severity of these effects depends on the collector voltage. By forcing a match between the collector voltages of Q1 and Q2, the circuit makes the performance degradation at high current on the input and output branches symmetric. This extends the linear operating range of the circuit substantially. In one reported measurement on a circuit implemented with a transistor array for an application requiring 10 mA output, the addition of the fourth transistor extended the operating current for which the circuit showed less than 1% difference between input and output currents by at least a factor of two over the three transistor version. [9]
Finally, equalizing the collector voltages also equalizes the power dissipated in Q1 and Q2 and that tends to reduce mismatch from the effects of temperature on VBE.
There are a number of other possible current mirror configurations in addition to the standard two-transistor mirror that a designer may choose to use. [10] These include ones in which the mismatch from base current are reduced with an emitter follower, [3] circuits that use cascoded structures or resistor degeneration to lower the static error and raise output impedance, and gain-boosted current mirrors that use an internal error amplifier to improve the effectiveness of cascoding. The Wilson current mirror has the particular advantages over alternatives that:
The Wilson current mirror has the limitations that:
When the Wilson current mirror is used in CMOS circuits, it is usually in the four transistor form as in Fig. 5. [10] If the transistor pairs M1/M2 and M3/M4 are exactly matched and the input and output potentials are approximately equal, then in principle there is no static error, the input and output currents are equal because there is no low frequency or DC current into the gate of a MOSFET. However, there are always mismatches between transistors caused by random lithographic variation in device geometry and by variations in threshold voltage between devices.
For long-channel MOSFETs operating in saturation at fixed drain-source voltage, , the drain current is proportional to device sizes and to the magnitude of the difference between the gate-source voltage and the device threshold voltage as [1]
where is the device width, is its length and the device threshold voltage. Random lithographic variations are reflected as different values of the ratio of each transistor. Similarly threshold variations appear as small differences in the value of for each transistor. Let and . The mirror circuit of Fig. 5 forces the drain current of M1 to equal the input current and the output configuration assures that the output current equals the drain current of M2. Expanding equation (8) in a two-variable Taylor series about and truncating after the first linear term, leads to an expression for the mismatch of the drain currents of M1 and M2 as:
The statistics of the variation in threshold voltage of matched pairs across a wafer have been studied extensively. [11] The standard deviation of the threshold voltage variation depends on the absolute size of the devices, the minimum feature size of the manufacturing process, and the body voltage and is typically 1 to 3 millivolts. Therefore, to keep the contribution of the threshold voltage term in equation (9) to a percent or less requires biasing the transistors with the gate-source voltage exceeding the threshold by several tenths of a volt. This has the subsidiary effect of lowering the contribution of the mirror transistors to the output current noise because the drain current noise density in a MOSFET is proportional to the transconductance and therefore inversely proportional to . [12]
Similarly, careful layout is required to minimize the effect of the second, geometric term in (9) that is proportional to . One possibility is to subdivide transistors M1 and M2 into multiple devices in parallel that are arranged in a common-centric or interdigitated layout with or without dummy guard structures on the perimeter. [13]
The output impedance of the MOSFET Wilson current mirror can be calculated in the same way as for the bipolar version. If there is no body effect in M4, the low frequency output impedance is given by . [10] For M4 not to have a body-source potential, it must be implemented in a separate body well. However, the more common practice is for all four transistors to share a common body connection. The drain of M2 is a relatively low impedance node and this limits the body effect. The output impedance in that case is:
As in the case of the bipolar transistor version of this circuit, the output impedance is much larger than it would be for the standard two-transistor current mirror. Since would be the same as the output impedance of the standard mirror, the ratio of the two is , which is often quite large.
The principal limitation on the use of the Wilson current mirror in MOS circuits is the high minimum voltages between the ground connection in Fig. 5 and the input and output nodes that are required for proper operation of all transistors in saturation. [10] The voltage difference between the input node and ground is . The threshold voltage of MOS devices is usually between 0.4 and 1.0 volts with no body effect depending on the manufacturing technology. Because must exceed the threshold voltage by a few tenths of a volt to have satisfactory input-output current match, the total input to ground potential is comparable to 2.0 volts. This difference is increased when the transistors share a common body terminal and the body effect in M4 raises its threshold voltage. On the output side of the mirror, the minimum voltage to ground is . This voltage is likely to be significantly greater than 1.0 volts. Both potential differences leave insufficient headroom for the circuitry that provides the input current and uses the output current unless the power supply voltage is higher than 3 volts. Many contemporary integrated circuits are designed to use low voltage power supplies to accommodate the limitations of short-channel transistors, to meet the need for battery operated devices and to have high power efficiency in general. The result is that new designs tend to use some variant of a wide swing cascode current mirror configuration. [10] [14] [15] In the case of extremely low power supply voltages of one volt or less, the use of current mirrors may be abandoned entirely. [16]
A multivibrator is an electronic circuit used to implement a variety of simple two-state devices such as relaxation oscillators, timers, latches and flip-flops. The first multivibrator circuit, the astable multivibrator oscillator, was invented by Henri Abraham and Eugene Bloch during World War I. It consisted of two vacuum tube amplifiers cross-coupled by a resistor-capacitor network. They called their circuit a "multivibrator" because its output waveform was rich in harmonics. A variety of active devices can be used to implement multivibrators that produce similar harmonic-rich wave forms; these include transistors, neon lamps, tunnel diodes and others. Although cross-coupled devices are a common form, single-element multivibrator oscillators are also common.
An operational amplifier is a DC-coupled electronic voltage amplifier with a differential input, a (usually) single-ended output, and an extremely high gain. Its name comes from its original use of performing mathematical operations in analog computers.
A bipolar junction transistor (BJT) is a type of transistor that uses both electrons and electron holes as charge carriers. In contrast, a unipolar transistor, such as a field-effect transistor (FET), uses only one kind of charge carrier. A bipolar transistor allows a small current injected at one of its terminals to control a much larger current between the remaining two terminals, making the device capable of amplification or switching.
In electronics, a Darlington configuration is a circuit consisting of two bipolar transistors with the emitter of one transistor connected to the base of the other, such that the current amplified by the first transistor is amplified further by the second one. The collectors of both transistors are connected together. This configuration has a much higher current gain than each transistor taken separately. It acts like and is often packaged as a single transistor. It was invented in 1953 by Sidney Darlington.
A negative-feedback amplifier is an electronic amplifier that subtracts a fraction of its output from its input, so that negative feedback opposes the original signal. The applied negative feedback can improve its performance and reduces sensitivity to parameter variations due to manufacturing or environment. Because of these advantages, many amplifiers and control systems use negative feedback.
In electronics, a common-base amplifier is one of three basic single-stage bipolar junction transistor (BJT) amplifier topologies, typically used as a current buffer or voltage amplifier.
A differential amplifier is a type of electronic amplifier that amplifies the difference between two input voltages but suppresses any voltage common to the two inputs. It is an analog circuit with two inputs and and one output , in which the output is ideally proportional to the difference between the two voltages:
In electronics, a Schmitt trigger is a comparator circuit with hysteresis implemented by applying positive feedback to the noninverting input of a comparator or differential amplifier. It is an active circuit which converts an analog input signal to a digital output signal. The circuit is named a trigger because the output retains its value until the input changes sufficiently to trigger a change. In the non-inverting configuration, when the input is higher than a chosen threshold, the output is high. When the input is below a different (lower) chosen threshold the output is low, and when the input is between the two levels the output retains its value. This dual threshold action is called hysteresis and implies that the Schmitt trigger possesses memory and can act as a bistable multivibrator. There is a close relation between the two kinds of circuits: a Schmitt trigger can be converted into a latch and a latch can be converted into a Schmitt trigger.
In electronics, a common-emitter amplifier is one of three basic single-stage bipolar-junction-transistor (BJT) amplifier topologies, typically used as a voltage amplifier. It offers high current gain, medium input resistance and a high output resistance. The output of a common emitter amplifier is inverted; i.e. for a sine wave input signal, the output signal is 180 degrees out of phase with respect to the input.
In electronics, a common collector amplifier is one of three basic single-stage bipolar junction transistor (BJT) amplifier topologies, typically used as a voltage buffer.
A current mirror is a circuit designed to copy a current through one active device by controlling the current in another active device of a circuit, keeping the output current constant regardless of loading. The current being "copied" can be, and sometimes is, a varying signal current. Conceptually, an ideal current mirror is simply an ideal inverting current amplifier that reverses the current direction as well, or it could consist of a current-controlled current source (CCCS). The current mirror is used to provide bias currents and active loads to circuits. It can also be used to model a more realistic current source.
Transconductance, also infrequently called mutual conductance, is the electrical characteristic relating the current through the output of a device to the voltage across the input of a device. Conductance is the reciprocal of resistance.
A current source is an electronic circuit that delivers or absorbs an electric current which is independent of the voltage across it.
The asymptotic gain model is a representation of the gain of negative feedback amplifiers given by the asymptotic gain relation:
In electronics, a two-port network is an electrical network or device with two pairs of terminals to connect to external circuits. Two terminals constitute a port if the currents applied to them satisfy the essential requirement known as the port condition: the current entering one terminal must equal the current emerging from the other terminal on the same port. The ports constitute interfaces where the network connects to other networks, the points where signals are applied or outputs are taken. In a two-port network, often port 1 is considered the input port and port 2 is considered the output port.
A Widlar current source is a modification of the basic two-transistor current mirror that incorporates an emitter degeneration resistor for only the output transistor, enabling the current source to generate low currents using only moderate resistor values.
This article illustrates some typical operational amplifier applications. A non-ideal operational amplifier's equivalent circuit has a finite input impedance, a non-zero output impedance, and a finite gain. A real op-amp has a number of non-ideal features as shown in the diagram, but here a simplified schematic notation is used, many details such as device selection and power supply connections are not shown. Operational amplifiers are optimised for use with negative feedback, and this article discusses only negative-feedback applications. When positive feedback is required, a comparator is usually more appropriate. See Comparator applications for further information.
An avalanche transistor is a bipolar junction transistor designed for operation in the region of its collector-current/collector-to-emitter voltage characteristics beyond the collector-to-emitter breakdown voltage, called avalanche breakdown region. This region is characterized by avalanche breakdown, which is a phenomenon similar to Townsend discharge for gases, and negative differential resistance. Operation in the avalanche breakdown region is called avalanche-mode operation: it gives avalanche transistors the ability to switch very high currents with less than a nanosecond rise and fall times. Transistors not specifically designed for the purpose can have reasonably consistent avalanche properties; for example 82% of samples of the 15V high-speed switch 2N2369, manufactured over a 12-year period, were capable of generating avalanche breakdown pulses with rise time of 350 ps or less, using a 90V power supply as Jim Williams writes.
Hybrid-pi is a popular circuit model used for analyzing the small signal behavior of bipolar junction and field effect transistors. Sometimes it is also called Giacoletto model because it was introduced by L.J. Giacoletto in 1969. The model can be quite accurate for low-frequency circuits and can easily be adapted for higher frequency circuits with the addition of appropriate inter-electrode capacitances and other parasitic elements.
Bipolar transistors must be properly biased to operate correctly. In circuits made with individual devices, biasing networks consisting of resistors are commonly employed. Much more elaborate biasing arrangements are used in integrated circuits, for example, bandgap voltage references and current mirrors. The voltage divider configuration achieves the correct voltages by the use of resistors in certain patterns. By selecting the proper resistor values, stable current levels can be achieved that vary only little over temperature and with transistor properties such as β.