C6 · Lesson 55 · Project
Twenty watts into a loudspeaker, cleanly and without melting
An audio power amplifier is the whole course in one box. An op amp provides gain and, through global feedback, linearity; a class AB output stage provides current; the supply rails and heat sinks are set by the power the loudspeaker needs. In this project you'll size the supply for 20 W into 8 Ω, work out what the output transistors dissipate and what heat sink keeps them safe, set the output stage's quiescent current by simulating it, and watch feedback clean up crossover distortion.
- An op amp with a gain of 11 drives a class AB output stage into an 8 Ω load from ±15 V, with feedback taken from the speaker terminal. The output transistors are modeled with β = 1000, as Darlington pairs give.
- At 1 V peak in, the output swings 11 V peak: about 7.6 W. Distortion near zero is invisible, because the feedback loop drives the output stage through its dead zone.
- Push the input above about 1.1 V: the output clips near ±12 V, where the op amp's own output runs out of room below the rails.
Predict
A 20 W, 8 Ω amplifier needs what peak output voltage, and roughly what supply rails?
17.9 V peak: . The output stage can't reach the rails: the drivers and output transistors need a few volts of headroom, so about ±21 V. (12.6 V is the RMS value.)
Name it
The design chain
- Peak output: ; peak current .
- Rails: + headroom (2 to 4 V for the driver and output transistors' drops).
- Losses (class B approximations, lesson 42): , and each transistor's worst case , reached at , not at full power.
- Heat sink: for each transistor, (junction to case, case to sink through the insulating pad, sink to air).
- Quiescent current and base drive: enough quiescent current to keep both output transistors conducting through zero, tens of milliamps, set by the bias network and stabilized against temperature (lesson 42). The bias network must also supply the peak base current, , even near the top of the swing where little voltage is left across it; that's why power stages use Darlington pairs or a driver stage, raising the effective β into the thousands.
- Feedback: the op amp's gain sets the overall gain; its loop gain divides the output stage's distortion and output resistance.
Global feedback against crossover distortion
Without feedback, a class B stage's output stalls while its input crosses the ±0.6 V dead zone. Inside a feedback loop, the op amp sees the output lag behind and drives the stage's input quickly across the dead zone, reducing the distortion by the loop gain at that frequency. That works well at low frequencies and less well at high ones, where the loop gain is smaller, which is why good amplifiers still bias their output stages into class AB.
Worked example
Size the supply and the heat sinks for 20 W into 8 Ω, with 3 V of headroom, = 150 °C, 40 °C inside the cabinet, = 1.5 °C/W and a 0.5 °C/W pad.
Show the solution
- Supply. = 17.9 V, and 3 V of headroom makes ±20.9 V: use ±21 V.
- Full power. = 29.9 W, the transistors share 9.9 W, and η = 67%.
- Worst case per transistor.
- Heat sink. The junction may rise 110 °C over the cabinet, and the case and pad take 2 °C/W, so each needs
Answer a ±21 V supply, and a heat sink of 17.7 °C/W or better for each transistor.
Worked example
Why use 1.4 kΩ for and in the sim?
Show the solution
- Bias current. They carry about through the bias diodes, which set the output transistors' quiescent current.
- Idle current. With the diodes' equal to the transistors', each output transistor idles near 10 mA.
- Drive at the peak. At the 11 V peak there's still left for the base, enough for 1.4 A with β = 1000.
- With a single transistor. With its β of 50, the output would clip near 3 V.
Answer 1.4 kΩ sets about 10 mA through the bias diodes, so the outputs idle near 10 mA, and still leaves 2.4 mA of base drive at the 11 V peak.
Check
What peak output voltage delivers 20 W into 4 Ω?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
What peak current does that output (20 W into 4 Ω) demand?
Write units the way you normally would: 1.5 A, 1500 mA and 0.0015 kA are the same answer.
Check
A transistor dissipates 8 W; its junction may reach 125 °C at 45 °C ambient, with = 2 and = 0.2 °C/W. What is the largest heat-sink rating it can use?
Check
Write amp_design(P, RL, head=3.0) returning the rail voltage , and losses(VCC, RL, Vo) returning (PL, PS, PD_each, PD_worst_each) for a class B stage.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
The lower bias resistor is already set. Choose the upper one, , so the NPN output transistor idles at 20 mA.
Type values the way you would write them on a schematic: 4.7k, 100n, 10m. Then try them: the circuit runs with your values and is measured.
Explain why
Why does a power amplifier's output stage need both a heat sink and a quiescent current, which itself adds heat?
The output transistors waste power whenever they carry current with voltage across them, most of all at moderate output levels, so they need a heat sink sized for that worst case to keep their junctions below the safe limit. The quiescent current adds a little more heat even at idle, but without it the stage has a dead zone around zero where neither transistor conducts, producing crossover distortion that's most audible in quiet passages. A small quiescent current, tens of milliamps, keeps both transistors conducting through zero at a cost of a watt or so, which is a good trade, as long as the bias is stabilized so the current can't run away as the transistors warm.
Practice
Keep practicing
6 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.