A resistor is a terrible current source
Every circuit so far has fed its transistors from a resistor tied to the supply. That works, and chapters 4 and 5 spent a lot of effort on the consequences. But a resistor does not deliver a current. It delivers a voltage difference divided by itself, and the moment the far end moves, the current moves with it.
A current source is defined by what it refuses to do: it holds its current fixed no matter what voltage appears across it. Its figure of merit is therefore an output resistance — how many volts you must force across it to shift its current by one amp. For a resistor R used as a source, the output resistance is exactly R, which is also the thing setting the current. You cannot have both. Want 1 mA from 10 V? That is 10 kΩ, and 10 kΩ is your output resistance, and it is nowhere near enough.
A transistor in the active region has the property you want built in. Its collector current is set by VBE and is nearly indifferent to VCE — nearly, because of the Early effect from chapter 5, which gives the flat part of the output curve a slight upward tilt. That tilt is ro = VA/IC, and at 1 mA with VA = 75 V it is about 75 kΩ. Same order as the resistor, you might think — but the transistor gets that 75 kΩ while passing 1 mA at almost any collector voltage you like, which the resistor cannot do at all.
Commit before you touch anything
Two 1 mA “sources” feed a load: a 10 kΩ resistor from a 10 V rail, and a biased transistor. You raise the load resistance from 0 to 9 kΩ. What happens to each current?
Compliance is the price
The transistor holds its current only while it stays in the active region. Drop VCE below roughly 0.2 V and the collector junction forward-biases, the device saturates, and the current falls away fast. So a current source is not a magic component: it is a component that works over a stated voltage window and does nothing useful outside it. On a 10 V rail an ordinary grounded-emitter source gives you compliance from about 0.2 V up to the rail, and every improvement in the rest of this chapter costs some of that window back.
In the wild
The LED you drove from a resistor in chapter 1 changes brightness when the supply sags. A constant-current LED driver exists precisely because the resistor solution ties brightness to rail voltage and to the LED’s own temperature-dependent forward drop.
The “current limit” knob on a bench power supply. That is a real current source taking over from the voltage regulator, and the supply’s compliance is simply its voltage range.
Why a multimeter’s resistance range needs one. Measuring an unknown resistor by forcing a known current and reading the voltage only works if the current stays known as the unknown resistance changes.
Before you move on
What single number best describes the quality of a current source?
The mirror copies a voltage
Lesson 1 left a problem. A transistor makes a fine current source, but only if something holds its VBE at exactly the right value — and VBE is the most temperature-sensitive, part-to-part-variable quantity in the whole device. A divider that sets 0.65 V will be wrong by tens of percent in current, and will drift badly. So you cannot set the current by setting a voltage.
The trick is to not set it at all. Take a second, identical transistor and diode-connect it — short its collector to its base. It is now forced into the active region with VCB = 0, and whatever current you push into it, it develops exactly the VBE that its own physics demands for that current. Connect that base node to the first transistor. If the two devices are identical, the same VBE produces the same current.
The misconception
“A current mirror copies the reference current into the output branch.” It does not, and no wire in the circuit carries the reference current anywhere near the output transistor. What travels between the two halves is a voltage on the shared base node. The reference side converts a current into a VBE using the exponential; the output side converts that VBE back into a current using the same exponential. The copy is good only to the extent that the two exponentials are the same function, and every failure in lessons 3, 4 and 5 is a different way for them to differ.
Once you see it that way, the bench’s picture makes sense: both transistors sit on one exponential curve, at one VBE, at two operating points that coincide. Drag the reference current and watch both dots slide along the same curve together.
Commit before you touch anything
You change the reference current from 0.5 mA to 5 mA — a factor of ten. How far does the shared base voltage move?
Why this is a silicon circuit and not a breadboard one
Everything above depended on “identical”. Two transistors from the same bag differ in IS by tens of percent, which lesson 5 will show is fatal. Two transistors laid down micrometres apart on the same die, in the same process step, at the same temperature, match to a fraction of a percent. That is the resource Part Two is spending. You cannot buy matching; you can only get it by making both devices at once.
| Iref | Shared VB | Iout |
|---|---|---|
| 0.10 mA | 0.5954 V | 0.101 mA |
| 0.50 mA | 0.6369 V | 0.503 mA |
| 1.00 mA | 0.6548 V | 1.004 mA |
| 2.00 mA | 0.6726 V | 2.004 mA |
| 4.98 mA | 0.6963 V | 4.995 mA |
Fifty times the current, one tenth of a volt of movement on the node that carries the information.
In the wild
Open any op-amp die photo and count the mirrors. A 741 has several. They set the tail current of the input pair, they load the second stage, and they establish the output stage’s bias — all from one reference branch, because copying is nearly free once you have one good current.
Why chip datasheets specify a single “set resistor”. Current-mode DACs, LED drivers and adjustable regulators often want one external resistor: it makes the reference current, and everything inside is a mirror of it.
The diode-connected transistor is why you will see transistors with base and collector shorted on schematics. It is not a mistake or a spare device. It is a deliberately built exponential, used as a reference.
Before you move on
What physically travels from the reference side of a mirror to the output side?
The first leak: base current
The reference resistor delivers a current into the base node. That current does not all go into the diode-connected transistor’s collector. It has to supply two base currents as well — one for each transistor — before whatever is left becomes IC1. Since Iout equals IC1 when the devices match, the output is short by both base currents:
Iout/Iref = 1/(1 + 2/β)
That is a systematic shortfall, always in the same direction, and it is set entirely by β. At β = 150 it is 1.32% low. At β = 20 — a cheap lateral PNP on an old process, or a power device run hard — it is 9.1% low, which is no longer a rounding error.
Commit before you touch anything
β drops from 150 to 50, a factor of three. What happens to the mirror’s ratio error?
Two fixes, neither free
- The beta-helper. Add a third transistor as an emitter follower feeding the shared base node. The reference branch now supplies only that device’s base current, so the error becomes 1/(1 + 2/β²) — at β = 150 that is 0.009%, a hundredfold improvement. Cost: one more VBE of headroom on the reference side.
- The Wilson mirror. Rearranges three transistors so that the base-current error largely cancels against itself, and raises output resistance at the same time. Cost: compliance again, and a more delicate layout.
Both are standard, both are in Sedra & Smith chapter 8, and both illustrate the pattern that runs through the whole of Part Two: on a die, transistors are cheaper than precision, so you fix an error by spending devices rather than by specifying tighter parts.
In the wild
Lateral PNPs on classic bipolar processes had β of 10 to 30. That is why so many older op-amp schematics use beta-helpers or Wilson topologies on the PNP side and plain mirrors on the NPN side — the asymmetry in the schematic is an asymmetry in the process.
MOS mirrors do not have this error at all. A gate draws no DC current, so the 1/(1+2/β) term simply does not exist. Chapter 11 will lean on that hard. MOS mirrors trade it for a much worse matching problem, which lesson 5 previews.
Why a mirror’s accuracy spec degrades at high current. β falls off at high injection, so the error term grows exactly where you were hoping for more current.
Before you move on
Why does perfect matching between the two transistors not remove the base-current error?
The second leak: the output does not know what it is driving
The two transistors share a base voltage, but they do not share a collector voltage. The reference device is diode-connected, so its VCE is pinned at VBE, about 0.65 V. The output device’s collector goes wherever the circuit it is driving puts it — possibly 9 V. Two identical transistors at the same VBE but very different VCE do not carry the same current, because of the base-width modulation you met in chapter 5.
Measured on the bench, this mirror’s output climbs from 0.996 mA at Vout = 1 V to 1.102 mA at 9 V — a 10.6% drift with nothing changed but the load voltage. The slope of that line is the output resistance, and the bench measures 76.0 kΩ, steady across the whole sweep.
Worth noticing: 76 kΩ is a little above the textbook VA/IC, which at this current reads about 74 kΩ and falls as Vout rises. The gap is real and it is not arithmetic. In the transport model these benches actually solve, ro works out as (VA + VCE − VBE)/IC, which is why the measured value stays flat while VA/IC falls as the current rises with Vout. VA/IC is the right first answer and the one to carry in your head; it is a few percent optimistic about how fast ro degrades.
Commit before you touch anything
You stack a second transistor on top of the output device — a cascode — with its base held at a fixed 1.7 V. What does that do to the output resistance?
Why stacking works
The cascode device is a common-base stage. Its emitter is a low-impedance node — about re, which at 1 mA is 26 Ω — so when Vout moves by a volt, almost none of that movement reaches the node below. What little does get through is divided down by the cascode’s own gain. The result is the standard Rout ≈ β ro, and it is the single most useful structure in analogue IC design after the mirror itself.
The cost is stated plainly by the bench: the lower transistor now needs its 0.2 V of VCE, and the cascode needs its own, and the cascode’s base sits a VBE above that. The bench’s floor meter moves from 0.24 V to 1.39 V. On a 10 V rail that is a fair trade. On the 1.2 V rail of a modern digital process it is most of your supply, which is why chapter 11’s world looks so different.
In the wild
The cascode is why old radios sound quiet. A cascode RF amplifier isolates the output from the input, which stops the Miller effect from feeding signal backwards — the same structure, used for a different one of its properties. Chapter 12 comes back to this.
“Rail-to-rail output” on an op-amp datasheet is partly a statement about cascodes. Parts that swing closest to the rails have given up cascoding somewhere, and usually have lower open-loop gain as a result.
Why a current source’s datasheet quotes a minimum operating voltage. That is its compliance floor, and it tells you directly how the thing is built inside.
Before you move on
A cascode raises output resistance by roughly β. What does it cost?
The third leak: a millivolt is a lot
Lesson 2 said the mirror copies a voltage across a shared node. That is its strength — and it is also why it is so unforgiving. If the two devices are not quite identical, the output transistor produces the wrong current for the VBE it is handed, and the exponential magnifies the discrepancy.
Put a number on it. The bench applies a deliberate offset by scaling one device’s saturation current, which is equivalent to an effective VBE mismatch ΔV:
| ΔVBE | Current error | With 470 Ω degeneration |
|---|---|---|
| 1 mV | +3.92% | +0.21% |
| 2 mV | +7.98% | +0.42% |
| 5 mV | +21.2% | +1.05% |
| 10 mV | +46.7% | +2.10% |
One millivolt — less than the offset voltage of a decent op-amp, less than the thermal EMF of a solder joint — costs you 4% of current. Ten millivolts, easily achievable with two transistors from the same bag, costs you nearly half. This is the arithmetic that makes discrete current mirrors a bad idea and integrated ones excellent, and it is why lesson 2 insisted the matching is the resource.
Commit before you touch anything
You add 470 Ω emitter resistors to both legs of a mirror running 1 mA, then apply a 5 mV mismatch. The current error was 21%. What is it now?
Degeneration, and what it costs
An emitter resistor in each leg is called degeneration, and it is the same negative feedback you met on the follower in chapter 3, used here to desensitise rather than to buffer. A mismatch ΔV now has to fight the I R drop across RE instead of acting directly on the exponential, and the sensitivity falls by roughly (1 + RE/re). It also raises the output resistance by the same factor, which is a second free-looking benefit.
The bill: RE eats compliance. At 1 mA, 470 Ω costs 0.47 V off the top of your usable output range, permanently. And on an integrated die, resistors are physically large, poorly controlled in absolute value, and drift differently from transistors — which is why IC designers reach for degeneration far less often than a discrete designer would expect.
Mismatch is also a design tool
Deliberate mismatch, unlike accidental mismatch, is precise. Build the output transistor from m identical devices in parallel — or with m times the emitter area — and at the same VBE it passes m times the current. The ratio is set by geometry, which a photolithographic process controls superbly, rather than by any absolute quantity. The bench measures 1.996 for a 2:1 layout and 3.94 for 4:1: close, and short by exactly the base-current error of lesson 3, which grows as m/(1 + (1+m)/β).
In the wild
The bandgap reference in every regulator and ADC you own. It works by running two junctions at a deliberate current-density ratio, extracting the resulting ΔVBE — which is proportional to absolute temperature and known to be VT ln(ratio) — and adding it to a VBE that falls with temperature. The whole trick rests on the ratio being trustworthy when neither absolute value is.
Why you cannot build a good mirror from two 2N3904s. Their IS can differ by tens of percent, which is tens of millivolts of effective ΔVBE. Matched-pair parts in a single package exist precisely because of this table, and cost many times a single transistor.
Thermal gradients across a chip cause mismatch too. 2 mV/°C means one degree of difference between two devices is an 8% current error, which is why layouts put matched pairs close together, interdigitated, and away from the output stage’s heat.
Before you move on
Why does a few millivolts of VBE mismatch cause a several-percent current error?
The active load, and chapter 5’s ceiling finally reached
Chapter 5 derived a gain of −gm(RC ∥ ro) and a ceiling of VA/VT ≈ 2,900, reached only in the limit RC → ∞. And then it explained why you can never go there: the DC current has to flow through RC, so a big resistor means a big drop, and the supply runs out long before the ceiling does.
The bench puts numbers on the impossibility. At 1 mA, a 1 kΩ collector resistor gives a gain of 38 and drops 1.00 V. Ten times the resistor would give 344 — but it needs 10.00 V across itself, which is the entire rail, so that bias point does not exist. A hundred times would give about 1,700 and demand 100 V across the resistor. The gain is there; the headroom is not, and the bench will simply refuse to bias the 10 kΩ case at 1 mA.
A current source has no such problem, because a current source is not a resistance to DC. Replace RC with the output of a PNP mirror. To the bias point it is a 1 mA source, dropping whatever it must and no more. To a small signal it is ro, which at 1 mA is tens of kilohms. You get the AC resistance without paying the DC penalty. That is an active load, and it is the reason mirrors are everywhere.
Commit before you touch anything
Swap a 1 mA stage’s 1 kΩ collector resistor for a PNP mirror active load, on the same 10 V rail. The resistive gain was −38. What does the active load give?
What you gave up to get it
A gain of 1,250 from one stage sounds free. It is not. The output node now has a very high impedance, so anything you connect to it — including the next stage’s input resistance — appears in parallel and can destroy the gain instantly. Loading a 30 kΩ node with a 30 kΩ input halves it. This is exactly why op-amps put an emitter follower after their gain stage, and why chapter 3’s buffer, which looked pointless at the time, turns out to be structural.
The second cost is bias. The stage only works when the NPN’s current and the PNP’s current are equal, and with a gain of 1,250 the input window over which the output is not slammed against a rail is about 6 mV — and by the time you cascode the load as well, microvolts. Nothing open-loop can hold that. It needs feedback — which is precisely chapter 8’s answer, arrived at from the other side.
In the wild
This is the second stage of almost every op-amp ever made. Differential pair, then a common-emitter stage with an active load, then a follower. Chapter 10 builds the first block; you have just built the second; chapter 3 built the third.
Why op-amp open-loop gain is 100 dB and not 30 dB. Two or three stages of a few thousand each, multiplied. None of them could be built with resistors on any sane supply voltage.
Why a CMOS op-amp’s gain is lower. MOS devices have smaller intrinsic gain than bipolar ones, so designers cascode the load as well — combining lessons 4 and 6 into one structure. Chapter 11 returns to this.
Before you move on
Why does an active load reach a gain a resistor cannot, on the same supply?
Checkpoint
1. The defining job of a current source is to hold its current constant against changes in…
2. In a basic two-transistor mirror at β = 150, the output current is short of the reference by about…
3. Adding a cascode above the output transistor multiplies output resistance by roughly…
4. ch 5 A single bipolar stage’s intrinsic gain ceiling VA/VT is about…
5. ch 1 A 1 mV error in VBE changes collector current by about…
6. An active load beats a resistor of the same small-signal value because…