Class D IC amps: Ready for audio prime time
It's now OK-and easy-to use the "bad boy" of audio amplifiers if you modify some traditional audio-design guidelines.
By Bill Schweber, Technical Editor -- EDN, 1/7/1999
In the early days of electronics, when triode vacuum tubes appeared and enabled engineers to manipulate the flow of a larger current in proportion to a smaller controlling signal, amplifiers were available in classes of performance. Class A was the best and the brightest. Biased in the middle of its active region, with relatively high bias current and small excursions around its bias point, it featured superior fidelity but with roughly 10% efficiency. Class B was somewhat inferior in sound quality but had better efficiency, and Class C was even more inferior but offered still higher efficiency (see sidebar " Revisiting the class struggle "). Then there was Class D: It was biased to well beyond its cutoff point in the absence of an input and thus operated in the on/off mode. Its primary application was for switching power to motors and relays—what we now call a digital function—albeit at low speed. You wouldn’t even consider using this binary-state amplifier for audio applications. Despite audio designers’ getting a better understanding of Class D by the 1960s, they could use this architecture for high-performance audio only if they were willing to carefully work on all the details. The audio systems that Bose Corp ( www.bose.com) mass-produced in the 1970s for OEM automotive installations demonstrate that these designs could succeed. But times have changed. Basic Class D amplifiers were previously relegated to applications such as limited-bandwidth public-address systems, which tolerate THD of several percentage points. Now, an IC audio amp that rates only a D in class needs no longer suffer from low self-esteem. You can get high efficiency plus high fidelity in a Class D IC or module, comparable with Class AB designs (see sidebar " Efficiency numbers may vary "). You’re no longer subject to a sharp fidelity-versus-efficiency trade-off, removing a major dilemma in your design approach. Meanwhile, you must adapt your design to the needs of high-frequency switching circuitry and related issues. Using an on/off signal to capture and accurately render a faithful but more powerful reproduction of an analog signal may seem counterintuitive at first glance, especially when you think of the audiophile world and specifications such as 0.1% THD. After all, what’s more distorted than a rectangular waveform approximating a sinelike wave shape? Consider the simple case of a sine-wave input. Suppose your digital signal uses +V and –V to represent the two logic levels. Next, use the digital states to drive transistor or MOSFET switches, which connect to each side of the output speaker; when one switch is on, the other is off. Because the switches are either on or off, they operate efficiently with virtually no steady-state loss except for RON loss. When you switch from one binary state to the other as the sine input passes through the zero-crossing level, you have a rectangular wave approximation—admittedly crude—of a sine wave. Lowpass-filtering helps somewhat, but distortion is still about 10 to 20%, depending on the filter. But, instead of just waiting for the zero crossings of the input to make an output determination, compare the bandwidth-limited input with a precise triangle clock signal that is at a frequency much higher than the audio bandwidth. Now, the comparator output is a square wave with a duty cycle that is proportional to the input-signal amplitude ( Figure 1 ). Designers developed this classic Class D design in the late 1940s and early 1950s; it’s the principle underlying pulse-width modulation (PWM), which nonaudio amplifier applications also use. Although the duty cycle of this Class D or PWM waveform relates to the input amplitude, the waveform is still a poor representation of the input. Fortunately, the solution to this problem is simple—at least in concept. You put a pair of lowpass filters between the Class D driver outputs and the load inputs. With the right filter, matched to the load, you can achieve THD of less than 1%. Your selection and design of this filter and matching it to the switching frequency of the amplifier, as well as the load characteristics, are critical parts of successful overall Class D design. Design issues are no longer just analogUsing a Class D IC audio amp makes your design effort much simpler than using a discrete approach. However, you should consider some new factors if your experience is with Class A, AB, or B. First, you no longer deal with low- and moderate-level analog signals with bandwidth only as high as 20 kHz. You now have switching waveforms of 100 kHz to 1 MHz, so you must provide adequate ground planes. Equally important, you need power-rail bypassing very close to the Class D IC. You also have to keep all leads short. This requirement is especially important between the high-level Class D driver outputs and the lowpass filters; otherwise, you source RFI that you don’t want in your system. Components in the filter section should also be close together to minimize track length. Though you need to follow good high-frequency design and layout guidelines, you may not need to be overconcerned about these switching waveforms. For audio subsystems of laptop PCs, the RFI from the system clock and CPU is a greater threat to electronic integrity than your audio amplifier. Even if your design uses a slower CPU, such as an embedded microcontroller managing a security panel with user-voice-prompt features, you can minimize RF concerns by using shielded or toroidal inductors in the lowpass filters to reduce emissions from the filter components themselves. A bridge to the loadNearly all Class D amplifiers drive their loads via an H-bridge configuration, which alternately switches the load between the positive and negative rails. Unlike Class A through C loads, the Class D load is therefore ungrounded. You have to make sure that your design and mounting configuration allows for ungrounded loads and that the Class D amplifier you choose can tolerate inadvertent grounding of one side of the load if this situation is possible. You can connect most real-world audio loads as floating loads; a standard headphone is one of the few loads that assume that one side is grounded, so you would have to use a separate low-power, single-ended headphone amplifier in this situation. These floating, bridge-tied-load (BTL) configurations serve another purpose: They boost potential output power by a factor of four over a grounded load. A single-ended load sees a maximum voltage differential of VSUPPLY, whereas a BTL sees a maximum voltage differential of –VSUPPLY to +VSUPPLY, or 2XVSUPPLY. Because the power delivered for a fixed load resistance is proportional to the square of the voltage, doubling the output voltage quadruples the power. It’s almost like getting something for nothing here, so don’t complain about needing bipolar supplies. Even if you have only a unipolar supply in your system, you don’t lose out. Many of the Class D amplifier ICs contain internal charge-pump circuitry to develop a local negative supply; even if they don’t, you can build your own with a basic dc/dc-converter IC and obtain more than 90% negative-supply efficiency. For outputs up to about 10W, IC vendors now build the output switches as part of the IC. This approach saves you space and cost and minimizes interconnection and interface issues because the bridge’s param-eters—rise and fall times as well as on-resistance—match the amplifier control circuitry and drivers. For higher power designs, as well as those in which you need to match unusual loads, you may prefer to provide your own MOSFET or other switches, using drivers that are in the IC. Vendor parts diverge in practiceAlthough the latest Class D ICs significantly reduce your design challenge compared with discrete designs, each vendor’s offerings differ significantly from the others, so you need to carefully choose the power levels and the number and type of external components you can accept in your design ( Table 1 ). For example, Texas Instruments offers the stereo TPA005D02, a 2W-average/5W-peak power (per channel) IC, which includes on-chip DMOS power-output transistors that can drive 4 Ohm loads ( Figure 2 ). This 48-pin device has balanced differential inputs for input flexibility with various audio-interface situations. Its nominal operating frequency is 250 kHz; THD+ noise is less than 0.5% across the audio band with a 5V supply. You can also put the amplifier into a shutdown mode in which it consumes just 400 µA. You do not need a heat sink at these single-watt power levels running at 80 to 90% Class D efficiencies with realistic audio signals, because the surface-mount IC also includes a thermal pad that conveys dissipated heat to the pc board. To help you use this IC, TI also provides a SLOP223 evaluation module that is compatible with the company’s audio-power amplifier plug-and-play platform. The user’s guide offers reference designs, schematics, and Gerber plot files. The design software lets you enter desired parameters and evaluate audio and thermal performance under a variety of conditions. Linfinity Microelectronics introduced its LX1720 stereo-controller IC with the notebook-PC market in mind, optimized for 20-Hz to 20-kHz operation and 10W rms output. This 44-pin SSOP IC, which requires external MOSFETs, operates at around 350 kHz. Fed by a 1-kHz sine-wave test input with an 8 Ohm load per channel and 0.1 Ohm MOSFETs, the measured THD+distortion is less than 1%, and efficiency is greater than 92%. With a real-world music signal, such as the first 20 sec of Hold On Tight from the Electric Light Orchestra, the efficiency is approximately 60%. Because the output drivers are external, you can use larger external MOSFETs and a higher voltage supply to get even more power. Linfinity Microelectronics also supplies a step-by-step design application note and reference design, as well as the $49.95 LXE1720-01 amplifier module, which plugs into the $19.95 LXE1700 evaluation kit and provides audio-input jacks, power connections, volume control, and output connections ( Figure 3 ). STMicroelectronics recognizes that many audio applications need high efficiency but not stereo output (that is, they are monophonic) and can accept moderate distortion levels. To meet this need, the company has developed a trio of Class D parts, the TDA7480, TDA7481, and TDA7482, which offer 10, 18, and 25W outputs, respectively. The smallest of these 100-kHz ICs is available in a power DIP package with a heat-spreading lead frame, and the larger two ICs come in 15-pin packages with heat-sink tabs ( Figure 4 ). The application note that STMicroelectronics supplies gives detailed design steps, concluding with both second- and third-order Butterworth filter design options; the individual part data sheets show detailed pc-board layouts. A lot of similarities exist between a Class D amplifier and a dc/dc switching regulator. Recognizing this fact, Micro Linear Corp’s ( www.microlinear.com) Application Brief 7 shows you how to use the company’s ML6552 switching regulator, which can both source and sink current, as a Class D amplifier. The design, which switches at around 600 kHz, requires 10 passive components and yields THD of 0.8% from 20 Hz to 30 kHz; efficiency is 55% for this single-watt configuration. Not all high-efficiency ICs are Class D. Philips Semiconductors goes the Class H route with the TDA1562Q. This 17-lead SIP operates as a Class AB amplifier at low levels and automatically switches to Class H mode when its case temperature exceeds 120°C, corresponding to approximately 18W output power. It delivers 50W into a 4 Ohm load from a 12V supply (nominal car battery), 70W from a 14.4V supply (a car battery fully charged), and 100W from a 17V supply. The mono IC also includes a status output that tells you which class of operation the device is in and a diagnostic pin that informs you of excessive dynamic distortion, short circuits, or open circuits at the output. Pesky passive filters affect efficiencyYour lowpass-filter design is an opportunity for you to make your design trade-offs—it’s those analog signals again in an on/off world. Work with the application group and literature from the IC vendor to see what the company recommends; there’s no use covering the same ground by yourself. The vendors’ design kits, evaluation units, and modeling software should help you explore topology and component selections. The vendors can’t make all decisions for you, however. A two-pole Butterworth topology is effective for many applications, but designs that call for lower distortion—less than about 0.5%—may need a four-pole filter, which costs more and involves more components and matching ( Figure 5 ). You need two identical filters, one for each leg of the H-bridge and its BTL outputs. Your design life would be much easier if you simply buffered the filter output, thus making the filter design relatively independent of the load. Sorry: Because the buffer would have to operate as a power-hungry Class A or Class AB function to provide the fidelity you need, it would negate the major virtue of the Class D amplifier. If you must accommodate loads that vary over a wide resistance or reactance range, be sure to model and analyze your filter design accordingly. You also have to balance the Class D frequency you choose against the perform-ance you can achieve and the filter components you need. On one side, a higher switching frequency is easier to filter with smaller value and smaller physical-size capacitors and inductors that can have greater tolerance from their nominal values. However, switching losses increase with frequency, so you may not get the overall efficiency you expect. Around 750 kHz to 1 MHz, the design reaches the point of diminishing returns in efficiency. Similarly, high-frequency losses in the passive components and even RF "skin effect" contribute to inefficiency. RF-layout concerns are more evident at higher frequencies. Conversely, lower frequencies minimize RF but need larger passive filter components or more complex filters to achieve the same THD as a higher frequency implementation. Your layout and component selection are easier, however. Lower frequency filters usually have larger inductors with more turns and longer linear conductors, so their resistance may be higher. The fact that inductor vendors offer larger gauge (hence, lower resistance) wire for these larger value inductors balances out this resistance. In contrast, higher frequency inductors have fewer turns and shorter linear conductors but are often of thinner wire with high resistance. Use the make and model components that the IC vendor recommends or be prepared to dig into the component data sheets to get additional parameters for a more realistic model. For better filter analysis, you should include the dc resistance of the filter inductor as part of your filter model. For your first-pass estimate, start your Class D implementation with a switching frequency that’s at least 10 times the audio bandwidth; that is, 200 to 250 kHz for a full audio band. If your design requires lower audio bandwidth, as in many applications that need low-THD audio but only over a limited band, you can either reduce the switching frequency or loosen your filter requirements to achieve the same final THD. If you’re unsure of your final switching frequency, be sure that the IC you select supports the frequency range you wish to explore. Reference
| |||||||||||||||||||||||||||||||||||||||
AcknowledgementThanks to Don Dapkus of Texas Instruments for his comments and insight. | |||||||||||||||||||||||||||||||||||||||
Bill Schweber, Technical EditorYou can reach Bill Schweber at 1-617-558-4484, fax 1-617-558-4470, bill.schweber@cahners.com. | |||||||||||||||||||||||||||||||||||||||





Bill Schweber, Technical Editor