C5 · Lesson 46 · Signal swing and distortion
How large a signal can get before the transistor's curve shows
Small-signal models assume small signals. Feed a real stage a larger one and the transistor's curve shows through: the exponential (or the square law) stretches one half of the wave and squashes the other, adding harmonics that weren't in the input. For audio that's audible distortion; for a radio it's interference created out of nothing. This lesson puts numbers on it: how much distortion a given signal causes, and how degeneration buys it back.
Play
- The trace is a bipolar transistor's collector current, relative to its bias current, when its base gets a sine of peak . The bars are its spectrum.
- At small x the current is a clean sine with one bar. Raise x: the positive peaks stretch, the negative ones flatten, and a second bar appears at twice the frequency, then a third.
- The second harmonic grows in proportion to x, the third as x². Compare the bars with the estimates below.
Predict
A bipolar transistor at 1 mA, with no emitter resistor, gets a 10 mV peak sine at its base. About how much second harmonic is in its collector current, relative to the fundamental?
About 10%: = 9.7%. Ten millivolts sounds small, but the exponential changes its slope by a factor of e every 26 mV, so a 10 mV swing already bends the wave visibly. That's why gain stages are degenerated, or run with feedback.
Name it
Harmonic distortion
A nonlinear stage turns a pure sine into the sine plus harmonics. The n-th harmonic distortion is the n-th harmonic's amplitude over the fundamental's, and the total harmonic distortion is
often quoted in percent or in decibels, .
The bipolar transistor
Expanding for :
The squared term also has an average: the bias current rises by about of itself, the same rectification that makes a diode detector work.
The MOSFET
The square law, , has only a squared term, so
for an ideal square-law device. A larger overdrive means a more linear stage, at the price of less transconductance per milliamp.
Degeneration
With an emitter resistor, the junction sees only of the input, and the feedback suppresses the harmonic it does create by the same factor again:
For the same output amplitude, degeneration divides the distortion by , the loop gain. This is the first example of the rule that feedback trades gain for linearity.
Clean output per volt of bias
For a stage with load resistance R, the output at a given depends only on the DC drop across R: an undegenerated BJT gives , and a MOSFET twice that, . Differential pairs cancel the even harmonics altogether (C6), and hard clipping, when the transistor saturates or cuts off, sets the final limit.
Worked example
A common-emitter stage at 1 mA with = 4.7 kΩ and its emitter bypassed (gain −182) must keep below 1%. How large can its input and output be?
Show the solution
- Input limit. = 0.01 gives
- Output limit. With a gain of −182, that's 0.19 V at the output.
- What it means. The stage could swing several volts before clipping, but only a fifth of a volt of it is clean to 1%. The ceiling is = 0.04 × 4.7 V.
Answer the input can be 1.03 mV peak and the output 0.19 V peak.
Worked example
The same stage gets an unbypassed = 470 Ω. How large can the input and output be now for 1% ?
Show the solution
- Loop gain. so the loop gain is 19.2.
- Input limit.
- Output limit. The gain is now so the output is 3.6 V peak.
- The trade. Degeneration cut the gain by 19 and raised the clean output by 19.
- A caution. The formula comes from a small-signal expansion, though, and at a swing this large it's optimistic: solving the stage exactly, as lesson 47's lab does, gives 1.4% at 380 mV. Treat it as a lower bound once the junction's own swing nears .
Answer the input can now be 380 mV peak and the output 3.6 V peak, though the exact distortion at that size is 1.4%.
Worked example
Compare a MOSFET stage at 1 mA with 0.25 V of overdrive and the same 4.7 kΩ load: what output does it reach at 1% ?
Show the solution
- Input limit. = 0.01 needs = 10 mV.
- Gain.
- Output. That makes 0.38 V, twice the bipolar stage's 0.19 V.
- Compare. The MOSFET has five times less gain but ten times more input range. For a fixed bias current and load, the square law's clean output is twice the exponential's, whatever the overdrive.
Answer the MOSFET stage reaches 0.38 V peak at 1% , twice the bipolar stage's 0.19 V.
Check
A bipolar transistor at 0.5 mA, undegenerated, gets a 2 mV peak at its base. What's the second-harmonic distortion of its collector current?
Check
A square-law MOSFET with 0.15 V of overdrive gets a 20 mV peak at its gate. What's its second-harmonic distortion?
Check
A bipolar stage at 1 mA has 0.1 kΩ of unbypassed emitter resistance and a 200 mV peak input.
(a)
What's its loop gain, ?
(b)
What's its second-harmonic distortion?
Check
What's the largest peak input an undegenerated bipolar stage can take while keeping its second harmonic at 0.5%?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
An amplifier's output has 3% second harmonic and 0.2% third harmonic.
(a)
What's its total harmonic distortion?
(b)
What's that in decibels?
Check
A stage at 1 mA drives a 2.2 kΩ load and must keep at 1%.
(a)
What peak output can an undegenerated bipolar stage give?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
And a square-law MOSFET stage?
Check
A bipolar transistor at current I and thermal voltage T gets an input . Expand to second order.
Step 1
What's the fundamental's amplitude in the collector current?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What's the second harmonic's amplitude? (Use .)
Step 3
What's their ratio, ?
Step 4
By how much does the average current rise?
Explain why
Why does an emitter resistor reduce a stage's distortion?
The distortion comes from the transistor's exponential curve, and how much depends on how large a signal appears across the base-emitter junction. With an emitter resistor, most of the input appears across the resistor instead, because the resistor's voltage follows the collector current: the junction sees only the input divided by one plus . A smaller swing on the junction means a much smaller bend. And the harmonic current the junction does create flows through the resistor too, which feeds it back and suppresses it again. The stage gives less gain, but the gain it gives is set mostly by a linear resistor.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.