A Class AB amplifier makes sound by conducting current through its output transistors all the time, and the voltage dropped across those transistors turns into heat. A Class D amplifier does something different: its output transistors are either fully on or fully off, switching at hundreds of kilohertz, and the audio signal lives in the width of the switching pulses. The speaker never sees the switching frequency — an LC filter removes it — and what is left is the audio, with far less heat. This guide works a complete 50 W design out on a real part, the Texas Instruments TPA3116D2, and shows why the same 50 W costs 26 W of heat in Class AB and only about 6 W in Class D.
Figure 1: (a) The bridge-tied-load (BTL) Class D chain: the PWM modulator compares the audio with a 400 kHz triangle wave, and the two half-bridges switch in opposite phase so the speaker sees ±24 V. (b) Efficiency against output power — Class AB (red) is the theoretical curve for ±24 V rails; Class D (teal) is the datasheet figure of about 90%. (c) The LC filter response: flat through the audio band, −42.9 dB at the 400 kHz switching frequency, with a +5.0 dB peak at 33.9 kHz when an 8 Ω speaker is connected. (Schematic, not to scale. TPA3116D2: 2 × 50 W into 4 Ω BTL at 21 V, 10% THD+N; the evaluation module delivers 2 × 50 W at 24 V with under 1% THD+N; supply 4.5–26 V; switching 400 kHz–1.2 MHz; THD+N 0.1% at 25 W.)
Why bridge-tied load — a single-ended stage cannot reach 50 W
Fifty watts into 4 Ω needs an RMS voltage of √(50 × 4) = 14.14 V, so the peak voltage is 14.14 × √2 = 20.0 V and the peak current is 20.0 / 4 = 5.0 A (3.54 A RMS). A single-ended half-bridge running from a 24 V supply can only swing 0 to 24 V, and AC-coupled to the speaker that is ±12 V of peak — a maximum of 12² / (2 × 4) = 18 W. That is why the TPA3116D2 drives the speaker bridge-tied: two half-bridges in opposite phase, so the speaker sees the difference, ±24 V peak. The theoretical maximum becomes 24² / (2 × 4) = 72 W, and 50 W needs a modulation index of 20 / 24 = 0.833 — the PWM duty cycle swings from 8.3% to 91.7% as the 1 kHz sine wave goes through its cycle. The 72 W ceiling leaves 44% of headroom over the 50 W target, which is where the low distortion comes from: the modulator never has to clip the peaks.
The LC filter — keeping 400 kHz out of the speaker
The speaker must never see the switching waveform, so each half-bridge output passes through a 22 µH inductor, and a single 1 µF capacitor sits differentially across the speaker. The cutoff frequency is 1 / (2π√(22 µH × 1 µF)) = 33.9 kHz — above the 20 kHz audio band and far below the 400 kHz switching frequency. A second-order LC filter falls at 40 dB per decade, so at 400 kHz the attenuation is (33.9 / 400)² = −42.9 dB, and the 24 V switching waveform arrives at the speaker as only 24 × 0.0072 = 0.17 V peak of carrier residue — inaudible, and the speaker's own inductance knocks it down further. The inductor ripple current at 50% duty is 24 × 0.25 / (22 µH × 400 kHz) = 0.68 A peak-to-peak, small against the 5 A peak output current. The one number that needs watching is the damping: Q = R√(C/L) = 0.85 with a 4 Ω speaker, so the response is essentially flat (a +0.45 dB bump at the cutoff), but with an 8 Ω speaker Q rises to 1.71 and the response peaks by +5.0 dB at 33.9 kHz. That peak sits above the audio band, so it does not colour the sound much, but it is the reason a design made for 4 Ω speakers should be re-checked — or fitted with a Zobel network — before an 8 Ω speaker is connected.
Efficiency — the whole point of Class D
For a Class AB amplifier on ±24 V rails, the theoretical efficiency on a sine wave is (π/4) × (Vpk / Vsupply) = 0.785 × (20 / 24) = 65.4% at 50 W. It delivers 50 W and burns 50 × (1/0.654 − 1) = 26.4 W as heat. The Class D stage is rated above 90% efficient in the datasheet, so at 50 W it burns 50 × (1/0.90 − 1) = 5.6 W — 4.75 times less heat for the same sound. The gap is even wider at ordinary listening levels, because the Class AB efficiency falls with the output: at 25 W it is 46.3%, at 10 W it is 29.3%, and at 5 W it is only 20.7%, while the Class D stage stays near 90% across the whole range. The heatsink follows the loss: keeping the junction under 125 °C in a 40 °C box needs a heatsink of (125 − 40) / 26.4 = 3.2 °C/W for the Class AB stage — a large finned block — but only 15.3 °C/W for the Class D stage, which is why the TPA3116D2 can run 50 W per channel with a small heatsink on its top-side PowerPAD, and music power with none at all.
A second design — 30 W into 8 Ω
The same arithmetic works for an 8 Ω speaker. Thirty watts needs √(30 × 8) = 15.49 V RMS, so the peak is 21.9 V, the modulation index is 21.9 / 24 = 0.913 and the peak current is 21.9 / 8 = 2.74 A. The BTL maximum is 24² / (2 × 8) = 36 W, so 30 W uses 83% of the available swing — tighter than the 4 Ω design, and the right part for the job is the TPA3116D2's sibling, the TPA3118D2, which Texas Instruments rates at 2 × 30 W into 8 Ω at 24 V. The LC filter needs the same re-check as above: with 8 Ω the Q rises to 1.71, so either accept the +5.0 dB peak above the audio band or resize the filter (for example 10 µH with 1.5 µF, which brings the cutoff to 41 kHz and the Q back under 1).
Key points to remember
- Worked example: TPA3116D2, 24 V supply, bridge-tied load, 4 Ω speaker, 50 W. The output needs 14.14 V RMS, 20.0 V peak, 5.0 A peak, at a modulation index of 0.833 (duty 8.3–91.7%). A single-ended stage could only reach 18 W from 24 V; BTL reaches a 72 W theoretical maximum.
- LC filter: 22 µH + 1 µF gives a 33.9 kHz cutoff, −42.9 dB at the 400 kHz switching frequency (0.17 V peak of carrier at the speaker), and 0.68 A peak-to-peak of inductor ripple. Damping Q is 0.85 with 4 Ω (+0.45 dB) but 1.71 with 8 Ω (+5.0 dB peak) — re-check the filter before changing the speaker.
- Efficiency: Class D at about 90% loses 5.6 W at 50 W; Class AB on ±24 V rails is 65.4% efficient and loses 26.4 W — 4.75 times more heat. At 5 W the Class AB efficiency is only 20.7%. The Class AB stage needs a 3.2 °C/W heatsink; the Class D stage needs only 15.3 °C/W.
- Second design: 30 W into 8 Ω needs 15.49 V RMS, 21.9 V peak, modulation index 0.913, peak current 2.74 A, against a 36 W BTL maximum — the TPA3118D2 is the part rated for exactly this.
- Rule of thumb: a Class D amplifier earns its place wherever the heat matters — battery power, small boxes, or high power. Size the LC filter for the speaker you will actually connect, and check the Q before you trust the response.
