# Group delay and phase delay

(Redirected from Delay distortion)

In signal processing, group delay is the time delay of the amplitude envelopes of the various sinusoidal components of a signal through a device under test, and is a function of frequency for each component. Phase delay, in contrast, is the time delay of the phase as opposed to the time delay of the amplitude envelope.

All frequency components of a signal are delayed when passed through a device such as an amplifier, a loudspeaker, or propagating through space or a medium, such as air. This signal delay will be different for the various frequencies unless the device has the property of being linear phase. (Linear phase and minimum phase are often confused. They are quite different.) The delay variation means that signals consisting of multiple frequency components will suffer distortion because these components are not delayed by the same amount of time at the output of the device. This changes the shape of the signal in addition to any constant delay or scale change. A sufficiently large delay variation can cause problems such as poor fidelity in audio or intersymbol interference (ISI) in the demodulation of digital information from an analog carrier signal. High speed modems use adaptive equalizers to compensate for non-constant group delay.

## Introduction

Group delay is a useful measure of time distortion, and is calculated by differentiating, with respect to frequency, the phase response of the device under test (DUT): the group delay is a measure of the slope of the phase response at any given frequency. Variations in group delay cause signal distortion, just as deviations from linear phase cause distortion.

In linear time-invariant (LTI) system theory, control theory, and in digital or analog signal processing, the relationship between the input signal, ${\displaystyle \displaystyle x(t)}$, to output signal, ${\displaystyle \displaystyle y(t)}$, of an LTI system is governed by a convolution operation:

${\displaystyle y(t)=(h*x)(t)\ {\stackrel {\mathrm {def} }{=}}\ \int _{-\infty }^{\infty }x(u)h(t-u)\,du}$

Or, in the frequency domain,

${\displaystyle Y(s)=H(s)X(s)\,}$

where

${\displaystyle X(s)={\mathcal {L}}\left\{x(t)\right\}\ {\stackrel {\mathrm {def} }{=}}\ \int _{-\infty }^{\infty }x(t)e^{-st}\,dt}$
${\displaystyle Y(s)={\mathcal {L}}\left\{y(t)\right\}\ {\stackrel {\mathrm {def} }{=}}\ \int _{-\infty }^{\infty }y(t)e^{-st}\,dt}$

and

${\displaystyle H(s)={\mathcal {L}}\left\{h(t)\right\}\ {\stackrel {\mathrm {def} }{=}}\ \int _{-\infty }^{\infty }h(t)e^{-st}\,dt}$.

Here ${\displaystyle \displaystyle h(t)}$ is the time-domain impulse response of the LTI system and ${\displaystyle \displaystyle X(s)}$, ${\displaystyle \displaystyle Y(s)}$, ${\displaystyle \displaystyle H(s)}$, are the Laplace transforms of the input ${\displaystyle \displaystyle x(t)}$, output ${\displaystyle \displaystyle y(t)}$, and impulse response ${\displaystyle \displaystyle h(t)}$, respectively. ${\displaystyle \displaystyle H(s)}$ is called the transfer function of the LTI system and, like the impulse response ${\displaystyle \displaystyle h(t)}$, fully defines the input-output characteristics of the LTI system.

Suppose that such a system is driven by a quasi-sinusoidal signal, that is, a sinusoid whose amplitude envelope ${\displaystyle \displaystyle a(t)}$ is slowly-changing relative to the frequency ${\displaystyle \displaystyle \omega }$ of the sinusoid. Mathematically, this means that the driving signal has the form

${\displaystyle x(t)=a(t)\cos(\omega t+\theta )\ }$

subject to the assumption

${\displaystyle \left|{\frac {d\log \left(a(t)\right)}{dt}}\right|\ll \omega \;.}$

Then the output of such an LTI system is very well approximated as

${\displaystyle y(t)=|H(i\omega )|\ a(t-\tau _{g})\cos \left(\omega (t-\tau _{\phi })+\theta \right)\;.}$

Here ${\displaystyle \displaystyle \tau _{g}}$ and ${\displaystyle \displaystyle \tau _{\phi }}$, the group delay and phase delay respectively, are given by the expressions below (and potentially are functions of the angular frequency ${\displaystyle \displaystyle \omega }$).

In a linear phase system (with non-inverting gain), both ${\displaystyle \displaystyle \tau _{g}}$ and ${\displaystyle \displaystyle \tau _{\phi }}$ are constant (i.e. independent of ${\displaystyle \displaystyle \omega }$) and equal, and their common value equals the overall delay of the system; and the unwrapped phase shift of the system (namely ${\displaystyle \displaystyle -\omega \tau _{\phi }}$) is negative, with magnitude increasing linearly with frequency ${\displaystyle \displaystyle \omega }$.

More generally, it can be shown that for an LTI system with transfer function ${\displaystyle \displaystyle H(s)}$ driven by a complex sinusoid of unit amplitude,

${\displaystyle x(t)=e^{i\omega t}\ }$

the output is

{\displaystyle {\begin{aligned}y(t)&=H(i\omega )\ e^{i\omega t}\ \\&=\left(|H(i\omega )|e^{i\phi (\omega )}\right)\ e^{i\omega t}\ \\&=|H(i\omega )|\ e^{i\left(\omega t+\phi (\omega )\right)}\ \\\end{aligned}}\ }

where the phase shift ${\displaystyle \displaystyle \phi }$ is

${\displaystyle \phi (\omega )\ {\stackrel {\mathrm {def} }{=}}\ \arg \left\{H(i\omega )\right\}\;.}$

Additionally, it can be shown that the group delay, ${\displaystyle \displaystyle \tau _{g}}$, and phase delay, ${\displaystyle \displaystyle \tau _{\phi }}$, are frequency-dependent, and they can be computed from the phase shift ${\displaystyle \displaystyle \phi }$ by

${\displaystyle \tau _{g}(\omega )=-{\frac {d\phi (\omega )}{d\omega }}\ }$
${\displaystyle \tau _{\phi }(\omega )=-{\frac {\phi (\omega )}{\omega }}\ }$ .

## Group delay in optics

In physics, and in particular in optics, the term group delay has the following meanings:

1. The rate of change of the total phase shift with respect to angular frequency,
${\displaystyle \tau _{g}=-{\frac {d\phi }{d\omega }}}$
through a device or transmission medium, where ${\displaystyle \phi \ }$ is the total phase shift in radians, and ${\displaystyle \omega \ }$ is the angular frequency in radians per unit time, equal to ${\displaystyle 2\pi f\ }$, where ${\displaystyle f\ }$ is the frequency (hertz if group delay is measured in seconds).
2. In an optical fiber, the transit time required for optical power, traveling at a given mode's group velocity, to travel a given distance.
Note: For optical fiber dispersion measurement purposes, the quantity of interest is group delay per unit length, which is the reciprocal of the group velocity of a particular mode. The measured group delay of a signal through an optical fiber exhibits a wavelength dependence due to the various dispersion mechanisms present in the fiber.

It is often desirable for the group delay to be constant across all frequencies; otherwise there is temporal smearing of the signal. Because group delay is ${\displaystyle \tau _{g}(\omega )=-{\frac {d\phi }{d\omega }}}$, as defined in (1), it therefore follows that a constant group delay can be achieved if the transfer function of the device or medium has a linear phase response (i.e., ${\displaystyle \phi (\omega )=\phi (0)-\tau _{g}\omega \ }$ where the group delay ${\displaystyle \tau _{g}\ }$ is a constant). The degree of nonlinearity of the phase indicates the deviation of the group delay from a constant.

## Group delay in audio

Group delay has some importance in the audio field and especially in the sound reproduction field. Many components of an audio reproduction chain, notably loudspeakers and multiway loudspeaker crossover networks, introduce group delay in the audio signal. It is therefore important to know the threshold of audibility of group delay with respect to frequency, especially if the audio chain is supposed to provide high fidelity reproduction. The best thresholds of audibility table has been provided by Blauert & Laws (1978).

Frequency Threshold Periods (Cycles)
500 Hz 3.2 ms 1.6
1 kHz 2 ms 2
2 kHz 1 ms 2
4 kHz 1.5 ms 6
8 kHz 2 ms 16

Flanagan, Moore and Stone conclude that at 1, 2 and 4 kHz, a group delay of about 1.6 ms is audible with headphones in a non-reverberant condition.[1]

## References

1. ^ Flanagan, Sheila; Moore, Brian C. J.; Stone, Michael A. (2005), "Discrimination of Group Delay in Clicklike Signals Presented via Headphones and Loudspeakers", Journal of the Audio Engineering Society, 53 (7/8): 593–611
2. ^ https://www.rp-photonics.com/group_delay.html
3. ^ https://www.rp-photonics.com/spectral_phase.html