C546 of 57
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 xVT. 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?

Name it

Harmonic distortion

A nonlinear stage turns a pure sine into the sine plus harmonics. The n-th harmonic distortion HDn is the n-th harmonic's amplitude over the fundamental's, and the total harmonic distortion is

THD=HD22+HD32+⋯,

often quoted in percent or in decibels, 20log⁡THD.

The bipolar transistor

Expanding iC=ICev/VT for v=v^cos⁡ωt:

HD2≈v^4VT,HD3≈v^224VT2.

The squared term also has an average: the bias current rises by about v^24VT2 of itself, the same rectification that makes a diode detector work.

The MOSFET

The square law, iD=K2(vOV+v)2, has only a squared term, so

HD2=v^4vOV,HD3=0

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 v^in1+gmRE of the input, and the feedback suppresses the harmonic it does create by the same factor again:

HD2≈v^in4VT(1+gmRE)2.

For the same output amplitude, degeneration divides the distortion by 1+gmRE, 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 HD2 depends only on the DC drop across R: an undegenerated BJT gives v^o=4HD2×ICR, and a MOSFET twice that, 8HD2×IDR. 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 RC = 4.7 kΩ and its emitter bypassed (gain −182) must keep HD2 below 1%. How large can its input and output be?

Show the solution
  1. Input limit. HD2=v^4VT = 0.01 gives v^=0.04×25.85mV=1.03mV
  2. Output limit. With a gain of −182, that's 0.19 V at the output.
  3. 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 4HD2×ICRC = 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 RE = 470 Ω. How large can the input and output be now for 1% HD2?

Show the solution
  1. Loop gain. gmRE=38.7mS×470Ω=18.2 so the loop gain is 19.2.
  2. Input limit. v^in=0.04×25.85mV×19.22=380mV
  3. Output limit. The gain is now −470025.6+470=−9.5 so the output is 3.6 V peak.
  4. The trade. Degeneration cut the gain by 19 and raised the clean output by 19.
  5. 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 VT.

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% HD2?

Show the solution
  1. Input limit. HD2=v^4vOV = 0.01 needs v^ = 10 mV.
  2. Gain. Av=−2IDvOVRD=−37.6
  3. Output. That makes 0.38 V, twice the bipolar stage's 0.19 V.
  4. 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% HD2, 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, 1+gmRE?

(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 HD2 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 v=xTcos⁡ωt. Expand excos⁡ωt 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°.

Explain why

Why does an emitter resistor reduce a stage's distortion?

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.