Devices, and the amplitude they stop being linear at

Where the two exponents come from

What a resistor in the emitter buys measured two exponents and could explain neither: the distortion edge moves as the square of the degeneration factor and the gain edge as its 0.950 power, and at a factor of exactly three halves the gain error vanished. The degenerated transfer curve has no closed form forwards and an exact one backwards, and reverting that series gives all three. The distortion exponent is exactly two; the gain edge is proportional to D squared over the root of the absolute value of three minus twice D, which is infinite at three halves and tends to a three-halves power; and the two edges are 7.07 apart on the bare device and 1.62 at a factor of eleven, against 7.06 and 1.61 measured.

Assumes: What a resistor in the emitter buys · The distortion a linear model cannot have

What a resistor in the emitter buys ended with three measurements and no explanation of any of them.

The amplitude at which distortion reaches one per cent moves as the square of the degeneration factor — 1.984 fitted, close enough to two to be suspicious. The amplitude at which the gain is one per cent short moves as the 0.950 power, which is close to nothing in particular. And at a degeneration factor of exactly 1.500 the gain error vanished to second order, which was found because the slider produced a gain edge that was not monotone.

Three numbers, all measured, none derived. This essay derives them, and the route is short because the curve has a property nobody uses.

An exponential with 6× of degeneration: both edges move, and not togethercomputed by solving, not by drawing at 61 amplitudes. Total harmonic distortion reaches one per cent at 36.6 mV and the gain falls one per cent short of its small-signal value at 85.0 mV. An emitter resistor dividing the gain by 6 moves the distortion edge by 35.4 times — the square of the factor, because the resistor both divides the drive reaching the junction and linearises what the junction does with it — while the gain edge moves by only 11.6 times. So the two edges close up: 2.32 times apart here against 7.06 bare, and a well-degenerated stage stops being limited by its linearity and starts being limited by how accurately its gain is known.-5-4-3-2-1010m100mdrive amplitude (volts)log₁₀ of the errorharmonic distortiongain errorone per cent1% distortion at 36.6 mV1% gain error at 85.0 mVsolved, then checked — against the reverted series2.3× apart
Fig. 1 The two edges of a degenerated exponential, with the closed forms of this essay drawn faintly over the measured curves. The slider is the degeneration factor. The predictions are not fits: they come from reverting the curve’s exact inverse.

The curve has no closed form forwards and an exact one backwards

A bare exponential device gives i=ev/VTi = e^{v/V_T}. Put a resistor RER_E in the emitter and the current depends on itself, because the resistor’s own drop subtracts from what reaches the junction:

i=exp ⁣(viREVT)i = \exp\!\left(\frac{v - i R_E}{V_T}\right)

which has no solution in elementary functions and is why this collection solves it by Newton at every point, the same way it solves an operating point.

Turn it round, though, and it is trivial. Writing ii in units of the bias current and u=v/VTu = v/V_T, and with D=1+gmRED = 1 + g_m R_E the factor by which the degeneration divides the gain:

u=lni+(D1)(i1).u = \ln i + (D-1)(i-1).

That is exact, elementary, and one line. Everything below comes from it.

Reverting the series

Expand about the bias point, i=1i = 1. Differentiating the inverse:

dudi=1i+(D1),d2udi2=1i2,d3udi3=2i3\frac{du}{di} = \frac1i + (D-1), \qquad \frac{d^2u}{di^2} = -\frac1{i^2}, \qquad \frac{d^3u}{di^3} = \frac2{i^3}

which at i=1i = 1 are DD, 1-1 and 22. Reverting a series with those three derivatives gives

i=1+uD+u22D3+(32D)u36D5+i = 1 + \frac{u}{D} + \frac{u^2}{2D^3} + \frac{(3-2D)\,u^3}{6D^5} + \cdots

and the three coefficients are the whole content of the essay. The first is the small-signal gain divided by DD, which is the definition of DD and is a check rather than a result. The second and third are not.

For a cosine drive of amplitude u^\hat u, collecting harmonics gives

HD2=u^4D2,HD3=32Du^224D4,ΔAA=32Du^28D4.\mathrm{HD}_2 = \frac{\hat u}{4D^2}, \qquad \mathrm{HD}_3 = \frac{|3-2D|\,\hat u^2}{24D^4}, \qquad \frac{\Delta A}{A} = \frac{|3-2D|\,\hat u^2}{8D^4}.

Measured against the sampled transfer curve at u^=0.02\hat u = 0.02 and 0.050.05, across six degeneration factors, every one of those agrees to four or five significant figures. At D=6D = 6 and u^=0.05\hat u = 0.05: 3.4723×1043.4723\times10^{-4} against 3.4722×1043.4722\times10^{-4} for the second harmonic, 7.2340×1077.2340\times10^{-7} against 7.2338×1077.2338\times10^{-7} for the third, and 2.1702×1062.1702\times10^{-6} against 2.1701×1062.1701\times10^{-6} for the gain error.

The first exponent: exactly two

Setting HD2\mathrm{HD}_2 to a target tt and solving for the amplitude:

v^thd=4VTtD2\hat v_{\text{thd}} = 4 V_T\, t\, D^2

so the distortion edge is proportional to D2D^2 exactly, with no correction term at any DD. The 1.984 the previous rung fitted was two, and the four thousandths were the fourth-order remainder showing at the amplitudes the bisection was working at.

That is a better bargain than the trade is usually described as. Degeneration is spoken of as one-for-one — give up a factor of gain, get a factor of linearity — and it is one-for-two. Dividing the gain by six moves the amplitude at which one per cent of distortion arrives by thirty-six times.

The reason is visible in the expression rather than in the algebra. The resistor does two things: it divides the drive that reaches the junction by DD, and it linearises what the junction does with what it gets, also by DD. Only the first of those is what “dividing the gain” means, and the second comes free.

An exponential with 2× of degeneration: both edges move, and not together. computed by solving, not by drawing at 61 amplitudes. Total harmonic distortion reaches one per cent at 4.14 mV and the gain falls one per cent short of its small-signal value at 29.9 mV. An emitter resistor dividing the gain by 2 moves the distortion edge by 4.0 times — the square of the factor, because the resistor both divides the drive reaching the junction and linearises what the junction does with it — while the gain edge moves by only 4.1 times. So the two edges close up: 7.24 times apart here against 7.06 bare, and a well-degenerated stage stops being limited by its linearity and starts being limited by how accurately its gain is known.
Fig. 2 A factor of two, where the closed forms are drawn over the measurement and the distortion edge sits at 4.14 mV against a prediction of 4.14. At small degeneration the series is well inside its own range and the two curves are indistinguishable.
An exponential driven 10.0 mV either side of its bias. computed by solving, not by drawing. A sinusoid in, and out comes a waveform whose peaks are taller than its troughs are deep. The second harmonic is 9.61% of the fundamental, measured by transforming 512 samples and predicted independently as I₂(0.387)/I₁(0.387) = 9.61%. The two routes agree to 5e-10 over the 5 harmonics that stand above the arithmetic's own floor, and share nothing but the amplitude.
Fig. 3 Where the second harmonic comes from, one level down: the bare exponential’s own harmonic content against drive. The degenerated curve’s u^/4D2\hat u/4D^2 is that quantity with D2D^2 under it.

The second exponent, which is not an exponent

Setting the gain error to a target gg:

v^gain=22g  VT  D232D\hat v_{\text{gain}} = 2\sqrt2\,\sqrt{g}\; V_T \; \frac{D^2}{\sqrt{|3-2D|}}

which is not a power of DD at all. It is D2D^2 divided by the root of a linear function of DD, and the 0.950 the previous rung fitted was a local slope of that expression over the range it happened to be fitted on.

Checking that reading: between D=2D = 2 and D=6D = 6 the expression gives 4/1=44/\sqrt1 = 4 and 36/9=1236/\sqrt9 = 12, a ratio of three over a DD ratio of three — a local exponent of exactly 1.000, and the measured edges 29.93 mV and 84.95 mV give 0.949. The fit was measuring a crossover.

Two things follow that a power law would have hidden.

Asymptotically the exponent is 3/23/2. For large DD, 32D2D|3-2D| \to 2D and the expression tends to D2/2DD3/2D^{2}/\sqrt{2D} \propto D^{3/2}. So the gain edge does eventually settle into a power law, and it is a three-halves rather than a first power — evaluated between D=100D = 100 and D=300D = 300 the expression’s local exponent is 1.494.

And there is a pole at D=3/2D = 3/2. The factor 32D|3-2D| is zero there, and the predicted gain edge is infinite.

An exponential with 11× of degeneration: both edges move, and not together. computed by solving, not by drawing at 61 amplitudes. Total harmonic distortion reaches one per cent at 116.3 mV and the gain falls one per cent short of its small-signal value at 187.5 mV. An emitter resistor dividing the gain by 11 moves the distortion edge by 112.5 times — the square of the factor, because the resistor both divides the drive reaching the junction and linearises what the junction does with it — while the gain edge moves by only 25.7 times. So the two edges close up: 1.61 times apart here against 7.06 bare, and a well-degenerated stage stops being limited by its linearity and starts being limited by how accurately its gain is known.
Fig. 4 A factor of eleven, and the edge of the closed form’s own range. The predicted distortion edge is 125.1 mV against 116.3 measured — seven per cent out, because the series is a small-signal expansion and 116 millivolts is four and a half thermal voltages.

The three halves, explained

The previous rung found the null empirically: at D=1.500231D = 1.500231 at five millivolts of drive, 1.5009191.500919 at ten and 1.5036191.503619 at twenty, converging on 1.5 from above.

The expression says why. The gain error and the third harmonic share the coefficient (32D)(3-2D), and it is zero at D=3/2D = 3/2 exactly. Both quantities vanish there, to second order in the drive, and what is left is the fourth-order remainder — which is why the measured null sits slightly above 1.5 and converges on it as the drive falls.

The physical reading is a cancellation between two mechanisms that were always there. A bare exponential’s incremental gain rises with amplitude, because the curve is convex. Local feedback compresses gain with amplitude, because more current means more drop across the resistor. Both are second order in the drive, so at one particular amount of feedback they cancel, and 3/23/2 is that amount.

The check is a strong one, because it predicts something the previous rung did not measure: if the mechanism is a shared coefficient then the third harmonic must vanish at D=3/2D = 3/2 too. It does. At D=1.5D = 1.5 and u^=0.05\hat u = 0.05 the third harmonic measures 9.5×10109.5\times10^{-10} against 1.04×1041.04\times10^{-4} on the bare device — five orders down, and the residue is the fourth-order term rather than a small non-zero coefficient.

An exponential with 1.5× of degeneration: both edges move, and not together. computed by solving, not by drawing at 61 amplitudes. Total harmonic distortion reaches one per cent at 2.33 mV and the gain falls one per cent short of its small-signal value at 71.8 mV. An emitter resistor dividing the gain by 1.5 moves the distortion edge by 2.3 times — the square of the factor, because the resistor both divides the drive reaching the junction and linearises what the junction does with it — while the gain edge moves by only 9.8 times. So the two edges close up: 30.85 times apart here against 7.06 bare, and a well-degenerated stage stops being limited by its linearity and starts being limited by how accurately its gain is known.
Fig. 5 The null itself. At three halves the third harmonic and the gain compression have both gone, the gain edge has run away off the top of the useful range, and the two edges are thirty-one times apart against 7.06 on the bare device.

The distance between the two edges

Dividing one edge by the other, the D2D^2 cancels:

v^gainv^thd=2g2t32D\frac{\hat v_{\text{gain}}}{\hat v_{\text{thd}}} = \frac{\sqrt{2g}}{2t\sqrt{|3-2D|}}

and with both targets at one per cent that is 7.0711/32D7.0711/\sqrt{|3-2D|}.

At D=1D = 1 it is 7.071, and the previous rung measured 7.06 on the bare device.

At D=11D = 11 it is 7.0711/19=7.0711/\sqrt{19} = 1.622, and the previous rung measured 1.61.

Both numbers were measurements with nothing behind them, and both come out of one expression with the degeneration factor in a single place. The figure asserts the closed form against the bisected edges at every setting of the slider except D=3/2D = 3/2, where the expression divides by zero and the assertion is replaced by the claim that the ratio exceeds twenty — the same statement made where it can be checked.

The design reading is what the previous rung stated and could not justify. The two boundaries close up as the degeneration rises, so a well-degenerated stage runs out of gain accuracy before it runs out of linearity — and now the crossing point is computable rather than observed. They are equal when 32D=50|3-2D| = 50, which is D=26.5D = 26.5: a stage whose gain has been divided by twenty-six and a half, with both edges at 726 millivolts — an amplitude twenty-eight thermal voltages out, where the expansion that produced the number has long since stopped applying. So the crossing is a statement about the trend rather than a design point, and the useful reading is the trend: the two edges close as DD rises and there is no degeneration factor at which the gain edge is the far one again.

One exponential and one pair, both driven 20.0 mV. computed by solving, not by drawing. The pair's characteristic is odd, so its even harmonics vanish: the second comes out at 1.5e-16 of the fundamental against 18.88% for the single stage. It is not a small residue but the floor of the arithmetic. The price is the third harmonic, 1.202% against 2.404%, and total distortion of 1.202% against 19.03%.
Fig. 6 The other way to move a distortion edge, and the reason the two are worth telling apart. A pair cancels the even harmonics by symmetry rather than shrinking them by feedback, so its leading term is the third and its two edges are within a factor of three of each other from the start.
An exponential with 4× of degeneration: both edges move, and not together. computed by solving, not by drawing at 61 amplitudes. Total harmonic distortion reaches one per cent at 16.5 mV and the gain falls one per cent short of its small-signal value at 51.7 mV. An emitter resistor dividing the gain by 4 moves the distortion edge by 15.9 times — the square of the factor, because the resistor both divides the drive reaching the junction and linearises what the junction does with it — while the gain edge moves by only 7.1 times. So the two edges close up: 3.14 times apart here against 7.06 bare, and a well-degenerated stage stops being limited by its linearity and starts being limited by how accurately its gain is known.
Fig. 7 Degenerated four times. The distortion edge is at 16.5 mV and the gain-error edge at 51.7 — 3.14 times apart. The distance between the two edges is the quantity this page is about, and it falls as the degeneration rises: at 1.5× they are further apart than this and at 11× they are closer.

Why reverting is worth the trouble

The route this essay takes is unusual enough to be worth defending, because there is an obvious alternative that does not work.

The obvious route is to expand the forward relation. But the forward relation does not exist in closed form, so the expansion has to be built by implicit differentiation of i=exp((viRE)/VT)i = \exp((v-iR_E)/V_T), which gives each coefficient in terms of the ones before it and produces expressions that grow quickly and carry no structure. Two terms in and the (32D)(3-2D) is nowhere visible.

The inverse route is different because the inverse is a sum of two elementary functions — a logarithm and a straight line — whose derivatives at the bias point are DD, 1-1, 22 and, if wanted, 6-6. The degeneration appears in exactly one of them, the first, and every later derivative is the bare exponential’s. So reverting the series puts DD in the denominators as powers and lets the numerators carry the device’s own shape, which is where (32D)(3-2D) comes from: it is 33 from the logarithm’s own third-order behaviour minus 2D2D from the linear term interacting with the second-order one.

That is the general lesson and it is not specific to transistors. A relation that is implicit one way round and explicit the other should be expanded the explicit way and reverted, and the structure of the answer survives the reversion. It is the same reason a resistance is easier to work with than a conductance in some networks and the other way round in others, applied to a series rather than to a matrix.

Where the closed form itself stops

The expansion is a small-signal one, which means it is a model with a range like everything else here, and the figure is explicit about where it ends.

At small degeneration the edges are small — a millivolt for distortion on the bare device — and the series is deep inside its own region of validity: the predicted edge is 1.0341 mV against 1.0341 measured, which is agreement to five figures.

At D=11D = 11 the distortion edge has moved to 116 millivolts, which is four and a half thermal voltages, and the third-order term the series was truncated after is no longer small. The prediction is 125.1 mV against 116.3 measured — seven per cent out, in the direction of optimism.

So the closed form’s own boundary is an amplitude, in units of VTV_T, exactly like the boundary it is describing. Below about two thermal voltages it is good to a per cent; above four it is out by several. That is the honest scope of it and it is worth stating plainly, because a closed form printed without one is the thing this collection exists to avoid.

The measured edges do not have that limitation, which is why the figure keeps bisecting them rather than evaluating the expression. The expression is there to say why the numbers are what they are; the bisection says what they are.

A differential pair: where its distortion and its gain give way. computed by solving, not by drawing at 61 amplitudes. Total harmonic distortion reaches one per cent at 18.2 mV and the gain falls one per cent short of its small-signal value at 10.4 mV. The gain gives way first, and the two are only 1.75× apart: a pair has no second harmonic to produce, so its leading distortion term is the third — second order in the drive, which is the order the gain error already had.
Fig. 8 And where the closed form itself stops: a differential pair, where the gain edge arrives first at 10.4 mV and the distortion edge at 18.2 — the order of the two is reversed, and 1.75 times apart. The exponents this page derives are for a single degenerated device; the pair cancels the even harmonic and the whole ordering changes with it.

What the resistor is doing to the feedback, in the loop’s language

There is a second way to see all of this that connects it to the feedback field, and it makes the D2D^2 obvious rather than algebraic.

Local degeneration is series feedback. The loop gain around the device is gmRE=D1g_m R_E = D - 1, and the closed-loop transconductance is gm/Dg_m/D, which is the usual desensitivity result. Feedback theory then says that a distortion generated inside the loop is reduced by the return difference, DD — one factor.

The second factor is not a feedback effect at all. It comes from the drive at the junction being smaller by DD for the same input, and the second harmonic of an exponential being first order in the drive. So the harmonic that would have been produced is itself DD times smaller before the feedback reduces it by another DD.

That decomposition also explains why the gain error does not get the same treatment. Gain compression is second order in the drive, so dividing the drive by DD reduces it by D2D^2, and the return difference reduces it by another DD — three factors, and an edge that should move as D3/2D^{3/2}. It does, asymptotically. The 32D|3-2D| in the denominator is the cancellation term that dominates at small DD and dies away, leaving the feedback counting to take over.

So the two exponents are the same argument counted twice, once for a first-order quantity and once for a second-order one, and the only thing feedback theory does not supply is the sign that makes them cancel at three halves.

Where the two boundaries are met

Two amplitude boundaries that swap order depending on the device is the finding this field’s amplitude essays all rest on. What a resistor in the emitter buys is the parameter that moves them and the distance between them. What a pair cancels, and what it only halves is where the order reverses, because the pair removes the even harmonic and leaves the gain error first. The order that stops helping and What the fourth order says about the third are the series behind the exponents, with its own radius. How small is small signal is the undegenerated case, and The distortion a linear model cannot have is the measurement both exponents are fitted to.

What is checked

Three assertions, and each is the closed form against a route that shares no arithmetic with it.

That the second harmonic is u^/4D2\hat u/4D^2, to five parts in a thousand, against the harmonic content of a curve sampled and transformed. The prediction comes from reverting an inverse; the measurement comes from a discrete transform of a Newton-solved curve.

That the gain error is 32Du^2/8D4|3-2D|\hat u^2/8D^4, to two per cent, at every degeneration factor except the null itself — where it is zero and a relative comparison is meaningless.

And that the ratio of the two edges is 2g/2t32D\sqrt{2g}/2t\sqrt{|3-2D|}, to ten per cent, against the edges bisected on the sampled curve. That is the assertion that connects this essay to what a resistor in the emitter buys: two numbers measured there with nothing behind them — a distortion edge moving as the square of the degeneration factor and a gain edge as its 0.950 power, with the gain error vanishing at a factor of exactly three halves — coming out of one expression that was not available when they were found.

What a reversion buys, and what it costs

The degenerated transfer curve has no closed form forwards and an exact one backwards, which is the fact this essay is built on, and it is worth saying what that kind of result is generally good for.

It gives exponents rather than values, and exponents are what transfer between designs. That the distortion exponent is exactly two rather than 2.00-as-measured means it will still be two on a different device at a different bias, and that the gain edge goes as D2/32DD^2/\sqrt{|3-2D|} explains a singularity at D=3/2D = 3/2 that no amount of measuring would have identified as exact.

What it costs is a range, and the range is measured on the rungs above. What the fourth order says about the third carries the reversion one term further and finds the leading expression 6.89 per cent optimistic where it predicts 7.33, taking the residue to 0.362 per cent — so the closed forms on this page are themselves truncations with their own edges. And the order that stops helping finds where carrying more terms stops being worth it: the error of an expression truncated at order mm grows as the mm-th power of the drive, so every added order buys a range ending sooner than the last, and above 8.9 thermal voltages the six-term expression is further from the device than the four-term one.

Which is the honest frame for everything here. A reversion turns a measurement into a structure, the structure is exact in a limit, and the limit’s edge is another measurement.

The singularity at D=3/2D = 3/2 is the part of that structure most worth carrying, because it is the one thing on this page that a measurement could not have produced. A gain edge proportional to D2D^2 over the root of 32D|3-2D| is infinite at one value of the design parameter, which reads on a sweep as a point where the error happens to vanish and reads in the expression as a pole. The difference matters for a design: a value at which an error is small is a value with a tolerance around it, and a value at which an expression diverges is a value the design should not be near, because the next term decides what happens there and it is not in this expression.

That is the same caution what the fourth order says about the third supplies in the other variable, and the two together bound this essay’s results from both sides: in the drive, by the order at which the series was truncated, and in the degeneration, by the point at which the truncated expression stops being finite. Two bounds on one closed form, both measured, and between them the region in which the three exponents on this page are what a design should be sized by.

Part 2 on emitter degeneration

One argument about Emitter degeneration, and one of 4 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.

Emitter degenerationEven harmonic cancellationGain compressionLinearisationLocal feedbackSecond-order approximationTotal harmonic distortionTransfer curve