Field

Devices, and the amplitude they stop being linear at

An operating point is where a transcendental equation and a linear network agree, and finding it is Newton's method on the whole netlist. Past that, the thing a linear model cannot express at all: distortion. It arrives seven times sooner than gain error does, its harmonics are Bessel functions of the drive, and a differential pair removes every even one of them exactly.
A diode fed from 5 V through 1.0 kΩ. computed by solving, not by drawing. The operating point is where the exponential meets the load line: 0.692544 V and 4.3075 mA, reached in 13 damped Newton steps from a cold start. The one-line Newton on Vs = v + R·i(v), which touches no matrix, gives 0.692544 V. The "drop" is not a constant: it moves 59.53 mV per decade of current, measured between two solved operating points.

A bias point is a solution, not a choice

The phrase "the diode drops 0.7 volts" is a constant standing in for the root of a transcendental equation. Solved properly, from a five-volt supply through a kilohm, it drops 0.692544 V — and from forty-eight volts through the same kilohm it drops 0.754459 V, because the drop moves about sixty millivolts for every decade of current through it.

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.

The distortion a linear model cannot have

A small-signal model's output is a scaled copy of its input by construction, so it has no second harmonic and asking it for one is not a hard question but a meaningless one. Measured on the curve itself, an exponential produces one per cent of harmonic distortion at 1.03 mV of drive — seven times sooner than the 7.30 mV at which its gain is one per cent wrong.

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%.

What a pair cancels, and what it only halves

A differential pair's transfer characteristic is an odd function, and an odd function driven symmetrically produces no even harmonics at all. Measured, the second harmonic comes out at 10⁻¹⁶ of the fundamental — the arithmetic's own floor, not a small physical residue. The third harmonic is a different story, and it comes out at exactly half the single stage's, which is a reduction and not a cancellation.

A common-emitter stage with 2.0 pF from collector to base. computed by solving, not by drawing. The stage's midband gain is 144.7 and its −3 dB point is at 504 kHz. The Miller approximation lumps 311 pF at the input and predicts 643 kHz — 21.6% high. The network's second pole is at 336 MHz and its right-half-plane zero at 3.08 GHz, both of which the approximation has no room for.

The frequency a device sets for itself

A common-emitter stage's bandwidth is decided by two picofarads between its collector and its base. The Miller approximation says how — lump it at the input, multiplied by one plus the gain — and predicts 643 kHz where the solved network gives 504 kHz. Twenty-two per cent optimistic, and it has no room at all for the second pole or for the zero in the right half-plane that the network also has.

A diode's drop from 250 to 400 K, at 1.00 mA. computed by solving, not by drawing. Thirty-one operating points, each Newton's method on the exponential at its own temperature. The drop falls at 1.828 mV/K measured against 1.830 mV/K from the closed form — falls, although the thermal voltage in the exponent rises, because the saturation current rises faster. Over the same range the slope per decade of current goes the other way, from 49.6 mV to 79.4 mV, because that one is Vₜ ln 10 and nothing else.

Two millivolts a kelvin, and the wrong sign

Every number in the semiconductor field was computed at 300 K, and the model had no temperature in it at all. Putting it in moves a diode's drop by 1.828 mV/K — downwards, although the thermal voltage in the exponent is rising, because the saturation current rises by nine orders of magnitude across the same range. Two temperature dependences of one device, of opposite sign, from one solve.

What a 5% mismatched pair leaves behind, across 150 K. computed by solving, not by drawing. A saturation-current mismatch of 5.0% appears as an input offset of Vₜ·ln(m) — 1.2613 mV at 300 K — which is proportional to absolute temperature and therefore drifts at 4.2044 µV/K, exactly the offset divided by the temperature. That is 3333 ppm per kelvin at every mismatch on the slider, because the ratio is 1/T and contains nothing about the device. One junction on its own drifts 1.828 mV/K, 435 times harder.

What matching does about temperature

A pair cancels the 1.8 mV/K that broke the previous essay, and what it leaves behind is exact: a saturation-current mismatch of m shows up as an offset of the thermal voltage times ln(m), which is proportional to absolute temperature and therefore drifts in proportion to itself. 3 333 parts per million per kelvin, at every mismatch on the slider, because the ratio is 1/T and contains nothing about the device at all.

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.

The copy, and its two errors

Every account of a current mirror leads with the base currents: two are stolen from the reference, so the copy is beta over beta plus two, which is 1.32 per cent at beta of 150 and is what a third transistor is spent on. The Early effect is a footnote and is nine times larger over any useful swing — 11.2 per cent between one volt and ten. Moving beta from 20 to 1000 changes the first by a factor of forty-five and the second by nothing at all.

A follower's output impedance from 1 kΩ of source, bare and with 100 pF on it. computed by solving, not by drawing, on a small-signal follower at 2.0 mA with β = 150 and fT = 560 MHz. At 100 Hz the emitter presents 19.08 Ω against a textbook 1/gₘ + Rₛ/(β+1) of 19.55 Ω — the expression is an upper bound here and at every source resistance on the slider, 2.4% high at this one. What it cannot describe is the frequency axis: the β that divided the source resistance down is itself falling, so the impedance rises, and the reactance at 3 MHz is 4.3 Ω — an inductance of 0.229 µH against Rₛ/ωT = 0.284 µH. With 100 pF hung on the output that impedance peaks at 67.0 Ω at 29.3 MHz, 3.51 times its own low-frequency value: an inductive source and a capacitive load are a resonant circuit, and this one is inside a part whose output impedance is quoted as a single number.

The buffer that is not a buffer

An emitter follower is reached for when something has to be driven without being loaded: unity gain in, high impedance seen, low impedance presented. The last of those is a number with a range, and the range is narrow. At a kilohm of source the emitter presents 19.08 ohms at low frequency and 67 ohms at 29 megahertz, because the current gain that made it small is falling — and the peak is worst in the middle of the slider, so it cannot be avoided by making the source stiffer or softer.

An exponential with 6× 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 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.

What a resistor in the emitter buys

Degeneration is described as a trade: give up gain, get linearity. Measured on the transfer curve, the two sides of that trade are not the same size. Dividing the gain by six moves the amplitude at which distortion reaches one per cent by thirty-five times — the square of the factor — and the amplitude at which the gain is one per cent out by only twelve. So the two edges close up, and a well-degenerated stage stops being limited by its linearity and starts being limited by how accurately its gain is known.

A follower with 1000 pF on it looks like -1182 Ω of negative resistance. computed by solving, not by drawing. The impedance looking into the base of an emitter follower carrying 5.0 mA, with 1000 pF on its emitter. The real part is negative from 1.25 MHz upward and reaches -1182 Ω at 3.40 MHz: the load's reactance multiplied by a complex current gain, with nothing added to the model. A negative resistance is not an oscillator until a reactance cancels, and the base lead supplies it — the total loop reactance passes through zero at a frequency the inductance chooses, and the loop resistance there goes negative above 74.9 nH with 10 Ω of source, which is a few centimetres of wire. A hundred ohms of source raises that to 913 nH: the repair is a resistor in the base, and it works by making the source worse.

The input that pushes back

An emitter follower with a capacitor on its emitter has a negative resistance looking into its base — 1182 ohms of it at 3.4 megahertz for a nanofarad, with nothing added to the model. A negative resistance is not an oscillator until a reactance cancels, and the base lead supplies it: with ten ohms of source the loop goes unstable above 74.9 nanohenries, which is seven centimetres of wire. The repair is the opposite of the instinct — a hundred ohms of source raises the threshold to 913 nanohenries, so the fix for a follower that oscillates is to make the thing driving it worse.

An exponential with 6× 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 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.

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.

The square law is within 1% over a factor of 1.06 in overdrive. computed by solving, not by drawing. One field-effect device drawn against the two models it is between: the square law, which is zero below threshold and rises as the square of the overdrive, and the weak-inversion exponential, which rises at 77.4 mV per decade. The device is neither and approaches both. The two errors point opposite ways — the subthreshold current lifts it above the square law below, and velocity saturation holds it below above — so the square law is exact at 156.5 mV and the shaded band is where it is inside 1%: 152.0 mV to 161.7 mV, a factor of 1.06. The slider is the velocity-saturation voltage, which is the channel length times a critical field, so what it moves is the band's width and not its position.

The exponent that is a square

Every device in this collection so far has been an exponential, and the whole of its arithmetic — 59.5 millivolts a decade, a distortion edge at 1.03 millivolts, 3,333 parts per million a kelvin — comes out of that one law. A field-effect device obeys a different one, and the interesting part is that it obeys both: an exponential below threshold and a square above it. The square law is within one per cent over a factor of 1.06 in overdrive at half a micron, and the two errors that bound it point opposite ways.

A pair's third-order intercept is 7.8 dB above anything it can produce. computed by solving, not by drawing. Two equal tones through a differential pair, transformed coherently so every product lands in a bin of its own. The fundamental rises with slope 1.000 and the third-order product with slope 3.000, both fitted over the decade marked, and the dashed extensions are the extrapolation a specification quotes. They meet at a drive of 4.00 thermal voltages and an output of 2.00 — against a largest output of 0.8108, which is 8/π² and is what two equal tones give through a limiter. The intercept is 7.84 dB above it, which is π²/4 exactly.

The point the device is never at

A device's linearity is specified by one number, and that number is a place on no curve. The third-order intercept is where two straight lines would cross if both went on being straight, and neither does. For a differential pair the crossing sits π²/4 — 7.84 decibels — above the largest output the device can produce at any drive whatever, and the arithmetic that says so contains no tail current and no temperature.

The fourth-order term explains 95% of what the third leaves out. computed by solving, not by drawing. Two closed forms for the amplitude at which a degenerated stage reaches 1% of second harmonic, each against the same measurement — a bisection on the harmonic content of a Newton-solved curve, which shares no arithmetic with either. The leading expression is 4Vₜ·t·D², derived by expanding the transfer curve and exact in the limit of small drive; its error grows as the 1.96 power of the drive it is evaluated at. At a degeneration of eleven that drive is 4.53 thermal voltages and the expression is 6.89% optimistic. Carrying the reversion one order further takes it to 0.362%.

What the fourth order says about the third

A closed form derived by neglecting the fourth-order term is a claim with an error, and the error is a quantity the fourth-order term can be asked about. Carried one order further, the degenerated exponential's reversion predicts 7.33 per cent where the leading expression was measured to be 6.89 per cent optimistic — and takes the residue to 0.362 per cent. The correction has its own edge, in the same quantity, and it is measured too.

Every order buys less range than the one before, and above 9 Vₜ the sixth is worse than the fourth. computed by solving, not by drawing. The error of the same expression truncated at three orders, against the drive it is evaluated at, with the measurement it is chasing being a Newton-solved transfer curve that knows about no series at all. Each truncation's error grows as its own order in the drive — fitted at 2.00, 4.00, 5.88 against 2, 4 and 6 — so each buys a further range at a stated accuracy: inside 1% the leading expression is good to 1.12 thermal voltages, the fourth order to 3.88 and the sixth to 7.03, factors of 3.46 and 1.81. Beyond all of them the series stops helping: at 8.9 thermal voltages, where the second harmonic is 11.4%, the sixth-order expression is exactly as wrong as the fourth and is worse above it. What a designer does there is bisect the curve.

The order that stops helping

Three essays in this field have derived expressions for the amplitude at which a degenerated stage's distortion reaches a target, each one order longer than the last, and each one nearer the measurement. This is where that stops. The error of an expression truncated at order m grows as the m-th power of the drive — 2.00, 4.00 and 5.88 measured — so every added order buys a range that ends sooner than the last one bought, and above 8.9 thermal voltages the six-term expression is further from the device than the four-term one.

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.

The device that never sees the swing

A second transistor standing between the first and the load does two things that every reference gives one expression each for, and one of the two expressions has no ceiling in it. The output resistance is not gₘrₒ² — that is 248 megohms here, and the measurement is 11.5 — it is βrₒ, because the upper device's base draws current and shunts the very node the feedback works through. The bandwidth really is fourteen times better, and what it costs is two volts of a five-volt supply.

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.

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.

300 mirrors built to one design, with 2% device mismatch. computed by solving, not by drawing. Every pair in the population is a full Newton solve of the same netlist with two saturation currents drawn from a normal distribution, the Early conductances iterated to self-consistency for each. The mean is 3.836 per cent, which is the systematic error the rung below computed with identical devices (3.937 per cent) — the mismatch does not move it. The spread about it is 1.955 per cent, which is the device mismatch arriving with nothing dividing it, and the worst pair of the 300 is 8.43 per cent out. A design whose specification is the mean has specified the one mirror nobody has.

The error that is a distribution

The rung below solved a mirror and separated two errors — one that falls with beta and one that does not. Neither is what limits a real mirror. Two transistors on the same die differ, a fractional difference in saturation current is a fractional difference in collector current with nothing dividing it, and the honest object is a spread rather than a number: mean 3.84 per cent, standard deviation 1.96, worst of three hundred 8.43. Degeneration divides it by one plus gm·R and stops at the resistors' own tolerance, and where it stops is a voltage — a hundred millivolts, containing nothing but the ratio of two tolerances.

A follower fed through 100 nH has an output resistance of -21.9 Ω. computed by solving, not by drawing. The real part of the impedance looking into the emitter, driven by a current source and read, at every frequency. At direct current it is 5.50 ohms, which is the same rₛ/(β+1) + 1/gₘ the follower's first essay computed. Between 110 MHz and 301 MHz it is negative: rπ and Cπ delay the current the transistor sources into the emitter, and past a quarter of a cycle of delay pushing the emitter up makes the device push it up as well. The dashed curve is the same follower with no inductance between the source and the base, and it never goes below zero — the sign belongs to the wire and the transistor together, and to neither alone.

The resistance that is below zero

An emitter follower's output resistance is 5.5 Ω at direct current and −21.9 Ω at 257 MHz, and the sign is not the transistor's: with an ideal source at the base there is no negative band at all, and a hundred nanohenries of wire between the source and the base produces one from 110 to 301 MHz. A capacitance resonating inside that band is a resonator with loss of the wrong sign, so 4.7 to 100 pF on the emitter oscillates while 1 pF and 470 pF do not — a band of load capacitance with quiet ground on both sides of it.

One output in saturation takes 6.5% off another that is at five volts. computed by solving, not by drawing. A three-transistor mirror: a reference, an output taken down into saturation, and a third output held at five volts throughout. The upper curve is the saturating output's own loss and the lower one is the sibling's. At 50 mV the saturating output is 27.3 per cent down and the sibling, which is nowhere near saturation, is 6.54 per cent down. The reference current moves by -0.0188 per cent, which is nothing: a base current is a hundred and fiftieth of a collector current and the reference is set by a resistor from the supply. What does move is the base-emitter voltage every output shares — by -1.75 millivolts — and every output is an exponential of it.

The refusal, and what it was protecting

A current mirror's model has declined to answer below two hundred millivolts of collector-emitter voltage since it was written, because it has no base-collector junction and would return a forward-active current for a saturated transistor. Put the junction in and the refusal turns out to have been placed where the model it protects is still right to seven parts in ten thousand — and the mirror's real failure is somewhere else entirely: a saturated output takes six and a half per cent off an output that is sitting at five volts.

A diode thermometer measuring its own sense current, at 600 K/W. computed by solving, not by drawing. The same fixed point as the core and the thermistor, on a junction: the dissipation is I·V and V falls with temperature, so the loop gain is negative and the equation has one root at every current. What it costs is two errors. The junction sits above ambient by 0.29 millikelvin at a microamp and 4.26 kelvin at ten milliamperes, which a calibration removes; and a kelvin of ambient produces less than a kelvin of junction, by 1/(1 − R_th·dP/dT), which it does not. After a calibration at 25 degrees the reading at 85 is out by -583 millikelvin at ten milliamperes and -0.09 at a microamp. The coefficient itself moves too — -2.403 against -1.613 millivolts a kelvin — so a quoted tempco carries a sense current as well as a junction.

The sensor inside its own answer

A junction driven from a current source cannot run away, because its forward voltage falls with temperature and its loop gain is therefore negative. What that costs is a thermometer that is warmer than what it is measuring by 4.26 kelvin at ten milliamperes, and — the part a calibration cannot remove — under-reports every change in ambient by 9,584 parts per million, because the sense current's own dissipation falls as the reading rises. Calibrated at 25 degrees, it is out by 583 millikelvin at 85.

The band closes over a stage's own bias at 7.93 microns. computed by solving, not by drawing. The overdrive over which the square law is within 1.0 per cent, against the channel length that sets it — the velocity-saturation voltage is Ec·L, so the axis is a size and not a bias. The shaded region is the band; the curve through it is the overdrive at which the square law is exact, which exists at every length because the subthreshold and velocity-saturation errors have opposite signs. Both edges move: the lower one from 79.6 mV to 252.9 mV and the upper from 81.2 mV to 1200.0 mV, so the band is a factor of 1.021 at 0.050 µm and 4.7 at 30 µm. The fourth curve is the overdrive a common-source stage with a fixed gate voltage and a fixed source resistor solves to, which barely moves at all; it leaves the band at 7.929 microns and is outside it for every shorter device. What the square law would have said about that stage is the last two rows: 220 per cent too much current on the 0.050 µm device and 53 per cent too much efficiency, against 0.15 and 0.66 per cent at 30 µm.

The length that is a voltage

The square law's band is closed from above by a parameter that is not a bias, a current or a temperature: it is the channel length, wearing a voltage's units. Swept, the band goes from a factor of 4.74 on a thirty-micron device to 1.021 at fifty nanometres — and the overdrive a stage actually biases itself to barely moves at all, so the two cross at 7.93 microns and every shorter device is biased outside the band. The band was also measured in the wrong quantity: the square law is exact in the current somewhere at every length, and its error in the transconductance is never below 42.5 per cent at fifty nanometres and reaches one per cent only above 6.502 microns.

The resistance that just stabilises it is 17 times smaller than the one that damps it. computed by solving, not by drawing. Two consequences of one base resistor, against how much of it there is, for a follower fed through 100 nH of wire with 47 pF on its emitter. The falling curve is the Q of the worst pole pair, rooted from the determinant so that no frequency grid is involved; the rising one is the output impedance the stage presents at low frequency. Bisecting on the SIGN of the pole's real part returns 69.7 Ω — at which the pair is stable with a Q of 1.7e+15, which is to say no damping and a peak whose height belongs to the arithmetic. A Q of one needs 1.15 kΩ, 16.6 times more, and that resistor takes the output impedance from 5.66 to 13.10 Ω — exactly R/(β+1) added, which is the bare follower's own expression with the base resistance in the place of the source resistance.

What the cure at the base costs

Bisecting for the smallest base resistor that stops an emitter follower oscillating gives 8 to 79 ohms. That bisection stops at the sign change, so at the value it returns the pole pair sits on the imaginary axis with a real part of 10⁻⁷ per second and a quality factor of 1.7 × 10¹⁵ — stable, and undamped. A quality factor of one needs 1.15 kΩ at 47 pF, sixteen times more, and that resistor takes the output impedance from 5.66 to 13.10 ohms. The other cure the model has always accepted and nothing has ever used is a resistor at the emitter: it reaches the same damping with 5.68 ohms and costs half the signal.

Degeneration removes the second-order product 9 times less well than the third. computed by solving, not by drawing. Both intermodulation products of a degenerated stage at 5 mV a tone, against the degeneration factor. The second-order product falls as D⁻² — the straight reference is exactly that law, anchored at D = 1 — and the fitted exponent is -2.000. The third-order product falls faster, as D⁴/|3 − 2D|, which is one more power of D at large factors, and it collapses altogether at D = 1.5 where its coefficient changes sign. So the ratio between the two goes from 20.7 at D = 1 to 183 at D = 16: the more linear the stage is made, the more completely its distortion is the product a third-order account never measures.

The product that is not the third

Every distortion result in this field is odd-order, and every two-tone calculation behind those results computed the second-order product and threw it away. On a bare exponential it is the drive over twice the thermal voltage — 1.934 × 10⁻² of the fundamental at a millivolt, against 1.870 × 10⁻⁴ for the third-order product, a ratio of 4Vₜ/a and a hundred and three to one. A differential pair puts it at 6.2 × 10⁻¹⁶. And degeneration removes it as D⁻² where it removes the third order as D⁴/|3 − 2D|, so a stage linearised until its third-order product is negligible is a stage whose distortion is almost entirely the one nobody measured.

Three mismatches, and only one of them reaches the output. computed by solving, not by drawing. Each of the three quantities that can differ between the two transistors is given a spread of its own, one at a time, and 200 pairs are solved at each. The saturation currents produce a spread that follows them exactly — exponent 0.998, so 1.910 per cent of copy error for two per cent of mismatch. The current gains produce a line of slope 2.003, which is second order rather than first, and land at 2.20e-4 per cent for the same two. There is no third line because there is no third component: with no emitter resistors there is nothing for a resistor tolerance to be a tolerance of, and matching a mirror is a statement about emitter area and about nothing else.

The mismatch that cancels itself

A current mirror's copy error is spread by three things the two transistors can differ in, and the population that measures it has always drawn all three at once. Turned on one at a time, a two per cent spread of saturation currents gives 1.910 per cent of copy error and a two per cent spread of current gains gives 0.00022 — because the gains enter only as a sum of reciprocals, which has no first derivative where they are equal. Then the standard cure un-cancels it, by a factor of 86.

Held one drop and 300 mV up, the cascode's floor falls from 0.832 V to 0.403 V. computed by solving, not by drawing. The output current of two cascode mirrors against their output voltage near the bottom of the supply, each divided by its own value at 5 V, on a model whose transistors saturate. The stacked mirror holds its upper device's base two drops up and stays within one per cent down to 0.832 V; the wide-swing mirror holds it one drop and 300 mV up, which leaves the lower device 0.302 V of collector-emitter voltage, and stays within one per cent down to 0.403 V. Its output resistance at 5 V is 13.2 MΩ against 7.39 MΩ, and its copy ratio 0.9758 against 0.9747.

The drop the lower device did not need

A cascode mirror's floor is a whole base-emitter drop plus the upper device's own minimum, because the stack that biases the upper base holds it two drops above ground. The lower device needs only a few hundred millivolts. Hold the upper base one drop and 300 mV up instead, and on a model whose transistors saturate the one-per-cent floor falls from 0.832 V to 0.403 V. The output resistance does not fall with it: it rises from 7.39 to 13.2 MΩ, because the upper device's base current no longer comes out of the reference. The cost has moved into the margin itself. Below about 150 mV the lower device saturates, and at 50 mV the resistance is 0.51 MΩ and the copy ratio 0.7665.

The cascode device's collector noise is cancelled below 7.22 MHz and its base noise never is. computed by solving, not by drawing. The output noise current of a cascode stage at 1 mA and β = 150, driven from 1 kΩ, into a short, source by source, with 20 pF at the node between the two devices. At low frequency the upper device's base shot noise contributes 0.667% of the lower device's collector noise power, 1/β, and its collector shot noise 4.88 × 10⁻⁵, about 1/β². The collector's contribution overtakes the base's at 7.22 MHz, where the admittance reaches gₘ/√β — 7.21 MHz from the lower half's solved admittance, against 25.1 MHz from the node capacitance alone, because the lower device's Cμ, seen from its collector, is multiplied by its own gain; it passes the lower device's own collector noise near 316 MHz.

The noise the cascode device does add

A cascode's upper device is said to add no noise, because it is a common-base stage fed from a high impedance and its own noise current has nowhere to go but round itself. That is true of its collector noise, which reaches the output at 4.88 × 10⁻⁵ of the lower device's, about one part in β². It is false of its base noise. The partition of the emitter current into collector and base cannot cancel, so it arrives whole: one part in β, 0.667 per cent at a current gain of 150. The cancellation also needs the node between the devices to stay high-impedance. The lower device's own base-collector capacitance, seen from its collector, is multiplied by its gain, so the upper device's collector noise comes through above 7.2 MHz with 20 pF at that node, and at 100 MHz the cascode stage is up to 0.55 dB noisier than the plain one.

A 1 kΩ bias resistance at the upper base is attenuated to 7.97 × 10⁻⁶ at low frequency and passes the lower device's noise at 15.2 MHz. computed by solving, not by drawing. The output noise current of the cascode stage at 1 mA and β = 150, driven from 1 kΩ, source by source, with the upper device's base fed through 1 kΩ instead of held at signal ground. At low frequency the resistance's noise reaches the output as 7.97 × 10⁻⁶ of the lower collector's, about 2R/(gₘrₒ²): its voltage is followed to the node between the devices and becomes a current only through the lower device's rₒ. The upper base's own shot noise, flowing in the same resistance, is 0.683%. The resistance's noise passes the lower device's at 15.2 MHz, and at 100 MHz the stage's noise figure is 6.07 dB worse than with the base held.

The resistor the upper base is held through

A cascode's upper base is drawn at signal ground, and on a board it is held by a bias network with a resistance of its own. At low frequency that resistance's noise is harmless for the reason usually given — the upper device follows its base and turns the voltage into a current only through the lower device's output resistance — so 1 kΩ reaches the output at 8 × 10⁻⁶ of the lower device's noise. But the attenuation belongs to rₒ, and rₒ is shunted by the node's capacitance from 23.5 kHz, three hundred times below the frequency at which the upper collector's own noise stops cancelling. Unbypassed, 1 kΩ costs 6.07 dB at 100 MHz, more than 100 Ω or 100 kΩ does, and 100 pF across it makes any resistance free.

A mirror, cascoded or not, delivers two transistors' shot noise at low frequency — and cascoding it does not add a third. computed by solving, not by drawing. The output noise current of a 1 mA NPN mirror into a short, in units of one device's collector shot noise 2qI, against frequency, for a plain two-transistor mirror, the stacked cascode mirror and the wide-swing cascode with its upper base held by a separate diode at 100 µA. At 1 kHz they deliver 1.986, 1.960 and 1.965: the reference transistor's shot noise, copied, and the output transistor's own. At 100 MHz the mirror's own pole and the capacitance at the output transistor's collector have begun to take noise away, and the three read 1.681, 1.196 and 1.512.

The base current the mirror counts twice

A current mirror delivers two transistors' shot noise — the reference device's, copied, and the output device's own — and cascoding it does not add a third: 1.960 and 1.965 of one device's noise for the stacked and wide-swing cascodes against 1.986 for the plain mirror. What the cascode adds is its upper output transistor's base noise, and there the two arrangements differ by a factor of four. In the wide-swing mirror the base current goes to a separate bias and counts once, one part in β. In the stacked mirror it goes into the reference branch, which mirrors it back into the node it left, and it counts 3.82 times at β = 150 — the same base current that took 43 per cent of that mirror's output resistance. The reference resistor's noise, meanwhile, adds almost nothing even at 1.8 V, because it takes its place in the diode's node rather than adding to it.

With Rₜₕ = 10 kΩ, a tenfold range of β moves the collector current by 17.3%. computed by solving, not by drawing. The collector current of a transistor biased from a 2 V Thévenin source through 1, 10 and 100 kΩ, with 4.7 kΩ in the collector, 1 kΩ in the emitter and a 12 V supply, against its current gain from 30 to 1000, each point a Newton solve of the netlist with both junctions in the device. Dotted: one resistor from the supply to the base, 876 kΩ, sized for the same current at β = 100; it is proportional to β until it saturates. With Rₜₕ = 10 kΩ the current moves by 17.3 per cent from β = 50 to 500.

The bias the gain does not set

A transistor's current gain varies tenfold across the parts one type number covers, and a bias network is judged by how little of that reaches the collector current. One resistor from the supply to the base passes all of it — 0.61 mA at β = 50, 1.16 at 100, and saturation from 200. The four-resistor network passes 98.5 per cent of a tenfold change with a 100 kΩ divider, 17.3 with 10 kΩ and 3.4 with 1 kΩ, and never less than the 1.78 per cent the ratio β/(β + 1) keeps however stiff the divider. Each tenfold cut in that spread costs a tenfold rise in the divider's standing current, so the design is a point on a hyperbola rather than a rule.

Three bias points below a coupling of 56.6 kΩ, one above — and the middle one is where Newton from nought lands. computed by solving, not by drawing. Two transistors, each with 1 kΩ to a 5 V supply and each biased from the other's collector through a coupling resistor into a 10 kΩ base resistor, solved by Newton on the netlist from six starting guesses and de-duplicated. Below a coupling of 56.6 kΩ there are three operating points: two latched, with one collector at 0.061 V and the other at 4.615 V at 10 kΩ, and a symmetric one at 1.702 V whose Jacobian determinant is negative, so the circuit cannot rest there. Above it the three merge into one symmetric point, and the circuit is an amplifier rather than a memory.

The circuit with three bias points

Two transistors, each biased from the other's collector, have three operating points: one collector at 0.061 V and the other at 4.615, the same the other way round, and both at 1.702. All three solve the circuit to a part in 10⁹, and Newton started from nought — where a simulator starts — finds the symmetric one, which is the one the circuit can never sit at: its Jacobian determinant is negative, so any positive capacitance at the nodes makes it run. Weaken the coupling past 56.6 kΩ and the three merge into one, the loop gain around the symmetric point having fallen through one. Which answer a solver returns depends on where it begins, and from 1,681 starting guesses at 10 kΩ, 437 return the one that is not a state.

At θ = 4 K/W the transistor holds at 311.7 K; the second crossing at 333 K runs away. computed by solving, not by drawing. The power a transistor dissipates against its junction temperature (solid), each point an electrical operating point solved at that temperature with the saturation current and thermal voltage it has there, for a transistor biased from a stiff 1 Ω Thévenin source to carry 100 mA from 15 V at 300 K with no emitter resistor; and the heat a sink of 4 K/W removes (dashed). Operating points are the crossings: 311.7 K with a thermal loop gain of 0.64 and 332.5 K with a thermal loop gain of 1.43. Above θ* = 4.43 K/W the two meet and vanish.

The bias point that heats itself

A transistor driven from a stiff base voltage to carry 100 mA from 15 V dissipates 1.5 W, and every kelvin that heats it raises the current it carries. On a 4 K/W heat sink the heat balance has two solutions — 311.7 K, which holds, and 332.5 K, which runs away — and above 4.43 K/W it has none. A tenth of an ohm in the emitter moves that edge to 7.69 K/W, and from a quarter of an ohm there is no edge below 520 K at all. The designer's estimate from the loop gain at room temperature puts the edge at 11.04 K/W, two and a half times too high, because the loop gain grows as the part warms.

A pair with 2.0% saturation-current mismatch, nulled at 300 K: trimmed by a constant it drifts 1.706 µV/K, trimmed by its load ratio 0.000 µV/K. computed by solving, not by drawing, at 31 temperatures — each a Newton solve of both junctions, a bisection for the tail current and a bisection for the input that nulls the output — a bipolar pair at 10 µA a side whose second transistor has 1.02 times the first's saturation current. Untrimmed (grey) it needs 511.9 µV at 300 K and 682.6 µV at 400 K. Trimmed at 300 K by subtracting a constant (dashed) it is zero there and 170.6 µV at 400 K, drifting 1.706 µV/K — the untrimmed offset's drift, untouched. Trimmed at 300 K by making the collector loads 1.02000 to one (solid) it is 0.0 µV at 400 K, drifting 0.000 µV/K. The load ratio acts inside the same logarithm the mismatch does, so it cancels the mismatch at every temperature, not at one.

The trim that takes the drift with it

A bipolar pair's offset from a saturation-current mismatch is proportional to absolute temperature, so trimming it to zero at one temperature can trim its drift to zero too — but only if the trim acts inside the same logarithm the mismatch does. Trimmed by its collector-load ratio, a 2% mismatched pair is zero from 250 to 400 K; trimmed by subtracting a constant after it, it drifts the same 1.706 µV/K it drifted untrimmed. Add 20 kΩ of source resistance and a 10% current-gain mismatch, and a fifth of the offset follows the current gain instead: the load trim now leaves −0.574 µV/K, the constant trim 1.256, and above 34 kΩ the constant trim is the better one. A trim cancels the drift of the share whose temperature law it shares and converts the rest; two knobs, set for value and slope, leave 11 µV of curvature.

Two junctions at 8 to 1 in area, at four currents from 10 µA to 10 mA. computed by solving, not by drawing: each drop is the diode law solved at its own temperature, from 200 to 400 K, with a saturation current that rises 15.0 orders of magnitude over the range. The two drops themselves sit 179 mV apart across the four currents; their difference does not move at all. It is Vₜ·ln 8 to 0.40 parts in a million at 10 mA and to 0.040% at the worst point, 10 µA at 400 K, where the larger junction's saturation current is no longer negligible against the current — 53.758 mV at 300 K, rising 179.19 µV/K — and the straight line through it reaches 0.001 µV at absolute zero (dashed).

The voltage at which the slope is zero

Two junctions carrying one current, one of them eight times the other's area, differ by exactly the thermal voltage times ln 8 — 53.758 mV at 300 K, rising 179.19 µV/K along a line that reaches zero at absolute zero to a thousandth of a microvolt — while each drop alone moves 1.9 mV/K. Weighted by 10.72 and added to one drop, the difference cancels it, and the sum is then 1.171704 V. That voltage is not a coincidence of this design: every weighting of the sum leaves the band gap at absolute zero, so a reference's slope at 300 K is its distance from 1.1717 V divided by 300 K, and two hundred references built wrong three different ways sit on that one line to 0.16 nV/K. A reference is trimmed by its voltage, at one temperature, and the voltage it is trimmed to is a statement about how its current is made.

A reference flattened at 300 K, from −40 to 125 °C, with its core current as T to the 1. computed by solving, not by drawing every 1.25 K. The reference has zero slope at 300 K by construction and its output there is 1.17170 V. It is never flat anywhere else: it falls 1.391 mV by −40 °C and 2.526 mV by 125 °C, a bow of 2.526 mV that no choice of the weight can remove, and the residue matches −(xti − α)·Vₜ·[x ln x − (x − 1)] with x = T/300 K (dashed) to within the diode law's "+1".

The bow a trim leaves

A band-gap reference trimmed to zero slope at 300 K is flat at exactly one temperature. Everywhere else it falls: 1.39 mV by −40 °C and 2.53 mV by 125 °C for a core biased proportional to absolute temperature, 3.79 mV for one run at a constant current, and nothing at all for one whose current rises as the cube of temperature. The residue is (xti − α) thermal voltages times x ln x − (x − 1), with x the temperature over the trim temperature, and six references of different bias, exponent and current fall on that one curve. The least box, 1.9 mV, comes from making the slope zero at 39 °C rather than at room temperature; quoted per kelvin it is 9.8 ppm/K over the automotive range and 4.2 over the commercial one. A third junction supplies the bow's own shape, and subtracting it leaves 18 µV — at an output that is then the band gap itself.

The common-emitter stage from a 100 Ω source: the solved response against the Miller estimate. computed by solving, not by drawing. The stage of 1 mA, 5 kΩ load, Cπ 20 pF and Cμ 2 pF has a gain from base to collector of 182.0. From 100 Ω the network's bandwidth is 3.41 MHz; the Miller estimate — Cμ moved to the input, multiplied by one plus the gain — says 4.23 MHz, 1.24 times it. The estimate has one pole, at the input; the network has two, and from a low source the second is the one that sets the bandwidth.

The node the bandwidth belongs to

The Miller estimate puts a common-emitter stage's bandwidth at its input node, and whether that is right depends on the source. From 10 kΩ it is within 1% at every load from a gain of 19 to 1,190; from 100 Ω it is 24% optimistic and from 10 Ω 3.41 times, because the input node has become fast and the output node sets the bandwidth. The stage's two poles split from 92 to 2,993 times apart as the source rises. A load capacitance the estimate cannot see takes the bandwidth from 12.1 MHz to 1.49 MHz from 10 Ω and moves it 6% from 100 kΩ. And the multiplier is the gain from base to collector, 182 — not the 144.7 from the source.

A half-micron field-effect device's current against its gate voltage at 250, 300, 350 and 400 K, and the gate voltage at which they agree. computed by solving, not by drawing: mobility falling as T^−1.5, threshold falling 2 mV a kelvin, velocity saturation at 2 V. Below the crossing a warmer device draws more, because its threshold has fallen; above it less, because its mobility has. The curves agree at 1.7000 V, 1.0000 V of overdrive — the closed form's 2κT·vc/(1.5·vc − κT) — where 300 K draws 0.667 mA and 250 and 400 K draw 0.669 and 0.673 mA.

The overdrive at which temperature cancels

A field-effect device's current has two temperature coefficients pulling opposite ways: its threshold falls about two millivolts a kelvin, which raises the current, and its mobility falls as the temperature to the −1.5, which lowers it. They cancel at one overdrive, (4/3)κT = 0.800 V for a long channel, and the device's curves at every temperature cross there. Velocity saturation moves the crossing up — to 1.000 V at half a micron and 2.400 V at 0.15 µm — and, if the saturation velocity does not itself change with temperature, removes it altogether below a hundred nanometres. Below the zero a warmer device takes more current, the bipolar runaway in a device said to be free of it: 26 per cent more for 10 K at 0.1 V of overdrive.

A cascode is 15.9 times wider than the plain stage from 100 kΩ and 1.30 times from 10 Ω, with a 5 kΩ load. computed by solving, not by drawing, each bandwidth bisected on the solved magnitude. The common-emitter stage of 1 mA, Cπ 20 pF and Cμ 2 pF into 5 kΩ, alone and with a second device stacked on its collector, across four decades of source resistance. The plain stage falls from 12.1 MHz to 110 kHz as its Miller-multiplied input node slows. The cascode runs from 15.8 MHz, where its output node sets the bandwidth — Cμ2 against 5 kΩ, 15.9 MHz — to 1.75 MHz, where its input node does: rπ in parallel with the source, against Cπ and twice Cμ, 1.78 MHz. Neither single-node figure is ever below the stage's own bandwidth. The faint line is the cascode with the upper device's own Cπ left out of the middle node, and it is never below the solid one and at most 0.74% above it.

The nodes a cascode hands the bandwidth to

A cascode is said to remove the Miller effect, and into 5 kΩ it does: from a 100 kΩ source it is 15.9 times wider than the plain stage. From 10 Ω it is 1.30 times wider, because there the bandwidth was never the input's — it belongs to the output node, Cμ2 against the load, 10.0 ns from every source. From a high source it belongs to the input, which is now rπ against Cπ and twice Cμ rather than against a multiplied Cμ, 74.7 ns of Cπ beside 15.4 of Cμ. The node the cascode adds holds 0.545 ns and moves the bandwidth less than one per cent. Its three poles cross rather than split, the sum of time constants is worst — 24% low — at the source where two nodes are equally slow, and the removal is not unconditional: the middle node's gain is 1.01 at a 1 kΩ load, 12.3 at 1 MΩ, and above 3.11 MΩ the cascode is narrower than the stage it replaced.

A 1 MHz sine of 1 V into an emitter follower with 1 nF on its emitter and a 2 mA sink: the input falls at up to 6.28 V/µs, the output can fall at only 2.0, and the transistor switches off. Marched, the base driven by a stiff source and the emitter current Is·exp((vᵢₙ − vₒᵤₜ)/Vₜ). The input (dashed) and the output (solid) over the last of four cycles. The input's steepest fall is 2πfA = 6.28 V/µs; the load can be discharged no faster than the sink allows, I/C = 2.00 V/µs. On every falling stretch the base–emitter junction reverse-biases, the emitter current drops below a hundredth of the sink's (dots), and the output falls as a straight line of slope −2.000 V/µs until the input comes back up to meet it. On the rising half the transistor pushes whatever current the capacitor needs and the output follows a Vbe below the input.

The follower that lets go on the way down

An emitter follower can push current into its load without limit and pull it out only through whatever sinks the emitter. Marched as a large-signal circuit — a 2 mA sink, 1 nF on the emitter — a 1 V, 1 MHz sine asks the output to fall at up to 6.28 V/µs, the sink allows 2.00, and on every falling stretch the junction reverse-biases, the emitter current drops below a hundredth of its quiescent value for 57% of the cycle, and the output falls as a straight line of exactly −I/C. The boundary is a slope, 2πfA ≤ I/C: 2.87 V at 100 kHz, 0.309 V at 1 MHz, creeping above the line only as the period approaches the junction's own 12.9 ns. Past it the follower rectifies — its output's average rises 415 mV at 1 V of drive and 1.30 V at 2 V — and with a resistor in place of the sink the fall slows as the output descends, from 2.41 V/µs to 1.99. None of it is visible to the small-signal model the earlier essays used.

An exponential stage at 20% output, with a loop gain of 1: second 2.5% from 4.97%, third 0.0415% from 0.165%, and fifth 0.68 ppm from 0.814 ppm. computed by solving, not by drawing: the harmonics of an exponential stage with emitter resistance, gm·Re = T, solved point by point on the implicit curve and transformed, at a fixed output fundamental of a fifth of the quiescent current, for T = 1 (dots a) against no feedback (dots b). 2: 2.5%, against 4.97%; 3: 0.0415%, against 0.165%; 4: 5.36 ppm, against 40.9 ppm; 5: 0.68 ppm, against 0.814 ppm; 6: 0.0202 ppm, against 0.0135 ppm; 7: 0.000245 ppm, against 0.000192 ppm; 8: 0.0000478 ppm, against 0.00000239 ppm; 9: 0.00000178 ppm, against 2.62e-8 ppm. The series gives the second and third at small drive: the implicit function's Taylor coefficients are 1/(1 + T), 1/2(1 + T)³ and (1 − 2T)/6(1 + T)⁵, and they agree. The third therefore has a null at T = ½, and past that it has the opposite sign, and feedback that reduces the low orders puts some of them back into the high ones.

The fifth a resistor adds

Local feedback's reputation is that it reduces distortion, and on the second order it does: 4.97 per cent falls to 2.5 at a loop gain of one and 0.46 at ten, with the output held fixed. The third has a null at a loop gain of exactly a half and comes back with its sign changed. And from the fifth upward, a harmonic rises above its open-loop value before it falls: the fifth 1.42 times, the sixth 5.23, the seventh 24.6, the ninth 960, peaking at a loop gain between six and twenty. The second order, carried back through the resistor, mixes with the signal and makes them. A total-harmonic reading shows only improvement throughout, because the second dominates it. A differential pair has no second order to carry back, and its fifth never passes its open-loop value.

All essays