Devices, and the amplitude they stop being linear at

The source that holds to the supply

Putting a second transistor on each branch of a current mirror is always described as buying output resistance and costing headroom, and both halves of that are measured here rather than repeated. The resistance goes from 82 kΩ to 7.39 MΩ, the floor rises by 0.71 volts — and the range over which the current is actually what it was set to goes from 1.70 volts to 9.09, because a plain mirror's current never stops climbing. Forty-three per cent of the resistance that should be there is missing, and it is in the reference branch.

Assumes: The device that never sees the swing · The copy, and its two errors

The rung below this one measured a cascode as an amplifier and found the expression everybody gives for its output resistance to be out by a factor of twenty-one. The expression is gmro2g_m r_o^2, it has no ceiling in it, and the ceiling is βro\beta r_o — because a bipolar transistor’s base draws current, and the upper device’s base resistance shunts the very node the feedback has to act through.

That was a stage, where the quantity being multiplied is a gain. This is the arrangement doing the other job it is used for, where the quantity being multiplied is a current source’s stubbornness: a mirror with a cascode on each branch. Three things come out of it, and only the first is the one the textbooks lead with.

A cascoded mirror is 90× the output resistance, and 43% of it goes back into the reference. computed by solving, not by drawing. The output resistance of a two-transistor mirror and of the same mirror with a cascode on each branch, measured by moving the output a little either side of its operating point and reading the current, against the current gain of every device. The plain mirror sits at rₒ = 89 kΩ and does not move. The cascoded one reaches 7.39 MΩ at β = 150 and rises with β until β stops being the smaller of the two quantities, where it saturates on gₘrₒ² = 268 MΩ. The third curve replaces the diode-connected upper device with a held voltage at the same potential and recovers 1.76 times the resistance, which is the upper device's base current being charged a second time — to the reference branch, where it moves the mirror's own bias.
Fig. 1 The output resistance of a plain two-transistor mirror and of the same mirror with a cascode on each branch, measured by moving the output a little either side of its operating point and reading the current. The two expressions are drawn over it and the third curve is a controlled experiment.

The mirror, and the fourth transistor that is not obvious

A plain mirror is two transistors: one diode-connected, carrying a reference current, and one sharing its base-emitter voltage and delivering a copy. A cascoded mirror is four, and the fourth one is worth a paragraph because it is easy to think three would do.

Q1 and Q2 are the pair. Q3 stands on Q2, its collector at the output and its base held at a fixed potential, which is the cascode of the rung below. Q4 stands on Q1 and is diode-connected, so the reference branch develops two base-emitter drops and its top node is the potential Q3’s base wants.

That is the obvious reason for Q4 — it makes the bias. The real reason is that it puts Q1 and Q2 at the same collector voltage, and that is what removes the largest error in the plain mirror. Every number below about the copy is a consequence of it.

A copy out by 1.3% for the reason everybody names, and 11% for the one nobody does. computed by solving, not by drawing at 60 output voltages, with the Early conductance iterated to self-consistency against the current that sets it. Two base currents are stolen from the reference, so the copy is β/(β+2) of it — 1.32% low at β = 150 — and that is exact at exactly one output voltage, 0.7043 V, which is 9.39 mV under the reference's own base-emitter voltage of 0.7137 V — a displacement that goes as 1/(β+2), so that the product of the two is 1.427 V at every β the slider offers. Everywhere else the Early effect is larger: the current rises at 1.21% per volt, so moving the output from one volt to ten changes it by 11.2%. One per cent holds over 0.810 V, which is the Early voltage over a hundred and contains neither the current nor any resistor. The slider is β: it moves the first error by fifty times and the second by nothing at all.
Fig. 2 The mirror the rung below measured, for comparison: out by 1.3 per cent for the reason everybody names — two base currents stolen from the reference — and by 11 per cent for the one nobody does.

Every device here carries its own Early conductance from collector to emitter, of value IC/VAI_C/V_A, and that value is not known until the circuit has been solved. So the pair is iterated: solve, read four collector currents, restamp four conductances, solve again. It converges in ten passes to a part in 101310^{13}, with the residual rebuilt from the exponentials rather than from anything the iteration produced.

The output resistance, and where a fifth of it went

Driving the output node a little either side of its operating point and reading the current back gives 81.9 kΩ for the plain mirror and 7.39 MΩ for the cascoded one, a factor of ninety.

The plain mirror’s number is ro=VA/ICr_o = V_A/I_C and nothing else, which is what the cascode is multiplying. The cascoded one is not βro\beta r_o: that would be 13.3 MΩ, and the measurement is 55 per cent of it. The rung below measured 96 per cent of its own βro\beta r_o on a stage, so something in the mirror is taking the other 45.

It is the upper device’s base current again, in a second place.

A cascode multiplies rₒ by β, not by gₘrₒ — and the two are 21× apart. computed by solving, not by drawing. The output resistance of a cascode stage, measured by driving the output node with a current source and reading the voltage, against the current gain of the upper device. The plain stage's is 80 kΩ — rₒ and nothing else. The cascode's is 11.5 MΩ at β = 150, which is βrₒ to within a tenth and is 21 times below the gₘrₒ² every reference gives. The reason is in the netlist rather than in the algebra: the upper device's base draws current, so its rπ sits from the lower device's collector to signal ground and shunts the node the feedback works through. What the arrangement buys therefore scales with β and stops when β does, and the curve is the two expressions drawn against the measurement.
Fig. 3 The rung below’s measurement, for the comparison: a cascode stage, whose output resistance lands on βrₒ to a tenth. The same devices, the same current, the same Early voltage — and the stage keeps what the mirror loses.

In the stage, Q3’s base is held by a voltage source that is a signal ground, and the base current is charged once: it flows in rπr_\pi, which shunts the inner node, and the multiplication stops at β\beta. In the mirror, Q3’s base is held by Q4’s diode — which is fed from the reference branch. When the output rises, Q3’s collector current rises a little by its own Early effect, so its base current rises, so the current available to Q4 falls, so the potential at Q1’s base moves, so Q2’s collector current moves. The output has modulated the mirror’s own bias.

The measurement of that is the third curve. Replace Q4 with a perfect voltage source at exactly the potential Q4 was holding — nothing a data sheet would name, and not a circuit anybody builds — and the output resistance goes from 7.39 MΩ to 13.0 MΩ, which is 1.06βro1.06\,\beta r_o and is the rung below’s result recovered. Forty-three per cent of the output resistance is spent in the reference branch, and the arrangement that spends it is the one that makes the bias.

Impedance of a series RLC of Q = 4, measured by driving it. One ampere is forced into the terminals at each frequency and the resulting voltage is the impedance. The minimum is 7.91 Ω at 5.03 kHz.
Fig. 4 The measurement in its general form, from the frequency field: an impedance driven with a current and read as a voltage. Everything in this essay is that operation applied to a direct current.

The other ceiling, which is visible in the same sweep

Sweeping the current gain from ten to a hundred thousand puts both of the rung below’s ceilings on one axis, which is worth more than either of them alone.

At small β\beta the measurement rises with β\beta: 867 kΩ at ten, 7.39 MΩ at 150, 22.6 MΩ at 500. At β=100,000\beta = 100{,}000 it stops rising and sits at 269.6 MΩ, which is gmro2=268g_m r_o^2 = 268 MΩ to within a per cent. So the honest expression is the one the rung below arrived at — the output resistance is ror_o multiplied by whichever of β\beta and gmrog_m r_o is smaller — and here both halves of it are measured on one circuit rather than one being inferred.

A cascoded mirror is 895× the output resistance, and 32% of it goes back into the reference. computed by solving, not by drawing. The output resistance of a two-transistor mirror and of the same mirror with a cascode on each branch, measured by moving the output a little either side of its operating point and reading the current, against the current gain of every device. The plain mirror sits at rₒ = 86.9 kΩ and does not move. The cascoded one reaches 72.4 MΩ at β = 2000 and rises with β until β stops being the smaller of the two quantities, where it saturates on gₘrₒ² = 268 MΩ. The third curve replaces the diode-connected upper device with a held voltage at the same potential and recovers 1.47 times the resistance, which is the upper device's base current being charged a second time — to the reference branch, where it moves the mirror's own bias.
Fig. 5 The same sweep with the marker at a current gain of 2000, where the two ceilings are within a factor of two of each other and the measurement is bending from one onto the other.

For silicon bipolar devices gmro=VA/VTg_m r_o = V_A/V_T is about 3,100 and β\beta is 150, so β\beta binds by a factor of twenty and the field-effect expression is never the right one. A designer who reads gmro2g_m r_o^2 off a page and builds a bipolar cascode current source has specified a part that is twenty times better than the one that arrives.

The copy, where the two errors move in opposite directions

The cascode does something to the accuracy of the mirror as well, and it is two things at once with opposite signs.

It adds base current. Q3’s base current is taken out of the output — the emitter current of the upper device is the collector current of the lower one, and only α\alpha of it reaches the collector — and Q4’s is taken out of the reference. So the cascoded mirror’s copy is short by about 4/β4/\beta where the plain mirror’s is short by 2/β2/\beta.

It removes the Early error entirely, because Q1 and Q2 now sit at the same collector voltage whatever the output does. That is the 11 per cent the rung below found on a plain mirror with its output five volts above its reference, and it is gone.

Which of the two wins is a question about β\beta, and the answer is measurable across the whole sweep:

β plain mirror cascoded
10 −12.11% −28.92%
50 +1.30% −7.27%
150 +3.94% −2.53%
500 +4.89% −0.77%
100,000 +5.31% −0.002%

Two things in that table are worth more than the numbers. The sign flips: above a current gain of about forty the plain mirror delivers more than the reference and the cascoded one less, because one is dominated by an Early effect that adds and the other by a base current that subtracts.

And the last row is the whole argument for the arrangement. As the current gain goes to infinity the cascoded mirror’s error goes to nothing, and the plain mirror’s goes to 5.31 per cent and stays there. One of the two errors is curable by process and the other only by topology, and the plain mirror is stuck with the one that is not.

What it costs, which is not what it is said to cost

Now the headroom, which is the sentence every reference finishes with: a cascode costs a base-emitter drop of output swing.

It does, and the amount is measured rather than assumed. The upper device saturates when its collector falls to about 0.2 V above its emitter, and its emitter sits where the lower device’s collector is — which the solve puts at 0.713 V. So the floor is 0.913 V against the plain mirror’s 0.200, and the cascode has taken 0.71 V it will not give back.

The sentence is also, for a current source, the wrong way round.

The cascode's floor is 0.71 V higher and its usable swing is 5.3 times widercomputed by solving, not by drawing. The output current of a plain mirror and of a cascoded one against output voltage, each divided by its own value at 5 V, with the ±1% band drawn across both. The cascode cannot go below 0.91 V where the plain mirror goes to 0.20, which is the headroom it is always said to cost. What it buys is the width of the band: the plain mirror holds its current to one per cent only between 4.15 and 5.85 V — 1.70 V of a 10 V supply — because the Early effect never stops, while the cascoded one holds it from its own floor to the supply, 9.09 V.0.9000.95011.050246810output voltage (volts)output current, as a fraction of its value at 5 Vplain holds from 4.15 Vcascode floor 0.91 V±1% of the value at 5 Vsupply10 Vband±1%plain floor0.20 Vplain holds4.15–5.85 Vcascode floor0.91 Vcascode holds0.91–10.00 Vswing bought5.3×solved, then checked — a current source against its own output1.70 V against 9.09 V
Fig. 6 The output current of both mirrors against output voltage, each divided by its own value at five volts, with a ±1% band drawn across. The cascode starts later and stays inside; the plain mirror is inside for 1.70 volts of a ten-volt supply. Drag it to see how each band’s width is set.

A floor is not what a designer has. What a designer has is the range over which the current is what it was set to, and that range has a top as well as a bottom, because a plain mirror’s current never stops climbing: its output resistance is ror_o, so it rises about one per cent per volt for ever.

Bisecting both ends against the current at five volts, at a band of one per cent:

  • the plain mirror holds from 4.15 V to 5.85 V — 1.70 volts of a ten-volt supply;
  • the cascoded mirror holds from 0.913 V to the supply — 9.09 volts.

Five point three times the usable swing, from an arrangement whose floor is 0.71 V higher. The headroom sentence is true and it is an accounting of the wrong quantity.

The cascode's floor is 0.71 V higher and its usable swing is 26.7 times wider. computed by solving, not by drawing. The output current of a plain mirror and of a cascoded one against output voltage, each divided by its own value at 5 V, with the ±0% band drawn across both. The cascode cannot go below 0.91 V where the plain mirror goes to 0.20, which is the headroom it is always said to cost. What it buys is the width of the band: the plain mirror holds its current to one per cent only between 4.83 and 5.17 V — 0.34 V of a 10 V supply — because the Early effect never stops, while the cascoded one holds it from its own floor to the supply, 9.09 V.
Fig. 7 The same measurement at a band of two tenths of a per cent, where the plain mirror holds for 0.34 volts and the cascode still holds for 9.09. The two do not scale together, which is the sharpest form of the result.

The two spans do not scale together and that is the sharpest way to put it. Ask the plain mirror for a tighter band and its range shrinks in proportion — 8.50, 3.40, 1.70, 0.85, 0.34 volts for bands of 5, 2, 1, 0.5 and 0.2 per cent. Ask the cascode for a tighter band and its range does not move at all, because what bounds it is not the Early effect but the voltage at which a transistor stops being a transistor.

Why the measurement is a solve and not a formula

Everything above is a direct-current measurement on a nonlinear netlist, and it is worth saying what that buys, because the same numbers can be written down from a small-signal model in four lines.

The four lines require choosing what to keep. The base currents of Q3 and Q4 are exactly the terms a hand derivation drops — they are 1/β1/\beta of something — and they are 43 per cent of the output resistance and the entire sign of the copy error. The Early conductance is the term that has to be iterated because its value depends on the answer, and a hand derivation fixes it at a plausible number and moves on.

A netlist has no such decisions in it. What comes back includes every path the circuit has, whether or not the person who assembled it was thinking about that path, and the two findings here are both paths nobody was thinking about.

Where this ladder can go next

The rung below named three questions and this one answers the first. Two remain, and a third opens.

The folded arrangement puts the upper device on a separate current path so the drops are not stacked. It should give the same output resistance with the floor back, at the price of a second bias current, which would turn this essay’s trade into a question about power.

The wide-swing mirror is the more interesting one, because it attacks the number this essay measured. The 0.913 V floor is a full base-emitter drop plus a saturation voltage, and most of that drop is not needed: the lower device only requires its own 0.2 V. Biasing Q3’s base one VBEV_{BE} plus one saturation voltage above ground instead of two VBEV_{BE} would put the floor near 0.4 V and give back half a volt of a supply that may only be 1.8.

And the noise is still unmeasured, from the rung below. The standard argument is that a cascode device contributes nothing because it is a common-base stage in a low-impedance node. This essay has now found two places where a standard argument about this arrangement omitted a base current, so that one is worth asking rather than repeating.

What the branch depends on elsewhere in the collection

The forty-three per cent this page ends on is a property of three things measured separately, and the compliance it turns on is measured three more ways in the field. The copy, and its two errors is where the current comes from and where its own compliance limit is set — a limit that contains neither the current nor a resistor — and the two errors it names are both present in this branch. The device that never sees the swing is the same two devices used for bandwidth rather than for output resistance, and it spends the headroom this page is counting. The exponent that is a square is the same arrangement on a square-law device, where one of the two errors disappears entirely. A bias point is a solution, not a choice is why the operating point here is a root rather than a number somebody chose, and it is the same damped Newton that finds it. And Exact outside and wrong within is the warning that goes with reducing this branch to a source and a resistance: the reduction is exact at the terminals and says nothing at all about what is dissipated inside it, which for a branch nobody looks at is the quantity that matters. What all five are distances from is The source that is not a source, which is the model this arrangement exists to approach and the one the solver has to refuse.

What is checked

The plain mirror’s output resistance is asserted to be ror_o at its own collector current — not at the cascode’s, because at a small current gain the two branches do not carry the same current and comparing against the other circuit’s ror_o compares two operating points.

The lift the cascode gives is asserted against whichever of β\beta and gmrog_m r_o is smaller, rather than against a number, so the check carries the mechanism and holds at every setting of the slider rather than at the one it was written at. At the top of the sweep the measurement is asserted to land on gmro2g_m r_o^2 to within a quarter, which is the other ceiling appearing.

The held-base experiment is asserted to give more output resistance than the diode stack, which is the claim that the reference branch is where the missing resistance goes. The copy error is asserted to go to nothing for the cascode and to a floor above four per cent for the plain mirror as β\beta rises, and to have opposite signs at ordinary β\beta — three statements that between them say which error is which.

The compliance figure asserts that the cascode’s floor is higher — the cost, kept in the same figure as the benefit — and that its span is wider anyway at every band on the slider. That the plain mirror’s span is proportional to the band while the cascode’s is not is a claim across settings, so it is in the site’s gate rather than in the figure.

What is not modelled: the base-collector capacitance, so nothing here is a bandwidth; the mismatch between the four devices, which in a real mirror is a larger error than either of the two measured here and is a statistical statement rather than a solved one; the temperature, since every number is at 300 K; and the noise.

14.0× the bandwidth, for 2.0 V of the supply. computed by solving, not by drawing. The −3 dB bandwidth of a plain common-emitter stage and of the same stage with a cascode device above it, bisected on each one's solved magnitude, against the load resistance. At 100 kΩ the plain stage manages 56.1 kHz and the cascode 787 kHz, a factor of 14.0, and the reason is measurable at the inner node: the lower device's collector has a gain of 1.76 rather than of 3028, so the base–collector capacitance is multiplied by about two instead of by the stage gain. What it costs is not in either curve — the upper device takes 2.0 V of the 5 V supply for its own collector–emitter voltage, and that is signal swing that no longer exists. The plain stage's gain–bandwidth product is nearly a constant of the device across the three decades of load drawn — 1.27× — because its input capacitance is multiplied by precisely the gain it is buying; the cascode's rises by 9.6×, which is what having no such multiplication means.
Fig. 8 The quantity this essay does not measure, from the rung below: what the arrangement does in frequency, where it removes a coupling rather than trading one thing for another.

Forty-three per cent, in the branch nobody looks at

The result worth carrying out of this essay is not the factor of ninety in output resistance; it is that forty-three per cent of the resistance which should have been there is missing, and that it is missing in the reference branch rather than in the output one.

That is a mistake with a shape the collection has met before. The device that never sees the swing is the same device in the same arrangement, and its finding is the same kind: the output resistance is not gmro2g_m r_o^2 — 248 megohms for the case measured there — but βro\beta r_o, 11.5 megohms, because the upper device’s base draws current and shunts the very node the improvement was supposed to appear at. An expression with no ceiling in it, and a real ceiling set by a quantity the expression does not contain.

In both cases the correction comes from asking where the current actually goes rather than from refining the expression, and in both cases the answer is a node the small-signal picture draws as an open circuit. That is the argument for solving the netlist rather than evaluating the formula, made twice on one device — and it is why this essay reports the range over which the current is what it was set to (1.70 volts to 9.09) alongside the resistance, since a resistance is a slope and a range is what a bias network is actually bought for.

The range being the more useful number is worth one more sentence, because the two are not the same kind of quantity. An output resistance is a derivative at a point and says how much the current moves for a small change in voltage; a range is a statement about a tolerance being met across an interval, and it is what a specification is written in. A plain mirror’s current never stops climbing, so it has no range at any tolerance until one is stated — which is why 82 kΩ and 7.39 MΩ understate the improvement and 1.70 volts against 9.09 does not.

That distinction is the same one the source that is not a source draws for a voltage source, where an internal resistance is a slope and the edge is the current at which a stated tolerance is exceeded. A mirror is the current-source half of the same argument, and it has the same two ways of being described.

The symmetry between the two is exact and worth stating once. A voltage source is characterised by a resistance that should be zero and has an edge on the current axis; a current source by a resistance that should be infinite and has an edge on the voltage axis. Every result in this collection about one of them has a counterpart about the other, and the headroom this essay spends is the current-source version of the dropout voltage a regulator spends.

Part 2 on cascode

One argument about Cascode, and one of 2 essays on it so far, each part numbered by how much of the idea it assumes. What sits either side of it:

What links here

Essays that reach for this one mid-argument — the half of a link its own author cannot write down.

The objects named here

The third axis, after the field and the idea: the things themselves, and every essay that touches each one.

CascodeCompliance rangeCurrent mirrorDesign tradeoffEarly effectModel rangeOperating pointOutput impedance