- Source: Group delay and phase delay
In signal processing, group delay" target="_blank">delay and phase delay" target="_blank">delay are functions that describe in different ways the delay" target="_blank">delay times experienced by a signal’s various sinuoidal frequency components as they pass through a linear time-invariant (LTI) system (such as a microphone, coaxial cable, amplifier, loudspeaker, communications system, ethernet cable, digital filter, or analog filter).
Unfortunately, these delays are sometimes frequency dependent, which means that different sinusoid frequency components experience different time delays. As a result, the signal's waveform experiences distortion as it passes through the system. This distortion can cause problems such as poor fidelity in analog video and analog audio, or a high bit-error rate in a digital bit stream.
Background
= Frequency components of a signal
=Fourier analysis reveals how signals in time can alternatively be expressed as the sum of sinusoidal frequency components, each based on the trigonometric function
sin
(
x
)
{\displaystyle \sin(x)}
with a fixed amplitude and phase and no beginning and no end.
Linear time-invariant systems process each sinusoidal component independently; the property of linearity means they satisfy the superposition principle.
Introduction
The group delay" target="_blank">delay and phase delay" target="_blank">delay properties of a linear time-invariant (LTI) system are functions of frequency, giving the time from when a frequency component of a time varying physical quantity—for example a voltage signal—appears at the LTI system input, to the time when a copy of that same frequency component—perhaps of a different physical phenomenon—appears at the LTI system output.
A varying phase response as a function of frequency, from which group delay" target="_blank">delay and phase delay" target="_blank">delay can be calculated, typically occurs in devices such as microphones, amplifiers, loudspeakers, magnetic recorders, headphones, coaxial cables, and antialiasing filters. All frequency components of a signal are delayed when passed through such devices, or when propagating through space or a medium, such as air or water.
While a phase response describes phase shift in angular units (such as degrees or radians), the phase delay" target="_blank">delay is in units of time and equals the negative of the phase shift at each frequency divided by the value of that frequency. Group delay" target="_blank">delay is the negative derivative of phase shift with respect to frequency.
= Phase delay" target="_blank">delay
=A linear time-invariant system or device has a phase response property and a phase delay" target="_blank">delay property, where one can be calculated exactly from the other. Phase delay" target="_blank">delay directly measures the device or system time delay" target="_blank">delay of individual sinusoidal frequency components. If the phase delay" target="_blank">delay function at any given frequency—within a frequency range of interest—has the same constant of proportionality between the phase at a selected frequency and the selected frequency itself, the system/device will have the ideal of a flat phase delay" target="_blank">delay property, a.k.a. linear phase. Since phase delay" target="_blank">delay is a function of frequency giving time delay" target="_blank">delay, a departure from the flatness of its function graph can reveal time delay" target="_blank">delay differences among the signal’s various sinusoidal frequency components, in which case those differences will contribute to signal distortion, which is manifested as the output signal waveform shape being different from that of the input signal.
The phase delay" target="_blank">delay property in general does not give useful information if the device input is a modulated signal. For that, group delay" target="_blank">delay must be used.
= Group delay" target="_blank">delay
=The group delay" target="_blank">delay is a convenient measure of the linearity of the phase with respect to frequency in a modulation system. For a modulation signal (passband signal), the information carried by the signal is carried exclusively in the wave envelope. Group delay" target="_blank">delay therefore operates only with the frequency components derived from the envelope.
Basic modulation system
A device's group delay" target="_blank">delay can be exactly calculated from the device's phase response, but not the other way around. The simplest use case for group delay" target="_blank">delay is illustrated in Figure 1 which shows a conceptual modulation system, which is itself an LTI system with a baseband output that is ideally an accurate copy of the baseband signal input. This system as a whole is referred to here as the outer LTI system/device, which contains an inner (red block) LTI system/device. As is often the case for a radio system, the inner red LTI system in Fig 1 can represent two LTI systems in cascade, for example an amplifier driving a transmitting antenna at the sending end and the other an antenna and amplifier at the receiving end.
Amplitude Modulation
Amplitude modulation creates the passband signal by shifting the baseband frequency components to a much higher frequency range. Although the frequencies are different, the passband signal carries the same information as the baseband signal. The demodulator does the inverse, shifting the passband frequencies back down to the original baseband frequency range. Ideally, the output (baseband) signal is a time delayed version of the input (baseband) signal where the waveform shape of the output is identical to that of the input.
In Figure 1, the outer system phase delay" target="_blank">delay is the meaningful performance metric. For amplitude modulation, the inner red LTI device group delay" target="_blank">delay becomes the outer LTI device phase delay" target="_blank">delay. If the inner red device group delay" target="_blank">delay is completely flat in the frequency range of interest, the outer device will have the ideal of a phase delay" target="_blank">delay that is also completely flat, where the contribution of distortion due to the outer LTI device's phase response—determined entirely by the inner device's possibly different phase response—is eliminated. In that case, the group delay" target="_blank">delay of the inner red device and the phase delay" target="_blank">delay of the outer device give the same time delay" target="_blank">delay figure for the signal as a whole, from the baseband input to the baseband output. It is significant to note that it is possible for the inner (red) device to have a very non-flat phase delay" target="_blank">delay (but flat group delay" target="_blank">delay), while the outer device has the ideal of a perfectly flat phase delay" target="_blank">delay. This is fortunate because in LTI device design, a flat group delay" target="_blank">delay is easier to achieve than a flat phase delay" target="_blank">delay.
Angle Modulation
In an angle-modulation system—such as with frequency modulation (FM) or phase modulation (PM)—the (FM or PM) passband signal applied to an LTI system input can be analyzed as two separate passband signals, an in-phase (I) amplitude modulation AM passband signal and a quadrature-phase (Q) amplitude modulation AM passband signal, where their sum exactly reconstructs the original angle-modulation (FM or PM) passband signal. While the (FM/PM) passband signal is not amplitude modulation, and therefore has no apparent outer envelope, the I and Q passband signals do indeed have separate amplitude modulation envelopes. (However, unlike with regular amplitude modulation, the I and Q envelopes do not resemble the wave shape of the baseband signals, even though 100 percent of the baseband signal is represented in a complex manner by their envelopes.) So, for each of the I and Q passband signals, a flat group delay" target="_blank">delay ensures that neither the I pass band envelope nor the Q passband envelope will have wave shape distortion, so when the I passband signal and the Q passband signal are added back together, the sum is the original FM/PM passband signal, which will also be unaltered.
Theory
According to LTI system theory (used in control theory and digital or analog signal processing), the output signal
y
(
t
)
{\displaystyle \displaystyle y(t)}
of an LTI system can be determined by convoluting the time-domain impulse response
h
(
t
)
{\displaystyle \displaystyle h(t)}
of the LTI system with the input signal
x
(
t
)
{\displaystyle \displaystyle x(t)}
. Linear time-invariant system § Fourier and Laplace transforms expresses this relationship as:
y
(
t
)
=
(
h
∗
x
)
(
t
)
=
def
∫
−
∞
∞
h
(
t
−
τ
)
x
(
τ
)
d
τ
=
def
L
−
1
{
H
(
s
)
X
(
s
)
}
,
{\displaystyle y(t)=(h*x)(t)\mathrel {\stackrel {\text{def}}{=}} \int _{-\infty }^{\infty }h(t-\tau )\,x(\tau )\,\mathrm {d} \tau \mathrel {\stackrel {\text{def}}{=}} {\mathcal {L}}^{-1}\{H(s)\,X(s)\}\,,}
where
∗
{\displaystyle *}
denotes the convolution operation,
X
(
s
)
{\displaystyle \displaystyle X(s)}
and
H
(
s
)
{\displaystyle \displaystyle H(s)}
are the Laplace transforms of the input
x
(
t
)
{\displaystyle \displaystyle x(t)}
and impulse response
h
(
t
)
{\displaystyle \displaystyle h(t)}
, respectively, s is the complex frequency, and
L
−
1
{\displaystyle {\mathcal {L}}^{-1}}
is the inverse Laplace transform.
H
(
s
)
{\displaystyle \displaystyle H(s)}
is called the transfer function of the LTI system and, like the impulse response
h
(
t
)
{\displaystyle \displaystyle h(t)}
, fully defines the input-output characteristics of the LTI system. This convolution can be evaluated by using the integral expression in the time domain, or (according to the rightmost expression) by using multiplication in the Laplace domain and then applying the inverse transform to return to time domain.
= LTI system response to wave packet
=Suppose that such a system is driven by a wave packet formed by a sinusoid multiplied by an amplitude envelope
A
env
(
t
)
>
0
{\displaystyle \displaystyle A_{\text{env}}(t)>0}
, so the input
x
(
t
)
{\displaystyle \displaystyle x(t)}
can be expressed in the following form:
x
(
t
)
=
A
env
(
t
)
cos
(
ω
t
+
θ
)
.
{\displaystyle x(t)=A_{\text{env}}(t)\cos(\omega t+\theta )\,.}
Also suppose that the envelope
A
env
(
t
)
{\displaystyle \displaystyle A_{\text{env}}(t)}
is slowly changing relative to the sinusoid's frequency
ω
{\displaystyle \displaystyle \omega }
. This condition can be expressed mathematically as:
|
d
d
t
log
(
A
env
(
t
)
)
|
≪
ω
.
{\displaystyle \left|{\frac {d}{dt}}\log {\big (}A_{\text{env}}(t){\big )}\right|\ll \omega \ .}
Applying the earlier convolution equation would reveal that the output of such an LTI system is very well approximated as:
y
(
t
)
=
|
H
(
i
ω
)
|
A
env
(
t
−
τ
g
)
cos
(
ω
(
t
−
τ
ϕ
)
+
θ
)
.
{\displaystyle y(t)={\big |}H(i\omega ){\big |}\ A_{\text{env}}(t-\tau _{g})\cos {\big (}\omega (t-\tau _{\phi })+\theta {\big )}\;.}
Here
τ
g
{\displaystyle \displaystyle \tau _{g}}
is the group delay" target="_blank">delay and
τ
ϕ
{\displaystyle \displaystyle \tau _{\phi }}
is the phase delay" target="_blank">delay, and they are given by the expressions below (and potentially are functions of the angular frequency
ω
{\displaystyle \displaystyle \omega }
). The phase of the sinusoid, as indicated by the positions of the zero crossings, is delayed in time by an amount equal to the phase delay" target="_blank">delay,
τ
ϕ
{\displaystyle \displaystyle \tau _{\phi }}
. The envelope of the sinusoid is delayed in time by the group delay" target="_blank">delay,
τ
g
{\displaystyle \displaystyle \tau _{g}}
.
= Mathematical definition of group delay" target="_blank">delay and phase delay" target="_blank">delay
=The group delay" target="_blank">delay,
τ
g
{\displaystyle \displaystyle \tau _{g}}
, and phase delay" target="_blank">delay,
τ
ϕ
{\displaystyle \displaystyle \tau _{\phi }}
, are (potentially) frequency-dependent and can be computed from the unwrapped phase shift
ϕ
(
ω
)
{\displaystyle \displaystyle \phi (\omega )}
. The phase delay" target="_blank">delay at each frequency equals the negative of the phase shift at that frequency divided by the value of that frequency:
τ
ϕ
(
ω
)
=
−
ϕ
(
ω
)
ω
.
{\displaystyle \tau _{\phi }(\omega )=-{\frac {\phi (\omega )}{\omega }}\,.}
The group delay" target="_blank">delay at each frequency equals the negative of the slope (i.e. the derivative with respect to frequency) of the phase at that frequency:
τ
g
(
ω
)
=
−
d
ϕ
(
ω
)
d
ω
.
{\displaystyle \tau _{g}(\omega )=-{\frac {d\phi (\omega )}{d\omega }}\,.}
In a linear phase system (with non-inverting gain), both
τ
g
{\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" target="_blank">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 }
.
= LTI system response to complex sinusoid
=More generally, it can be shown that for an LTI system with transfer function
H
(
s
)
{\displaystyle \displaystyle H(s)}
driven by a complex sinusoid of unit amplitude,
x
(
t
)
=
e
i
ω
t
{\displaystyle x(t)=e^{i\omega t}\ }
the output is
y
(
t
)
=
H
(
i
ω
)
e
i
ω
t
=
(
|
H
(
i
ω
)
|
e
i
ϕ
(
ω
)
)
e
i
ω
t
=
|
H
(
i
ω
)
|
e
i
(
ω
t
+
ϕ
(
ω
)
)
{\displaystyle {\begin{aligned}y(t)&=H(i\omega )\ e^{i\omega t}\ \\&=\left({\big |}H(i\omega ){\big |}e^{i\phi (\omega )}\right)\ e^{i\omega t}\ \\&={\big |}H(i\omega ){\big |}\ e^{i\left(\omega t+\phi (\omega )\right)}\ \\\end{aligned}}\ }
where the phase shift
ϕ
{\displaystyle \displaystyle \phi }
is
ϕ
(
ω
)
=
d
e
f
arg
{
H
(
i
ω
)
}
.
{\displaystyle \phi (\omega )\ {\stackrel {\mathrm {def} }{=}}\ \arg \left\{H(i\omega )\right\}\;.}
= 1st order low- or high-pass RC filter example
=The phase of a 1st-order low-pass filter formed by a RC circuit with cutoff frequency
ω
o
=
1
R
C
{\displaystyle \omega _{o}{=}{\frac {1}{RC}}}
is:
ϕ
(
ω
)
=
−
arctan
(
ω
ω
o
)
.
{\displaystyle \phi (\omega )=-\arctan({\frac {\omega }{\omega _{o}}})\,.}
Similarly, the phase for a 1st-order RC high-pass filter is:
ϕ
(
ω
)
=
π
2
−
arctan
(
ω
ω
o
)
.
{\displaystyle \phi (\omega )={\frac {\pi }{2}}-\arctan({\frac {\omega }{\omega _{o}}})\,.}
Taking the negative derivative with respect to
ω
{\displaystyle \omega }
for either this low-pass or high-pass filter yields the same group delay" target="_blank">delay of:
τ
g
(
ω
)
=
ω
o
ω
2
+
ω
o
2
.
{\displaystyle {\begin{aligned}\tau _{g}(\omega )&={\frac {\omega _{o}}{\omega ^{2}+\omega _{o}^{2}}}\,.\\\end{aligned}}}
For frequencies significantly lower than the cutoff frequency, the phase response is approximately linear (arctan for small inputs can be approximated as a line), so the group delay" target="_blank">delay simplifies to a constant value of:
τ
g
(
ω
≪
ω
o
)
≈
1
ω
o
=
R
C
.
{\displaystyle {\begin{aligned}\tau _{g}(\omega \ll \omega _{o})&\approx {\frac {1}{\omega _{o}}}=RC\,.\\\end{aligned}}}
Similarly, right at the cutoff frequency,
τ
g
(
ω
=
ω
o
)
=
1
2
ω
o
=
R
C
2
.
{\displaystyle \tau _{g}(\omega {=}\omega _{o})={\frac {1}{2\omega _{o}}}={\frac {RC}{2}}\,.}
As frequencies get even larger, the group delay" target="_blank">delay decreases with the inverse square of the frequency and approaches zero as frequency approaches infinity.
= Negative group delay" target="_blank">delay
=Figure 2: Negative group delay" target="_blank">delay filter circuit
Filters will have negative group delay" target="_blank">delay over frequency ranges where its phase response is positively-sloped. If a signal is band-limited within some maximum frequency B, then it is predictable to a small degree (within time periods smaller than 1⁄B). A filter whose group delay" target="_blank">delay is negative over that signal's entire frequency range is able to use the signal's predictability to provide an illusion of a non-causal time advance. However, if the signal contains an unpredictable event (such as an abrupt change which makes the signal's spectrum exceed its band-limit), then the illusion breaks down. Circuits with negative group delay" target="_blank">delay (e.g., Figure 2) are possible, though causality is not violated.
Negative group delay" target="_blank">delay filters can be made in both digital and analog domains. Applications include compensating for the inherent delay" target="_blank">delay of low-pass filters, to create zero phase filters, which can be used to quickly detect changes in the trends of sensor data or stock prices.
Group delay" target="_blank">delay in audio
Group delay" target="_blank">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" target="_blank">delay in the audio signal. It is therefore important to know the threshold of audibility of group delay" target="_blank">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 and Laws.
Flanagan, Moore and Stone conclude that at 1, 2 and 4 kHz, a group delay" target="_blank">delay of about 1.6 ms is audible with headphones in a non-reverberant condition. Other experimental results suggest that when the group delay" target="_blank">delay in the frequency range from 300 Hz to 1 kHz is below 1.0 ms, it is inaudible.
The waveform of any signal can be reproduced exactly by a system that has a flat frequency response and group delay" target="_blank">delay over the bandwidth of the signal. Leach introduced the concept of differential time-delay" target="_blank">delay distortion, defined as the difference between the phase delay" target="_blank">delay and the group delay" target="_blank">delay:
Δ
τ
=
τ
ϕ
−
τ
g
{\displaystyle \Delta \tau =\tau _{\phi }-\tau _{g}}
.
An ideal system should exhibit zero or negligible differential time-delay" target="_blank">delay distortion.
It is possible to use digital signal processing techniques to correct the group delay" target="_blank">delay distortion that arises due to the use of crossover networks in multi-way loudspeaker systems. This involves considerable computational modeling of loudspeaker systems in order to successfully apply delay" target="_blank">delay equalization, using the Parks-McClellan FIR equiripple filter design algorithm.
Group delay" target="_blank">delay in optics
Group delay" target="_blank">delay is important in physics, and in particular in optics.
In an optical fiber, group delay" target="_blank">delay is the transit time required for optical power, traveling at a given mode's group velocity, to travel a given distance. For optical fiber dispersion measurement purposes, the quantity of interest is group delay" target="_blank">delay per unit length, which is the reciprocal of the group velocity of a particular mode. The measured group delay" target="_blank">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" target="_blank">delay to be constant across all frequencies; otherwise there is temporal smearing of the signal. Because group delay" target="_blank">delay is
τ
g
(
ω
)
=
−
d
ϕ
d
ω
{\textstyle \tau _{g}(\omega )=-{\frac {d\phi }{d\omega }}}
, it therefore follows that a constant group delay" target="_blank">delay can be achieved if the transfer function of the device or medium has a linear phase response (i.e.,
ϕ
(
ω
)
=
ϕ
(
0
)
−
τ
g
ω
{\displaystyle \phi (\omega )=\phi (0)-\tau _{g}\omega }
where the group delay" target="_blank">delay
τ
g
{\displaystyle \tau _{g}}
is a constant). The degree of nonlinearity of the phase indicates the deviation of the group delay" target="_blank">delay from a constant value.
The differential group delay" target="_blank">delay is the difference in propagation time between the two eigenmodes X and Y polarizations. Consider two eigenmodes that are the 0° and 90° linear polarization states. If the state of polarization of the input signal is the linear state at 45° between the two eigenmodes, the input signal is divided equally into the two eigenmodes. The power of the transmitted signal ET,total is the combination of the transmitted signals of both x and y modes.
E
T
=
(
E
i
,
x
⋅
t
x
)
2
+
(
E
i
,
y
⋅
t
y
)
2
{\displaystyle E_{T}=(E_{i,x}\cdot t_{x})^{2}+(E_{i,y}\cdot t_{y})^{2}\,}
The differential group delay" target="_blank">delay Dt is defined as the difference in propagation time between the eigenmodes: Dt = |tt,x − tt,y|.
True time delay" target="_blank">delay
A transmitting apparatus is said to have true time delay" target="_blank">delay (TTD) if the time delay" target="_blank">delay is independent of the frequency of the electrical signal. TTD allows for a wide instantaneous signal bandwidth with virtually no signal distortion such as pulse broadening during pulsed operation.
TTD is an important characteristic of lossless and low-loss, dispersion free, transmission lines. Telegrapher's equations § Lossless transmission reveals that signals propagate through them at a speed of
1
/
L
C
{\displaystyle 1/{\sqrt {LC}}}
for a distributed inductance L and capacitance C. Hence, any signal's propagation delay" target="_blank">delay through the line simply equals the length of the line divided by this speed.
Group delay" target="_blank">delay from transfer function polynomials
If a transfer function or Sij of a scattering parameter, is in a polynomial Laplace transform form, then the mathematical definition for group delay" target="_blank">delay above may be solved analytically in closed form. A polynomial transfer function
P
(
S
)
{\displaystyle P(S)}
may be taken along the
j
ω
{\displaystyle j\omega }
axis and defined as
P
(
j
ω
)
{\displaystyle P(j\omega )}
.
ϕ
(
ω
)
{\displaystyle \phi (\omega )}
may be determined from
P
(
j
ω
)
{\displaystyle P(j\omega )}
, and then the group delay" target="_blank">delay may be determined by solving for
−
d
ϕ
(
ω
)
|
/
d
ω
{\displaystyle -d\phi (\omega )|/d\omega }
.
to determine
ϕ
(
ω
)
{\displaystyle \phi (\omega )}
from
P
(
j
ω
)
{\displaystyle P(j\omega )}
, use the definition of
ϕ
(
ω
)
=
t
a
n
−
1
(
P
(
j
ω
)
i
m
a
g
/
P
(
j
ω
)
r
e
a
l
)
{\displaystyle \phi (\omega )=tan^{-1}(P(j\omega )_{imag}/P(j\omega )_{real})}
. Given that
j
2
N
{\displaystyle j^{2N}}
is always real, and
j
2
N
+
1
{\displaystyle j^{2N+1}}
is always imaginary,
ϕ
(
ω
)
{\displaystyle \phi (\omega )}
may be redefined as
ϕ
(
ω
)
=
t
a
n
−
1
(
−
j
P
(
j
ω
)
o
d
d
/
P
(
j
ω
)
e
v
e
n
)
{\displaystyle \phi (\omega )=tan^{-1}(-jP(j\omega )_{odd}/P(j\omega )_{even})}
where even and odd refer to the polynomials that contain only the even or odd order coefficients respectively. The
−
j
{\displaystyle -j}
in the numerator merely converts the imaginary
P
(
j
ω
)
o
d
d
{\displaystyle P(j\omega )_{odd}}
numerator to a real value, since
P
(
j
ω
)
o
d
d
{\displaystyle P(j\omega )_{odd}}
by itself is purely imaginary.
d
t
a
n
−
1
(
f
(
x
)
)
d
x
=
d
f
(
x
)
/
d
x
1
+
f
(
x
)
2
f
(
x
)
=
−
j
P
(
j
ω
)
o
d
d
P
(
j
ω
)
e
v
e
n
d
f
(
x
)
d
x
=
P
(
j
ω
)
e
v
e
n
d
(
P
(
j
ω
)
o
d
d
)
d
x
−
−
j
P
(
j
ω
)
o
d
d
d
(
−
j
P
(
j
ω
)
e
v
e
n
)
d
x
P
(
j
ω
)
e
v
e
n
2
{\displaystyle {\begin{aligned}&{\frac {dtan^{-1}(f(x))}{dx}}={\frac {df(x)/dx}{1+f(x)^{2}}}\\&f(x)={\frac {-jP(j\omega )_{odd}}{P(j\omega )_{even}}}\\&{\frac {df(x)}{dx}}={\frac {P(j\omega )_{even}{\frac {d(P(j\omega )_{odd})}{dx}}--jP(j\omega )_{odd}{\frac {d(-jP(j\omega )_{even})}{dx}}}{P(j\omega )_{even}^{2}}}\end{aligned}}}
The above expressions contain four terms to calculate:
S
e
=
P
(
j
ω
)
e
v
e
n
=
∑
k
=
0
N
/
2
P
2
k
(
j
ω
)
2
k
=
∑
k
=
0
N
/
2
P
2
k
(
−
1
)
k
(
ω
)
2
k
S
o
=
P
(
j
ω
)
o
d
d
=
−
j
∑
k
=
1
(
N
+
1
)
/
2
P
2
k
−
1
(
j
ω
)
2
k
−
1
=
∑
k
=
1
(
N
+
1
)
/
2
P
2
k
−
1
(
−
1
)
k
−
1
(
ω
)
2
k
−
1
D
e
=
d
(
P
(
j
ω
)
e
v
e
n
)
d
x
=
−
j
∑
k
=
1
N
/
2
2
k
P
2
k
(
j
ω
)
2
k
−
1
=
∑
k
=
1
N
/
2
2
k
P
2
k
(
−
1
)
k
−
1
(
ω
)
2
k
−
1
D
o
=
d
(
P
(
j
ω
)
o
d
d
)
d
x
=
∑
k
=
1
(
N
+
1
)
/
2
(
2
k
−
1
)
P
2
k
−
1
(
j
ω
)
2
k
−
2
=
∑
k
=
1
(
N
+
1
)
/
2
(
2
k
−
1
)
P
2
k
−
1
(
−
1
)
k
−
1
(
ω
)
2
k
−
2
d
f
(
x
)
d
x
=
S
e
D
o
−
S
o
D
e
S
e
2
{\displaystyle {\begin{array}{lcl}Se=P(j\omega )_{even}&=&\sum _{k=0}^{N/2}P_{2k}(j\omega )^{2k}&=&\sum _{k=0}^{N/2}P_{2k}(-1)^{k}(\omega )^{2k}\\So=P(j\omega )_{odd}&=&-j\sum _{k=1}^{(N+1)/2}P_{2k-1}(j\omega )^{2k-1}&=&\sum _{k=1}^{(N+1)/2}P_{2k-1}(-1)^{k-1}(\omega )^{2k-1}\\De={\frac {d(P(j\omega )_{even})}{dx}}&=&-j\sum _{k=1}^{N/2}2kP_{2k}(j\omega )^{2k-1}&=&\sum _{k=1}^{N/2}2kP_{2k}(-1)^{k-1}(\omega )^{2k-1}\\Do={\frac {d(P(j\omega )_{odd})}{dx}}&=&\sum _{k=1}^{(N+1)/2}{(2k-1)}P_{2k-1}(j\omega )^{2k-2}&=&\sum _{k=1}^{(N+1)/2}{(2k-1)}P_{2k-1}(-1)^{k-1}(\omega )^{2k-2}\\\\{\frac {df(x)}{dx}}&=&{\frac {SeDo-SoDe}{Se^{2}}}\end{array}}}
The equations above may be used to determine the group delay" target="_blank">delay of polynomial
P
(
S
)
{\displaystyle P(S)}
in closed form, shown below after the equations have been reduced to a simplified form.
Group delay" target="_blank">Delay
=
g
d
(
P
(
j
ω
)
)
=
−
d
ϕ
(
ω
)
d
ω
=
−
(
S
o
∗
D
e
+
S
e
∗
D
o
)
(
S
e
2
+
S
o
2
)
sec
{\displaystyle {\text{Group delay" target="_blank">Delay}}=gd(P(j\omega ))=-{\frac {d\phi (\omega )}{d\omega }}=-{\frac {(So*De+Se*Do)}{(Se^{2}+So^{2})}}{\text{ sec}}}
= Polynomial ratio
=A polynomial ratio of the form
P
2
(
S
)
=
P
n
u
m
(
S
)
/
P
d
e
n
(
S
)
{\displaystyle P2(S)=P_{num}(S)/P_{den}(S)}
, such as that typically found in the definition of filter designs, may have the group delay" target="_blank">delay determined by taking advantage of the phase relation,
ϕ
(
P
1
/
P
2
)
=
ϕ
(
P
1
)
−
ϕ
(
P
2
)
{\displaystyle \phi (P1/P2)=\phi (P1)-\phi (P2)}
.
Group delay" target="_blank">Delay
=
g
d
(
P
2
)
=
g
d
(
P
2
n
u
m
)
−
g
d
(
P
2
d
e
n
)
s
e
c
{\displaystyle {\text{Group delay" target="_blank">Delay}}=gd(P2)=gd(P2_{num})-gd(P2_{den})sec}
= Simple filter example
=A four pole Legendre filter transfer function used in the Legendre filter example is shown below.
T
4
(
j
ω
)
=
1
2.4494897
(
j
ω
)
4
+
3.8282201
(
j
ω
)
3
+
4.6244874
(
j
ω
)
2
+
3.0412127
(
j
ω
)
+
1
{\displaystyle T_{4}(j\omega )={\frac {1}{2.4494897(j\omega )^{4}+3.8282201(j\omega )^{3}+4.6244874(j\omega )^{2}+3.0412127(j\omega )+1}}}
The numerator group delay" target="_blank">delay by inspection is zero, so only the denominator group delay" target="_blank">delay need be determined.
P
e
d
e
n
=
2.4494897
ω
4
−
4.6244874
ω
2
+
1
P
o
d
e
n
=
−
3.8282201
ω
3
+
3.0412127
ω
D
e
d
e
n
=
4
(
2.4494897
)
ω
3
−
2
(
4.6244874
)
ω
D
o
d
e
n
=
3
(
−
3.8282201
)
ω
2
+
3.0412127
{\displaystyle {\begin{aligned}&Pe_{den}=2.4494897\omega ^{4}-4.6244874\omega ^{2}+1\\&Po_{den}=-3.8282201\omega ^{3}+3.0412127\omega \\&De_{den}=4(2.4494897)\omega ^{3}-2(4.6244874)\omega \\&Do_{den}=3(-3.8282201)\omega ^{2}+3.0412127\end{aligned}}}
Evaluating at
ω
{\displaystyle \omega }
= 1 rad/sec:
P
e
d
e
n
=
−
1.1749977
P
o
d
e
n
=
−
0.7870074
D
e
d
e
n
=
−
0.548984
D
o
d
e
n
=
−
8.4434476
{\displaystyle {\begin{aligned}&Pe_{den}=-1.1749977\\&Po_{den}=-0.7870074\\&De_{den}=-0.548984\\&Do_{den}=-8.4434476\end{aligned}}}
Group delay" target="_blank">Delay
=
g
d
(
T
4
(
j
ω
)
)
=
−
d
ϕ
(
ω
)
d
ω
=
[
0
−
−
(
(
−
0.7870074
∗
−
0.548984
)
+
(
−
1.1749977
∗
−
8.4434476
)
)
(
(
−
1.1749977
)
2
+
(
−
0.7870074
)
2
)
]
=
5.1765430
sec
at
ω
=
1
rad/sec
{\displaystyle {\begin{aligned}&{\text{Group delay" target="_blank">Delay}}=gd(T_{4}(j\omega ))=-{\frac {d\phi (\omega )}{d\omega }}\\&={\bigg [}0--{\frac {((-0.7870074*-0.548984)+(-1.1749977*-8.4434476))}{((-1.1749977)^{2}+(-0.7870074)^{2})}}{\bigg ]}\\&=5.1765430{\text{ sec}}\\&{\text{at }}\omega =1{\text{ rad/sec}}\end{aligned}}}
The group delay" target="_blank">delay calculation procedure and results may be confirmed to be correct by comparing them to the results derived from the digital derivative of the phase angle,
ϕ
(
ω
)
{\displaystyle \phi (\omega )}
, using a small delta
Δ
ω
{\displaystyle \Delta \omega }
of +/-1.e-04 rad/sec.
Group delay" target="_blank">Delay
=
g
d
(
T
4
(
j
ω
)
)
=
−
d
ϕ
(
ω
)
d
ω
=
−
(
ϕ
(
1
+
1
e
−
04
)
−
ϕ
(
1.
−
1
e
04
)
)
/
2
e
−
04
=
5.1765432
sec
at
ω
=
1
rad/sec
{\displaystyle {\begin{aligned}&{\text{Group delay" target="_blank">Delay}}=gd(T_{4}(j\omega ))=-{\frac {d\phi (\omega )}{d\omega }}\\&=-(\phi (1+1e-04)-\phi (1.-1e04))/2e-04\\&=5.1765432{\text{ sec}}\\&{\text{at }}\omega =1{\text{ rad/sec}}\end{aligned}}}
Since the group delay" target="_blank">delay calculated by the digital derivative using a small delta is within 7 digits of accuracy when compared to the precise analytical calculation, the group delay" target="_blank">delay calculation procedure and results are confirmed to be correct.
Deviation from Linear Phase
Deviation from Linear Phase,
ϕ
D
L
P
(
ω
)
{\displaystyle \phi _{DLP}(\omega )}
, sometimes referred to as just, "phase deviation", is the difference between the phase response,
ϕ
(
ω
)
{\displaystyle \phi (\omega )}
, and the linear portion of the phase response
ϕ
L
(
ω
)
{\displaystyle \phi _{L}(\omega )}
, and is a useful measurement to determine the linearity of
ϕ
(
ω
)
{\displaystyle \phi (\omega )}
.
A convenient means to measure
ϕ
D
L
P
(
ω
)
{\displaystyle \phi _{DLP}(\omega )}
is to take the simple linear regression of
ϕ
(
ω
)
{\displaystyle \phi (\omega )}
sampled over a frequency range of interest, and subtract it from the actual
ϕ
(
ω
)
{\displaystyle \phi (\omega )}
. The
ϕ
D
L
P
(
ω
)
{\displaystyle \phi _{DLP}(\omega )}
of an ideal linear phase response would be expected to have a value of 0 across the frequency range of interest (such as the pass band of a filter), while the
ϕ
D
L
P
(
ω
)
{\displaystyle \phi _{DLP}(\omega )}
of a real-world approximately linear phase response may deviate from 0 by a small finite amount across the frequency range of interest.
= Advantage over group delay" target="_blank">delay
=An advantage of measuring or calculating
ϕ
D
L
P
(
ω
)
{\displaystyle \phi _{DLP}(\omega )}
over measuring or calculating group delay" target="_blank">delay,
g
d
(
ω
)
{\displaystyle gd(\omega )}
, is
ϕ
D
L
P
(
ω
)
{\displaystyle \phi _{DLP}(\omega )}
always converges to 0 as the phase becomes linear, whereas
g
d
(
ω
)
{\displaystyle gd(\omega )}
converges on a finite quantity that may not be known ahead of time. Given this, a linear phase optimizing function may more easily be executed with a
ϕ
D
L
P
(
ω
)
=
0
{\displaystyle \phi _{DLP}(\omega ){=}0}
goal than with a
g
d
(
ω
)
=
c
o
n
s
t
a
n
t
{\displaystyle gd(\omega ){=}constant}
goal when the value for
c
o
n
s
t
a
n
t
{\displaystyle constant}
is not necessarily already known.
See also
Audio system measurements
Linear phase
Bessel filter — low pass filter with maximally-flat group delay" target="_blank">delay
Legendre filter — from the example section
Eye pattern
Group velocity — "The group velocity of light in a medium is the inverse of the group delay" target="_blank">delay per unit length."
Phase velocity
Wave packet
References
This article incorporates public domain material from Federal Standard 1037C. General Services Administration. Archived from the original on 2022-01-22.
External links
Discussion of Group delay" target="_blank">Delay in Loudspeakers
Group delay" target="_blank">Delay Explanations and Applications
"Introduction to Digital Filters with Audio Applications", Julius O. Smith III, (September 2007 Edition).
Kata Kunci Pencarian:
- Pembangkit Listrik Tenaga Nuklir Sanmen
- John Petrucci
- Skandal pelecehan anak Global Ikhwan
- Kejuaraan Eropa UEFA 2024
- Brexit
- Pelantikan John F. Kennedy
- Pandemi Covid-19 di Britania Raya
- Metra
- Hubungan Ukraina dengan Uni Eropa
- Group delay and phase delay
- Delayed sleep phase disorder
- RC time constant
- Digital delay line
- Blowback (firearms)
- Phase response
- Jan Delay
- Bessel filter
- Group-velocity dispersion
- Linear phase