Concept

Gain compression — where it appears

The fall of a stage's incremental gain below its small-signal value as the drive grows, which is second order in the drive. It arrives at a larger drive than distortion does — seven times larger for an exponential — so a device is producing harmonics long before its gain moves.

Named by 6 essays across 2 fields — each of them below, with the objects they name alongside 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.

semiconductors · Distortion
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.

semiconductors · Differential pair
6.02 bits + 1.76 dB, measured — and the overload that is blamed on it. computed by solving, not by drawing. A coherent sinusoid is quantised and the ratio is read off the error sequence, never from the formula. One step inside full scale the two agree to 0.15 dB at every bit count from 8 to 16. Driven to exactly full scale the same converter measures 0.83 dB worse at 8 bits when driven to exactly full scale, and the reason is in the count beside it: 327 of 8192 samples hit the top code. A mid-tread converter's largest code is one step below full scale, so a sinusoid that reaches full scale is already overloading — half a step of overload, at the peak, where the error correlates with the signal. The loss halves with every bit for the same reason the clipped count does — 0.83, 0.47, 0.21, 0.06, -0.13 dB — and by sixteen bits it is inside the measurement's own scatter. The formula was never the approximation.

Six decibels a bit, and the half step blamed on it

Every converter data sheet quotes 6.02N + 1.76 dB and every bench measurement comes up short of it, which is usually explained by calling the formula an approximation. Measured one step inside full scale it agrees to 0.15 dB at every bit count from eight to sixteen. Driven to exactly full scale the same converter loses 0.83 dB at eight bits — because 327 of 8192 samples hit the top code, and a mid-tread converter's largest code is one step below full scale.

digital · Quantisation
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.

semiconductors · Emitter degeneration
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.

semiconductors · Emitter degeneration
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.

semiconductors · Distortion

Named alongside it

The objects these essays reach for when they reach for this one.

Total harmonic distortionTransfer curveEmitter degenerationEven harmonic cancellationLocal feedbackBessel functionsDesign tradeoffDevice matchingDifferential pairDynamic rangeEffective bitsIntermodulation

All concepts