Full Stack Electronics · Stage Three · Experiment 5

Experiment 5: The Current Mirror

Build a current source from two transistors, and give the pair a tail that holds its current.

In Experiment 4 you tied the pair's two inputs together and swept them from 1 V to 2 V, and the output moved by about 2.4 V. The meter traced the cause to the tail. The current through the 1 kΩ tail resistor rose from 0.39 mA to 1.36 mA as the emitters rose with the inputs. Inside the 555 one comparator works with its inputs near 1.67 V and the other near 3.33 V. With a resistor tail the second comparator would draw about 2.7 mA. Half of that through a 4.7 kΩ collector resistor needs 6.3 V, more than the supply.

The tail needs to pass the same current whatever voltage sits across it. This experiment builds that circuit from two more transistors and tests it alone with the meter. Then it fits the circuit under the pair and repeats the common-mode sweep and the transfer curve.

The circuit is called a current mirror. Two transistors share one base connection, and a resistor from the supply sets a known current through the first. The second transistor draws a copy of that current through whatever load connects to its collector. The copy stays the same when the load changes, and a tail needs exactly this behaviour. Integrated circuits commonly give a differential pair a tail made this way. Experiment 6 uses a second mirror in a different place, as the pair's load.

You will need

Build the mirror

Figure 5-1 shows the circuit alone. Q3 and Q4 are two more 2N3904s, with their emitters on the ground rail and their bases joined. A wire joins Q3's collector to its own base. Q3 then has two working terminals and behaves as a diode, an arrangement called diode-connected. A 4.7 kΩ resistor from +5 V feeds Q3's collector, and the current through this resistor is the reference current. Q4's collector is the output, and for the test it connects through the meter to a 1 kΩ load from +5 V.

Schematic of the current mirror under test. Two 2N3904 transistors face each other, Q3 on the left and Q4 on the right. Their emitters are on ground, and one wire joins their bases. A 4.7 kilohm resistor from +5 volts feeds Q3's collector, and a wire from that collector runs to the shared base wire. Q4's collector goes through a milliammeter to a 1 kilohm test load from +5 volts. Arrows mark the reference current down the left branch and the copy down the right.
Figure 5-1: The current mirror under test. The 4.7 kΩ sets the reference current through Q3, and Q4 copies it through the load and the meter.

Start from the board of Figure 4-2, as Experiment 4 left it. The pair is in place, with the 1 kΩ tail from 12j to the ground rail. The generator's red lead is in 10c, and the positive lead of power supply output 2 is in 13c. The oscilloscope channel 2 probe is on 14i. This experiment adds to that build. Figure 5-2 draws the parts already there faded and the new parts in colour, as the rest of the course does.

The mirror goes to the left of the pair. Q4's collector at column 8 then sits next to Q1's emitter at column 9, so later a single short jumper makes the tail connection. For the test, a jumper brings Q4's collector into the upper block, where the load and the meter's leads have room. The pair stays on the board and takes no part in this test.

Breadboard with the pair of Figure 4-2 drawn faded and the current mirror in colour to its left. Q3 sits at 3h to 5h and Q4 at 6h to 8h, flat faces towards the near edge, touching. Blue jumpers take 3j and 6j to the inner ground rail. A green jumper joins 4i to 7i, the two bases, and a short yellow jumper joins 4f to 5f, Q3's base to its collector. A 4.7 kilohm resistor runs from 5j to the outer +5 volt rail. A yellow jumper from 8f to 8e brings Q4's collector into the upper block, and a 1 kilohm resistor lies along row c from 4c to 8c. Above the board a multimeter on its milliamp range reads 1.00 milliamps. Its red lead goes into the top +5 volt rail at column 3 and its black lead into 4a.
Figure 5-2: The mirror added to Experiment 4's board, whose parts are faded. The meter sits between the +5 V rail and the 1 kΩ load, so Q4's current flows through it. Click to enlarge.
  1. Switch everything off. Switch off both power supply outputs and the generator before you insert any parts. The pair and its leads stay as they are.
  2. Fit Q3 and Q4. Insert Q3 into 3h, 4h and 5h. Insert Q4 into 6h, 7h and 8h. Turn both flat faces towards the near edge, so the legs read emitter, base, collector from left to right. Seat the two packages so that they touch. Connect a jumper from 3j to the inner ground rail at column 3. Column 6 has no rail hole, so connect a jumper from 6j to the inner ground rail at column 7.
  3. Join the bases and make the diode connection. Connect a jumper from 4i to 7i to join the two bases. Connect a short jumper from 4f to 5f to join Q3's base to its own collector. Fit the 4.7 kΩ from 5j to the outer +5 V rail.
  4. Wire the test. Connect a jumper from 8f to 8e to bring Q4's collector into the upper block. Fit the 1 kΩ load along row c from 4c to 8c. Set the meter to its milliamp range. Insert the red lead in the milliamp socket and the black lead in COM. Push the red lead into the top +5 V rail at column 3. Push the black lead into 4a. The current now flows from the rail through the meter, the load and Q4 to ground.
  5. Switch on the 5 V supply. Read the meter.

Steps 4 and 5 put the meter in series with the load. On its milliamp range the meter is close to a short circuit between its leads. Keep it in series with the load, as in Figure 5-2. Never connect it across the supply or across a resistor, because that can blow the meter's fuse. After a current reading, return the red lead to the voltage socket before any other measurement.

The copy holds its current

On my board the meter read 1.00 mA for the copy, as Figure 5-3 shows. The 4.7 kΩ sets the reference current that Q4 copies. Its ends sit at +5 V and at Q3's base-emitter voltage, about 0.65 V as in Experiment 4. So the resistor carries 4.35 V ÷ 4.7 kΩ, about 0.93 mA. The copy came out about 7 % above that. The theory box after the explanation below shows why a copy comes out a little off.

A Brymen BM235 multimeter with its red lead in the milliamp socket, reading 1.00 milliamps. Its leads go to the left end of a long breadboard: the red lead to the +5 volt rail and the black lead, through a blue wire, to the 1 kilohm test load. The four transistors of the mirror and the pair sit in a row near the left end of the board.
Figure 5-3: The copy into the 1 kΩ load: 1.00 mA.

One reading gives the copy's value. A current source must keep that value when the load changes, so the next test changes the load. Switch off the 5 V supply. Replace the 1 kΩ with the 2.2 kΩ, and switch on again. With a fixed voltage across the load, the current would fall to less than half, because 2.2 kΩ is more than twice 1 kΩ. The meter read 1.00 mA again, the same to the last digit, as Figure 5-4 shows.

The voltage across the load works out at 1.00 V and then 2.20 V, and the current stayed the same. That is a current source: the circuit sets the current, and the voltage across the source settles where the load requires.

The same meter and breadboard with the 2.2 kilohm load, red-red-red, in place of the 1 kilohm, which lies on the bench beside a pair of pliers. The meter still reads 1.00 milliamps.
Figure 5-4: The copy into 2.2 kΩ: 1.00 mA, the same reading as into 1 kΩ.
Test loadQ4's current, measuredVoltage across the load, worked out
1 kΩ1.00 mA1.00 V
2.2 kΩ1.00 mA2.20 V

This behaviour holds only up to a point. Q4 holds its current only while its collector stays a few tenths of a volt above its emitter. At 1.00 mA a load above about 4.7 kΩ would drop more than 4.7 V. That leaves Q4 less than 0.3 V, and Q4 saturates, as Q2 did in Experiment 4. Later in this experiment the differential pair replaces the load, and the same condition applies there. Q4 keeps its current while its collector stays a few tenths of a volt above ground.

A current source

The two readings in the table show the behaviour of a current source. A resistor passes the current that the voltage across it sets, and the current changes as soon as the voltage changes. A current source passes a set current and lets the voltage across itself settle where the rest of the circuit needs it. A source set to 1 mA passes 1 mA through a 1 kΩ, a 2.2 kΩ or a differential pair. It adjusts its own voltage to do it. A tail needs exactly this behaviour: one steady current while the voltage across the tail moves with the common-mode level.

What just happened?

The table showed Q4 holding 1.00 mA into both loads. The mirror does this because of one property of a transistor: the voltage between its base and its emitter sets the current into its collector. Experiment 4 found the emitters about 0.65 V below the bases with about a milliamp flowing. Its theory box gave the rule that every extra 60 mV multiplies the current by ten. So two transistors of the same type, with the same base-emitter voltage, pass the same current. Figure 5-5 marks the four steps on the circuit.

The mirror circuit of Figure 5-1 without the meter, with four numbered markers matching the steps below. Marker 1: 0.93 milliamps flowing down through the 4.7 kilohm resistor. Marker 2: the point where Q3's collector is wired to its base. Marker 3: the wire joining the two bases, labelled 0.65 volts. Marker 4: 0.93 milliamps flowing down through the load into Q4.
Figure 5-5: The mirror, with the four steps marked. The numbers match the list below. The 0.93 mA is the worked-out reference. On my board the copy read 1.00 mA.
  1. The 4.7 kΩ sets Q3's current. Q3's collector is wired to its base. The base of a 2N3904 that is switched on sits near 0.65 V. So the 4.7 kΩ has 5 V at its top and about 0.65 V at its bottom. 4.35 V across 4.7 kΩ gives about 0.93 mA.
  2. Q3 sets its own base voltage to carry that current. The 0.93 mA arrives at the point where Q3's collector and base meet. It has three ways to go: into Q3's collector, into Q3's base, or along the base wire into Q4's base. Current into Q3's base switches Q3 on harder, and Q3 then takes more through its collector. This stops when Q3's collector takes almost all of the 0.93 mA and the bases get a few microamps. The voltage on Q3's base is then the voltage this transistor needs to pass that current. Nobody had to set it.
  3. Q4 gets the same voltage. Q4's base is on the same wire as Q3's base, and both emitters are on ground. So Q4 has the same base-emitter voltage as Q3. Q4 is also a 2N3904, so it passes the same current. That is the copy.
  4. The load does not change it. The load sits between +5 V and Q4's collector. A change of load changes the voltage on Q4's collector and leaves Q4's base alone, and the base sets the current. The collector voltage has almost no effect while the collector stays a few tenths of a volt above the emitter. The two readings in the table show it. With the 1 kΩ load Q4's collector works out at about 4.0 V, and with the 2.2 kΩ at about 2.8 V. The meter read 1.00 mA both times, and Figure 5-6 plots the two points.
Graph of Q4's current in milliamps against the voltage across Q4, collector to emitter, from 0 to 5 volts. The current rises steeply in the first few tenths of a volt, a region shaded and labelled Q4 saturated, then runs almost flat near 1.00 milliamps. Two points on the flat part mark the measurements: the 2.2 kilohm load at 2.8 volts and 1.00 milliamps, and the 1 kilohm load at 4.0 volts and 1.00 milliamps.
Figure 5-6: Q4's current against the voltage on its collector. Both test loads land on the flat part.

A resistor tail has no step 4. Its current is the voltage across it divided by its resistance, so the current changes when the voltage changes. In Experiment 4 the meter read 0.39 mA in the resistor tail with both inputs at 1 V and 1.36 mA with both at 2 V. Q4 held 1.00 mA while its collector voltage moved by 1.2 V.

Why did the copy read 1.00 mA when the reference is 0.93 mA? Step 3 assumes that Q3 and Q4 are identical, and two 2N3904s from a bag differ slightly. The theory box below shows how much that matters and what else moves the copy. For a tail, a steady value matters more than the exact value.

Why the copy is not exact

Every 2N3904 follows the same law: its collector current grows by the same factor for each extra millivolt between base and emitter. At room temperature that comes to Experiment 4's rule of ten times for every 60 mV. From one transistor to the next, the start of that curve differs, and the manufacturing process sets it. Two 2N3904s from one bag can need a few millivolts more or less than each other to pass the same current.

The mirror gives Q4 the voltage that Q3 needed. If Q4 needs 2.5 mV less than Q3 for the same current, that voltage pushes about 10 % more current through Q4. Loose transistors can differ by that much and more, so two parts from a bag can give a copy ten or twenty per cent off. Two transistors made side by side on one chip match within a fraction of a per cent. That is one reason mirrors are so common in integrated circuits.

Two smaller effects add to it. Q4 has about 4 V on its collector and Q3 only 0.65 V. A higher collector voltage raises a transistor's current slightly. This is the Early effect, named after James Early, who described it in 1952. Here it raises Q4's current by a few per cent.

Both base currents come out of the 0.93 mA, which lowers the copy by about one per cent. On this board the copy read 1.00 mA against a worked-out 0.93 mA, about 7 % high. One meter reading cannot tell these causes apart. The derivation below puts a number on each.

Where the copy comes from optional

Let be a transistor's collector current and the voltage between its base and emitter. When the transistor is switched on and out of saturation, the Ebers–Moll model ties them together:

is the thermal voltage, : Boltzmann's constant times the absolute temperature, divided by the charge of an electron. Near 300 K, room temperature, it is about 26 mV. is the saturation current, a tiny scale factor of around  A for a small transistor like the 2N3904. It depends on the area and doping of the junction. In this equation it is the quantity that differs between transistors of the same type.

The 60 mV rule. Take two base-emitter voltages, and . The ratio of the currents they give is

appears above and below the line and cancels, so the ratio depends only on the step in voltage. For a tenfold step, set the ratio to 10 and take the natural logarithm of both sides:

That is where Experiment 4's rule comes from.

Step 1: Q3's voltage. Ignore base current for now, so all of the reference current flows through Q3's collector. Take the logarithm of both sides of Q3's equation to get on its own:

With  mA and  A, the ratio is , and its natural logarithm is about 25.3. So comes to about 26 mV × 25.3 ≈ 0.66 V, close to the 0.65 V of step 1.

Step 3: Q4's current. Q4's base and emitter sit at the same voltages as Q3's, so Q4 has the same . Put the expression from step 1 into Q4's equation:

The exponential undoes the logarithm, , which leaves

has gone, and with it the temperature, as long as both transistors are equally warm. The copy is exact when , and it is off by their ratio otherwise.

A mismatch in millivolts. A ratio of is easier to picture as a voltage. Using the 60 mV rule in reverse, Q4 passes the same current as Q3 at a base-emitter voltage lower by

An 10 % larger than gives  mV × ln 1.1 ≈ 2.5 mV. A difference of 2.5 mV between the two junctions shows up as 10 % in the copy.

The collector voltage. The flat part of Figure 5-6 tilts upwards slightly. A fuller model multiplies the current by a factor that grows with the collector-emitter voltage :

is the Early voltage, which sets the size of the Early effect. For a 2N3904 it is of the order of 100 V. Repeat step 3 with this factor on both transistors. Q3's collector is wired to its base, so its is its , about 0.65 V. Q4's is about 4.0 V with the 1 kΩ load:

That is about 3 % in Q4's favour. With the 2.2 kΩ load Q4's is about 2.8 V, and the factor is about 1.021.

The base currents. The 4.7 kΩ feeds Q3's collector and both bases. Each base draws its collector current divided by the current gain . With equal collector currents in the two transistors:

The 2N3904 datasheet guarantees a gain of at least 70 at 1 mA. With as an example, the copy comes out 1.3 % below .

Everything together. The three factors multiply:

With the 1 kΩ load the last two factors come to about 1.033 × 0.987 ≈ 1.02. The board read 1.00 mA against a worked-out 0.93 mA, a ratio of about 1.075. The remaining 5 % or so most likely lies with the ratio and with the 0.93 mA itself. That value moves with the 4.7 kΩ's tolerance and the exact supply voltage.

Emitter resistors. A closer copy from loose parts needs a small resistor under each emitter, 100 Ω for example. The base voltage now has to cover plus the drop across that resistor, . The exponential's slope at the operating point is . At about 1 mA, each extra millivolt of adds about 38 µA, so the junction behaves like 26 Ω for small changes. The mismatch is now shared between that 26 Ω and the 100 Ω resistor:

That is 2 % of 1 mA, against 10 % with the emitters on ground.

Widlar's mirror

Bob Widlar, who designed the first integrated operational amplifiers at Fairchild in the mid-1960s, is usually credited with making the mirror a standard building block. On a chip a transistor takes far less area than a large resistor. Two transistors made side by side also match closely, so a mirror is both the cheaper and the better way to set a current. His 1965 variant puts a resistor under one emitter, so that a large reference current produces a small copy. It is still called the Widlar current source.

Connect the mirror to the pair

The mirror holds its current while its collector voltage moves, as long as the collector stays a few tenths of a volt above ground. In Experiment 4 the tail was a 1 kΩ resistor from the joined emitters of Q1 and Q2 to ground. Its current rose as the inputs rose. Now the 1 kΩ is removed, and Q4's collector connects to the joined emitters instead. Q4 then draws a steady current from the pair, set by Q3 and the 4.7 kΩ, and Q1 and Q2 share it. Figure 5-7 shows the circuit: the pair as Experiment 4 left it, drawn faded, with the mirror under it.

Schematic of the differential pair with the current mirror as its tail. The pair of Figure 4-1 is drawn faded: Q1 and Q2 with 4.7 kilohm collector resistors to +5 volts, V+ on Q1's base, V− on Q2's base, OUT on Q2's collector. In full ink below it, Q4's collector connects to the joined emitters where the 1 kilohm tail used to be. Q3 sits to the right of Q4, with its collector wired to its base and fed by a 4.7 kilohm resistor hanging from the +5 volt line. The two bases share one wire, and both emitters go to ground.
Figure 5-7: The pair with the mirror as its tail. Q4 replaces the 1 kΩ, and Q3 sets the current.

Figure 5-8 shows the changes on the board. Switch off the 5 V supply. Remove the meter, the test load and the jumper from 8f to 8e. Remove the tail resistor from 12j and the ground rail. Connect a jumper from 8j to 9j. This jumper joins Q4's collector to the pair's emitters, and the mirror is now the tail.

Next, wire the inputs for the common-mode sweep. Switch off power supply output 2. Remove its positive lead from 13c and its negative lead from the top ground rail. Connect a jumper from 10d to 13d. The generator's red lead stays in 10c, and its black lead stays on the top ground rail. Set the generator to a triangle from 1 V to 2 V at 100 Hz.

The oscilloscope channel 2 probe stays on 14i. Set oscilloscope channels 1 and 2 to 1 V/div and the timebase to 5 ms/div. Switch on the 5 V supply and the generator.

The breadboard with the pair and the mirror drawn faded, the 1 kilohm tail resistor gone, and the changes in colour. A green jumper from 8j to 9j joins Q4's collector to the pair's emitters. In the upper block a green jumper joins 10d to 13d. The generator's red lead at 10c, labelled ramp 100 hertz, 1 to 2 volts, feeds both bases. The generator's black lead, the oscilloscope channel 2 probe tip on 14i and its ground clip are greyed rings, unchanged.
Figure 5-8: The mirror as the tail, and the board wired for the common-mode sweep. Click to enlarge.

In Experiment 4 this sweep gave an upside-down triangle about 2.4 V tall on oscilloscope channel 2. Now the 4.7 kΩ and Q3 set the tail current, so the emitters can rise without changing it.

Oscilloscope at 1 volt per division and 5 milliseconds per division: the tied inputs sweep as a yellow triangle from 1 to 2 volts, and the magenta output is a flat horizontal line at about 2.8 volts.
Figure 5-9: The common-mode sweep with the mirror as the tail. The output stays flat while the inputs sweep from 1 V to 2 V.

Figure 5-9 shows the result. The inputs sweep up and down by a volt, and the output stays at about 2.8 V. Flaw 4 is fixed.

The output settles at that level because the two bases are at the same voltage. Q1 and Q2 each take half of the tail current, a little under 0.5 mA. That current through Q2's 4.7 kΩ drops about 2.2 V, which leaves 2.8 V.

Worked back from the capture, the output at 2.77 V puts about 0.47 mA in each side and 0.95 mA in the tail. That is a little below the 1.00 mA of the test. Here Q4's collector sits at about 1 V or less, against 4.0 V in the test. The Early effect then makes the copy about 3 % smaller.

Experiment 4 traced the output's movement in three steps. The emitters follow the bases, the tail current follows the emitters, and the collectors follow the tail current. The mirror breaks the second step. The emitters still follow the bases, from about 0.35 V to about 1.35 V. Q4's collector rises with them, but Q3 holds Q4's base-emitter voltage, so Q4's current changes only slightly. The tail current stays where the mirror set it, each transistor keeps its half, and each collector resistor keeps its drop.

The mirror holds the output still only over a range of inputs, and the inputs have a lower limit. Q4 needs a few tenths of a volt between collector and emitter. So the emitters must stay above about 0.3 V, and the inputs above about 1 V. Below that Q4 saturates and the output moves again. The band of input voltage over which a pair works is its common-mode range. Experiment 8 measures where that range ends for this pair.

Check the tail with the meter

Figure 5-9 shows the output holding still. The meter can confirm the cause, because it reads the tail current itself. It reads with both inputs held first at 1.00 V and then at 2.00 V. In Experiment 4 the same test, with the resistor as the tail, read 0.39 mA and 1.36 mA. Figure 5-10 shows the wiring.

The multimeter above the left of the breadboard, dial on the milliamp range, and the bench power supply above the right, output 1 at 5.00 volts and output 2 at 1.00 volts. The pair and the mirror are drawn faded. The jumper from 8j to 9j is gone. The meter's red lead goes into 9j, on the pair's emitters, and its black lead into 8j, on Q4's collector. The positive lead of power supply output 2 goes into 10c and its negative lead into the top ground rail. The faded jumper from 10d to 13d joins the two bases.
Figure 5-10: The meter in place of the jumper from 8j to 9j, and power supply output 2 holding both bases steady. Click to enlarge.
  1. Switch off the generator and the 5 V supply.
  2. Put the meter in the tail. Remove the jumper from 8j to 9j. Set the meter's dial to milliamps. Insert the red lead in the milliamp socket. Push the red lead into 9j, on the pair's emitters. Push the black lead into 8j, on Q4's collector. All the tail current now flows through the meter.
  3. Hold the inputs steady. Remove the generator's red lead from 10c. Connect the positive lead of power supply output 2 to 10c. Connect its negative lead to the top ground rail. Keep the jumper from 10d to 13d, so both bases get the same voltage.
  4. Read at 1.00 V. Set power supply output 2 to 1.00 V. Switch on the 5 V supply and power supply output 2. Read the meter.
  5. Read at 2.00 V. Set power supply output 2 to 2.00 V. Read the meter again.
  6. Restore the tail. Switch off the 5 V supply and power supply output 2. Remove the meter's leads from 8j and 9j. Connect the jumper from 8j to 9j again. Return the meter's red lead to its voltage socket.

With the resistor, the two readings were almost a milliamp apart. With the mirror, Q4's collector moves by 1 V between the two readings. The Early effect raises a 2N3904's current by roughly 1 % for each volt on its collector, which is about 0.01 mA here. So the two readings should agree within a few hundredths of a milliamp.

Re-measure the transfer curve

The mirror fixed the output's response to the common-mode level. The comparator's job is the transfer curve, so the next question is whether the mirror changes that curve. Repeat Experiment 4's main measurement with the mirror as the tail. The generator sweeps V+, and power supply output 2 holds V− at 1.67 V, as in Figure 4-2. Figure 5-11 shows the board.

The breadboard with the pair and the mirror drawn faded, including the jumper from 8j to 9j that makes Q4 the tail. The jumper from 10d to 13d is gone. Coloured rings mark the connections: V+ from the generator at 10c, V− from power supply output 2 at 1.67 volts at 13c, the generator's black lead and the negative lead of power supply output 2 on the top ground rail, the oscilloscope channel 2 probe tip on the output at 14i, and its ground clip on the bottom ground rail.
Figure 5-11: The inputs wired as in Figure 4-2, with the mirror as the tail. Click to enlarge.
  1. Separate the inputs. Remove the jumper from 10d to 13d, so each base has its own input again.
  2. Set V−. Move the positive lead of power supply output 2 from 10c to 13c. Set power supply output 2 to 1.67 V. Its negative lead stays on the top ground rail.
  3. Sweep V+. Insert the generator's red lead into 10c again. Set the generator to a triangle from 0 V to 3.3 V at 100 Hz.
  4. Set the oscilloscope to X-Y mode. Set oscilloscope channel 1 to 500 mV/div, across the screen. Set oscilloscope channel 2 to 1 V/div, up the screen. Switch on the 5 V supply, power supply output 2 and the generator.
  5. Measure the step. Place the Y cursors on the low shelf and the high shelf. On my board these are about 1.06 V and 5.02 V. Place the X cursors where the curve leaves the low shelf and where it reaches the high shelf.
X-Y oscilloscope capture of the transfer curve with the mirror as the tail: a low shelf, a steep rise, and a high shelf. Input across on channel 1 at 500 millivolts per division, output up on channel 2 at 1 volt per division. Cursors read X1 1.88 volts, X2 1.61 volts, 0.27 volts apart, and Y1 1.06 volts, Y2 5.02 volts, 3.96 volts apart.
Figure 5-12: The transfer curve with the mirror as the tail. The step takes 0.27 V of input for 3.96 V of output.

Figure 5-12 is the capture. The step takes 0.27 V of input for 3.96 V of output. With the resistor as the tail, Experiment 4's transfer curve gave 0.25 V for 3.98 V. The two steps are the same within the accuracy of the cursor placement. A steady tail did not change the width of the step, and Figure 5-13 shows why.

Two drawings of the pair with Q4 as its tail. Left, a difference signal: V+ goes up and V− down by the same amount. A heavy arrow shows more current in Q1 and a thin one less in Q2, the tail node is marked still, and OUT is marked moves. Right, a common-mode signal: both inputs go up, and the two arrows stay equal. The tail node is marked rises, and OUT is marked stays put.
Figure 5-13: Two kinds of input movement. The mirror acts on the second and has no effect on the first. Click to enlarge.

A difference signal takes V+ up and V− down by the same amount. Q1 takes more of the tail current and Q2 less. The total stays the same, so the tail node stays where it was. For this signal a 1 kΩ resistor and a current source both pass the same unchanged current, and the pair cannot tell them apart.

The width of the step comes from two things. One is how steeply each transistor's current follows its base. The other is the 4.7 kΩ collector resistors that turn the current into a voltage. The tail current sets the first of these, and it is about the same as before, near a milliamp.

A common-mode signal takes both inputs up together. Now the tail node rises, and here the mirror makes the difference. It holds the tail current, so the two halves stay equal and the output stays still.

Gain, and why the tail drops out

The last section explained in words why the tail leaves the width of the step alone. The gain formula says the same in numbers. Gain is how far the output moves for each volt of difference between the inputs. Near the crossover the pair's gain is gm × RC ÷ 2. Here gm, the transconductance, is the change in a transistor's collector current per volt of base-emitter change. It is about IC divided by 26 mV.

With about 0.47 mA in each side, the level Figure 5-9 shows, gm is about 18 mA/V. With 4.7 kΩ loads the gain at the crossover works out near 42. The average slope across the whole step is lower, because the curve flattens at both ends. Figure 5-12's cursors give about 15: 3.96 V of output for 0.27 V of input. The tail's resistance is absent from the formula, because the tail node does not move for a difference signal. For that signal the tail behaves as a ground.

A higher gain needs a higher gm or a higher RC. Experiment 6 replaces the collector resistors with another mirror, which acts as a far larger resistance to a signal.

Where the gain comes from optional

How steeply one transistor responds. The first theory box used the Ebers–Moll model, . The transconductance is the slope of that curve. Differentiate with respect to . The derivative of an exponential is the same exponential, multiplied by the derivative of the exponent, here :

The numerator is itself, so

With 0.47 mA in each transistor and  mV, that is about 18 mA/V.

The pair. Let the inputs differ by a small voltage . The current Q1 gains is the current Q2 loses, so the tail node holds still. Q1's base-emitter voltage rises by half of , and Q2's falls by half. Q2's current falls by

The output is 5 V minus the drop across Q2's collector resistor . So less current gives a higher output:

The gain is the change in output divided by the change in input that caused it:

With 18 mA/V and 4.7 kΩ this is about 42. The tail does not appear, because the tail node holds still for a difference signal.

The flaw list

The mirror tail fixed flaw 4, the tail current that followed the common-mode level. This experiment found no new flaws. The wide transition is the only flaw still open.

#FlawWhat it meansFoundStatus
1No reference inputThe threshold is the transistor's own 0.6 V. Nothing outside the circuit sets it.Experiment 3Fixed in Experiment 4: the differential pair
2Wide transitionThe output needs a band of input to travel from high to low: about half a volt with one transistor, about a quarter of a volt with the pair.Experiment 3Open until Experiment 6
3Thermal driftThe base-emitter voltage falls about 2 mV per degree, and the threshold falls with it.Experiment 3Reduced in Experiment 4: two matched transistors drifting together
4Tail current follows the common-mode levelA resistor tail passes more current as both inputs rise, and the output moves with it.Experiment 4Fixed here the current mirror tail

Quick check

1. Q3 and Q4 pass the same collector current because…

Matched transistors at one base-emitter voltage pass one collector current. Joining the bases holds the voltage equal. Forcing a current through the diode-connected side fixes its value.

2. Changing the load from 1 kΩ to 2.2 kΩ left Q4's current at 1.00 mA because…

Collector current follows base-emitter voltage and changes very little with collector voltage. The copy holds while the drop across the load more than doubles. It holds until the collector comes within a few tenths of a volt of the emitter.

3. With the mirror as the tail, the step is as wide as before because…

For a difference signal the tail node stays still, and a current source and a resistor both pass the same unchanged current. The transistors and the collector resistors set the gain, and Experiment 6 changes the collector resistors.

Before moving on

From two transistors you built a current source. It held 1.00 mA while its load went from 1 kΩ to 2.2 kΩ, which a resistor cannot do. As the tail, it stopped the output following the common-mode level, as it had done in Experiment 4. The inputs swept from 1 V to 2 V together, and the output stayed flat near 2.8 V. The transfer curve kept its width, because a difference signal never moves the tail node. The collector resistors set the width of the step.

A narrower step needs a load with a far higher resistance to a signal than those resistors, and another current mirror gives it. Experiment 6: The Active Load puts a mirror on the pair's collectors and makes the step almost vertical.

Contents All experiments