Also what is the math relationship between bandwidth and phase shift? Where does 10X bandwidth number come from?
Hi Mapman,
If I'm not mistaken class D amplifiers typically use an output filter consisting of a series inductor and a shunt capacitor. Together with a primarily resistive load that will form what is known as a second-order low pass filter. "Second-order" meaning a filter that increases the amount of attenuation it provides by 12 db/octave (12 db per doubling of frequency) above the frequency at which it has rolled off by 3 db (that frequency usually being what is referred to as the bandwidth of the filter).
The equation defining the phase shift introduced at various frequencies by a second order filter is complex, and is shown (approximately!) as equation 3 on page 2 of
this reference.
To provide some perspective, however, it may be helpful to consider the much simpler case of a first order filter (6 db/octave rolloff), which is what would be formed by the combination of a series inductor and a resistive load, without the capacitor. A first order low pass filter will shift the phase of a given frequency f by an amount equal to:
Phase shift = arctangent (f/bandwidth)
So a first order filter having a 3 db bandwidth of 200 kHz would shift a 20 kHz signal by arctan(20/200) = 5.7 degrees.
The 10x figure is a rule of thumb, as Ralph indicated, chosen to limit the phase shift introduced at frequencies of interest (e.g., at 20 kHz and lower) to amounts that are presumably inaudible.
It should also be understood that while for a pure sine wave at a single frequency any amount of phase shift will be inaudible, a musical note consists of a combination of many frequencies that are simultaneously present. And the goal is to achieve proper alignment of the timing of all of those frequency components relative to each other.
Best regards,
-- Al