The Common-Emitter Amplifier
A dynamic microphone gives about ; an ADC input wants about a volt. One transistor with a handful of resistors and capacitors can supply a gain of 25, 100 or more: the common-emitter (CE) amplifier, the workhorse of discrete analog design. Its emitter is common to input and output (grounded for signals), the signal enters the base and leaves at the collector, inverted. This lesson designs the course's standard CE stage completely, from bias to gain, input and output resistance, swing, bandwidth and distortion, and is the roadmap's laboratory project "build a common-emitter amplifier".
The circuit
The DC bias is the standard stage of BJT Biasing with split into and : , , . The capacitors do not disturb that bias. At signal frequencies and are short circuits that pass the signal while blocking DC, and shorts so that only is left in the emitter for signals. That split lets the designer choose the DC stability () and the gain () separately.
Gain, input and output resistance
Replace the transistor by its T model (BJT Small-Signal Models). The base signal appears across , the emitter signal current flows almost entirely out of the collector, and develops the output across :
The overall gain from the source includes the input divider: . Three cases are worth remembering:
| Emitter for signals | Gain | Comment |
|---|---|---|
| fully bypassed () | largest, but set by and temperature; distorts | |
| partly bypassed () | set mainly by resistors; more linear; higher | |
| unbypassed () | small, very stable |
is local negative feedback (emitter degeneration): it trades gain for predictability, linearity and input resistance. The feedback view is developed in Negative Feedback.
Worked example: the standard CE stage
Given: the circuit above, , ; ignore .
Find: midband , , , , the gain with full and with no bypass, and the maximum output swing.
Solve:
Swing: for signals the collector sees , so the collector current can swing down by at most its full before cut-off: peak upwards. Downwards the collector can fall from to near , over . So the stage clips first on the positive half, at about peak.
Check: is close to reduced by , and the overall matches the SPICE value below to about 1 %. Using this stage to amplify a microphone gives about : two such stages, or one with more gain and feedback, would be needed for a volt.
VT, IC, beta = 25.85e-3, 0.922e-3, 200
RS, R1, R2, RC, RE1, RE2, RL = 1e3, 100e3, 18e3, 5.6e3, 100.0, 1.1e3, 10e3
par = lambda a, b: a * b / (a + b)
re = VT / (IC * (beta + 1) / beta)
RTh, RCL = par(R1, R2), par(RC, RL)
for name, Rdeg in [("RE1 = 100 Ohm", RE1), ("bypassed", 0.0), ("unbypassed", RE1 + RE2)]:
Av = -RCL / (re + Rdeg)
Rin = par(RTh, (beta + 1) * (re + Rdeg))
Avs = Av * Rin / (RS + Rin)
print(f"{name:14s} Av = {Av:7.1f} Rin = {Rin/1e3:5.2f} k Avs = {Avs:7.1f}")
print(f"max positive swing = {IC*RCL:.2f} V")RE1 = 100 Ohm Av = -28.1 Rin = 9.57 k Avs = -25.4
bypassed Av = -128.7 Rin = 4.10 k Avs = -103.4
unbypassed Av = -2.9 Rin = 14.37 k Avs = -2.7
max positive swing = 3.31 V
Cross-check with SPICE: gain, bandwidth and distortion
The deck builds the full amplifier with the course's QN model. The AC sweep measures the midband gain at 10 kHz and both frequencies; a transient run with a 1 kHz sine and fourier gives the total harmonic distortion. The session then removes (fully bypassed emitter) and repeats with a quarter of the input, which gives about the same output amplitude.
cat > ce.cir <<'EOF'
* Common-emitter amplifier: the course's standard stage
.model QN NPN(Is=1e-14 Bf=200 Vaf=100 Br=2 Rb=10 Cje=10p Cjc=4p Tf=0.4n)
VCC vcc 0 12
VS s 0 DC 0 AC 1 SIN(0 20m 1k)
RS s i 1k
CIN i b 10u
R1 vcc b 100k
R2 b 0 18k
RC vcc c 5.6k
Q1 c b e QN
RE1 e x 100
RE2 x 0 1.1k
CE x 0 100u
COUT c o 10u
RL o 0 10k
.control
ac dec 50 1 100meg
meas ac gain_db find vdb(o) at=10k
let g3 = gain_db - 3
meas ac f_low when vdb(o)=g3 rise=1
meas ac f_high when vdb(o)=g3 fall=1
tran 2u 12m
fourier 1k v(o)
.endc
.end
EOF
echo "RE1 = 100 Ohm, 20 mV peak in:"
ngspice -b ce.cir 2>&1 | grep -E '^(gain|f_)|THD' | sed 's/, Gridsize.*//'
sed -i 's/^RE1 e x 100/RE1 e x 1m/; s/SIN(0 20m 1k)/SIN(0 5m 1k)/' ce.cir
echo "RE1 = 0 (fully bypassed), 5 mV peak in:"
ngspice -b ce.cir 2>&1 | grep -E '^gain|THD' | sed 's/, Gridsize.*//'RE1 = 100 Ohm, 20 mV peak in:
gain_db = 2.799995e+01
f_low = 1.390651e+01
f_high = 2.381447e+06
No. Harmonics: 10, THD: 0.790049 %
RE1 = 0 (fully bypassed), 5 mV peak in:
gain_db = 4.058756e+01
No. Harmonics: 10, THD: 3.02285 %
The midband gain is (), about 1 % below the hand value. The band runs from to . The low corner is set almost entirely by : it sees in parallel with the small resistance looking up into the emitter, , so (Low-Frequency Response). The high corner comes from the transistor's junction capacitances, multiplied by the Miller effect (High-Frequency Response). With and about peak out, the THD is ; fully bypassed, for the same output, it is , almost four times worse. The distortion is mostly second harmonic, from the exponential's curvature.
Interactive: the small-signal amplifier with its capacitors
The lab solves the stage's linear small-signal model: the hybrid-pi transistor (Rpi, G1; no , no junction capacitances), the bias divider as , the coupling and bypass capacitors and the load. ee-netlist has no transistor element, so this model is only valid at the Q-point above. Slide the frequency down from 1 kHz to see the low-frequency roll-off, and shrink CE to watch the low corner move up.
At 1 kHz the lab gives at for the source: a gain of , and , the input divider .
Guided lab: build and characterise the CE amplifier
Hand calculation. , , , , clipping at about peak at the output.
Simulation. The Python table, the SPICE run and the lab.
What you would measure. Build the circuit with 5 % resistors, a general-purpose NPN, electrolytic , , (positive leads towards the base, the collector and the emitter respectively), on a 12 V bench supply with a 30 mA current limit. First check the DC voltages (). Drive , peak-to-peak from a function generator through a resistor (or use the generator's output and expect a slightly higher gain). On a two-channel scope expect about peak-to-peak out, inverted; the gain should be within about of ( varies with the real , resistors are 5 %). Measure by adding a series resistor equal to the predicted and checking that the base signal halves; by removing (the output rises by times). Sweep the frequency to find the points: about 12 to 20 Hz (electrolytic tolerance is or worse), in the low megahertz but probably lower on a breadboard, whose stray capacitance adds to the Miller effect. Raise the input until the top of the output flattens: clipping near peak.
Hazards and safe setup. Low voltage, current-limited. Electrolytics reversed can vent: check polarity before power-up. Keep the generator's ground and the scope's ground on the circuit's ground.
Pitfalls
- Quoting the bypassed gain as "the gain". It ignores the load, the source divider and temperature.
- Forgetting that includes the bias divider. A stiff divider lowers the input resistance.
- An undersized . It sees only about , so it must be large: it sets .
- Driving it too hard. Without degeneration a 10 mV peak base signal already gives about 10 % second harmonic (, Practice 3).
Practice
- Which gives with the same ?
- What happens to and if is removed?
- Estimate the THD-related second harmonic for a fully bypassed stage at peak, using .
Answer
- , so (E24) or .
- ; is unchanged (it does not depend on the load, since the model has no or feedback to the base).
- With , the term gives a second harmonic of amplitude against the fundamental : ratio .
Test yourself
A CE stage has , and unbypassed. Its voltage gain from the base is about…
Why is the emitter resistor split into a bypassed and an unbypassed part?
- to save capacitors
- to set DC stability and signal gain independently
- to increase the supply voltage
- to make the output non-inverting
Removing the emitter degeneration (full bypass) of a CE stage…
- lowers the gain and the distortion
- raises the gain and the distortion
- raises the input resistance
- has no effect on gain
In the standard stage the low frequency is set mainly by…
- the junction capacitances