• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Group Delay 101

René - Acculution.com

Senior Member
Technical Expert
Joined
May 1, 2021
Messages
416
Likes
1,221
So, here is the issue with using these steady-state signals:

Group delay is correctly defined so far; -d(phase(omega))/d(omega)

Phase delay is correctly defined as -phase(omega)/omega.

Here, omega is the angular frequency; 2 times pi times frequency.

We now define a 2nd order allpass filter via the transfer function H(s)=(s^2-omega0*s/Q+omega^2)/ (s^2+omega0*s/Q+omega^2).

We set the Q to some value; here 0.707. And the characteristic angular frequency to 1,000 rad/s, which is 159 Hz in frequency terms.

We plot the phase, here in wrapped version, as a function of frequency:
1669638055583.png


We calculate the phase delay and group delay associated with the system, taking care to note that the derivatives are defined via angular frequencies not frequency, and taking unwrapping of the phase into account to avoid discontinuities that would be unphysical.

We plot them as function of frequency, including their differential:
1669638067004.png


We zoom in on the frequency 159 Hz as an example:
1669638078136.png


We note that at this frequency the phase delay is around 0.0313-ish s and the group delay is 0.028-ish s.

We now calculate the full response of this system, including transient behavior(!), for an input sinusoidal signal with a frequency of 159 Hz, and plot from t=t0=0 s.
1669638135902.png



We now zoom in at the response as it has reached steady-state conditions.
1669638151359.png


We note the “apparent delay”, when looking at the delta between a peak in input vs peak in output is 0.0313-ish seconds; the PHASE DELAY.

Ergo: Looking at how these discrete frequency signals are “shifted in phase/time” under steady-state conditions tells us absolutely nothing about the topic; group delay. It gives us their associated phase delay. There are infinitely many systems that could give us this steady-state output for this given frequency; showing the steady-state output does not give us any information about the group delay, as any slope of the phase will not be seen, only the phase value itself (you cannot calculate the derivative in a point without knowledge about adjacent points). (Of course, with this phase delay information for enough frequencies, we could derive a smooth phase via interpolation, and calculate the group delay from there.)

An example of one such system giving us the same steady-state at this frequency is a polarity flip; a 180 degrees phase shift; which is a transfer function of H(s)=-1. Note how when steady-state conditions are reached for our allpass system, the output looks exactly like a flipped version of the input, because the phase is, for both systems, 180 degrees at this particular frequency. What is different, however, is their transient behavior, as we can clearly see from my more elaborate calculation using Inverse Laplace transformation: Our original allpass filter takes time to settle, while a polarity flip-system would immediately output an inverted version of the input. Same steady-state. Same phase delay. Different group delay. At this particular frequency.

So, even looking at a multitude of frequencies, for example the Fourier components of a square signal, each of these will be shifted by their phase delay, as all of the above has to hold for any frequency (the phase will of course not be that of a polarity flip at all of them, but that was just to make a strong point for the chosen frequency). We do not have any ‘group’ of frequencies around one particular frequency, and we cannot deduce transient behavior of the system. All we know from those plots are the phase values for each frequency, but any phase line drawn that goes through these discrete frequency points will satisfy the shown steady-state outputs, and we don’t know the slope (group delay), even if there of course is one associated with the process that created the signals in the first place.

So, the title of post should be ‘phase delay’, not ‘group delay’

Edit: A final note should be that at no frequency will the allpass system acts a pure latency/transport delay. As we go to lower and lower frequencies, the differential between phase delay and group delay will tend to 0, but never reach it. So a very low frequency sinusoidal input will look as if its transient output is first a delay, and then the output will be a phase shifted version of the input, but zoom in enough at that first part, and you will see it slightly deviate from a pure zero. At 159 Hz there is a significant differential delay, and so the transient output has a much more clear non-zero immediate output.
 

Attachments

  • 1669638120129.png
    1669638120129.png
    78.2 KB · Views: 48
Last edited:

Rewind

Member
Joined
Sep 7, 2022
Messages
53
Likes
20
Then what is too much group delay? I am designing a midbass horn and everything looks fine and dandy, until I check group delay at 80Hz.
group delay.jpg
 

voodooless

Grand Contributor
Forum Donor
Joined
Jun 16, 2020
Messages
10,223
Likes
17,800
Location
Netherlands
Then what is too much group delay? I am designing a midbass horn and everything looks fine and dandy, until I check group delay at 80Hz.View attachment 252123
That isn’t surprising. The main reason is to be found in the frequency response, where we have a sudden drop below 80 Hz. If you don’t want this, design a shallower sloping horn (if possible).
 

Rewind

Member
Joined
Sep 7, 2022
Messages
53
Likes
20
Yes, I only want it to play down to 80Hz. Slighty below is nice, because then I can reduce the effects of that hideous group delay close to the horns cutoff by crossing at 80Hz.

No matter how I design the horn, shallower or deeper, I get group delay at 11-14ms at 80Hz.
 
Last edited:

Holmz

Major Contributor
Joined
Oct 3, 2021
Messages
2,018
Likes
1,241
Location
Australia
I wonder how much of an issue is minor GD when a room is untreated and can RePhase EQ with REW to correct phase help room GD?

Maybe don’t conflate the room with it…

Usually one is concerned with group delay for say a subwoofer.
And one is concerned with phase EQ when crossing over between drivers, or even across a driver.

The stuff that bounces off of the walls later is delayed, and does not affect the direct sound except for listening to steady state tones.
 
Top Bottom