Class D amplifiers present us with a revolutionary solution, which would help us eliminate loss and distortions caused due to conversion of digital signals to analog while amplifying signals before transmitting it to speakers. This inchoate piece of knowledge could prove to detrimental in improving and redefining essence of sound and take it to a different realm.
This type of amplifiers do not require the use of D-A conversion and hence reduce the costs incurred for developing state of art output technology. The digital output from sources such as CDâ„¢s, DVDâ„¢s and computers now can directly be sent for amplification without the need for any conversion.
Another important feature of these unique and novel kind of amplifiers are that they give us a typical efficiency of 90% compared to that of the normal ones which give us a efficiency of 65-70%. This obviously means less amount of dissipation that indirectly means lower rated heat sinks and low waste of energy. This makes the use of D type amplifiers in miniature and portable devices all the more apt.
All these years D type amplifiers have been used for purposes where efficiency was the key whereas now developments in this technology have made its entry possible into other domain that are less hi-fi. Thus showing up in MP3 players, portable CD players, laptop computers, cell phones, even personal digital assistants.
Digital Audio's Final Frontier-Class D Amplifier
Digital technology continues its march from media like CDs and DVDs toward your audio speakers. Today, amplifiers based on digital principles are already having a profound effect on equipment efficiency and size. They are also beginning to set the standard for sound quality.
An old idea, the Class D amplifier has taken on new life as equipment manufacturers and consumers redefine the musical experience to be as likely to occur in a car, on a personal stereo, or on an airplane as in a living room. For most consumers today, portability and style outweigh other factors in the choice of new audio gear.
Class D amplifiers are ideally suited to capitalize on the trend. They are already starting to displace conventional high-fidelity amplifiers, particularly in mobile and portable applications, where their high efficiency and small size put them in a class by themselves. For example, they are fast becoming the dominant technology for entertainment systems in cars, where passengers are now apt to watch a DVDâ€and expect from the vehicle's compact, ill-ventilated electronics the same rousing surround-sound experience they get at home.
The new amplifiers can provide it. They are typically around 90 percent efficient at rated power, versus 65-70 percent for conventional audio amps. Such high efficiency means, for one thing, that the amplifiers can get by with much smaller heat sinks to carry away the energy they waste. Also, portable devices like MP3 players can go much longer on a battery charge or can be powered by tinier, lighter batteries.
Class D amplifiers have been used for decades in industrial and medical applications when high efficiency is key. They have been applied with great success in devices as small as hearing aids and as large as controllers for hefty motors and electromagnets. They blossomed as a significant force in high-fidelity audio a few years ago, when Class D power amplifier chips were released by companies like Tripath Technology, Texas Instruments, and Cirrus Logic in the United States; Philips and STMicroelectronics (partnering with ApogeeDDX) in Europe; and Sanyo (partnering with Bang & Olufsen) in Japan.
More recently, Class D amps have expanded beyond the hi-fi niche, showing up in MP3 players, portable CD players, laptop computers, cellphones, even personal digital assistants (PDAs). At the same time, they have been making forays into the world of home audio in the form of products based on those new chips. Notable entries include amplifiers from Bel Canto Design Ltd. (Minneapolis, Minn.) and PS Audio (Boulder, Colo.). Sharp Corp. (Osaka, Japan) is also pushing aggressively into the home audio market with a somewhat different line of amplifiers ranging in price from US $500 to $15 000. The company uses sigma-delta modulation, which has the effect of limiting the amplifiers' efficiency.
By the way, the "D" in Class D does not stand for digital, but was simply the next available letter for classifying amplifiers. What distinguishes Class D amplifiers from all others is that their power transistors are always operated either fully on or fully off. This is the only and complete definition of Class D; its significance will become clear later.
Nomenclature aside, Class D amps do point to an eventual sea change for audio. In their most obvious form, these systems will be able to accept a stream of bits from a CD or MP3 player and convert it into an analog signal that can drive a set of speakers. Contrast these with conventional amplifiers, which are entirely analog and can amplify digital signals only after those signals have been converted into analog form, usually in the CD player or MP3 unit.
Yesterday, a CD player would be partly digital [blue] and partly analog [gold]. It would send analog signals to all-analog amplifiers [top]. Today's latest amps are partly binary. They accept analog inputs, amplify them by switching, and put out analog signals [center]. In the future, digital sources will feed digital amps, again converting to analog only at the output [bottom].
Today, Class D amplifiers generally work with low-level analog signals, which they pump up to current and voltage levels high enough to drive audio speakers. Remarkably, the heart of such an amplifier does this by switching between only two signal levels. That feat is achieved through various pulse modulation schemes, in which a continuously varying analog waveform is changed into one that switches between just two valuesâ€a binary signal, in other words. Some parameter of this binary signalâ€for example, the relative duration of its on- and off-statesâ€conveys the same information contained in the smooth curve of the analog input wave. Before delving more deeply into the workings of this scheme, called pulse-width modulation, let's briefly review conventional amplifier circuitry.
Engineers have divided amplifier circuit types into different topologies and classes, depending on how much current is allowed to flow through the transistors or tubes when they aren't delivering power to the speakers. Most conventional audio amplifiers are a variation of a topology known as push-pull. In its most elementary form, it uses two transistors (or, if you prefer, vacuum tubes): one for pushing current, or sourcing it, toward the speakers; the other for pulling it back, or sinking it. To get a (very) rough idea of how it works, think of two lumberjacks sawing a tree, one on either end of a long, old-fashioned saw.
In Class B push-pull, output current is delivered by only one transistor at a time, while the other is completely inoperative. In the case of the lumberjacks, only one could be pushing on the saw at any given instantâ€and they would have to time their exertions very precisely to work efficiently. Similarly, in a Class B amp, note that all of the output current [green waveform] comes either from the current-sourcing transistor [red waveform] or from the current-sinking one [blue waveform] but never from both at the same time. This mode of operation is rather efficient: it can theoretically deliver 78 percent of the power it receives from the power supply to the speakers, dissipating the rest as heat.
In this kind of amp, 100 percent of the current that goes through the transistors is delivered to the speakers. So why isn't the amplifier 100 percent efficient? Recall that power is the product of current and voltage. If our amplifier has a maximum output voltage of, say, 40 V, and at some point is called upon to put out, say, 8 V across the 8-ohm speakers, the output current would be 1 A and the output power would be 8 W. But since the supply voltage would have to be 40 V to properly handle higher instantaneous voltages, at that instant 32 V would be dropped across the transistor while the very same 1 A of current flowed through it. The result: 40 W of power consumptionâ€8 W to power the speaker and 32 W to heat the room.
The main problem with Class B is crossover distortion, which occurs when operation switches from one transistor to the other. If this instantaneous switching of the two devices is not coordinated with absolute perfection, the discontinuity creates distortion that can be heard in the sound coming out of the speakers.
So for audio, engineers prefer Class AB amplifiers; you almost certainly have one in your home. In Class AB, both transistors carry current even when no net current is delivered to the load, doing so at what is known as the crossover point. Remember our lumberjacks sawing the tree. Class AB operation frees them from the restriction that they may push only one at a time. Now one lumberjack can begin pushing before his partner has finished his stroke. The result is lower efficiency (because they are actually fighting one another) but a smoother transfer of the workload from one man to the other as the first one pushes less and less hard and the second one gradually takes over.
So it is with transistors. Unlike Class B, in which one transistor must turn off at precisely the time the other one turns on, Class AB allows operation to hand off gradually from one transistor to the other. In the, note that at point A on the waveform, all of the [green] output current comes from the sourcing transistor [red], and the sinking transistor is off. At point B, the sinking [blue] transistor starts to conduct, diverting some of the source current from the load. By the time the output current drops to zero [at point C], all the source current is diverted to the sinking transistor. Beyond that point, the sinking transistor carries more current than the sourcing one, and there is again net current through the loadâ€but in the opposite direction.
Compared with Class B, Class AB exhibits less distortion because it doesn't require that one transistor turn on precisely when the other turns off. But it is also less efficient because, in the crossover region, when the output current is near zero, some current flows from one transistor to the other and never gets to the load at all.
What is Class D audio amplifier?
Class D amplifiers convert the audio signal into high-frequency pulses that vary in width with the audio signal's amplitude. The varying-width pulses switch the power-output transistors at a fixed frequency. A low-pass filter converts the pulses back into an amplified audio signal that drives the speakers. This design approach produces an amplifier with better than 90% efficiency and that is more complex than its linear counterpart.
In a class D amplifier, the switching elements are either in cutoff or saturation, resulting in lower losses than class AB types. The trade-off is circuit complexity.
The amplifier requires an integrator, a duty-cycle modulator, a switch predrive circuit, and an output filter. The half-bridge class D amplifier using constant-frequency, duty-cycle modulation, sums the square-wave output of the switching power transistors with the audio input to provide negative feedback. You cannot take the feedback after the lowpass filter unless you use a complicated compensation network to handle the phase shift that the filter introduces. A two-pole filter, for example, would introduce a 180Ã‚Â° phase shift, which would cause the circuit to oscillate.
The square-wave output is synchronous with the audio input, but you must remove the carrier. The integrator sums the two signals and simulates the effect of the output filter. The circuit feeds the resultant error signal into the duty-cycle modulator, which comprises a comparator and a triangle-wave generator. Then, the circuit compares the triangle wave to the error signal to produce the modulated output.
The duty-cycle modulator compares an error signal to a triangle wave (a). The duty cycle of the modulated output (b) is proportional to the error signal.
The modulated output is a square wave whose duty cycle is proportional to the input signal. In this half-bridge circuit, this output drives the upper and lower power switches in antiphase; the circuit always drives one switch into saturation while it cuts the other off. The square wave causes the switches to change state as fast as possible, given the technology used to implement the switch. Fast switching limits the time that the switches spend in the linear operating region, thereby increasing efficiency and reducing heat generation. The combination of switching and conduction losses defines the upper bound of the amplifier's efficiency.
The circuit filters out the high-frequency square wave that the power switches generate, leaving only the amplified audio signal. This signal then drives a ground-referenced speaker load.
The next figure shows a simplified schematic of a class D audio amplifier using a full-bridge configuration. If you use a full-bridge design, in which the circuit develops a peak-to-peak load voltage equal to twice the supply voltage, you need only a unipolar supply instead of the bipolar supply required for the half-bridge design. The full-bridge circuit operation is similar to that of the half-bridge design, except the full-bridge design uses four MOSFETs instead of two, uses a differential lowpass filter in the feedback network to support the floating load, and requires two lowpass filters to attenuate the carrier.
This simplified full-bridge class D amplifier uses a monolithic predriver IC.
Four N-channel MOSFETs switch high currents into a low-impedance load. These MOSFETs turn on in pairs, one high-side device with the opposite low-side device. To avoid shoot-through, the circuit ensures a dead time between turning off one pair of MOSFETs and turning on the other pair.
MOSFETs in a full bridge need to withstand only half the voltage they would see in a half-bridge circuit. This lower voltage requirement allows you to minimize conduction losses, even though two devices are in the conduction path. Given a fixed die area, two MOSFETs in series have a lower total RDS(ON) than does one MOSFET with twice the drain-source breakdown voltage rating (BVDSS) because RDS(ON) increases nonlinearly with higher drain-to-source breakdown voltage.
Base your MOSFET selection on the following criteria: peak voltage and current requirements, body-diode reverse-recovery time, switching losses, and conduction losses. The peak voltage and current determine the required ratings that the MOSFET must be able to sustain. The body-diode recovery time, switching losses, conduction losses, and output-filter losses determine the output stage's efficiency. You can calculate peak voltage and current using the following equations:
For example, if you require an output power of 100W into an 8(ohm) speaker, VPEAK and IPEAK would equal 40V and 5A, respectively. Therefore, the MOSFETs must have a BVDSS above 50V (using a guard band of 25%) and a rated current above 5A.
Select a MOSFET with a body diode that has a low reverse-recovery time to reduce the losses that occur when the MOSFETs switch off and on. The current state-of-the-art reverse-recovery time is 100 nsec. You can minimize switching losses by choosing a low switching frequency, a MOSFET with low gate-to-source capacitance, and a driver with high drive capability. In selecting an operating frequency, weigh the advantages of high carrier frequencies against increased switching losses and the increase in radiated EMI/RFI. The lower the switching frequency, the harder it is to filter the carrier from the audio signal.
If you effectively manage these losses, the conduction losses become the dominant factor in the amplifier's efficiency. In other words, choosing a MOSFET with a lower RDS(ON) increases the amplifier's efficiency. For example, a MOSFET with an RDS(ON) of 200 m(ohm) would reduce the efficiency 5% from ideal. This number results from
multiplying by 2 in the numerator because of the full-bridge topology. However, a lower RDS(ON) of 80 m(ohm) would reduce the efficiency only 2%. That is, you are simply trading silicon for efficiency.
In this feedback network, a differential lowpass filter (IC1C and associated components) attenuates the half-bridge's output by a factor of 11. IC1B ac couples the audio input, and an integrating error amplifier (IC1A) sums the filtered feedback signal and the buffered audio input.
The above figure shows the internal circuitry of the previous feedback-network block. In this circuit, the differential lowpass filter comprising IC1C and associated components attenuates the output of the half-bridge by a factor of 11. Buffer amplifier IC1B ac-couples the audio input. An integrating error amplifier, IC1A, sums the filtered feedback signal and the buffered audio input. The circuit feeds the error signal into the inverting input of the comparator in full-bridge predriver IC, which compares the error signal with a sawtooth waveform to generate the PWM signal. A simple triangle-wave oscillator generates the sawtooth waveform.
Another feedback signal in full-bridge predriver IC comes from the current-sense resistor on the ground leg of the half-bridge. The sense resistor should have as low a value as possible to reduce its contribution to conduction losses. Simple circuitry in the overcurrent-shutdown and reset-logic block compares the current-sense output to a voltage reference. If the current rises above the maximum rated current of the MOSFETs, the voltage across the current-sense resistor exceeds the reference, causing a comparator to change state and disable the output drivers. You could also use the current-sense resistor to implement current limiting. This would protect the MOSFETs, but the amplifier's output would distort during an overcurrent condition.
A differential, four-pole, lowpass Butterworth filter removes the 250-kHz carrier from the square-wave output and delivers the amplified audio to the speaker.
The class D amplifier uses two Butterworth filters to supply the amplified audio signal to the floating load. Butterworth filters provide flat response in the pass band, an important criterion in an audio system because a flat response improves dynamic performance. Each filter in the above has four poles with 30-kHz cutoff frequencies. The clock rejection of each is 74 dB at 250 kHz, which is the carrier frequency for this evaluation-board circuit. You can improve the rejection by adding poles or lowering the cutoff frequency. An RC filter across the load provides impedance stabilization at high frequencies. Stabilization is necessary because the speaker becomes inductive as frequency increases, and a Butterworth filter requires a resistive load.
When driving 100W into a 4(ohm) load, this amplifier has a THD+N across the audio spectrum of less than 1% to 8 kHz(fig a) . Above 8 kHz, THD+N increases to about 2.8% before rolling off. THD increases because the amplifier introduces more nonlinearity as the audio input frequency rises. As the frequency approaches the high end of the audio spectrum (above 12 kHz), THD rolls off because the output filters begin to attenuate the harmonics.
However, distortion at lower power levels-that is, performance at less than peak output-is a better measure of an audio amplifier. An audio amplifier delivers average power that is typically a fraction of its maximum output power, depending on the dynamic nature of the music. At a 10W output level, this class D amplifier's THD+N is less than 1.2% over all the frequencies of interest (Fig b). THD increases at higher power levels because the amplifier introduces nonlinearities as the output waveform approaches clipping.
THD is primarily a function of filter selection and the feedback network, and you can further reduce distortion to suit the application's requirements. Using a higher-grade op amp in the feedback circuit, modifying the compensation network, and improving the linearity of the triangle waveform should all help to improve THD and reduce residual noise. In particular, matching the output filter to the speaker's impedance reduces peaking in the amplifier's closed-loop response and improves the distortion characteristics of the amplifier.
When driving 100W to a 4(ohm) speaker, this evaluation-board design of a class D amplifier produces less than 2.8% THD+N (a). At 10W, THD+N is less than 1.2% (b).
When a D Lands You At the Head of the Class
When a push-pull amplifier [right] is operated in Class B, all of the output current [green waveform] comes either from the current-sourcing transistor [red waveform] or from the current-sinking device [blue waveform] but never from both at the same time. Class AB exhibits less distortion by allowing the transistors to work together when the output signal is near zero, in what is called the crossover region.
One way to get a two-state, on-or-off, amplifier to handle analog audio signals is through the use of pulse-width modulation (PWM), which converts the audio input [green] into a binary PWM signal [red] by comparing it with a triangle waveform [blue] as shown in the circuit diagram [below]. The PWM signal turns the sourcing power transistor on and off, while its inverse does the same for the sinking power transistor. Varying the value of the Ã‚Â±40-V supply voltages varies the gain of the amplifier.
The red waveform below carries all the information in the green analog signal by spending, on average, more time at its upper value when the analog signal is larger and less time there when it is smaller.
Class D amplifiers also use two transistors, but instead of amplifying analog signals, which can assume any value, they switch between just two voltage values, +40 V and -40 V in the case of the amplifier mentioned above. One transistor can connect the output to the +40-V rail, the other to the -40-V rail.
Theoretically, neither transistor wastes any power. When one is turned fully on, all of the power supply voltage is dropped across the speakers and none drops across the transistor. When it's fully off, all of the supply voltage drops across the transistor, but no current flows through it. In both cases, the product of the voltage across the transistor and the current through it is zero.
Of course, this Class D amplifier can reproduce only binary (two-valued) waves. So to use it to amplify analog music signals, those signals have to be converted into a suitable on-off waveform. One way to do this is with pulse-width modulation (PWM). In PWM, the amplitude of an analog input signal serves to control the average percentage of time the transistor spends turned fully on, known as its duty cycle.
Comparing the analog input signal with a triangle waveformâ€one that continuously sweeps linearly from a low to a high value and back again, generates the PWM signal. To do that, both signals are fed into an analog comparator whose output is high whenever the analog signal has the higher instantaneous value, and low when the opposite is true.
The output of this analog comparator, then, is a waveform that has the information of the original analog signal and yet switches between just two valuesâ€in other words, it's precisely what we need. In a Class D amplifier, this PWM waveform acts as a binary control signal that switches the transistors on and off depending on the amplitude of the analog input. Changing the power supply voltages changes the amount of amplification.
Of course, what the transistors produce is a higher-power version of this same, switching waveform, which would overheat the speakers dreadfully if allowed to reach them, containing as it does amplified versions of both the original audio input signal and inaudible higher-frequency components arising from the PWM process. So after the amplification, that PWM wave has to be passed through a filter that lets lower-frequency signals through while weakening the higher-frequency ones. This the low-pass filter does by smoothing the switching waveform, in effect suppressing the rapid changes in the output waveform and leaving only its average value. At the same time, happily enough, it filters out noises caused by the switching process itself.
Class D audio amplifiers are reasonably simple, conceptually. The trick is building one that is affordable and that performs well. First of all, it requires inexpensive, low-loss, fast-switching transistors that are easy to drive. Such devices became available only with the maturing of metal-oxide semiconductor field-effect transistors (MOSFETs) in the early 1990s.
D could also stands for distortion
Second, Class D designs are prone to distortion, chiefly from imperfect power supply regulation and timing error. Since the output voltage of a Class D amplifier is directly proportional to the power supply voltage, any error in that voltage modulates the output voltage. Power supply variations caused by variations in the amount of current drawn by the amplifier show up in the output as distortion. Instabilities in the supply itself, such as power line ripple, show up at the output as noise, or hum. Building a power supply so that voltages remain rock steady in spite of fluctuations in output current is not a trivial task.
The other source of distortion is timing error, due to variation in how long MOSFETs take to switch from on to off, which in turn depends on how much current the amp is being called on to deliver. This error causes the output duty-cycle to deviate from the input duty-cycle, such that the output signal's shape differs from the input signal's shape. Timing error causes distortion directly proportional to the duty-cycle errorâ€the ratio of the timing uncertainty to a single switching period. The greater the timing uncertainty and the higher the switching frequency (the higher the frequency of the triangle wave in the PWM circuitry), the worse is the distortion.
An IC power stage optimized to minimize its timing uncertainties, like the one from Texas Instruments, can sport errors as low as 10 ns. With a typical switching frequency around 350 kHz, this corresponds to a distortion figure of around 0.1 percent. Such figures are certainly acceptable for inexpensive multichannel audio. But high-performance audio amplifiers for items such as MP3 players and home stereos need to reduce distortion to as little as 0.01 percent. Fortunately, it's possible to correct for this rather inexpensively.
Frequency response is another prime performance issue for Class D amplification. The all-important low-pass output filter, which recovers the original audio signal from the PWM waveform, is passive, and its frequency response is flat only when it drives a purely resistive load of a specified value. Since the impedance of real loudspeaker loads varies between 4 and 16 ohms at various frequencies, a solution is obviously needed.
These performance issues persuaded many engineers to adopt a stance of technical conservatism that delayed the commercial introduction of Class D amplifiers for many years. But practical demonstrations and listening tests have revealed that amplifiers encumbered with these deficiencies were more pleasant to listen to than the performance figures alone suggested.
Because modern signal sources are digital, it seems natural to derive the PWM signal directly from the digital source, without converting it to analog first. Indeed, the early 1990s saw the development of several schemes for converting the digital outputs of equipment like CD and DVD players into PWM waveforms suitable for driving switching power devices. Their development reflected a belief that digital-to-analog (D-A) conversion incurs quality loss and that D-A converters are necessarily expensive.
Obviously, both premises are relative. As noted earlier, an output stage driven directly by a PWM signal is unlikely to yield harmonic distortion figures much better than 0.1 percentâ€and it needs an expensive regulated power supply to do even that well. Digital PWM generators are presently available, but only as fairly expensive stand-alone chips. Currently available D-A converters easily deliver harmonic distortion as low as 0.01 percent for as little as US $0.50 per stereo chip.
Feedback the Answer
The three major problems confronting high-resolution Class D operation (power supply modulation, timing errors, and load-dependent frequency response) can be cheaply and effectively solved using an analog feedback system. Several varieties of these are available, all of them compensating for output-stage distortion and some addressing the frequency-response problem as well.
Other benefits accrue, too, including more relaxed settings for the power-stage timing, which increases efficiency, electromagnetic compatibility, and economy. Currently, several analog Class D amplifiers are available (from Piak Electronic Design, Philips' UCD, and Bang & Olufsen, among others) that readily compete with the traditional strengths of the best linear amplifiers: low harmonic distortion and low output impedance. Some of these amplifiers are frighteningly simple in construction, consisting of no more than a handful of discrete parts.
This notionâ€that a partially analog approach may be the best way to realize a "digital amplifier"â€may be hard to swallow in this increasingly digital world. In light of the following, though, the idea may become more acceptable:
Â¢ Loudspeakers are analog and the basic technology behind them dates back to the first half of the 19th century. We may have to develop a vastly different loudspeaker technology, one somehow more inherently digital, before wholly digital power trains come into their own.
Â¢ Even highly digitized devices typically include analog technology. Cell phone transmitters, for instance, employ linear amplifiers, even though the modulation is digital up to that point.
Â¢ Switched power stages' unwanted effects are analog in nature; minimizing them requires highly developed analog engineering.
Â¢ Digital Class D is still in its early infancyâ€it's not fair to expect the digital amplifier to deliver the whole package, yet.
Today's dilemma comes down to a choice between low-cost, high-performance analog solutions and future-oriented, more costly, in a word, embryonic, digital ones. It's only a matter of time before there will simply be no need for such a choice.
In spite of its current deficiencies, digital Class D amplification is already well on its way to ascendance. Multimedia devices and miniaturized home-theater-in-a-box systems have no strong requirements for high-resolution audio performance, although many do have system-integration and miniaturization imperatives.
Future research efforts in digital amplification will increasingly focus on integrating digital signal processing (DSP) to correct the power stage's inevitable analog errors. Several companies are already well down that path, building controllers that sense the power rail voltage and modify the PWM signal accordingly.
The distant future will almost certainly witness circuits that perform digital modulation on the fly by measuring analog error data from the power stage and modifying the switch control signal accordingly. Preliminary work from several researchers suggests that such schemes may ultimately deliver performance that is simply out of the question any other way.
On the whole this technology means better sound acoustics, which will help us redefine sound. Hence get ready to experience sound as it never before heard and felt. It could provide us with new more flexible and multifunctional products, which would enhance the way we look at sound.
Â¢ IEEE spectrum