|
|
What is Class D?Power amplifiers are often categorized in different classes. See the Usenet Audio FAQ, if you don't know what class A, class B and class AB is. Class D refers to a design where the (unfiltered) output of a amplifier circuit is always at one of two extreme voltage levels ("low" or "high"). This means that the conducting elements at the output of the amplifier are switched between the on-state and the off-state. Thus, an element at the output deliveres current into the load when the voltage over the same element is (close to) zero, and it does not deliver any current when the voltage is high over the same element. Such an output with only two output levels can of course not deliver a continous voltage of a varying amplitude (e.g. a music signal) into a load directly. Instead, the output is made to switch between the two output levels at a very high frequency - substantially higher than the highest audible frequency. This is done by feeding a high-frequency square-wave signal to the power amplification stage, where the pulse-width ratio is varied in order to make the avereged (filtered) output signal follow the (amplified) input signal very closely. Pulse-width modulationThere are different ways
of creating a pulse-width modulated signal. A common one is to compare an analog
input signal with a high-frequency triangle wave, and drive the output to high
when the input is higher than the momentary triangle wave voltage, and drive the
output to low otherwise. This creates a pulse-width modulated output signal,
with a switch frequency equal to the frequency of the triangle wave. The picture below is included for illustrative purposes only. It is the output of a test setup (on a breadboard) of the Sorensen Audio Experiment version 3.0. The horisontal time scale is one microsecond/div, and the horisontal scale is 20V/div. So, this is a pulsewave of just over 1MHz, with about 100V peak-to-peak.
Some properties of class D
Theoretical analysis of class D operation(To fully appreciate the analysis below, the reader is assumed to be familiar with mathematical transform techniques, like the Laplace-transform.) Generally, it is well-known that using feedback around an amplifier, it is possible to trade off raw amplification ability against different other properties. Such as bandwidth, high input impedance, or reduction of distortion. Think of a one-bit analog-to-digital quantizer, for example realized as a simple comparator. It is self-evident that the result will be very poor if you try to sample a signal with it - it can only detect the zero-crossings in the input signal, and nothing else. But in some sense, the one-bit quantizer is something that does let an input signal through, although severly distorted. This is something that can be exploited, using feedback. Place this distorting element in a feedback loop. Also, introduce a loop
filter according to the figure below. The quantizer is modeled as a source of
distortion, or noise. That is, a noise signal Q(s) is added to the output of the loop
filter.
The output signal Y(s) can be expressed as: Y(s) = Q(s) + H(s) (X(s) - ßY(s)) If this is solved for Y(s), then
Now you can see the benefit of the feedback loop. Suppose to begin with that H(s)=a, where a is a (high) constant amplification factor > 106. Then the first term in the expression above can be simplified to X(s) / ß, and the second term can be simplified to Q(s) / aß. This shows that the desired signal X(s) is amplified by a factor 1/ß, while the undesired quantization noise is amplified by 1/aß, which in effect is a powerful suppression of the noise if a is large. If you instead use an integrator as the loop filter (i.e. a low-pass filter with H(s)=a/s), then the second term in the expression for Y(s) above will take on a high-pass characteristic. The total noise power (summed over all frequencies) is thereby actually increased, but it can be shown that the noise power is decreased in the lower part of the frequency spectrum. This is what is referred to as noise shaping. (The deeper theory behind noise shaping is not elaborated here, please refer to the article on Principles of Oversampling A/D Conversion, by Max W. Hauser. It is referenced on the links page.
|
Do you have feedback or questions regarding the Audio
Experiment Project, or this web - please E-mail Johan
Sorensen.
|