
A class-D amplifier, or switching amplifier, is an electronic amplifier in which the amplifying devices (transistors, usually MOSFETs) operate as electronic switches, and not as linear gain devices as in other amplifier classes.
Class-D amplifiers operate by rapidly switching back and forth between the power supply rails, using pulse-width modulation, pulse-density modulation, or related techniques to produce a pulse train output. Little energy is dissipated in the amplifying transistors because they are always either fully on or fully off, so efficiency can exceed 90%.
A low-pass filter is typically used to attenuate the pulse train output high-frequency content to reduce quiescent current and electromagnetic interference, resulting in the final analog output current and voltage to be sent to the speaker.
Switching amplifier circuits corresponding to what is now termed class-D operation were described in the early 1930s, including an electric amplifying circuit patented by Burnice D. Bedford in 1932. Pulse-width and pulse-time modulation techniques were further developed later in the 1930s by Alec Reeves for telecommunication signaling and transmission, rather than for power amplification.
The term class-D was proposed in 1959 by P. J. Baxandall in the context of transistor oscillators. High efficiency is obtained by arranging for the active devices to pass current only when the associated voltage is low. In Baxandall’s circuit, this was achieved using an inductor to steer current between devices, minimizing the overlap of voltage and current during conduction.
The first commercial product was a kit module called the X-10 released by Sinclair Radionics in 1964 with a low output power of 2.5 watts. By 1966, the Sinclair X-20 produced 20 watts but suffered from the inconsistencies and limitations of the germanium-based bipolar junction transistors available at the time. As a result, these early class-D amplifiers were impractical and unsuccessful. Practical class-D amplifiers were enabled by the development of silicon-based MOSFET (metal–oxide–semiconductor field-effect transistor) technology. In 1978, Sony introduced the TA-N88, the first class-D unit to employ power MOSFETs and a switched-mode power supply. Between 1979 and 1985, there rapid developments were made to improve performance and material construction consistency in MOSFET technology. The availability of low-cost, fast-switching MOSFETs led to class-D amplifiers becoming successful in the mid-1980s.
In 1983, Mead Killion applied for a patent describing an integrated-circuit class-D amplifier intended for use in hearing aids. A class-D-amplifier-based integrated circuit was released by Tripath in 1996.
Phase-modulated class-D architectures have also been developed. In these designs, a high-power switching waveform is generated on the primary side and shared across channels. Phase displacement is generated during demodulation according to the input signal and produces a pulse-width-modulated output. A phase-modulated class-D audio amplifier was described in a patent assigned to Peavey Electronics, in which the AC mains are rectified only to drive the primary switching stage, with no secondary-side DC supply rails, and the output is recovered using a low-pass filter.
Class-D amplifiers work by generating a train of rectangular pulses of fixed amplitude but varying width and separation. This modulation represents the amplitude variations of the analog audio input signal. In some implementations, the pulses are synchronized with an incoming digital audio signal, removing the necessity to convert the signal to analog. The output of the modulator is then used to turn the output transistors on and off alternately. Since the transistors are either fully on or fully off, they dissipate very little power. A low-pass filter provides a path for the low frequencies of the audio signal, leaving the high-frequency pulses behind.
The structure of a class-D power stage is comparable to that of a synchronously rectified buck converter, a type of non-isolated switched-mode power supply (SMPS). Whereas buck converters usually function as voltage regulators, delivering a constant DC voltage into a variable load, and can only source current, a class-D amplifier delivers a constantly changing voltage into a fixed load. A switching amplifier may use any type of power supply (e.g., a car battery or an internal SMPS), but the defining characteristic is that the amplification process itself operates by switching.
Some class-D amplifiers use more than two output voltage levels to improve efficiency and reduce component size by switching in smaller voltage steps. This reduces switching ripple current and allows the use of smaller output inductors. One implementation uses flying-capacitor half-bridges to produce three-level waveforms from a single supply rail, or five-level waveforms in bridge-tied-load configurations. This has been demonstrated in monolithic audio power amplifiers.
An alternative approach generates multiple output voltage levels using stacked or series-connected switching devices, without flying capacitors, in which voltage stress is shared across devices while the output stage generates multilevel PWM.
The theoretical power efficiency of class-D amplifiers using ideal switches is 100%. That is to say, all of the power supplied to it is delivered to the load, and none is turned to heat. This is because an ideal switch in its on state would encounter no resistance and conduct all the current with no voltage drop across it, hence no power would be dissipated as heat. And when it is off, it would have the full supply voltage across it but no leakage current flowing through it, and again no power would be dissipated. Real-world power MOSFETs are not ideal switches, but practical efficiencies well over 90% are common for class-D amplifiers. By contrast, linear AB-class amplifiers are always operated with both current flowing through and voltage standing across the power devices. An ideal class-B amplifier has a theoretical maximum efficiency of 78%. Class-A amplifiers (purely linear, with the devices always at least partially on) have a theoretical maximum efficiency of 50%, and some designs have efficiencies below 20%.
The 2-level waveform is derived using pulse-width modulation (PWM), pulse-density modulation (sometimes referred to as pulse frequency modulation), sliding mode control (more commonly called self-oscillating modulation) or discrete-time forms of modulation such as delta-sigma modulation.
A simple means of creating the PWM signal is to use a high-speed comparator ("C" in the block diagram above) that compares a high-frequency triangular wave with the audio input. This generates a series of pulses, of which the duty cycle is directly proportional to the instantaneous value of the audio signal. The comparator then drives a MOS gate driver, which in turn drives a pair of high-power switching transistors (usually MOSFETs). This produces an amplified replica of the comparator's PWM signal. The output filter removes the high-frequency switching components of the PWM signal and reconstructs audio information that the speaker can use.
DSP-based amplifiers that generate a PWM signal directly from a digital audio signal (e.g., SPDIF) either use a counter to time the pulse length or implement a digital equivalent of the triangle-based modulator. In either case, the time resolution afforded by practical clock frequencies is only a few hundredths of a switching period, which is not enough to ensure low noise. In effect, the pulse length gets quantized, resulting in quantization distortion. In both cases, negative feedback is applied inside the digital domain, forming a noise shaper which results in lower noise in the audible frequency range.

Two significant design challenges for MOSFET driver circuits in class-D amplifiers are to keep
With fixed-frequency PWM modulation, as the (peak) output voltage approaches either of the supply rails, the pulse width can get so narrow as to challenge the ability of the driver circuit and the MOSFET to respond. These pulses can be as short as a few nanoseconds and can result in shoot-through and heating due to linear mode operation. Other modulation techniques, such as pulse-density modulation, can achieve higher peak output voltages, as well as greater efficiency compared to fixed-frequency PWM.
Class-D amplifiers place an additional requirement on their power supply, namely that it be able to sink energy returning from the load. Reactive (capacitive or inductive) loads store energy during part of a cycle and release some of this energy back later. Linear amplifiers will dissipate this energy; class-D amplifiers return it to the power supply, which should somehow be able to store it. In addition, half-bridge class-D amplifiers transfer energy from one supply rail (e.g., the positive rail) to the other (e.g., the negative) depending on the sign of the output current. This happens with both resistive and reactive loads. The supply should either have enough capacitive storage on both rails, or be able to transfer this energy to the other rail.
The active devices in a class-D amplifier need only act as controllable switches and need not have a particularly linear response to the control input. MOSFETs are usually used. GaN FETs are also an option.
The actual output of the amplifier is not just dependent on the content of the modulated PWM signal. Errors may be introduced by a number of sources:
An effective way to combat errors, regardless of their source, is negative feedback. A feedback loop including the output stage can be made using a simple integrator. To include the output filter, a PID controller is used, sometimes with additional integrating terms. The need to feed the actual output signal back into the modulator makes the direct generation of PWM from a SPDIF source unattractive.
Mitigating error issues in an amplifier without negative feedback requires addressing each source separately:
The major advantage of a class-D amplifier is that it can be much more efficient than a linear amplifier, dissipating less power as heat in the active devices. This is especially compelling in compact portable, battery-powered devices. Also, given that large heat sinks are not required to dissipate heat, class-D amplifiers can be much lighter weight than class-A, -B, or -AB amplifiers, an important consideration with portable sound reinforcement system equipment and bass amplifiers.