Thread Subject: Physical meaning of Group-Delay ?

Subject: Physical meaning of Group-Delay ?

From: dummy21@gmx.net (Nico)

Date: 10 Jan, 2002 06:23:47

Message: 1 of 454

(First of all, I realize that this might seem to be a FAQ, but even
after some time spend searching on Deja/Google I couldn't find a
satisfying answer)

Hi people,

I previously posted a question regarding group delay. Thanks to a hint
from one of you, I realized that if I filtered a pure (single
frequency) sine-wave with a filter, and then compared the displacement
of zero crossings, that this was the phase-delay introduced by the
filter.

Now, I know the theoretical difference between phase-delay and
group-delay. I know that the phase-delay is the phase divided by the
frequency (the angle of a straight line towards the origin (or towards
the phase at f=0 Hz ?)), whereas the group-delay is minus the
derivative of the phase-function.

I also know that the group-delay may be interpreted as 'the time delay
of the amplitude envelope of a sinusoid at frequency w' (where the
bandwidth of the amplitude envelope must be restricted to a frequency
interval over which the phase response is approximately linear).

The problem is, I still have trouble understanding this explaination.
So, let's turn it around:

If I plot the group-delay of a filter, and the graph says that at an
quarter of the sampling frequency (1/2 * Nyquist/Normalized frequency)
the group delay is 5 samples, how can I interprete that ?

Obviously, it doesn't mean that a sinewave of that frequency is
delayed for 5 samples. Does it perhaps mean that the composite of
frequencies, which amplitude envelope has a frequency of 1/2 *
Nyquist, will be delayed for 5 samples ? But in that case, what are
the composite frequencies ... ?

I hope somebody is able to shed some light on the issue.

Thanks in advance !

Nico

Subject: Physical meaning of Group-Delay ?

From: robert@wavemechanics.com (robert bristow-johnson)

Date: 10 Jan, 2002 23:11:04

Message: 2 of 454

dummy21@gmx.net (Nico) wrote in message news:<a1a88ba8.0201100623.3957a061@posting.google.com>...
> (First of all, I realize that this might seem to be a FAQ, but even
> after some time spend searching on Deja/Google I couldn't find a
> satisfying answer)
>
> Hi people,
>
> I previously posted a question regarding group delay. Thanks to a hint
> from one of you, I realized that if I filtered a pure (single
> frequency) sine-wave with a filter, and then compared the displacement
> of zero crossings, that this was the phase-delay introduced by the
> filter.
>
> Now, I know the theoretical difference between phase-delay and
> group-delay. I know that the phase-delay is the phase divided by the
> frequency (the angle of a straight line towards the origin (or towards
> the phase at f=0 Hz ?)), whereas the group-delay is minus the
> derivative of the phase-function.
>
> I also know that the group-delay may be interpreted as 'the time delay
> of the amplitude envelope of a sinusoid at frequency w' (where the
> bandwidth of the amplitude envelope must be restricted to a frequency
> interval over which the phase response is approximately linear).
>
> The problem is, I still have trouble understanding this explaination.
> So, let's turn it around:
>
> If I plot the group-delay of a filter, and the graph says that at an
> quarter of the sampling frequency (1/2 * Nyquist/Normalized frequency)
> the group delay is 5 samples, how can I interprete that ?
>
> Obviously, it doesn't mean that a sinewave of that frequency is
> delayed for 5 samples.

it means that the low frequency (or slowly changing) _envelope_ that
may be attached to that sinusoid is delayed by 5 samples. that's all
that it means.

r b-j

Subject: Physical meaning of Group-Delay ?

From: Floyd Davidson

Date: 11 Jan, 2002 03:05:07

Message: 3 of 454

dummy21@gmx.net (Nico) wrote:
>
>I also know that the group-delay may be interpreted as 'the time delay
>of the amplitude envelope of a sinusoid at frequency w' (where the
>bandwidth of the amplitude envelope must be restricted to a frequency
>interval over which the phase response is approximately linear).
>
>The problem is, I still have trouble understanding this explaination.
>So, let's turn it around:
>
>If I plot the group-delay of a filter, and the graph says that at an
>quarter of the sampling frequency (1/2 * Nyquist/Normalized frequency)
>the group delay is 5 samples, how can I interprete that ?

If you trigger an input with a pair of tones, the propagation time
through the filter will be different for the two tones if they
differ in frequency. The difference is group delay.

>Obviously, it doesn't mean that a sinewave of that frequency is
>delayed for 5 samples.

Why not?

>Does it perhaps mean that the composite of
>frequencies, which amplitude envelope has a frequency of 1/2 *
>Nyquist, will be delayed for 5 samples ? But in that case, what are
>the composite frequencies ... ?
>
>I hope somebody is able to shed some light on the issue.
>
>Thanks in advance !
>
>Nico

--
Floyd L. Davidson <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska) floyd@barrow.com

Subject: Physical meaning of Group-Delay ?

From: Don Pearce

Date: 11 Jan, 2002 13:05:43

Message: 4 of 454

On 11 Jan 2002 03:05:07 -0900, Floyd Davidson <floyd@ptialaska.net>
wrote:

>dummy21@gmx.net (Nico) wrote:
>>
>>I also know that the group-delay may be interpreted as 'the time delay
>>of the amplitude envelope of a sinusoid at frequency w' (where the
>>bandwidth of the amplitude envelope must be restricted to a frequency
>>interval over which the phase response is approximately linear).
>>
>>The problem is, I still have trouble understanding this explaination.
>>So, let's turn it around:
>>
>>If I plot the group-delay of a filter, and the graph says that at an
>>quarter of the sampling frequency (1/2 * Nyquist/Normalized frequency)
>>the group delay is 5 samples, how can I interprete that ?
>
>If you trigger an input with a pair of tones, the propagation time
>through the filter will be different for the two tones if they
>differ in frequency. The difference is group delay.
>
No, the group delay is the actual time it takes for a tine to
propagate through a filter. If two different tones take different
amounts of time, then the group delay is not flat.

>>Obviously, it doesn't mean that a sinewave of that frequency is
>>delayed for 5 samples.
>
>Why not?

Absolutely. The units for group delay are seconds - and it is exactly
that. In the digital domain it is more convenient to think in terms of
number of clock cycles, but it means the same thing for a given
implementation.
>
>>Does it perhaps mean that the composite of
>>frequencies, which amplitude envelope has a frequency of 1/2 *
>>Nyquist, will be delayed for 5 samples ? But in that case, what are
>>the composite frequencies ... ?
>>
>>I hope somebody is able to shed some light on the issue.
>>
>>Thanks in advance !
>>
>>Nico

Just think in these terms. The signal goes in, and you have to wait a
little while before it comes out. That is group delay, and it is not
necessarily the same at every frequency, although for audio filters
efforts are normally made to ensure that it is.

d

_____________________________
Telecommunications consultant
http://www.pearce.uk.com

Subject: Physical meaning of Group-Delay ?

From: Ron Hardin

Date: 11 Jan, 2002 09:21:29

Message: 5 of 454

Imagine a filter that just delays everything by T.

What is the derivative of the phase phi of its output with respect to
radian frequency? d phi/d freq is that delay, you will find.

Now imagine sending a pulse centered around some frequency. The
properties of the filter not near that frequency don't matter;
all that matters is d phi/d freq at that frequency.

Nothing now prevents you from adding other filters for other
frequencies with other delays, and producing a frequency dependent
group delay for the total summed filter.

Finally, imagine every filter to have been constructed that way,
with differing weights for each frequency's filter.

The group delay at each frequency is d phi/d freq and physically
it's how long a pulse at that frequency is delayed.
--
Ron Hardin
rhhardin@mindspring.com

On the internet, nobody knows you're a jerk.

Subject: Physical meaning of Group-Delay ?

From: robert bristow-johnson

Date: 11 Jan, 2002 16:49:37

Message: 6 of 454

In article <87zo3lgkjw.fld@barrow.com> , Floyd Davidson
<floyd@ptialaska.net> wrote:

> dummy21@gmx.net (Nico) wrote:
>>
>>I also know that the group-delay may be interpreted as 'the time delay
>>of the amplitude envelope of a sinusoid at frequency w' (where the
>>bandwidth of the amplitude envelope must be restricted to a frequency
>>interval over which the phase response is approximately linear).
>>
>>The problem is, I still have trouble understanding this explaination.
>>So, let's turn it around:
>>
>>If I plot the group-delay of a filter, and the graph says that at an
>>quarter of the sampling frequency (1/2 * Nyquist/Normalized frequency)
>>the group delay is 5 samples, how can I interprete that ?
>
> If you trigger an input with a pair of tones, the propagation time
> through the filter will be different for the two tones if they
> differ in frequency. The difference is group delay.
>
>>Obviously, it doesn't mean that a sinewave of that frequency is
>>delayed for 5 samples.
>
> Why not?

cause it's _group_ delay, not _phase_ delay. if the system or filter is
phase linear, then the two numbers are the same, but not so otherwize.

>>Does it perhaps mean that the composite of
>>frequencies, which amplitude envelope has a frequency of 1/2 *
>>Nyquist, will be delayed for 5 samples ? But in that case, what are
>>the composite frequencies ... ?
>>
>>I hope somebody is able to shed some light on the issue.
>>
>>Thanks in advance !
>>
>>Nico
>
>--
>Floyd L. Davidson <http://www.ptialaska.net/~floyd>
>Ukpeagvik (Barrow, Alaska) floyd@barrow.com
            ^^^^^^ ^^^^^^ (GACK!)

wow! what's the sunbathing like up there?

--

r b-j

Wave Mechanics, Inc.
45 Kilburn St.
Burlington VT 05401-4750

tel: 802/951-9700 ext. 207 http://www.wavemechanics.com/
fax: 802/951-9799 robert@wavemechanics.com

--

Subject: Physical meaning of Group-Delay ?

From: The Electricitist

Date: 11 Jan, 2002 17:32:58

Message: 7 of 454

You're confused.

It is meaningless to discuss the group delay of
a single pure sine wave. There is no such concept
for a single pure sine wave. You must have a group
(hint - group delay) of different frequencies travelling
together, which would (normally) be obtained by
modulating one sine wave with another, in the case
of the training that you're undergoing.

Nico <dummy21@gmx.net> wrote in message
news:a1a88ba8.0201100623.3957a061@posting.google.com...
> Now, I know the theoretical difference between phase-delay and
> group-delay. I know that the phase-delay is the phase divided by the
> frequency (the angle of a straight line towards the origin (or towards
> the phase at f=0 Hz ?)), whereas the group-delay is minus the
> derivative of the phase-function.

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 11 Jan, 2002 21:08:14

Message: 8 of 454

dummy21@gmx.net (Nico) writes:

>(First of all, I realize that this might seem to be a FAQ, but even
>after some time spend searching on Deja/Google I couldn't find a
>satisfying answer)

>I previously posted a question regarding group delay. Thanks to a hint
>from one of you, I realized that if I filtered a pure (single
>frequency) sine-wave with a filter, and then compared the displacement
>of zero crossings, that this was the phase-delay introduced by the
>filter.

>Now, I know the theoretical difference between phase-delay and
>group-delay. I know that the phase-delay is the phase divided by the
>frequency (the angle of a straight line towards the origin (or towards
>the phase at f=0 Hz ?)), whereas the group-delay is minus the
>derivative of the phase-function.

>I also know that the group-delay may be interpreted as 'the time delay
>of the amplitude envelope of a sinusoid at frequency w' (where the
>bandwidth of the amplitude envelope must be restricted to a frequency
>interval over which the phase response is approximately linear).

Physics doesn't have group delay but it has group velocity, which
is related to group delay. In the case of a continuous function,
say the value of the electric field in a medium as a function
of time and position, as a wave propagates. The phase velocity
is w/k and group velocity is dw/dk.

(That should be an omega, but I don't have one here.)

In the case of a pure sine wave, sin(kx-wt), both the phase and
group velocity are the same. If you take an amplitude modulated
sine wave travelling through a material, you are usually interested
in the velocity of the information (modulation), which is the group
velocity, where the propagation of wave crests and valleys is the
phase velocity. Consider a piece of glass where the index of refraction
varies slowly with frequency. One can then determine the phase and
group velocities for pulses that relatively narrow in frequency
centered around a certain frequency, but also reasonably well defined
in time.

If you have a material where the velocity (index of refraction) changes
sharply with frequency, such as near a resonance, phase and group
velocity are not very meaningful. It is likely that what comes out
doesn't look much like what went it, or it might not come out at all.
(Group velocity is pretty much the second term in a Taylor series,
the assumption is that the subsequent terms can be ignored. If they
can't be then group velocity isn't meaningful.)

In the above cases, signal travelling through a continuous medium,
velocity is delay per unit thickness of the material. For the
discrete case, it is just delay, but the problems are similar.

If the filter is relatively smooth, you will likely find that the
signal coming out looks similar but is delayed by some amount of
time. If the filter is too sharp, the signal coming out may not
look at all like what went in, and group delay isn't well defined.


-- glen

(Note also that there are matrials where the phase velocity is
greater than the speed of light. There are also materials where
the index of refraction is less than one, or even negative, at
specific frequencies. Those are the same frequencies where
group velocity isn't well defined.)

Subject: Physical meaning of Group-Delay ?

From: Clay S. Turner

Date: 11 Jan, 2002 16:49:37

Message: 9 of 454



glen herrmannsfeldt wrote:
>
>
> (Note also that there are matrials where the phase velocity is
> greater than the speed of light. There are also materials where
> the index of refraction is less than one, or even negative, at
> specific frequencies. Those are the same frequencies where
> group velocity isn't well defined.)

I've done work with metallic reflections where the iondex of refraction
is complex.
For example with aluminum and HeNe red light, n=1+4.45i

Clay

Subject: Physical meaning of Group-Delay ?

From: Pete Gianakopoulos

Date: 13 Jan, 2002 00:00:56

Message: 10 of 454

In the radio design field, when characterizing a filter, group delay is
specified over a band of frequencies, instead of just one frequency. I
believe the same approach is used for audio filters, amplifiers, etc,
because when designing the loop filters for frequency synthesizers, these
filters are operating in the audio range.
Group delay is specified as a delta function, meaning that from F_low to
F_high, the phase shift will be no more than plus or minus X degrees over
that frequency range.
In the audio field, an amplifier may be specified as having no more than
plus or minus 3 degrees of phase shift, from 10Hz to 40KHz. This group
delay characteristic is especially important in the IF subsystem in an FM
stereo receiver; it can adversely affect stereo separation. In digital
radio systems, the Bit Error Rate, or BER will suffer.

Pete Gianakopoulos KE9OA
Formerly of Rockwell-Collins
Now back home, Chicago, Il.

Clay S. Turner <physics@bellsouth.net> wrote in message
news:3C3F5DF1.9F727662@bellsouth.net...
>
>
> glen herrmannsfeldt wrote:
> >
> >
> > (Note also that there are matrials where the phase velocity is
> > greater than the speed of light. There are also materials where
> > the index of refraction is less than one, or even negative, at
> > specific frequencies. Those are the same frequencies where
> > group velocity isn't well defined.)
>
> I've done work with metallic reflections where the iondex of refraction
> is complex.
> For example with aluminum and HeNe red light, n=1+4.45i
>
> Clay
>

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 13 Jan, 2002 07:56:56

Message: 11 of 454

Ron Hardin <rhhardin@mindspring.com> writes:

>Imagine a filter that just delays everything by T.

>What is the derivative of the phase phi of its output with respect to
>radian frequency? d phi/d freq is that delay, you will find.

>Now imagine sending a pulse centered around some frequency. The
>properties of the filter not near that frequency don't matter;
>all that matters is d phi/d freq at that frequency.

>Nothing now prevents you from adding other filters for other
>frequencies with other delays, and producing a frequency dependent
>group delay for the total summed filter.

>Finally, imagine every filter to have been constructed that way,
>with differing weights for each frequency's filter.

>The group delay at each frequency is d phi/d freq and physically
>it's how long a pulse at that frequency is delayed.

Except that for a pure sine wave, that is, a given frequency,
group delay is only defined module the period.

So, yes, group delay is a function of frequency, but it should be
a slowly varying function of frequency. For a pulse, centered
around some frequency it should be reasonably constant over
the width of the pulse.

I don't believe that it must be an integer multiple of the
sampling frequency, either, though I couldn't prove that.

-- glen

Subject: Physical meaning of Group-Delay ?

From: Don Pearce

Date: 13 Jan, 2002 10:03:17

Message: 12 of 454

On 13 Jan 2002 07:56:56 GMT, gah@ugcs.caltech.edu (glen
herrmannsfeldt) wrote:

>Ron Hardin <rhhardin@mindspring.com> writes:
>
>>Imagine a filter that just delays everything by T.
>
>>What is the derivative of the phase phi of its output with respect to
>>radian frequency? d phi/d freq is that delay, you will find.
>
>>Now imagine sending a pulse centered around some frequency. The
>>properties of the filter not near that frequency don't matter;
>>all that matters is d phi/d freq at that frequency.
>
>>Nothing now prevents you from adding other filters for other
>>frequencies with other delays, and producing a frequency dependent
>>group delay for the total summed filter.
>
>>Finally, imagine every filter to have been constructed that way,
>>with differing weights for each frequency's filter.
>
>>The group delay at each frequency is d phi/d freq and physically
>>it's how long a pulse at that frequency is delayed.
>
>Except that for a pure sine wave, that is, a given frequency,
>group delay is only defined module the period.
>
If you are being VERY strict in your pure sine wave definition, then
group delay has no meaning. All you can see is a phase shift, which as
you say is modulo the period - it goes back to zero when you reach 360
degrees.

>So, yes, group delay is a function of frequency, but it should be
>a slowly varying function of frequency. For a pulse, centered
>around some frequency it should be reasonably constant over
>the width of the pulse.
>
N, this isn't right. Group delay can be whatever you want. In a
chirped RADAR, a very fast-changing group delay is used to compress
the received pulse in time in order to maximise positional resolution.
And of course a pulse is not centred on a frequency - it has widely
dispersed frequencies. If you want to maintain the shape of the pulse,
then the group delay must be constant over all those frequencies.

>I don't believe that it must be an integer multiple of the
>sampling frequency, either, though I couldn't prove that.
>
>-- glen

No need at all for group delay to be an integer multiple. In fact
because of the analogue reconstruction filter you can guarantee it
won't be.

d

_____________________________
Telecommunications consultant
http://www.pearce.uk.com

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 14 Jan, 2002 04:26:23

Message: 13 of 454

Don Pearce <donald@pearce.uk.com> wrote in message


>
> >>The group delay at each frequency is d phi/d freq and physically
> >>it's how long a pulse at that frequency is delayed.
> >
> >Except that for a pure sine wave, that is, a given frequency,
> >group delay is only defined module the period.
> >

> Pearce
> If you are being VERY strict in your pure sine wave definition, then
> group delay has no meaning. All you can see is a phase shift, which as
> you say is modulo the period - it goes back to zero when you reach 360
> degrees.
> > http://www.pearce.uk.com

Bob writes

Even for a pure sine wave, group delay has meaning. The formula:
d phi/d freq, refers to only one frequency. Group delay physicaly is:
the time it takes a single frequency (pure sine wave), to pass from
point A to point B.

For example, the group delay for 100 feet of ideal cable is: 0.10167
uSec. A pure sine wave will take 0.10167 uSec to pass through that
cable.

(To measure group delay always requires using two frequencys, but the
end result is: the delay at one frequency.)

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Don Pearce

Date: 14 Jan, 2002 13:17:33

Message: 14 of 454

On 14 Jan 2002 04:26:23 -0800, rstanton2@stny.rr.com (Bob_Stanton)
wrote:

>Don Pearce <donald@pearce.uk.com> wrote in message
>
>
>>
>> >>The group delay at each frequency is d phi/d freq and physically
>> >>it's how long a pulse at that frequency is delayed.
>> >
>> >Except that for a pure sine wave, that is, a given frequency,
>> >group delay is only defined module the period.
>> >
>
>> Pearce
>> If you are being VERY strict in your pure sine wave definition, then
>> group delay has no meaning. All you can see is a phase shift, which as
>> you say is modulo the period - it goes back to zero when you reach 360
>> degrees.
>> > http://www.pearce.uk.com
>
>Bob writes
>
>Even for a pure sine wave, group delay has meaning. The formula:
>d phi/d freq, refers to only one frequency. Group delay physicaly is:
>the time it takes a single frequency (pure sine wave), to pass from
>point A to point B.
>
>For example, the group delay for 100 feet of ideal cable is: 0.10167
>uSec. A pure sine wave will take 0.10167 uSec to pass through that
>cable.
>
>(To measure group delay always requires using two frequencys, but the
>end result is: the delay at one frequency.)
>
>Bob Stanton

I know this, Bob - but I did stipulate "very" strict. To qualify under
those terms the sine wave has no beginning or end, so you don't have
any access to information beyond the modulo 360 degree phase shift.
You cannot tell how long a true sine wave has taken to pass through.
As soon as you have any kind of transient event - like turning the
signal on - you no longer have a true sine wave.

You are right about needing two frequencies so you can get the first
differential of phase with frequency - which is the group delay.

d

_____________________________
Telecommunications consultant
http://www.pearce.uk.com

Subject: Physical meaning of Group-Delay ?

From: jj@research.att.com (jj, DBT thug and skeptical philalethist)

Date: 14 Jan, 2002 17:14:36

Message: 15 of 454

In article <a1rek8$gsg@gap.cco.caltech.edu>,
glen herrmannsfeldt <gah@ugcs.caltech.edu> wrote:
>Ron Hardin <rhhardin@mindspring.com> writes:
>>The group delay at each frequency is d phi/d freq and physically
>>it's how long a pulse at that frequency is delayed.

>So, yes, group delay is a function of frequency, but it should be
>a slowly varying function of frequency. For a pulse, centered
>around some frequency it should be reasonably constant over
>the width of the pulse.

Why? If you want the pulse undistorted, indeed, but try
putting something through a Cauer Elliptic IIR filter and see
what happens when you work past one of the in-band ripples close
to the transition, ...

--
Copyright jj@research.att.com 2001, all rights reserved, except transmission
by USENET and like facilities granted. This notice must be included. Any
use by a provider charging in any way for the IP represented in and by this
article and any inclusion in print or other media are specifically prohibited.

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 14 Jan, 2002 20:06:37

Message: 16 of 454

jj@research.att.com (jj, DBT thug and skeptical philalethist) writes:

>In article <a1rek8$gsg@gap.cco.caltech.edu>,
>glen herrmannsfeldt <gah@ugcs.caltech.edu> wrote:
>>Ron Hardin <rhhardin@mindspring.com> writes:
>>>The group delay at each frequency is d phi/d freq and physically
>>>it's how long a pulse at that frequency is delayed.

>>So, yes, group delay is a function of frequency, but it should be
>>a slowly varying function of frequency. For a pulse, centered
>>around some frequency it should be reasonably constant over
>>the width of the pulse.

>Why? If you want the pulse undistorted, indeed, but try
>putting something through a Cauer Elliptic IIR filter and see
>what happens when you work past one of the in-band ripples close
>to the transition, ...

It is somewhat subjective, but if the pulse comes out completely
different shape than it goes in, how do you find the position.

The case I was describing, for a linear continuous system, comes
when you are right on the edge of a resonance peak. I would
expect sharp digital filters to have a similar effect.

Note, for example, that for an optical filter there are regions
where the group and/or phase velocity can be negative,
according to the w/k and dw/dk definition. A similar condition
should allow a negative group delay for a digital filter.

Those are the conditions I was trying to describe. You could even
have one where the group delay was positive for part of the
pulse and negative for another part.

-- glen

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 14 Jan, 2002 15:53:10

Message: 17 of 454

Don Pearce <donald@pearce.uk.com> wrote in message news:<gcm54uokrfpj0vi1b80toe1coai2a79pvm@4ax.com>...


>
> I know this, Bob - but I did stipulate "very" strict. To qualify under
> those terms the sine wave has no beginning or end, so you don't have
> any access to information beyond the modulo 360 degree phase shift.
> You cannot tell how long a true sine wave has taken to pass through.
> As soon as you have any kind of transient event - like turning the
> signal on - you no longer have a true sine wave.
>
> You are right about needing two frequencies so you can get the first
> differential of phase with frequency - which is the group delay.
>
> d

Bob writes:

Group delay is slope of the phase curve. If the phase shift is
non-linear, the slope line can be tangent to the phase curve only at
single points.
                            
                          X
                      X
                  X .
               X .
            X .
         X.
      X .
   X .
X .

My old high school geometry teacher once said, If a line is tangent to
a circle, the line only touchs the circle at *one* point.

Your definition of group delay seems to be: the slope of two points on
the phase curve. (Two points that are very close to each other in
frequency.) No matter how close the points are in frequency, there
will always be some error in the slope number. The closer the two
points are, the smaller will be the error. The (two points) definition
of group delay will not give the *exact* slope (group delay). Close,
but no cigar.

My definition of group delay is: the slope of a line tangent to the
phase shift curve. That definition is consistant with the formula Tgd
= d B/ d w . The (tangent) slope line, can only touch the phase shift
curve at *one* point. The point of intersection will be at *one*
frequency (not two). Group delay is therefore, a number refering to
one frequency.

One frequency = pure sine wave.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Mark Disher

Date: 14 Jan, 2002 21:38:52

Message: 18 of 454

  If by "physical meaning" I can substitute a physical example, lets try
this. (You gurus are informally invited to theoretically zap me, as you
see fit).
  A speaker driver has a Zero Delay Plane (ZDP) whose location is where
there is no delay due to phase shift at a given point in the frequency
domain.
   ---A physical exzmple of group delay would be a pictorial of the
sideview of a driver (oriented as seen in an enclosure)
   ---A horizontal axis for time and a vertical axis for frequency are
superimposed on the sideview. The ZDP will be a vertical line running
through, or very close to through, the voice coil. Frequency increases
from low to high from bottom to top.
   ---You get a plot where the low frequencies radiate well behind the
driver and progressively higher frequencies radiate from points closer and
closer to the ZDP. That plot is the goup delay!

   Hoping that is as clear to you, as it is to me!
Nico wrote:

> (First of all, I realize that this might seem to be a FAQ, but even
> after some time spend searching on Deja/Google I couldn't find a
> satisfying answer)
>
> Hi people,
>
> I previously posted a question regarding group delay. Thanks to a hint
> from one of you, I realized that if I filtered a pure (single
> frequency) sine-wave with a filter, and then compared the displacement
> of zero crossings, that this was the phase-delay introduced by the
> filter.
>
> Now, I know the theoretical difference between phase-delay and
> group-delay. I know that the phase-delay is the phase divided by the
> frequency (the angle of a straight line towards the origin (or towards
> the phase at f=0 Hz ?)), whereas the group-delay is minus the
> derivative of the phase-function.
>
> I also know that the group-delay may be interpreted as 'the time delay
> of the amplitude envelope of a sinusoid at frequency w' (where the
> bandwidth of the amplitude envelope must be restricted to a frequency
> interval over which the phase response is approximately linear).
>
> The problem is, I still have trouble understanding this explaination.
> So, let's turn it around:
>
> If I plot the group-delay of a filter, and the graph says that at an
> quarter of the sampling frequency (1/2 * Nyquist/Normalized frequency)
> the group delay is 5 samples, how can I interprete that ?
>
> Obviously, it doesn't mean that a sinewave of that frequency is
> delayed for 5 samples. Does it perhaps mean that the composite of
> frequencies, which amplitude envelope has a frequency of 1/2 *
> Nyquist, will be delayed for 5 samples ? But in that case, what are
> the composite frequencies ... ?
>
> I hope somebody is able to shed some light on the issue.
>
> Thanks in advance !
>
> Nico

Subject: Physical meaning of Group-Delay ?

From: Don Pearce

Date: 15 Jan, 2002 08:49:54

Message: 19 of 454

On 14 Jan 2002 15:53:10 -0800, rstanton2@stny.rr.com (Bob_Stanton)
wrote:

>Don Pearce <donald@pearce.uk.com> wrote in message news:<gcm54uokrfpj0vi1b80toe1coai2a79pvm@4ax.com>...
>
>
>>
>> I know this, Bob - but I did stipulate "very" strict. To qualify under
>> those terms the sine wave has no beginning or end, so you don't have
>> any access to information beyond the modulo 360 degree phase shift.
>> You cannot tell how long a true sine wave has taken to pass through.
>> As soon as you have any kind of transient event - like turning the
>> signal on - you no longer have a true sine wave.
>>
>> You are right about needing two frequencies so you can get the first
>> differential of phase with frequency - which is the group delay.
>>
>> d
>
>Bob writes:
>
>Group delay is slope of the phase curve. If the phase shift is
>non-linear, the slope line can be tangent to the phase curve only at
>single points.
>
> X
> X
> X .
> X .
> X .
> X.
> X .
> X .
>X .
>
>My old high school geometry teacher once said, If a line is tangent to
>a circle, the line only touchs the circle at *one* point.
>
>Your definition of group delay seems to be: the slope of two points on
>the phase curve. (Two points that are very close to each other in
>frequency.) No matter how close the points are in frequency, there
>will always be some error in the slope number. The closer the two
>points are, the smaller will be the error. The (two points) definition
>of group delay will not give the *exact* slope (group delay). Close,
>but no cigar.
>
>My definition of group delay is: the slope of a line tangent to the
>phase shift curve. That definition is consistant with the formula Tgd
>= d B/ d w . The (tangent) slope line, can only touch the phase shift
>curve at *one* point. The point of intersection will be at *one*
>frequency (not two). Group delay is therefore, a number refering to
>one frequency.
>
>One frequency = pure sine wave.
>
>Bob Stanton

Sure, but that doesn't answer the point that it can't be measured
using a single, pure sine wave. There is not enough information at a
single point to tell you what the slope is - you have assumed what it
is.

Also, consider that even with a two-frequency measurement you are
actually sampling in the fervency domain and must guard against
aliasing. If you made measurements at, say 10kHz and 11kHz and saw a
degree of difference you would make an assumption about the length of
delay that represented. Well, that could just as easily have been 361
or 721 degrees of difference - you have no way (purely from the
measurement) of knowing which it is. That would of course mean a much
longer delay.

So in an actual measurement, it is hard to reach unambiguous results -
although reasonable answers are easy. But you certainly can't measure
slope by looking at a single point (fervency).

d

_____________________________
Telecommunications consultant
http://www.pearce.uk.com

Subject: Physical meaning of Group-Delay ?

From: Gary Schafer

Date: 15 Jan, 2002 18:08:47

Message: 20 of 454



Don Pearce wrote:

> On 14 Jan 2002 15:53:10 -0800, rstanton2@stny.rr.com (Bob_Stanton)
> wrote:
>
> >Don Pearce <donald@pearce.uk.com> wrote in message news:<gcm54uokrfpj0vi1b80toe1coai2a79pvm@4ax.com>...
> >
> >
> >>
> >> I know this, Bob - but I did stipulate "very" strict. To qualify under
> >> those terms the sine wave has no beginning or end, so you don't have
> >> any access to information beyond the modulo 360 degree phase shift.
> >> You cannot tell how long a true sine wave has taken to pass through.
> >> As soon as you have any kind of transient event - like turning the
> >> signal on - you no longer have a true sine wave.
> >>
> >> You are right about needing two frequencies so you can get the first
> >> differential of phase with frequency - which is the group delay.
> >>
> >> d
> >
> >Bob writes:
> >
> >Group delay is slope of the phase curve. If the phase shift is
> >non-linear, the slope line can be tangent to the phase curve only at
> >single points.
> >
> > X
> > X
> > X .
> > X .
> > X .
> > X.
> > X .
> > X .
> >X .
> >
> >My old high school geometry teacher once said, If a line is tangent to
> >a circle, the line only touchs the circle at *one* point.
> >
> >Your definition of group delay seems to be: the slope of two points on
> >the phase curve. (Two points that are very close to each other in
> >frequency.) No matter how close the points are in frequency, there
> >will always be some error in the slope number. The closer the two
> >points are, the smaller will be the error. The (two points) definition
> >of group delay will not give the *exact* slope (group delay). Close,
> >but no cigar.
> >
> >My definition of group delay is: the slope of a line tangent to the
> >phase shift curve. That definition is consistant with the formula Tgd
> >= d B/ d w . The (tangent) slope line, can only touch the phase shift
> >curve at *one* point. The point of intersection will be at *one*
> >frequency (not two). Group delay is therefore, a number refering to
> >one frequency.
> >
> >One frequency = pure sine wave.
> >
> >Bob Stanton
>
> Sure, but that doesn't answer the point that it can't be measured
> using a single, pure sine wave. There is not enough information at a
> single point to tell you what the slope is - you have assumed what it
> is.
>
> Also, consider that even with a two-frequency measurement you are
> actually sampling in the fervency domain and must guard against
> aliasing. If you made measurements at, say 10kHz and 11kHz and saw a
> degree of difference you would make an assumption about the length of
> delay that represented. Well, that could just as easily have been 361
> or 721 degrees of difference - you have no way (purely from the
> measurement) of knowing which it is. That would of course mean a much
> longer delay.
>
> So in an actual measurement, it is hard to reach unambiguous results -
> although reasonable answers are easy. But you certainly can't measure
> slope by looking at a single point (fervency).
>
> d
>

Wouldn't it be easily measured with 2 sine waves starting on the same frequency and moving one up in
frequency and noting the first frequency that there is a 90 degree, or whatever you want to look for, shift
?

Regards
Gary

Subject: Physical meaning of Group-Delay ?

From: Don Pearce

Date: 15 Jan, 2002 18:37:58

Message: 21 of 454

On Tue, 15 Jan 2002 18:08:47 GMT, Gary Schafer <gschafer@mediaone.net>
wrote:

>
>
>Don Pearce wrote:
>
>> On 14 Jan 2002 15:53:10 -0800, rstanton2@stny.rr.com (Bob_Stanton)
>> wrote:
>>
>> >Don Pearce <donald@pearce.uk.com> wrote in message news:<gcm54uokrfpj0vi1b80toe1coai2a79pvm@4ax.com>...
>> >
>> >
>> >>
>> >> I know this, Bob - but I did stipulate "very" strict. To qualify under
>> >> those terms the sine wave has no beginning or end, so you don't have
>> >> any access to information beyond the modulo 360 degree phase shift.
>> >> You cannot tell how long a true sine wave has taken to pass through.
>> >> As soon as you have any kind of transient event - like turning the
>> >> signal on - you no longer have a true sine wave.
>> >>
>> >> You are right about needing two frequencies so you can get the first
>> >> differential of phase with frequency - which is the group delay.
>> >>
>> >> d
>> >
>> >Bob writes:
>> >
>> >Group delay is slope of the phase curve. If the phase shift is
>> >non-linear, the slope line can be tangent to the phase curve only at
>> >single points.
>> >
>> > X
>> > X
>> > X .
>> > X .
>> > X .
>> > X.
>> > X .
>> > X .
>> >X .
>> >
>> >My old high school geometry teacher once said, If a line is tangent to
>> >a circle, the line only touchs the circle at *one* point.
>> >
>> >Your definition of group delay seems to be: the slope of two points on
>> >the phase curve. (Two points that are very close to each other in
>> >frequency.) No matter how close the points are in frequency, there
>> >will always be some error in the slope number. The closer the two
>> >points are, the smaller will be the error. The (two points) definition
>> >of group delay will not give the *exact* slope (group delay). Close,
>> >but no cigar.
>> >
>> >My definition of group delay is: the slope of a line tangent to the
>> >phase shift curve. That definition is consistant with the formula Tgd
>> >= d B/ d w . The (tangent) slope line, can only touch the phase shift
>> >curve at *one* point. The point of intersection will be at *one*
>> >frequency (not two). Group delay is therefore, a number refering to
>> >one frequency.
>> >
>> >One frequency = pure sine wave.
>> >
>> >Bob Stanton
>>
>> Sure, but that doesn't answer the point that it can't be measured
>> using a single, pure sine wave. There is not enough information at a
>> single point to tell you what the slope is - you have assumed what it
>> is.
>>
>> Also, consider that even with a two-frequency measurement you are
>> actually sampling in the fervency domain and must guard against
>> aliasing. If you made measurements at, say 10kHz and 11kHz and saw a
>> degree of difference you would make an assumption about the length of
>> delay that represented. Well, that could just as easily have been 361
>> or 721 degrees of difference - you have no way (purely from the
>> measurement) of knowing which it is. That would of course mean a much
>> longer delay.
>>
>> So in an actual measurement, it is hard to reach unambiguous results -
>> although reasonable answers are easy. But you certainly can't measure
>> slope by looking at a single point (fervency).
>>
>> d
>>
>
>Wouldn't it be easily measured with 2 sine waves starting on the same frequency and moving one up in
>frequency and noting the first frequency that there is a 90 degree, or whatever you want to look for, shift
>?
>
>Regards
>Gary
>
>
Now you're talking. That would do nicely.

d

_____________________________
Telecommunications consultant
http://www.pearce.uk.com

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 15 Jan, 2002 14:19:11

Message: 22 of 454

Mark,

I didn't follow your explanation. Maybe you won't follow mine, but here
goes:

Look at the wake of a boat. You will see that it is made up of wavelets.
Look closely, and you will see that the wavelets move faster than the
wake as a whole. Wavelets rise spontaneously at the training edge of the
wake, move to the front, and then die out. The wavelets move at the
phase velocity. The group of wavelets (the wake itself) moves at the
group velocity.

Second try. Consider a transmission medium in which the phase and group
velocities differ. Any medium with dispersion, such as a line in which
l/c (that's an ell, not a one) isn't equal to r/g, or a waveguide. Pulse
on a carrier, with suitably limited rise and fall times so that there
are no frequencies very far from the carrier. Observe that the pulse
travels down the medium at one speed, while the carrier itself travels
at another.* How is this possible? Observing at different points (or
delays), you can see that the carrier moves through the pulse, just as
in the wake above. The pulse moves at the group velocity, the velocity
that information and energy moves at. (In a waveguide, the phase
velocity always exceeds the speed of light, but the group velocity is
less than C. In detail, V_p * V_g = C^2.)

Jerry
_______________________
* You can compute the carrier speed easily from the wavelength and
frequency. It says little about group velocity.
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------
Mark Disher wrote:
>
> If by "physical meaning" I can substitute a physical example, lets try
> this. (You gurus are informally invited to theoretically zap me, as you
> see fit).
> A speaker driver has a Zero Delay Plane (ZDP) whose location is where
> there is no delay due to phase shift at a given point in the frequency
> domain.
> ---A physical exzmple of group delay would be a pictorial of the
> sideview of a driver (oriented as seen in an enclosure)
> ---A horizontal axis for time and a vertical axis for frequency are
> superimposed on the sideview. The ZDP will be a vertical line running
> through, or very close to through, the voice coil. Frequency increases
> from low to high from bottom to top.
> ---You get a plot where the low frequencies radiate well behind the
> driver and progressively higher frequencies radiate from points closer and
> closer to the ZDP. That plot is the goup delay!
>
> Hoping that is as clear to you, as it is to me!
> Nico wrote:
>
> > (First of all, I realize that this might seem to be a FAQ, but even
> > after some time spend searching on Deja/Google I couldn't find a
> > satisfying answer)
> >
> > Hi people,
> >
> > I previously posted a question regarding group delay. Thanks to a hint
> > from one of you, I realized that if I filtered a pure (single
> > frequency) sine-wave with a filter, and then compared the displacement
> > of zero crossings, that this was the phase-delay introduced by the
> > filter.
> >
> > Now, I know the theoretical difference between phase-delay and
> > group-delay. I know that the phase-delay is the phase divided by the
> > frequency (the angle of a straight line towards the origin (or towards
> > the phase at f=0 Hz ?)), whereas the group-delay is minus the
> > derivative of the phase-function.
> >
> > I also know that the group-delay may be interpreted as 'the time delay
> > of the amplitude envelope of a sinusoid at frequency w' (where the
> > bandwidth of the amplitude envelope must be restricted to a frequency
> > interval over which the phase response is approximately linear).
> >
> > The problem is, I still have trouble understanding this explaination.
> > So, let's turn it around:
> >
> > If I plot the group-delay of a filter, and the graph says that at an
> > quarter of the sampling frequency (1/2 * Nyquist/Normalized frequency)
> > the group delay is 5 samples, how can I interprete that ?
> >
> > Obviously, it doesn't mean that a sinewave of that frequency is
> > delayed for 5 samples. Does it perhaps mean that the composite of
> > frequencies, which amplitude envelope has a frequency of 1/2 *
> > Nyquist, will be delayed for 5 samples ? But in that case, what are
> > the composite frequencies ... ?
> >
> > I hope somebody is able to shed some light on the issue.
> >
> > Thanks in advance !
> >
> > Nico

Subject: Physical meaning of Group-Delay ?

From: Don Pearce

Date: 15 Jan, 2002 19:47:04

Message: 23 of 454

On Tue, 15 Jan 2002 14:19:11 -0500, Jerry Avins <jya@ieee.org> wrote:

>Mark,
>
>I didn't follow your explanation. Maybe you won't follow mine, but here
>goes:
>
>Look at the wake of a boat. You will see that it is made up of wavelets.
>Look closely, and you will see that the wavelets move faster than the
>wake as a whole. Wavelets rise spontaneously at the training edge of the
>wake, move to the front, and then die out. The wavelets move at the
>phase velocity. The group of wavelets (the wake itself) moves at the
>group velocity.
>
>Second try. Consider a transmission medium in which the phase and group
>velocities differ. Any medium with dispersion, such as a line in which
>l/c (that's an ell, not a one) isn't equal to r/g, or a waveguide. Pulse
>on a carrier, with suitably limited rise and fall times so that there
>are no frequencies very far from the carrier. Observe that the pulse
>travels down the medium at one speed, while the carrier itself travels
>at another.* How is this possible? Observing at different points (or
>delays), you can see that the carrier moves through the pulse, just as
>in the wake above. The pulse moves at the group velocity, the velocity
>that information and energy moves at. (In a waveguide, the phase
>velocity always exceeds the speed of light, but the group velocity is
>less than C. In detail, V_p * V_g = C^2.)
>
>Jerry
>_______________________
>* You can compute the carrier speed easily from the wavelength and
>frequency. It says little about group velocity.

When you speak of a pulse on a carrier - do you mean something like
RADAR? If so, then the pulse is a modulation which by definition
spreads the frequency of the carrier by producing sidebands. A
non-linear group delay - or if you like a different propagation
velocity for different frequencies - will act on different parts of
that signal cluster - carrier plus sidebands - by changing the
relative phase. The result is a smeared pulse. This must be corrected
in either of two ways. You can equalise the group delay, or apply a
complementary error to the original pulse.

Your equation relating phase velocity, group velocity and the speed of
light is quite correct, but since all the information is carried in
the group, not the phase, there are no problems with the phase term
coming out superluminal.

d

_____________________________
Telecommunications consultant
http://www.pearce.uk.com

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 15 Jan, 2002 14:58:22

Message: 24 of 454

Don Pearce wrote:
>
> On Tue, 15 Jan 2002 14:19:11 -0500, Jerry Avins <jya@ieee.org> wrote:
>
> >Mark,
> >
> >I didn't follow your explanation. Maybe you won't follow mine, but here
> >goes:
> >
> >Look at the wake of a boat. You will see that it is made up of wavelets.
> >Look closely, and you will see that the wavelets move faster than the
> >wake as a whole. Wavelets rise spontaneously at the training edge of the
> >wake, move to the front, and then die out. The wavelets move at the
> >phase velocity. The group of wavelets (the wake itself) moves at the
> >group velocity.
> >
> >Second try. Consider a transmission medium in which the phase and group
> >velocities differ. Any medium with dispersion, such as a line in which
> >l/c (that's an ell, not a one) isn't equal to r/g, or a waveguide. Pulse
> >on a carrier, with suitably limited rise and fall times so that there
> >are no frequencies very far from the carrier. Observe that the pulse
> >travels down the medium at one speed, while the carrier itself travels
> >at another.* How is this possible? Observing at different points (or
> >delays), you can see that the carrier moves through the pulse, just as
> >in the wake above. The pulse moves at the group velocity, the velocity
> >that information and energy moves at. (In a waveguide, the phase
> >velocity always exceeds the speed of light, but the group velocity is
> >less than C. In detail, V_p * V_g = C^2.)
> >
> >Jerry
> >_______________________
> >* You can compute the carrier speed easily from the wavelength and
> >frequency. It says little about group velocity.
>
> When you speak of a pulse on a carrier - do you mean something like
> RADAR? If so, then the pulse is a modulation which by definition
> spreads the frequency of the carrier by producing sidebands. A
> non-linear group delay - or if you like a different propagation
> velocity for different frequencies - will act on different parts of
> that signal cluster - carrier plus sidebands - by changing the
> relative phase. The result is a smeared pulse. This must be corrected
> in either of two ways. You can equalise the group delay, or apply a
> complementary error to the original pulse.
>
> Your equation relating phase velocity, group velocity and the speed of
> light is quite correct, but since all the information is carried in
> the group, not the phase, there are no problems with the phase term
> coming out superluminal.
>
> d
>
> _____________________________
> Telecommunications consultant
> http://www.pearce.uk.com

All true. The purpose of limiting the rise and fall times of the pulse
is, as I wrote, to limit the pulse to frequencies near the carrier, thus
assuring a group velocity nearly equal for all components; equal enough
so that the illustration can work. It was emphasized earlier in the
thread that although it isn't possible to measure group velocity with a
single-frequency probe, there is a group velocity at every frequency.
Useful communication channels have reasonably constant group velocities
over the bands of intended use. Solitons are a special case where
uniform group velvety is enforced by nonlinearity.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Mark Disher

Date: 15 Jan, 2002 16:20:39

Message: 25 of 454

Jerry,
  Your explanation seems much better than mine, not least because you're talking
about a VISIBLE physical phenomena. Well said!

Jerry Avins wrote:

> Mark,
>
> I didn't follow your explanation. Maybe you won't follow mine, but here
> goes:
>
> Look at the wake of a boat. You will see that it is made up of wavelets.
> Look closely, and you will see that the wavelets move faster than the
> wake as a whole. Wavelets rise spontaneously at the training edge of the
> wake, move to the front, and then die out. The wavelets move at the
> phase velocity. The group of wavelets (the wake itself) moves at the
> group velocity.
>
> Second try. Consider a transmission medium in which the phase and group
> velocities differ. Any medium with dispersion, such as a line in which
> l/c (that's an ell, not a one) isn't equal to r/g, or a waveguide. Pulse
> on a carrier, with suitably limited rise and fall times so that there
> are no frequencies very far from the carrier. Observe that the pulse
> travels down the medium at one speed, while the carrier itself travels
> at another.* How is this possible? Observing at different points (or
> delays), you can see that the carrier moves through the pulse, just as
> in the wake above. The pulse moves at the group velocity, the velocity
> that information and energy moves at. (In a waveguide, the phase
> velocity always exceeds the speed of light, but the group velocity is
> less than C. In detail, V_p * V_g = C^2.)
>
> Jerry
> _______________________
> * You can compute the carrier speed easily from the wavelength and
> frequency. It says little about group velocity.
> --
> Engineering is the art of making what you want from things you can get.
> -----------------------------------------------------------------------
> Mark Disher wrote:
> >
> > If by "physical meaning" I can substitute a physical example, lets try
> > this. (You gurus are informally invited to theoretically zap me, as you
> > see fit).
> > A speaker driver has a Zero Delay Plane (ZDP) whose location is where
> > there is no delay due to phase shift at a given point in the frequency
> > domain.
> > ---A physical exzmple of group delay would be a pictorial of the
> > sideview of a driver (oriented as seen in an enclosure)
> > ---A horizontal axis for time and a vertical axis for frequency are
> > superimposed on the sideview. The ZDP will be a vertical line running
> > through, or very close to through, the voice coil. Frequency increases
> > from low to high from bottom to top.
> > ---You get a plot where the low frequencies radiate well behind the
> > driver and progressively higher frequencies radiate from points closer and
> > closer to the ZDP. That plot is the goup delay!
> >
> > Hoping that is as clear to you, as it is to me!
> > Nico wrote:
> >
> > > (First of all, I realize that this might seem to be a FAQ, but even
> > > after some time spend searching on Deja/Google I couldn't find a
> > > satisfying answer)
> > >
> > > Hi people,
> > >
> > > I previously posted a question regarding group delay. Thanks to a hint
> > > from one of you, I realized that if I filtered a pure (single
> > > frequency) sine-wave with a filter, and then compared the displacement
> > > of zero crossings, that this was the phase-delay introduced by the
> > > filter.
> > >
> > > Now, I know the theoretical difference between phase-delay and
> > > group-delay. I know that the phase-delay is the phase divided by the
> > > frequency (the angle of a straight line towards the origin (or towards
> > > the phase at f=0 Hz ?)), whereas the group-delay is minus the
> > > derivative of the phase-function.
> > >
> > > I also know that the group-delay may be interpreted as 'the time delay
> > > of the amplitude envelope of a sinusoid at frequency w' (where the
> > > bandwidth of the amplitude envelope must be restricted to a frequency
> > > interval over which the phase response is approximately linear).
> > >
> > > The problem is, I still have trouble understanding this explaination.
> > > So, let's turn it around:
> > >
> > > If I plot the group-delay of a filter, and the graph says that at an
> > > quarter of the sampling frequency (1/2 * Nyquist/Normalized frequency)
> > > the group delay is 5 samples, how can I interprete that ?
> > >
> > > Obviously, it doesn't mean that a sinewave of that frequency is
> > > delayed for 5 samples. Does it perhaps mean that the composite of
> > > frequencies, which amplitude envelope has a frequency of 1/2 *
> > > Nyquist, will be delayed for 5 samples ? But in that case, what are
> > > the composite frequencies ... ?
> > >
> > > I hope somebody is able to shed some light on the issue.
> > >
> > > Thanks in advance !
> > >
> > > Nico

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 15 Jan, 2002 15:15:56

Message: 26 of 454

Don Pearce <donald@pearce.uk.com> wrote in message

>
> Sure, but that doesn't answer the point that it can't be measured
> using a single, pure sine wave. There is not enough information at a
> single point to tell you what the slope is - you have assumed what it
> is.
> ...
> So in an actual measurement, it is hard to reach unambiguous results -
> although reasonable answers are easy. But you certainly can't measure
> slope by looking at a single point (fervency).
>
> d
>
Bob writes:

I agree (and have agreed) there is *no way* to measure group delay
using a continuous sine wave. That doesn't leave much room for
disagreement, but I'm going to try. :-)

The dictionary defines group delay as: "In a modulated signal, a delay
of the transmission of data." By that defination, you are correct in
saying group delay must always involve two signals.

I was thinking of "group delay" in terms of its' common usage. For
example, in filter books we commonly see plots of delay
characteristics, with the ordinate labled "group delay". Any *single
point* on those curves is the delay at a single frequency. Each point,
on these curves, corresponds to a single point on a phase curve.
Perhaps by the strict dictionary defination, the ordinate should not
be labled "group delay", but that is common usage.

Here is a circuit of a resistor and capacitor:

  _________ R = 1000 _____________
                                  |
                                  |
                                C = 1uF
                                  |
  ________________________________|


This circuit has a delay of 500 usec at the frequency of 159.1549 Hz.
*I didn't get this number by measuring the phase shift at two
frequencies.* This number came from the slope of the phase curve, (at
one frequency). By the strict dictionary defination, I did not
calculate group delay, but "group delay" is what it is commonly
called.

Can we say a continueous sine wave takes a certain time to pass
through a circuit? If I go down to K-Mart, buy a flash light, and
shoot a continueous beam of light at the moon, I know the light will
take 1.28 seconds to reach the moon, even though the light beam is a
continueous sine wave. The photons that make up the sine wave take
1.28 sec to get to the moon.

Even thought we can't say a continueous (159.1549 Hz) sine wave takes
a 500 usec to pass through this filter we know, from group delay
calculations, the energy that the sine wave carries takes 500 usec to
pass through the filter.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 16 Jan, 2002 01:27:26

Message: 27 of 454

Jerry Avins <jya@ieee.org> writes:

>All true. The purpose of limiting the rise and fall times of the pulse
>is, as I wrote, to limit the pulse to frequencies near the carrier, thus
>assuring a group velocity nearly equal for all components; equal enough
>so that the illustration can work. It was emphasized earlier in the
>thread that although it isn't possible to measure group velocity with a
>single-frequency probe, there is a group velocity at every frequency.

Well, there may be a dw/dk at every frequency, but it may or may not
be a useful group velocity. You can use two different frequencies
in the limit as they get closer and closer together, and hope it is
a continuous function.

>Useful communication channels have reasonably constant group velocities
>over the bands of intended use. Solitons are a special case where
>uniform group velvety is enforced by nonlinearity.

>Engineering is the art of making what you want from things you can get.

I agree with this one!

-- glen

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 15 Jan, 2002 20:57:22

Message: 28 of 454

glen herrmannsfeldt wrote:
>
> Jerry Avins <jya@ieee.org> writes:
>
> >All true. The purpose of limiting the rise and fall times of the pulse
> >is, as I wrote, to limit the pulse to frequencies near the carrier, thus
> >assuring a group velocity nearly equal for all components; equal enough
> >so that the illustration can work. It was emphasized earlier in the
> >thread that although it isn't possible to measure group velocity with a
> >single-frequency probe, there is a group velocity at every frequency.
>
> Well, there may be a dw/dk at every frequency, but it may or may not
> be a useful group velocity. You can use two different frequencies
> in the limit as they get closer and closer together, and hope it is
> a continuous function.
>
> >Useful communication channels have reasonably constant group velocities
> >over the bands of intended use. Solitons are a special case where
> >uniform group velocity is enforced by nonlinearity.
>
> >Engineering is the art of making what you want from things you can get.
>
> I agree with this one!
>
> -- glen

Group velocity is interesting primarily when it is substantially
constant over a band that has interesting width. Generally, that
requires a relatively flat frequency response. The group velocity at the
half-power point of an RC rolloff doesn't usually qualify.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Gary Schafer

Date: 16 Jan, 2002 02:21:36

Message: 29 of 454



Bob_Stanton wrote:

> Don Pearce <donald@pearce.uk.com> wrote in message
>
> >
> > Sure, but that doesn't answer the point that it can't be measured
> > using a single, pure sine wave. There is not enough information at a
> > single point to tell you what the slope is - you have assumed what it
> > is.
> > ...
> > So in an actual measurement, it is hard to reach unambiguous results -
> > although reasonable answers are easy. But you certainly can't measure
> > slope by looking at a single point (fervency).
> >
> > d
> >
> Bob writes:
>
> I agree (and have agreed) there is *no way* to measure group delay
> using a continuous sine wave. That doesn't leave much room for
> disagreement, but I'm going to try. :-)
>
> The dictionary defines group delay as: "In a modulated signal, a delay
> of the transmission of data." By that defination, you are correct in
> saying group delay must always involve two signals.
>
> I was thinking of "group delay" in terms of its' common usage. For
> example, in filter books we commonly see plots of delay
> characteristics, with the ordinate labled "group delay". Any *single
> point* on those curves is the delay at a single frequency. Each point,
> on these curves, corresponds to a single point on a phase curve.
> Perhaps by the strict dictionary defination, the ordinate should not
> be labled "group delay", but that is common usage.
>
> Here is a circuit of a resistor and capacitor:
>
> _________ R = 1000 _____________
> |
> |
> C = 1uF
> |
> ________________________________|
>
> This circuit has a delay of 500 usec at the frequency of 159.1549 Hz.
> *I didn't get this number by measuring the phase shift at two
> frequencies.* This number came from the slope of the phase curve, (at
> one frequency). By the strict dictionary defination, I did not
> calculate group delay, but "group delay" is what it is commonly
> called.
>
> Can we say a continueous sine wave takes a certain time to pass
> through a circuit? If I go down to K-Mart, buy a flash light, and
> shoot a continueous beam of light at the moon, I know the light will
> take 1.28 seconds to reach the moon, even though the light beam is a
> continueous sine wave. The photons that make up the sine wave take
> 1.28 sec to get to the moon.
>
> Even thought we can't say a continueous (159.1549 Hz) sine wave takes
> a 500 usec to pass through this filter we know, from group delay
> calculations, the energy that the sine wave carries takes 500 usec to
> pass through the filter.
>
> Bob Stanton

With the flash light you know the distance and you know the propagation
speed. You know more than one element. With the resistor and capacitor you
know that the phase shift will be 90 degrees or less. Throw in an unknown
number of resistor - capacitor elements and you then do not know how many
cycles it will take before the single sine wave comes out the other side.

Regards
Gary

Subject: Physical meaning of Group-Delay ?

From: allan_herriman.hates.spam@agilent.com (Allan Herriman)

Date: 16 Jan, 2002 04:34:19

Message: 30 of 454

A number of posters in this thread have said that the group delay is
d phi/d freq

My copy of O+S (1975 edition) says it's the additive inverse of that:
-d phi/d freq

Any ideas about the difference?

Allan.

On 10 Jan 2002 06:23:47 -0800, dummy21@gmx.net (Nico) wrote:

>(First of all, I realize that this might seem to be a FAQ, but even
>after some time spend searching on Deja/Google I couldn't find a
>satisfying answer)
>
>Hi people,
>
>I previously posted a question regarding group delay. Thanks to a hint
>from one of you, I realized that if I filtered a pure (single
>frequency) sine-wave with a filter, and then compared the displacement
>of zero crossings, that this was the phase-delay introduced by the
>filter.
>
>Now, I know the theoretical difference between phase-delay and
>group-delay. I know that the phase-delay is the phase divided by the
>frequency (the angle of a straight line towards the origin (or towards
>the phase at f=0 Hz ?)), whereas the group-delay is minus the
>derivative of the phase-function.
>
>I also know that the group-delay may be interpreted as 'the time delay
>of the amplitude envelope of a sinusoid at frequency w' (where the
>bandwidth of the amplitude envelope must be restricted to a frequency
>interval over which the phase response is approximately linear).
>
>The problem is, I still have trouble understanding this explaination.
>So, let's turn it around:
>
>If I plot the group-delay of a filter, and the graph says that at an
>quarter of the sampling frequency (1/2 * Nyquist/Normalized frequency)
>the group delay is 5 samples, how can I interprete that ?
>
>Obviously, it doesn't mean that a sinewave of that frequency is
>delayed for 5 samples. Does it perhaps mean that the composite of
>frequencies, which amplitude envelope has a frequency of 1/2 *
>Nyquist, will be delayed for 5 samples ? But in that case, what are
>the composite frequencies ... ?
>
>I hope somebody is able to shed some light on the issue.
>
>Thanks in advance !
>
>Nico

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 15 Jan, 2002 23:44:39

Message: 31 of 454

Allan Herriman wrote:
>
> A number of posters in this thread have said that the group delay is
> d phi/d freq
>
> My copy of O+S (1975 edition) says it's the additive inverse of that:
> -d phi/d freq

That's the way I've always seen it defined (-d phi/ d freq).

> Any ideas about the difference?

Take a sine wave at f Hz, sin(2*pi*f*t) and delay it by tau seconds:

  sin(2*pi*f*(t - tau)) = sin(2*pi*f*t - 2*pi*f*tau)

As f increases, the phase decreases, and therefore the slope is negative for a
positive delay. Thus the negative sign on d phi/ d freq.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Don Pearce

Date: 16 Jan, 2002 07:22:12

Message: 32 of 454

On 15 Jan 2002 15:15:56 -0800, rstanton2@stny.rr.com (Bob_Stanton)
wrote:

>Don Pearce <donald@pearce.uk.com> wrote in message
>
>>
>> Sure, but that doesn't answer the point that it can't be measured
>> using a single, pure sine wave. There is not enough information at a
>> single point to tell you what the slope is - you have assumed what it
>> is.
>> ...
>> So in an actual measurement, it is hard to reach unambiguous results -
>> although reasonable answers are easy. But you certainly can't measure
>> slope by looking at a single point (fervency).
>>
>> d
>>
>Bob writes:
>
>I agree (and have agreed) there is *no way* to measure group delay
>using a continuous sine wave. That doesn't leave much room for
>disagreement, but I'm going to try. :-)
>
>The dictionary defines group delay as: "In a modulated signal, a delay
>of the transmission of data." By that defination, you are correct in
>saying group delay must always involve two signals.
>
>I was thinking of "group delay" in terms of its' common usage. For
>example, in filter books we commonly see plots of delay
>characteristics, with the ordinate labled "group delay". Any *single
>point* on those curves is the delay at a single frequency. Each point,
>on these curves, corresponds to a single point on a phase curve.
>Perhaps by the strict dictionary defination, the ordinate should not
>be labled "group delay", but that is common usage.
>
>Here is a circuit of a resistor and capacitor:
>
> _________ R = 1000 _____________
> |
> |
> C = 1uF
> |
> ________________________________|
>
>
>This circuit has a delay of 500 usec at the frequency of 159.1549 Hz.
>*I didn't get this number by measuring the phase shift at two
>frequencies.* This number came from the slope of the phase curve, (at
>one frequency). By the strict dictionary defination, I did not
>calculate group delay, but "group delay" is what it is commonly
>called.
>
>Can we say a continueous sine wave takes a certain time to pass
>through a circuit? If I go down to K-Mart, buy a flash light, and
>shoot a continueous beam of light at the moon, I know the light will
>take 1.28 seconds to reach the moon, even though the light beam is a
>continueous sine wave. The photons that make up the sine wave take
>1.28 sec to get to the moon.
>
>Even thought we can't say a continueous (159.1549 Hz) sine wave takes
>a 500 usec to pass through this filter we know, from group delay
>calculations, the energy that the sine wave carries takes 500 usec to
>pass through the filter.
>
>Bob Stanton

I agree with what you say, Bob. The problem is one of non-commutation.
Although a knowledge of the group delay of a circuit allows you to
determine the resulting phase shift on a sine wave, knowledge of the
phase shift doesn't tell you the group delay - there is no unique
solution. You do need that bandwidth - from an event, modulation or
whatever to get at the delay.

d

_____________________________
Telecommunications consultant
http://www.pearce.uk.com

Subject: Physical meaning of Group-Delay ?

From: jj@research.att.com (jj, DBT thug and skeptical philalethist)

Date: 16 Jan, 2002 17:11:41

Message: 33 of 454

In article <67ef4d54.0201151515.151660ff@posting.google.com>,
Bob_Stanton <rstanton2@stny.rr.com> wrote:
>I agree (and have agreed) there is *no way* to measure group delay
>using a continuous sine wave. That doesn't leave much room for
>disagreement, but I'm going to try. :-)

Heh, but you CAN measure it with a slow sweep :)

Just unwrap the phase :)

--
Copyright jj@research.att.com 2001, all rights reserved, except transmission
by USENET and like facilities granted. This notice must be included. Any
use by a provider charging in any way for the IP represented in and by this
article and any inclusion in print or other media are specifically prohibited.

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 16 Jan, 2002 12:56:25

Message: 34 of 454

Allan Herriman wrote:
>
> A number of posters in this thread have said that the group delay is
> d phi/d freq
>
> My copy of O+S (1975 edition) says it's the additive inverse of that:
> -d phi/d freq
>
> Any ideas about the difference?
>
> Allan.
>
  ...

I can't say. I'm accustomed to thinking in terms of the velocities of
traveling waves. If we describe the wave as exp[j(wt - ßz)] (ß a
function of frequency; w standing in for omega), then running along side
the wave at a speed dz/dt = w/ß, the phase will remain constant. When ß
varies with frequency, then a signal containing a number of frequencies
will vary in shape as it propagates; it will disperse. When there is
only little dispersion, a modulated carrier can exhibit an undispersed
envelope. Consider just the sidebands of an AM signal (we can include
the carrier, but there's nothing gained from the extra term):
sin(w_0 + dw)t + sin(w_0 - dw)t at the origin. Along the line, this
becomes sin[(w_0 + dw)t - (ß_0 + dß)z] + sin[(w_0 - dw)t - (ß_0 - dß)z].
Simplifying, we get 2cos(dwt - dßz) * sin(wt - ßz). In other words, to
keep in step with the carrier phase, we need to run at dz/dt = w/ß, as
before; To keep in step with the modulation, we need to run at dz/dt =
dw/dß.

Delay is distance divided by velocity, not simply the reciprocal of
velocity. The changed sign might be due to the assumed implicit
direction of positive distance. Does that muddy the waters even more?
 
Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Chuck

Date: 16 Jan, 2002 15:28:25

Message: 35 of 454

Hi Don,

Language is a very poor form of communication. ;-)

We tend to be sloppy with our terminology, and lax about qualifiers, which
makes a big problem (clear communication) a lot bigger. For example, I've
worked in half dozen labs where a "coder" was a person who translated a
detailed software design into a high-level computer language. An
analog-to-digital converter was an "ADC", or "A2D", or sometimes "A-to-D
converter," and D2A converters had like designations. Though the labs,
their work, and their terminology's varied, there were some constants, one
being the meaning of the word "coder." It's a low level technical position,
less than a programmer, but more than a gopher. Part of the "culture" was
that Ada Lovelace was the first coder. As Charles Baggage's lover, she
supposedly coded his "calculating engine" based on equations that he
supplied. If this is true, then she was the first coder, given the
"accepted" definition of the term (but of course we know it all depends on
who's doing the accepting). Now some of the labs I'm talking about were
doing bleeding-edge research, and all were on the cutting edge in one way or
another, so there was a tendency to respect the people working there, and
accept their statements as being well informed. In general, they were. I
made a real arse out of myself once, when someone called an audio DAC a
"coder." It started with what I thought an obvious suggestion. Audiophiles
usually call them DACs, and it's best to use the terminology of the culture
being addressed. I also pointed out that "coder" was a job title, not an
electronic device, a comment that offended the other party, and lead to a
heated and totally unnecessary discussion that we could have probably both
done without.

This kind of thing happens even in the simplest conversations, when both
parties agree on the meanings of the terms they use. A few months ago a
friend got new speakers, and was having trouble with the setup. His system
was now bi-amped, something he hadn't done before, and from his description
of the problem I guessed that one of his amps might have inverted output
(180-degrees out of phase with its input) so I suggested that he reverse the
connections at the woofers, to see if changing their phase relationship to
the tweeters would solve his problem. It would have fixed his problem if I
hadn't used the word "phase" but he thought I was telling him to connect the
two woofers out of phase with each other, and of course that didn't help at
all.

In audio we face an additional hurdle in that we have all had or seen
statements, that were correct and accurate, twisted into pretzels by
golden-eared pseudo-scientists. We sometimes mistake an honest
misunderstanding for an attempt to discredit fact. Sometimes we get
argumentative too quickly because of past bad experiences.

Anyway, I've got to throw in my two cents worth, and if I only get a penny
for my thoughts, I want to know where the other penny goes. ;-) I'm
familiar with the term "group delay" as it's used in electronics, but have
seen it used far more often (a culture thing) to refer to groups of
mathematical routines, performed either in hardware, software, or a mix of
the two, when used in real-time systems. An implementation of an equation
has a group delay, because each component of the group (each low level
equation) has some delay, and the total delay (usually given as min, max,
and avg) of the group is often referred to as the "group delay." If the
group delay is too long for the application, you can either work on the top
level equation, or you can work on its component parts, changing hardware
for software, or whatever you need to do to get the speed up and the delay
down.

In many ways, this is the same thing as the group delay of an electronic
circuit, because it's the time delay caused by the DUT. There is even an
analog to phase (a good example of the way we use the same term to mean
different things), in that the output data may be fed back to the input
(closed-loop operation), and too much lag in arrival time (group delay) can
cause instability in the system. There are so many parallels that it might
be easy to confuse the two at times, but they do difference of course.
Feedback is still feedback, and group delay is still group delay, even if
we're talking about the human nervous system, but subtle differences seem to
trip us up sometimes. Qualifiers help, but it's often hard to see the need
for them, because *we* know what we mean, and miss the ambiguities.

The closest we can come to avoiding confusion is to address our audience
appropriately, but I've found that this is impossible on the Web (for me at
least) because the audience is infinitely varied, and sometimes
misrepresents its background and level of understanding. Not generally a
problem here with the RATs, but a problem with most of the other audio
related Web resources. I'm still new to the group, and only get to read the
posts once every few days, but I like what you guys have done with this
newsgroup. Best audio discussions on the Web.
Thanks RATs.

Now I'm puzzled a bit though. Someone, I think it was you Don, said that
group delay (in an analog system) was so named because you tested with a
group of signals. It's true that we do test group delay with a group of
data or signals that are representative of the data the DUT will be expected
to handle. However, I've never seen the term (and all that means is that
I've never seen it, not that it's never used this way) used to describe the
delay of a single element of a system. It's always used to describe the
total delay of a group of elements, and the group delay (often a curve if
the delay varies depending on the characteristics of the input) was often
calculated by summing the time delay of the individual "devices" in the
data/signal path. I could obviously pull a book off the shelf and look up a
"formal" definition, but that would only give me one technocrats
understanding of the usage, and that could be as wrong as the next fellows.
;-)

I'd like to see something more than "customary usage" here, because I've
been in a culture where the custom was to call the delay of a group of
devices the group delay, even if the group only carries a serial bit-stream
at a fixed rate. Here there is only one "signal" to test with, but you
still have a group delay. Would it be fair to say (I'm asking, not arguing)
that if it is customary for the audio community to use the term "group
delay" because it's tested with a group of signals, that this interpretation
is in reality a slight misuse of the term?

I've enjoyed the thread.

Thanks Don and Bob.

Party on,

Chuck

Don Pearce <donald@pearce.uk.com> wrote in message
news:2daa4usjudfgm2pmqrsjg3el3rf0ubo8l9@4ax.com...
> On 15 Jan 2002 15:15:56 -0800, rstanton2@stny.rr.com (Bob_Stanton)
> wrote:
>
> >Don Pearce <donald@pearce.uk.com> wrote in message
> >
> >>
> >> Sure, but that doesn't answer the point that it can't be measured
> >> using a single, pure sine wave. There is not enough information at a
> >> single point to tell you what the slope is - you have assumed what it
> >> is.
> >> ...
> >> So in an actual measurement, it is hard to reach unambiguous results -
> >> although reasonable answers are easy. But you certainly can't measure
> >> slope by looking at a single point (fervency).
> >>
> >> d
> >>
> >Bob writes:
> >
> >I agree (and have agreed) there is *no way* to measure group delay
> >using a continuous sine wave. That doesn't leave much room for
> >disagreement, but I'm going to try. :-)
> >
> >The dictionary defines group delay as: "In a modulated signal, a delay
> >of the transmission of data." By that defination, you are correct in
> >saying group delay must always involve two signals.
> >
> >I was thinking of "group delay" in terms of its' common usage. For
> >example, in filter books we commonly see plots of delay
> >characteristics, with the ordinate labled "group delay". Any *single
> >point* on those curves is the delay at a single frequency. Each point,
> >on these curves, corresponds to a single point on a phase curve.
> >Perhaps by the strict dictionary defination, the ordinate should not
> >be labled "group delay", but that is common usage.
> >
> >Here is a circuit of a resistor and capacitor:
> >
> > _________ R = 1000 _____________
> > |
> > |
> > C = 1uF
> > |
> > ________________________________|
> >
> >
> >This circuit has a delay of 500 usec at the frequency of 159.1549 Hz.
> >*I didn't get this number by measuring the phase shift at two
> >frequencies.* This number came from the slope of the phase curve, (at
> >one frequency). By the strict dictionary defination, I did not
> >calculate group delay, but "group delay" is what it is commonly
> >called.
> >
> >Can we say a continueous sine wave takes a certain time to pass
> >through a circuit? If I go down to K-Mart, buy a flash light, and
> >shoot a continueous beam of light at the moon, I know the light will
> >take 1.28 seconds to reach the moon, even though the light beam is a
> >continueous sine wave. The photons that make up the sine wave take
> >1.28 sec to get to the moon.
> >
> >Even thought we can't say a continueous (159.1549 Hz) sine wave takes
> >a 500 usec to pass through this filter we know, from group delay
> >calculations, the energy that the sine wave carries takes 500 usec to
> >pass through the filter.
> >
> >Bob Stanton
>
> I agree with what you say, Bob. The problem is one of non-commutation.
> Although a knowledge of the group delay of a circuit allows you to
> determine the resulting phase shift on a sine wave, knowledge of the
> phase shift doesn't tell you the group delay - there is no unique
> solution. You do need that bandwidth - from an event, modulation or
> whatever to get at the delay.
>
> d
>
> _____________________________
> Telecommunications consultant
> http://www.pearce.uk.com

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 16 Jan, 2002 16:29:18

Message: 36 of 454

Chuck wrote:
>
>
> ... I'm
> familiar with the term "group delay" as it's used in electronics, but have
> seen it used far more often (a culture thing) to refer to groups of
> mathematical routines, performed either in hardware, software, or a mix of
> the two, when used in real-time systems. An implementation of an equation
> has a group delay, because each component of the group (each low level
> equation) has some delay, and the total delay (usually given as min, max,
> and avg) of the group is often referred to as the "group delay." If the
> group delay is too long for the application, you can either work on the top
> level equation, or you can work on its component parts, changing hardware
> for software, or whatever you need to do to get the speed up and the delay
> down.

I suppose there are some circles where "group delay" describes the extra
time needed to get a bunch of people onto the bus, compared to jumping
in the car and going. The delay you described above is known as
"processing time" or "latency". I know what group delay means on a
transmission line (it's the line length divided by the group velocity),
and there are useful analogs of that in lumped-constant and certain
digital filters. Beyond that, it's beyond me.
>
> In many ways, this is the same thing as the group delay of an electronic
> circuit, because it's the time delay caused by the DUT. There is even an
> analog to phase (a good example of the way we use the same term to mean
> different things), in that the output data may be fed back to the input
> (closed-loop operation), and too much lag in arrival time (group delay) can
> cause instability in the system. There are so many parallels that it might
> be easy to confuse the two at times, but they do difference of course.
> Feedback is still feedback, and group delay is still group delay, even if
> we're talking about the human nervous system, but subtle differences seem to
> trip us up sometimes. Qualifiers help, but it's often hard to see the need
> for them, because *we* know what we mean, and miss the ambiguities.
>
Amen to that. My standard for my own technical writing (which I often
fall far short of) is to write so that even the most malicious reader
can't construe a meaning I don't intend. The "I know what that means so
you should too" trap is more than a pitfall. It often seems to be a
whirlpool actively trying to suck me in.

One has no business talking about group delay except when it can be
distinguished from phase delay. Otherwise, it's just technojargon for
"delay", and confuses a discussion with false erudition.

  ...

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Don Pearce

Date: 16 Jan, 2002 22:27:46

Message: 37 of 454

On Wed, 16 Jan 2002 15:28:25 -0500, "Chuck" <dvman@mindspring.com>
wrote:

>Hi Don,
>
>Language is a very poor form of communication. ;-)
>
>We tend to be sloppy with our terminology, and lax about qualifiers, which
>makes a big problem (clear communication) a lot bigger. For example, I've
>worked in half dozen labs where a "coder" was a person who translated a
>detailed software design into a high-level computer language. An
>analog-to-digital converter was an "ADC", or "A2D", or sometimes "A-to-D
>converter," and D2A converters had like designations. Though the labs,
>their work, and their terminology's varied, there were some constants, one
>being the meaning of the word "coder." It's a low level technical position,
>less than a programmer, but more than a gopher. Part of the "culture" was
>that Ada Lovelace was the first coder. As Charles Baggage's lover, she
>supposedly coded his "calculating engine" based on equations that he
>supplied. If this is true, then she was the first coder, given the
>"accepted" definition of the term (but of course we know it all depends on
>who's doing the accepting). Now some of the labs I'm talking about were
>doing bleeding-edge research, and all were on the cutting edge in one way or
>another, so there was a tendency to respect the people working there, and
>accept their statements as being well informed. In general, they were. I
>made a real arse out of myself once, when someone called an audio DAC a
>"coder." It started with what I thought an obvious suggestion. Audiophiles
>usually call them DACs, and it's best to use the terminology of the culture
>being addressed. I also pointed out that "coder" was a job title, not an
>electronic device, a comment that offended the other party, and lead to a
>heated and totally unnecessary discussion that we could have probably both
>done without.
>
>This kind of thing happens even in the simplest conversations, when both
>parties agree on the meanings of the terms they use. A few months ago a
>friend got new speakers, and was having trouble with the setup. His system
>was now bi-amped, something he hadn't done before, and from his description
>of the problem I guessed that one of his amps might have inverted output
>(180-degrees out of phase with its input) so I suggested that he reverse the
>connections at the woofers, to see if changing their phase relationship to
>the tweeters would solve his problem. It would have fixed his problem if I
>hadn't used the word "phase" but he thought I was telling him to connect the
>two woofers out of phase with each other, and of course that didn't help at
>all.
>
>In audio we face an additional hurdle in that we have all had or seen
>statements, that were correct and accurate, twisted into pretzels by
>golden-eared pseudo-scientists. We sometimes mistake an honest
>misunderstanding for an attempt to discredit fact. Sometimes we get
>argumentative too quickly because of past bad experiences.
>
>Anyway, I've got to throw in my two cents worth, and if I only get a penny
>for my thoughts, I want to know where the other penny goes. ;-) I'm
>familiar with the term "group delay" as it's used in electronics, but have
>seen it used far more often (a culture thing) to refer to groups of
>mathematical routines, performed either in hardware, software, or a mix of
>the two, when used in real-time systems. An implementation of an equation
>has a group delay, because each component of the group (each low level
>equation) has some delay, and the total delay (usually given as min, max,
>and avg) of the group is often referred to as the "group delay." If the
>group delay is too long for the application, you can either work on the top
>level equation, or you can work on its component parts, changing hardware
>for software, or whatever you need to do to get the speed up and the delay
>down.
>
>In many ways, this is the same thing as the group delay of an electronic
>circuit, because it's the time delay caused by the DUT. There is even an
>analog to phase (a good example of the way we use the same term to mean
>different things), in that the output data may be fed back to the input
>(closed-loop operation), and too much lag in arrival time (group delay) can
>cause instability in the system. There are so many parallels that it might
>be easy to confuse the two at times, but they do difference of course.
>Feedback is still feedback, and group delay is still group delay, even if
>we're talking about the human nervous system, but subtle differences seem to
>trip us up sometimes. Qualifiers help, but it's often hard to see the need
>for them, because *we* know what we mean, and miss the ambiguities.
>
>The closest we can come to avoiding confusion is to address our audience
>appropriately, but I've found that this is impossible on the Web (for me at
>least) because the audience is infinitely varied, and sometimes
>misrepresents its background and level of understanding. Not generally a
>problem here with the RATs, but a problem with most of the other audio
>related Web resources. I'm still new to the group, and only get to read the
>posts once every few days, but I like what you guys have done with this
>newsgroup. Best audio discussions on the Web.
>Thanks RATs.
>
>Now I'm puzzled a bit though. Someone, I think it was you Don, said that
>group delay (in an analog system) was so named because you tested with a
>group of signals. It's true that we do test group delay with a group of
>data or signals that are representative of the data the DUT will be expected
>to handle. However, I've never seen the term (and all that means is that
>I've never seen it, not that it's never used this way) used to describe the
>delay of a single element of a system. It's always used to describe the
>total delay of a group of elements, and the group delay (often a curve if
>the delay varies depending on the characteristics of the input) was often
>calculated by summing the time delay of the individual "devices" in the
>data/signal path. I could obviously pull a book off the shelf and look up a
>"formal" definition, but that would only give me one technocrats
>understanding of the usage, and that could be as wrong as the next fellows.
>;-)
>
>I'd like to see something more than "customary usage" here, because I've
>been in a culture where the custom was to call the delay of a group of
>devices the group delay, even if the group only carries a serial bit-stream
>at a fixed rate. Here there is only one "signal" to test with, but you
>still have a group delay. Would it be fair to say (I'm asking, not arguing)
>that if it is customary for the audio community to use the term "group
>delay" because it's tested with a group of signals, that this interpretation
>is in reality a slight misuse of the term?
>
>I've enjoyed the thread.
>
>Thanks Don and Bob.
>
>Party on,
>
>Chuck
>
>Don Pearce <donald@pearce.uk.com> wrote in message
>news:2daa4usjudfgm2pmqrsjg3el3rf0ubo8l9@4ax.com...
>> On 15 Jan 2002 15:15:56 -0800, rstanton2@stny.rr.com (Bob_Stanton)
>> wrote:
>>
>> >Don Pearce <donald@pearce.uk.com> wrote in message
>> >
>> >>
>> >> Sure, but that doesn't answer the point that it can't be measured
>> >> using a single, pure sine wave. There is not enough information at a
>> >> single point to tell you what the slope is - you have assumed what it
>> >> is.
>> >> ...
>> >> So in an actual measurement, it is hard to reach unambiguous results -
>> >> although reasonable answers are easy. But you certainly can't measure
>> >> slope by looking at a single point (fervency).
>> >>
>> >> d
>> >>
>> >Bob writes:
>> >
>> >I agree (and have agreed) there is *no way* to measure group delay
>> >using a continuous sine wave. That doesn't leave much room for
>> >disagreement, but I'm going to try. :-)
>> >
>> >The dictionary defines group delay as: "In a modulated signal, a delay
>> >of the transmission of data." By that defination, you are correct in
>> >saying group delay must always involve two signals.
>> >
>> >I was thinking of "group delay" in terms of its' common usage. For
>> >example, in filter books we commonly see plots of delay
>> >characteristics, with the ordinate labled "group delay". Any *single
>> >point* on those curves is the delay at a single frequency. Each point,
>> >on these curves, corresponds to a single point on a phase curve.
>> >Perhaps by the strict dictionary defination, the ordinate should not
>> >be labled "group delay", but that is common usage.
>> >
>> >Here is a circuit of a resistor and capacitor:
>> >
>> > _________ R = 1000 _____________
>> > |
>> > |
>> > C = 1uF
>> > |
>> > ________________________________|
>> >
>> >
>> >This circuit has a delay of 500 usec at the frequency of 159.1549 Hz.
>> >*I didn't get this number by measuring the phase shift at two
>> >frequencies.* This number came from the slope of the phase curve, (at
>> >one frequency). By the strict dictionary defination, I did not
>> >calculate group delay, but "group delay" is what it is commonly
>> >called.
>> >
>> >Can we say a continueous sine wave takes a certain time to pass
>> >through a circuit? If I go down to K-Mart, buy a flash light, and
>> >shoot a continueous beam of light at the moon, I know the light will
>> >take 1.28 seconds to reach the moon, even though the light beam is a
>> >continueous sine wave. The photons that make up the sine wave take
>> >1.28 sec to get to the moon.
>> >
>> >Even thought we can't say a continueous (159.1549 Hz) sine wave takes
>> >a 500 usec to pass through this filter we know, from group delay
>> >calculations, the energy that the sine wave carries takes 500 usec to
>> >pass through the filter.
>> >
>> >Bob Stanton
>>
>> I agree with what you say, Bob. The problem is one of non-commutation.
>> Although a knowledge of the group delay of a circuit allows you to
>> determine the resulting phase shift on a sine wave, knowledge of the
>> phase shift doesn't tell you the group delay - there is no unique
>> solution. You do need that bandwidth - from an event, modulation or
>> whatever to get at the delay.
>>
>> d
>>
>> _____________________________
>> Telecommunications consultant
>> http://www.pearce.uk.com
>
OK - I think.

I would like to sum up group delay this way.
A) You put a signal in
B) you get the signal out.
Group delay is how long after A that B happens.

Incidentally - it was Charles Babbage, not Baggage. And I think Ada
Lovelace was Lord Byron's niece (or something similar).

And it wasn't me that said the thing about the delay of groups.

d

_____________________________
Telecommunications consultant
http://www.pearce.uk.com

Subject: Physical meaning of Group-Delay ?

From: Gary Schafer

Date: 16 Jan, 2002 22:24:06

Message: 38 of 454



Jerry Avins wrote:

> One has no business talking about group delay except when it can be
> distinguished from phase delay. Otherwise, it's just technojargon for
> "delay", and confuses a discussion with false erudition.
>
> ...
>
> Jerry
> --
> Engineering is the art of making what you want from things you can get.
> -----------------------------------------------------------------------

This is probably a simple definition of it.
"For linear phase responses, the group delay and the phase delay are identical,
and each may be
interpreted as time delay."

Regards
Gary

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 16 Jan, 2002 15:29:54

Message: 39 of 454

Gary Schafer <gschafer@mediaone.net> wrote in message

> With the flash light you know the distance and you know the propagation
> speed. You know more than one element. With the resistor and capacitor you
> know that the phase shift will be 90 degrees or less. Throw in an unknown
> number of resistor - capacitor elements and you then do not know how many
> cycles it will take before the single sine wave comes out the other side.
>
> Regards
> Gary

Bob writes

That is true.

If we have an unknown circuit inside a black box, the only way to know
the group delay, is to measure dB/dW.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: allan_herriman.hates.spam@agilent.com (Allan Herriman)

Date: 17 Jan, 2002 01:52:30

Message: 40 of 454

On Wed, 16 Jan 2002 12:56:25 -0500, Jerry Avins <jya@ieee.org> wrote:

>Allan Herriman wrote:
>>
>> A number of posters in this thread have said that the group delay is
>> d phi/d freq
>>
>> My copy of O+S (1975 edition) says it's the additive inverse of that:
>> -d phi/d freq
>>
>> Any ideas about the difference?
>>
>> Allan.
>>
> ...
>
>I can't say. I'm accustomed to thinking in terms of the velocities of
>traveling waves. If we describe the wave as exp[j(wt - ßz)] (ß a
>function of frequency; w standing in for omega), then running along side
>the wave at a speed dz/dt = w/ß, the phase will remain constant. When ß
>varies with frequency, then a signal containing a number of frequencies
>will vary in shape as it propagates; it will disperse. When there is
>only little dispersion, a modulated carrier can exhibit an undispersed
>envelope. Consider just the sidebands of an AM signal (we can include
>the carrier, but there's nothing gained from the extra term):
>sin(w_0 + dw)t + sin(w_0 - dw)t at the origin. Along the line, this
>becomes sin[(w_0 + dw)t - (ß_0 + dß)z] + sin[(w_0 - dw)t - (ß_0 - dß)z].
>Simplifying, we get 2cos(dwt - dßz) * sin(wt - ßz). In other words, to
>keep in step with the carrier phase, we need to run at dz/dt = w/ß, as
>before; To keep in step with the modulation, we need to run at dz/dt =
>dw/dß.
>
>Delay is distance divided by velocity, not simply the reciprocal of
>velocity. The changed sign might be due to the assumed implicit
>direction of positive distance. Does that muddy the waters even more?

Err, thanks Jerry.

I was actually questioning why the minus sign had been dropped in this
thread, rather than asking why it should be there. (I'm never very
good at expressing simple things, so that the reader really knows what
I mean.)

I think the answer lies in the message header: this thread appears in
some groups that aren't as anally retentive as comp.dsp, and the odd
minus sign isn't seen as an issue.

Regards,
Allan.

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 16 Jan, 2002 19:05:03

Message: 41 of 454

Randy Yates <yates@ieee.org> wrote in message
>
> That's the way I've always seen it defined (-d phi/ d freq).
>
> > Any ideas about the difference?
>
> Take a sine wave at f Hz, sin(2*pi*f*t) and delay it by tau seconds:
>
> sin(2*pi*f*(t - tau)) = sin(2*pi*f*t - 2*pi*f*tau)
>
> As f increases, the phase decreases, and therefore the slope is negative for a
> positive delay. Thus the negative sign on d phi/ d freq.

Bob writes

In most circuits the phase decreases as frequency increases. In some
circuits the phase seems to go positive, for part of the band.

I checking this out on several circuits, on a circuit analysis
program. One circuit was an elipitical lowpass filter. Near the
notches of the stopband, the phase increased.

Another circuit was an audio tone control. The phase increased from 20
to 280 Hz, decrease from 280 to 3000 Hz, then it again increased from
3500 to 20K. (I'm not 100% sure the circuit analysis program was
correct, but it did show phase increasing and decreasing with
frequency.)

A negative sign for "d phi", in the case where the phase is
increasing, would indicate *negative time*. Since a signal can not
leave a circuit before it enters, there is no such thing as negative
time, or it there?

If I'm wrong about there being no negative time, please answer this
question before I write it. :-) Thank you.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Chuck

Date: 16 Jan, 2002 22:24:58

Message: 42 of 454

LOL, if the usage "Baggage" was consistent we'll have to blame it on a bad
click while running the spelling checker.

Yea, I think the Lord Byron bit is correct as well.

I love talking about the ladies. ;-)

Take care,

Chuck

Don Pearce <donald@pearce.uk.com> wrote in message
news:ravb4ugk9s2oik76mk27b78v8p299b6rh3@4ax.com...
> On Wed, 16 Jan 2002 15:28:25 -0500, "Chuck" <dvman@mindspring.com>
> wrote:
>
> >Hi Don,
> >
> >Language is a very poor form of communication. ;-)
> >
> >We tend to be sloppy with our terminology, and lax about qualifiers,
which
> >makes a big problem (clear communication) a lot bigger. For example,
I've
> >worked in half dozen labs where a "coder" was a person who translated a
> >detailed software design into a high-level computer language. An
> >analog-to-digital converter was an "ADC", or "A2D", or sometimes "A-to-D
> >converter," and D2A converters had like designations. Though the labs,
> >their work, and their terminology's varied, there were some constants,
one
> >being the meaning of the word "coder." It's a low level technical
position,
> >less than a programmer, but more than a gopher. Part of the "culture"
was
> >that Ada Lovelace was the first coder. As Charles Baggage's lover, she
> >supposedly coded his "calculating engine" based on equations that he
> >supplied. If this is true, then she was the first coder, given the
> >"accepted" definition of the term (but of course we know it all depends
on
> >who's doing the accepting). Now some of the labs I'm talking about were
> >doing bleeding-edge research, and all were on the cutting edge in one way
or
> >another, so there was a tendency to respect the people working there, and
> >accept their statements as being well informed. In general, they were.
I
> >made a real arse out of myself once, when someone called an audio DAC a
> >"coder." It started with what I thought an obvious suggestion.
Audiophiles
> >usually call them DACs, and it's best to use the terminology of the cultu
re
> >being addressed. I also pointed out that "coder" was a job title, not an
> >electronic device, a comment that offended the other party, and lead to a
> >heated and totally unnecessary discussion that we could have probably
both
> >done without.
> >
> >This kind of thing happens even in the simplest conversations, when both
> >parties agree on the meanings of the terms they use. A few months ago a
> >friend got new speakers, and was having trouble with the setup. His
system
> >was now bi-amped, something he hadn't done before, and from his
description
> >of the problem I guessed that one of his amps might have inverted output
> >(180-degrees out of phase with its input) so I suggested that he reverse
the
> >connections at the woofers, to see if changing their phase relationship
to
> >the tweeters would solve his problem. It would have fixed his problem if
I
> >hadn't used the word "phase" but he thought I was telling him to connect
the
> >two woofers out of phase with each other, and of course that didn't help
at
> >all.
> >
> >In audio we face an additional hurdle in that we have all had or seen
> >statements, that were correct and accurate, twisted into pretzels by
> >golden-eared pseudo-scientists. We sometimes mistake an honest
> >misunderstanding for an attempt to discredit fact. Sometimes we get
> >argumentative too quickly because of past bad experiences.
> >
> >Anyway, I've got to throw in my two cents worth, and if I only get a
penny
> >for my thoughts, I want to know where the other penny goes. ;-) I'm
> >familiar with the term "group delay" as it's used in electronics, but
have
> >seen it used far more often (a culture thing) to refer to groups of
> >mathematical routines, performed either in hardware, software, or a mix
of
> >the two, when used in real-time systems. An implementation of an
equation
> >has a group delay, because each component of the group (each low level
> >equation) has some delay, and the total delay (usually given as min, max,
> >and avg) of the group is often referred to as the "group delay." If the
> >group delay is too long for the application, you can either work on the
top
> >level equation, or you can work on its component parts, changing hardware
> >for software, or whatever you need to do to get the speed up and the
delay
> >down.
> >
> >In many ways, this is the same thing as the group delay of an electronic
> >circuit, because it's the time delay caused by the DUT. There is even an
> >analog to phase (a good example of the way we use the same term to mean
> >different things), in that the output data may be fed back to the input
> >(closed-loop operation), and too much lag in arrival time (group delay)
can
> >cause instability in the system. There are so many parallels that it
might
> >be easy to confuse the two at times, but they do difference of course.
> >Feedback is still feedback, and group delay is still group delay, even if
> >we're talking about the human nervous system, but subtle differences seem
to
> >trip us up sometimes. Qualifiers help, but it's often hard to see the
need
> >for them, because *we* know what we mean, and miss the ambiguities.
> >
> >The closest we can come to avoiding confusion is to address our audience
> >appropriately, but I've found that this is impossible on the Web (for me
at
> >least) because the audience is infinitely varied, and sometimes
> >misrepresents its background and level of understanding. Not generally a
> >problem here with the RATs, but a problem with most of the other audio
> >related Web resources. I'm still new to the group, and only get to read
the
> >posts once every few days, but I like what you guys have done with this
> >newsgroup. Best audio discussions on the Web.
> >Thanks RATs.
> >
> >Now I'm puzzled a bit though. Someone, I think it was you Don, said that
> >group delay (in an analog system) was so named because you tested with a
> >group of signals. It's true that we do test group delay with a group of
> >data or signals that are representative of the data the DUT will be
expected
> >to handle. However, I've never seen the term (and all that means is that
> >I've never seen it, not that it's never used this way) used to describe
the
> >delay of a single element of a system. It's always used to describe the
> >total delay of a group of elements, and the group delay (often a curve if
> >the delay varies depending on the characteristics of the input) was often
> >calculated by summing the time delay of the individual "devices" in the
> >data/signal path. I could obviously pull a book off the shelf and look
up a
> >"formal" definition, but that would only give me one technocrats
> >understanding of the usage, and that could be as wrong as the next
fellows.
> >;-)
> >
> >I'd like to see something more than "customary usage" here, because I've
> >been in a culture where the custom was to call the delay of a group of
> >devices the group delay, even if the group only carries a serial
bit-stream
> >at a fixed rate. Here there is only one "signal" to test with, but you
> >still have a group delay. Would it be fair to say (I'm asking, not
arguing)
> >that if it is customary for the audio community to use the term "group
> >delay" because it's tested with a group of signals, that this
interpretation
> >is in reality a slight misuse of the term?
> >
> >I've enjoyed the thread.
> >
> >Thanks Don and Bob.
> >
> >Party on,
> >
> >Chuck
> >
> >Don Pearce <donald@pearce.uk.com> wrote in message
> >news:2daa4usjudfgm2pmqrsjg3el3rf0ubo8l9@4ax.com...
> >> On 15 Jan 2002 15:15:56 -0800, rstanton2@stny.rr.com (Bob_Stanton)
> >> wrote:
> >>
> >> >Don Pearce <donald@pearce.uk.com> wrote in message
> >> >
> >> >>
> >> >> Sure, but that doesn't answer the point that it can't be measured
> >> >> using a single, pure sine wave. There is not enough information at a
> >> >> single point to tell you what the slope is - you have assumed what
it
> >> >> is.
> >> >> ...
> >> >> So in an actual measurement, it is hard to reach unambiguous
results -
> >> >> although reasonable answers are easy. But you certainly can't
measure
> >> >> slope by looking at a single point (fervency).
> >> >>
> >> >> d
> >> >>
> >> >Bob writes:
> >> >
> >> >I agree (and have agreed) there is *no way* to measure group delay
> >> >using a continuous sine wave. That doesn't leave much room for
> >> >disagreement, but I'm going to try. :-)
> >> >
> >> >The dictionary defines group delay as: "In a modulated signal, a delay
> >> >of the transmission of data." By that defination, you are correct in
> >> >saying group delay must always involve two signals.
> >> >
> >> >I was thinking of "group delay" in terms of its' common usage. For
> >> >example, in filter books we commonly see plots of delay
> >> >characteristics, with the ordinate labled "group delay". Any *single
> >> >point* on those curves is the delay at a single frequency. Each point,
> >> >on these curves, corresponds to a single point on a phase curve.
> >> >Perhaps by the strict dictionary defination, the ordinate should not
> >> >be labled "group delay", but that is common usage.
> >> >
> >> >Here is a circuit of a resistor and capacitor:
> >> >
> >> > _________ R = 1000 _____________
> >> > |
> >> > |
> >> > C = 1uF
> >> > |
> >> > ________________________________|
> >> >
> >> >
> >> >This circuit has a delay of 500 usec at the frequency of 159.1549 Hz.
> >> >*I didn't get this number by measuring the phase shift at two
> >> >frequencies.* This number came from the slope of the phase curve, (at
> >> >one frequency). By the strict dictionary defination, I did not
> >> >calculate group delay, but "group delay" is what it is commonly
> >> >called.
> >> >
> >> >Can we say a continueous sine wave takes a certain time to pass
> >> >through a circuit? If I go down to K-Mart, buy a flash light, and
> >> >shoot a continueous beam of light at the moon, I know the light will
> >> >take 1.28 seconds to reach the moon, even though the light beam is a
> >> >continueous sine wave. The photons that make up the sine wave take
> >> >1.28 sec to get to the moon.
> >> >
> >> >Even thought we can't say a continueous (159.1549 Hz) sine wave takes
> >> >a 500 usec to pass through this filter we know, from group delay
> >> >calculations, the energy that the sine wave carries takes 500 usec to
> >> >pass through the filter.
> >> >
> >> >Bob Stanton
> >>
> >> I agree with what you say, Bob. The problem is one of non-commutation.
> >> Although a knowledge of the group delay of a circuit allows you to
> >> determine the resulting phase shift on a sine wave, knowledge of the
> >> phase shift doesn't tell you the group delay - there is no unique
> >> solution. You do need that bandwidth - from an event, modulation or
> >> whatever to get at the delay.
> >>
> >> d
> >>
> >> _____________________________
> >> Telecommunications consultant
> >> http://www.pearce.uk.com
> >
> OK - I think.
>
> I would like to sum up group delay this way.
> A) You put a signal in
> B) you get the signal out.
> Group delay is how long after A that B happens.
>
> Incidentally - it was Charles Babbage, not Baggage. And I think Ada
> Lovelace was Lord Byron's niece (or something similar).
>
> And it wasn't me that said the thing about the delay of groups.
>
> d
>
> _____________________________
> Telecommunications consultant
> http://www.pearce.uk.com

Subject: Physical meaning of Group-Delay ?

From: robert@wavemechanics.com (robert bristow-johnson)

Date: 16 Jan, 2002 22:14:44

Message: 43 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C45BEC9.7DC6840E@ieee.org>...
> Allan Herriman wrote:
> >
> > A number of posters in this thread have said that the group delay is
> > d phi/d freq
> >
> > My copy of O+S (1975 edition) says it's the additive inverse of that:
> > -d phi/d freq
> >
> > Any ideas about the difference?

the one with the negative sign is right (providing that "freq" is
measured as radians per unit time).

Jerry Avins wrote:

> One has no business talking about group delay except when it can be
> distinguished from phase delay. Otherwise, it's just technojargon for
> "delay", and confuses a discussion with false erudition.

and the two are distinguished from each other for any non-linear phase
filter.

this thread has appeared multiple times in the past and i'll repeat
what i've said before:


let x(t) = a(t)*cos(w0*t)

be input to a linear filter with complex transfer function H(s). a(t)
is a slowly moving envelope that is bandlimited to much less than w0.
that is


|A(j*w)| ~= 0 for all |w|>B where B << w0

if that is the case, then the output of the filter is

y(t) = |H(j*w0)| * a(t-Tg) * cos(w0*(t-Tp))

where Tp = -arg{H(j*w0)}/w0

and Tg = - d( arg{H(j*w)} )/dw evaluated at w = w0



that is the phase of the sinusoid is delayed by Tp, the "phase delay"
and the envelope of the sinusoid is delayed by Tg, the "group delay".

that is the only salient physical meaning of group delay vs. phase
delay that i can think of.

r b-j

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 17 Jan, 2002 07:44:01

Message: 44 of 454

Randy Yates <yates@ieee.org> wrote in message


> > Any ideas about the difference?
>
> Take a sine wave at f Hz, sin(2*pi*f*t) and delay it by tau seconds:
>
> sin(2*pi*f*(t - tau)) = sin(2*pi*f*t - 2*pi*f*tau)
>
> As f increases, the phase decreases, and therefore the slope is negative for a
> positive delay. Thus the negative sign on d phi/ d freq.

Bob writes

(The last message I wrote didn't come up, if it does than this message
will be redundant.)


I have seen some active filters, (looking on a circuit analysis
program) where the phase shift is positive in a portion of the
stopband. (It may be that my circuit analysis program is wrong.) If
the analysis program is correct however, there should be no negative
sign on "d phi/d freq".

A negative sign on "d phi/d freq", would imply that time is running
backwards, at those frequenies where the phase shift is positive.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 17 Jan, 2002 17:46:38

Message: 45 of 454

Bob_Stanton wrote:
>
> Randy Yates <yates@ieee.org> wrote in message
> >
> > That's the way I've always seen it defined (-d phi/ d freq).
> >
> > > Any ideas about the difference?
> >
> > Take a sine wave at f Hz, sin(2*pi*f*t) and delay it by tau seconds:
> >
> > sin(2*pi*f*(t - tau)) = sin(2*pi*f*t - 2*pi*f*tau)
> >
> > As f increases, the phase decreases, and therefore the slope is negative for a
> > positive delay. Thus the negative sign on d phi/ d freq.
>
> Bob writes
>
> In most circuits the phase decreases as frequency increases. In some
> circuits the phase seems to go positive, for part of the band.
>
> I checking this out on several circuits, on a circuit analysis
> program. One circuit was an elipitical lowpass filter. Near the
> notches of the stopband, the phase increased.
>
> Another circuit was an audio tone control. The phase increased from 20
> to 280 Hz, decrease from 280 to 3000 Hz, then it again increased from
> 3500 to 20K. (I'm not 100% sure the circuit analysis program was
> correct, but it did show phase increasing and decreasing with
> frequency.)
>
> A negative sign for "d phi", in the case where the phase is
> increasing, would indicate *negative time*.

That is indeed what the group delay would be in that context.

> Since a signal can not
> leave a circuit before it enters, there is no such thing as negative
> time, or it there?

You're interpreting group delay wrong. It does NOT indicate absolute
time delay unless the phase response is linear. In the cases you
specify, the phase response is not linear.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124
















































.

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 18 Jan, 2002 11:01:02

Message: 46 of 454

robert bristow-johnson wrote:
>
  ...
>
> let x(t) = a(t)*cos(w0*t)
>
> be input to a linear filter with complex transfer function H(s). a(t)
> is a slowly moving envelope that is bandlimited to much less than w0.
> that is
>
> |A(j*w)| ~= 0 for all |w|>B where B << w0
>
> if that is the case, then the output of the filter is
>
> y(t) = |H(j*w0)| * a(t-Tg) * cos(w0*(t-Tp))
>
> where Tp = -arg{H(j*w0)}/w0
>
> and Tg = - d( arg{H(j*w)} )/dw evaluated at w = w0
>
> that is the phase of the sinusoid is delayed by Tp, the "phase delay"
> and the envelope of the sinusoid is delayed by Tg, the "group delay".
>
> that is the only salient physical meaning of group delay vs. phase
> delay that i can think of.
>
> r b-j

Hallelujah!

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 18 Jan, 2002 09:47:29

Message: 47 of 454

Randy Yates <euschya@rtp.ericsson.com> wrote in message



> You're interpreting group delay wrong. It does NOT indicate absolute
> time delay unless the phase response is linear. In the cases you
> specify, the phase response is not linear.
> --
> Randy Yates

Bob writes:

I think you may have it backwards:

Tpd = - B/W
Tpd is the absolute time delay, *only* if the phase response is linear.

T = -(dB/dW)
T is the absolute time delay, whether the phase response is linear or non-linear.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: robert bristow-johnson

Date: 18 Jan, 2002 17:49:53

Message: 48 of 454

In article <3C4846BE.947A63C8@ieee.org> , Jerry Avins <jya@ieee.org> wrote:

>
> Hallelujah!
>

and Puhraze the Laward and pass that ammunition!

> Jerry

:-\

r b-j

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 18 Jan, 2002 13:01:34

Message: 49 of 454

Bob_Stanton wrote:
>
> Randy Yates <euschya@rtp.ericsson.com> wrote in message
>
> > You're interpreting group delay wrong. It does NOT indicate absolute
> > time delay unless the phase response is linear. In the cases you
> > specify, the phase response is not linear.
> > --
> > Randy Yates
>
> Bob writes:
>
> I think you may have it backwards:

I am absolutely positive that I do not have it backwards.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: davem@cs.ubc.ca (Dave Martindale)

Date: 18 Jan, 2002 10:45:23

Message: 50 of 454

rstanton2@stny.rr.com (Bob_Stanton) writes:

>I was thinking of "group delay" in terms of its' common usage. For
>example, in filter books we commonly see plots of delay
>characteristics, with the ordinate labled "group delay". Any *single
>point* on those curves is the delay at a single frequency. Each point,
>on these curves, corresponds to a single point on a phase curve.
>Perhaps by the strict dictionary defination, the ordinate should not
>be labled "group delay", but that is common usage.

There's a difference between saying you can't *measure* group delay
using a single frequency, and saying that you can't *know* group delay
at a single frequency. The former doesn't imply the latter.

>Here is a circuit of a resistor and capacitor:

> _________ R = 1000 _____________
> |
> |
> C = 1uF
> |
> ________________________________|


>This circuit has a delay of 500 usec at the frequency of 159.1549 Hz.
>*I didn't get this number by measuring the phase shift at two
>frequencies.* This number came from the slope of the phase curve, (at
>one frequency). By the strict dictionary defination, I did not
>calculate group delay, but "group delay" is what it is commonly
>called.

If you know the components in the circuit, you know the *complete* shape
of the phase curve, at infinitely many frequencies. Using calculus, you
can calculate the slope at any single frequency. But that's because you
already know the phase at *all* frequencies. It's when you don't know
the shape of the phase curve, and you're trying to measure it, that you
need more than one measurement.

>Can we say a continueous sine wave takes a certain time to pass
>through a circuit? If I go down to K-Mart, buy a flash light, and
>shoot a continueous beam of light at the moon, I know the light will
>take 1.28 seconds to reach the moon, even though the light beam is a
>continueous sine wave. The photons that make up the sine wave take
>1.28 sec to get to the moon.

Yeah, but that's not a continuous waveform. You turned on the beam
abruptly, so you can tell when the same photons return. The equivalent
in an electronic circuit is abruptly connecting a signal source. But
that isn't the "continuous" unmodulated sine wave that the discussion
has been about.

>Even thought we can't say a continueous (159.1549 Hz) sine wave takes
>a 500 usec to pass through this filter we know, from group delay
>calculations, the energy that the sine wave carries takes 500 usec to
>pass through the filter.

I don't see why you can't say that the sine wave takes 500 us to pass
through - the delay at any given frequency is well-defined. You just
can't *measure* it using a single-frequency unmodulated waveform.

Dave

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 18 Jan, 2002 17:57:57

Message: 51 of 454

Randy Yates <euschya@rtp.ericsson.com> wrote in message news:<3C4862FE.5B54FB54@rtp.ericsson.com>...
> Bob_Stanton wrote:
> >

> > Bob wrote:
> >
> > I think you may have it backwards:
>
> Randy: I am absolutely positive that I do not have it backwards.

Bob writes

OK, let's look at a circuit. The one I put up before, a low pass
filter consisting of: a 1000 Ohm resistor and a 1uF capacitor.

The group delay at 159.15 Hz was 500 usec. This group delay number
tells us how long the signal (on the modulation envelope) is delayed.
If there was a pure sine wave going through the filter and I increased
the level, it would take 500 usec before the level at the output of
the filter starts to increase. The information (data) the I imparted
to the sine wave, took 500 usec to travel through the filter.


Now let's look at phase delay:

Tpd = - (ang/360)*(1/F)
The phase shift at 159.15 Hz. was -45 degs.
                    Tpd = -(-45/360) * 1/159.15
                    Tpd = 0.125 * 0.0062834
                    Tpd = 785.4 usec.
 

I believe you think of absolute delay as: the time it takes the
carrier to pass through the filter.

If it took the modulation information only 500 usec to pass through
the filter, why did it take the carrier 785.4 usec? Information can't
go faster than the carrier that is carrying it.

If *information* can pass through this filter in 500 usec, than the
carrier of that information must also be passing through the filter in
500 usec, not in 785.4 usec.


Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 18 Jan, 2002 22:09:38

Message: 52 of 454

Bob_Stanton wrote:
>
> If *information* can pass through this filter in 500 usec, than the
> carrier of that information must also be passing through the filter in
> 500 usec, not in 785.4 usec.

Using your logic, information at certain carrier frequencies will come through
some filters (the ones which have a temporarily positive phase function slope)
*ahead* of the time it came in.

I think you're thinking about this too hard. Simply apply the definitions.
A single sine wave at 159.15 Hz will indeed have an input-to-output delay
of 785 usec.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 19 Jan, 2002 11:19:04

Message: 53 of 454

Randy Yates <yates@ieee.org> wrote in message news:<3C48E372.40176D4C@ieee.org>...
> Bob_Stanton wrote:
> >
> > If *information* can pass through this filter in 500 usec, than the
> > carrier of that information must also be passing through the filter in
> > 500 usec, not in 785.4 usec.
>
> Using your logic, information at certain carrier frequencies will come through
> some filters (the ones which have a temporarily positive phase function slope)
> *ahead* of the time it came in.
>

Bob writes

I did not say information could come out before it goes in. (But, that
would be nice.) My point was, dB/dW tells how long it takes for
information to *pass through* a device. If you put information in
point A, (dB/dW)sec latter it comes out point B.

For example, suppose you put a 53.05 Hz square wave into the filter.
(A square wave is composed of a fundamental and an infinite number of
odd haromics.) The fudamental (53.05 Hz), will take 900 usec to pass
through. The third harmonic (159.15 Hz), will arive at the output
after 500 usec. The 5th harmonic (265.25 Hz), will reach the output
after 265 usec, etc.

Note that the 159.15 Hz (3rd harmonic), takes 500 usec to pass through
the filter (not 785 usec).

The 785 usec number has only *one* physical meaning. It means if you
are look a 159.15 Hz sine wave, on a dual trace scope, the output
trace will be 785 usec after the input trace. This number (785 usec)
is *not* the time it takes a signal to pass through the filter.

As for positive going phase shifts: I was saying that information *CAN
NOT* come out before it goes in. Therefore, a negative sign in front
of (dB/dW) may give *wrong* results.

> Randy wrote
> I think you're thinking about this too hard.

Bob writes
That reminds me of what Yogi Berra once said: "If you don't think too
good, don't think too much." :-) We all think too much.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 19 Jan, 2002 15:36:13

Message: 54 of 454

Bob_Stanton wrote:
>
> Randy Yates <yates@ieee.org> wrote in message news:<3C48E372.40176D4C@ieee.org>...
> > Bob_Stanton wrote:
> > >
> > > If *information* can pass through this filter in 500 usec, than the
> > > carrier of that information must also be passing through the filter in
> > > 500 usec, not in 785.4 usec.
> >
> > Using your logic, information at certain carrier frequencies will come through
> > some filters (the ones which have a temporarily positive phase function slope)
> > *ahead* of the time it came in.
> >
>
> Bob writes
>
> I did not say information could come out before it goes in. (But, that
> would be nice.) My point was, dB/dW tells how long it takes for
> information to *pass through* a device. If you put information in
> point A, (dB/dW)sec latter it comes out point B.

What is B? What is W? What is point A? What is point B? Is point
B the same as the B in your differential? What is "information?"

Bob, your semantic integrity is falling completely apart. This
makes it impossible to assign any meaning to your statements.

> For example, suppose you put a 53.05 Hz square wave into the filter.
> (A square wave is composed of a fundamental and an infinite number of
> odd haromics.) The fudamental (53.05 Hz), will take 900 usec to pass
> through. The third harmonic (159.15 Hz), will arive at the output
> after 500 usec. The 5th harmonic (265.25 Hz), will reach the output
> after 265 usec, etc.
>
> Note that the 159.15 Hz (3rd harmonic), takes 500 usec to pass through
> the filter (not 785 usec).

Would you care to put a wager on that?

I'm not sure where your confusion lies, but you are indeed confused.
Do you not know that the 3rd harmonic of the aforementioned square
wave is indeed a sine? As long as the circuit is linear, then
that sine will behave exactly the same as part of a square wave
as it does alone.

My assertion stands, and I can prove it if I need to.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 19 Jan, 2002 15:52:25

Message: 55 of 454

Bob_Stanton wrote:

> The 785 usec number has only *one* physical meaning. It means if you
> are look a 159.15 Hz sine wave, on a dual trace scope, the output
> trace will be 785 usec after the input trace. This number (785 usec)
> is *not* the time it takes a signal to pass through the filter.

It's not? You mean it's actually taking 500 usec to pass through the
filter but somehow, magically, the scope is tracing it as though it
were taking 785 usec? How does the scope know this is really the input
and output of this filter and not the input and output of a 500 usec
delay line?
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 19 Jan, 2002 19:47:03

Message: 56 of 454

Randy Yates <yates@ieee.org> wrote in message news:<3C49D8BD.E5A2F791@ieee.org>...
> Bob_Stanton wrote:
> >
> > Randy Yates <yates@ieee.org> wrote in message news:<3C48E372.40176D4C@ieee.org>...
> > > Bob_Stanton wrote:
> > > >
> > > > If *information* can pass through this filter in 500 usec, than the
> > > > carrier of that information must also be passing through the filter in
> > > > 500 usec, not in 785.4 usec.
> > >
> > > Using your logic, information at certain carrier frequencies will come through
> > > some filters (the ones which have a temporarily positive phase function slope)
> > > *ahead* of the time it came in.
> > >
> >
> > Bob writes
> >
> > I did not say information could come out before it goes in. (But, that
> > would be nice.) My point was, dB/dW tells how long it takes for
> > information to *pass through* a device. If you put information in
> > point A, (dB/dW)sec latter it comes out point B.
>
> What is B? What is W? What is point A? What is point B? Is point
> B the same as the B in your differential? What is "information?"
>
> Bob, your semantic integrity is falling completely apart. This
> makes it impossible to assign any meaning to your statements.
>


Bob writes

The "B" is supposed to be the greek leter Beta. If you ever saw the
greek leter Beta you would notice it looks very similar to the english
letter "B"

The "W" was supposed to be the greek leter "lower case omega". If you
ever saw lower case omega, you would notice it looks very much like
the english letter "w". (I use english letters, because my keyboard
doesn't have greek letters.)

Some filter books use the formula: "Tgd = -dB/dw". It is an alternate
form for group delay.
w = 2 pi f
B is the phase shift in radians/sec

As far as using the words "point A to point B": In the future I will
use: "the input to the output". I'm sorry, I thought it was obvious
from the context, what "from point A to point B" meant.

"Information", in the context of group delay, is carried in the
envelope waveform.

The delay of the envelope waveform, is called group delay. Conversely,
this group delay is how long it takes envelope "information" to pass
through the filter.

> > For example, suppose you put a 53.05 Hz square wave into the filter.
> > (A square wave is composed of a fundamental and an infinite number of
> > odd haromics.) The fudamental (53.05 Hz), will take 900 usec to pass
> > through. The third harmonic (159.15 Hz), will arive at the output
> > after 500 usec. The 5th harmonic (265.25 Hz), will reach the output
> > after 265 usec, etc.
> >
> > Note that the 159.15 Hz (3rd harmonic), takes 500 usec to pass through
> > the filter (not 785 usec).
>
> Would you care to put a wager on that?
>
> I'm not sure where your confusion lies, but you are indeed confused.
> Do you not know that the 3rd harmonic of the aforementioned square
> wave is indeed a sine?

I know that all the odd harmonics, which make up a square wave, are
sine waves. B.T.W. The 3rd harmonic (sine wave) takes 500 usec to go
from the input to the output of the filter, not 785 usec.

> As long as the circuit is linear, then
> that sine will behave exactly the same as part of a square wave
> as it does alone.

The statement above does not apply. The filter is *not phase linear*.
Because the filter is *non-phase linear*, the formula Tpd = -B/w will
not give the correct results for the delay time of the harmonics of a
square wave.

>
> My assertion stands, and I can prove it if I need to.

Which assertion?

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 20 Jan, 2002 08:22:01

Message: 57 of 454

Bob_Stanton wrote:

> B is the phase shift in radians/sec

Phase shift, that is, a shift in phase, should have
purely angular units, not angle per time. Your
definition makes no sense.

> B.T.W. The 3rd harmonic (sine wave) takes 500 usec to go
> from the input to the output of the filter, not 785 usec.

Ahh, I see - proof by assertion! Bob, do you believe that
if you repeat the statement enough times it will somehow
magically come true?

> > As long as the circuit is linear, then
> > that sine will behave exactly the same as part of a square wave
> > as it does alone.
>
> The statement above does not apply. The filter is *not phase linear*.

Did I say "phase linear?" No. I said "linear." These are two entirely
different concepts. If you don't understand the difference, I would
suggest you do some reading on linear system theory. The introductory
chapters in Oppenheim et al.'s "Signals and Systems" is an excellent
place to start.

> Because the filter is *non-phase linear*, the formula Tpd = -B/w will
> not give the correct results for the delay time of the harmonics of a
> square wave.

If B(w) is the phase response of the system at frequency w (w = 2*pi*f),
then -B(w)/w will be the delay, in seconds, of a sine wave of radian
frequency w.

Bob, why don't you try it? That is, why don't you build the circuit
and measure it?

> > My assertion stands, and I can prove it if I need to.
>
> Which assertion?

If a system is linear with phase response B(w), then -B(w)/w is
the amount of time it takes for a sine wave of frequency w to
propagate through the system, whether that system is phase
linear or not.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 20 Jan, 2002 16:05:24

Message: 58 of 454

Randy Yates <yates@ieee.org> wrote in message news:<3C4AC479.2DB87E12@ieee.org>...
> Bob_Stanton wrote:
>
> > B is the phase shift in radians/sec
>
> Phase shift, that is, a shift in phase, should have
> purely angular units, not angle per time. Your
> definition makes no sense.
>

It's not 'my' definition. "Tpd = -B/w" comes from "Electronic Filter
Design Handbook", by Arthur B. Williams. McGraw-Hill Book Company.
Copyright 1981. Pg.2-20

The fact you are unfamiliar with this common formula, and that it
"mades no sence" to you, indicates a certain lack of understanding.

>
> Ahh, I see - proof by assertion! Bob, do you believe that
> if you repeat the statement enough times it will somehow
> magically come true?

Oh yes! It's 500 usec! :-)

>
> > > As long as the circuit is linear, then
> > > that sine will behave exactly the same as part of a square wave
> > > as it does alone.
> >
> Did I say "phase linear?" No. I said "linear."
 
Right. I somehow misread your statement as: phase linear.
And I agree with your statement, the 3rd harmonic will behave exactly
as a sine wave.

> If B(w) is the phase response of the system at frequency w (w = 2*pi*f),
> then -B(w)/w will be the delay, in seconds, of a sine wave of radian
> frequency w.
>

What if a black box contained an ideal autotransformer, wired for 180
phase reversal. You look at the input and output waves, and see that
the output wave 'lags' the input wave by 180 degrees. Could you use
your formula to calculate the delay at 159.15 Hz? What would it be?
 
> Bob, why don't you try it? That is, why don't you build the circuit
> and measure it?
>

If I built the circuit, I would see, on a dual trace oscilloscope, the
output wave laging the input by 785 usec. So I don't need to build it.

The 785 usec is not how long envelope information (on a 159.15
carrier) takes to travel through the filter.


> > > My assertion stands, and I can prove it if I need to.
> >
> > Which assertion?
>
> If a system is linear with phase response B(w), then -B(w)/w is
> the amount of time it takes for a sine wave of frequency w to
> propagate through the system, whether that system is phase
> linear or not.

You said if a system is "linear with phase response". Do you mean by
that "phase linear"?

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 20 Jan, 2002 20:24:15

Message: 59 of 454

Bob_Stanton wrote:
>
> Randy Yates <yates@ieee.org> wrote in message news:<3C4AC479.2DB87E12@ieee.org>...
> > Bob_Stanton wrote:
> >
> > > B is the phase shift in radians/sec
> >
> > Phase shift, that is, a shift in phase, should have
> > purely angular units, not angle per time. Your
> > definition makes no sense.
> >
>
> It's not 'my' definition. "Tpd = -B/w" comes from "Electronic Filter
> Design Handbook", by Arthur B. Williams. McGraw-Hill Book Company.
> Copyright 1981. Pg.2-20
>

Given the limitations of plain ASCII text (but the standard ISO-8859-1
allows ß, ±, ², and a few others), I assume that "Tpd" stands for time
of phase delay. If so, it is correct. It is also _not_ group delay.

> The fact you are unfamiliar with this common formula, and that it
> "mades no sence" to you, indicates a certain lack of understanding.
>
  ...
>
> If I built the circuit, I would see, on a dual trace oscilloscope, the
> output wave laging the input by 785 usec. So I don't need to build it.

The pope refused to look through Galileo's telescope, insisting it would
show nothing. Try it: you may be surprised.
>
> The 785 usec is not how long envelope information (on a 159.15
> carrier) takes to travel through the filter.
>
> > > > My assertion stands, and I can prove it if I need to.
> > >
> > > Which assertion?
> >
> > If a system is linear with phase response B(w), then -B(w)/w is
> > the amount of time it takes for a sine wave of frequency w to
> > propagate through the system, whether that system is phase
> > linear or not.
>
> You said if a system is "linear with phase response". Do you mean by
> that "phase linear"?

"Linear with phase response" is not the kind of nonsense description I
expect from Randy. Are those really his words? Are there words around it
that could give it valid meaning? "Phase linear" is another thing
altogether, not related to the kind of linearity related to harmonic
generation and such. A linear system is one in which superposition
holds. A property of such systems is that it responds to a pure sinusoid
with a pure sinusoid of the same frequency. Linearity does not determine
the amplitude or phase of the response.
>
> Bob Stanton

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 20 Jan, 2002 22:42:01

Message: 60 of 454

Bob_Stanton wrote:
>
> Randy Yates <yates@ieee.org> wrote in message news:<3C4AC479.2DB87E12@ieee.org>...
> > Bob_Stanton wrote:
> >
> > > B is the phase shift in radians/sec
> >
> > Phase shift, that is, a shift in phase, should have
> > purely angular units, not angle per time. Your
> > definition makes no sense.
> >
>
> It's not 'my' definition. "Tpd = -B/w" comes from "Electronic Filter
> Design Handbook", by Arthur B. Williams. McGraw-Hill Book Company.
> Copyright 1981. Pg.2-20

That much I agree with. The part that doesn't make sense is
the units you stated, radians/sec. Tpd should have units of
time, right? So if B is in units of radians/sec, and w is
in radians/sec, then the units of -B/w are radians/sec over
radians/sec, or no units.

You made an error if B is supposed to represent phase. The
units should be simply radians. Then the units of the expression
-B/w would be radians/radians/sec = sec, which makes sense.

I stand by my comment: you definition makes no sense.

> The fact you are unfamiliar with this common formula, and that it
> "mades no sence" to you, indicates a certain lack of understanding.

This is absolutely ludricrous. You're accusing me of possessing
a lack of understanding for pointing out an error in your
understanding. Amazing.

> > Ahh, I see - proof by assertion! Bob, do you believe that
> > if you repeat the statement enough times it will somehow
> > magically come true?
>
> Oh yes! It's 500 usec! :-)

Which proves NOTHING.

> > > > As long as the circuit is linear, then
> > > > that sine will behave exactly the same as part of a square wave
> > > > as it does alone.
> > >
> > Did I say "phase linear?" No. I said "linear."
>
> Right. I somehow misread your statement as: phase linear.

Somehow? Hmmm.

> And I agree with your statement, the 3rd harmonic will behave exactly
> as a sine wave.

Oh really? So now you're doing an about face? How about some accountability
then for the last 4 or 5 levels of this thread? Something like, "I'm sorry,
I was wrong and was calling you ignorant when I really was the one that was
ignorant."?

> > If B(w) is the phase response of the system at frequency w (w = 2*pi*f),
> > then -B(w)/w will be the delay, in seconds, of a sine wave of radian
> > frequency w.
> >
>
> What if a black box contained an ideal autotransformer, wired for 180
> phase reversal. You look at the input and output waves, and see that
> the output wave 'lags' the input wave by 180 degrees. Could you use
> your formula to calculate the delay at 159.15 Hz? What would it be?
>
> > Bob, why don't you try it? That is, why don't you build the circuit
> > and measure it?
> >
>
> If I built the circuit, I would see, on a dual trace oscilloscope, the
> output wave laging the input by 785 usec. So I don't need to build it.
>
> The 785 usec is not how long envelope information (on a 159.15
> carrier) takes to travel through the filter.

Did I ever say it was? No. Part of my point in arduously discussing
this with you since last week is that the phase response at frequency
w ALWAYS (indirectly) indicates the amount of time for a sine wave of
frequency w to propagate through the filter, WHETHER OR NOT THAT FILTER
IS PHASE LINEAR. This is to refute the following erroneous statement which
you made a few posts back:

  Tpd is the absolute time delay, *only* if the phase response is linear.

> > > > My assertion stands, and I can prove it if I need to.
> > >
> > > Which assertion?
> >
> > If a system is linear with phase response B(w), then -B(w)/w is
> > the amount of time it takes for a sine wave of frequency w to
> > propagate through the system, whether that system is phase
> > linear or not.
>
> You said if a system is "linear with phase response". Do you mean by
> that "phase linear"?

No.

What I said was: "If a system is linear with phase response B(w), then
[...]". What I meant was this: Let a system be linear in the sense that
it possesses the properties of homogeneity and additivity. Then this
system has a phase response and I will denote that phase response as
B(w). I am not saying whether the phase response is linear or nonlinear.

It is exceedingly obvious that you have a hole in your understanding
of signal processing systems when it comes to linear system theory.
The following web site gives a brief introduction to the salient points
of the theory:

http://white.stanford.edu/~heeger/linear-systems/linear-systems.html
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 21 Jan, 2002 04:25:38

Message: 61 of 454

rstanton2@stny.rr.com (Bob_Stanton) writes:
(snip)
>The dictionary defines group delay as: "In a modulated signal, a delay
>of the transmission of data." By that defination, you are correct in
>saying group delay must always involve two signals.

>I was thinking of "group delay" in terms of its' common usage. For
>example, in filter books we commonly see plots of delay
>characteristics, with the ordinate labled "group delay". Any *single
>point* on those curves is the delay at a single frequency. Each point,
>on these curves, corresponds to a single point on a phase curve.
>Perhaps by the strict dictionary defination, the ordinate should not
>be labled "group delay", but that is common usage.

>Here is a circuit of a resistor and capacitor:

> _________ R = 1000 _____________
> |
> |
> C = 1uF
> |
> ________________________________|


>This circuit has a delay of 500 usec at the frequency of 159.1549 Hz.
>*I didn't get this number by measuring the phase shift at two
>frequencies.* This number came from the slope of the phase curve, (at
>one frequency). By the strict dictionary defination, I did not
>calculate group delay, but "group delay" is what it is commonly
>called.

The definition of derivative requires two points, though infinitely
close together. If you have a function that is not continuous
anywhere then you can't calculate the derivative.

>Can we say a continueous sine wave takes a certain time to pass
>through a circuit? If I go down to K-Mart, buy a flash light, and
>shoot a continueous beam of light at the moon, I know the light will
>take 1.28 seconds to reach the moon, even though the light beam is a
>continueous sine wave. The photons that make up the sine wave take
>1.28 sec to get to the moon.

A light beam isn't a continuous sine wave, in the sense implied here,
unless it exists from t=-infinity to t=+infinity. In optics, the
coherence length or coherence time are used to measure this.
The coherence length, usually of a laser, tells over what path
length difference a laser beam can interfere with itself.

>Even thought we can't say a continueous (159.1549 Hz) sine wave takes
>a 500 usec to pass through this filter we know, from group delay
>calculations, the energy that the sine wave carries takes 500 usec to
>pass through the filter.

Oh well.

-- glen

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 21 Jan, 2002 16:25:17

Message: 62 of 454

Randy Yates <yates@ieee.org> wrote in message news:<3C4B8E09.5040A0BB@ieee.org>...
> Bob_Stanton wrote:
> >
> > Randy Yates <yates@ieee.org> wrote in message news:<3C4AC479.2DB87E12@ieee.org>...
> > > Bob_Stanton wrote:
> > >
> > > > B is the phase shift in radians/sec
> > >
> > > Phase shift, that is, a shift in phase, should have
> > > purely angular units, not angle per time. Your
> > > definition makes no sense.
> > >
> >
> > It's not 'my' definition. "Tpd = -B/w" comes from "Electronic Filter
> > Design Handbook", by Arthur B. Williams. McGraw-Hill Book Company.
> > Copyright 1981. Pg.2-20
>
> That much I agree with. The part that doesn't make sense is
> the units you stated, radians/sec. Tpd should have units of
> time, right? So if B is in units of radians/sec, and w is
> in radians/sec, then the units of -B/w are radians/sec over
> radians/sec, or no units.
>
> You made an error if B is supposed to represent phase. The
> units should be simply radians. Then the units of the expression
> -B/w would be radians/radians/sec = sec, which makes sense.
>
> I stand by my comment: you definition makes no sense.
>

Bob writes


All I did was quote a page from a book. A book which makes perfect
sence to me, and "makes no sence" to you. I'm sorry you can't
understand. If you have access to a technical library, read it for
yourself. I'm not going to try to explain it to you, step by simple
step.

> This is absolutely ludricrous. You're accusing me of possessing
> a lack of understanding for pointing out an error in your
> understanding. Amazing.
>

Bob writes

I think you have a high opinion of yourself. :-)


> > > Ahh, I see - proof by assertion! Bob, do you believe that
> > > if you repeat the statement enough times it will somehow
> > > magically come true?
> >
> > Oh yes! It's 500 usec! :-)
>
> Which proves NOTHING.

It is indeed 500 usec.

>
> > > > > As long as the circuit is linear, then
> > > > > that sine will behave exactly the same as part of a square wave
> > > > > as it does alone.
> > > >

> > > Did I say "phase linear?" No. I said "linear."
> >
> > Right. I somehow misread your statement as: phase linear.
>
> Somehow? Hmmm.

I thought you were trying to say something less obvious, so I read it
wrong.

>
> > And I agree with your statement, the 3rd harmonic will behave exactly
> > as a sine wave.
>
> Oh really? So now you're doing an about face? How about some accountability
> then for the last 4 or 5 levels of this thread? Something like, "I'm sorry,
> I was wrong and was calling you ignorant when I really was the one that was
> ignorant."?
>

I didn't call you "ignorant". (Even if you may be, just a little bit.)


> >
> > What if a black box contained an ideal autotransformer, wired for 180
> > phase reversal. You look at the input and output waves, and see that
> > the output wave 'lags' the input wave by 180 degrees. Could you use
> > your formula to calculate the delay at 159.15 Hz? What would it be?
> >

No answer for this question Randy?

> ..... my point in arduously discussing
> this with you since last week is that the phase response at frequency
> w ALWAYS (indirectly) indicates the amount of time for a sine wave of
> frequency w to propagate through the filter, WHETHER OR NOT THAT FILTER
> IS PHASE LINEAR. This is to refute the following erroneous statement which
> you made a few posts back:

The slope of the phase curve, *directly* indicates the amount of time
for a sine wave, of frequency w, to propagate.


>
> Tpd is the absolute time delay, *only* if the phase response is linear.
>

My statement was and is correct.


Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 21 Jan, 2002 16:46:15

Message: 63 of 454

gah@ugcs.caltech.edu (glen herrmannsfeldt) wrote in message news:<a2g582$4u5@gap.cco.caltech.edu>...
> rstanton2@stny.rr.com (Bob_Stanton) writes:
> (snip)
> >The dictionary defines group delay as: "In a modulated signal, a delay
> >of the transmission of data." By that defination, you are correct in
> >saying group delay must always involve two signals.
>
> >I was thinking of "group delay" in terms of its' common usage. For
> >example, in filter books we commonly see plots of delay
> >characteristics, with the ordinate labled "group delay". Any *single
> >point* on those curves is the delay at a single frequency. Each point,
> >on these curves, corresponds to a single point on a phase curve.
> >Perhaps by the strict dictionary defination, the ordinate should not
> >be labled "group delay", but that is common usage.
>
> >Here is a circuit of a resistor and capacitor:
>
> > _________ R = 1000 _____________
> > |
> > |
> > C = 1uF
> > |
> > ________________________________|
>
>
> >This circuit has a delay of 500 usec at the frequency of 159.1549 Hz.
> >*I didn't get this number by measuring the phase shift at two
> >frequencies.* This number came from the slope of the phase curve, (at
> >one frequency). By the strict dictionary defination, I did not
> >calculate group delay, but "group delay" is what it is commonly
> >called.
>
> The definition of derivative requires two points, though infinitely
> close together. If you have a function that is not continuous
> anywhere then you can't calculate the derivative.
>

If we use two points that are infinitely close together, than the
error in our slope calculation is zero. If the error is zero, than we
know the slope at one point.

But, I'll tell you the truth. I have to brush the dust of my old
calculus book, before I can make further comments on finding the
derivative of the slope of the phase curve.
 
> >Can we say a continueous sine wave takes a certain time to pass
> >through a circuit? If I go down to K-Mart, buy a flash light, and
> >shoot a continueous beam of light at the moon, I know the light will
> >take 1.28 seconds to reach the moon, even though the light beam is a
> >continueous sine wave. The photons that make up the sine wave take
> >1.28 sec to get to the moon.
>
> A light beam isn't a continuous sine wave, in the sense implied here,
> unless it exists from t=-infinity to t=+infinity. In optics, the
> coherence length or coherence time are used to measure this.
> The coherence length, usually of a laser, tells over what path
> length difference a laser beam can interfere with itself.
>

If I shine a light on the wall, isn't the light bean continuous from
the time after it hits the wall, until I turn the light off? During
that time, energy is moving across the room, at the speed of light.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 21 Jan, 2002 17:00:23

Message: 64 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C4B6DBF.B194619B@ieee.org>...
> Bob_Stanton wrote:
> >

> > It's not 'my' definition. "Tpd = -B/w" comes from "Electronic Filter
> > Design Handbook", by Arthur B. Williams. McGraw-Hill Book Company.
> > Copyright 1981. Pg.2-20
> >
>
> Given the limitations of plain ASCII text (but the standard ISO-8859-1
> allows ß, ±, ², and a few others), I assume that "Tpd" stands for time
> of phase delay. If so, it is correct. It is also _not_ group delay.
>

Right

> >
> > If I built the circuit, I would see, on a dual trace oscilloscope, the
> > output wave laging the input by 785 usec. So I don't need to build it.
>
> The pope refused to look through Galileo's telescope, insisting it would
> show nothing. Try it: you may be surprised.
> >

Actually, I have a telescope, but I don't have a dual trace
oscilloscope. My circuit analysis program says the phase shift of the
filter, at 159.15 Hz is 45 degs. Is that good enough?


> > > If a system is linear with phase response B(w), then -B(w)/w is
> > > the amount of time it takes for a sine wave of frequency w to
> > > propagate through the system, whether that system is phase
> > > linear or not.
> >
> > You said if a system is "linear with phase response". Do you mean by
> > that "phase linear"?
>
> "Linear with phase response" is not the kind of nonsense description I
> expect from Randy. Are those really his words?

You figured it out, they are not really Randys' words! Somebody else
was typing on his computer and pretending to the him.

> Are there words around it
> that could give it valid meaning? "Phase linear" is another thing
> altogether, not related to the kind of linearity related to harmonic
> generation and such. A linear system is one in which superposition
> holds. A property of such systems is that it responds to a pure sinusoid
> with a pure sinusoid of the same frequency. Linearity does not determine
> the amplitude or phase of the response.

We were writing about a simple R-C low pass filter. It was obvious
that the filter was amplititude linear, and phase non-linear.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Clay S. Turner

Date: 22 Jan, 2002 10:44:29

Message: 65 of 454



Bob_Stanton wrote:

> The slope of the phase curve, *directly* indicates the amount of time
> for a sine wave, of frequency w, to propagate.

> My statement was and is correct.
>
> Bob Stanton

Bob,
Your above statement is half true. The negative of the slope of the
phase curve gives the group delay. But is not the time that a single
sine takes to go through the filter.

For your RC circuit

E_out 1
----- = ------- where s=jw and w is freq in rads/sec
E_in 1 + sRC

Phase shift = arg(E_out/E_in) = -atan(wRC)

group delay = -d phase/d w = (RC) / (1+(wRC)^2)

With R=1000 Ohms and C=1E-6 Farads

The phase shift at 1000 rads/sec = -pi/4 radians

The Group delay at 1000 rads/sec = 500 uSec

If you put a dual trace scope on the circuit with one trace looking at
the input and the other looking at the output, you will see the 1000
radian per second signal has a -pi/4 phase shift between the input and
output - this is 785 uSec of delay not 500uSec!

On the other hand if you put two very closely spaced frequencies say at
1000 +- e (e is an epsilon which will become small later), you will see
these two combine to produce a modulated signal. The "carrier" is at
1000 rads/sec and the modulation is at e rads/sec.

Use the following classical trig identity to convince yourself of this

cos(a)+cos(b) = 2 cos((a+b)/2)*cos((a-b)/2)

Now what is the delay of the modulation?

Since each original freq is phase shifted, the output is

cos((1000-e)t+p1)+cos(1000+e)t+p2) where p1 and p2 are the phase shifts

The input is of course cos((1000-e)t)+cos((1000+e)t)

By the aforementioned trig identity the following carrier-modulation
form is found for the filter's output:

2*cos(1000t+(p1+p2)/2)*cos(et+(p2-p1)/2)

This can be interpreted as a carrier at the average of the two original
frequencies with a phase shift that is also the average of the original
phase shifts modulated by a sinusoid whose frequency is one half of the
frequency difference and has a phase shift that is one half of the
differences in the phase shifts of the original two frequencies.

Now look at the modulation portion cos(et+(p2-p1)/2)

It has a frequency of e radians per sec. and a phase shift of (p2-p1)/2
rads.

Thus the modulation has a delay of -(p2-p1)/(2e) seconds.

This is simply -delta(phase)/delta(frequency)

If you let e->0 (delta frequency) in a limiting fashion, you can see the
group delay is just the negative derivative of phase with resect to
frequency!

The group delay is the delay of the modulation resulting from a mix of
frequencies. A single sinusoid's delay can and will be usually
different from the group delay except for the case of linear phase.


I hope this clears up some of the confusion.

Clay

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 22 Jan, 2002 13:35:02

Message: 66 of 454

Bob_Stanton wrote:
>
  ...
>
> If I shine a light on the wall, isn't the light bean continuous from
> the time after it hits the wall, until I turn the light off? During
> that time, energy is moving across the room, at the speed of light.
>
> Bob Stanton

Again, it's subject to interpretation. The light is the combined
radiation of many atoms, each lasting a short time, and starting and
stopping independently. The phase at any location or time can't be
predicted from prior knowledge. The frequency range is broad; that's why
it looks white. What we call "light" continues, but no wave that
comprises it is continuous. There's a difference between "continuous"
and "enduring", just as there is between "simultaneous" and
"concurrent". Thinking gets fuzzy without distinctions like that.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 22 Jan, 2002 10:44:08

Message: 67 of 454

"Clay S. Turner" <physics@bellsouth.net> wrote in message news:<3C4D88DD.5E7090B3@bellsouth.net>...
> Bob_Stanton wrote:
>
> > The slope of the phase curve, *directly* indicates the amount of time
> > for a sine wave, of frequency w, to propagate.
>
> > My statement was and is correct.
> >
> > Bob Stanton
>
> Bob,
> Your above statement is half true. The negative of the slope of the
> phase curve gives the group delay. But is not the time that a single
> sine takes to go through the filter.


.....


> This is simply -delta(phase)/delta(frequency)
>
> If you let e->0 (delta frequency) in a limiting fashion, you can see the
> group delay is just the negative derivative of phase with resect to
> frequency!
>
> The group delay is the delay of the modulation resulting from a mix of
> frequencies. A single sinusoid's delay can and will be usually
> different from the group delay except for the case of linear phase.
>
>
> I hope this clears up some of the confusion.
>
> Clay

Bob writes

I don't disagree with your numbers. Earlier in this thread I put out
the same numbers. Phase delay = 785 usec. Group delay = 500 usec.

With a modulated carrier, the information contained in the envelope
propagates through the system (a filter in this case) in 500 usec
(only if the carrier frequency is 159.15 Hz.).

Physically, a sine wave modulated carrier consists of three waves. The
carrier sinewave, the upper side band sinewave, and the lower side
band sinewave.

In order for the group delay number (500 usec) to be accurate, the
upper and lower side bands must be very close in frequency to the
carrier. Let's use (in this example) the side bands that are only
0.001 Hz above and below the carrier.

We know the *envelope wave* travels through the filter in 500 usec.
The two side bands that create the envelope, must also be traveling at
the same rate (through the filter in 500 usec).

If the two side bands, which are at 159.151 Hz and 159.149 Hz, pass
through the filter in about 500 usec, it is unreasonable to think that
the carrier, at virtually the same frequency, would take 785 usec.


Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 22 Jan, 2002 13:51:21

Message: 68 of 454

Bob_Stanton wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C4B6DBF.B194619B@ieee.org>...
> > Bob_Stanton wrote:
> > >
>
> > > It's not 'my' definition. "Tpd = -B/w" comes from "Electronic Filter
> > > Design Handbook", by Arthur B. Williams. McGraw-Hill Book Company.
> > > Copyright 1981. Pg.2-20
> > >
> >
> > Given the limitations of plain ASCII text (but the standard ISO-8859-1
> > allows ß, ±, ², and a few others), I assume that "Tpd" stands for time
> > of phase delay. If so, it is correct. It is also _not_ group delay.
> >
>
> Right
>
> > >
> > > If I built the circuit, I would see, on a dual trace oscilloscope, the
> > > output wave laging the input by 785 usec. So I don't need to build it.
> >
> > The pope refused to look through Galileo's telescope, insisting it would
> > show nothing. Try it: you may be surprised.
> > >
>
> Actually, I have a telescope, but I don't have a dual trace
> oscilloscope. My circuit analysis program says the phase shift of the
> filter, at 159.15 Hz is 45 degs. Is that good enough?

It is indeed 45 degrees. I don't need a program; that it is the
half-power point of a single-break circuit is enough. 45 degrees is not
the time equivalent of group delay, however. It is the time equivalent
of phase delay, which can only be measured in the steady state. Phase
delay doesn't apply to transients.
>
> > > > If a system is linear with phase response B(w), then -B(w)/w is
> > > > the amount of time it takes for a sine wave of frequency w to
> > > > propagate through the system, whether that system is phase
> > > > linear or not.
> > >
> > > You said if a system is "linear with phase response". Do you mean by
> > > that "phase linear"?
> >
> > "Linear with phase response" is not the kind of nonsense description I
> > expect from Randy. Are those really his words?
>
> You figured it out, they are not really Randys' words! Somebody else
> was typing on his computer and pretending to the him.

I looked through past posts and couldn't find it. Can you point me to
the message?
>
> > Are there words around it
> > that could give it valid meaning? "Phase linear" is another thing
> > altogether, not related to the kind of linearity related to harmonic
> > generation and such. A linear system is one in which superposition
> > holds. A property of such systems is that it responds to a pure sinusoid
> > with a pure sinusoid of the same frequency. Linearity does not determine
> > the amplitude or phase of the response.
>
> We were writing about a simple R-C low pass filter. It was obvious
> that the filter was amplititude linear, and phase non-linear.
>
> Bob Stanton

The R-C network you drew has uniform output neither of phase nor
amplitude. It is linear in the sense of not generating harmonics. What
do you mean by "amplitude linear"? When I learn that, maybe we can
straighten this whole mess out.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 22 Jan, 2002 14:07:33

Message: 69 of 454

Bob_Stanton wrote:
>
  ...
>
> The slope of the phase curve, *directly* indicates the amount of time
> for a sine wave, of frequency w, to propagate.

You better find the book again and read the very restrictive conditions
under which that statement applies. Earlier, you wrote

Tpd (time related to phase delay) = -ß/w, which is true i the steady
state. Now, you claim (correctly) that propagation time is -dß/dw, the
slope of the curve, rather than the cord from the origin. This is true
for transients. You keep flopping back and forth between phase and group
delay, and seem to use them indiscriminately.. Read a little more and
straighten it out.
>
> >
> > Tpd is the absolute time delay, *only* if the phase response is linear.
> >
>
> My statement was and is correct.

Yes. When the delay is the same for all frequencies, the phase delay is
also the group delay. Then and only then is your statement correct.
>
> Bob Stanton

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Clay S. Turner

Date: 22 Jan, 2002 14:32:43

Message: 70 of 454



Bob_Stanton wrote:
>
>
>
> Physically, a sine wave modulated carrier consists of three waves. The
> carrier sinewave, the upper side band sinewave, and the lower side
> band sinewave.

Actually you are thinking of the old style AM radio where the carrier is
only modulated by multiplying by positive numbers. Double balanced
modulators do not suffer this problem. Look at the cosine theorem
again:


cos(a) + cos(b) = 2 cos(c)cos(d) where c=(a+b)/2 d=(a-b)/2

Notice on the right hand side - there are only two terms not three.


>
> In order for the group delay number (500 usec) to be accurate, the
> upper and lower side bands must be very close in frequency to the
> carrier. Let's use (in this example) the side bands that are only
> 0.001 Hz above and below the carrier.
>
> We know the *envelope wave* travels through the filter in 500 usec.
> The two side bands that create the envelope, must also be traveling at
> the same rate (through the filter in 500 usec).

NO! Set up the circuit and use a scope. The group delay time is due to
the difference in phase shifts of the constituent frequencies.



>
> If the two side bands, which are at 159.151 Hz and 159.149 Hz, pass
> through the filter in about 500 usec, it is unreasonable to think that
> the carrier, at virtually the same frequency, would take 785 usec.

The two frequencies have different phase shifts, so where they combine
to form a peak is different than where either had a peak alone.

Clay


>
> Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 22 Jan, 2002 14:33:23

Message: 71 of 454

Jerry Avins wrote:
> Bob Stanton wrote:
> > Tpd is the absolute time delay, *only* if the phase response is linear.
> >
> > My statement was and is correct.
>
> Yes.

No.

Let's break it down into a logic problem. Let "A" denote "Tpd is
the absolute time delay" and let "B" denote "the phase response is
linear."

Then Bob wrote "A only if B." This is logically equivalent to
"A iff (if and only if) B" which is in turn logically equivalent
to the two statements:

  1. "If A then B"
  2. "If B then A"

Statement 1 is not true: "If Tpd is the absolute time delay, then
the phase response is linear." The fact is, Tpd is the absolute
time delay WHETHER OR NOT the phase response is linear.

Are you with me, Jerry, or do you actually dispute this assertion?
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 22 Jan, 2002 16:46:26

Message: 72 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> > Bob Stanton wrote:
> > > Tpd is the absolute time delay, *only* if the phase response is linear.
> > >
> > > My statement was and is correct.
> >
> > Yes.
>
> No.
>
> Let's break it down into a logic problem. Let "A" denote "Tpd is
> the absolute time delay" and let "B" denote "the phase response is
> linear."
>
> Then Bob wrote "A only if B." This is logically equivalent to
> "A iff (if and only if) B" which is in turn logically equivalent
> to the two statements:
>
> 1. "If A then B"
> 2. "If B then A"
>
> Statement 1 is not true: "If Tpd is the absolute time delay, then
> the phase response is linear." The fact is, Tpd is the absolute
> time delay WHETHER OR NOT the phase response is linear.
>
> Are you with me, Jerry, or do you actually dispute this assertion?
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

Of course you're right. I shouldn't be elliptical in a discussion like
this. Phase delay equals group delay when the phase is linear. That is
to say, those delays are the same when all delays are the same. (I think
we agree on that.) I meant to say that that's all he was saying. The
other thing that's gobbling up his mind is the notion that there is a
phase delay that one can see. There isn't. There is a phase shift one
can measure once the transients have died out, and dividing phase in
radians by frequency in radians per second, there is a time we calculate
that we call phase delay. But, unlike information or energy travel,
there is no phenomenon that lasts for -- or requires -- that time. It's
just a number. Under some circumstances, the phase delay from here to
there is less than the time it takes light to go from here to there. So
what?

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 22 Jan, 2002 17:02:15

Message: 73 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > Jerry Avins wrote:
> > > Bob Stanton wrote:
> > > > Tpd is the absolute time delay, *only* if the phase response is linear.
> > > >
> > > > My statement was and is correct.
> > >
> > > Yes.
> >
> > No.
> >
> > Let's break it down into a logic problem. Let "A" denote "Tpd is
> > the absolute time delay" and let "B" denote "the phase response is
> > linear."
> >
> > Then Bob wrote "A only if B." This is logically equivalent to
> > "A iff (if and only if) B" which is in turn logically equivalent
> > to the two statements:
> >
> > 1. "If A then B"
> > 2. "If B then A"
> >
> > Statement 1 is not true: "If Tpd is the absolute time delay, then
> > the phase response is linear." The fact is, Tpd is the absolute
> > time delay WHETHER OR NOT the phase response is linear.
> >
> > Are you with me, Jerry, or do you actually dispute this assertion?
> > --
> > Randy Yates
> > DSP Engineer, Sony Ericsson Mobile Communications
> > Research Triangle Park, NC, USA
> > randy.yates@ericsson.com, 919-472-1124
>
> Of course you're right.

I was beginning to wonder!

> I shouldn't be elliptical in a discussion like
> this.

Your "ellipticalness" is my paranoia.

> Phase delay equals group delay when the phase is linear. That is
> to say, those delays are the same when all delays are the same. (I think
> we agree on that.)

Yes, of course. That has been the consensus since several days ago.

> I meant to say that that's all he was saying.

You mean you're trying to overlook what he wrote and infer what he
meant?

Normally (especially on first interpretation and response) I would say that
is a good thing. However, when the person becomes adamant about the truthfulness
of the statement after several attempts to point out the error, I'd say it's
time to put it under a spotlight and interpret it exactly as it is stated.

Besides, there seems to be little to interpret here. I mean, it's almost like
saying "I think you mean yes even though you wrote no." If he meant yes, then
he should have written it, at least after a post or two attempting to clarify.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124









































.

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 22 Jan, 2002 17:47:47

Message: 74 of 454

Randy Yates wrote:
>
  ...
>
> You mean you're trying to overlook what he wrote and infer what he
> meant?
>
> Normally (especially on first interpretation and response) I would say that
> is a good thing. However, when the person becomes adamant about the truthfulness
> of the statement after several attempts to point out the error, I'd say it's
> time to put it under a spotlight and interpret it exactly as it is stated.
>
> Besides, there seems to be little to interpret here. I mean, it's almost like
> saying "I think you mean yes even though you wrote no." If he meant yes, then
> he should have written it, at least after a post or two attempting to clarify.
> --

The difference is, you're peeved (as well you might be, taking the brunt
of it for a while) while some of us are still trying to get his head on
straight. I may give up soon, but that will induce pity, not anger.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 23 Jan, 2002 00:25:22

Message: 75 of 454

"Clay S. Turner" <physics@bellsouth.net> writes:

>> Physically, a sine wave modulated carrier consists of three waves. The
>> carrier sinewave, the upper side band sinewave, and the lower side
>> band sinewave.

>Actually you are thinking of the old style AM radio where the carrier is
>only modulated by multiplying by positive numbers. Double balanced
>modulators do not suffer this problem. Look at the cosine theorem
>again:

>cos(a) + cos(b) = 2 cos(c)cos(d) where c=(a+b)/2 d=(a-b)/2

>Notice on the right hand side - there are only two terms not three.

How about:

cos(c) (1 + cos(d)) = cos(c) + cos(c)cos(d)
                    = cos(c) + (1/2) cos(a) + (1/2) cos(b)

using the same identity at 100% modulation.

-- glen

Subject: Physical meaning of Group-Delay ?

From: Clay S. Turner

Date: 22 Jan, 2002 19:38:00

Message: 76 of 454

Hello Glen,
I was showing how the sum of two equal amplitude cosines yield a
product of cosines. This was to be interpreted in light of the group
delay confusion and not double sideband AM.

Clay

glen herrmannsfeldt wrote:
>
> "Clay S. Turner" <physics@bellsouth.net> writes:
>
> >> Physically, a sine wave modulated carrier consists of three waves. The
> >> carrier sinewave, the upper side band sinewave, and the lower side
> >> band sinewave.
>
> >Actually you are thinking of the old style AM radio where the carrier is
> >only modulated by multiplying by positive numbers. Double balanced
> >modulators do not suffer this problem. Look at the cosine theorem
> >again:
>
> >cos(a) + cos(b) = 2 cos(c)cos(d) where c=(a+b)/2 d=(a-b)/2
>
> >Notice on the right hand side - there are only two terms not three.
>
> How about:
>
> cos(c) (1 + cos(d)) = cos(c) + cos(c)cos(d)
> = cos(c) + (1/2) cos(a) + (1/2) cos(b)
>
> using the same identity at 100% modulation.
>
> -- glen

Subject: Physical meaning of Group-Delay ?

From: robert@wavemechanics.com (robert bristow-johnson)

Date: 22 Jan, 2002 23:03:05

Message: 77 of 454

even so, Clay, since delaying the "1" term along with the cos(d) term
by the "group delay" does not change that "1" term, glen's setup for
showing what group delay is (in justaposition to phase delay), is also
legit.

AGAIN, I'M NOT JUST TRYING TO DRAW ATTENTION FOR THE SAKE OF DRAWING
ATTENTION, but (clears throat) i wanna end the argument:

x(t) = a(t) * cos(w0*t)

guzzinta a linear (not necessarily "phase-linear") filter with Laplace
transfer function H(s). a(t) is slow moving and bandlimited to much
less than w0.

what come out is:

y(t) = |H(j*w0)| * a(t-Tg) * cos(w0*(t-Tp)

where Tp = - arg{H(j*w0)}/w0 and called "phase delay"

and Tg = - d (arg{H(j*w)})/dw evaluated at w = w0

and that's called "group delay".

the envelope (or group), a(t), is delayed by Tg whether a(t) = 1 -
cos(d) or not.

this can be worked out. it is mathematically true (approximately true
and becomes less approximate the more bandlimited a(t) is) and should
end the blankity-blank debate.

fine~!

r b-j


"Clay S. Turner" <physics@bellsouth.net> wrote in message news:<3C4E05E8.36D08038@bellsouth.net>...
> Hello Glen,
> I was showing how the sum of two equal amplitude cosines yield a
> product of cosines. This was to be interpreted in light of the group
> delay confusion and not double sideband AM.
>
> glen herrmannsfeldt wrote:
> >
> > "Clay S. Turner" <physics@bellsouth.net> writes:
> >
> > >> Physically, a sine wave modulated carrier consists of three waves. The
> > >> carrier sinewave, the upper side band sinewave, and the lower side
> > >> band sinewave.
>
> > >Actually you are thinking of the old style AM radio where the carrier is
> > >only modulated by multiplying by positive numbers. Double balanced
> > >modulators do not suffer this problem. Look at the cosine theorem
> > >again:
>
> > >cos(a) + cos(b) = 2 cos(c)cos(d) where c=(a+b)/2 d=(a-b)/2
>
> > >Notice on the right hand side - there are only two terms not three.
> >
> > How about:
> >
> > cos(c) (1 + cos(d)) = cos(c) + cos(c)cos(d)
> > = cos(c) + (1/2) cos(a) + (1/2) cos(b)
> >
> > using the same identity at 100% modulation.

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 23 Jan, 2002 05:36:26

Message: 78 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C4DB875.B1C67F57@ieee.org>...
> Bob_Stanton wrote:
> >
> ...
> >
> > The slope of the phase curve, *directly* indicates the amount of time
> > for a sine wave, of frequency w, to propagate.
>
> Jerry
> You better find the book again and read the very restrictive conditions
> under which that statement applies.

Bob writes

I have done as you asked, and looked at the books I have available. I
saw *no* limiting conditions. Please tell me under what condition, the
slope of the phase curve is not the group delay.

Perhaps you are thinking of the limits when making group delay
*measurements*?

...Jerry
Earlier, you wrote
>
> Tpd (time related to phase delay) = -ß/w, which is true i the steady
> state. Now, you claim (correctly) that propagation time is -dß/dw, the
> slope of the curve, rather than the cord from the origin. This is true
> for transients. You keep flopping back and forth between phase and group
> delay, and seem to use them indiscriminately.. Read a little more and
> straighten it out.

Bob writes

I have looked back at all my messages in this thread, and found *no*
place where I said "phase delay" is equivalent to "group delay". I
always used the terms "phase delay" and "group delay" correctly, and
not indiscriminately.

We agree that propagation time = -dB/dw. But, this is true for both
transients and *steady state* signals. For example: A carrier
modulated by a sinewave is a steady state signal. The propagation time
of the envelope sinewave is the "group delay".

I'm supposed to go back and straighten what out? What is the "it" I'm
supposed to straighten out?

> > >
> > > Bob
> > > Tpd is the absolute time delay, *only* if the phase response is linear.
> > >
> >
>
> Jerry
> Yes. When the delay is the same for all frequencies, the phase delay is
> also the group delay. Then and only then is your statement correct.

Bob writes
When the phase response is linear, the delay *is the same* for all
frequencies. So, you just said the same thing I did. I'm glad you
agree.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 23 Jan, 2002 09:59:52

Message: 79 of 454

Jerry Avins wrote:
>
> The difference is, you're peeved (as well you might be, taking the brunt
> of it for a while) while some of us are still trying to get his head on
> straight. I may give up soon, but that will induce pity, not anger.

Good luck. I also want to help people overcome their misconceptions, but
here I think it's a case of "throwing pearls before swine."
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 23 Jan, 2002 13:00:14

Message: 80 of 454

robert bristow-johnson wrote:
>
> even so, Clay, since delaying the "1" term along with the cos(d) term
> by the "group delay" does not change that "1" term, glen's setup for
> showing what group delay is (in justaposition to phase delay), is also
> legit.
>
> AGAIN, I'M NOT JUST TRYING TO DRAW ATTENTION FOR THE SAKE OF DRAWING
> ATTENTION, but (clears throat) i wanna end the argument:
>
> x(t) = a(t) * cos(w0*t)
>
> guzzinta a linear (not necessarily "phase-linear") filter with Laplace
> transfer function H(s). a(t) is slow moving and bandlimited to much
> less than w0.
>
> what come out is:
>
> y(t) = |H(j*w0)| * a(t-Tg) * cos(w0*(t-Tp)
>
> where Tp = - arg{H(j*w0)}/w0 and called "phase delay"
>
> and Tg = - d (arg{H(j*w)})/dw evaluated at w = w0
>
> and that's called "group delay".
>
> the envelope (or group), a(t), is delayed by Tg whether a(t) = 1 -
> cos(d) or not.
>
> this can be worked out. it is mathematically true (approximately true
> and becomes less approximate the more bandlimited a(t) is) and should
> end the blankity-blank debate.
>
> fine~!
>
> r b-j
>
We should be so lucky! The debate won't end until the participants
realize that although phase delay carries the unit "time", it doesn't
represent the duration of any observable or imaginable phenomenon.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 23 Jan, 2002 13:20:53

Message: 81 of 454

Bob_Stanton wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C4DB875.B1C67F57@ieee.org>...
> > Bob_Stanton wrote:
> > >
> > ...
> > >
> > > The slope of the phase curve, *directly* indicates the amount of time
> > > for a sine wave, of frequency w, to propagate.
> >
> > Jerry
> > You better find the book again and read the very restrictive conditions
> > under which that statement applies.
>
> Bob writes
>
> I have done as you asked, and looked at the books I have available. I
> saw *no* limiting conditions. Please tell me under what condition, the
> slope of the phase curve is not the group delay.

The speed at which a sine wave propagates can't be determined directly.
The speed at which a group propagates is given by the slope.
>
> Perhaps you are thinking of the limits when making group delay
> *measurements*?

No.
>
> ...Jerry
> Earlier, you wrote
> >
> > Tpd (time related to phase delay) = -ß/w, which is true i the steady
> > state. Now, you claim (correctly) that propagation time is -dß/dw, the
> > slope of the curve, rather than the cord from the origin. This is true
> > for transients. You keep flopping back and forth between phase and group
> > delay, and seem to use them indiscriminately.. Read a little more and
> > straighten it out.
>
> Bob writes
>
> I have looked back at all my messages in this thread, and found *no*
> place where I said "phase delay" is equivalent to "group delay". I
> always used the terms "phase delay" and "group delay" correctly, and
> not indiscriminately.
>
> We agree that propagation time = -dB/dw. But, this is true for both
> transients and *steady state* signals. For example: A carrier
> modulated by a sinewave is a steady state signal. The propagation time
> of the envelope sinewave is the "group delay".
>
> I'm supposed to go back and straighten what out? What is the "it" I'm
> supposed to straighten out?

Earlier, unless I remember wrong, you cited a formula Tpd = -ß/w as
providing group delay, that is, the time for a signal to actually
propagate. It has nothing to do with propagation; it is simply phase
shift divided by frequency, and useful primarily with transmission lines
and waveguides for determining where the nodes will be. Some filters are
analogs of transmission lines, and phase delay can be useful in that
analogy, too.
>
  ...

There's been far too much "he said, I said". I think the best way to
continue this discussion id to start over.

Phase delay is phase angle divided by frequency. It is an interesting
number with little (if any) physical significance. The best significance
I can find is that it represents the integral of delays I can measure.

Group delay is the slope of phase delay curve. It is the time it takes a
signal to traverse a network. The flatter the phase delay curve, the
broader a the band of frequencies that can be considered to share a
group delay.

Can we start from there?

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 23 Jan, 2002 13:29:32

Message: 82 of 454

Jerry Avins wrote:
> [...]
> Phase delay is phase angle divided by frequency. It is an interesting
> number with little (if any) physical significance.

The fact that it indicates the propagation time through the filter at
that frequency is not of any physical significance? I think it's extremely
significant. As an example, this (as well as group delay) can be a good
indicator when a filter will or will not preserve the shape of a waveform.

> The best significance
> I can find is that it represents the integral of delays I can measure.

Not sure I follow you here, Jerry.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 23 Jan, 2002 14:09:04

Message: 83 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> > [...]
> > Phase delay is phase angle divided by frequency. It is an interesting
> > number with little (if any) physical significance.
>
> The fact that it indicates the propagation time through the filter at
> that frequency is not of any physical significance? I think it's extremely
> significant. As an example, this (as well as group delay) can be a good
> indicator when a filter will or will not preserve the shape of a waveform.

It would be very significant if it were true, but it's not. (There are
structures for which the phase delay is less than the time for a light
beam to traverse it.) Phase delay applies to the steady state. Transit
time has no meaning then.
>
> > The best significance
> > I can find is that it represents the integral of delays I can measure.
>
> Not sure I follow you here, Jerry.

Ignore the red herring. I was wrong. There's no point to explaining what
I meant that isn't so.
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 23 Jan, 2002 14:38:33

Message: 84 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > Jerry Avins wrote:
> > > [...]
> > > Phase delay is phase angle divided by frequency. It is an interesting
> > > number with little (if any) physical significance.
> >
> > The fact that it indicates the propagation time through the filter at
> > that frequency is not of any physical significance? I think it's extremely
> > significant. As an example, this (as well as group delay) can be a good
> > indicator when a filter will or will not preserve the shape of a waveform.
>
> It would be very significant if it were true, but it's not. (There are
> structures for which the phase delay is less than the time for a light
> beam to traverse it.)

Jerry, I can't understand these examples you give using light. Can we
please just stick with signals definable as a function x(t)?

> Phase delay applies to the steady state.

Agreed.

> Transit
> time has no meaning then.

Transit time? I'm not sure what you mean by that.

For a wide class of signals, representation as a sum of sinusoids
exists. Note such a representation does not limit us to "steady-state"
signals (i.e., periodic). Thus, for the signals that can be so
represented, phase delay is relevent as it determines how
each of the component sines travel through the filter.

If you have a signal x(t) composed as follows:

  x(t) = cos(2*pi*100*t) + cos(2*pi*103*t)

and you pass it through a filter, then that filter's
phase response (or phase delay) at 100 Hz and 103 Hz
will tell you whether the output waveform will look
like the input one or not. The same is true for a "transient"
signal, but the expression of an example of such a signal
using text in a usenet news article is too intractable.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 23 Jan, 2002 15:59:09

Message: 85 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
  ...
> > [Phase delay being in-to-out time would be very significant if it
> > were true, but it's not. (There are
> > structures for which the phase delay is less than the time for a light
> > beam to traverse it.)
>
> Jerry, I can't understand these examples you give using light. Can we
> please just stick with signals definable as a function x(t)?

I was thinking of waveguides.
>
> > Phase delay applies to the steady state.
>
> Agreed.
>
> > Transit
> > time has no meaning then.
>
> Transit time? I'm not sure what you mean by that.

The time from when a signal goes in till when it comes out. On a
transmission line or a wave guide, or in a speaking tube, the concept is
clear to me. With filters, it's a bit muddier. In a waveguide, the phase
velocity is always faster than light if energy is being carried.
Faster-than-sound phase velocity is possible in a speaking tube, but not
with the usual longitudinal mode. The phase velocity of waves beaching
obliquely is faster than the speed of waves through the water. These
easy examples all involve distance, so we can think in terms of
velocity. Of course, these examples can all be expressed in terms of
time, too, a.k.a. phase delay. It is clear that for them, the times
involved have no physical significance. The equations for their phase
delays are the same as those for the signals we've been discussing, and
have no more physical significance.
>
> For a wide class of signals, representation as a sum of sinusoids
> exists. Note such a representation does not limit us to "steady-state"
> signals (i.e., periodic). Thus, for the signals that can be so
> represented, phase delay is relevent as it determines how
> each of the component sines travel through the filter.

Once the steady state has been reached, who can tell when the wave
started? All we know is the phase shift between input and output, and
the frequency. Dividing gives a number with dimension "time". To
construe that number as an interval, we need to propose events that
define its start and end. The assumption of steady state makes that
impossible. I don't know what it means.
>
> If you have a signal x(t) composed as follows:
>
> x(t) = cos(2*pi*100*t) + cos(2*pi*103*t)
>
> and you pass it through a filter, then that filter's
> phase response (or phase delay) at 100 Hz and 103 Hz
> will tell you whether the output waveform will look
> like the input one or not. The same is true for a "transient"
> signal, but the expression of an example of such a signal
> using text in a usenet news article is too intractable.
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

When the phase delay and the group delay differ but the slope of the
phase delay curve is straight over the range of pertinent frequencies,
then a modulated pulse on a carrier will emerge from our black box with
the shape of the envelope intact, but the phase of the carrier with
respect to the edge of the pulse will be altered. If the delay mechanism
is a transmission line that can be observed at intervals along its
length, or if it is an iterative L-C-R-G structure that can be observed
at various taps, it will be seen that the phase of the carrier relative
to the envelope varies from place to place. If our test signal is quiet
wherever there is no envelope (as Clay's suppressed-carrier example
would have it), how can you convince me -- or yourself! -- that the
carrier and envelope travel at different speeds? The group delay is the
delay of all frequencies in the band, including the carrier. The phase
delay is just an interesting number.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 23 Jan, 2002 17:56:32

Message: 86 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C4EFF05.40BB9B5E@ieee.org>...
> Bob_Stanton wrote:
> >
> > Jerry Avins <jya@ieee.org> wrote in message news:<3C4DB875.B1C67F57@ieee.org>...
> > > Bob_Stanton wrote:
> > > >
> ...
> > > >
> > > > The slope of the phase curve, *directly* indicates the amount of time
> > > > for a sine wave, of frequency w, to propagate.
> > >
> > > Jerry
> > > You better find the book again and read the very restrictive conditions
> > > under which that statement applies.
> >
> > Bob writes
> >
> > I have done as you asked, and looked at the books I have available. I
> > saw *no* limiting conditions. Please tell me under what condition, the
> > slope of the phase curve is not the group delay.
>
> The speed at which a sine wave propagates can't be determined directly.
> The speed at which a group propagates is given by the slope.
> >
Bob writes

Yes. The speed at which a group propagates is given by the slope.

Now let's think about the physical meaning. I believe you think of the
"group" as the envelope information, riding down the carrier. Right?
So do I.

But, there is another physical way to think of an amplititude
modulated wave: As three sinewaves. The sinewave in the center is the
carrier. The ones above and below the carrier are the sidebands. They
go down a cable and through devices together, like three Caballeros.
They all propagate at the same speed. They are even phase locked.
These three sinewaves propagate at Time(group delay).

> >
> > ...Jerry
> > Earlier, you wrote
> > >
> > > ..Read a little more and straighten it out.
> >
> > Bob writes
> >
> > I have looked back at all my messages in this thread, and found *no*
> > place where I said "phase delay" is equivalent to "group delay.
> >
> > I'm supposed to go back and straighten what out? What is the "it" I'm
> > supposed to straighten out?
> Jerry
> Earlier, unless I remember wrong, you cited a formula Tpd = -ß/w as
> providing group delay, that is, the time for a signal to actually
> propagate.

Bob
I don't actually think I said that. Tpd is definately *not* the time
it takes for a signal to propagate.

> Jerry
> It has nothing to do with propagation; it is simply phase
> shift divided by frequency, and useful primarily with transmission lines
> and waveguides for determining where the nodes will be. Some filters are
> analogs of transmission lines, and phase delay can be useful in that
> analogy, too.
> >
>

Bob
I agree with what you said above.


>
> There's been far too much "he said, I said". I think the best way to
> continue this discussion id to start over.
>
> Phase delay is phase angle divided by frequency. It is an interesting
> number with little (if any) physical significance. The best significance
> I can find is that it represents the integral of delays I can measure.
>
> Group delay is the slope of phase delay curve. It is the time it takes a
> signal to traverse a network. The flatter the phase delay curve, the
> broader a the band of frequencies that can be considered to share a
> group delay.
>
> Can we start from there?
>

Bob
You just said everything I have been trying to say in this thread, and
you said it better and clearer then I did. I agree with your statement
above 100%.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 23 Jan, 2002 18:57:00

Message: 87 of 454

"Clay S. Turner" <physics@bellsouth.net> wrote in message news:<3C4DBE5B.E2BE847E@bellsouth.net>...
> Bob_Stanton wrote:
> >
> >
> >
> > Physically, a sine wave modulated carrier consists of three waves. The
> > carrier sinewave, the upper side band sinewave, and the lower side
> > band sinewave.
>
> Actually you are thinking of the old style AM radio where the carrier is
> only modulated by multiplying by positive numbers. Double balanced
> modulators do not suffer this problem.

Bob writes

Most text books use the old style amplititude modulated sinewave, when
showing the effects of group delay. Group delay is not a function of
the kind of waveform you use to measure it. Group delay is the slope
of the phase curve and should not be defined as being the effect on a
certain type of waveform.

I could for example, say that group delay is the amount of ringing on
a square wave. But, that is the effect of group delay not the
definition of it. Likewise the effect on the envelope of an
amplititude modulated sinewave is not the definition of group delay.
It just so happens that the propagation time of a sinewave is equal to
the propagation time of the envelope. So, the propagation time of the
envelope waveform becomes a very useful number.

>
> >
> > In order for the group delay number (500 usec) to be accurate, the
> > upper and lower side bands must be very close in frequency to the
> > carrier. Let's use (in this example) the side bands that are only
> > 0.001 Hz above and below the carrier.
> >
> > We know the *envelope wave* travels through the filter in 500 usec.
> > The two side bands that create the envelope, must also be traveling at
> > the same rate (through the filter in 500 usec).
>
> NO! Set up the circuit and use a scope. The group delay time is due to
> the difference in phase shifts of the constituent frequencies.
>

No! You got it backwards. The phase shift of the consitituent
frequencies is caused by the delay of the device.

>
>
> >
> > If the two side bands, which are at 159.151 Hz and 159.149 Hz, pass
> > through the filter in about 500 usec, it is unreasonable to think that
> > the carrier, at virtually the same frequency, would take 785 usec.
>
> The two frequencies have different phase shifts, so where they combine
> to form a peak is different than where either had a peak alone.
>

Do you think the side bands travel through a device slower than the
envelope waveform. If they do, that's going to be bad news. Eventually
the envelope will be traveling all by itself, with the carrier and the
sidebands left behind. :-)


Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Gary Schafer

Date: 24 Jan, 2002 04:01:35

Message: 88 of 454



Bob_Stanton wrote:

> "Clay S. Turner" <physics@bellsouth.net> wrote in message news:<3C4DBE5B.E2BE847E@bellsouth.net>...
> > Bob_Stanton wrote:
> > >
> > >
> > >
> > > Physically, a sine wave modulated carrier consists of three waves. The
> > > carrier sinewave, the upper side band sinewave, and the lower side
> > > band sinewave.
> >
> > Actually you are thinking of the old style AM radio where the carrier is
> > only modulated by multiplying by positive numbers. Double balanced
> > modulators do not suffer this problem.
>
> Bob writes
>
> Most text books use the old style amplititude modulated sinewave, when
> showing the effects of group delay. Group delay is not a function of
> the kind of waveform you use to measure it. Group delay is the slope
> of the phase curve and should not be defined as being the effect on a
> certain type of waveform.
>
> I could for example, say that group delay is the amount of ringing on
> a square wave. But, that is the effect of group delay not the
> definition of it. Likewise the effect on the envelope of an
> amplititude modulated sinewave is not the definition of group delay.
> It just so happens that the propagation time of a sinewave is equal to
> the propagation time of the envelope. So, the propagation time of the
> envelope waveform becomes a very useful number.
>
> >
> > >
> > > In order for the group delay number (500 usec) to be accurate, the
> > > upper and lower side bands must be very close in frequency to the
> > > carrier. Let's use (in this example) the side bands that are only
> > > 0.001 Hz above and below the carrier.
> > >
> > > We know the *envelope wave* travels through the filter in 500 usec.
> > > The two side bands that create the envelope, must also be traveling at
> > > the same rate (through the filter in 500 usec).
> >
> > NO! Set up the circuit and use a scope. The group delay time is due to
> > the difference in phase shifts of the constituent frequencies.
> >
>
> No! You got it backwards. The phase shift of the consitituent
> frequencies is caused by the delay of the device.
>
> >
> >
> > >
> > > If the two side bands, which are at 159.151 Hz and 159.149 Hz, pass
> > > through the filter in about 500 usec, it is unreasonable to think that
> > > the carrier, at virtually the same frequency, would take 785 usec.
> >
> > The two frequencies have different phase shifts, so where they combine
> > to form a peak is different than where either had a peak alone.
> >
>
> Do you think the side bands travel through a device slower than the
> envelope waveform. If they do, that's going to be bad news. Eventually
> the envelope will be traveling all by itself, with the carrier and the
> sidebands left behind. :-)
>
> Bob Stanton

I think that you guys are talking about two different types of filters and trying to draw a common
conclusion. The resistor capacitor filter has a constantly changing phase shift with frequency. driving
it with an AM signal is actually a signal at 3 different frequencies so the phase shift is going to be
different for each.

If you put that same AM signal into a band pass filter with a flat response at the frequencies that the
AM signal occupies the phase shift should be the same for all 3 frequencies. The group delay will also
be the same for all 3 frequencies.

Regards
Gary

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 24 Jan, 2002 04:00:47

Message: 89 of 454

Gary Schafer <gschafer@mediaone.net> wrote in message

>
> I think that you guys are talking about two different types of filters and

> trying to draw a common
> conclusion. The resistor capacitor filter has a constantly changing phase

> shift with frequency. driving
> it with an AM signal is actually a signal at 3 different frequencies so the

> phase shift is going to be
> different for each.
>

Bob writes

When measuring group delay, the phase shift must be measured over a
very small change in frequency. The change in frequency must be so
small, that the phase shift between frequencies is virtually linear.
Of course it will never be completely linear for an non-phase linear
device, such as a filter. There will always be some error in the
measurement, but the error can be made very small.

> If you put that same AM signal into a band pass filter with a flat response
> at the frequencies that the AM signal occupies the phase shift should be the

 > same for all 3 frequencies. The group delay will also be the same
for all 3 > frequencies.
>

That is exactly correct.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: jj@research.att.com (jj, DBT thug and skeptical philalethist)

Date: 24 Jan, 2002 18:45:00

Message: 90 of 454

In article <67ef4d54.0201231856.1e7d9a94@posting.google.com>,
Bob_Stanton <rstanton2@stny.rr.com> wrote:
>> The two frequencies have different phase shifts, so where they combine
>> to form a peak is different than where either had a peak alone.

Very true.
 
>Do you think the side bands travel through a device slower than the
>envelope waveform. If they do, that's going to be bad news. Eventually
>the envelope will be traveling all by itself, with the carrier and the
>sidebands left behind. :-)

You don't see the point, Bob. ONE sideband may go at a different rate
than the other, and the combined peak will shift (not so predictably)
as a result.

And the question of having the envelope w/o the carrier and sidebands
isn't meaningful here. I mean, if it was, you could have information
transferred w/o energy transfer. THAT would be neat, eh? :)
--
Copyright jj@research.att.com 2001, all rights reserved, except transmission
by USENET and like facilities granted. This notice must be included. Any
use by a provider charging in any way for the IP represented in and by this
article and any inclusion in print or other media are specifically prohibited.

Subject: Physical meaning of Group-Delay ?

From: jj@research.att.com (jj, DBT thug and skeptical philalethist)

Date: 24 Jan, 2002 18:47:08

Message: 91 of 454

In article <67ef4d54.0201240400.a67d962@posting.google.com>,
Bob_Stanton <rstanton2@stny.rr.com> wrote:
>When measuring group delay, the phase shift must be measured over a
>very small change in frequency.

You can measure or calculate (depending on your system) the phase
shift AT ANY GIVEN FREQUENCY. That's NOT at "a variety of
frequencies" but A GIVEN FREQUENCY...
Now, phase shift measured that way with quasi-continuous signals
will only show up as -pi to pi.

BUT if you do something called "phase wrapping" you can calculate the
real phase shift, by doing many frequencies, not just one.

Real phase shift can be much larger tha pi.
--
Copyright jj@research.att.com 2001, all rights reserved, except transmission
by USENET and like facilities granted. This notice must be included. Any
use by a provider charging in any way for the IP represented in and by this
article and any inclusion in print or other media are specifically prohibited.

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 24 Jan, 2002 18:57:49

Message: 92 of 454

jj@research.att.com (jj, DBT thug and skeptical philalethist) wrote in message news:<GqGHF0.FuI@research.att.com>...
> In article <67ef4d54.0201231856.1e7d9a94@posting.google.com>,
> Bob_Stanton <rstanton2@stny.rr.com> wrote:
> >> The two frequencies have different phase shifts, so where they combine
> >> to form a peak is different than where either had a peak alone.
>
> Very true.
>

If the device that the wave is passing through is phase linear, the
sidebands and carrier move together.

If the device is not phase linear, (such as a typical passive bandpass
filter) the sidebands and carrier will travel through (propagate) at
different rates.

> >Do you think the side bands travel through a device slower than the
> >envelope waveform. If they do, that's going to be bad news. Eventually
> >the envelope will be traveling all by itself, with the carrier and the
> >sidebands left behind. :-)
>
> You don't see the point, Bob. ONE sideband may go at a different rate
> than the other, and the combined peak will shift (not so predictably)
> as a result.
>

One sideband can indeed go at a different rate and that will result in
waveform distortion.

> And the question of having the envelope w/o the carrier and sidebands
> isn't meaningful here. I mean, if it was, you could have information
> transferred w/o energy transfer. THAT would be neat, eh? :)

Yes, neat.

When I said the envelope would outrun the sidebands, I was only trying
(unsucessfully perhaps) to be funny. Of course, if one (wrongly)
assumes that the envelope propagates faster than the carriers or
sidebands, well ......
Can you imagin an envelope in the air, with no carriers? I can't or
can I?

I quess once the envelope got ahead of the carriers, it could leave
the cable entirely and fly through the air by itself. Maybe it could
go faster than the speed of light and backwards through time. Maybe
it could bring back pictures of what life was like in the days of the
Romans.

I think this group delay thread is making me crazy. Their coming to
take me away, Ha Ha, Ho Ho, Hee Hee. Their coming to take me away, Hee
Hee, Ho Ho, Ha Ha!

Bye Bye.

Subject: Physical meaning of Group-Delay ?

From: jj@research.att.com (jj, DBT thug and skeptical philalethist)

Date: 25 Jan, 2002 07:29:09

Message: 93 of 454

In article <67ef4d54.0201241857.1020c5e4@posting.google.com>,
Bob_Stanton <rstanton2@stny.rr.com> wrote:
>If the device that the wave is passing through is phase linear, the
>sidebands and carrier move together.

It is conventional to back out the constant delay term
in most filters, however, so if you have varying phase shift,
one usually assumes that the delay term has been separated.
It's a very useful thing to do most of the time.

>If the device is not phase linear, (such as a typical passive bandpass
>filter) the sidebands and carrier will travel through (propagate) at
>different rates.

You mean "pure delay" or "linear phase", I think. Phase Linear
was an amplifier from the 1970's. :)

>When I said the envelope would outrun the sidebands, I was only trying
>(unsucessfully perhaps) to be funny. Of course, if one (wrongly)
>assumes that the envelope propagates faster than the carriers or
>sidebands, well ......

Heh. I thought it was a joke.

>Can you imagin an envelope in the air, with no carriers? I can't or
>can I?

I can also IMAGINE time travel :)

>I think this group delay thread is making me crazy. Their coming to
>take me away, Ha Ha, Ho Ho, Hee Hee. Their coming to take me away, Hee
>Hee, Ho Ho, Ha Ha!

Heh. It seems to me to be much ado about nothing.
--
Copyright jj@research.att.com 2001, all rights reserved, except transmission
by USENET and like facilities granted. This notice must be included. Any
use by a provider charging in any way for the IP represented in and by this
article and any inclusion in print or other media are specifically prohibited.

Subject: Physical meaning of Group-Delay ?

From: who@needs.email.anyhow (Goofball_star_dot_etal)

Date: 25 Jan, 2002 12:47:47

Message: 94 of 454

On Fri, 25 Jan 2002 07:29:09 GMT, jj@research.att.com (jj, DBT thug
and skeptical philalethist) wrote:

>
>You mean "pure delay" or "linear phase", I think. Phase Linear
>was an amplifier from the 1970's. :)
>

"phase linear Chiefly a European phrase meaning "linear phase." Any
system which accurately preserves phase relationships
between frequencies, i.e., that exhibits pure delay. See: group delay"

http://www.rane.com/par-p.html

Put a cork in it, JJ.

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 25 Jan, 2002 05:20:22

Message: 95 of 454

jj@research.att.com (jj, DBT thug and skeptical philalethist) wrote in
>
> Heh. It seems to me to be much ado about nothing.


Bob writes

Perhaps. There seems to be general agreement about the group delay
equations. It's always interesting to (try to) relate these equations
to what is physically happening.

I will admit however, that no matter how we picture group delay in our
minds, the darned equations still give the same answers.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: jj@research.att.com (jj, DBT thug and skeptical philalethist)

Date: 25 Jan, 2002 16:27:54

Message: 96 of 454

In article <3c5153aa.8744276@news.dircon.co.uk>,
Goofball_star_dot_etal <who@needs.email.anyhow> wrote:
>"phase linear Chiefly a European phrase meaning "linear phase." Any
>system which accurately preserves phase relationships
>between frequencies, i.e., that exhibits pure delay. See: group delay"

>http://www.rane.com/par-p.html

>Put a cork in it, JJ.

I see one of my stalkers has wandered over here. Go back home to
r.a.o, you became wearing yearrs ago. You saw the :-), I'm sure.

--
Copyright jj@research.att.com 2001, all rights reserved, except transmission
by USENET and like facilities granted. This notice must be included. Any
use by a provider charging in any way for the IP represented in and by this
article and any inclusion in print or other media are specifically prohibited.

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 25 Jan, 2002 12:14:31

Message: 97 of 454

Bob_Stanton wrote:
>
> jj@research.att.com (jj, DBT thug and skeptical philalethist) wrote in
> >
> > Heh. It seems to me to be much ado about nothing.
>
> Bob writes
>
> Perhaps. There seems to be general agreement about the group delay
> equations. It's always interesting to (try to) relate these equations
> to what is physically happening.
>
> I will admit however, that no matter how we picture group delay in our
> minds, the darned equations still give the same answers.
>
> Bob Stanton

It seems to me that group delay has a fairly obvious and intuitive
meaning. The sticky concept is phase delay. It has the dimension of
time, and people keep trying to relate it to some interval. There's no
way to do that.

To forestall those who would accuse me of heresy, consider radio Morse
code sent as CW. (That the carrier is turned on and off is allowed by
"continuous wave". The alternative to CW is spark gap, still allowed at
sea when I was too young to care. Does anyone remember "logarithmic
decrement"?) The rise and fall times of CW pulses are controlled to keep
the sidebands within a few hundred Hz (or less) of the carrier. I don't
care to calculate the group and phase delays of am IF strip consisting
of several double-tuned transformers, each with different Q, coupling
coefficient, and center frequency (the whole making up a Chebychev flat
passband), but it can be done (and more easily measured).

If the receiver is any good, a dash coming out looks like it did going
in, provided we look only at the envelope. Looking closely, you can see
that the phase of the carrier relative to the edge of the pulse is
messed up. It's easy, with a dual-trace scope, to measure the time delay
through the strip if we match the pulse and ignore the carrier. That's
easy to do if the sweep is slow enough not to resolve the carrier.

Except near the edges of the dash, there aren't any sidebands; it's all
carrier. So when we measured the transit time of our signal through the
IF strip, it was mostly carrier that we measured. It's a real delay.
Now, without changing the signal (dah dah dah ...), change the sweep
speed and look at the phase shift between input and output when there's
signal. (Between dahs, there's nothing to measure.) Forget about the
two-pi ambiguity. Assume that there are ways to unwrap the phase.)
Calculate the time represented by the measured phase angle. Divide by
the frequency: it's a time! (Cigars all around.) In general, that
bouncing baby time won't be the same as the IF delay we measured before.
If anyone knows what it means, please tell me.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Gary Schafer

Date: 25 Jan, 2002 18:04:29

Message: 98 of 454



Jerry Avins wrote:

> Bob_Stanton wrote:
> >
> > jj@research.att.com (jj, DBT thug and skeptical philalethist) wrote in
> > >
> > > Heh. It seems to me to be much ado about nothing.
> >
> > Bob writes
> >
> > Perhaps. There seems to be general agreement about the group delay
> > equations. It's always interesting to (try to) relate these equations
> > to what is physically happening.
> >
> > I will admit however, that no matter how we picture group delay in our
> > minds, the darned equations still give the same answers.
> >
> > Bob Stanton
>
> It seems to me that group delay has a fairly obvious and intuitive
> meaning. The sticky concept is phase delay. It has the dimension of
> time, and people keep trying to relate it to some interval. There's no
> way to do that.
>
> To forestall those who would accuse me of heresy, consider radio Morse
> code sent as CW. (That the carrier is turned on and off is allowed by
> "continuous wave". The alternative to CW is spark gap, still allowed at
> sea when I was too young to care. Does anyone remember "logarithmic
> decrement"?) The rise and fall times of CW pulses are controlled to keep
> the sidebands within a few hundred Hz (or less) of the carrier. I don't
> care to calculate the group and phase delays of am IF strip consisting
> of several double-tuned transformers, each with different Q, coupling
> coefficient, and center frequency (the whole making up a Chebychev flat
> passband), but it can be done (and more easily measured).
>
> If the receiver is any good, a dash coming out looks like it did going
> in, provided we look only at the envelope. Looking closely, you can see
> that the phase of the carrier relative to the edge of the pulse is
> messed up. It's easy, with a dual-trace scope, to measure the time delay
> through the strip if we match the pulse and ignore the carrier. That's
> easy to do if the sweep is slow enough not to resolve the carrier.
>
> Except near the edges of the dash, there aren't any sidebands; it's all
> carrier. So when we measured the transit time of our signal through the
> IF strip, it was mostly carrier that we measured. It's a real delay.
> Now, without changing the signal (dah dah dah ...), change the sweep
> speed and look at the phase shift between input and output when there's
> signal. (Between dahs, there's nothing to measure.) Forget about the
> two-pi ambiguity. Assume that there are ways to unwrap the phase.)
> Calculate the time represented by the measured phase angle. Divide by
> the frequency: it's a time! (Cigars all around.) In general, that
> bouncing baby time won't be the same as the IF delay we measured before.
> If anyone knows what it means, please tell me.
>
> Jerry
> --
> Engineering is the art of making what you want from things you can get.
> -----------------------------------------------------------------------

Not sure what you are looking at when looking at the carrier. One thing to
keep in mind in all this is that the "envelope" really does not exist in the
frequency domain. When you turn on and off a CW signal you always generate
side bands. The combination of the carrier and the side bands represent the
envelope.

When the keying is shaped in order to minimize the side bands it is going to
distort the wave form. The pre distortion of the keying wave form results in
the same thing as having a phase response in the IF that is not flat.

If you have a pass band wide enough to handle all of the side bands of the
signal only then will it come out as it went in. If there is any change in
the envelope then the IF does not have a flat response to the signal. Of
course it will be delayed by the IF delay time. Remember that a CW signal is
really a modulated carrier just like an AM signal.

Regards
Gary

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 25 Jan, 2002 15:44:10

Message: 99 of 454

Gary Schafer wrote:
>
  ...
>
> Not sure what you are looking at when looking at the carrier. One thing to
> keep in mind in all this is that the "envelope" really does not exist in the
> frequency domain.

Delay doesn't exist in the frequency domain either. That's what we're
measuring.

> When you turn on and off a CW signal you always generate
> side bands. The combination of the carrier and the side bands represent the
> envelope.

How much sideband energy do you anticipate in the middle of a CW dash?
>
> When the keying is shaped in order to minimize the side bands it is going to
> distort the wave form. The pre distortion of the keying wave form results in
> the same thing as having a phase response in the IF that is not flat.

As long as what comes out is what got put in, why does that matter?

>
> If you have a pass band wide enough to handle all of the side bands of the
> signal only then will it come out as it went in. If there is any change in
> the envelope then the IF does not have a flat response to the signal. Of
> course it will be delayed by the IF delay time. Remember that a CW signal is
> really a modulated carrier just like an AM signal.

That's what I was emphasizing. In that light, what does phase delay
measure?
>
> Regards
> Gary

Ducking the brick bats,

Jerry

P.S. A "bat" is a half brick.
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 25 Jan, 2002 16:05:08

Message: 100 of 454

Jerry Avins wrote:
> The group delay is the
> delay of all frequencies in the band, including the carrier. The phase
> delay is just an interesting number.

Then how do you explain this property of the Fourier transform:

F[x(t-t0)] = exp(-j*w*t0)*X(w)

???
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Gary Schafer

Date: 25 Jan, 2002 22:14:20

Message: 101 of 454



Jerry Avins wrote:

> Gary Schafer wrote:
> >
> ...
> >
> > Not sure what you are looking at when looking at the carrier. One thing to
> > keep in mind in all this is that the "envelope" really does not exist in the
> > frequency domain.
>
> Delay doesn't exist in the frequency domain either. That's what we're
> measuring.

But when you look at the edge of the pulse you say that "it looks messed up". That
is because the side band energy is interfering with the carrier at that point. You
are seeing the composite of the side bands and the carrier.


>
>
> > When you turn on and off a CW signal you always generate
> > side bands. The combination of the carrier and the side bands represent the
> > envelope.
>
> How much sideband energy do you anticipate in the middle of a CW dash?

How much of a distortion or edge is there in the middle of a CW dash ?
When you are looking at an envelope you still must consider the leading and
trailing edge of the envelope. That is where the information is contained. (start
stop time) If you only look at the middle then it is no longer a dash but a
continuos single frequency signal.


>
> >
> > When the keying is shaped in order to minimize the side bands it is going to
> > distort the wave form. The pre distortion of the keying wave form results in
> > the same thing as having a phase response in the IF that is not flat.
>
> As long as what comes out is what got put in, why does that matter?

It doesn't. Only that you mentioned shaping the keying wave form in your last
post.


>
>
> >
> > If you have a pass band wide enough to handle all of the side bands of the
> > signal only then will it come out as it went in. If there is any change in
> > the envelope then the IF does not have a flat response to the signal. Of
> > course it will be delayed by the IF delay time. Remember that a CW signal is
> > really a modulated carrier just like an AM signal.
>
> That's what I was emphasizing. In that light, what does phase delay
> measure?

If what you are asking is why do you see a difference in phase delay by comparing
the leading edge of a CW dash going in to the IF to the leading edge coming out
verses looking at the phase difference between the carrier only going in, to the
carrier only coming out.
I would say because you have no reference of the time delay with the single
frequency carrier. Once you have turned the carrier on you have no way of knowing
where it started. Looking at it that way it is no longer a keyed CW signal but
just a continuos single frequency signal.

>
> >
> > Regards
> > Gary
>
> Ducking the brick bats,
>
> Jerry
>
> P.S. A "bat" is a half brick.
> --
> Engineering is the art of making what you want from things you can get.
> -----------------------------------------------------------------------

Regards
Gary

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 25 Jan, 2002 17:27:18

Message: 102 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> > The group delay is the
> > delay of all frequencies in the band, including the carrier. The phase
> > delay is just an interesting number.
>
> Then how do you explain this property of the Fourier transform:
>
> F[x(t-t0)] = exp(-j*w*t0)*X(w)
>
> ???
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

F(x) puts us in the frequecy domain. Delay is time domain. What coflict
do you see? The phase of an output relative to it's input is
interesting, but it is't ameasure of atime delay as far asI ca see.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 25 Jan, 2002 17:43:30

Message: 103 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > Jerry Avins wrote:
> > > The group delay is the
> > > delay of all frequencies in the band, including the carrier. The phase
> > > delay is just an interesting number.
> >
> > Then how do you explain this property of the Fourier transform:
> >
> > F[x(t-t0)] = exp(-j*w*t0)*X(w)
> >
> > ???
> > --
> > Randy Yates
> > DSP Engineer, Sony Ericsson Mobile Communications
> > Research Triangle Park, NC, USA
> > randy.yates@ericsson.com, 919-472-1124
>
> F(x) puts us in the frequecy domain.

Yes.

> Delay is time domain.

Yes.

> What coflict
> do you see? The phase of an output relative to it's input is
> interesting, but it is't ameasure of atime delay as far asI ca see.

Don't you see? This property says (in effect) the time delay *IS*
the phase! They're different representations of the same thing:

  phi(w) = w*t0

and

  t0 = phi(w)/w,

which is what I've been saying all along!
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 25 Jan, 2002 17:48:51

Message: 104 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > Jerry Avins wrote:
> > > > The group delay is the
> > > > delay of all frequencies in the band, including the carrier. The phase
> > > > delay is just an interesting number.
> > >
> > > Then how do you explain this property of the Fourier transform:
> > >
> > > F[x(t-t0)] = exp(-j*w*t0)*X(w)
> > >
> > > ???
> > > --
> > > Randy Yates
> > > DSP Engineer, Sony Ericsson Mobile Communications
> > > Research Triangle Park, NC, USA
> > > randy.yates@ericsson.com, 919-472-1124
> >
> > F(x) puts us in the frequecy domain.
>
> Yes.
>
> > Delay is time domain.
>
> Yes.
>
> > What coflict
> > do you see? The phase of an output relative to it's input is
> > interesting, but it is't ameasure of atime delay as far asI ca see.
>
> Don't you see? This property says (in effect) the time delay *IS*
> the phase! They're different representations of the same thing:
>
> phi(w) = w*t0
>
> and
>
> t0 = phi(w)/w,
>
> which is what I've been saying all along!

To this I should have added that group delay is ONLY the
actual time delay when the phase is linear. Here's why:
since linear phase implies t0 = k (constant), then

  phi(w) = w*k.

Thus group delay, gamma(w), is

  gamma(w) = -d phi(w) / dw
           = -k.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124







































.

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 25 Jan, 2002 16:51:14

Message: 105 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C519277.79AC1788@ieee.org>...



> The sticky concept is phase delay. It has the dimension of
> time, and people keep trying to relate it to some interval. There's no
> way to do that.
>
> .....
> Calculate the time represented by the measured phase angle. Divide by
> the frequency: it's a time! (Cigars all around.) In general, that
> bouncing baby time won't be the same as the IF delay we measured before.
> If anyone knows what it means, please tell me.
>

Bob writes

Tpd = -B/w.
(Phase delay = - phase shift (in radians) divided by w (the input
frequency expressed in radians per second)

What you discribed in the last paragraph was a classic example of
"phase delay". You said: "... measured phase angle. Divided by the
frequency".

The statements in your first paragraph, answer the question posed in
your last paragraph.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Jim Gort

Date: 26 Jan, 2002 04:52:58

Message: 106 of 454

If you all want a really physical meaning of group delay, I'll give it to you.

Consider a person's intelligence as analogous to frequency. The smarter you are, the
higher your frequency. Now, consider a meeting (i.e., "group"), that has a constant
group delay. The group delay delays everyone at the meeting from getting real work
done. However, it is the higher frequency participants that get delayed more,
relative to their normal productivity (their phase delay is huge--they will miss
many cycles while bored to death). The dullards are not "phased" (he he), as their
low frequencies of operation incur no real phase delay--they will plod on just as
before, with barely a breath missed after hours of boredom.

Jim Gort

Bob_Stanton wrote:

> Jerry Avins <jya@ieee.org> wrote in message news:<3C519277.79AC1788@ieee.org>...
>
> > The sticky concept is phase delay. It has the dimension of
> > time, and people keep trying to relate it to some interval. There's no
> > way to do that.
> >
> > .....
> > Calculate the time represented by the measured phase angle. Divide by
> > the frequency: it's a time! (Cigars all around.) In general, that
> > bouncing baby time won't be the same as the IF delay we measured before.
> > If anyone knows what it means, please tell me.
> >
>
> Bob writes
>
> Tpd = -B/w.
> (Phase delay = - phase shift (in radians) divided by w (the input
> frequency expressed in radians per second)
>
> What you discribed in the last paragraph was a classic example of
> "phase delay". You said: "... measured phase angle. Divided by the
> frequency".
>
> The statements in your first paragraph, answer the question posed in
> your last paragraph.
>
> Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 26 Jan, 2002 01:14:33

Message: 107 of 454

Bob_Stanton wrote:
>
> jj@research.att.com (jj, DBT thug and skeptical philalethist) wrote in
> >
> > Heh. It seems to me to be much ado about nothing.
>
> Bob writes
>
> Perhaps. There seems to be general agreement about the group delay
> equations. It's always interesting to (try to) relate these equations
> to what is physically happening.
>
> I will admit however, that no matter how we picture group delay in our
> minds, the darned equations still give the same answers.

Yes, and that answer is that the phase response at w is directly related
to the time it takes a sine of frequency w to traverse through the
filter. Group delay is, in general, something else.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 26 Jan, 2002 04:21:20

Message: 108 of 454

Randy Yates <yates@ieee.org> wrote in message news:<3C524949.EF6BFE5E@ieee.org>...
> >Bob_Stanton wrote:
> >
> > Perhaps. There seems to be general agreement about the group delay
> > equations. It's always interesting to (try to) relate these equations
> > to what is physically happening.

> Yes, and that answer is that the phase response at w is directly related
> to the time it takes a sine of frequency w to traverse through the
> filter. Group delay is, in general, something else.

Bob writes

(I get the feeling I've been here before.) Group delay is the time it
takes the envelope waveform to traverse a filter (or cable or
amplifier, etc.)

Phase delay is: Tpd = -B/w. The only thing "Tpd" represents is: the
time it takes the phase to change. It is not the time it takes a
sinewave to traverse a filter.

The phase delay at w (carrier) is the negative slope of a line drawn
from origin to the phase shift corresponding to w(carrier) which is in
agreement with equation: Tpd = -B/w. Where B = the phase shift between
the origin and w(carrier), and w = frequency expressed in radians
/sec. (w = 2 pi f)

Real delay is the time it takes a sinewave to traverse from the input
to the output of a filter (or any device, or cable). If we modulated
that sinewave, and looked at the envelope delay, the envelope delay
would equal the real delay. Thus, we can know what the real delay is.
Since the envelope delay = - dB/dw, than real delay = -dB/dw.

Envelope delay (or group delay) = real delay.

Simple no?

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 26 Jan, 2002 10:30:43

Message: 109 of 454

Bob_Stanton wrote:
> Phase delay is: Tpd = -B/w. The only thing "Tpd" represents is: the
> time it takes the phase to change. It is not the time it takes a
> sinewave to traverse a filter.

It is direct result of the shifting property of the Fourier transform.
That property says that if you multiply the Fourier transform of a
signal x(t) by exp(-j*w*t0), so that you get exp(-j*w*t0)*X(w), then
that is equivalent to delaying the original signal x(t) by t0, i.e..

  F[x(t-t0)] = exp(-j*w*t0)*X(w)

Now think for a moment when x(t) is a sine wave. A sine wave of frequency w0
has a Fourier transform that is zero everywhere except at w=w0. Thus
the phase response at other frequencies is irrevelent *FOR THAT SINE WAVE*.
Thus the phase response of a system at frequency w0, phi(w0), causes a sine wave
at frequency w0 to be delayed by phi(wo)/w0.

Now since a signal can be represented as a sum of sine waves of various
frequencies, amplitudes, and phases, we see that the phase response of
a system at frequency w directly indicates to us how much time the portion
of the signal x(t) that is composed of a sine wave at frequency w will
take to traverse through the system.

At least this is one way of looking at it. Another way is to simply
realize that, BY DEFINITION, the phase response of a system at frequency
w is the time it takes for a sine wave of frequency w to travel through
the system.

Let tau(w) denote the delay of a system at frequency w. Then, BY DEFINITION,

  phi(w) = w*tau(w) [radians]. (note 1)

This then shows that the time delay and phase response are directly
related, and thus equivalent:

  tau(w) = phi(w)/w [seconds].

Now if we take the definition of group delay and apply it, we get

  gamma(w) = -d phi(w) / dw
           = -tau(w) - w * d tau(w) / dw,

where we have used the product rule for derivatives to expand
the derivative of phi(w). This tells us the group delay is only
equivalent to time delay (tau(w)) when d tau(w) / dw is zero.
Since d tau(w) / dw is only zero when tau(w) is a constant,
we get the classical result that GROUP DELAY IS ONLY
EQUIVALENT TO TIME DELAY WHEN THE TIME DELAY IS CONSTANT.

Note that the statements above can be applied on a "per frequency
range" basis. That is, it may be that a system is not linear
phase over the whole band, but is over part of the band. Then
in that part of the band, the two quantities group delay and
time delay will be equivalent but not in other frequency bands.

Note 1: We presume here that the phase is not "wrapped."
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 26 Jan, 2002 10:36:01

Message: 110 of 454

Randy Yates wrote:
> BY DEFINITION, the phase response of a system at frequency
> w is the time it takes for a sine wave of frequency w to travel through
> the system.

Sorry, that should have been

  BY DEFINITION, the phase response of a system at frequency
  w is related to the time it takes for a sine wave of frequency w to travel through
       ^^^^^^^^^^
  the system.

--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 26 Jan, 2002 11:52:16

Message: 111 of 454

Gary Schafer wrote:
>
> Jerry Avins wrote:
>
> > Gary Schafer wrote:
> > >
> > ...
> > >
> > > Not sure what you are looking at when looking at the carrier. One thing to
> > > keep in mind in all this is that the "envelope" really does not exist in the
> > > frequency domain.
> >
> > Delay doesn't exist in the frequency domain either. That's what we're
> > measuring.
>
> But when you look at the edge of the pulse you say that "it looks messed up". That
> is because the side band energy is interfering with the carrier at that point. You
> are seeing the composite of the side bands and the carrier.

By "messed up", I meant only that the phase of the carrier relative to
an identifiable part of the pulse (its center, say) had changed. The
shape of the pulse's envelope won't change given the restrictions I
posited. The interference pattern (if that's how you like to think of
it) of the sidebands and the carrier is all that one ever sees. It is
the composite you refer to.
>
> >
> >
> > > When you turn on and off a CW signal you always generate
> > > side bands. The combination of the carrier and the side bands represent the
> > > envelope.
> >
> > How much sideband energy do you anticipate in the middle of a CW dash?
>
> How much of a distortion or edge is there in the middle of a CW dash ?
> When you are looking at an envelope you still must consider the leading and
> trailing edge of the envelope. That is where the information is contained. (start
> stop time) If you only look at the middle then it is no longer a dash but a
> continuos single frequency signal.

That's perfectly true, but the duration carries the Morse information.
Does it make sense to say that a two-by-four is too short on one end?
Not usually!
>
> >
> > >
> > > When the keying is shaped in order to minimize the side bands it is going to
> > > distort the wave form. The pre distortion of the keying wave form results in
> > > the same thing as having a phase response in the IF that is not flat.
> >
> > As long as what comes out is what got put in, why does that matter?
>
> It doesn't. Only that you mentioned shaping the keying wave form in your last
> post.

I specified it so that there would be no argument about the channel
distorting things, and we could keep focused on the main point.
>
> >
> >
> > >
> > > If you have a pass band wide enough to handle all of the side bands of the
> > > signal only then will it come out as it went in. If there is any change in
> > > the envelope then the IF does not have a flat response to the signal. Of
> > > course it will be delayed by the IF delay time. Remember that a CW signal is
> > > really a modulated carrier just like an AM signal.
> >
> > That's what I was emphasizing. In that light, what does phase delay
> > measure?
>
> If what you are asking is why do you see a difference in phase delay by comparing
> the leading edge of a CW dash going in to the IF to the leading edge coming out
> verses looking at the phase difference between the carrier only going in, to the
> carrier only coming out.
> I would say because you have no reference of the time delay with the single
> frequency carrier. Once you have turned the carrier on you have no way of knowing
> where it started. Looking at it that way it is no longer a keyed CW signal but
> just a continuos single frequency signal.

If it's really a carrier, then there's no reference. I wrote of a long
pulse of carrier whose beginning and end were known. Above you wrote
that that is locally indistinguishable from carrier. Not only do I
agree, but that is why I chose it for my example. Nevertheless, since it
has a known beginning, there is a reference for phase.
>

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 26 Jan, 2002 11:58:49

Message: 112 of 454

Bob_Stanton wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C519277.79AC1788@ieee.org>...
>
> > The sticky concept is phase delay. It has the dimension of
> > time, and people keep trying to relate it to some interval. There's no
> > way to do that.
> >
> > .....
> > Calculate the time represented by the measured phase angle. Divide by
> > the frequency: it's a time! (Cigars all around.) In general, that
> > bouncing baby time won't be the same as the IF delay we measured before.
> > If anyone knows what it means, please tell me.
> >
>
> Bob writes
>
> Tpd = -B/w.
> (Phase delay = - phase shift (in radians) divided by w (the input
> frequency expressed in radians per second)
>
> What you discribed in the last paragraph was a classic example of
> "phase delay". You said: "... measured phase angle. Divided by the
> frequency".
>
> The statements in your first paragraph, answer the question posed in
> your last paragraph.
>
> Bob Stanton

I guess I didn't put my question clearly enough. Delay is the interval
between a cause and its effect. What two phenomena define phase delay?

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 26 Jan, 2002 12:19:19

Message: 113 of 454

Randy Yates wrote:
>
> Bob_Stanton wrote:
> >
> > jj@research.att.com (jj, DBT thug and skeptical philalethist) wrote in
> > >
> > > Heh. It seems to me to be much ado about nothing.
> >
> > Bob writes
> >
> > Perhaps. There seems to be general agreement about the group delay
> > equations. It's always interesting to (try to) relate these equations
> > to what is physically happening.
> >
> > I will admit however, that no matter how we picture group delay in our
> > minds, the darned equations still give the same answers.
>
> Yes, and that answer is that the phase response at w is directly related
> to the time it takes a sine of frequency w to traverse through the
> filter. Group delay is, in general, something else.
> --
> % Randy Yates % "...the answer lies within your soul
> %% Fuquay-Varina, NC % 'cause no one knows which side
> %%% 919-577-9882 % the coin will fall."
> %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> http://personal.rdu.bellsouth.net/~yatesc

Consider a pair of three-phase delta-connected wound-rotor induction
motors, their rotors connected point to point, one of their stators
connected to a modulated power source, and scope connected to one of the
phases of an otherwise open-circuit stator. the angle between the rotors
can be varied. It will be seen that that angle determines the phase of
the carrier on the scope relative to a reference in the modulated power
source. With two-pole motors, the phase angle is changed 360 degrees by
a full turn of one of the shafts. Clearly, we can adjust the phase, and
consequently the phase delay, to any desired amount. Weeks, even. None
of that affects the time for modulation to get from the generator to the
scope. Tell me again, please: What two events define phase delay?

Jerry


--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 26 Jan, 2002 12:26:10

Message: 114 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > Jerry Avins wrote:
> > > > The group delay is the
> > > > delay of all frequencies in the band, including the carrier. The phase
> > > > delay is just an interesting number.
> > >
> > > Then how do you explain this property of the Fourier transform:
> > >
> > > F[x(t-t0)] = exp(-j*w*t0)*X(w)
> > >
> > > ???
> > > --
> > > Randy Yates
> > > DSP Engineer, Sony Ericsson Mobile Communications
> > > Research Triangle Park, NC, USA
> > > randy.yates@ericsson.com, 919-472-1124
> >
> > F(x) puts us in the frequecy domain.
>
> Yes.
>
> > Delay is time domain.
>
> Yes.
>
> > What coflict
> > do you see? The phase of an output relative to it's input is
> > interesting, but it is't ameasure of atime delay as far asI ca see.
>
> Don't you see? This property says (in effect) the time delay *IS*
> the phase! They're different representations of the same thing:
>
> phi(w) = w*t0
>
> and
>
> t0 = phi(w)/w,
>
> which is what I've been saying all along!
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

There's a phase, of course (I fixed the keyboard), but what does the
"delay" in phase delay measure? Not transit time of carrier, surely. It
seems absurd to calculate the transit times of 10001 Hz and 9999 Hz as
two nearly equal delays, but claim that the transit time of the
modulation represented by their sum is far different from that. That's
what you seem to be saying, so I probably miss your point.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 26 Jan, 2002 12:32:53

Message: 115 of 454

Randy Yates wrote:
>
> Randy Yates wrote:
> >
> > Jerry Avins wrote:
> > >
> > > Randy Yates wrote:
> > > >
> > > > Jerry Avins wrote:
> > > > > The group delay is the
> > > > > delay of all frequencies in the band, including the carrier. The phase
> > > > > delay is just an interesting number.
> > > >
> > > > Then how do you explain this property of the Fourier transform:
> > > >
> > > > F[x(t-t0)] = exp(-j*w*t0)*X(w)
> > > >
> > > > ???
> > > > --
> > > > Randy Yates
> > > > DSP Engineer, Sony Ericsson Mobile Communications
> > > > Research Triangle Park, NC, USA
> > > > randy.yates@ericsson.com, 919-472-1124
> > >
> > > F(x) puts us in the frequecy domain.
> >
> > Yes.
> >
> > > Delay is time domain.
> >
> > Yes.
> >
> > > What coflict
> > > do you see? The phase of an output relative to it's input is
> > > interesting, but it is't ameasure of atime delay as far asI ca see.
> >
> > Don't you see? This property says (in effect) the time delay *IS*
> > the phase! They're different representations of the same thing:
> >
> > phi(w) = w*t0
> >
> > and
> >
> > t0 = phi(w)/w,
> >
> > which is what I've been saying all along!
>
> To this I should have added that group delay is ONLY the
> actual time delay when the phase is linear. Here's why:
> since linear phase implies t0 = k (constant), then
>
> phi(w) = w*k.
>
> Thus group delay, gamma(w), is
>
> gamma(w) = -d phi(w) / dw
> = -k.
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

I almost agree. If the phase delay at frequency F is T, and at F + f is
T + t, ... F + n*f is T + n*t, then over the range F to (F + nf), there
is a single group delay that is the actual delay of all frequencies
within that range -- even if that frequency is a carrier alone.


Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 26 Jan, 2002 17:03:36

Message: 116 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > Bob_Stanton wrote:
> > >
> > > jj@research.att.com (jj, DBT thug and skeptical philalethist) wrote in
> > > >
> > > > Heh. It seems to me to be much ado about nothing.
> > >
> > > Bob writes
> > >
> > > Perhaps. There seems to be general agreement about the group delay
> > > equations. It's always interesting to (try to) relate these equations
> > > to what is physically happening.
> > >
> > > I will admit however, that no matter how we picture group delay in our
> > > minds, the darned equations still give the same answers.
> >
> > Yes, and that answer is that the phase response at w is directly related
> > to the time it takes a sine of frequency w to traverse through the
> > filter. Group delay is, in general, something else.
> > --
> > % Randy Yates % "...the answer lies within your soul
> > %% Fuquay-Varina, NC % 'cause no one knows which side
> > %%% 919-577-9882 % the coin will fall."
> > %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> > http://personal.rdu.bellsouth.net/~yatesc
>
> Consider a pair of three-phase delta-connected wound-rotor induction
> motors, their rotors connected point to point, one of their stators
> connected to a modulated power source, and scope connected to one of the
> phases of an otherwise open-circuit stator. the angle between the rotors
> can be varied. It will be seen that that angle determines the phase of
> the carrier on the scope relative to a reference in the modulated power
> source. With two-pole motors, the phase angle is changed 360 degrees by
> a full turn of one of the shafts. Clearly, we can adjust the phase, and
> consequently the phase delay, to any desired amount. Weeks, even. None
> of that affects the time for modulation to get from the generator to the
> scope.

I'm sorry Jerry but I am unable (not unwilling!) to understand your
analogy. I have no idea how we go from a system with a simple input
and output to a "delta-connected three-phase induction motor!"

> Tell me again, please: What two events define phase delay?

Phase delay and time delay are two terms for the same phenomenom
in my book. It is a function of frequency w and provides the
time for a sinusoid of frequency w to traverse through the system
from input to output.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 26 Jan, 2002 14:29:59

Message: 117 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C52E517.E2CB0058@ieee.org>..

> Consider a pair of three-phase delta-connected wound-rotor induction
> motors, their rotors connected point to point, one of their stators
> connected to a modulated power source, and scope connected to one of the
> phases of an otherwise open-circuit stator. the angle between the rotors
> can be varied. It will be seen that that angle determines the phase of
> the carrier on the scope relative to a reference in the modulated power
> source. With two-pole motors, the phase angle is changed 360 degrees by
> a full turn of one of the shafts. Clearly, we can adjust the phase, and
> consequently the phase delay, to any desired amount. Weeks, even. None
> of that affects the time for modulation to get from the generator to the
> scope. Tell me again, please: What two events define phase delay?
>
> Jerry

"Phase delay" doesn't define any two events. Time(phase delay) is just
a meaningless abstraction. Change of phase from zero frequency to
w(carrier), can not be converted into any actual physical time.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 26 Jan, 2002 19:08:16

Message: 118 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C52E845.8C1B6FEB@ieee.org>..
>
> I almost agree. If the phase delay at frequency F is T, and at F + f is
> T + t, ... F + n*f is T + n*t, then over the range F to (F + nf), there
> is a single group delay that is the actual delay of all frequencies
> within that range -- even if that frequency is a carrier alone.
>
>
> Jerry

Bob writes:

Right. Within the range where the phase is (almost) linear.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Rich Grise

Date: 27 Jan, 2002 03:52:16

Message: 119 of 454

OK, I'm an ignoramus - and I've been methodically skipping over this
thread, but it seems to be going on and on:

Here's my problem: I don't even know what the "conceptual" meaning
of "group delay" is, let alone physical. Does it have something to
do with phase velocity in waveguides or something?

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > Bob_Stanton wrote:
> > > >
> > > > jj@research.att.com (jj, DBT thug and skeptical philalethist) wrote in
> > > > >
> > > > > Heh. It seems to me to be much ado about nothing.
> > > >
> > > > Bob writes
> > > >
> > > > Perhaps. There seems to be general agreement about the group delay
> > > > equations. It's always interesting to (try to) relate these equations
> > > > to what is physically happening.
> > > >
> > > > I will admit however, that no matter how we picture group delay in our
> > > > minds, the darned equations still give the same answers.
> > >
> > > Yes, and that answer is that the phase response at w is directly related
> > > to the time it takes a sine of frequency w to traverse through the
> > > filter. Group delay is, in general, something else.
> > > --
> > > % Randy Yates % "...the answer lies within your soul
> > > %% Fuquay-Varina, NC % 'cause no one knows which side
> > > %%% 919-577-9882 % the coin will fall."
> > > %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> > > http://personal.rdu.bellsouth.net/~yatesc
> >
> > Consider a pair of three-phase delta-connected wound-rotor induction
> > motors, their rotors connected point to point, one of their stators
> > connected to a modulated power source, and scope connected to one of the
> > phases of an otherwise open-circuit stator. the angle between the rotors
> > can be varied. It will be seen that that angle determines the phase of
> > the carrier on the scope relative to a reference in the modulated power
> > source. With two-pole motors, the phase angle is changed 360 degrees by
> > a full turn of one of the shafts. Clearly, we can adjust the phase, and
> > consequently the phase delay, to any desired amount. Weeks, even. None
> > of that affects the time for modulation to get from the generator to the
> > scope.
>
> I'm sorry Jerry but I am unable (not unwilling!) to understand your
> analogy. I have no idea how we go from a system with a simple input
> and output to a "delta-connected three-phase induction motor!"
>
> > Tell me again, please: What two events define phase delay?
>
> Phase delay and time delay are two terms for the same phenomenom
> in my book. It is a function of frequency w and provides the
> time for a sinusoid of frequency w to traverse through the system
> from input to output.
> --
> % Randy Yates % "...the answer lies within your soul

--
Thanks!
Rich

"We have met the enemy, and he is us!"
- Pogo Possum, ca. 1950's

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: robert@wavemechanics.com (robert bristow-johnson)

Date: 26 Jan, 2002 20:41:22

Message: 120 of 454

only 117 (that Google knows about).

we need more.

r b-j


rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201261429.285ac921@posting.google.com>...
> Jerry Avins <jya@ieee.org> wrote in message news:<3C52E517.E2CB0058@ieee.org>..
>
> > Consider a pair of three-phase delta-connected wound-rotor induction
> > motors, their rotors connected point to point, one of their stators
> > connected to a modulated power source, and scope connected to one of the
> > phases of an otherwise open-circuit stator. the angle between the rotors
> > can be varied. It will be seen that that angle determines the phase of
> > the carrier on the scope relative to a reference in the modulated power
> > source. With two-pole motors, the phase angle is changed 360 degrees by
> > a full turn of one of the shafts. Clearly, we can adjust the phase, and
> > consequently the phase delay, to any desired amount. Weeks, even. None
> > of that affects the time for modulation to get from the generator to the
> > scope. Tell me again, please: What two events define phase delay?
> >
> > Jerry
>
> "Phase delay" doesn't define any two events. Time(phase delay) is just
> a meaningless abstraction. Change of phase from zero frequency to
> w(carrier), can not be converted into any actual physical time.
>
> Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 27 Jan, 2002 00:23:10

Message: 121 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > Bob_Stanton wrote:
> > > >
> > > > jj@research.att.com (jj, DBT thug and skeptical philalethist) wrote in
> > > > >
> > > > > Heh. It seems to me to be much ado about nothing.
> > > >
> > > > Bob writes
> > > >
> > > > Perhaps. There seems to be general agreement about the group delay
> > > > equations. It's always interesting to (try to) relate these equations
> > > > to what is physically happening.
> > > >
> > > > I will admit however, that no matter how we picture group delay in our
> > > > minds, the darned equations still give the same answers.
> > >
> > > Yes, and that answer is that the phase response at w is directly related
> > > to the time it takes a sine of frequency w to traverse through the
> > > filter. Group delay is, in general, something else.
> > > --
> > > % Randy Yates % "...the answer lies within your soul
> > > %% Fuquay-Varina, NC % 'cause no one knows which side
> > > %%% 919-577-9882 % the coin will fall."
> > > %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> > > http://personal.rdu.bellsouth.net/~yatesc
> >
> > Consider a pair of three-phase delta-connected wound-rotor induction
> > motors, their rotors connected point to point, one of their stators
> > connected to a modulated power source, and scope connected to one of the
> > phases of an otherwise open-circuit stator. the angle between the rotors
> > can be varied. It will be seen that that angle determines the phase of
> > the carrier on the scope relative to a reference in the modulated power
> > source. With two-pole motors, the phase angle is changed 360 degrees by
> > a full turn of one of the shafts. Clearly, we can adjust the phase, and
> > consequently the phase delay, to any desired amount. Weeks, even. None
> > of that affects the time for modulation to get from the generator to the
> > scope.
>
> I'm sorry Jerry but I am unable (not unwilling!) to understand your
> analogy. I have no idea how we go from a system with a simple input
> and output to a "delta-connected three-phase induction motor!"
>
> > Tell me again, please: What two events define phase delay?
>
> Phase delay and time delay are two terms for the same phenomenom
> in my book. It is a function of frequency w and provides the
> time for a sinusoid of frequency w to traverse through the system
> from input to output.
> --
> % Randy Yates % "...the answer lies within your soul
> %% Fuquay-Varina, NC % 'cause no one knows which side
> %%% 919-577-9882 % the coin will fall."
> %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> http://personal.rdu.bellsouth.net/~yatesc

Here's what the interconnected motors I described boil down to: the
output phase is continuously adjustable to any chosen angle. If we allow
phase wrapping, with some patience it is possible to make it plus or
minus a couple of hours. Otherwise, zero to 360 degrees. The relative
phase of input and output is determined by the angle of a shaft, and has
no discernible effect on the time between applying power to the input
and the illumination of a lamp connected to the output. How am I to
apply the notion of phase delay to my realizable device? That the
weirdly connected rotary machines actually behave as I described isn't
really germane. You can accept my claim that they do, or devise a
similar circuit of your own. Given that such a circuit exists, what are
we to make of it?

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 27 Jan, 2002 00:25:39

Message: 122 of 454

Bob_Stanton wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C52E517.E2CB0058@ieee.org>..
>
> > Consider a pair of three-phase delta-connected wound-rotor induction
> > motors, their rotors connected point to point, one of their stators
> > connected to a modulated power source, and scope connected to one of the
> > phases of an otherwise open-circuit stator. the angle between the rotors
> > can be varied. It will be seen that that angle determines the phase of
> > the carrier on the scope relative to a reference in the modulated power
> > source. With two-pole motors, the phase angle is changed 360 degrees by
> > a full turn of one of the shafts. Clearly, we can adjust the phase, and
> > consequently the phase delay, to any desired amount. Weeks, even. None
> > of that affects the time for modulation to get from the generator to the
> > scope. Tell me again, please: What two events define phase delay?
> >
> > Jerry
>
> "Phase delay" doesn't define any two events. Time(phase delay) is just
> a meaningless abstraction. Change of phase from zero frequency to
> w(carrier), can not be converted into any actual physical time.
>
> Bob Stanton

I believe that too. I was abusing the Socratic method by asking Randy to
show me something that I believe doesn't exist (or convince me that it
does).

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 27 Jan, 2002 00:58:27

Message: 123 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > Jerry Avins wrote:
> > >
> > > Randy Yates wrote:
> > > >
> > > > Bob_Stanton wrote:
> > > > >
> > > > > jj@research.att.com (jj, DBT thug and skeptical philalethist) wrote in
> > > > > >
> > > > > > Heh. It seems to me to be much ado about nothing.
> > > > >
> > > > > Bob writes
> > > > >
> > > > > Perhaps. There seems to be general agreement about the group delay
> > > > > equations. It's always interesting to (try to) relate these equations
> > > > > to what is physically happening.
> > > > >
> > > > > I will admit however, that no matter how we picture group delay in our
> > > > > minds, the darned equations still give the same answers.
> > > >
> > > > Yes, and that answer is that the phase response at w is directly related
> > > > to the time it takes a sine of frequency w to traverse through the
> > > > filter. Group delay is, in general, something else.
> > > > --
> > > > % Randy Yates % "...the answer lies within your soul
> > > > %% Fuquay-Varina, NC % 'cause no one knows which side
> > > > %%% 919-577-9882 % the coin will fall."
> > > > %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> > > > http://personal.rdu.bellsouth.net/~yatesc
> > >
> > > Consider a pair of three-phase delta-connected wound-rotor induction
> > > motors, their rotors connected point to point, one of their stators
> > > connected to a modulated power source, and scope connected to one of the
> > > phases of an otherwise open-circuit stator. the angle between the rotors
> > > can be varied. It will be seen that that angle determines the phase of
> > > the carrier on the scope relative to a reference in the modulated power
> > > source. With two-pole motors, the phase angle is changed 360 degrees by
> > > a full turn of one of the shafts. Clearly, we can adjust the phase, and
> > > consequently the phase delay, to any desired amount. Weeks, even. None
> > > of that affects the time for modulation to get from the generator to the
> > > scope.
> >
> > I'm sorry Jerry but I am unable (not unwilling!) to understand your
> > analogy. I have no idea how we go from a system with a simple input
> > and output to a "delta-connected three-phase induction motor!"
> >
> > > Tell me again, please: What two events define phase delay?
> >
> > Phase delay and time delay are two terms for the same phenomenom
> > in my book. It is a function of frequency w and provides the
> > time for a sinusoid of frequency w to traverse through the system
> > from input to output.
> > --
> > % Randy Yates % "...the answer lies within your soul
> > %% Fuquay-Varina, NC % 'cause no one knows which side
> > %%% 919-577-9882 % the coin will fall."
> > %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> > http://personal.rdu.bellsouth.net/~yatesc
>
> Here's what the interconnected motors I described boil down to: the
> output phase is continuously adjustable to any chosen angle. If we allow
> phase wrapping, with some patience it is possible to make it plus or
> minus a couple of hours. Otherwise, zero to 360 degrees. The relative
> phase of input and output is determined by the angle of a shaft, and has
> no discernible effect on the time between applying power to the input
> and the illumination of a lamp connected to the output. How am I to
> apply the notion of phase delay to my realizable device? That the
> weirdly connected rotary machines actually behave as I described isn't
> really germane. You can accept my claim that they do, or devise a
> similar circuit of your own. Given that such a circuit exists, what are
> we to make of it?

I don't believe you have described a linear system since T[r*x(t)] is
not equal to r*T[x(t)], where x(t) is the voltage of the power source
connected to the one motor's stator. In other words, increasing the voltage
on the stator does not create a corresponding increase in voltage
read on the scope.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: i don't think there are enough posts in the "Physical meaning of

From: Randy Yates

Date: 27 Jan, 2002 00:59:56

Message: 124 of 454

robert bristow-johnson wrote:
>
> only 117 (that Google knows about).

We may get to 117,000 before we get it all
straightened out!
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: ricklyon@remove.onemain.com (Rick Lyons)

Date: 27 Jan, 2002 19:56:06

Message: 125 of 454

On Sun, 27 Jan 2002 00:59:56 -0500, Randy Yates <yates@ieee.org>
wrote:

>robert bristow-johnson wrote:
>>
>> only 117 (that Google knows about).
>
>We may get to 117,000 before we get it all
>straightened out!
>--
>% Randy Yates % "...the answer lies within your soul

Ha. By the way, did anyone ever agree on what is
the 'Physical meaning of Group-delay'?

[-Rick-]

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 27 Jan, 2002 13:25:19

Message: 126 of 454

ricklyon@remove.onemain.com (Rick Lyons) wrote in message

>
> Ha. By the way, did anyone ever agree on what is
> the 'Physical meaning of Group-delay'?
>
> [-Rick-]

Bob writes

I think we all forgot about that.

B.T.W. What is the physical meaning?

Oh, who cares! Let's just drop it.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: jj@research.att.com (jj, DBT thug and skeptical philalethist)

Date: 28 Jan, 2002 01:48:00

Message: 127 of 454

In article <3C524949.EF6BFE5E@ieee.org>, Randy Yates <yates@ieee.org> wrote:
>Yes, and that answer is that the phase response at w is directly related
>to the time it takes a sine of frequency w to traverse through the
>filter. Group delay is, in general, something else.

Well, have we carefully wrapped phase all the way from zero :)
--
Copyright jj@research.att.com 2001, all rights reserved, except transmission
by USENET and like facilities granted. This notice must be included. Any
use by a provider charging in any way for the IP represented in and by this
article and any inclusion in print or other media are specifically prohibited.

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 27 Jan, 2002 22:21:36

Message: 128 of 454

"jj, DBT thug and skeptical philalethist" wrote:
>
> In article <3C524949.EF6BFE5E@ieee.org>, Randy Yates <yates@ieee.org> wrote:
> >Yes, and that answer is that the phase response at w is directly related
> >to the time it takes a sine of frequency w to traverse through the
> >filter. Group delay is, in general, something else.
>
> Well, have we carefully wrapped phase all the way from zero :)

Yes.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: i don't think there are enough posts in the "Physical meaning of

From: Randy Yates

Date: 27 Jan, 2002 22:29:11

Message: 129 of 454

Rick Lyons wrote:
>
> On Sun, 27 Jan 2002 00:59:56 -0500, Randy Yates <yates@ieee.org>
> wrote:
>
> >robert bristow-johnson wrote:
> >>
> >> only 117 (that Google knows about).
> >
> >We may get to 117,000 before we get it all
> >straightened out!
> >--
> >% Randy Yates % "...the answer lies within your soul
>
> Ha.

Well, if I'm making a mistake in my assertions, I would appreciate
some correction (from someone reputable, that is!).

> By the way, did anyone ever agree on what is
> the 'Physical meaning of Group-delay'?

I guess it all depends on what you count as "physical." To me
it is as clear as day from the relationship

  gamma(w) = -d phi(w) / dw
           = -tau(w) - w * d tau(w) / dw

Here you can see that if time delay (tau(w)) is constant
over frequency, then group delay is the same as time delay.
If not, then you've something else.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 27 Jan, 2002 22:50:47

Message: 130 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > Jerry Avins wrote:
> > > >
> > > > Randy Yates wrote:
> > > > >
> > > > > Bob_Stanton wrote:
> > > > > >
> > > > > > jj@research.att.com (jj, DBT thug and skeptical philalethist) wrote in
> > > > > > >
> > > > > > > Heh. It seems to me to be much ado about nothing.
> > > > > >
> > > > > > Bob writes
> > > > > >
> > > > > > Perhaps. There seems to be general agreement about the group delay
> > > > > > equations. It's always interesting to (try to) relate these equations
> > > > > > to what is physically happening.
> > > > > >
> > > > > > I will admit however, that no matter how we picture group delay in our
> > > > > > minds, the darned equations still give the same answers.
> > > > >
> > > > > Yes, and that answer is that the phase response at w is directly related
> > > > > to the time it takes a sine of frequency w to traverse through the
> > > > > filter. Group delay is, in general, something else.
> > > > > --
> > > > > % Randy Yates % "...the answer lies within your soul
> > > > > %% Fuquay-Varina, NC % 'cause no one knows which side
> > > > > %%% 919-577-9882 % the coin will fall."
> > > > > %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> > > > > http://personal.rdu.bellsouth.net/~yatesc
> > > >
> > > > Consider a pair of three-phase delta-connected wound-rotor induction
> > > > motors, their rotors connected point to point, one of their stators
> > > > connected to a modulated power source, and scope connected to one of the
> > > > phases of an otherwise open-circuit stator. the angle between the rotors
> > > > can be varied. It will be seen that that angle determines the phase of
> > > > the carrier on the scope relative to a reference in the modulated power
> > > > source. With two-pole motors, the phase angle is changed 360 degrees by
> > > > a full turn of one of the shafts. Clearly, we can adjust the phase, and
> > > > consequently the phase delay, to any desired amount. Weeks, even. None
> > > > of that affects the time for modulation to get from the generator to the
> > > > scope.
> > >
> > > I'm sorry Jerry but I am unable (not unwilling!) to understand your
> > > analogy. I have no idea how we go from a system with a simple input
> > > and output to a "delta-connected three-phase induction motor!"
> > >
> > > > Tell me again, please: What two events define phase delay?
> > >
> > > Phase delay and time delay are two terms for the same phenomenom
> > > in my book. It is a function of frequency w and provides the
> > > time for a sinusoid of frequency w to traverse through the system
> > > from input to output.
> > > --
> > > % Randy Yates % "...the answer lies within your soul
> > > %% Fuquay-Varina, NC % 'cause no one knows which side
> > > %%% 919-577-9882 % the coin will fall."
> > > %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> > > http://personal.rdu.bellsouth.net/~yatesc
> >
> > Here's what the interconnected motors I described boil down to: the
> > output phase is continuously adjustable to any chosen angle. If we allow
> > phase wrapping, with some patience it is possible to make it plus or
> > minus a couple of hours. Otherwise, zero to 360 degrees. The relative
> > phase of input and output is determined by the angle of a shaft, and has
> > no discernible effect on the time between applying power to the input
> > and the illumination of a lamp connected to the output. How am I to
> > apply the notion of phase delay to my realizable device? That the
> > weirdly connected rotary machines actually behave as I described isn't
> > really germane. You can accept my claim that they do, or devise a
> > similar circuit of your own. Given that such a circuit exists, what are
> > we to make of it?
>
> I don't believe you have described a linear system since T[r*x(t)] is
> not equal to r*T[x(t)], where x(t) is the voltage of the power source
> connected to the one motor's stator. In other words, increasing the voltage
> on the stator does not create a corresponding increase in voltage
> read on the scope.
> --
Oh? why do you think that? It really does. What's more, except for the
relatively small group delay, the phase shift -- not the phase delay --
is the same for all frequencies.

Frequency is the rate of change of phase. Given a pair of two-pole
motors yoked as described, the phase advances or retards 360 degrees per
turn. If I excite with 60 Hz (easy to do) and rotate the shaft 30 times
per second (1800 rpm; also easy to do), I will either see 30 or 90 Hz,
depending on the direction of rotation. If I power the rig from the line
with a three-phase Variac, the output voltage will follow the input as
accurately as for any two cascaded transformers. We didn't learn about
transistors or logic gates when I was in school, but we did study
phantastrons and rotating machinery. It's an eye opener.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of

From: Jerry Avins

Date: 27 Jan, 2002 22:54:30

Message: 131 of 454

Randy Yates wrote:
>
> robert bristow-johnson wrote:
> >
> > only 117 (that Google knows about).
>
> We may get to 117,000 before we get it all
> straightened out!
> --
> % Randy Yates % "...the answer lies within your soul
> %% Fuquay-Varina, NC % 'cause no one knows which side
> %%% 919-577-9882 % the coin will fall."
> %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> http://personal.rdu.bellsouth.net/~yatesc

I'm willing to stick it out if you are. I can imagine so many fora in
which this could have gotten ugly. We deserve to congratulate one
another.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of

From: Jerry Avins

Date: 27 Jan, 2002 22:55:39

Message: 132 of 454

Randy Yates wrote:
>
> Rick Lyons wrote:
> >
> > On Sun, 27 Jan 2002 00:59:56 -0500, Randy Yates <yates@ieee.org>
> > wrote:
> >
> > >robert bristow-johnson wrote:
> > >>
> > >> only 117 (that Google knows about).
> > >
> > >We may get to 117,000 before we get it all
> > >straightened out!
> > >--
> > >% Randy Yates % "...the answer lies within your soul
> >
> > Ha.
>
> Well, if I'm making a mistake in my assertions, I would appreciate
> some correction (from someone reputable, that is!).
>
> > By the way, did anyone ever agree on what is
> > the 'Physical meaning of Group-delay'?
>
> I guess it all depends on what you count as "physical." To me
> it is as clear as day from the relationship
>
> gamma(w) = -d phi(w) / dw
> = -tau(w) - w * d tau(w) / dw
>
> Here you can see that if time delay (tau(w)) is constant
> over frequency, then group delay is the same as time delay.
> If not, then you've something else.
> --
> % Randy Yates % "...the answer lies within your soul
> %% Fuquay-Varina, NC % 'cause no one knows which side
> %%% 919-577-9882 % the coin will fall."
> %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> http://personal.rdu.bellsouth.net/~yatesc

Yup. What is that something else?

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: robert@wavemechanics.com (robert bristow-johnson)

Date: 27 Jan, 2002 20:22:42

Message: 133 of 454

rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201271325.b4a2255@posting.google.com>...
>
> B.T.W. What is the physical meaning?
>

i posted the concise answer twice (on that particular thread, and
previously a couple of times when the question was asked before).
others have expounded.

r b-j

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 28 Jan, 2002 03:43:09

Message: 134 of 454

robert@wavemechanics.com (robert bristow-johnson) wrote in message news:<71f9eeeb.0201272022.7a70d633@posting.google.com>...
> rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201271325.b4a2255@posting.google.com>...
> >
> > B.T.W. What is the physical meaning?
> >
>
> i posted the concise answer twice (on that particular thread, and
> previously a couple of times when the question was asked before).
> others have expounded.
>

Bob writes

Everyone still in this thread is convinced he/she understands the
physical meaning of group delay. But, we all understand things in
idiosyncratic ways. Sometimes it takes a lot of messages before we can
come to agreement.

On this subject, I think about 200 more will be enough. :-)

Bob Stanton

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: duaneh@eece.maine.edu (Duane Hanselman)

Date: 28 Jan, 2002 06:57:37

Message: 135 of 454

I don't think that there are enough posts to this thread either:

"i don't think there are enough posts in the "Physical meaning of
Group-Delay?" thread."

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 28 Jan, 2002 11:12:39

Message: 136 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > Jerry Avins wrote:
> > >
> > > Randy Yates wrote:
> > > >
> > > > Jerry Avins wrote:
> > > > > The group delay is the
> > > > > delay of all frequencies in the band, including the carrier. The phase
> > > > > delay is just an interesting number.
> > > >
> > > > Then how do you explain this property of the Fourier transform:
> > > >
> > > > F[x(t-t0)] = exp(-j*w*t0)*X(w)
> > > >
> > > > ???
> > > > --
> > > > Randy Yates
> > > > DSP Engineer, Sony Ericsson Mobile Communications
> > > > Research Triangle Park, NC, USA
> > > > randy.yates@ericsson.com, 919-472-1124
> > >
> > > F(x) puts us in the frequecy domain.
> >
> > Yes.
> >
> > > Delay is time domain.
> >
> > Yes.
> >
> > > What coflict
> > > do you see? The phase of an output relative to it's input is
> > > interesting, but it is't ameasure of atime delay as far asI ca see.
> >
> > Don't you see? This property says (in effect) the time delay *IS*
> > the phase! They're different representations of the same thing:
> >
> > phi(w) = w*t0
> >
> > and
> >
> > t0 = phi(w)/w,
> >
> > which is what I've been saying all along!
> > --
> > Randy Yates
> > DSP Engineer, Sony Ericsson Mobile Communications
> > Research Triangle Park, NC, USA
> > randy.yates@ericsson.com, 919-472-1124
>
> There's a phase, of course (I fixed the keyboard), but what does the
> "delay" in phase delay measure? Not transit time of carrier, surely. It
> seems absurd to calculate the transit times of 10001 Hz and 9999 Hz as
> two nearly equal delays, but claim that the transit time of the
> modulation represented by their sum is far different from that.

Define "transit time of the modulation" please Jerry. How would you
measure it?
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124



























































.

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 28 Jan, 2002 11:31:47

Message: 137 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > Randy Yates wrote:
> > >
> > > Jerry Avins wrote:
> > > >
> > > > Randy Yates wrote:
> > > > >
> > > > > Jerry Avins wrote:
> > > > > > The group delay is the
> > > > > > delay of all frequencies in the band, including the carrier. The phase
> > > > > > delay is just an interesting number.
> > > > >
> > > > > Then how do you explain this property of the Fourier transform:
> > > > >
> > > > > F[x(t-t0)] = exp(-j*w*t0)*X(w)
> > > > >
> > > > > ???
> > > > > --
> > > > > Randy Yates
> > > > > DSP Engineer, Sony Ericsson Mobile Communications
> > > > > Research Triangle Park, NC, USA
> > > > > randy.yates@ericsson.com, 919-472-1124
> > > >
> > > > F(x) puts us in the frequecy domain.
> > >
> > > Yes.
> > >
> > > > Delay is time domain.
> > >
> > > Yes.
> > >
> > > > What coflict
> > > > do you see? The phase of an output relative to it's input is
> > > > interesting, but it is't ameasure of atime delay as far asI ca see.
> > >
> > > Don't you see? This property says (in effect) the time delay *IS*
> > > the phase! They're different representations of the same thing:
> > >
> > > phi(w) = w*t0
> > >
> > > and
> > >
> > > t0 = phi(w)/w,
> > >
> > > which is what I've been saying all along!
> >
> > To this I should have added that group delay is ONLY the
> > actual time delay when the phase is linear. Here's why:
> > since linear phase implies t0 = k (constant), then
> >
> > phi(w) = w*k.
> >
> > Thus group delay, gamma(w), is
> >
> > gamma(w) = -d phi(w) / dw
> > = -k.
> > --
> > Randy Yates
> > DSP Engineer, Sony Ericsson Mobile Communications
> > Research Triangle Park, NC, USA
> > randy.yates@ericsson.com, 919-472-1124
>
> I almost agree. If the phase delay at frequency F is T, and at F + f is
> T + t, ... F + n*f is T + n*t, then over the range F to (F + nf), there
> is a single group delay that is the actual delay of all frequencies
> within that range -- even if that frequency is a carrier alone.

True within the constraints you have put forth. So what is your
problem? What's keeping you from saying "I see - I now agree 100 percent."?
Please be precise: I have given you the entire derivation from the meaning
of phase response and how it relates to time delay to the meaning
of group delay and how it relates to time delay. Please tell me exactly
where you deviate from my logic.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124















































































.

Subject: i don't think there are enough posts in the "Physical meaning of

From: Randy Yates

Date: 28 Jan, 2002 11:39:03

Message: 138 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > Rick Lyons wrote:
> > >
> > > On Sun, 27 Jan 2002 00:59:56 -0500, Randy Yates <yates@ieee.org>
> > > wrote:
> > >
> > > >robert bristow-johnson wrote:
> > > >>
> > > >> only 117 (that Google knows about).
> > > >
> > > >We may get to 117,000 before we get it all
> > > >straightened out!
> > > >--
> > > >% Randy Yates % "...the answer lies within your soul
> > >
> > > Ha.
> >
> > Well, if I'm making a mistake in my assertions, I would appreciate
> > some correction (from someone reputable, that is!).
> >
> > > By the way, did anyone ever agree on what is
> > > the 'Physical meaning of Group-delay'?
> >
> > I guess it all depends on what you count as "physical." To me
> > it is as clear as day from the relationship
> >
> > gamma(w) = -d phi(w) / dw
> > = -tau(w) - w * d tau(w) / dw
> >
> > Here you can see that if time delay (tau(w)) is constant
> > over frequency, then group delay is the same as time delay.
> > If not, then you've something else.
> > --
> > % Randy Yates % "...the answer lies within your soul
> > %% Fuquay-Varina, NC % 'cause no one knows which side
> > %%% 919-577-9882 % the coin will fall."
> > %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> > http://personal.rdu.bellsouth.net/~yatesc
>
> Yup. What is that something else?

The group delay at w is time delay at w plus a factor related to the slope of the time
delay at w. That is what it is using the mathematical definitions. If you're
asking for a physical interpretation in the case when the time delay is not
constant, then I cannot give you one.

I certainly don't know this to be a fact, but I think the reason group delay was
defined was to give folks a simple way to see at a glance where the phase
is linear (i.e., where the time delay is constant) in a filter. All you have
to do is look for the flat regions in the plot of gamma(w) (group delay) versus w.
Beyond that, i.e., for regions of non-constant time delay, I'm not sure there was
any utility intended.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124


































































.

Subject: Physical meaning of Group-Delay ?

From: tedcrum@socrates.Berkeley.EDU ()

Date: 28 Jan, 2002 16:51:56

Message: 139 of 454

Regardless of the discussion of time-frequency distributions (and that's
what it is when you use "time" and "phase" in the same description), the
group delay corresponds to the tranmission time of energy and information
in most physical systems.

I'd also like to mention that some of the discussion seems to treat the
signal and the system at the same time when they could be considered
separately. For example, a system with a phase/frequency response that is
differentiable at frequency F has a well defined group delay at that
frequency, whether there is no input, the input is broadband, or the input
is a sinusoid at frequency F.

-tc

Subject: i don't think there are enough posts in the "Physical meaning of

From: Randy Yates

Date: 28 Jan, 2002 11:55:38

Message: 140 of 454

robert bristow-johnson wrote:
>
> rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201271325.b4a2255@posting.google.com>...
> >
> > B.T.W. What is the physical meaning?
> >
>
> i posted the concise answer twice (on that particular thread, and
> previously a couple of times when the question was asked before).
> others have expounded.

Robert, can you give a Google link to your response?

I suppose you have been reading my responses on this
thread. If I'm simply rehashing what you already wrote,
then let me apologize if it appears that I was attempting
to "steal your glory."
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 28 Jan, 2002 12:01:09

Message: 141 of 454

tedcrum@socrates.Berkeley.EDU wrote:
>
> Regardless of the discussion of time-frequency distributions (and that's
> what it is when you use "time" and "phase" in the same description), the
> group delay corresponds to the tranmission time of energy and information
> in most physical systems.

I disagree. The exception is when the phase response is non-linear. In that
case, the time delay is NOT the group delay. Refer to my recent posts in the
5 days for a derivation of this result that is firmly grounded in
classical linear system theory.

By the way, asserting something is true really adds nothing
to this discussion. I know that what I'm looking for, and
I believe what others on this thread are also looking for,
is some derivation or logical reasoning that leads to the
conclusion being asserted.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 28 Jan, 2002 13:11:11

Message: 142 of 454

Bob_Stanton wrote:
>
> Randy Yates <yates@ieee.org> wrote in message news:<3C524949.EF6BFE5E@ieee.org>...
> > >Bob_Stanton wrote:
> > >
> > > Perhaps. There seems to be general agreement about the group delay
> > > equations. It's always interesting to (try to) relate these equations
> > > to what is physically happening.
>
> > Yes, and that answer is that the phase response at w is directly related
> > to the time it takes a sine of frequency w to traverse through the
> > filter. Group delay is, in general, something else.
>
> Bob writes
>
> (I get the feeling I've been here before.) Group delay is the time it
> takes the envelope waveform to traverse a filter (or cable or
> amplifier, etc.)
>
> Phase delay is: Tpd = -B/w. The only thing "Tpd" represents is: the
> time it takes the phase to change.

What does it mean for the "phase to change?"

> It is not the time it takes a
> sinewave to traverse a filter.

So you challenge Fourier theory as I have laid forth in prior
posts?

> The phase delay at w (carrier) is the negative slope of a line drawn
> from origin to the phase shift corresponding to w(carrier) which is in
> agreement with equation: Tpd = -B/w. Where B = the phase shift between
> the origin and w(carrier), and w = frequency expressed in radians
> /sec. (w = 2 pi f)

Where in the hell did you get that from?

Listen, Bob, we can say whatever we want in these newsgroups.
 Simply
stating something really does nothing to establish truth. At this
stage, I'd say we both better start basing our assertions on sources
that are objective rather than subjective.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124











































.

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 28 Jan, 2002 13:19:55

Message: 143 of 454

Randy Yates wrote:
>
  ...
>
> By the way, asserting something is true really adds nothing
> to this discussion. I know that what I'm looking for, and
> I believe what others on this thread are also looking for,
> is some derivation or logical reasoning that leads to the
> conclusion being asserted.
> --
Amen! I think the way to get there is to proceed from statements that
all (at least we) agree are correct, and deduce others that we're
comfortable with. Here's my start on such a list (it owes much to
others, including Ted Crum):

     For any network, each frequency has a group delay.
     For any network, each frequency has a phase delay.

     The phase delay is beta/omega.
     The group delay is the derivative of the phase delay with respect
     to omega.
(The use of "beta" rather than "theta" may be a holdover from
transmission lines, where these concepts are easier to intuit.)

     Energy at a given frequency passes through the network with a
     delay equal to the group delay. (This may be the sticky one.)

     When the group delay of all components of a signal is the same,
     that signal passes through the network unchanged in shape.

If we disagree about any of those statements (or others you want on the
list), resolving that disagreement will likely resolve the whole issue.
If we agree, then we can use them as building blocks for further
discussion.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning

From: robert bristow-johnson

Date: 28 Jan, 2002 18:25:52

Message: 144 of 454


In article <dea6a327.0201280657.21770833@posting.google.com> ,
duaneh@eece.maine.edu (Duane Hanselman) wrote:

> I don't think that there are enough posts to this thread either:
>
> "i don't think there are enough posts in the "Physical meaning of
> Group-Delay?" thread."

i hear you. i'm outa here after this one.


In article <3C55828A.38B8B64F@rtp.ericsson.com> , Randy Yates
<euschya@rtp.ericsson.com> wrote:

> robert bristow-johnson wrote:
>>
>> rstanton2@stny.rr.com (Bob_Stanton) wrote in message
news:<67ef4d54.0201271325.b4a2255@posting.google.com>...
>> >
>> > B.T.W. What is the physical meaning?
>> >
>>
>> i posted the concise answer twice (on that particular thread, and
>> previously a couple of times when the question was asked before).
>> others have expounded.
>
> Robert, can you give a Google link to your response?

you have to fix the wrapping that i can't seem to turn off in OE.

http://groups.google.com/groups?selm=71f9eeeb.0201162214.3a21e0d5%40posting.
google.com

http://groups.google.com/groups?selm=71f9eeeb.0201222303.3d9a1b1%40posting.g
oogle.com

and earlier:

http://groups.google.com/groups?selm=37AA6CF6.3FEF%40viconet.com

i thought i did a post long ago deriving the expression, but i can't seem to
find it.

(wow, it's amazing that Google can hash that "selm" field and instantly come
up with the post out of the zillions in USENET. what kinda directory tree
do they use??)

> I suppose you have been reading my responses on this thread.

only some of them.

> If I'm simply rehashing what you already wrote,
> then let me apologize if it appears that I was attempting
> to "steal your glory."

in this one, i wasn't seeking "glory", i just wanted the battle to end and
thought i had the nuke to make that happen. i guess i didn't.

i think you were adding another twist. sometimes i wondered if there was a
minus sign dropped somewhere but i didn't wanna worry about it.

r b-j

Subject: i don't think there are enough posts in the "Physical meaning of

From: Jerry Avins

Date: 28 Jan, 2002 13:47:14

Message: 145 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > Rick Lyons wrote:
> > > >
> > > > On Sun, 27 Jan 2002 00:59:56 -0500, Randy Yates <yates@ieee.org>
> > > > wrote:
> > > >
> > > > >robert bristow-johnson wrote:
> > > > >>
> > > > >> only 117 (that Google knows about).
> > > > >
> > > > >We may get to 117,000 before we get it all
> > > > >straightened out!
> > > > >--
> > > > >% Randy Yates % "...the answer lies within your soul
> > > >
> > > > Ha.
> > >
> > > Well, if I'm making a mistake in my assertions, I would appreciate
> > > some correction (from someone reputable, that is!).
> > >
> > > > By the way, did anyone ever agree on what is
> > > > the 'Physical meaning of Group-delay'?
> > >
> > > I guess it all depends on what you count as "physical." To me
> > > it is as clear as day from the relationship
> > >
> > > gamma(w) = -d phi(w) / dw
> > > = -tau(w) - w * d tau(w) / dw
> > >
> > > Here you can see that if time delay (tau(w)) is constant
> > > over frequency, then group delay is the same as time delay.
> > > If not, then you've something else.
> > > --
> > > % Randy Yates % "...the answer lies within your soul
> > > %% Fuquay-Varina, NC % 'cause no one knows which side
> > > %%% 919-577-9882 % the coin will fall."
> > > %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> > > http://personal.rdu.bellsouth.net/~yatesc
> >
> > Yup. What is that something else?
>
> The group delay at w is time delay at w plus a factor related to the slope of the time
> delay at w. That is what it is using the mathematical definitions. If you're
> asking for a physical interpretation in the case when the time delay is not
> constant, then I cannot give you one.

I don't get you. Group delay is time delay plus a factor? What is "time
delay", then? Or did you mean phase delay? (We've been going at the so
long, that kind of slip wouldn't surprise me.)
>
> I certainly don't know this to be a fact, but I think the reason group delay was
> defined was to give folks a simple way to see at a glance where the phase
> is linear (i.e., where the time delay is constant) in a filter. All you have
> to do is look for the flat regions in the plot of gamma(w) (group delay) versus w.
> Beyond that, i.e., for regions of non-constant time delay, I'm not sure there was
> any utility intended.

I'll go out on a limb and state categorically that any network built
with real -- therefor inevitably somewhat lossy -- components has a
transfer function that is everywhere differentiable. If I'm wrong, the
exceptions are few. Every continuous function can be considered flat in
a region to within some tolerance, provided only that the region is
small enough. In a filter, this means that there is a group delay
associated with a "narrow enough" band around every frequency. Do we
agree to that?
> --
Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 28 Jan, 2002 13:51:59

Message: 146 of 454

Jerry Avins wrote:
> Randy Yates wrote:
> >
> > I don't believe you have described a linear system since T[r*x(t)] is
> > not equal to r*T[x(t)], where x(t) is the voltage of the power source
> > connected to the one motor's stator. In other words, increasing the voltage
> > on the stator does not create a corresponding increase in voltage
> > read on the scope.
> > --
> Oh? why do you think that?

Maybe I just don't understand your analogy. Additionally, I am weak in the area
of electromechanical machines.

The reason I made this statement is that I am under the impression that
increasing the voltage across the windings of a motor can do one of
two things depending on the type of motor: a) increase the motor speed,
or b) increase the available torque. The motors' shafts are connected
and you're measuring the voltage across a winding in the second motor's
stator, right?

The voltage induced in a winding by a magnetic field is proportional
to d theta / dt, where theta is the flux of the magnetic field [webers],
which is in turn computed by a surface integral of the magnetic flux
density B [webers/m^2], and of course t is time. Thus to increase
d theta / dt you must either a) turn the motor faster, or b) increase
the magnetic flux density B. However, B is constant and depends on
the motor magnetics. Thus the only way to increase the output voltage
then is to increase speed. 

However, since I thought an induction motor is a type of synchronous motor, then
I thought motor 1's speed is controlled by the frequency of the voltage
source, not the amplitude.

Given the complexity of your analogy, perhaps it would be good idea to
provide a schematic or block diagram? It would also help me to understand
your analogy if you indicate precisely what the input to this system is (and
what units the input takes on) and what the output of this system is (and
what units the output takes on).
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 28 Jan, 2002 13:57:51

Message: 147 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > Randy Yates wrote:
> > > >
> > > > Jerry Avins wrote:
> > > > >
> > > > > Randy Yates wrote:
> > > > > >
> > > > > > Jerry Avins wrote:
> > > > > > > The group delay is the
> > > > > > > delay of all frequencies in the band, including the carrier. The phase
> > > > > > > delay is just an interesting number.
> > > > > >
> > > > > > Then how do you explain this property of the Fourier transform:
> > > > > >
> > > > > > F[x(t-t0)] = exp(-j*w*t0)*X(w)
> > > > > >
> > > > > > ???
> > > > > > --
> > > > > > Randy Yates
> > > > > > DSP Engineer, Sony Ericsson Mobile Communications
> > > > > > Research Triangle Park, NC, USA
> > > > > > randy.yates@ericsson.com, 919-472-1124
> > > > >
> > > > > F(x) puts us in the frequecy domain.
> > > >
> > > > Yes.
> > > >
> > > > > Delay is time domain.
> > > >
> > > > Yes.
> > > >
> > > > > What coflict
> > > > > do you see? The phase of an output relative to it's input is
> > > > > interesting, but it is't ameasure of atime delay as far asI ca see.
> > > >
> > > > Don't you see? This property says (in effect) the time delay *IS*
> > > > the phase! They're different representations of the same thing:
> > > >
> > > > phi(w) = w*t0
> > > >
> > > > and
> > > >
> > > > t0 = phi(w)/w,
> > > >
> > > > which is what I've been saying all along!
> > >
> > > To this I should have added that group delay is ONLY the
> > > actual time delay when the phase is linear. Here's why:
> > > since linear phase implies t0 = k (constant), then
> > >
> > > phi(w) = w*k.
> > >
> > > Thus group delay, gamma(w), is
> > >
> > > gamma(w) = -d phi(w) / dw
> > > = -k.
> > > --
> > > Randy Yates
> > > DSP Engineer, Sony Ericsson Mobile Communications
> > > Research Triangle Park, NC, USA
> > > randy.yates@ericsson.com, 919-472-1124
> >
> > I almost agree. If the phase delay at frequency F is T, and at F + f is
> > T + t, ... F + n*f is T + n*t, then over the range F to (F + nf), there
> > is a single group delay that is the actual delay of all frequencies
> > within that range -- even if that frequency is a carrier alone.
>
> True within the constraints you have put forth. So what is your
> problem? What's keeping you from saying "I see - I now agree 100 percent."?
> Please be precise: I have given you the entire derivation from the meaning
> of phase response and how it relates to time delay to the meaning
> of group delay and how it relates to time delay. Please tell me exactly
> where you deviate from my logic.
> --
My problem is simple! I claim that actual delay of the signals is the
group delay (as you defined it and I agreed), while you seem to believe
that it is the phase delay, contrary to the definitions you cited
earlier, and that were derived here earlier. You made an assertion about
how a signal's phase delay relates to its time delay, but gave no
derivation that I understood. (Maybe it slid by me.) As for what's
keeping me ..., Do you remember "My Fair Lady"? "Why Can't An Avins Be
More Like A Yates?" comes to mind. 8-)
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of

From: Randy Yates

Date: 28 Jan, 2002 14:09:05

Message: 148 of 454

Jerry Avins wrote:
> > > Yup. What is that something else?
> >
> > The group delay at w is time delay at w plus a factor related to the slope of the time
> > delay at w. That is what it is using the mathematical definitions. If you're
> > asking for a physical interpretation in the case when the time delay is not
> > constant, then I cannot give you one.
>
> I don't get you. Group delay is time delay plus a factor? What is "time
> delay", then?

Time delay, or what I have been denoting as tau(w), is the time
it takes a signal of frequency w to propagate through the system.

Let me summarize the derivation I'm basing this on:

First, I assert that phase is equivalent to time delay for a
linear system. This is based on the Fourier transform property

  F[x(t-t0)] = exp(-j*w*t0)*X(w),

which effectively provides the relationship between time delay
at frequency w (tau(w)) and the phase at frequency w (phi(w)):

  phi(w) = w*tau(w).

and

  tau(w) = phi(w)/w.

Then I'm using this in the definition for group delay

  gamma(w) = -d phi(w) / dw

to come up with group delay as a function of time delay:

  -d phi(w) / dw = -tau(w) - w * d tau(w) / dw.

Is that clear?

> Or did you mean phase delay? (We've been going at the so
> long, that kind of slip wouldn't surprise me.)

No, I meant time delay, i.e., tau(w) to be consistent with a prior post.
I really would like to nix the term "phase delay" altogether since I
think it's an ill-formed concept. I would like to work with time delay
and phase when deriving and thinking about group delay.

> > I certainly don't know this to be a fact, but I think the reason group delay was
> > defined was to give folks a simple way to see at a glance where the phase
> > is linear (i.e., where the time delay is constant) in a filter. All you have
> > to do is look for the flat regions in the plot of gamma(w) (group delay) versus w.
> > Beyond that, i.e., for regions of non-constant time delay, I'm not sure there was
> > any utility intended.
>
> I'll go out on a limb and state categorically that any network built
> with real -- therefor inevitably somewhat lossy -- components has a
> transfer function that is everywhere differentiable. If I'm wrong, the
> exceptions are few. Every continuous function can be considered flat in
> a region to within some tolerance, provided only that the region is
> small enough. In a filter, this means that there is a group delay
> associated with a "narrow enough" band around every frequency. Do we
> agree to that?

Only as an approximation. Who said anything about approximations, though?
What I've been hearing from you is that, uncategorically, group delay IS
time delay, and the equations I'm seeing say it just ain't so.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 28 Jan, 2002 17:51:42

Message: 149 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C4489DE.C35323A8@ieee.org>...

> Solitons are a special case where
> uniform group velvety is enforced by nonlinearity.

I agree with this one. I don't know what it means but it sounds nice and fluffy.

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 28 Jan, 2002 19:49:58

Message: 150 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C55964B.F1011604@ieee.org>...
 
> For any network, each frequency has a group delay.
> For any network, each frequency has a phase delay.
>
> The phase delay is beta/omega.

Didn't the person who quoted this formula (Bob) say that this is only
for linear phase systems? I don't agree with this if it is for
non-linear phase systems because then it would contradict "Energy at a
given frequency passes through the network with a delay equal to the
group delay."

> The group delay is the derivative of the phase delay with respect
> to omega.

Sorry for being pedantic but that should be negative derivative.

 
> Energy at a given frequency passes through the network with a
> delay equal to the group delay. (This may be the sticky one.)

This was what I was taught last year and in Proakis & Manolakis (p332)
it says:

"Tg(w) = -d phi(w)/dw

Tg(w) is usually called the envelope delay or the group delay of the
filter. We interpret Tg(w) as the time delay that a signal component
of frequency w undergoes as it passes from the input to the output of
the system."
 

> When the group delay of all components of a signal is the same,
> that signal passes through the network unchanged in shape.

Proakis & Manolakis then says:

"Note that when phi(w) is linear, Tg(w) = constant. In this case all
frequency components of the input signal undergo the same time delay."
 
Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 28 Jan, 2002 20:38:31

Message: 151 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C55964B.F1011604@ieee.org>...

> For any network, each frequency has a phase delay.
 
> The phase delay is beta/omega.

I've just read this by Bob:

""Phase delay" doesn't define any two events. Time(phase delay) is
just
a meaningless abstraction. Change of phase from zero frequency to
w(carrier), can not be converted into any actual physical time."

Is this actually a meaningless abstraction? Say if you could turn a
filter on and off and you had a single sinusoid at its input then
assuming that group delay is equal to the time delay for that sinusoid
to travel through the filter then if the filter has a linear phase
response then when you turned the filter on

phase delay = beta/omega = d(beta)/d(omega) = group delay = constant

So phase delay is meaningful for linear phase filters. Or maybe I've
lost the plot somewhere.

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 28 Jan, 2002 22:11:46

Message: 152 of 454

rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201231756.50ebdd2b@posting.google.com>...
 
> Yes. The speed at which a group propagates is given by the slope.

I agree.
 
> Now let's think about the physical meaning. I believe you think of the
> "group" as the envelope information, riding down the carrier. Right?
> So do I.

Hmmm.
 
> But, there is another physical way to think of an amplititude
> modulated wave: As three sinewaves. The sinewave in the center is the
> carrier. The ones above and below the carrier are the sidebands. They
> go down a cable and through devices together, like three Caballeros.
> They all propagate at the same speed. They are even phase locked.
> These three sinewaves propagate at Time(group delay).

I've just read the whole of this thread from start to finish and I'm
sure someone is deliberately changing their minds about what they are
saying just to confuse everybody. Either that or I'm going in bit gaa
gaa. Then again, whoever invented the term phase delay probably did it
deliberately just to confuse everybody.

In previous posts that you've written I agree with what you say but
now you've just contradicted yourself within a post. Above you said
"The speed at which a group propagates is given by the slope." and I
agree with that because that is the definition of group delay and
therefore the time delay through a system. But above you have just
said that "They all propagate at the same speed. They are even phase
locked. These three sinewaves propagate at Time(group delay)."
I don't agree with that. If you have a non-linear phase system where
the group delays at fc+fm does not equal the group delay at fc-fm
where fc is the carrier and fm is the message frequency (assuming a
single sinusoid message as in your example and ignoring the carrier)
then the sinusoids do not travel at the same speed and are not phase
locked and you get phase distortion. If you meant linear phase system
then I apologise but I get the feeling that you are mistaking group
delay with propagation time and they are not the same thing.
As an alternative to DSP, from transmission lines:
"For all components of a signal to be delayed by the same amount at a
given point on a line, they must all propagate at the same velocity.
Since the velocity at an angular frequency w is

Vp = w/beta

where Vp is the propagation velocity and beta is the phase phase shift
index then if Vp is to remain constant as w varies, beta must be
proportional to w. The line must have a linear phase characteristic."

Just because a signal consists of a group of frequencies does not mean
they propagate with the same group delay.

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 28 Jan, 2002 22:27:31

Message: 153 of 454

rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201170744.4844492e@posting.google.com>...

> I have seen some active filters, (looking on a circuit analysis
> program) where the phase shift is positive in a portion of the
> stopband. (It may be that my circuit analysis program is wrong.) If
> the analysis program is correct however, there should be no negative
> sign on "d phi/d freq".
>
> A negative sign on "d phi/d freq", would imply that time is running
> backwards, at those frequenies where the phase shift is positive.


Your circuit analysis program is wrong.

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 28 Jan, 2002 22:59:32

Message: 154 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C4846BE.947A63C8@ieee.org>...
> robert bristow-johnson wrote:
> >
> ...
> >
> > let x(t) = a(t)*cos(w0*t)
> >
> > be input to a linear filter with complex transfer function H(s). a(t)
> > is a slowly moving envelope that is bandlimited to much less than w0.
> > that is
> >
> > |A(j*w)| ~= 0 for all |w|>B where B << w0
> >
> > if that is the case, then the output of the filter is
> >
> > y(t) = |H(j*w0)| * a(t-Tg) * cos(w0*(t-Tp))
> >
> > where Tp = -arg{H(j*w0)}/w0
> >
> > and Tg = - d( arg{H(j*w)} )/dw evaluated at w = w0
> >
> > that is the phase of the sinusoid is delayed by Tp, the "phase delay"
> > and the envelope of the sinusoid is delayed by Tg, the "group delay".
> >
> > that is the only salient physical meaning of group delay vs. phase
> > delay that i can think of.
> >
> > r b-j
>
> Hallelujah!


But isn't this assuming that you've got a linear phase system or that
the message only consists of a single sinusoid? Say if you put a
square pulse into a non-linear phase system then the above equation
for y(t) tells you nothing about the smearing of the pulse. All you
can gain from the above equation would be the group delay evaluated at
w0.

I've just done a search on "phase delay" on Google and it came back
with this page:

http://ccrma-www.stanford.edu/~jos/filters/Phase_Delay_Group.html

and it seems to make out that phase delay *is* the time that a
frequency component is delayed in seconds and it says that the group
delay should be used as the term for a narrow band of frequencies
where the phase can be assumed to be linear. This seems to contradicts
some of the interpretations given so far.

Here's another definition:

http://sepwww.stanford.edu/sep/prof/pvi/spec/paper_html/node18.html#SECTION00141000000000000000

and

http://sepwww.stanford.edu/sep/prof/pvi/spec/paper_html/node19.html


From reading these web pages I think I've contradicted what I've said
in a previous post but I don't think that matters too much in this
thread :)

Steve

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 03:05:10

Message: 155 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C559CB2.DCCECA7B@ieee.org>...

> I'll go out on a limb and state categorically that any network built
> with real -- therefor inevitably somewhat lossy -- components has a
> transfer function that is everywhere differentiable. If I'm wrong, the
> exceptions are few. Every continuous function can be considered flat in
> a region to within some tolerance, provided only that the region is
> small enough. In a filter, this means that there is a group delay
> associated with a "narrow enough" band around every frequency. Do we
> agree to that?

Jerry, I read the whole thread in all its pain and glory last night
and I'm certain that everybody understands exactly what group delay is
but no-one can explain it properly to the satisfaction of everybody
else. You were right when you asked for agreement on what the
definitions should be because I'm sure that is the problem. Whether
you'll get a consensus by next Christmas I'm not so sure.

Steve

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 29 Jan, 2002 04:04:49

Message: 156 of 454

steve41@totalise.co.uk (Steve) wrote in message

> I've just read this by Bob:
>
> ""Phase delay" doesn't define any two events. Time(phase delay) is
> just
> a meaningless abstraction. Change of phase from zero frequency to
> w(carrier), can not be converted into any actual physical time."
>
> Steve
>
> So phase delay is meaningful for linear phase filters. Or maybe I've
> lost the plot somewhere.
(>
> Steve

Bob writes

"Phase delay" is meaningless, in the sence that it doesn't apply to all circuits.

For example: Here is another somewhat meaningless formula:
To find the length of the daylight period, and the dark period:
 Ld = N/2, where N = the number of hours in a day.

(This formula is meaningful on June 21, at the equator.)

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 29 Jan, 2002 04:35:34

Message: 157 of 454

steve41@totalise.co.uk (Steve) wrote in message

> (Bob_Stanton) wrote in message
>
> > Yes. The speed at which a group propagates is given by the slope.
>
> I agree.
>
> > Now let's think about the physical meaning. I believe you think of the
> > "group" as the envelope information, riding down the carrier. Right?
> > So do I.
>
> Hmmm.
>

Bob writes

The term "envelope delay" usually refers to the delay of the envelope
waveform of a modulated carrier. "Group delay" can mean that, or it
can mean something else.

The term "group delay" can be applied to a complex waveform, such as a
square wave. In this case, the fundamental and the odd harmonics are
"the group".

A sinewave is a "group" of one.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 29 Jan, 2002 08:52:09

Message: 158 of 454

Steve wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C4489DE.C35323A8@ieee.org>...
>
> > Solitons are a special case where
> > uniform group velvety is enforced by nonlinearity.
>
> I agree with this one. I don't know what it means but it sounds nice and fluffy.
>
> Steve

It's been a while now, but I bet I meant "velocity". I probably flubbed
the spelling and let the checker guess wrong in correcting it.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 06:20:29

Message: 159 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C54CB76.6991DC34@ieee.org>...

> I'm willing to stick it out if you are. I can imagine so many fora in
> which this could have gotten ugly. We deserve to congratulate one
> another.

I think it came close on a number of occasions :)

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 06:25:44

Message: 160 of 454

steve41@totalise.co.uk (Steve) wrote in message news:<4d3ee211.0201282259.1d753513@posting.google.com>...
>
> But isn't this assuming that you've got a linear phase system or that
> the message only consists of a single sinusoid? Say if you put a
> square pulse into a non-linear phase system then the above equation
> for y(t) tells you nothing about the smearing of the pulse. All you
> can gain from the above equation would be the group delay evaluated at
> w0.

Sorry, I take it back, you did say linear phase filter. In mitigation
I had to get through a lot of posts to get here.

But where's the proof for a non-linear phase system :)

Steve

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: Steve Underwood

Date: 29 Jan, 2002 22:46:36

Message: 161 of 454

Jerry Avins wrote:

> Randy Yates wrote:
>
>>robert bristow-johnson wrote:
>>
>>>only 117 (that Google knows about).
>>>
>>We may get to 117,000 before we get it all
>>straightened out!
>
> I'm willing to stick it out if you are. I can imagine so many fora in
> which this could have gotten ugly. We deserve to congratulate one
> another.


Well, if this thing is actually drawing to a close it would seem the
group delay before it comes to its senses is about 19 days :)

Regards,
Steve

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 29 Jan, 2002 10:19:42

Message: 162 of 454

Steve wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C55964B.F1011604@ieee.org>...
>
> > For any network, each frequency has a group delay.
> > For any network, each frequency has a phase delay.
> >
> > The phase delay is beta/omega.
>
> Didn't the person who quoted this formula (Bob) say that this is only
> for linear phase systems? I don't agree with this if it is for
> non-linear phase systems because then it would contradict "Energy at a
> given frequency passes through the network with a delay equal to the
> group delay."
>
> > The group delay is the derivative of the phase delay with respect
> > to omega.
>
> Sorry for being pedantic but that should be negative derivative.

Being right isn't pedantic. Don't be sorry.
>
>
> > Energy at a given frequency passes through the network with a
> > delay equal to the group delay. (This may be the sticky one.)
>
> This was what I was taught last year and in Proakis & Manolakis (p332)
> it says:
>
> "Tg(w) = -d phi(w)/dw
>
> Tg(w) is usually called the envelope delay or the group delay of the
> filter. We interpret Tg(w) as the time delay that a signal component
> of frequency w undergoes as it passes from the input to the output of
> the system."
>
>
> > When the group delay of all components of a signal is the same,
> > that signal passes through the network unchanged in shape.
>
> Proakis & Manolakis then says:
>
> "Note that when phi(w) is linear, Tg(w) = constant. In this case all
> frequency components of the input signal undergo the same time delay."
>
> Steve

Sure. When "all frequency components of the input signal undergo the
same time delay," the input signal is not dispersed. Note that signals
of different frequencies with the same time delay necessarily have
different phase shifts. It is clearly wrong to think that phase delay
and time delay represent the same thing. (No one here has claimed that
they are.) What is required for a group of frequencies to have the same
time delay (for Tg(w) to be constant over a limited range of w) is a
looser constraint than constancy for all w. When only the looser
constraint applies, the phase delay -- - phi(w)/w -- of all the
frequencies in the group will differ from their common group delay. (It
seems absurd to me to maintain that each of these frequencies suffers a
delay from input to output different from what their combination does.
Superposition forbids that.)

Phase and group delays are slippery concepts, as we've seen here. It is
much easier (for me, anyway) to consider their reciprocals with respect
to an easily grasped quantity: distance in the case of transmission
lines and waveguides, and sections in the case of the iterative LC
structures that approximate them. With them, one can discuss the issues
in terms of radians/meter or radians/section and visualize them in terms
of how fast one must move to keep in step with the phase of a carrier or
the phase of an envelope (meters or sections per radian).

Any good book on transmission lines will have the applicable equations.
Once we have the group and phase velocities, it is easy to compute the
delays for a given distance (or number of sections). The notion of
transit time is immediately clear, too. Whatever we say about phase and
group delay in lumped circuits must be consistent with what we say about
then for transmission lines. (If not, we had better adopt other terms!)

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 29 Jan, 2002 09:07:50

Message: 163 of 454

steve41@totalise.co.uk (Steve) wrote in message news:<4d3ee211.0201282227.36dc3aab@posting.google.com>...
> rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201170744.4844492e@posting.google.com>...
>
> > I have seen some active filters, (looking on a circuit analysis
> > program) where the phase shift is positive in a portion of the
> > stopband. (It may be that my circuit analysis program is wrong.) If
> > the analysis program is correct however, there should be no negative
> > sign on "d phi/d freq".
> >
> > A negative sign on "d phi/d freq", would imply that time is running
> > backwards, at those frequenies where the phase shift is positive.
>
>
> Your circuit analysis program is wrong.
>
> Steve


Bob writes

Below is a schematic of a simple L/C notch filter.

   ----------R = 100 ----------------------------
   | | |
   | L 1.266 mH |
   | | QL = 100 |
  Gen | R = 100
   | C 20 uF |
   | | QC = 10,000 |
   | | |
   ----------------------------------------------
   |
  Gnd


The notch is at 1000 Hz.

At very low frequencies, the phase is near 0 degs. As the frequency
increases the phase shifts negatively, until it is -85.7 degs at the
frequency of 880 Hz. At 880 Hz the phase begins to shift positively!
At 1000 Hz the phase has risen to 0 degs. Above 1000 Hz it continues
to shift in the positive direction, until it reaches +84.9 degs, at
1130 Hz. Above 1130 Hz, it reverses again and shifts in the negative
direction.

From 880 Hz to 1130 Hz the phase shift is postive.

(Notch filters are sensitive to Q, so if you want to test the results
use the same component Qs.)

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 29 Jan, 2002 12:30:27

Message: 164 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> > Randy Yates wrote:
> > >
> > > I don't believe you have described a linear system since
T[r*x(t)] is
> > > not equal to r*T[x(t)], where x(t) is the voltage of the power
source
> > > connected to the one motor's stator. In other words, increasing
the voltage
> > > on the stator does not create a corresponding increase in voltage
> > > read on the scope.
> > > --
> > Oh? why do you think that?
>
> Maybe I just don't understand your analogy. Additionally, I am weak
in the area
> of electromechanical machines.
>
> The reason I made this statement is that I am under the impression
that
> increasing the voltage across the windings of a motor can do one of
> two things depending on the type of motor: a) increase the motor
speed,
> or b) increase the available torque. The motors' shafts are connected
> and you're measuring the voltage across a winding in the second
motor's
> stator, right?

Pardon; I was too brief. An induction motor is a transformer in which
the secondary is allowed to rotate. When the secondary is shorted, the
induced current(s) generates a field that interacts with the primary's
to generate a torque. With a well designed polyphase motor, the field's
magnitude remains substantially constant as it rotates (just like a
phasor) through a cycle. The rotors of most high-power induction motors
are wound to permit inserting a resistance in series for starting.
(Believe it or not, resistance increases the starting torque!) Most
wound rotors are single phase (that makes the starting box simpler),
but
there are reasons for polyphase rotors, especially when it is necessary
to interconnect a pair to turn in synch (like the motors that operate
vertical lift bridges) or drive loads at different speeds with the same
torque (like a differential).

A pair of identical motors with polyphase stators and rotors (with the
same number of poles but not necessarily the same number of phases)
wired rotor-to-rotor or stator-to-stator behaves like any other pair of
back-to-back transformers. If one motor's is connected to the line and
there is no electrical load on the other, only magnetizing currents
will
flow, and there will be no torque on either shaft. Line voltage will
appear at the stator of the second motor, however. In the case I
described, the shafts are not connected, and the torque is too small to
cause rotation unless current is drawn from the second stator. Turning
either will affect the phase of the output. There will be a slight
nonlinearity at full excitation, because the lowest overall loss for a
given size frame occurs with some iron saturation (the same is true of
any transformer), but the linearity will be quite good at 3/4
excitation
on down.

Another machine that can exhibit the same characteristic, small enough
to fit the palm of a hand, is the "differential" of a Selsyn system.
There's a diagram at http://www.gess.u1.net/docs/4-8.PDF You can
illustrate many surprising effects with rotating machines. Drive a
series-wound motor as a generator at constant speed, and use its output
to drive another series motor with a fly-wheel load. Hey, man! it's an
oscillator! starting, slowing, reversing; repeat. Can you see why?
>
  ...
>
> Given the complexity of your analogy, perhaps it would be good idea
to
> provide a schematic or block diagram? It would also help me to
understand
> your analogy if you indicate precisely what the input to this system
is (and
> what units the input takes on) and what the output of this system is
(and
> what units the output takes on).

It's not a very good analogy of anything, and it would be hard (in
general) to generate the modulated three-phase signal needed to drive
home the point. Rising to the challenge, I present a way: connect a
three-phase Variac to the line, with it's shaft horizontal, and it's
output connected to the first motor. Replace the knob with a bar
holding
a small seat at the far end, and a kid in the seat. Push the kid as if
on a swing. Watch the amplitude on the scope rise and fall.
Independently, adjust the phase of the 60 Hz by changing a shaft angle,
or change the frequency altogether by rotating a shaft continuously.

Ain't this fun?

Jerry

P.S. A Selsyn is built like a three-phase motor with a wound rotor of
many more than the usual number of turns. In practice, the stators are
wired together, "phase" to "phase", and the rotors connected to a
single-phase AC source. Each rotor generates a field with a particular
direction. Signals of different amplitude, but all the same phase as
the
rotor, are developed in the stator windings. When the locally induced
stator voltages are the same as the voltages coming down the wires,
there is no current. Otherwise, there is current that creates a torque
that aligns the shafts. A differential has an identical stator and a
three-phase rotor with a one-to-one turns ratio. With it's rotor wired
to one Selsyn and it's stator to another, it's shaft position sets the
equilibrium shaft angle of the pair. Again, see the diagram at
http://www.gess.u1.net/docs/4-8.PDF .
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of

From: Jerry Avins

Date: 29 Jan, 2002 12:52:25

Message: 165 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> > > > Yup. What is that something else?
> > >
> > > The group delay at w is time delay at w plus a factor related to the slope of the time
> > > delay at w. That is what it is using the mathematical definitions. If you're
> > > asking for a physical interpretation in the case when the time delay is not
> > > constant, then I cannot give you one.
> >
> > I don't get you. Group delay is time delay plus a factor? What is "time
> > delay", then?
>
> Time delay, or what I have been denoting as tau(w), is the time
> it takes a signal of frequency w to propagate through the system.
>
> Let me summarize the derivation I'm basing this on:
>
> First, I assert that phase is equivalent to time delay for a
> linear system. This is based on the Fourier transform property
>
> F[x(t-t0)] = exp(-j*w*t0)*X(w),
>
> which effectively provides the relationship between time delay
> at frequency w (tau(w)) and the phase at frequency w (phi(w)):
>
> phi(w) = w*tau(w).
>
> and
>
> tau(w) = phi(w)/w.

We disagree about how to interpret those facts. You would have it that
the time represents how long it takes for an input to reach the output.
I reject that, claiming instead that it represents how long one needs to
wait for the phase at the output to catch up to the phase at the input,
providing that both input and output are in steady state. It is
difficult to distinguish those assertions from the equations alone, but
relating them to transmission lines clarifies the issues involved.
>
> Then I'm using this in the definition for group delay
>
> gamma(w) = -d phi(w) / dw
>
> to come up with group delay as a function of time delay:
>
> -d phi(w) / dw = -tau(w) - w * d tau(w) / dw.
>
> Is that clear?

Now, yes.
>
> > Or did you mean phase delay? (We've been going at the so
> > long, that kind of slip wouldn't surprise me.)
>
> No, I meant time delay, i.e., tau(w) to be consistent with a prior post.
> I really would like to nix the term "phase delay" altogether since I
> think it's an ill-formed concept. I would like to work with time delay
> and phase when deriving and thinking about group delay.

Me too, except when the term "phase velocity" is useful. I believe that
if you examine those cases you will come to agree with me, but hey! if
it weren't my opinion, I wouldn't be saying that, would I? (Did Grant
say that first?)
>
  ...
> >
> > I'll go out on a limb and state categorically that any network built
> > with real -- therefor inevitably somewhat lossy -- components has a
> > transfer function that is everywhere differentiable. If I'm wrong, the
> > exceptions are few. Every continuous function can be considered flat in
> > a region to within some tolerance, provided only that the region is
> > small enough. In a filter, this means that there is a group delay
> > associated with a "narrow enough" band around every frequency. Do we
> > agree to that?
>
> Only as an approximation. Who said anything about approximations, though?
> What I've been hearing from you is that, uncategorically, group delay IS
> time delay, and the equations I'm seeing say it just ain't so.

It's not an approximation. Group delay exists wherever the derivative of
tau(w)/w exists. Just above, you wrote that yourself. Group delay is one
of the time delays one can define. It is the time it takes for inserted
energy to emerge. It is the delay of a message passed through the
network. It is not how far into the future the output phase will match
the present value at the input: that is phase delay.
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Rich Blizard

Date: 29 Jan, 2002 11:29:10

Message: 166 of 454


"Steve" <steve41@totalise.co.uk> wrote in message
news:4d3ee211.0201282227.36dc3aab@posting.google.com...
> rstanton2@stny.rr.com (Bob_Stanton) wrote in message
news:<67ef4d54.0201170744.4844492e@posting.google.com>...
>
> > I have seen some active filters, (looking on a circuit analysis
> > program) where the phase shift is positive in a portion of the
> > stopband. (It may be that my circuit analysis program is wrong.) If
> > the analysis program is correct however, there should be no negative
> > sign on "d phi/d freq".
> >
> > A negative sign on "d phi/d freq", would imply that time is running
> > backwards, at those frequenies where the phase shift is positive.
>
>
> Your circuit analysis program is wrong.
>
> Steve


No. The program is correct. Its trivially easy to design a minimum-phase
network (filter) for which the group delay is negative. As Heyser pointed
out 30 years ago, group delay has no physical meaning for minimum phase
systems. It really only has a physical meaning for non-minimum phase systems
over a narrow range of frequencies.

richb

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 29 Jan, 2002 15:27:30

Message: 167 of 454

Rich Blizard wrote:
>
> No. The program is correct. Its trivially easy to design a minimum-phase
> network (filter) for which the group delay is negative. As Heyser pointed
> out 30 years ago, group delay has no physical meaning for minimum phase
> systems. It really only has a physical meaning for non-minimum phase systems
> over a narrow range of frequencies.

Without reference to who's right and who's wrong, it is
good to hear someone who remembers Dick Heyser. Rich, I hope
to see more of your comments in the future!
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 29 Jan, 2002 12:46:57

Message: 168 of 454

rstanton2@stny.rr.com (Bob_Stanton) wrote in message

> Bob wrote
> The term "group delay" can be applied to a complex waveform, such as a
> square wave. In this case, the fundamental and the odd harmonics are
> "the group".
>
 
Bob writes

Looking at what I wrote (above), I see that I was *wrong*.

"Group delay", in the context we were using the term, is the slope of
the phase curve, at a given frequency. When I said: "group delay
applys to a complex waveform, such as a square wave", I was thinking
of how the group delay of a lowpass filter can cause pulse distortion
in a square wave.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 29 Jan, 2002 14:30:08

Message: 169 of 454

steve41@totalise.co.uk (Steve) wrote in message


>
> In previous posts that you've written I agree with what you say but
> now you've just contradicted yourself within a post. Above you said
> "The speed at which a group propagates is given by the slope." and I
> agree with that because that is the definition of group delay and
> therefore the time delay through a system. But above you have just
> said that "They all propagate at the same speed. They are even phase
> locked. These three sinewaves propagate at Time(group delay)."
> I don't agree with that. If you have a non-linear phase system where
> the group delays at fc+fm does not equal the group delay at fc-fm
> where fc is the carrier and fm is the message frequency (assuming a
> single sinusoid message as in your example and ignoring the carrier)
> then the sinusoids do not travel at the same speed and are not phase
> locked and you get phase distortion. If you meant linear phase system
> then I apologise

Bob writes:

You are right in saying the three sinewaves propagate at different
speeds through a non-linear phase system.

When a modulated carrier is used to measure envelope delay, the
modulation frequency must be low enough that the sidebands are within
the 'linear phase' portion of the device being measured. I was
thinking of this (measuring) condition, when I said the carrier and
sidebands travel through a device at the same speed.

In the real world the sidebands are often far enough apart in
frequency, that waveform distortion results. Distortion caused by the
varying group delay times of the device.


> Steve
> but I get the feeling that you are mistaking group
> delay with propagation time and they are not the same thing.

Bob
The slope of the phase curve (at any given frequency) is the
propagtion time. If you are thinking that 'propagation time' equals
"phase delay", than I would disagree with you.

> Steve
> As an alternative to DSP, from transmission lines:
> "For all components of a signal to be delayed by the same amount at a
> given point on a line, they must all propagate at the same velocity.
> Since the velocity at an angular frequency w is
>
> Vp = w/beta
>
> where Vp is the propagation velocity and beta is the phase phase shift
> index then if Vp is to remain constant as w varies, beta must be
> proportional to w. The line must have a linear phase characteristic."
>

Bob
The above is only true for linear phase networks.

> Just because a signal consists of a group of frequencies does not mean
> they propagate with the same group delay.
>

Bob
I agree. A group of signals may each have a different delay.

But, if that group of signals is a modulated sinewave, with the
modulation frequency being low enough that the sidebands are within
the linear phase region of a device, than the carrier and two
sidebands travel through the device, at the same speed

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 29 Jan, 2002 14:49:34

Message: 170 of 454

> Below is a schematic (again)of the L/C notch filter.
>
> ----------R = 100 ---------------------------
> | | |
> | L 1.266 mH |
> | | QL = 100 |
> Gen | R = 100
> | C 20 uF |
> | | QC = 10,000 |
> | | |
> ---------------------------------------------
> |
> Gnd
>

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 15:28:04

Message: 171 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C56BD8E.6CA1EBA6@ieee.org>...
>
> Sure. When "all frequency components of the input signal undergo the
> same time delay," the input signal is not dispersed. Note that signals
> of different frequencies with the same time delay necessarily have
> different phase shifts.

Yes, this is the reason for requiring a linearly decreasing phase
angle to avoid phase distortion.


> It is clearly wrong to think that phase delay
> and time delay represent the same thing. (No one here has claimed that
> they are.) What is required for a group of frequencies to have the same
> time delay (for Tg(w) to be constant over a limited range of w) is a
> looser constraint than constancy for all w. When only the looser
> constraint applies, the phase delay -- - phi(w)/w -- of all the
> frequencies in the group will differ from their common group delay.

Right, yes, I agree with you when you say it like that.


> (It
> seems absurd to me to maintain that each of these frequencies suffers a
> delay from input to output different from what their combination does.
> Superposition forbids that.)

I need clarification for the above,

Do you just mean that phase delay *is* just a value with no
significance to group delay, which I now agree to.

or

You say that it is absurd that each of these frequencies suffers a
delay from input to output that differs from that of the
combination's. But isn't that exactly what happens when a system has a
non-linear phase and therefore a non-constant group delay and
therefore the frequency components are delayed by differing amounts.
This is actually in the definition of group delay that you wrote
(concerning the delay of energy from input to output of a system).


> Phase and group delays are slippery concepts, as we've seen here.

Quite.

> It is much easier (for me, anyway) to consider their reciprocals with respect
> to an easily grasped quantity: distance in the case of transmission
> lines and waveguides, and sections in the case of the iterative LC
> structures that approximate them. With them, one can discuss the issues
> in terms of radians/meter or radians/section and visualize them in terms
> of how fast one must move to keep in step with the phase of a carrier or
> the phase of an envelope (meters or sections per radian).

I'm just studying all this RF stuff at the moment so I'll see if I can
gain some insight from it.

 
> Any good book on transmission lines will have the applicable equations.
> Once we have the group and phase velocities, it is easy to compute the
> delays for a given distance (or number of sections). The notion of
> transit time is immediately clear, too.

Transit time is just propagation time isn't it?


> Whatever we say about phase and
> group delay in lumped circuits must be consistent with what we say about
> then for transmission lines. (If not, we had better adopt other terms!)

I agree.

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 15:29:22

Message: 172 of 454

rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201290404.264d2f77@posting.google.com>...
>
> "Phase delay" is meaningless, in the sence that it doesn't apply to all circuits.
>
> For example: Here is another somewhat meaningless formula:
> To find the length of the daylight period, and the dark period:
> Ld = N/2, where N = the number of hours in a day.
>
> (This formula is meaningful on June 21, at the equator.)


Okay.

Steve

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 29 Jan, 2002 18:33:27

Message: 173 of 454

Bob_Stanton wrote:
>
> steve41@totalise.co.uk (Steve) wrote in message
>
> >
> > In previous posts that you've written I agree with what you say but
> > now you've just contradicted yourself within a post. Above you said
> > "The speed at which a group propagates is given by the slope." and I
> > agree with that because that is the definition of group delay and
> > therefore the time delay through a system. But above you have just
> > said that "They all propagate at the same speed. They are even phase
> > locked. These three sinewaves propagate at Time(group delay)."
> > I don't agree with that. If you have a non-linear phase system where
> > the group delays at fc+fm does not equal the group delay at fc-fm
> > where fc is the carrier and fm is the message frequency (assuming a
> > single sinusoid message as in your example and ignoring the carrier)
> > then the sinusoids do not travel at the same speed and are not phase
> > locked and you get phase distortion. If you meant linear phase system
> > then I apologise
>
> Bob writes:
>
> You are right in saying the three sinewaves propagate at different
> speeds through a non-linear phase system.
>
> When a modulated carrier is used to measure envelope delay, the
> modulation frequency must be low enough that the sidebands are within
> the 'linear phase' portion of the device being measured. I was
> thinking of this (measuring) condition, when I said the carrier and
> sidebands travel through a device at the same speed.
>
> In the real world the sidebands are often far enough apart in
> frequency, that waveform distortion results. Distortion caused by the
> varying group delay times of the device.
>
> > Steve
> > but I get the feeling that you are mistaking group
> > delay with propagation time and they are not the same thing.
>
> Bob
> The slope of the phase curve (at any given frequency) is the
> propagtion time. If you are thinking that 'propagation time' equals
> "phase delay", than I would disagree with you.
>
> > Steve
> > As an alternative to DSP, from transmission lines:
> > "For all components of a signal to be delayed by the same amount at a
> > given point on a line, they must all propagate at the same velocity.
> > Since the velocity at an angular frequency w is
> >
> > Vp = w/beta
> >
> > where Vp is the propagation velocity and beta is the phase phase shift
> > index then if Vp is to remain constant as w varies, beta must be
> > proportional to w. The line must have a linear phase characteristic."
> >
>
> Bob
> The above is only true for linear phase networks.
>
> > Just because a signal consists of a group of frequencies does not mean
> > they propagate with the same group delay.
> >
>
> Bob
> I agree. A group of signals may each have a different delay.
>
> But, if that group of signals is a modulated sinewave, with the
> modulation frequency being low enough that the sidebands are within
> the linear phase region of a device, than the carrier and two
> sidebands travel through the device, at the same speed
>
> Bob Stanton

I can't sort our who wrote what. Here's the straight poop according to
me: The slope of the phase vs. frequency time determines the propagation
time. When that curve is a straight line through the origin, all
frequencies are delayed by the same time and the circuit represents a
pure delay that accounts for the phase shift. When that curve is a
straight line not passing through origin, the propagation time is still
the same for all frequencies, but there is an additional phase shift not
associated with delay. In the second case, the delay at a particular
frequency can't be determined from phase measurements at that frequency.

Example: A Hilbert transformer' bandwidth can't extend to DC. (How long
would 90 degrees take at DC?) However, over its usable band, all
frequencies are equally delayed and the HT's phase vs. frequency plot is
straight. (You can see that its extrapolation misses the origin.) The
quarter-cycle "extra" phase shift is not related to a time delay.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 29 Jan, 2002 18:34:23

Message: 174 of 454

Bob_Stanton wrote:
>
> > Below is a schematic (again)of the L/C notch filter.
> >
> > ----------R = 100 ---------------------------
> > | | |
> > | L 1.266 mH |
> > | | QL = 100 |
> > Gen | R = 100
> > | C 20 uF |
> > | | QC = 10,000 |
> > | | |
> > ---------------------------------------------
> > |
> > Gnd
> >

So? JA
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 29 Jan, 2002 18:48:52

Message: 175 of 454

Bob_Stanton wrote:
>
> The slope of the phase curve (at any given frequency) is the
> propagtion time.

In general, it is not. It is in the special case the
phase is linear.

> If you are thinking that 'propagation time' equals
> "phase delay", than I would disagree with you.

Then you disagree not only with Steve and myself, but also
with Julius O. Smith at Stanford University:

http://www-ccrma.stanford.edu/~jos/filters/Phase_Delay_Group.html
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 29 Jan, 2002 19:02:21

Message: 176 of 454

Jerry Avins wrote:
> It is clearly wrong to think that phase delay
> and time delay represent the same thing.

It is clearly the case that they do represent the same thing,
if by time delay you mean a function of frequency w that
indicates the time for a sinusoid of frequency w to propagate
from the input to the output of the system.

> (No one here has claimed that
> they are.)

This is completely untrue. I have claimed precisely that several
times.

> What is required for a group of frequencies to have the same
> time delay (for Tg(w) to be constant over a limited range of w) is a
> looser constraint than constancy for all w.

Agreed.

> When only the looser
> constraint applies, the phase delay -- - phi(w)/w -- of all the
> frequencies in the group will differ from their common group delay.

No, it won't.

> (It
> seems absurd to me to maintain that each of these frequencies suffers a
> delay from input to output different from what their combination does.
> Superposition forbids that.)

Yes, that would be absurd.

> Phase and group delays are slippery concepts, as we've seen here.

And apparently we're not done yet.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 16:17:25

Message: 177 of 454

rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201290435.121b0b86@posting.google.com>...
 
> The term "envelope delay" usually refers to the delay of the envelope
> waveform of a modulated carrier. "Group delay" can mean that, or it
> can mean something else.

In the book DSP by Proakis & Manolakis it says that group delay and
envelope delay are one and the same.

Cn you describe when group delay is the same as the group delay and
when it is different.

From my reckoning, if the group delay is constant (linear phase) then
the modulated carrier is not phase distorted and so the modulated
waveform will be recovered without phase distortion and therefore
there is no ambiguity between say for example given points on the
message signal at the transmitter and at the receiver so there group
delay is the same as envelope delay as the delay of the message signal
is a pure delay. If the group delay is non-constant then there will be
phase distortion of the recovered message signal, there will be
ambiguity between points on the message signal at the transmitter and
the receiver due to the change in shape of the message waveform and
you can't say that envelope delay is the same as group delay because
for an example of a rectangular pulse, there will be phase distortion
so the pulse shape will distort so there will be a variable envelope
delay, and from the frequency domain, the group delay is non-constant
and the envelope delay and group delay cannot be compared because one
is related to the time domain and one is related to the freuqency
domain.
 
> The term "group delay" can be applied to a complex waveform, such as a
> square wave. In this case, the fundamental and the odd harmonics are
> "the group".
>
> A sinewave is a "group" of one.

I think we need to define whether group delay applies to a single
frequency, i.e. a graph of group delay is continuous over all
frequencies (for an analogue system) or whether it is a term that only
applies to *groups* of frequencies (where a group can consist of one
or more discrete frequencies or a continuous band of frequencies). I
was definitely taught last year that it is a continuous curve but from
what you have just said you seem to be lumping a large number of
discrete frequencies (in the case of a square wave) altogether as one
group.

The formula for group delay is -d(phi(w))/dw which is a continuous
function of frequency for analogue systems. For digital systems it'll
be discrete. Also, you have said that group delay is linked to the
*signal* and I definitely believe it is linked to a system. From the
formula, group delay is a function of the filter's phase response.
From the Proakis & Manolakis book:

"Tg(w) is usually called the envelope delay or the group delay OF THE
FILTER".

So a system has a group delay whether or not a signal is applied to it
so your view that group delay applies to the frequencies of a waveform
must be false.

This needs to be cleared up or else we'll keep going round and round
in circles :)

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 16:23:56

Message: 178 of 454

rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201290907.1815f312@posting.google.com>...
> steve41@totalise.co.uk (Steve) wrote in message news:<4d3ee211.0201282227.36dc3aab@posting.google.com>...

> > Your circuit analysis program is wrong.

> From 880 Hz to 1130 Hz the phase shift is postive.

Yes, sorry, I regretted that as soon as I posted it because I've seen
diagrams of phase responses that go down and then up.

Alright then, explain how we can make some frequencies go through a
filter before they've reached the filter :)

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 16:28:04

Message: 179 of 454

"Rich Blizard" <richard_blizard@hp.com> wrote in message news:<a36t6b$l67$1@web1.cup.hp.com>...
 
> No. The program is correct. Its trivially easy to design a minimum-phase
> network (filter) for which the group delay is negative. As Heyser pointed
> out 30 years ago, group delay has no physical meaning for minimum phase
> systems. It really only has a physical meaning for non-minimum phase systems
> over a narrow range of frequencies.

Yes, the diagram I first thought of after I had posted was the phase
response of a minimum phase filter which goes from zero, negative then
back to zero at Fs/2.

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 16:30:39

Message: 180 of 454

"Rich Blizard" <richard_blizard@hp.com> wrote in message news:<a36t6b$l67$1@web1.cup.hp.com>...

> It really only has a physical meaning for non-minimum phase systems
> over a narrow range of frequencies.


You wouldn't like to expand on that at all would you :)

Steve

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 29 Jan, 2002 20:47:47

Message: 181 of 454

Steve wrote:
>
> rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201290435.121b0b86@posting.google.com>...
>
> > The term "envelope delay" usually refers to the delay of the envelope
> > waveform of a modulated carrier. "Group delay" can mean that, or it
> > can mean something else.
>
> In the book DSP by Proakis & Manolakis it says that group delay and
> envelope delay are one and the same.

Indeed they are.
>
> Cn you describe when group delay is the same as the group delay and
> when it is different.

Group delay is always the same as group delay. I bet you knew that.
>
> From my reckoning, if the group delay is constant (linear phase) then

Whoa! Group delay being constant does not necessarily imply linear
phase.
> the modulated carrier is not phase distorted and so the modulated
> waveform will be recovered without phase distortion and therefore
> there is no ambiguity between say for example given points on the
> message signal at the transmitter and at the receiver so there group
> delay is the same as envelope delay as the delay of the message signal
> is a pure delay.

That's oversimplified. With a pure delay, the phase of carrier relative
to the modulation wouldn't change. It is either a pure delay (like a
typical FIR) of a pure delay with added phase shift (a hilbert
transformer is an example).

> If the group delay is non-constant then there will be
> phase distortion of the recovered message signal, there will be
> ambiguity between points on the message signal at the transmitter and
> the receiver due to the change in shape of the message waveform and
> you can't say that envelope delay is the same as group delay because
> for an example of a rectangular pulse, there will be phase distortion
> so the pulse shape will distort so there will be a variable envelope
> delay, and from the frequency domain, the group delay is non-constant
> and the envelope delay and group delay cannot be compared because one
> is related to the time domain and one is related to the freuqency
> domain.
>
> > The term "group delay" can be applied to a complex waveform, such as a
> > square wave. In this case, the fundamental and the odd harmonics are
> > "the group".
> >
> > A sinewave is a "group" of one.
>
> I think we need to define whether group delay applies to a single
> frequency, i.e. a graph of group delay is continuous over all
> frequencies (for an analogue system) or whether it is a term that only
> applies to *groups* of frequencies (where a group can consist of one
> or more discrete frequencies or a continuous band of frequencies). I
> was definitely taught last year that it is a continuous curve but from
> what you have just said you seem to be lumping a large number of
> discrete frequencies (in the case of a square wave) altogether as one
> group.

Iff the network has wide enough response to reproduce the squarewave
without distortion, then the there is _a_ group delay for it.
>
> The formula for group delay is -d(phi(w))/dw which is a continuous
> function of frequency for analogue systems. For digital systems it'll
> be discrete.

Oh? Are there only discrete frequencies that pass a digital filter? Some
will tell you that since the digital music is quantized on the storage
medium, only certain discrete amplitudes can be reproduced. Don't
believe any of that nonsense.

> Also, you have said that group delay is linked to the
> *signal* and I definitely believe it is linked to a system. From the
> formula, group delay is a function of the filter's phase response.
> From the Proakis & Manolakis book:
>
> "Tg(w) is usually called the envelope delay or the group delay OF THE
> FILTER".
>
> So a system has a group delay whether or not a signal is applied to it
> so your view that group delay applies to the frequencies of a waveform
> must be false.
>
> This needs to be cleared up or else we'll keep going round and round
> in circles :)

Yes indeed.
>
> Steve

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 29 Jan, 2002 20:51:45

Message: 182 of 454

Jerry Avins wrote:
>
> Bob_Stanton wrote:
> >
> > steve41@totalise.co.uk (Steve) wrote in message
> >
> > >
> > > In previous posts that you've written I agree with what you say but
> > > now you've just contradicted yourself within a post. Above you said
> > > "The speed at which a group propagates is given by the slope." and I
> > > agree with that because that is the definition of group delay and
> > > therefore the time delay through a system. But above you have just
> > > said that "They all propagate at the same speed. They are even phase
> > > locked. These three sinewaves propagate at Time(group delay)."
> > > I don't agree with that. If you have a non-linear phase system where
> > > the group delays at fc+fm does not equal the group delay at fc-fm
> > > where fc is the carrier and fm is the message frequency (assuming a
> > > single sinusoid message as in your example and ignoring the carrier)
> > > then the sinusoids do not travel at the same speed and are not phase
> > > locked and you get phase distortion. If you meant linear phase system
> > > then I apologise
> >
> > Bob writes:
> >
> > You are right in saying the three sinewaves propagate at different
> > speeds through a non-linear phase system.
> >
> > When a modulated carrier is used to measure envelope delay, the
> > modulation frequency must be low enough that the sidebands are within
> > the 'linear phase' portion of the device being measured. I was
> > thinking of this (measuring) condition, when I said the carrier and
> > sidebands travel through a device at the same speed.
> >
> > In the real world the sidebands are often far enough apart in
> > frequency, that waveform distortion results. Distortion caused by the
> > varying group delay times of the device.
> >
> > > Steve
> > > but I get the feeling that you are mistaking group
> > > delay with propagation time and they are not the same thing.
> >
> > Bob
> > The slope of the phase curve (at any given frequency) is the
> > propagtion time. If you are thinking that 'propagation time' equals
> > "phase delay", than I would disagree with you.
> >
> > > Steve
> > > As an alternative to DSP, from transmission lines:
> > > "For all components of a signal to be delayed by the same amount at a
> > > given point on a line, they must all propagate at the same velocity.
> > > Since the velocity at an angular frequency w is
> > >
> > > Vp = w/beta
> > >
> > > where Vp is the propagation velocity and beta is the phase phase shift
> > > index then if Vp is to remain constant as w varies, beta must be
> > > proportional to w. The line must have a linear phase characteristic."
> > >
> >
> > Bob
> > The above is only true for linear phase networks.
> >
> > > Just because a signal consists of a group of frequencies does not mean
> > > they propagate with the same group delay.
> > >
> >
> > Bob
> > I agree. A group of signals may each have a different delay.
> >
> > But, if that group of signals is a modulated sinewave, with the
> > modulation frequency being low enough that the sidebands are within
> > the linear phase region of a device, than the carrier and two
> > sidebands travel through the device, at the same speed
> >
> > Bob Stanton
>
> I can't sort our who wrote what. Here's the straight poop according to
> me: The slope of the phase vs. frequency time determines the propagation

Typo! The line above should be:
me: The slope of the phase vs. frequency curve determines the propagation

> time. When that curve is a straight line through the origin, all
> frequencies are delayed by the same time and the circuit represents a
> pure delay that accounts for the phase shift. When that curve is a
> straight line not passing through origin, the propagation time is still
> the same for all frequencies, but there is an additional phase shift not
> associated with delay. In the second case, the delay at a particular
> frequency can't be determined from phase measurements at that frequency.
>
> Example: A Hilbert transformer' bandwidth can't extend to DC. (How long
> would 90 degrees take at DC?) However, over its usable band, all
> frequencies are equally delayed and the HT's phase vs. frequency plot is
> straight. (You can see that its extrapolation misses the origin.) The
> quarter-cycle "extra" phase shift is not related to a time delay.
>
> Jerry
> --
> Engineering is the art of making what you want from things you can get.
> -----------------------------------------------------------------------


--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 29 Jan, 2002 20:52:30

Message: 183 of 454

Jerry Avins wrote:
>
  ...
>
> I can't sort our who wrote what. Here's the straight poop according to
> me: The slope of the phase vs. frequency time determines the propagation

Typo! The line above should be:
me: The slope of the phase vs. frequency curve determines the propagation

> time. When that curve is a straight line through the origin, all
> frequencies are delayed by the same time and the circuit represents a
> pure delay that accounts for the phase shift. When that curve is a
> straight line not passing through origin, the propagation time is still
> the same for all frequencies, but there is an additional phase shift not
> associated with delay. In the second case, the delay at a particular
> frequency can't be determined from phase measurements at that frequency.
>
  ...

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 29 Jan, 2002 20:57:36

Message: 184 of 454

Randy Yates wrote:
>
> Bob_Stanton wrote:
> >
> > The slope of the phase curve (at any given frequency) is the
> > propagtion time.
>
> In general, it is not. It is in the special case the
> phase is linear.
>
> > If you are thinking that 'propagation time' equals
> > "phase delay", than I would disagree with you.
>
> Then you disagree not only with Steve and myself, but also
> with Julius O. Smith at Stanford University:
>
> http://www-ccrma.stanford.edu/~jos/filters/Phase_Delay_Group.html
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

Randy,

I think he's wrong for the same reason I think you are. How are we to
settle this? Textbooks at ten paces? I suppose it might be worthwhile to
define "propagation", but I'm tired. Maybe tomorrow.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 29 Jan, 2002 18:32:34

Message: 185 of 454

Randy Yates <euschya@rtp.ericsson.com> wrote in message news:<3C5734E4.17BA28C5@rtp.ericsson.com>...
> Bob_Stanton wrote:
> >
> > The slope of the phase curve (at any given frequency) is the
> > propagtion time.
>
> In general, it is not. It is in the special case the
> phase is linear.
>
> > If you are thinking that 'propagation time' equals
> > "phase delay", than I would disagree with you.
>
> Then you disagree not only with Steve and myself, but also
> with Julius O. Smith at Stanford University:
>
Bob writes

Let me tell you what I think of as 'propagation time'. Suppose we are
connected through a system or device, and I'm continiously sending a
sinewave to your receiver. When an event happens, I want to let you
know. I do this by increasing the level of the sinewave. Eventually,
that increased level works its way through the system to your
receiver.

I consider the time from when I increased the level, until that
increased level reached your receiver as the 'propagation time'.

What I did by increasing the level was: amplititude modulate the
sinewave. The time it took of the amplititude change to get through
the system was: the 'envelope delay'. Therefore 'envelope delay' =
'propagation time'.


Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 29 Jan, 2002 18:51:34

Message: 186 of 454

One last attempt at the schematic.


     -------R = 100 ------------------
     | | |
     | | |
     | L 1.266 mH |
    Gen | R = 100
     | | |
     | C 20 uF |
     | | |
     ---------------------------------
     |
    Gnd

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 19:33:44

Message: 187 of 454

rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201291246.39f8b2de@posting.google.com>...
 
> Looking at what I wrote (above), I see that I was *wrong*.

No wonder this thread has been going on for so long. :)

Steve

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 29 Jan, 2002 22:39:19

Message: 188 of 454

Steve wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C56BD8E.6CA1EBA6@ieee.org>...
> >
> > Sure. When "all frequency components of the input signal undergo the
> > same time delay," the input signal is not dispersed. Note that signals
> > of different frequencies with the same time delay necessarily have
> > different phase shifts.
>
> Yes, this is the reason for requiring a linearly decreasing phase
> angle to avoid phase distortion.
>
> > It is clearly wrong to think that phase delay
> > and time delay represent the same thing. (No one here has claimed that
> > they are.) What is required for a group of frequencies to have the same
> > time delay (for Tg(w) to be constant over a limited range of w) is a
> > looser constraint than constancy for all w. When only the looser
> > constraint applies, the phase delay -- - phi(w)/w -- of all the
> > frequencies in the group will differ from their common group delay.
>
> Right, yes, I agree with you when you say it like that.
>
> > (It
> > seems absurd to me to maintain that each of these frequencies suffers a
> > delay from input to output different from what their combination does.
> > Superposition forbids that.)
>
> I need clarification for the above,
>
> Do you just mean that phase delay *is* just a value with no
> significance to group delay, which I now agree to.

It is clearly significant for group delay. Its derivative _is_ group
delay.
>
> or
>
> You say that it is absurd that each of these frequencies suffers a
> delay from input to output that differs from that of the
> combination's. But isn't that exactly what happens when a system has a
> non-linear phase and therefore a non-constant group delay and
> therefore the frequency components are delayed by differing amounts.
> This is actually in the definition of group delay that you wrote
> (concerning the delay of energy from input to output of a system).

I mean that the individual delays are equal to the collective delay;
we've been calling that the group delay. There is a single delay for all
the components of a group when the phase delays of all the components
have a delay proportional to frequency, PLUS A CONSTANT over the band of
interest. When that constant is zero, group delay and phase delay are
the same.
>
> > Phase and group delays are slippery concepts, as we've seen here.
>
> Quite.
>
> > It is much easier (for me, anyway) to consider their reciprocals with respect
> > to an easily grasped quantity: distance in the case of transmission
> > lines and waveguides, and sections in the case of the iterative LC
> > structures that approximate them. With them, one can discuss the issues
> > in terms of radians/meter or radians/section and visualize them in terms
> > of how fast one must move to keep in step with the phase of a carrier or
> > the phase of an envelope (meters or sections per radian).
>
> I'm just studying all this RF stuff at the moment so I'll see if I can
> gain some insight from it.
>
>
> > Any good book on transmission lines will have the applicable equations.
> > Once we have the group and phase velocities, it is easy to compute the
> > delays for a given distance (or number of sections). The notion of
> > transit time is immediately clear, too.
>
> Transit time is just propagation time isn't it?
>
> > Whatever we say about phase and
> > group delay in lumped circuits must be consistent with what we say about
> > then for transmission lines. (If not, we had better adopt other terms!)
>
> I agree.
>
> Steve


--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 19:48:32

Message: 189 of 454

rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201291430.7f7fec42@posting.google.com>...

> > As an alternative to DSP, from transmission lines:
> > "For all components of a signal to be delayed by the same amount at a
> > given point on a line, they must all propagate at the same velocity.
> > Since the velocity at an angular frequency w is
> >
> > Vp = w/beta
> >
> > where Vp is the propagation velocity and beta is the phase phase shift
> > index then if Vp is to remain constant as w varies, beta must be
> > proportional to w. The line must have a linear phase characteristic."
> >
>
> Bob
> The above is only true for linear phase networks.

Why. beta will have a unique value for each frequency.


> > Just because a signal consists of a group of frequencies does not mean
> > they propagate with the same group delay.
> >
>
> Bob
> I agree. A group of signals may each have a different delay.
>
> But, if that group of signals is a modulated sinewave, with the
> modulation frequency being low enough that the sidebands are within
> the linear phase region of a device, than the carrier and two
> sidebands travel through the device, at the same speed

I think we should all know by now that a linear phase response results
in a signal with a pure delay, i.e. all frequency components
travelling at the same speed.

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 22:01:29

Message: 190 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C573147.E3BB65DE@ieee.org>...
 
> I can't sort our who wrote what. Here's the straight poop according to
> me: The slope of the phase vs. frequency time determines the propagation
> time. When that curve is a straight line through the origin, all
> frequencies are delayed by the same time and the circuit represents a
> pure delay that accounts for the phase shift.

Agreed.

> When that curve is a
> straight line not passing through origin,

Do you mean a straight line like in the following diagram because the
phase has to be antisymmetric?:

    phi |
        |
\ |
 \ |\
  \ | \
   \ | \
----\-------\------ w
     \ | \
      \ | \
       \| \
        | \
        |
        |



> the propagation time is still
> the same for all frequencies, but there is an additional phase shift not
> associated with delay. In the second case, the delay at a particular
> frequency can't be determined from phase measurements at that frequency.

Agreed.

 
> Example: A Hilbert transformer' bandwidth can't extend to DC. (How long
> would 90 degrees take at DC?) However, over its usable band, all
> frequencies are equally delayed and the HT's phase vs. frequency plot is
> straight. (You can see that its extrapolation misses the origin.) The
> quarter-cycle "extra" phase shift is not related to a time delay.

I've found another example.

"A filter is said to have a linear phase response if its phase
response satisfies one of the following relationships:

phi(w) = -alpha * w (1)

phi(w) = beta - aplha * w (2)

where alpha and beta are constant. If a filter satisfies the condition
given equation 1 it will have both constant group and constant phase
delay responses. It can be shown that for condition (1) to be
satisfied the impulse response of the filter must have positive
symmetry. The phase response in this case is simply a function of the
filter length:

h(n) = h(N-n-1)

alpha = (N-1)/2

When the condition given in equation (2) only is satisfied the filter
will have a constant group delay only. In this case, the impulse
response of the filter has negative symmetry:

h(n) = -h(N-n-1)

alpha = (N-1)/2

beta = pi/2"

However, just to put the cat amongst the pigeons it says this above
these definitions:

"If we consider a signal that consists of several frequency components
the phase delay of the filter is the amount of time delay each
frequency component of the signal suffers in going through the filter.
The group delay on the other hand is the average time delay the
composite signal suffers at each frequency. Mathematically, ......
equations we've seen before"

BTW, this is out of "Digital Signal Processing: A Practical Approach"
by Ifeachor & Jervis pages 280-281

I've just looked in 5 DSP books and the definitions of group and phase
delay are very inconsistent:


Ifeachor & Jervise:

Group delay = average time delay of the composite signal

Phase delay = amount of time each frequency component of the signal
suffers in going through the filter.


Rick Lyons:

Group delay = "can be thought of as the propagation time delay of the
envelope of an amplitude-modulated signal as it passes through a
digital filter". In a figure it shows the output of a filter to an
input signal consisting of 3 sinusoids. The figure shows a linear
phase filter's output and a non-linear phase filter's output. In both
cases the output waveform is delayed by the group delay of the linear
phase filter but the non-linear phase filter's waveform is distorted.

Phase delay is mentioned in the appendix definition for phase response
"the phase response, sometimes called phase delay"


Proakis & Manolakis:

Group delay = Tg(w) is usually called the envelope delay or the group
delay of the filter. We interpret Tg(w) as teh time delay that a
signal component of frequency w undergoes as it passes from the input
to the output of the system.

Phase delay isn't mentioned.


Mitra:

Group delay function = provides a measure of the linearity of the
phase function and produces a delayed version of input when Tg =
const, and they mention that there is a grpdelay function in Matlab's
signal processing toolbox.

Phase delay not mentioned


Leland Jackson:

Group delay = all frequency components of an input sequence are
similarly delayed in the output sequence

Phase delay not mentioned

Now the web pages:


http://www-ccrma.stanford.edu/~jos/filters/Phase_Delay_Group.html


"For any phase function, the group delay may be interpreted as the
time delay of the amplitude envelope of a sinusoid at frequency w"

"The phase delay gives the time delay in seconds experienced by each
sinusoidal component of the input signal"

This web page gives a proof that an input sinusoid is delayed by the
phase delay.


They all give the same equations as have been used in this thread.


I would say that the consensus view is:

Phase delay = the time delay of a frequency component (I'm convinced
by the maths on the above web page and the two books and one web page
that describe phase delay do seem to agree)

So I think Randy is right here.


Group delay = average propagation delay of the envelope and a measure
of the phase linearity of a system.

So Jerry and Bob are right here.


And for a linear phase system, the now infamous

Group delay = Phase delay


And Robert Bristow-Johnson's maths sums it all up pretty concisely.

Steve (preparing to be flamed from all sides apart from Robert)

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 22:01:29

Message: 191 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C573147.E3BB65DE@ieee.org>...
 
> I can't sort our who wrote what. Here's the straight poop according to
> me: The slope of the phase vs. frequency time determines the propagation
> time. When that curve is a straight line through the origin, all
> frequencies are delayed by the same time and the circuit represents a
> pure delay that accounts for the phase shift.

Agreed.

> When that curve is a
> straight line not passing through origin,

Do you mean a straight line like in the following diagram because the
phase has to be antisymmetric?:

    phi |
        |
\ |
 \ |\
  \ | \
   \ | \
----\-------\------ w
     \ | \
      \ | \
       \| \
        | \
        |
        |



> the propagation time is still
> the same for all frequencies, but there is an additional phase shift not
> associated with delay. In the second case, the delay at a particular
> frequency can't be determined from phase measurements at that frequency.

Agreed.

 
> Example: A Hilbert transformer' bandwidth can't extend to DC. (How long
> would 90 degrees take at DC?) However, over its usable band, all
> frequencies are equally delayed and the HT's phase vs. frequency plot is
> straight. (You can see that its extrapolation misses the origin.) The
> quarter-cycle "extra" phase shift is not related to a time delay.

I've found another example.

"A filter is said to have a linear phase response if its phase
response satisfies one of the following relationships:

phi(w) = -alpha * w (1)

phi(w) = beta - aplha * w (2)

where alpha and beta are constant. If a filter satisfies the condition
given equation 1 it will have both constant group and constant phase
delay responses. It can be shown that for condition (1) to be
satisfied the impulse response of the filter must have positive
symmetry. The phase response in this case is simply a function of the
filter length:

h(n) = h(N-n-1)

alpha = (N-1)/2

When the condition given in equation (2) only is satisfied the filter
will have a constant group delay only. In this case, the impulse
response of the filter has negative symmetry:

h(n) = -h(N-n-1)

alpha = (N-1)/2

beta = pi/2"

However, just to put the cat amongst the pigeons it says this above
these definitions:

"If we consider a signal that consists of several frequency components
the phase delay of the filter is the amount of time delay each
frequency component of the signal suffers in going through the filter.
The group delay on the other hand is the average time delay the
composite signal suffers at each frequency. Mathematically, ......
equations we've seen before"

BTW, this is out of "Digital Signal Processing: A Practical Approach"
by Ifeachor & Jervis pages 280-281

I've just looked in 5 DSP books and the definitions of group and phase
delay are very inconsistent:


Ifeachor & Jervise:

Group delay = average time delay of the composite signal

Phase delay = amount of time each frequency component of the signal
suffers in going through the filter.


Rick Lyons:

Group delay = "can be thought of as the propagation time delay of the
envelope of an amplitude-modulated signal as it passes through a
digital filter". In a figure it shows the output of a filter to an
input signal consisting of 3 sinusoids. The figure shows a linear
phase filter's output and a non-linear phase filter's output. In both
cases the output waveform is delayed by the group delay of the linear
phase filter but the non-linear phase filter's waveform is distorted.

Phase delay is mentioned in the appendix definition for phase response
"the phase response, sometimes called phase delay"


Proakis & Manolakis:

Group delay = Tg(w) is usually called the envelope delay or the group
delay of the filter. We interpret Tg(w) as teh time delay that a
signal component of frequency w undergoes as it passes from the input
to the output of the system.

Phase delay isn't mentioned.


Mitra:

Group delay function = provides a measure of the linearity of the
phase function and produces a delayed version of input when Tg =
const, and they mention that there is a grpdelay function in Matlab's
signal processing toolbox.

Phase delay not mentioned


Leland Jackson:

Group delay = all frequency components of an input sequence are
similarly delayed in the output sequence

Phase delay not mentioned

Now the web pages:


http://www-ccrma.stanford.edu/~jos/filters/Phase_Delay_Group.html


"For any phase function, the group delay may be interpreted as the
time delay of the amplitude envelope of a sinusoid at frequency w"

"The phase delay gives the time delay in seconds experienced by each
sinusoidal component of the input signal"

This web page gives a proof that an input sinusoid is delayed by the
phase delay.


They all give the same equations as have been used in this thread.


I would say that the consensus view is:

Phase delay = the time delay of a frequency component (I'm convinced
by the maths on the above web page and the two books and one web page
that describe phase delay do seem to agree)

So I think Randy is right here.


Group delay = average propagation delay of the envelope and a measure
of the phase linearity of a system.

So Jerry and Bob are right here.


And for a linear phase system, the now infamous

Group delay = Phase delay


And Robert Bristow-Johnson's maths sums it all up pretty concisely.

Steve (preparing to be flamed from all sides apart from Robert)

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 22:18:25

Message: 192 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C5750C3.C59897BD@ieee.org>...
 
> > From my reckoning, if the group delay is constant (linear phase) then
>
> Whoa! Group delay being constant does not necessarily imply linear
> phase.

Okay, piecewise linear.
 
> > the modulated carrier is not phase distorted and so the modulated
> > waveform will be recovered without phase distortion and therefore
> > there is no ambiguity between say for example given points on the
> > message signal at the transmitter and at the receiver so there group
> > delay is the same as envelope delay as the delay of the message signal
> > is a pure delay.
>
> That's oversimplified. With a pure delay, the phase of carrier relative
> to the modulation wouldn't change. It is either a pure delay (like a
> typical FIR) of a pure delay with added phase shift (a hilbert
> transformer is an example).

Okay. Up to now I've just been thinking about phase responses that go
through the origin as otherwise my head might fall off.

 
> Iff the network has wide enough response to reproduce the squarewave
> without distortion, then the there is _a_ group delay for it.

Yes, I've just come to that conclusion after looking at some books.

 
> > The formula for group delay is -d(phi(w))/dw which is a continuous
> > function of frequency for analogue systems. For digital systems it'll
> > be discrete.
>
> Oh? Are there only discrete frequencies that pass a digital filter? Some
> will tell you that since the digital music is quantized on the storage
> medium, only certain discrete amplitudes can be reproduced. Don't
> believe any of that nonsense.

Yeah, I should have known better.

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 29 Jan, 2002 22:50:45

Message: 193 of 454

rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201291832.4e9344b8@posting.google.com>...
 
> Let me tell you what I think of as 'propagation time'. Suppose we are
> connected through a system or device, and I'm continiously sending a
> sinewave to your receiver. When an event happens, I want to let you
> know. I do this by increasing the level of the sinewave. Eventually,
> that increased level works its way through the system to your
> receiver.
>
> I consider the time from when I increased the level, until that
> increased level reached your receiver as the 'propagation time'.
>
> What I did by increasing the level was: amplititude modulate the
> sinewave. The time it took of the amplititude change to get through
> the system was: the 'envelope delay'. Therefore 'envelope delay' =
> 'propagation time'.

Now I do agree with the sound of that.

Steve

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 30 Jan, 2002 11:09:50

Message: 194 of 454

Steve wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C573147.E3BB65DE@ieee.org>...
>
> > I can't sort our who wrote what. Here's the straight poop according to
> > me: The slope of the phase vs. frequency time determines the propagation
> > time. When that curve is a straight line through the origin, all
> > frequencies are delayed by the same time and the circuit represents a
> > pure delay that accounts for the phase shift.
>
> Agreed.
>
> > When that curve is a
> > straight line not passing through origin,
>
> Do you mean a straight line like in the following diagram because the
> phase has to be antisymmetric?:

Maybe. If the jump would be removed by unwrapping, then certainly. If
not, then yes provided the signal is confined to a single segment.
>
> phi |
> |
> \ |
> \ |\
> \ | \
> \ | \
> ----\-------\------ w
> \ | \
> \ | \
> \| \
> | \
> |
> |
>
> > the propagation time is still
> > the same for all frequencies, but there is an additional phase shift not
> > associated with delay. In the second case, the delay at a particular
> > frequency can't be determined from phase measurements at that frequency.
>
> Agreed.
>
>
> > Example: A Hilbert transformer' bandwidth can't extend to DC. (How long
> > would 90 degrees take at DC?) However, over its usable band, all
> > frequencies are equally delayed and the HT's phase vs. frequency plot is
> > straight. (You can see that its extrapolation misses the origin.) The
> > quarter-cycle "extra" phase shift is not related to a time delay.
>
> I've found another example.
>
> "A filter is said to have a linear phase response if its phase
> response satisfies one of the following relationships:
>
> phi(w) = -alpha * w (1)
>
> phi(w) = beta - aplha * w (2)
>
> where alpha and beta are constant. If a filter satisfies the condition
> given equation 1 it will have both constant group and constant phase
> delay responses. It can be shown that for condition (1) to be
> satisfied the impulse response of the filter must have positive
> symmetry. The phase response in this case is simply a function of the
> filter length:

I know about even and odd symmetry. Are positive and negative symmetry
synonyms for that?
>
> h(n) = h(N-n-1)
>
> alpha = (N-1)/2
>
> When the condition given in equation (2) only is satisfied the filter
> will have a constant group delay only. In this case, the impulse
> response of the filter has negative symmetry:
>
> h(n) = -h(N-n-1)
>
> alpha = (N-1)/2
>
> beta = pi/2"
>
> However, just to put the cat amongst the pigeons it says this above
> these definitions:
>
> "If we consider a signal that consists of several frequency components
> the phase delay of the filter is the amount of time delay each
> frequency component of the signal suffers in going through the filter.
> The group delay on the other hand is the average time delay the
> composite signal suffers at each frequency. Mathematically, ......
> equations we've seen before"

I can show you similar wrong statements in books going back to the 40s.
The reasoning is circular. If the time delay is measured by looking at
phase measurements, then the numbers fit. Taken at face value, the
statement implies that while the group as a whole stays together, each
member of the group is delayed a duration different from all the others.
So we have left only the Cheshire cat's smile: that's fantasy fiction.
>
> BTW, this is out of "Digital Signal Processing: A Practical Approach"
> by Ifeachor & Jervis pages 280-281
>
> I've just looked in 5 DSP books and the definitions of group and phase
> delay are very inconsistent:
>
> Ifeachor & Jervise:
>
> Group delay = average time delay of the composite signal
>
> Phase delay = amount of time each frequency component of the signal
> suffers in going through the filter.
>
> Rick Lyons:
>
> Group delay = "can be thought of as the propagation time delay of the
> envelope of an amplitude-modulated signal as it passes through a
> digital filter". In a figure it shows the output of a filter to an
> input signal consisting of 3 sinusoids. The figure shows a linear
> phase filter's output and a non-linear phase filter's output. In both
> cases the output waveform is delayed by the group delay of the linear
> phase filter but the non-linear phase filter's waveform is distorted.
>
> Phase delay is mentioned in the appendix definition for phase response
> "the phase response, sometimes called phase delay"
>
> Proakis & Manolakis:
>
> Group delay = Tg(w) is usually called the envelope delay or the group
> delay of the filter. We interpret Tg(w) as teh time delay that a
> signal component of frequency w undergoes as it passes from the input
> to the output of the system.
>
> Phase delay isn't mentioned.
>
> Mitra:
>
> Group delay function = provides a measure of the linearity of the
> phase function and produces a delayed version of input when Tg =
> const, and they mention that there is a grpdelay function in Matlab's
> signal processing toolbox.
>
> Phase delay not mentioned
>
> Leland Jackson:
>
> Group delay = all frequency components of an input sequence are
> similarly delayed in the output sequence
>
> Phase delay not mentioned
>
> Now the web pages:
>
> http://www-ccrma.stanford.edu/~jos/filters/Phase_Delay_Group.html
>
> "For any phase function, the group delay may be interpreted as the
> time delay of the amplitude envelope of a sinusoid at frequency w"
>
> "The phase delay gives the time delay in seconds experienced by each
> sinusoidal component of the input signal"
>
> This web page gives a proof that an input sinusoid is delayed by the
> phase delay.

No. It's only a proof that the phase is delayed by the phase delay.
Claiming that the delay of the phase is the delay of the wave is called
"begging the question".
>
> They all give the same equations as have been used in this thread.
>
> I would say that the consensus view is:
>
> Phase delay = the time delay of a frequency component (I'm convinced
> by the maths on the above web page and the two books and one web page
> that describe phase delay do seem to agree)
>
> So I think Randy is right here.

The consensus of authors who copy from one another points to that, but
none of those authors need to think about waveguides and transmission
lines, where the same equations apply. The author of EM waves texts
don't make that mistake because if they did, they would need to believe
that individual sine waves in waveguides travel faster than light if
they travel at all, and that a pulse can emerge from a transmission line
long after all its component frequencies.
>
> Group delay = average propagation delay of the envelope and a measure
> of the phase linearity of a system.
>
> So Jerry and Bob are right here.
>
> And for a linear phase system, the now infamous
>
> Group delay = Phase delay
>
> And Robert Bristow-Johnson's maths sums it all up pretty concisely.
>
> Steve (preparing to be flamed from all sides apart from Robert)

What's to flame about? Your egregious errors were all committed in good
faith! :-) The equations are all correct. It's just that most authors
don't interpret them properly. It's hard to wrap one's head around this
                   +————+
                +——| A |———— output A
                | +————+
      input ————|
                | +————+
                +——| B |———— output B
                   +————+
when told that outputs A and B have equal delays, but that the phases of
the outputs differ. Certainly, if one uses phase to measure or calculate
the delays, that is impossible. Nevertheless, people are paid to design
such things; they exist.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 30 Jan, 2002 11:12:38

Message: 195 of 454

Randy Yates wrote:
> A system T[] has a propagation time tau if, for any
> input x(t), T[x(t)] = x(t-tau).

Sorry, I should have allowed for some amount of gain:

A system T[] has a propagation time tau if, for any
input x(t), T[x(t)] = A*x(t-tau), where A is a constant.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 30 Jan, 2002 11:09:47

Message: 196 of 454

Bob_Stanton wrote:
>
> Randy Yates <euschya@rtp.ericsson.com> wrote in message news:<3C5734E4.17BA28C5@rtp.ericsson.com>...
> > Bob_Stanton wrote:
> > >
> > > The slope of the phase curve (at any given frequency) is the
> > > propagtion time.
> >
> > In general, it is not. It is in the special case the
> > phase is linear.
> >
> > > If you are thinking that 'propagation time' equals
> > > "phase delay", than I would disagree with you.
> >
> > Then you disagree not only with Steve and myself, but also
> > with Julius O. Smith at Stanford University:
> >
> Bob writes
>
> Let me tell you what I think of as 'propagation time'. Suppose we are
> connected through a system or device, and I'm continiously sending a
> sinewave to your receiver. When an event happens, I want to let you
> know. I do this by increasing the level of the sinewave. Eventually,
> that increased level works its way through the system to your
> receiver.
>
> I consider the time from when I increased the level, until that
> increased level reached your receiver as the 'propagation time'.
>
> What I did by increasing the level was: amplititude modulate the
> sinewave. The time it took of the amplititude change to get through
> the system was: the 'envelope delay'. Therefore 'envelope delay' =
> 'propagation time'.

Bob,

You just did a very reasonable and good thing: you defined what
it is you meant in more detail. I applaud you, even though I'm
about to throw a wrench into your logic.

You say "I consider the time from when I increased the level, until that
increased level reached your receiver as the 'propagation time'." Consider
the following scenario: You have an underdamped system at the frequencies
around your sine wave frequency. Thus when you increase the amplitude of
the input sine wave in, say, a linear fashion, the increase in amplitude at
the output of the system rings up and down a bit, i.e., there is overshoot
and ringing.

Now here's the clincher: what do you then consider the delay of the envelope?
Would it be when the ringing amplitude first passes through the steady-state
magnitude? Or when it reaches 0.01 percent of its steady-state value? Or
when it reachs 0.0001 percent of its steady-state value? Or yet some
other criteria?

The problem is that, unless your system has identical time delay at all
frequencies that are present in the input signal, there is no such thing
as a general "propagation time." At least not how I define it. Here's
how I define it. A system T[] has a propagation time tau if, for any
input x(t), T[x(t)] = x(t-tau).

Thus, unless we're speaking of a system with a pure time delay for all
frequencies (or at least for all frequencies which the input may take
on), there is no such thing as general "propagation time."
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 30 Jan, 2002 11:16:37

Message: 197 of 454

Steve wrote:
>
> rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0201291832.4e9344b8@posting.google.com>...
>
> > Let me tell you what I think of as 'propagation time'. Suppose we are
> > connected through a system or device, and I'm continiously sending a
> > sinewave to your receiver. When an event happens, I want to let you
> > know. I do this by increasing the level of the sinewave. Eventually,
> > that increased level works its way through the system to your
> > receiver.
> >
> > I consider the time from when I increased the level, until that
> > increased level reached your receiver as the 'propagation time'.
> >
> > What I did by increasing the level was: amplititude modulate the
> > sinewave. The time it took of the amplititude change to get through
> > the system was: the 'envelope delay'. Therefore 'envelope delay' =
> > 'propagation time'.
>
> Now I do agree with the sound of that.
>
> Steve

Of course. Anything else is illogical, as Spock would say. (Ahem:
"envelope delay" and "group delay" are synonyms.)

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 30 Jan, 2002 11:17:08

Message: 198 of 454

Randy Yates wrote:
>
> Randy Yates wrote:
> > A system T[] has a propagation time tau if, for any
> > input x(t), T[x(t)] = x(t-tau).
>
> Sorry, I should have allowed for some amount of gain:
>
> A system T[] has a propagation time tau if, for any
> input x(t), T[x(t)] = A*x(t-tau), where A is a constant.

OK, this is good. I'm getting a little further in my
own understanding here.

I really want to be more general than the above definition.
Recall that the "frequency response" of a system consists
of two parts: the "amplitude response" and the "phase response".
I'd like to allow for an amplitude response that changes
as a function of frequency. Thus I would amend my definition
above to be this:

A system T[] has a propagation time tau if the phase
response of the system, phi(w), is

  phi(w) = w*tau.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 30 Jan, 2002 11:19:21

Message: 199 of 454

Randy Yates wrote:
> phi(w) = w*tau.

   phi(w) = -w*tau.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 30 Jan, 2002 11:33:02

Message: 200 of 454

Steve wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C5750C3.C59897BD@ieee.org>...
>
  ...
> >
> > That's oversimplified. With a pure delay, the phase of carrier relative
> > to the modulation wouldn't change. It is either a pure delay (like a
> > typical FIR) of a pure delay with added phase shift (a hilbert
> > transformer is an example).
>
> Okay. Up to now I've just been thinking about phase responses that go
> through the origin as otherwise my head might fall off.
>
>
Linear pieces of phase response curves that _don't_ point to the origin
are exactly the ones that have a constant group delay different from its
phase delay. I know it makes heads spin (if not fall off), but that's
what this thread is about.

  ...

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 30 Jan, 2002 12:11:53

Message: 201 of 454

Steve wrote:
>
  ...
>
> I think we should all know by now that a linear phase response results
> in a signal with a pure delay, i.e. all frequency components
> travelling at the same speed.
>
> Steve

I hope we know better! The special case of linear phase response that
passes through the origin is a pure delay, but a general linear phase
response is a pure delay plus a constant phase shift. The amount of
delay is determined by the slope. Phase responses that have pieces of
linear regions have constant group delays in those regions. In general,
those linear portions do not point to the origin. Those linear portions
and misconceptions surrounding them are the meat of this thread.

Jerry

P.S. Your phrase "traveling at the same speed" moves one's thoughts in
the direction of transmission lines. The concept doesn't really apply to
filters and such.
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 30 Jan, 2002 13:22:00

Message: 202 of 454

Steve wrote:
>
> Proakis & Manolakis:
>
> Group delay = Tg(w) is usually called the envelope delay or the group
> delay of the filter. We interpret Tg(w) as teh time delay that a
> signal component of frequency w undergoes as it passes from the input
> to the output of the system.

This is patently wrong. Consider a Hilbert transformer (don't puke,
Jerry!). To simplify things a bit, let's just consider positive
frequencies (after all, there's no such thing as negative frequency,
right??? ;)). Then the phase response is a constant 90 degrees. Thus,
by the definition of group delay as d phi(w) / dw, the time delay
is 0 for all positive frequencies!?! No wait: you CAN'T have a time
delay of zero for all positive frequencies and also have a phase
of 90 degrees for all positive frequencies. Bzzzzt! (Sorry, Proakis
and Manolakis, I greatly respect your textbook - it is usually
the first one I turn to as a DSP reference - but you are wrong
here.)
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jordan Rosenthal

Date: 30 Jan, 2002 13:50:27

Message: 203 of 454

Randy,

Something to think about: I am not sure you should use the frequency
domain in your definition because some signals don't have Fourier
transforms. And while the idea of the frequency domain doesn't mean
anything in these cases, the idea of propagation time should probably
still exist. I guess you could always preface the defintiion with, "if
the fourier transform of a signal exists, then its propagation time is
defined as...."

Jordan

Randy Yates wrote:

> Randy Yates wrote:
> > phi(w) = w*tau.
>
> phi(w) = -w*tau.
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 30 Jan, 2002 14:19:54

Message: 204 of 454

Randy Yates wrote:
>
> Steve wrote:
> >
> > Proakis & Manolakis:
> >
> > Group delay = Tg(w) is usually called the envelope delay or the group
> > delay of the filter. We interpret Tg(w) as teh time delay that a
> > signal component of frequency w undergoes as it passes from the input
> > to the output of the system.
>
> This is patently wrong. Consider a Hilbert transformer (don't puke,
> Jerry!). To simplify things a bit, let's just consider positive
> frequencies (after all, there's no such thing as negative frequency,
> right??? ;)). Then the phase response is a constant 90 degrees. Thus,
> by the definition of group delay as d phi(w) / dw, the time delay
> is 0 for all positive frequencies!?! No wait: you CAN'T have a time
> delay of zero for all positive frequencies and also have a phase
> of 90 degrees for all positive frequencies. Bzzzzt! (Sorry, Proakis
> and Manolakis, I greatly respect your textbook - it is usually
> the first one I turn to as a DSP reference - but you are wrong
> here.)
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

Don't go off the deep end, friend. The description of a Hilbert
transformer that you're using is a theoretical construct and a
theoretical impossibility, like an ideal filter. As you say, the
universe isn't old enough to experience a quadrature shift at DC.
Moreover, the HT, like a delayless low-pass isn't causal. So that's not
what we're about. Ask some of the RF guys at Ericcson how they do single
sideband.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 30 Jan, 2002 14:29:43

Message: 205 of 454

Jerry Avins wrote:
> Don't go off the deep end, friend. The description of a Hilbert
> transformer that you're using is a theoretical construct and a
> theoretical impossibility, like an ideal filter.

I think you meant "...and a practical impossibility," right?

> As you say, the
> universe isn't old enough to experience a quadrature shift at DC.
> Moreover, the HT, like a delayless low-pass isn't causal.

I'm sorry - where did we ever assert that group delay was only
defined for practical systems? As far as I have seen, it applies
to all LTI systems, of which a Hilbert transformer is an example
of.

No, I'm afraid I do stick by my assertion here, Jerry.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 30 Jan, 2002 19:43:06

Message: 206 of 454

In article <3C58203E.64DCFBB8@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
>Steve wrote:
>>
>> Jerry Avins <jya@ieee.org> wrote in message news:<3C5750C3.C59897BD@ieee.org>...
>>
> ...
>> >
>> > That's oversimplified. With a pure delay, the phase of carrier relative
>> > to the modulation wouldn't change. It is either a pure delay (like a
>> > typical FIR) of a pure delay with added phase shift (a hilbert
>> > transformer is an example).
>>
>> Okay. Up to now I've just been thinking about phase responses that go
>> through the origin as otherwise my head might fall off.
>>
>>
>Linear pieces of phase response curves that _don't_ point to the origin
>are exactly the ones that have a constant group delay different from its
>phase delay. I know it makes heads spin (if not fall off), but that's
>what this thread is about.

Consider the negation system:

 ---> [ y[n] = -x[n] ] --->

If my head hasn't fallen off, I think this can reasonably
considered to have a phase delay of pi at all frequencies, and a
group delay of 0. At any rate, if you ran a sinusoid through it
at whatever frequency you like, and had someone look at the input
versus the output, they might reasonably conclude that your system
is a half-cycle delay system.

Of course, my head may well have fallen off.

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 30 Jan, 2002 15:20:36

Message: 207 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> > Don't go off the deep end, friend. The description of a Hilbert
> > transformer that you're using is a theoretical construct and a
> > theoretical impossibility, like an ideal filter.
>
> I think you meant "...and a practical impossibility," right?

I would say that if theory shows that a device need data infinitely far
into the past and future, then theory shows that thing to be impossible.
>
> > As you say, the
> > universe isn't old enough to experience a quadrature shift at DC.
> > Moreover, the HT, like a delayless low-pass isn't causal.
>
> I'm sorry - where did we ever assert that group delay was only
> defined for practical systems? As far as I have seen, it applies
> to all LTI systems, of which a Hilbert transformer is an example
> of.

Only in buildable systems can we take measurements that might belie a
flawed interpretation. When I wrote of Hilbert transformers, I should
have specified the kind that people actually build: truncated so as to
be realizable, and causal, so as to work in real time. Such an HT will
exhibit a pure time delay and a phase delay derived from that, but with
pi/4 added or subtracted (designer's choice.)
>
> No, I'm afraid I do stick by my assertion here, Jerry.

Once more into the fray ... :<(
> --
Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 30 Jan, 2002 15:30:09

Message: 208 of 454

amolitor-at@visi-dot-com.com wrote:
>
> In article <3C58203E.64DCFBB8@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
> >Steve wrote:
> >>
> >> Jerry Avins <jya@ieee.org> wrote in message news:<3C5750C3.C59897BD@ieee.org>...
> >>
> > ...
> >> >
> >> > That's oversimplified. With a pure delay, the phase of carrier relative
> >> > to the modulation wouldn't change. It is either a pure delay (like a
> >> > typical FIR) of a pure delay with added phase shift (a hilbert
> >> > transformer is an example).
> >>
> >> Okay. Up to now I've just been thinking about phase responses that go
> >> through the origin as otherwise my head might fall off.
> >>
> >>
> >Linear pieces of phase response curves that _don't_ point to the origin
> >are exactly the ones that have a constant group delay different from its
> >phase delay. I know it makes heads spin (if not fall off), but that's
> >what this thread is about.
>
> Consider the negation system:
>
> ---> [ y[n] = -x[n] ] --->
>
> If my head hasn't fallen off, I think this can reasonably
> considered to have a phase delay of pi at all frequencies, and a
> group delay of 0. At any rate, if you ran a sinusoid through it
> at whatever frequency you like, and had someone look at the input
> versus the output, they might reasonably conclude that your system
> is a half-cycle delay system.
>
> Of course, my head may well have fallen off.

Head's still on. If you add a quadrature channel (there are lot's of
ways to split a bandlimited signal into two channels in quadrature; a
Hilbert transformer does it with pure delay) and it's inversion, then
it's possible by mixing to have any phase you want. Authors consider the
cases of pure delay and minimum phase, draw conclusions about them, and
assume those conclusions are universal. They're not.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 30 Jan, 2002 15:36:49

Message: 209 of 454

Jerry Avins wrote:
> When I wrote of Hilbert transformers, I should
> have specified the kind that people actually build: truncated so as to
> be realizable, and causal, so as to work in real time.

Fine. Specify such a system and...

> Such an HT will
> exhibit a pure time delay and a phase delay derived from that, but with
> pi/4 added or subtracted (designer's choice.)

...I will show that even that practical system does NOT have a pure time
delay and that the group delay will be, more or less, 0.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 30 Jan, 2002 16:20:13

Message: 210 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> > When I wrote of Hilbert transformers, I should
> > have specified the kind that people actually build: truncated so as to
> > be realizable, and causal, so as to work in real time.
>
> Fine. Specify such a system and...
>
> > Such an HT will
> > exhibit a pure time delay and a phase delay derived from that, but with
> > pi/4 added or subtracted (designer's choice.)
>
> ...I will show that even that practical system does NOT have a pure time
> delay and that the group delay will be, more or less, 0.
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

Here are the coefficients of a 95-tap FIR Hilbert transformer:

0.012968356057
-0.000000925478
 0.004565063143
-0.000000981961
 0.005367321130
-0.000001418443
 0.006264604227
-0.000002124458
 0.007265867091
-0.000003262684
 0.008385541048
-0.000002491023
 0.009632791617
-0.000004505603
 0.011036451183
-0.000002411853
 0.012606082128
-0.000002994233
 0.014378490559
-0.000004562961
 0.016391538622
-0.000003893787
 0.018688732098
-0.000003624699
 0.021338816015
-0.000003475208
 0.024436682380
-0.000004882137
 0.028115007472
-0.000004217606
 0.032564593998
-0.000002903150
 0.038083741900
-0.000003074407
 0.045157631947
-0.000002770520
 0.054622042423
-0.000002436822
 0.068056634443
-0.000002034174
 0.088850987471
-0.000001667179
 0.125821268493
-0.000000460455
 0.211301783677
 0.000000673200
 0.636317596463
 0.000000000000
-0.636317596463
-0.000000673200
-0.211301783677
 0.000000460455
-0.125821268493
 0.000001667179
-0.088850987471
 0.000002034174
-0.068056634443
 0.000002436822
-0.054622042423
 0.000002770520
-0.045157631947
 0.000003074407
-0.038083741900
 0.000002903150
-0.032564593998
 0.000004217606
-0.028115007472
 0.000004882137
-0.024436682380
 0.000003475208
-0.021338816015
 0.000003624699
-0.018688732098
 0.000003893787
-0.016391538622
 0.000004562961
-0.014378490559
 0.000002994233
-0.012606082128
 0.000002411853
-0.011036451183
 0.000004505603
-0.009632791617
 0.000002491023
-0.008385541048
 0.000003262684
-0.007265867091
 0.000002124458
-0.006264604227
 0.000001418443
-0.005367321130
 0.000000981961
-0.004565063143
 0.000000925478
-0.012968356057

The delay through this filter is 47 samples. At every frequency between
Fs/100 and 49*Fs/100, the frequency response is within half a dB of
zero. The phase shift is very nearly 90 degrees after the delay is
subtracted out. I designed it with ScopeFIR, I hope properly. A windowed
(hence truncated) theoretic HT has alternate coefficients identically
zero, and might need fewer calculations despite having more taps.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 30 Jan, 2002 14:49:31

Message: 211 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C57317F.D330A31E@ieee.org>...
> Bob_Stanton wrote:
> >
> > > Below is a schematic (again)of the L/C notch filter.
> > >
> > > ----------R = 100 ---------------------------
> > > | | |
> > > | L 1.266 mH |
> > > | | QL = 100 |
> > > Gen | R = 100
> > > | C 20 uF |
> > > | | QC = 10,000 |
> > > | | |
> > > ---------------------------------------------
> > > |
> > > Gnd
> > >
>
> So? JA

Bob writes

The text was in the previous message, where the schematic didn't come
out clean.

This is just a simple circuit that shows phase can shift in the
posititve direction, in part of the band.

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 30 Jan, 2002 18:10:40

Message: 212 of 454

Bob_Stanton wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C57317F.D330A31E@ieee.org>...
> > Bob_Stanton wrote:
> > >
> > > > Below is a schematic (again)of the L/C notch filter.
> > > >
> > > > ----------R = 100 ---------------------------
> > > > | | |
> > > > | L 1.266 mH |
> > > > | | QL = 100 |
> > > > Gen | R = 100
> > > > | C 20 uF |
> > > > | | QC = 10,000 |
> > > > | | |
> > > > ---------------------------------------------
> > > > |
> > > > Gnd
> > > >
> >
> > So? JA
>
> Bob writes
>
> The text was in the previous message, where the schematic didn't come
> out clean.
>
> This is just a simple circuit that shows phase can shift in the
> posititve direction, in part of the band.

That's not unusual. Lead-lag circuits are common in control systems;
they exhibit a similar response. It is a minimum-phase circuit, and as
such can't have a single group delay for a wide range of frequencies.

If you want a really interesting case, consider a waveguide. With an air
dielectric, the geometric mean of the phase and group delays at any
given propagating frequency is the speed of light. According to the
"axioms" of some in this thread, single frequencies travel in a guide
faster than light. It would trouble me to have to believe that.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 31 Jan, 2002 01:25:22

Message: 213 of 454

steve41@totalise.co.uk (Steve) writes:

(snip)
>> Now let's think about the physical meaning. I believe you think of the
>> "group" as the envelope information, riding down the carrier. Right?
>> So do I.

(snip)
>In previous posts that you've written I agree with what you say but
>now you've just contradicted yourself within a post. Above you said
>"The speed at which a group propagates is given by the slope." and I
>agree with that because that is the definition of group delay and
>therefore the time delay through a system. But above you have just
>said that "They all propagate at the same speed. They are even phase
>locked. These three sinewaves propagate at Time(group delay)."
>I don't agree with that. If you have a non-linear phase system where
>the group delays at fc+fm does not equal the group delay at fc-fm
>where fc is the carrier and fm is the message frequency (assuming a
>single sinusoid message as in your example and ignoring the carrier)
>then the sinusoids do not travel at the same speed and are not phase
>locked and you get phase distortion. If you meant linear phase system
>then I apologise but I get the feeling that you are mistaking group
>delay with propagation time and they are not the same thing.
>As an alternative to DSP, from transmission lines:
>"For all components of a signal to be delayed by the same amount at a
>given point on a line, they must all propagate at the same velocity.
>Since the velocity at an angular frequency w is

>Vp = w/beta

>where Vp is the propagation velocity and beta is the phase phase shift
>index then if Vp is to remain constant as w varies, beta must be
>proportional to w. The line must have a linear phase characteristic."

>Just because a signal consists of a group of frequencies does not mean
>they propagate with the same group delay.

In a linear system phase delay = group delay.

w=v k, w/k=phase velocity=v dw/dk=group velocity=v

In a not-too-nonlinear system, they can be different.

(group velocity is group delay per unit distance in a continuous
medium. Consider a light wave travelling through glass.)

Usually group delay should be used for a small range of frequencies,
approximating the limit dw --> 0. Now, asking about the
change in group delay with frequency, is a different question.

For the group delay to be meaningful the phase delay should be
relatively smooth so that the derivative is reasonably constant.
If it is not, and the derivative of the group delay is significant,
then in most cases the group delay is not very useful.

Consider that the group delay, as defined in this discussion,
can be negative. It will do this very near a resonance peak.
(In optics, this leads to a negative index of refraction.)
That does not mean that a pulse will come out before it went in,
but that what comes out, if anything, won't look at all like
what went in. That is, the phase relationship is so mixed up
that it isn't useful to measure anymore.

-- glen

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 30 Jan, 2002 17:29:40

Message: 214 of 454

Randy Yates <euschya@rtp.ericsson.com> wrote in message

> You just did a very reasonable and good thing: you defined what
> it is you meant in more detail. I applaud you, even though I'm
> about to throw a wrench into your logic.
>
> You say "I consider the time from when I increased the level, until that
> increased level reached your receiver as the 'propagation time'." Consider
> the following scenario: You have an underdamped system at the frequencies
> around your sine wave frequency. Thus when you increase the amplitude of
> the input sine wave in, say, a linear fashion, the increase in amplitude at
> the output of the system rings up and down a bit, i.e., there is overshoot
> and ringing.
>
> Now here's the clincher: what do you then consider the delay of the envelope?
> Would it be when the ringing amplitude first passes through the steady-state
> magnitude? Or when it reaches 0.01 percent of its steady-state value? Or
> when it reachs 0.0001 percent of its steady-state value? Or yet some
> other criteria?
>
> The problem is that, unless your system has identical time delay at all
> frequencies that are present in the input signal, there is no such thing
> as a general "propagation time." At least not how I define it. Here's
> how I define it. A system T[] has a propagation time tau if, for any
> input x(t), T[x(t)] = x(t-tau).
>
> Thus, unless we're speaking of a system with a pure time delay for all
> frequencies (or at least for all frequencies which the input may take
> on), there is no such thing as general "propagation time."

Bob writes

I agree. "General propagation time" is hard to define.

I have found new reasons to believe your position on "phase delay" is
correct. It will take me time to sort things out.

The weather here is cold, cloudy, and snowy. :-| The beachs in
Florida are WARM and SUNNY. :-) What should I do?? Stay here and
work on this group delay thread? Or maybe go for a long drive toward
the south? Humm. Humm. Tough decision.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 31 Jan, 2002 01:49:46

Message: 215 of 454

Jerry Avins <jya@ieee.org> writes:

(snip)

>I can't sort our who wrote what. Here's the straight poop according to
>me: The slope of the phase vs. frequency time determines the propagation
>time. When that curve is a straight line through the origin, all
>frequencies are delayed by the same time and the circuit represents a
>pure delay that accounts for the phase shift.

I agree!

>When that curve is a straight line not passing through origin,
>the propagation time is still the same for all frequencies,
>but there is an additional phase shift not associated with delay.
>In the second case, the delay at a particular frequency can't
>be determined from phase measurements at that frequency.

How about when, over the region of interest the curve is close
to a straigt line. If that line were extended to the origin,
it would not pass through the origin. Now, the propagation
time won't be the same for all frequencies, but will be usually
nearly the same.

It is the change in propagation time that causes the phase
shift, and I think the only thing that is really required is
that the change be nearly linear in frequency.

I believe that there are cases with waveguides where the phase
velocity is very much different than the group velocity.

-- glen

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 31 Jan, 2002 02:05:36

Message: 216 of 454

Jerry Avins <jya@ieee.org> writes:

>> The formula for group delay is -d(phi(w))/dw which is a continuous
>> function of frequency for analogue systems. For digital systems it'll
>> be discrete.

>Oh? Are there only discrete frequencies that pass a digital filter? Some
>will tell you that since the digital music is quantized on the storage
>medium, only certain discrete amplitudes can be reproduced. Don't
>believe any of that nonsense.

Yes. Consider the Fourier transform of the signal on a CD.
The signal goes to zero at the beginning and the end, so only
frequencies that are multiples of 1/2T where T is the length
of the CD are allowed. That is close enough to continuous for
most people and most CDs. About 1,800,000,000 different frequencies
for a normal CD. The spacing is about 100uHz.

(This is due to the finite length of the signal, not that it
is sampled.)

-- glen

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 31 Jan, 2002 02:16:12

Message: 217 of 454

Randy Yates <euschya@rtp.ericsson.com> writes:
(snip)
>You just did a very reasonable and good thing: you defined what
>it is you meant in more detail. I applaud you, even though I'm
>about to throw a wrench into your logic.

>You say "I consider the time from when I increased the level, until that
>increased level reached your receiver as the 'propagation time'." Consider
>the following scenario: You have an underdamped system at the frequencies
>around your sine wave frequency. Thus when you increase the amplitude of
>the input sine wave in, say, a linear fashion, the increase in amplitude at
>the output of the system rings up and down a bit, i.e., there is overshoot
>and ringing.

How about right on the edge of the resonance peak of a Q=1000000 system.

>Now here's the clincher: what do you then consider the delay of the envelope?
>Would it be when the ringing amplitude first passes through the steady-state
>magnitude? Or when it reaches 0.01 percent of its steady-state value? Or
>when it reachs 0.0001 percent of its steady-state value? Or yet some
>other criteria?

>The problem is that, unless your system has identical time delay at all
>frequencies that are present in the input signal, there is no such thing
>as a general "propagation time." At least not how I define it. Here's
>how I define it. A system T[] has a propagation time tau if, for any
>input x(t), T[x(t)] = x(t-tau).

A very long time if Q=1000000

-- glen

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 30 Jan, 2002 18:17:31

Message: 218 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C581ACE.DECDCDEA@ieee.org>...
> Steve wrote:

> > where alpha and beta are constant. If a filter satisfies the condition
> > given equation 1 it will have both constant group and constant phase
> > delay responses. It can be shown that for condition (1) to be
> > satisfied the impulse response of the filter must have positive
> > symmetry. The phase response in this case is simply a function of the
> > filter length:
>
> I know about even and odd symmetry. Are positive and negative symmetry
> synonyms for that?

Yes. I've seen symmteric and anti-symmetric used too.

 
> > "If we consider a signal that consists of several frequency components
> > the phase delay of the filter is the amount of time delay each
> > frequency component of the signal suffers in going through the filter.
> > The group delay on the other hand is the average time delay the
> > composite signal suffers at each frequency. Mathematically, ......
> > equations we've seen before"
>
> I can show you similar wrong statements in books going back to the 40s.
> The reasoning is circular. If the time delay is measured by looking at
> phase measurements, then the numbers fit. Taken at face value, the
> statement implies that while the group as a whole stays together, each
> member of the group is delayed a duration different from all the others.

Okay.


> So we have left only the Cheshire cat's smile: that's fantasy fiction.

I didn't think you'd have heard of the Cheshire cat. I'm in sunny
Cheshire now.
 
 
> > This web page gives a proof that an input sinusoid is delayed by the
> > phase delay.
>
> No. It's only a proof that the phase is delayed by the phase delay.
> Claiming that the delay of the phase is the delay of the wave is called
> "begging the question".

Am I right in thinking that your definition of phase delay is
something along the lines?

Phase delay is the time difference between a sinusoid with phase phi
entering a system and the sinusoid propagating to a place where the
phase is phi at or beyond the output.

 
> The consensus of authors who copy from one another points to that,

I had a feeling you would say something like that :)

 
> > Steve (preparing to be flamed from all sides apart from Robert)
>
> What's to flame about? Your egregious errors were all committed in good
> faith! :-)

Ah, this is a very British trait Jerry. If you're walking down the
street in Britain and someone walks _into you_ then you alologise to
them. Well actually both people alologise to each other, i.e. we tend
to apologise for things that are not our fault.


> The equations are all correct. It's just that most authors
> don't interpret them properly. It's hard to wrap one's head around this
> +————+
> +——| A |———— output A
> | +————+
> input ————|
> | +————+
> +——| B |———— output B
> +————+
> when told that outputs A and B have equal delays, but that the phases of
> the outputs differ.

If systems A and B were transmission lines with equal propagation
velocity but differing impedance then I assume the signals would
appear at the outputs at the same time but with different phases
between the voltage and current waveforms so there must have been a
phase change of some kind.

Steve

Subject: i don't think there are enough posts in the "Physical meaning of

From: Randy Yates

Date: 30 Jan, 2002 21:34:40

Message: 219 of 454

Jerry Avins wrote:
> > > I'll go out on a limb and state categorically that any network built
> > > with real -- therefor inevitably somewhat lossy -- components has a
> > > transfer function that is everywhere differentiable. If I'm wrong, the
> > > exceptions are few. Every continuous function can be considered flat in
> > > a region to within some tolerance, provided only that the region is
> > > small enough. In a filter, this means that there is a group delay
> > > associated with a "narrow enough" band around every frequency. Do we
> > > agree to that?
> >
> > Only as an approximation. Who said anything about approximations, though?
> > What I've been hearing from you is that, uncategorically, group delay IS
> > time delay, and the equations I'm seeing say it just ain't so.
>
> It's not an approximation.

You just said in the prior post, "Every continuous function can be considered
flat in a region TO WITHIN SOME TOLERANCE." If it weren't an approximation,
then it would be EXACTLY flat.

> Group delay exists wherever the derivative of
> tau(w)/w exists. Just above, you wrote that yourself. Group delay is one
> of the time delays one can define. It is the time it takes for inserted
> energy to emerge.

Define precisely what "the time it takes for inserted energy to emerge"
means. I'll bet you cannot.

> It is the delay of a message passed through the
> network.

Again, very ambiguous.

> It is not how far into the future the output phase will match
> the present value at the input: that is phase delay.

Oh but it IS that when the phase delay is constant. But it
is something else when it's not.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 30 Jan, 2002 21:35:52

Message: 220 of 454

glen herrmannsfeldt wrote:
>
> Jerry Avins <jya@ieee.org> writes:
>
> >> The formula for group delay is -d(phi(w))/dw which is a continuous
> >> function of frequency for analogue systems. For digital systems it'll
> >> be discrete.
>
> >Oh? Are there only discrete frequencies that pass a digital filter? Some
> >will tell you that since the digital music is quantized on the storage
> >medium, only certain discrete amplitudes can be reproduced. Don't
> >believe any of that nonsense.
>
> Yes. Consider the Fourier transform of the signal on a CD.
> The signal goes to zero at the beginning and the end, so only
> frequencies that are multiples of 1/2T where T is the length
> of the CD are allowed. That is close enough to continuous for
> most people and most CDs. About 1,800,000,000 different frequencies
> for a normal CD. The spacing is about 100uHz.
>
> (This is due to the finite length of the signal, not that it
> is sampled.)
>
> -- glen

This is an artifact of performing the the FFT, which of course you
needn't do. It doesn't mean the frequencies aren't there, just that you
can't enumerate them. If this lack distresses you, just pad the data
with 5,400,000,000 zeroes, to get a total of 7,200,000,000 frequencies,
which should be quite enough for even the most refined ear.

Look at another way: in practice, the samples go to a DAC whose output
passes through a reconstruction filter. It is the output of the filter
that ultimately drives the transducer. By then, the digitization is
gone.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 30 Jan, 2002 22:03:12

Message: 221 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > Jerry Avins wrote:
> > > When I wrote of Hilbert transformers, I should
> > > have specified the kind that people actually build: truncated so as to
> > > be realizable, and causal, so as to work in real time.
> >
> > Fine. Specify such a system and...
> >
> > > Such an HT will
> > > exhibit a pure time delay and a phase delay derived from that, but with
> > > pi/4 added or subtracted (designer's choice.)
> >
> > ...I will show that even that practical system does NOT have a pure time
> > delay and that the group delay will be, more or less, 0.
> > --
> > Randy Yates
> > DSP Engineer, Sony Ericsson Mobile Communications
> > Research Triangle Park, NC, USA
> > randy.yates@ericsson.com, 919-472-1124
>
> Here are the coefficients of a 95-tap FIR Hilbert transformer:
> [...]

Jerry,

If you subtract out the excess phase delay, then the phase response
will be flat. Thus the group delay will be 0. <Gong!> You lose.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 30 Jan, 2002 22:34:58

Message: 222 of 454

Steve wrote:
>
  ...
>
> Am I right in thinking that your definition of phase delay is
> something along the lines?
>
> Phase delay is the time difference between a sinusoid with phase phi
> entering a system and the sinusoid propagating to a place where the
> phase is phi at or beyond the output.

Phase delay is the difference in fractions or multiples of a period
between a waveform at two places. It is not the time delay.
>
>
  ...
>
> > The equations are all correct. It's just that most authors
> > don't interpret them properly. It's hard to wrap one's head around this
> > +————+
> > +——| A |———— output A
> > | +————+
> > input ————|
> > | +————+
> > +——| B |———— output B
> > +————+
> > when told that outputs A and B have equal delays, but that the phases of
> > the outputs differ.
>
> If systems A and B were transmission lines with equal propagation
> velocity but differing impedance then I assume the signals would
> appear at the outputs at the same time but with different phases
> between the voltage and current waveforms so there must have been a
> phase change of some kind.
>
> Steve

I can build systems A and B with two op-amps each with a bandwidth of
about a decade. There's no mystery to it. If you want to go digital, A
could be the 95-tap FIR I posted earlier today (4:20), B the signal at
the middle tap that's delayed 47 sample times. A and B will then each be
delayed 47 sample times; that will be the group delay for each and the
phase delay of B. The phase delay of B will be different, but who cares?

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 30 Jan, 2002 19:38:50

Message: 223 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C58203E.64DCFBB8@ieee.org>...
> Steve wrote:
> >
> > Jerry Avins <jya@ieee.org> wrote in message news:<3C5750C3.C59897BD@ieee.org>...
> >
> ...
> > >
> > > That's oversimplified. With a pure delay, the phase of carrier relative
> > > to the modulation wouldn't change. It is either a pure delay (like a
> > > typical FIR) of a pure delay with added phase shift (a hilbert
> > > transformer is an example).
> >
> > Okay. Up to now I've just been thinking about phase responses that go
> > through the origin as otherwise my head might fall off.
> >
> >
> Linear pieces of phase response curves that _don't_ point to the origin
> are exactly the ones that have a constant group delay different from its
> phase delay. I know it makes heads spin (if not fall off), but that's
> what this thread is about.

Because group and phase delays are the same for linear phase systems
(where the phase goes through the origin) I was only thinking in terms
of non-linear phase responses that go through the origin.

Doesn't your last paragraph prove that group delay must be the delay
of the frequency components?

I've copied this from a post from last night:


    phi |
        |
\ |
 \ |\
  \ | \
   \ | \
----\-------\------ w
     \ | \
      \ | \
       \| \
        | \
        |
        |




"A filter is said to have a linear phase response if its phase
response satisfies one of the following relationships:

phi(w) = -alpha * w (1)

phi(w) = beta - aplha * w (2)

where alpha and beta are constant. If a filter satisfies the condition
given in equation 1 it will have both constant group and constant
phase
delay responses. It can be shown that for condition (1) to be
satisfied the impulse response of the filter must have positive
symmetry. The phase response in this case is simply a function of the
filter length:

h(n) = h(N-n-1)

alpha = (N-1)/2

When the condition given in equation (2) only is satisfied the filter
will have a constant group delay only. In this case, the impulse
response of the filter has negative symmetry:

h(n) = -h(N-n-1)

alpha = (N-1)/2

beta = pi/2"



So, taking the second type of filter with a phase shift of pi/2 at DC
(or whatever that means), the phase response will be

phi(w) = pi/2 - aplha * w

At w = 0 + e

where e is very small

Tp = phi(w) / w = (pi/2) / e --> infinity

whereas

Tg = alpha = const


Right, who wants to try and explain what happened before time began?
;)

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 30 Jan, 2002 19:50:48

Message: 224 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C582959.C588548B@ieee.org>...
> Steve wrote:
> >
> ...
> >
> > I think we should all know by now that a linear phase response results
> > in a signal with a pure delay, i.e. all frequency components
> > travelling at the same speed.
> >
> > Steve
>
> I hope we know better! The special case of linear phase response that
> passes through the origin is a pure delay, but a general linear phase
> response is a pure delay plus a constant phase shift. The amount of
> delay is determined by the slope. Phase responses that have pieces of
> linear regions have constant group delays in those regions. In general,
> those linear portions do not point to the origin. Those linear portions
> and misconceptions surrounding them are the meat of this thread.

Right. I've been using the wrong definition for pure delay. Has
everybody been thinking about linear phase responses all the time?

 
> P.S. Your phrase "traveling at the same speed" moves one's thoughts in
> the direction of transmission lines. The concept doesn't really apply to
> filters and such.

I'm studying RF stuff and transmission lines are good for
visualisation.

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 30 Jan, 2002 19:56:12

Message: 225 of 454

Actualy, the phase delay equation is

Tp = -phi(w) / w

so for the phase response


phi(w) = pi/2 - alpha * w

at w = 0 + e

Tp --> - infinity

That's one quick filter.

Steve

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 31 Jan, 2002 06:37:00

Message: 226 of 454

In article <a3a6e2$dvb@gap.cco.caltech.edu>,
glen herrmannsfeldt <gah@ugcs.caltech.edu> wrote:
>Usually group delay should be used for a small range of frequencies,
>approximating the limit dw --> 0. Now, asking about the
>change in group delay with frequency, is a different question.
>
>For the group delay to be meaningful the phase delay should be
>relatively smooth so that the derivative is reasonably constant.
>If it is not, and the derivative of the group delay is significant,
>then in most cases the group delay is not very useful.

Part of the trouble here is that some people think group
delay is a function of frequency, and some people think it's
a constant, and that sometimes it's a different constant at a
different frequency.

These are much the same idea, but the latter is extremely
muddled and not very useful.

Subject: Physical meaning of Group-Delay ?

From: DPierce@TheWorld.com (Richard D Pierce)

Date: 31 Jan, 2002 13:21:49

Message: 227 of 454

In article <a3a8pg$f30@gap.cco.caltech.edu>,
glen herrmannsfeldt <gah@ugcs.caltech.edu> wrote:
>Jerry Avins <jya@ieee.org> writes:
>
>>> The formula for group delay is -d(phi(w))/dw which is a continuous
>>> function of frequency for analogue systems. For digital systems it'll
>>> be discrete.
>
>>Oh? Are there only discrete frequencies that pass a digital filter? Some
>>will tell you that since the digital music is quantized on the storage
>>medium, only certain discrete amplitudes can be reproduced. Don't
>>believe any of that nonsense.
>
>Yes. Consider the Fourier transform of the signal on a CD.
>The signal goes to zero at the beginning and the end, so only
>frequencies that are multiples of 1/2T where T is the length
>of the CD are allowed. That is close enough to continuous for
>most people and most CDs. About 1,800,000,000 different frequencies
>for a normal CD. The spacing is about 100uHz.
>
>(This is due to the finite length of the signal, not that it
>is sampled.)

Well, almost right.

The finite length limits the precision by which one can know the
frequency, it does not limit the "number" of frequencies. It's
not that the spacing is 100 uHz, it's that we can never know the
exact frequency to an accuracy of any better than 100 uHz.

This is a direct manifestation of the classic time-frequency
uncertainty principle: time and frequency form conjugate
quantities. Just like momentum and position at the sub-atomic
level, the product of the uncertainty of each member of a
conjugate pair can never be reduced below a certain fundamental
level:

     D F * D t > 1/2

where D F is the uncertainty in frequency and D t is the
uncertainty in time. IN the example above, we've traded of a
very large uncertainty in time (having a LONG window, an hour or
so) in exchange for a very SMALL uncertainty in frequency (tiny
fractions of a Hz).

This is NOT a consequence of doing an FFT, or ANYTHING having to
do with sampling or quantization: the same fundamental
limitation exists for fully continuous systems as well.

Another example: in order to achieve a very low uncertainty in
time, one MUST have a very large uncertainty in frequency (in
this case, very wide bandwidth). Another view: narrow pulses
(low time uncertainty) have very wide spectra (high frequency
uncertainty).

The notion, asserted possibly in another thread, that signals
may drop "between" the FFT bins is false:< the energy will be
there, all right: it's just that, because of the short window,
we won't know the frequency to any better than that determined
by the length of the time window. And if we were looking at the
same signal on a fully continuous basis and threw a switch on
then off for a time equal to the length of the FFT window, guess
what: NO measurement instrument, not even the ear, would be
able to tell the frequency of information within that window to
any better than that dictated by the time-frequency uncertainty
relation.

--
| Dick Pierce |
| Professional Audio Development |
| 1-781/826-4953 Voice and FAX |
| DPierce@world.std.com |

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 31 Jan, 2002 06:51:59

Message: 228 of 454

amolitor-at@visi-dot-com.com wrote in message news:<gC568.12422$Wf1.3908327@ruti.visi.com>...
> In article <a3a6e2$dvb@gap.cco.caltech.edu>,
> glen herrmannsfeldt <gah@ugcs.caltech.edu> wrote:
> >Usually group delay should be used for a small range of frequencies,
> >approximating the limit dw --> 0. Now, asking about the
> >change in group delay with frequency, is a different question.
> >
> >For the group delay to be meaningful the phase delay should be
> >relatively smooth so that the derivative is reasonably constant.
> >If it is not, and the derivative of the group delay is significant,
> >then in most cases the group delay is not very useful.
>
> Part of the trouble here is that some people think group
> delay is a function of frequency, and some people think it's
> a constant, and that sometimes it's a different constant at a
> different frequency.

A constant which is a different constant at a different frequency is a
variable. What's more, a constant group delay at one frequency and a
different constant at a different frequency is a function of
frequency. That is, they are exactly the same. I'm sure Jerry, Randy
and Bob all think the same.

The formula for group delay, Tg(w) is:

Tg(w) = -d(phi(w)) / dw

Wouldn't you agree that looking at this formula group delay is a
function frequency?

> These are much the same idea, but the latter is extremely
> muddled and not very useful.

Hey?

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 31 Jan, 2002 07:46:37

Message: 229 of 454

gah@ugcs.caltech.edu (glen herrmannsfeldt) wrote in message news:<a3a6e2$dvb@gap.cco.caltech.edu>...
> steve41@totalise.co.uk (Steve) writes:

> >As an alternative to DSP, from transmission lines:
> >"For all components of a signal to be delayed by the same amount at a
> >given point on a line, they must all propagate at the same velocity.
> >Since the velocity at an angular frequency w is
>
> >Vp = w/beta
>
> >where Vp is the propagation velocity and beta is the phase phase shift
> >index then if Vp is to remain constant as w varies, beta must be
> >proportional to w. The line must have a linear phase characteristic."
>
> >Just because a signal consists of a group of frequencies does not mean
> >they propagate with the same group delay.
>
> In a linear system phase delay = group delay.

In a linear PHASE system, phase delay = group delay.

 
> w=v k, w/k=phase velocity=v dw/dk=group velocity=v
>
> In a not-too-nonlinear system, they can be different.

Group delay and phase delay are the same if and only if the phase
response is linear and the phase response goes through the origin.

Look at the equations:

phase delay = -phi(w) / w

group delay = -d(phi(w)) / dw

They can ONLY be the same everywhere if phi(w) is a straight line
everywhere and that this straight line goes through the origin.

 
> (group velocity is group delay per unit distance in a continuous
> medium. Consider a light wave travelling through glass.)

The units of velocity are m/s, the unit for group delay is seconds,
and for distance is metre. Group delay per unit distance's units are
s/m, i.e. the reciprocal of group velocity.
 

> Usually group delay should be used for a small range of frequencies,
> approximating the limit dw --> 0.

You mean the formula for group delay should be used to calculate it? I
agree.

Sorry to pull you up on these things but this has been a very long
thread and pretty much everything has been sorted out apart from the
following question:

Is the time delay of a frequency component the group delay for that
frequency or is it the phase delay for that frequency.

There are special situations where one or the other or both fall
apart. For example, a Hilbert transformer's phase reponse is constant
which would imply a zero group delay for all frequencies. Also for a
Hilbert transformer, at

w = 0 + e where e is a very small number

phase delay = -phi(w) / w

            = -(-pi/2) / (0 + e) --> infinity


Steve

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 31 Jan, 2002 15:55:24

Message: 230 of 454

In article <4d3ee211.0201310651.11117731@posting.google.com>,
Steve <steve41@totalise.co.uk> wrote:
>amolitor-at@visi-dot-com.com wrote in message news:<gC568.12422$Wf1.3908327@ruti.visi.com>...
>Wouldn't you agree that looking at this formula group delay is a
>function frequency?
>
>> These are much the same idea, but the latter is extremely
>> muddled and not very useful.
>
>Hey?

My point was that *I* know delay is a function of frequency,
and group delay *is* a function of frequency, but a some of the discussion
seems to be treating it as a constant. Typically, a poster will treat
it like a constant, and then handwave about how it might be different
at a different frequency.

Rattling on about how 'nearby omega the phase is mostly linear
and the slope of that linear thing is the group delay' is just a really
stupid way of talking about derivatives, and serves mostly to confuse
the issue. It also sounds a lot like 'nearby omega, the group delay
is this constant number, see?' which is even sillier.

Oppenheim and Schafer have a very nice set of pictures, by
the way, which make the "physical meaning of group delay" crystal clear.
Err, in _Discrete_Time_Signal_Processing_

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 31 Jan, 2002 11:22:11

Message: 231 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > Jerry Avins wrote:
> > > > When I wrote of Hilbert transformers, I should
> > > > have specified the kind that people actually build: truncated so as to
> > > > be realizable, and causal, so as to work in real time.
> > >
> > > Fine. Specify such a system and...
> > >
> > > > Such an HT will
> > > > exhibit a pure time delay and a phase delay derived from that, but with
> > > > pi/4 added or subtracted (designer's choice.)
> > >
> > > ...I will show that even that practical system does NOT have a pure time
> > > delay and that the group delay will be, more or less, 0.
> > > --
> > > Randy Yates
> > > DSP Engineer, Sony Ericsson Mobile Communications
> > > Research Triangle Park, NC, USA
> > > randy.yates@ericsson.com, 919-472-1124
> >
> > Here are the coefficients of a 95-tap FIR Hilbert transformer:
> > [...]
>
> Jerry,
>
> If you subtract out the excess phase delay, then the phase response
> will be flat. Thus the group delay will be 0. <Gong!> You lose.
> --
> % Randy Yates % "...the answer lies within your soul
> %% Fuquay-Varina, NC % 'cause no one knows which side
> %%% 919-577-9882 % the coin will fall."
> %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> http://personal.rdu.bellsouth.net/~yatesc

What about the 90 degree phase shift introduced by the antisymmetry? I
thought that was basic stuff. Did you overlook it?

Jerry

P.S. To the world: Randy and I have agreed to drop the subject. We've
each written about all that usefully can be written.
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 31 Jan, 2002 11:30:51

Message: 232 of 454

glen herrmannsfeldt wrote:
>
  ...
>
> In a linear system phase delay = group delay.

You would flunk your orals with that one! Look up the definition of
"linear system" to see why. Even if you mean "system with linear phase"
(which I assume you do), the statement needs qualification. The
statement is correct only when the linear phase region lies on a line
through the origin. (That condition is fulfilled if the phase is linear
everywhere.
>
> w=v k, w/k=phase velocity=v dw/dk=group velocity=v
>
> In a not-too-nonlinear system, they can be different.

Different from what? You just wrote equationsthat hold everywhere.
>
  ...

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of

From: Jerry Avins

Date: 31 Jan, 2002 14:54:54

Message: 233 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
  ...
> >
> > It's not an approximation.
>
> You just said in the prior post, "Every continuous function can be considered
> flat in a region TO WITHIN SOME TOLERANCE." If it weren't an approximation,
> then it would be EXACTLY flat.

A region may be approximately or exactly flat. That was near the
statement I referred to, but not the statement itself. At every single
frequency there is a group delay for that frequency that is exact, not
an approximation, for that frequency.

> > Group delay exists wherever the derivative of
> > tau(w)/w exists. Just above, you wrote that yourself. Group delay is one
> > of the time delays one can define. It is the time it takes for inserted
> > energy to emerge.

Which is the explanation for the assertion I just made.
>
> Define precisely what "the time it takes for inserted energy to emerge"
> means. I'll bet you cannot.

If there is a long line with a group delay at 60 Hz of one minute,
twenty seconds, and a phase delay of one minute flat, with a light bulb
at one end and a switch to the power line at the other, energy will
begin to flow at the instant the switch is closed. The bulb will light
80 seconds later, when the energy arrives. it will remain lit for 80
seconds after the switch is opened; energy is conserved.
>
> > It is the delay of a message passed through the
> > network.
>
> Again, very ambiguous.
>
> > It is not how far into the future the output phase will match
> > the present value at the input: that is phase delay.
>
> Oh but it IS that when the phase delay is constant. But it
> is something else when it's not.

If the network doesn't vary over time, the phase delay at any frequency
is always constant. How not?

Maybe you mean that phase delay in a band is time delay in that band
when the delay is constant over that band. I've written in other posts
the restrictions needed to make that true. It is not true in general.
The equations you wrote above (now snipped) show that.

There are networks and devices in which phase and delay are not
inextricably related, just as there are those in which phase and
amplitude are not. I have tried to describe a few, without success. You
have asserted that an antisymmetric convolutional FIR is a pure delay
with phase shift on the simple grounds that such a phase shift would be
inconsistent with your interpretation of some equations. You dismiss my
electro-mechanical example as incomprehensible, and probably sleight of
hand. Here's one last attempt: If you measured input and output of a
very fast op-amp inverter with an audio signal applied, how would your
calculation of the delay come out? It is easy to get inversion without
delay, but other phase shifts are possible too.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 31 Jan, 2002 15:18:14

Message: 234 of 454

Steve wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C58203E.64DCFBB8@ieee.org>...
  ...
> > >
> > Linear pieces of phase response curves that _don't_ point to the origin
> > are exactly the ones that have a constant group delay different from its
> > phase delay. I know it makes heads spin (if not fall off), but that's
> > what this thread is about.
>
> Because group and phase delays are the same for linear phase systems
> (where the phase goes through the origin) I was only thinking in terms
> of non-linear phase responses that go through the origin.
>
> Doesn't your last paragraph prove that group delay must be the delay
> of the frequency components?

At each frequency, a network has a phase delay and a group delay. The
group delay of a frequency is the time that the frequency is delayed;
this is a tautology. Tautologies need no proof.
>
> I've copied this from a post from last night:
>
> phi |
> |
> \ |
> \ |\
> \ | \
> \ | \
> ----\-------\------ w
> \ | \
> \ | \
> \| \
> | \
> |
> |
>
> "A filter is said to have a linear phase response if its phase
> response satisfies one of the following relationships:
>
> phi(w) = -alpha * w (1)
>
> phi(w) = beta - aplha * w (2)
>
> where alpha and beta are constant. If a filter satisfies the condition
> given in equation 1 it will have both constant group and constant
> phase
> delay responses. It can be shown that for condition (1) to be
> satisfied the impulse response of the filter must have positive
> symmetry. The phase response in this case is simply a function of the
> filter length:
>
> h(n) = h(N-n-1)
>
> alpha = (N-1)/2
>
> When the condition given in equation (2) only is satisfied the filter
> will have a constant group delay only. In this case, the impulse
> response of the filter has negative symmetry:
>
> h(n) = -h(N-n-1)
>
> alpha = (N-1)/2
>
> beta = pi/2"
>
> So, taking the second type of filter with a phase shift of pi/2 at DC
> (or whatever that means), the phase response will be
>
> phi(w) = pi/2 - aplha * w
>
> At w = 0 + e
>
> where e is very small
>
> Tp = phi(w) / w = (pi/2) / e --> infinity
>
> whereas
>
> Tg = alpha = const
>
> Right, who wants to try and explain what happened before time began?
> ;)
>
> Steve

Clearly, the bandwidth of the second class of filter cannot include DC.
The filter is antisymmetric, so its coefficients necessarily sum to
zero; the sum of the coefficients is the DC response. (See? some things
are simple!) The second filter has 90 degree phase shift and is also a
special case (antisymmetry). Asymmetric filters can produce any phase
shift in between.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 31 Jan, 2002 15:22:31

Message: 235 of 454

Steve wrote:
>
> Actualy, the phase delay equation is
>
> Tp = -phi(w) / w
>
> so for the phase response
>
> phi(w) = pi/2 - alpha * w
>
> at w = 0 + e
>
> Tp --> - infinity
>
> That's one quick filter.
>
> Steve

Quick? Tp is a delay! Not surprising: one needs to wait a quarter of a
second for quadrature at one Hz, much longer at DC.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 31 Jan, 2002 20:42:10

Message: 236 of 454

Jerry Avins <jya@ieee.org> writes:

(snip)

>If you want a really interesting case, consider a waveguide. With an air
>dielectric, the geometric mean of the phase and group delays at any
>given propagating frequency is the speed of light. According to the
>"axioms" of some in this thread, single frequencies travel in a guide
>faster than light. It would trouble me to have to believe that.

But to be a single frequency, in the sense required here, it must have
started at t=-infinity and continue to t=+infinity. If not, it
must have more than one frequency, and then group velocity applies.

The usual translation of Einstein is that information can't be
transmitted faster than c, and information travels at the group
velocity.

Phase velocity describes peaks in a waveform, but not anything
actualy moving. One favorite description of something moving
faster than light is to shine a flashlight on the moon while moving
your hand. The spot may travel across the moon's surface faster
than C, but that doesn't mean anything is actually moving that fast.

-- glen

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 31 Jan, 2002 15:48:04

Message: 237 of 454

Steve wrote:
>
  ...
>
> Sorry to pull you up on these things but this has been a very long
> thread and pretty much everything has been sorted out apart from the
> following question:
>
> Is the time delay of a frequency component the group delay for that
> frequency or is it the phase delay for that frequency.

There some texts that imply that the phase delay is the delay for a
single tone at a frequency, and others that get it right. :-)
>
> There are special situations where one or the other or both fall
> apart. For example, a Hilbert transformer's phase reponse is constant
> which would imply a zero group delay for all frequencies. Also for a
> Hilbert transformer, at
>
> w = 0 + e where e is a very small number
>
> phase delay = -phi(w) / w
>
> = -(-pi/2) / (0 + e) --> infinity
>
> Steve

The network you cite isn't causal. A realizable approximation to a
Hilbert transformer exhibits a phase delay of -phi(w)/w + D, where D is
the amount the impulse response has been shifted.

Think about what the equation really means. The phase delay for the
acausal ideal must be a quarter cycle at that frequency. That's what a
90 degree shift means. (It's just as easy to make the phase delay
negative!) On the other hand, phi(w) being a constant, the group delay
is zero at all frequencies. Adding the constant D and accepting that DC
is outside the passband makes it all realizable.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 31 Jan, 2002 21:18:45

Message: 238 of 454

DPierce@TheWorld.com (Richard D Pierce) writes:

><gah@ugcs.caltech.edu> wrote:
>>
>>Yes. Consider the Fourier transform of the signal on a CD.
>>The signal goes to zero at the beginning and the end, so only
>>frequencies that are multiples of 1/2T where T is the length
>>of the CD are allowed. That is close enough to continuous for
>>most people and most CDs. About 1,800,000,000 different frequencies
>>for a normal CD. The spacing is about 100uHz.
>>
>>(This is due to the finite length of the signal, not that it
>>is sampled.)

>Well, almost right.

>The finite length limits the precision by which one can know the
>frequency, it does not limit the "number" of frequencies. It's
>not that the spacing is 100 uHz, it's that we can never know the
>exact frequency to an accuracy of any better than 100 uHz.

I would say if we can't know that two frequencies are different
then we can't call them different.

But okay, how about "the number of knowably different frequencies".

-- glen

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 31 Jan, 2002 13:20:33

Message: 239 of 454

amolitor-at@visi-dot-com.com wrote in message news:<MNd68.12467$Wf1.3973030@ruti.visi.com>...

> My point was that *I* know delay is a function of frequency,
> and group delay *is* a function of frequency, but a some of the discussion
> seems to be treating it as a constant. Typically, a poster will treat
> it like a constant, and then handwave about how it might be different
> at a different frequency.

Okay, I'll let you off :)

It can be a constant for a linear phase response. This may not be
apparent if someone starts reading the thread near the end but the
people who are still discussing (or arguing depending on your opinion)
all know this so probably leave this fact out too often.


> Rattling on about how 'nearby omega the phase is mostly linear
> and the slope of that linear thing is the group delay' is just a really
> stupid way of talking about derivatives, and serves mostly to confuse
> the issue.

I agree totally. I only started reading this thread the other day and
read it from start to finish and what you say IMO is one of the
reasons why the thread hasn't concluded yet because it adds some
ambiguity. A slope should not be described as "mostly linear".
Rrrrggggh!

Also, earlier in the thread group delay was being used as a "property"
of the signal, but it is definitely a system thing. But because it is
intuitive to think in terms of sinusoids travelling down transmission
lines, sometimes when someone describes what they are saying it gets
confused with being a signal thing.

I don't know why no-one has got Matlab simulating this yet. There is a
group delay function (grpdelay) and in the help for that function it's
got code to plot the group and phase delays of a filter on the same
figure. I meant to do this but I keep answering posts :)

You know, with a PC with Matlab on it, a pen and a pad of paper and
everybody in the same room, I reckon you could solve this dispute in a
couple of hours.


> It also sounds a lot like 'nearby omega, the group delay
> is this constant number, see?' which is even sillier.
>
> Oppenheim and Schafer have a very nice set of pictures, by
> the way, which make the "physical meaning of group delay" crystal clear.
> Err, in _Discrete_Time_Signal_Processing_

If you read my post a day or two ago I summed up what 5 different DSP
books say about group delay and phase delay and they do not agree at
all. Could you say what is said in O & S because I haven't got that
book.

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 31 Jan, 2002 13:30:42

Message: 240 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C596F33.E24DEDD2@ieee.org>...
 
> P.S. To the world: Randy and I have agreed to drop the subject. We've
> each written about all that usefully can be written.

Good idea!

So what was the physical meaning of group delay?

Steve

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 31 Jan, 2002 22:08:11

Message: 241 of 454

In article <4d3ee211.0201311320.2a938a30@posting.google.com>,
Steve <steve41@totalise.co.uk> wrote:
>amolitor-at@visi-dot-com.com wrote in message news:<MNd68.12467$Wf1.3973030@ruti.visi.com>...
>> It also sounds a lot like 'nearby omega, the group delay
>> is this constant number, see?' which is even sillier.
>>
>> Oppenheim and Schafer have a very nice set of pictures, by
>> the way, which make the "physical meaning of group delay" crystal clear.
>> Err, in _Discrete_Time_Signal_Processing_
>
>If you read my post a day or two ago I summed up what 5 different DSP
>books say about group delay and phase delay and they do not agree at
>all. Could you say what is said in O & S because I haven't got that
>book.

Well, the text isn't all that clear, but it does boil down
to 'group delay is the d arg[H] / rw', but the pictures are really nice.
They look something like this:

Group Delay:


    | ...
    | / \
    | / \
    | / \ etcetera
    | .. ..../
   -+-|-----|-----------------------------------------
     w0 w1

where the vertical axis is specified in samples, and the
horizontal in frequency.

Then they show a signal with 2 enveoloped bursts of sinusoid,
at frequencies w0 and w1 respectively. Actually, they have three,
but the whole set of pictures includes a magnitude response and
the third burst is in the stopband, it's illustrating something
else. This picture looks sort of like this:

         ... ...
     .......... ..........
  ... sinusoid..... .....sinusoid....
--------at-----------------------at------------
  ..... w0 ........ ...... w1 .......
     .......... ..........
         ... ...

where the stuff inside the dots are sinusoids oscillating a
handful of times during the burst (that is, I have indicated
envelopes only!). Time is laid out so that we think of the
w1 burst entering the system first, followed by the w0
burst. The output picture looks like this:

                      ... ...
                   .......... ..........
                ... sinusoid..... .....sinusoid....
----------------------at-----------------------at----------
                ..... w1 ........ ...... w0 .......
                   .......... ..........
                       ... ...

Where the w0 burst is a little delayed, and w1 burst is a lot delayed.

Obviously the group delay graph is jiggered up to yield a convenient
delay of the w1 burst so that it comes out neatly positioned
after the w0 burst.

Any errors in the above are certainly in my memory of the diagrams,
not in the diagrams I am attempting to remember of course.


Andrew

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 31 Jan, 2002 18:17:10

Message: 242 of 454

glen herrmannsfeldt wrote:
>
> Jerry Avins <jya@ieee.org> writes:
>
> (snip)
>
> >If you want a really interesting case, consider a waveguide. With an air
> >dielectric, the geometric mean of the phase and group delays at any
> >given propagating frequency is the speed of light. According to the
> >"axioms" of some in this thread, single frequencies travel in a guide
> >faster than light. It would trouble me to have to believe that.
>
> But to be a single frequency, in the sense required here, it must have
> started at t=-infinity and continue to t=+infinity. If not, it
> must have more than one frequency, and then group velocity applies.

If I believed that the above described reality, I would have found a
different trade. Radio transmitters' carriers are pretty pure; WWV in
particular. Some may have been on a long time, but not long enough to
fulfill the stringent conditions that an overly simple theory imposes.

Transients get their name because they are transient. They die down,
fade out, evanesce, disappear. You are right that exp(-t) has a value
for all positive time, but there is a time when it becomes too small to
matter, or even to be detected. Apply a 10 Mhz signal to a 100 Hz
bandpass filter centered at 10 Mhz, and the transients will not last
long enough to interfere with conceptualizing energy transfer, nor will
the spectrum spreading cause measurable error when speaking of the group
delay at 10 Mhz, however nonlinear the subsequent network may be. We're
trying to nail down concepts, not split hairs.
>
> The usual translation of Einstein is that information can't be
> transmitted faster than c, and information travels at the group
> velocity.

When that information is sent by turning the 10 MHz input to my
band-limiting filter and sending on the filter's output, the 10 MHz
travels travels at the speed of the information because it _is_ the
information. To say that the 10 Mhz suffers one delay while the dits and
dahs suffer another is so patently ridiculous that I don't want to
discuss it any more, at least not without a long rest.
>
> Phase velocity describes peaks in a waveform, but not anything
> actualy moving. One favorite description of something moving
> faster than light is to shine a flashlight on the moon while moving
> your hand. The spot may travel across the moon's surface faster
> than C, but that doesn't mean anything is actually moving that fast.
>
> -- glen

Yes. Good night,

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 31 Jan, 2002 23:46:56

Message: 243 of 454

steve41@totalise.co.uk (Steve) writes:
>amolitor-at@visi-dot-com.com wrote:

>> My point was that *I* know delay is a function of frequency,
>> and group delay *is* a function of frequency, but a some of the discussion
>> seems to be treating it as a constant. Typically, a poster will treat
>> it like a constant, and then handwave about how it might be different
>> at a different frequency.

>Okay, I'll let you off :)

>It can be a constant for a linear phase response. This may not be
>apparent if someone starts reading the thread near the end but the
>people who are still discussing (or arguing depending on your opinion)
>all know this so probably leave this fact out too often.

For a linear system, (is this what you mean by linear phase?)
phase velocity equals group velocity, all is simple and not interesting.

>> Rattling on about how 'nearby omega the phase is mostly linear
>> and the slope of that linear thing is the group delay' is just a really
>> stupid way of talking about derivatives, and serves mostly to confuse
>> the issue.

>I agree totally. I only started reading this thread the other day and
>read it from start to finish and what you say IMO is one of the
>reasons why the thread hasn't concluded yet because it adds some
>ambiguity. A slope should not be described as "mostly linear".
>Rrrrggggh!

But that is what it is. The useful cases are the ones where the
phase function is nearly linear (m*x+b linear) in frequency over
the range of interest. If it is nearly linear, then the higher
order terms can be ignored and signals (modulation) are delayed
by the appropriate amount. If the higher order terms are important
then group velocity isn't meaningful.

Consider this: Much of optics depends on the small angle approximation,
sin(x)==x. We know that sin(x)==x only if x==0, but it is close enough
for many calculations. Those calculations are completely useless if
we can't assume that sin(x)==x, but it works for the majority of the
useful cases.

One problem with the discussion is that linear has two meanings.
One is that a function is a straight line one a graph, y=m*x+b.
But a linear system is one for which F(a x)==a F(x), no b allowed.
It is not always obvious which meaning is being used.

-- glen

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 1 Feb, 2002 00:01:43

Message: 244 of 454

steve41@totalise.co.uk (Steve) writes:

>Jerry Avins <jya@ieee.org> wrote in message news:<3C596F33.E24DEDD2@ieee.org>...
>
>> P.S. To the world: Randy and I have agreed to drop the subject. We've
>> each written about all that usefully can be written.

>Good idea!

>So what was the physical meaning of group delay?

distance divided by group velocity.

-- glen

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: PaavoJumppanen@iname.com (Paavo Jumppanen)

Date: 31 Jan, 2002 16:27:03

Message: 245 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C59A10E.4D451206@ieee.org>...
> Randy Yates wrote:
> >
> > Jerry Avins wrote:
> ...
> > >
> > > It's not an approximation.
> >
> > You just said in the prior post, "Every continuous function can be considered
> > flat in a region TO WITHIN SOME TOLERANCE." If it weren't an approximation,
> > then it would be EXACTLY flat.
>
> A region may be approximately or exactly flat. That was near the
> statement I referred to, but not the statement itself. At every single
> frequency there is a group delay for that frequency that is exact, not
> an approximation, for that frequency.
>
> > > Group delay exists wherever the derivative of
> > > tau(w)/w exists. Just above, you wrote that yourself. Group delay is one
> > > of the time delays one can define. It is the time it takes for inserted
> > > energy to emerge.
>
> Which is the explanation for the assertion I just made.
> >
> > Define precisely what "the time it takes for inserted energy to emerge"
> > means. I'll bet you cannot.
>
> If there is a long line with a group delay at 60 Hz of one minute,
> twenty seconds, and a phase delay of one minute flat, with a light bulb
> at one end and a switch to the power line at the other, energy will
> begin to flow at the instant the switch is closed. The bulb will light
> 80 seconds later, when the energy arrives. it will remain lit for 80
> seconds after the switch is opened; energy is conserved.

Hi Jerry,

That just doesn't sound correct to me. Haven't you got your definition
around the wrong way? Look at it this way. If you have two different
transmission lines one with group delay 80s, phase delay 60s @ 60Hz
and the other with group delay 60s phase delay 60s @ 60Hz are you
trying to tell me that when switching on the power to both lines
simultaneously the light on the later will light 20s before the
former. I'd be struggling to believe you.

For a pure sinusoid all you can possibly have is phase delay so how
can two sinusoids have the same phase delay and different propagation
delays? I've understood that group delay was more to do with the delay
of an envelope (ie AM) around a particular frequency (carrier).

Regards,


Paavo Jumppanen.
Author of AtSpec : A 2 Channel PC Based FFT Spectrum Analyzer
http://www.taquis.com

Subject: Physical meaning of Group-Delay ?

From: Clay S. Turner

Date: 31 Jan, 2002 19:32:22

Message: 246 of 454



Jerry Avins wrote:

other stuff snipped



>To say that the 10 Mhz suffers one delay while the dits and
> dahs suffer another is so patently ridiculous that I don't want to
> discuss it any more, at least not without a long rest.

Hello Jerry,
For an exercise, I derived the fourier transform of the carrier that is
switched on and then off. I then found the absolute square of this
which yields the energy as a function of frequency. Then I normalized
this energy function so that its integral for DC to daylight is 1 thus
creating a proper energy density function. Now the integral of the
energy density function multiplied by the group delay of the network
gives the mean delay of the pulse. When I used a simple lowpass filter
as mentioned several hundred posts ago, I found the change in the mean
group delay for pulses to not vary very much. For example, when the
pulse duration was 0.1 seconds, the mean group delay was shortened by
1.5 uSec out of a group delay of 500 uSec (long pulses). So certainly
the dah and dits are hardly affected - yes technically there is some
"smearing", but not enough to stop someone from copying Morse code.

Clay

Subject: i don't think there are enough posts in the "Physical meaning of

From: Jerry Avins

Date: 31 Jan, 2002 23:30:13

Message: 247 of 454

Paavo Jumppanen wrote:
>
 ...
>
> Hi Jerry,
>
> That just doesn't sound correct to me. Haven't you got your definition
> around the wrong way? Look at it this way. If you have two different
> transmission lines one with group delay 80s, phase delay 60s @ 60Hz
> and the other with group delay 60s phase delay 60s @ 60Hz are you
> trying to tell me that when switching on the power to both lines
> simultaneously the light on the later will light 20s before the
> former. I'd be struggling to believe you.

Keep struggling. Enlightenment is worth it. Suppose I simultaneously
applied 59 and 61 Hz. What would you like to believe then?
>
> For a pure sinusoid all you can possibly have is phase delay ...

Come again? Group delay is the derivative of phase delay. It's hard to
imagine a real circumstance in which either has even an isolated
discontinuity. I'm getting tired of unfounded assertions.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 31 Jan, 2002 23:40:13

Message: 248 of 454

"Clay S. Turner" wrote:
>
> Jerry Avins wrote:
>
> other stuff snipped
>
> >To say that the 10 Mhz suffers one delay while the dits and
> > dahs suffer another is so patently ridiculous that I don't want to
> > discuss it any more, at least not without a long rest.
>
> Hello Jerry,
> For an exercise, I derived the fourier transform of the carrier that is
> switched on and then off. I then found the absolute square of this
> which yields the energy as a function of frequency. Then I normalized
> this energy function so that its integral for DC to daylight is 1 thus
> creating a proper energy density function. Now the integral of the
> energy density function multiplied by the group delay of the network
> gives the mean delay of the pulse. When I used a simple lowpass filter
> as mentioned several hundred posts ago, I found the change in the mean
> group delay for pulses to not vary very much. For example, when the
> pulse duration was 0.1 seconds, the mean group delay was shortened by
> 1.5 uSec out of a group delay of 500 uSec (long pulses). So certainly
> the dah and dits are hardly affected - yes technically there is some
> "smearing", but not enough to stop someone from copying Morse code.
>
> Clay

Clay,

I'm delighted to have you chime in! The point I intended to get across
is that it makes no sense to imagine that the dits and dahs (the
information) travels at the group velocity while the 10 Mhz travels at
the phase velocity, or that it will eventually reach the phase velocity
is the key is held down long enough. If the 10 MHz is sent down a
waveguide (the size of a sewer pipe!), the phase velocity will exceed
the speed of light. What then?

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 31 Jan, 2002 20:58:29

Message: 249 of 454

amolitor-at@visi-dot-com.com wrote in message news:<ffj68.12520$Wf1.4020352@ruti.visi.com>...
 
> Well, the text isn't all that clear, but it does boil down
> to 'group delay is the d arg[H] / rw', but the pictures are really nice.
> They look something like this:
>
> Group Delay:
>
>
> | ...
> | / \
> | / \
> | / \ etcetera
> | .. ..../
> -+-|-----|-----------------------------------------
> w0 w1
>
> where the vertical axis is specified in samples, and the
> horizontal in frequency.
>
> Then they show a signal with 2 enveoloped bursts of sinusoid,
> at frequencies w0 and w1 respectively. Actually, they have three,
> but the whole set of pictures includes a magnitude response and
> the third burst is in the stopband, it's illustrating something
> else. This picture looks sort of like this:
>
> ... ...
> .......... ..........
> ... sinusoid..... .....sinusoid....
> --------at-----------------------at------------
> ..... w0 ........ ...... w1 .......
> .......... ..........
> ... ...
>
> where the stuff inside the dots are sinusoids oscillating a
> handful of times during the burst (that is, I have indicated
> envelopes only!). Time is laid out so that we think of the
> w1 burst entering the system first, followed by the w0
> burst. The output picture looks like this:
>
> ... ...
> .......... ..........
> ... sinusoid..... .....sinusoid....
> ----------------------at-----------------------at----------
> ..... w1 ........ ...... w0 .......
> .......... ..........
> ... ...
>
> Where the w0 burst is a little delayed, and w1 burst is a lot delayed.
>
> Obviously the group delay graph is jiggered up to yield a convenient
> delay of the w1 burst so that it comes out neatly positioned
> after the w0 burst.
>
> Any errors in the above are certainly in my memory of the diagrams,
> not in the diagrams I am attempting to remember of course.


So the delay *is* the group delay after all. That's a really clear
example actually. Thanks for that.

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 31 Jan, 2002 21:26:19

Message: 250 of 454

gah@ugcs.caltech.edu (glen herrmannsfeldt) wrote in message news:<a3cl1g$r0g@gap.cco.caltech.edu>...
  
> >It can be a constant for a linear phase response. This may not be
> >apparent if someone starts reading the thread near the end but the
> >people who are still discussing (or arguing depending on your opinion)
> >all know this so probably leave this fact out too often.
>
> For a linear system, (is this what you mean by linear phase?)

No. A linear system is one where the superposition theorem holds. A
linear phase system is where the phase reponse is a straight line.


> phase velocity equals group velocity, all is simple and not interesting.

Yes, so long as the phase response goes through the origin. Consider a
phase response:

phi(w) = pi/2 - alpha * w

Here the phase delay (velocity) does not equal the group delay
(velocity).


> >> Rattling on about how 'nearby omega the phase is mostly linear
> >> and the slope of that linear thing is the group delay' is just a really
> >> stupid way of talking about derivatives, and serves mostly to confuse
> >> the issue.
>
> >I agree totally. I only started reading this thread the other day and
> >read it from start to finish and what you say IMO is one of the
> >reasons why the thread hasn't concluded yet because it adds some
> >ambiguity. A slope should not be described as "mostly linear".
> >Rrrrggggh!
>
> But that is what it is. The useful cases are the ones where the
> phase function is nearly linear (m*x+b linear) in frequency over
> the range of interest. If it is nearly linear, then the higher
> order terms can be ignored and signals (modulation) are delayed
> by the appropriate amount. If the higher order terms are important
> then group velocity isn't meaningful.

A lot of applications will want exactly linear phase so as not to
introduce any phase distortion.


> Consider this: Much of optics depends on the small angle approximation,
> sin(x)==x. We know that sin(x)==x only if x==0, but it is close enough
> for many calculations. Those calculations are completely useless if
> we can't assume that sin(x)==x, but it works for the majority of the
> useful cases.

I checked how good the approximation is recently and it was closer and
over a wider angle than I expected.


> One problem with the discussion is that linear has two meanings.
> One is that a function is a straight line one a graph, y=m*x+b.
> But a linear system is one for which F(a x)==a F(x), no b allowed.
> It is not always obvious which meaning is being used.

Yes. Linearity is important in DSP and it is normaly assumed that a
filter say will be linear for example a tapped delay line (FIR filter)
because it just consists of delays, multipliers and an adder. It's
important to be precise. If you say "linear system" then people will
just assume the system obeys the superposition theorem. If a system
has a "linear phase" response you have to specify this and no-one will
assume it unless you specifically say it.

Steve

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 1 Feb, 2002 08:25:31

Message: 251 of 454

Thanks to you and to Andrew M.! This thread has been worth while after
all. I was beginning to wonder if it had all been a waste.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------
Steve wrote:
>
> gah@ugcs.caltech.edu (glen herrmannsfeldt) wrote in message news:<a3cl1g$r0g@gap.cco.caltech.edu>...
>
> > >It can be a constant for a linear phase response. This may not be
> > >apparent if someone starts reading the thread near the end but the
> > >people who are still discussing (or arguing depending on your opinion)
> > >all know this so probably leave this fact out too often.
> >
> > For a linear system, (is this what you mean by linear phase?)
>
> No. A linear system is one where the superposition theorem holds. A
> linear phase system is where the phase reponse is a straight line.
>
> > phase velocity equals group velocity, all is simple and not interesting.
>
> Yes, so long as the phase response goes through the origin. Consider a
> phase response:
>
> phi(w) = pi/2 - alpha * w
>
> Here the phase delay (velocity) does not equal the group delay
> (velocity).
>
> > >> Rattling on about how 'nearby omega the phase is mostly linear
> > >> and the slope of that linear thing is the group delay' is just a really
> > >> stupid way of talking about derivatives, and serves mostly to confuse
> > >> the issue.
> >
> > >I agree totally. I only started reading this thread the other day and
> > >read it from start to finish and what you say IMO is one of the
> > >reasons why the thread hasn't concluded yet because it adds some
> > >ambiguity. A slope should not be described as "mostly linear".
> > >Rrrrggggh!
> >
> > But that is what it is. The useful cases are the ones where the
> > phase function is nearly linear (m*x+b linear) in frequency over
> > the range of interest. If it is nearly linear, then the higher
> > order terms can be ignored and signals (modulation) are delayed
> > by the appropriate amount. If the higher order terms are important
> > then group velocity isn't meaningful.
>
> A lot of applications will want exactly linear phase so as not to
> introduce any phase distortion.
>
> > Consider this: Much of optics depends on the small angle approximation,
> > sin(x)==x. We know that sin(x)==x only if x==0, but it is close enough
> > for many calculations. Those calculations are completely useless if
> > we can't assume that sin(x)==x, but it works for the majority of the
> > useful cases.
>
> I checked how good the approximation is recently and it was closer and
> over a wider angle than I expected.
>
> > One problem with the discussion is that linear has two meanings.
> > One is that a function is a straight line one a graph, y=m*x+b.
> > But a linear system is one for which F(a x)==a F(x), no b allowed.
> > It is not always obvious which meaning is being used.
>
> Yes. Linearity is important in DSP and it is normaly assumed that a
> filter say will be linear for example a tapped delay line (FIR filter)
> because it just consists of delays, multipliers and an adder. It's
> important to be precise. If you say "linear system" then people will
> just assume the system obeys the superposition theorem. If a system
> has a "linear phase" response you have to specify this and no-one will
> assume it unless you specifically say it.
>
> Steve

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 1 Feb, 2002 09:08:54

Message: 252 of 454

glen herrmannsfeldt wrote:
>
> steve41@totalise.co.uk (Steve) writes:
> >amolitor-at@visi-dot-com.com wrote:
>
> >> My point was that *I* know delay is a function of frequency,
> >> and group delay *is* a function of frequency, but a some of the discussion
> >> seems to be treating it as a constant. Typically, a poster will treat
> >> it like a constant, and then handwave about how it might be different
> >> at a different frequency.
>
> >Okay, I'll let you off :)
>
> >It can be a constant for a linear phase response. This may not be
> >apparent if someone starts reading the thread near the end but the
> >people who are still discussing (or arguing depending on your opinion)
> >all know this so probably leave this fact out too often.
>
> For a linear system, (is this what you mean by linear phase?)
> phase velocity equals group velocity, all is simple and not interesting.

Yes. Yes yes yes yes yes yes yes. The problem I have is when folks argue
that group delay is the time delay when the phase response is nonlinear.
I say it ain't.

> >> Rattling on about how 'nearby omega the phase is mostly linear
> >> and the slope of that linear thing is the group delay' is just a really
> >> stupid way of talking about derivatives, and serves mostly to confuse
> >> the issue.
>
> >I agree totally. I only started reading this thread the other day and
> >read it from start to finish and what you say IMO is one of the
> >reasons why the thread hasn't concluded yet because it adds some
> >ambiguity. A slope should not be described as "mostly linear".
> >Rrrrggggh!
>
> But that is what it is. The useful cases are the ones where the
> phase function is nearly linear (m*x+b linear) in frequency over
> the range of interest. If it is nearly linear, then the higher
> order terms can be ignored and signals (modulation) are delayed
> by the appropriate amount. If the higher order terms are important
> then group velocity isn't meaningful.

Bingo! I agree completely. However, there are persons here who not
only insist that group delay is meaningful in such cases but that it
is precisely the delay through the system. This is wrong, and what I
have been arguing (unsuccessfully) against for several days and several
dozen posts.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

























































.

Subject: Physical meaning of Group-Delay ?

From: Clay S. Turner

Date: 1 Feb, 2002 09:42:49

Message: 253 of 454



Jerry Avins wrote:
>

>
> I'm delighted to have you chime in! The point I intended to get across
> is that it makes no sense to imagine that the dits and dahs (the
> information) travels at the group velocity while the 10 Mhz travels at
> the phase velocity, or that it will eventually reach the phase velocity
> is the key is held down long enough. If the 10 MHz is sent down a
> waveguide (the size of a sewer pipe!), the phase velocity will exceed
> the speed of light. What then?

Hello Jerry,
The waveguide problem is interesting in that the wave is not a simple
plane wave but rather a superposition of waves. We know the energy
moves at c (actually a hair less due to the air in the guide).
However the phase velocity looks very big, since propagation down the
guide is performed with (usually) two criss crossing waves such that the
E field is always zero at two of the walls and perpendicular to the
other two walls. So the cris cross distance must be greater than the
straight down the pipe distance, hence the calculated velocity for one
of the cris cross components is greater than c! But the energy is not
carried that way.

By the way, the method I described earlier for calculating the mean
propagation time is not limited to narrow band signals and linear phase
systems. Some had stated concern that group delay is meaningless for
wideband signals through non phase linear networks. While the signal
experiences dispersion, one can still talk about the mean energy
propagation time.

Clay




>
> Jerry
> --
> Engineering is the art of making what you want from things you can get.
> -----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 1 Feb, 2002 10:02:27

Message: 254 of 454

This is a multi-part message in MIME format.
--------------4DED5239220BA7B9FD16B572
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > Jerry Avins wrote:
> > > When I wrote of Hilbert transformers, I should
> > > have specified the kind that people actually build: truncated so as to
> > > be realizable, and causal, so as to work in real time.
> >
> > Fine. Specify such a system and...
> >
> > > Such an HT will
> > > exhibit a pure time delay and a phase delay derived from that, but with
> > > pi/4 added or subtracted (designer's choice.)
> >
> > ...I will show that even that practical system does NOT have a pure time
> > delay and that the group delay will be, more or less, 0.
> > --
> > Randy Yates
> > DSP Engineer, Sony Ericsson Mobile Communications
> > Research Triangle Park, NC, USA
> > randy.yates@ericsson.com, 919-472-1124
>
> Here are the coefficients of a 95-tap FIR Hilbert transformer:
>
> 0.012968356057
> -0.000000925478
> 0.004565063143
> -0.000000981961
> 0.005367321130
> -0.000001418443
> 0.006264604227
> -0.000002124458
> 0.007265867091
> -0.000003262684
> 0.008385541048
> -0.000002491023
> 0.009632791617
> -0.000004505603
> 0.011036451183
> -0.000002411853
> 0.012606082128
> -0.000002994233
> 0.014378490559
> -0.000004562961
> 0.016391538622
> -0.000003893787
> 0.018688732098
> -0.000003624699
> 0.021338816015
> -0.000003475208
> 0.024436682380
> -0.000004882137
> 0.028115007472
> -0.000004217606
> 0.032564593998
> -0.000002903150
> 0.038083741900
> -0.000003074407
> 0.045157631947
> -0.000002770520
> 0.054622042423
> -0.000002436822
> 0.068056634443
> -0.000002034174
> 0.088850987471
> -0.000001667179
> 0.125821268493
> -0.000000460455
> 0.211301783677
> 0.000000673200
> 0.636317596463
> 0.000000000000
> -0.636317596463
> -0.000000673200
> -0.211301783677
> 0.000000460455
> -0.125821268493
> 0.000001667179
> -0.088850987471
> 0.000002034174
> -0.068056634443
> 0.000002436822
> -0.054622042423
> 0.000002770520
> -0.045157631947
> 0.000003074407
> -0.038083741900
> 0.000002903150
> -0.032564593998
> 0.000004217606
> -0.028115007472
> 0.000004882137
> -0.024436682380
> 0.000003475208
> -0.021338816015
> 0.000003624699
> -0.018688732098
> 0.000003893787
> -0.016391538622
> 0.000004562961
> -0.014378490559
> 0.000002994233
> -0.012606082128
> 0.000002411853
> -0.011036451183
> 0.000004505603
> -0.009632791617
> 0.000002491023
> -0.008385541048
> 0.000003262684
> -0.007265867091
> 0.000002124458
> -0.006264604227
> 0.000001418443
> -0.005367321130
> 0.000000981961
> -0.004565063143
> 0.000000925478
> -0.012968356057
>
> The delay through this filter is 47 samples.

No, it is not. (Not that I'm surprised.)

I read your coefficients into Matlab and then input a digital square
wave into the filter. If the delay through the filter was a constant
47 samples, then what I should see out of the filter (since its
magnitude response is nearly flat) is a delayed version of the input.
I saw no such beast. What I saw was something that looked like
a differentiated square wave.

I also input a sine wave of normalized frequency 1.33E-3 Hz. This has
a period of 752 samples, or 16 time 47 samples. The output should
be a sine wave shifted 47 samples if "the delay through this
filter is 47 samples." It was not. Instead, it was advanced
141 samples. This is consistent with a constant delay of 47 samples
plus a phase advance of 188 samples (1/4 of 752 samples), or 90 degrees.
You could also say it was delayed by 752-141 = 611 samples, but that
still is not "47 samples."

Matlab's grpdelay() function returns a constant 47 samples. If this
is time delay, then why was the previous sine wave not delayed
by 47 samples?

How do you explain these discrepancies between your assertions and
reality, Jerry?

[I'm attaching the matlab file]
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124
--------------4DED5239220BA7B9FD16B572
Content-Type: text/plain; charset=us-ascii;
 name="jer.m"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="jer.m"

function h = jerry(x)
%
h=[0.012968356057
-0.000000925478
 0.004565063143
-0.000000981961
 0.005367321130
-0.000001418443
 0.006264604227
-0.000002124458
 0.007265867091
-0.000003262684
 0.008385541048
-0.000002491023
 0.009632791617
-0.000004505603
 0.011036451183
-0.000002411853
 0.012606082128
-0.000002994233
 0.014378490559
-0.000004562961
 0.016391538622
-0.000003893787
 0.018688732098
-0.000003624699
 0.021338816015
-0.000003475208
 0.024436682380
-0.000004882137
 0.028115007472
-0.000004217606
 0.032564593998
-0.000002903150
 0.038083741900
-0.000003074407
 0.045157631947
-0.000002770520
 0.054622042423
-0.000002436822
 0.068056634443
-0.000002034174
 0.088850987471
-0.000001667179
 0.125821268493
-0.000000460455
 0.211301783677
 0.000000673200
 0.636317596463
 0.000000000000
-0.636317596463
-0.000000673200
-0.211301783677
 0.000000460455
-0.125821268493
 0.000001667179
-0.088850987471
 0.000002034174
-0.068056634443
 0.000002436822
-0.054622042423
 0.000002770520
-0.045157631947
 0.000003074407
-0.038083741900
 0.000002903150
-0.032564593998
 0.000004217606
-0.028115007472
 0.000004882137
-0.024436682380
 0.000003475208
-0.021338816015
 0.000003624699
-0.018688732098
 0.000003893787
-0.016391538622
 0.000004562961
-0.014378490559
 0.000002994233
-0.012606082128
 0.000002411853
-0.011036451183
 0.000004505603
-0.009632791617
 0.000002491023
-0.008385541048
 0.000003262684
-0.007265867091
 0.000002124458
-0.006264604227
 0.000001418443
-0.005367321130
 0.000000981961
-0.004565063143
 0.000000925478
-0.012968356057];

% Throw up the frequency response
figure;
freqz(h,1,1024);

% Throw up the group delay
figure;
grpdelay(h,1,1024);

% Create a square wave, plot it, filter it, and plot the output
figure;
x=zeros(1,100);
x=[x ones(1,100)];
x=[x zeros(1,100)];
x=[x ones(1,100)];
x=[x zeros(1,100)];
x=[x ones(1,100)];
plot(x);

y=filter(h,1,x);
hold on;
plot(y);

% Create a low-frequency sine wave, plot it, filter it, and plot the output
figure;
f=1.329787E-3;
t=[0:1:2000];
x=sin(2*pi*f*t);
plot(x);
hold on;
y=filter(h,1,x);
plot(y);



--------------4DED5239220BA7B9FD16B572--

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 1 Feb, 2002 15:35:46

Message: 255 of 454

In article <3C5AAE03.6499D66@rtp.ericsson.com>,
Randy Yates <euschya@rtp.ericsson.com> wrote:
>Jerry Avins wrote:
>>
>> The delay through this filter is 47 samples.
>
>No, it is not. (Not that I'm surprised.)
>
>I also input a sine wave of normalized frequency 1.33E-3 Hz. This has
>a period of 752 samples, or 16 time 47 samples. The output should
>be a sine wave shifted 47 samples if "the delay through this
>filter is 47 samples." It was not. Instead, it was advanced
>141 samples. This is consistent with a constant delay of 47 samples
>plus a phase advance of 188 samples (1/4 of 752 samples), or 90 degrees.

What's the problem here? As I understand it, the filter is
supposed to shift the phase by 90 degrees -- effectively constructing
a brand new signal that is parallel in time to the original, but 90
degrees out of phase -- and output that signal 47 samples later.
Isn't that what it's doing? If you're claiming that nothing at
all comes out for 752 samples, I am baffled by how a 95 tap filter
does it..

If I give you a 1 tap FIR filter:

-1

and assert this has zero group delay, are you going to
run this through matlab, and claim that it delays your sinusoid
by 376 samples?

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 1 Feb, 2002 10:54:04

Message: 256 of 454

amolitor-at@visi-dot-com.com wrote:
>
> In article <3C5AAE03.6499D66@rtp.ericsson.com>,
> Randy Yates <euschya@rtp.ericsson.com> wrote:
> >Jerry Avins wrote:
> >>
> >> The delay through this filter is 47 samples.
> >
> >No, it is not. (Not that I'm surprised.)
> >
> >I also input a sine wave of normalized frequency 1.33E-3 Hz. This has
> >a period of 752 samples, or 16 time 47 samples. The output should
> >be a sine wave shifted 47 samples if "the delay through this
> >filter is 47 samples." It was not. Instead, it was advanced
> >141 samples. This is consistent with a constant delay of 47 samples
> >plus a phase advance of 188 samples (1/4 of 752 samples), or 90 degrees.
>
> What's the problem here?

The problem is that the delay through this filter is not 47 samples.
To state that the delay through a system is "x" (samples or seconds)
implies that the delay of all frequencies is "x." The delay of
the given filter is not 47 samples at all frequencies. Is this clear?

> As I understand it, the filter is
> supposed to shift the phase by 90 degrees -- effectively constructing
> a brand new signal that is parallel in time to the original, but 90
> degrees out of phase -- and output that signal 47 samples later.

That is a HELL of a lot different than simply claiming the filter
has a "delay of 47 samples." Yes, I agree with YOU, but YOU are
not saying what JERRY said. Kapish?

> Isn't that what it's doing? If you're claiming that nothing at
> all comes out for 752 samples,

Please indicate where I stated such a thing. I maintain that I
did not.

>
> If I give you a 1 tap FIR filter:
>
> -1
>
> and assert this has zero group delay,

Which is true.

> are you going to
> run this through matlab, and claim that it delays your sinusoid
> by 376 samples?

Or whatever number happens to be appropriate, yes.

Are you going to claim that the 1 tap filter you provided
has a constant delay? If so, then the output could be
expressed as the input with a time shift, i.e., y(t) = x(t-t0).
It cannot (not in general).
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 1 Feb, 2002 16:43:07

Message: 257 of 454

In article <3C5ABA1C.CF21F4F8@rtp.ericsson.com>,
Randy Yates <euschya@rtp.ericsson.com> wrote:
>amolitor-at@visi-dot-com.com wrote:
>> What's the problem here?
>
>The problem is that the delay through this filter is not 47 samples.
>To state that the delay through a system is "x" (samples or seconds)
>implies that the delay of all frequencies is "x." The delay of
>the given filter is not 47 samples at all frequencies. Is this clear?

Ah. We're back to disagreeing on what delay means.

>> As I understand it, the filter is
>> supposed to shift the phase by 90 degrees -- effectively constructing
>> a brand new signal that is parallel in time to the original, but 90
>> degrees out of phase -- and output that signal 47 samples later.
>
>That is a HELL of a lot different than simply claiming the filter
>has a "delay of 47 samples." Yes, I agree with YOU, but YOU are
>not saying what JERRY said. Kapish?

I dunno, I certainly understood Jerry to be saying this..
Just for fun, I ran some sinusoids (cosines, really) through the
thing, plotted the outputs, and shoved the results into

http://www.visi.com/~amolitor/hilbert

and sure enough, the outputs noodle around for 47 samples
doing strange things, then settle down to doing exactly what I said
(and what Randy agrees it does). The peaks of the output, pulled back
47 samples, line up with the zero crossings of the input.

These pictures, I think, illustrate a filter with a constant
group delay of 47 samples. Actually, an approximation of such a filter.

Note: comparing the pictures, you have to pay attention to
the vertical scale -- I just let gnuplot do whatever it wanted, so
it slops around all over the place.

>> Isn't that what it's doing? If you're claiming that nothing at
>> all comes out for 752 samples,
>
>Please indicate where I stated such a thing. I maintain that I
>did not.

You are absolutely right, I realized it immediately after
I posted, and fully intended to post an apology later today. I apologize
for misquoting you, you said no such thing.

>> If I give you a 1 tap FIR filter:
>>
>> -1
>>
>> and assert this has zero group delay,
>
>Which is true.
>
>> are you going to
>> run this through matlab, and claim that it delays your sinusoid
>> by 376 samples?
>
>Or whatever number happens to be appropriate, yes.

Once again, we have a disagreement on the rather vague word
'delay'. I think 'delay' means the same thing as 'group delay' and
apparently you think it means something else. Something like the
minimum number of samples I have to advance my input to get the
peaks to line up with the output or something? Is this 'phase delay'?

I am content to avoid the word 'delay' in future, and try
only to use technical terms with exact meanings :)

>Are you going to claim that the 1 tap filter you provided
>has a constant delay? If so, then the output could be
>expressed as the input with a time shift, i.e., y(t) = x(t-t0).
>It cannot (not in general).

Well, I claim that a) the group delay is zero and b) when
I put stuff in, stuff comes out right away, and the stuff that comes
out isn't the initial noodling around of a filter hunting for its
steady-state, it's the steady-state stuff that comes out right
away. That sounds like 'zero delay' -- in at least one reasonable
sense.

Again, my apologies for the misquote, I have no idea
where that weird claim came from.

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 1 Feb, 2002 11:54:44

Message: 258 of 454

amolitor-at@visi-dot-com.com wrote:
>
> >> Isn't that what it's doing? If you're claiming that nothing at
> >> all comes out for 752 samples,
> >
> >Please indicate where I stated such a thing. I maintain that I
> >did not.
>
> You are absolutely right, I realized it immediately after
> I posted, and fully intended to post an apology later today. I apologize
> for misquoting you, you said no such thing.

Apology accepted.

> >> If I give you a 1 tap FIR filter:
> >>
> >> -1
> >>
> >> and assert this has zero group delay,
> >
> >Which is true.
> >
> >> are you going to
> >> run this through matlab, and claim that it delays your sinusoid
> >> by 376 samples?
> >
> >Or whatever number happens to be appropriate, yes.
>
> Once again, we have a disagreement on the rather vague word
> 'delay'. I think 'delay' means the same thing as 'group delay'

If a system outputs x(t-t0) when it is given x(t), then what
would you call t0?
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 1 Feb, 2002 18:40:50

Message: 259 of 454

In article <3C5AC854.4CF969C7@rtp.ericsson.com>,
Randy Yates <euschya@rtp.ericsson.com> wrote:
>If a system outputs x(t-t0) when it is given x(t), then what
>would you call t0?

If this is true for all input sequences x(t), I'd call t0
the group delay of the system, which as you know it is. If you
have a specific sequence x(t) in mind, then we don't know much, but
it might be reasonable say that the system constitutes a "<mumble>
delay of t0 for the sequence x(t)" where <mumble> is some technical
term I don't know.

In the absence of other information about the system, and the
selected sequence x(t), or both, you know almost nothing about the
system with the information you present. You know that too, right?

Andrew

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 1 Feb, 2002 21:38:23

Message: 260 of 454

Randy Yates <euschya@rtp.ericsson.com> writes:

>> The useful cases are the ones where the
>> phase function is nearly linear (m*x+b linear) in frequency over
>> the range of interest. If it is nearly linear, then the higher
>> order terms can be ignored and signals (modulation) are delayed
>> by the appropriate amount. If the higher order terms are important
>> then group velocity isn't meaningful.

>Bingo! I agree completely. However, there are persons here who not
>only insist that group delay is meaningful in such cases but that it
>is precisely the delay through the system. This is wrong, and what I
>have been arguing (unsuccessfully) against for several days and several
>dozen posts.

Well, it depends. You could say that it is group delay by definition,
even if it isn't meaningful. I have been trying to bring up some
of those cases, in the optical system where I know them better.

The fun ones are regions where the index of refraction is less than
one, or even negative. Right on the edge of a resonance peak it
does exactly that. I presume that digital filters will have a
similar effect. How about one where the group delay is negative!

Still, the math works out so that all that needs to be conserved
is conserved.

But in the usual cases that you run into with useful filters,
the derivative is well defined and group delay works fine.

-- glen

Subject: i don't think there are enough posts in the "Physical meaning of

From: Paavo Jumppanen

Date: 2 Feb, 2002 09:53:28

Message: 261 of 454



Jerry Avins wrote:

> Paavo Jumppanen wrote:
> >
> ...
> >
> > Hi Jerry,
> >
> > That just doesn't sound correct to me. Haven't you got your definition
> > around the wrong way? Look at it this way. If you have two different
> > transmission lines one with group delay 80s, phase delay 60s @ 60Hz
> > and the other with group delay 60s phase delay 60s @ 60Hz are you
> > trying to tell me that when switching on the power to both lines
> > simultaneously the light on the later will light 20s before the
> > former. I'd be struggling to believe you.
>
> Keep struggling. Enlightenment is worth it. Suppose I simultaneously
> applied 59 and 61 Hz. What would you like to believe then?
> >
> > For a pure sinusoid all you can possibly have is phase delay ...
>
> Come again? Group delay is the derivative of phase delay. It's hard to
> imagine a real circumstance in which either has even an isolated
> discontinuity. I'm getting tired of unfounded assertions.

Jerry,

You misssed my perspective. I mean that from the point of view of an
observer making a measurement from a system with a pure sine wave all you
can measure is phase delay and not group delay because you have no other
spectral components to get the slope from!

If you still believe your decription then please explain this to me. Surely
it is plausible for a physical system to have a overall negative phase delay
and a positive group delay. You should have no difficulty sysnthesising such
a response of an FIR filter realisation. Now taking your explanation for the
physical meaning of group delay (ie. the time taken for energy to propaget
through the system) then you would have energy emerging from your system
before you put it in! This is a clear violation of causality! I re-iterate
that it is my understanding that group delay is the delay associated with an
envelope and not the delay of energy through the system!

Paavo Jumppanen.
Author of AtSpec : A 2 Channel PC Based FFT Spectrum Analyzer
http://www.taquis.com

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 1 Feb, 2002 18:10:24

Message: 262 of 454

"Clay S. Turner" wrote:
>
> Jerry Avins wrote:
> >
>
> >
> > I'm delighted to have you chime in! The point I intended to get across
> > is that it makes no sense to imagine that the dits and dahs (the
> > information) travels at the group velocity while the 10 Mhz travels at
> > the phase velocity, or that it will eventually reach the phase velocity
> > is the key is held down long enough. If the 10 MHz is sent down a
> > waveguide (the size of a sewer pipe!), the phase velocity will exceed
> > the speed of light. What then?
>
> Hello Jerry,
> The waveguide problem is interesting in that the wave is not a simple
> plane wave but rather a superposition of waves. We know the energy
> moves at c (actually a hair less due to the air in the guide).
> However the phase velocity looks very big, since propagation down the
> guide is performed with (usually) two criss crossing waves such that the
> E field is always zero at two of the walls and perpendicular to the
> other two walls. So the cris cross distance must be greater than the
> straight down the pipe distance, hence the calculated velocity for one
> of the cris cross components is greater than c! But the energy is not
> carried that way.

I know how energy in a waveguide propagates. The point is that phase
delay can always be measured by comparing the phase at an output to the
phase at the input (accounting for wrapping) of any network. (I believe
that Randy will agree to that.) When the "network" has length, a
velocity can be computed: length/time. In the case of a waveguide, that
velocity is superluminal. I don't contend that superluminal "velocity"
is spooky, only that it doesn't represent the actual speed of anything.
If phase velocity doesn't represent actual speed in waveguides, It
doesn't represent actual speed anywhere. Moreover, if phase velocity is
not the actual velocity of a thing, then phase delay is not the actual
delay of a thing.
>
> By the way, the method I described earlier for calculating the mean
> propagation time is not limited to narrow band signals and linear phase
> systems. Some had stated concern that group delay is meaningless for
> wideband signals through non phase linear networks. While the signal
> experiences dispersion, one can still talk about the mean energy
> propagation time.

There is still confusion among some of the correspondents about the
group velocity of a single frequency, or even whether it even exists. If
phi(omega) has a derivative at omega, then omega has a group velocity.
Bandwidth is not an essential element of our discussion.
>
> Clay

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of

From: Jerry Avins

Date: 1 Feb, 2002 19:56:57

Message: 263 of 454

Paavo,

If there is a continuing sinewave -- is that what you mean by "pure"? --
whose ends you can't observe, then you can measure the phase delay, but
there's no information about group delay and no information about the
time delay imposed on the signal by the transport medium. You seemed to
imply that since the phase delay, but not the group delay can be
observed, then the phase delay must be the time delay. If you really
meant that, then I disagree; if not, then I misunderstood you.

We measure a wavelength as the distance from crest to crest. We can
measure a chain's "linklength" as the distance from link to link.
Suppose that we use a glass pipe in which the chain fits snugly to allow
us to push it up a ramp, using a sprocket at the bottom. The linklength
is one inch when the chain is in tension, but compressed in the pipe, it
is only 3/4 inch. The pipe is three feet long, and so holds 40 links.
Think about the meaning of phase velocity and actual velocity of the
links inside and outside the pipe. It may hint at what I've been trying
to get across. (Either I'm wrong, a poor teacher, or the old ideas have
an incredibly strong a hold.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------
Paavo Jumppanen wrote:
>
> Jerry Avins wrote:
>
> > Paavo Jumppanen wrote:
> > >
> > ...
> > >
> > > Hi Jerry,
> > >
> > > That just doesn't sound correct to me. Haven't you got your definition
> > > around the wrong way? Look at it this way. If you have two different
> > > transmission lines one with group delay 80s, phase delay 60s @ 60Hz
> > > and the other with group delay 60s phase delay 60s @ 60Hz are you
> > > trying to tell me that when switching on the power to both lines
> > > simultaneously the light on the later will light 20s before the
> > > former. I'd be struggling to believe you.
> >
> > Keep struggling. Enlightenment is worth it. Suppose I simultaneously
> > applied 59 and 61 Hz. What would you like to believe then?
> > >
> > > For a pure sinusoid all you can possibly have is phase delay ...
> >
> > Come again? Group delay is the derivative of phase delay. It's hard to
> > imagine a real circumstance in which either has even an isolated
> > discontinuity. I'm getting tired of unfounded assertions.
>
> Jerry,
>
> You misssed my perspective. I mean that from the point of view of an
> observer making a measurement from a system with a pure sine wave all you
> can measure is phase delay and not group delay because you have no other
> spectral components to get the slope from!
>
> If you still believe your decription then please explain this to me. Surely
> it is plausible for a physical system to have a overall negative phase delay
> and a positive group delay. You should have no difficulty sysnthesising such
> a response of an FIR filter realisation. Now taking your explanation for the
> physical meaning of group delay (ie. the time taken for energy to propaget
> through the system) then you would have energy emerging from your system
> before you put it in! This is a clear violation of causality! I re-iterate
> that it is my understanding that group delay is the delay associated with an
> envelope and not the delay of energy through the system!
>
> Paavo Jumppanen.
> Author of AtSpec : A 2 Channel PC Based FFT Spectrum Analyzer
> http://www.taquis.com

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 1 Feb, 2002 20:17:07

Message: 264 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
 ...
> >
> > The delay through this filter is 47 samples.
>
> No, it is not. (Not that I'm surprised.)

I may have counted wrong. One of the coefficients is 0.000000000000. I
counted it as the 47th, but whatever it is, the delay to that tap is the
delay of the filter.
>
> I read your coefficients into Matlab and then input a digital square
> wave into the filter. If the delay through the filter was a constant
> 47 samples, then what I should see out of the filter (since its
> magnitude response is nearly flat) is a delayed version of the input.
> I saw no such beast. What I saw was something that looked like
> a differentiated square wave.

Did you remember to band limit the input signal so there would be no
aliasing? No digital filter can operate properly on an unbounded signal
such as square and sawtooth waves. Your test wasn't valid.
>
> I also input a sine wave of normalized frequency 1.33E-3 Hz. This has
> a period of 752 samples, or 16 time 47 samples. The output should
> be a sine wave shifted 47 samples if "the delay through this
> filter is 47 samples." It was not.

Of course not! there is in addition a quadrature shift that is not tied
to delay. Look: the filter is a convolutional, antisymmetric FIR. You
can count the taps. From the count, you can compute the delay. (look in
Rick's book) That the phase indicated a different delay is the point I
set out to prove: you just confirmed it.

> Instead, it was advanced
> 141 samples. This is consistent with a constant delay of 47 samples
> plus a phase advance of 188 samples (1/4 of 752 samples), or 90 degrees.

I told you there would be an extra 90 degree shift not related to delay
and you found it. What more do you want?

> You could also say it was delayed by 752-141 = 611 samples, but that
> still is not "47 samples."
>
> Matlab's grpdelay() function returns a constant 47 samples. If this
> is time delay, then why was the previous sine wave not delayed
> by 47 samples?
>
> How do you explain these discrepancies between your assertions and
> reality, Jerry?

You persist in measuring "delay" by measuring phase. That just plain
doesn't work. When you see it doesn't work, you don't double check the
delay by formula, you just assume that your fantasy is reality, then ask
me to explain it to you. It's plain fantasy; I can't.
>
> [I'm attaching the matlab file]
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

  ...

Come on, you theoretical guys: Randy and I need help. Pitch in!

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 2 Feb, 2002 09:46:22

Message: 265 of 454

steve41@totalise.co.uk (Steve) writes:
Someone wrote:
>> Usually group delay should be used for a small range of frequencies,
>> approximating the limit dw --> 0.

>You mean the formula for group delay should be used to calculate it?
> I agree.

>Sorry to pull you up on these things but this has been a very long
>thread and pretty much everything has been sorted out apart from the
>following question:

>Is the time delay of a frequency component the group delay for that
>frequency or is it the phase delay for that frequency.

I am not sure what you mean by time delay for a frequency component.

Derivatives only make sense for functions continuous in a small domain
around the point. Group delay is only useful if the signal has
components over a (usually small) range. If you modulate a sine wave
even a tiny bit you create new frequencies.

Take two sine waves extremely close in frequency and add them together.
You will have a beat frequency where the envelope slowly rises in
amplitude and then slowly goes down again. This is due to the difference
in relative phase of the two sines. If, going through the filter one
is delayed relative to the other, the position of the envelope peaks
changes. The group velocity is the velocity of the envelope, the
phase velocity is the velocity of the peaks of the frequency components.

With only one sine or the other, the peaks will move by at the
phase velocity. If the phase velocity is nearly the same at the two
frequencies, it will be nearly the same for the sum. (Probably the
average is a better guess.)

Take a coaxial cable and put a zero crossing detector at two places
along the cable. Put a sine wave or two through the cable. The
difference in the zero crossing is the phase delay, and the distance
between the two points divided by the delay is the phase velocity.
(In the limit as the points get closer together.)

Put envelope detectors at the two points and measure the difference
in time of the envelope zero crossing. That is the group delay.

Now put a filter between the two points and make the same measurements.

Take two modes of a red laser, which have slightly different frequency.
Shine the beam through a piece of glass that has different index of
refraction at the two frequencies. The two modes will travel at slightly
different velocities through the glass. In vacuum the relative phase
is exactly the difference between the two frequencies. In the glass,
there is a new effect due to the two beams travelling at different
velocities. This changes the relative phase between them differently
than just the difference frequency would suggest. This difference
causes the envelope to travel at a different velocity than the
peaks.

You can't measure group velocity at a single frequency. Only in the
limit as two frequencies get closer and closer together. Once you
do the limit you can call it the group velocity at that frequency.

Now shine the laser through a ruby, which has a very high Q resonance
peak in the red. You might find the index of refraction very different
for the two modes if you are right on the edge of the resonance.

-- glen

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 2 Feb, 2002 09:56:32

Message: 266 of 454

Jerry Avins <jya@ieee.org> writes:

>glen herrmannsfeldt wrote:
>>
>> In a linear system phase delay = group delay.

>You would flunk your orals with that one! Look up the definition of
>"linear system" to see why. Even if you mean "system with linear phase"
>(which I assume you do), the statement needs qualification. The
>statement is correct only when the linear phase region lies on a line
>through the origin. (That condition is fulfilled if the phase is linear
>everywhere.

Apparently linear phase means something else.

A linear system is one where superposition applies,

F(c x)=c F(x) and F(x+y) = F(x)+F(y), c is a constant.

In that case, as you say, it is a line through the origin.

It seems like "linear phase" is meant to describe ones where that
isn't necessarily true.

-- glen

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 2 Feb, 2002 08:36:05

Message: 267 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > Jerry Avins wrote:
> ...
> > >
> > > The delay through this filter is 47 samples.
> >
> > No, it is not. (Not that I'm surprised.)
>
> I may have counted wrong. One of the coefficients is 0.000000000000. I
> counted it as the 47th, but whatever it is, the delay to that tap is the
> delay of the filter.
> >
> > I read your coefficients into Matlab and then input a digital square
> > wave into the filter. If the delay through the filter was a constant
> > 47 samples, then what I should see out of the filter (since its
> > magnitude response is nearly flat) is a delayed version of the input.
> > I saw no such beast. What I saw was something that looked like
> > a differentiated square wave.
>
> Did you remember to band limit the input signal so there would be no
> aliasing?

Jerry,

Go back to the basics of digital signal processing. An anti-aliasing
filter is required at the input of an A/D to avoid aliasing. However,
I did not generate a square wave in the analog domain and then
sample it without an antialiasing filter. That would have caused
aliasing. Instead, what I did was generate the signal directly in
the digital domain. THUS MY SIGNAL IS INHERENTLY BANDLIMITED TO
-Fs/2 TO +Fs/2.

> No digital filter can operate properly on an unbounded signal
> such as square and sawtooth waves. Your test wasn't valid.

Bullshit. Yet another copout response.

> > I also input a sine wave of normalized frequency 1.33E-3 Hz. This has
> > a period of 752 samples, or 16 time 47 samples. The output should
> > be a sine wave shifted 47 samples if "the delay through this
> > filter is 47 samples." It was not.
>
> Of course not! there is in addition a quadrature shift that is not tied
> to delay.

But that's not what you said, Jerry. You didn't say, "The delay
through this filter is 47 samples plus an additional delay related
to the quadrature phase shift." No, you said, "The delay through
this filter is 47 samples."

Now until you can be accountable for what you have stated, I find
it pointless to carry on this or any other discussion with you.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 2 Feb, 2002 08:42:42

Message: 268 of 454

amolitor-at@visi-dot-com.com wrote:
>
> In article <3C5AC854.4CF969C7@rtp.ericsson.com>,
> Randy Yates <euschya@rtp.ericsson.com> wrote:
> >If a system outputs x(t-t0) when it is given x(t), then what
> >would you call t0?
>
> If this is true for all input sequences x(t), I'd call t0
> the group delay of the system, which as you know it is. If you
> have a specific sequence x(t) in mind, then we don't know much, but
> it might be reasonable say that the system constitutes a "<mumble>
> delay of t0 for the sequence x(t)" where <mumble> is some technical
> term I don't know.
>
> In the absence of other information about the system, and the
> selected sequence x(t), or both, you know almost nothing about the
> system with the information you present. You know that too, right?

Actually, it is exactly the opposite. I know everything about this
system because I know its impulse response. Its impulse response is
delta(t-t0) and I knew that from the information I gave you.

Listen, part of the requirement for being a good engineer (indeed,
for functioning normally within society) is to use standard
terminology. If you want to call a resistor a confabulator, or
an AND gate a "logic of all inputs" or whatever other custom
terminologies you may find for yourself using, including calling a
simple delay "group delay," then you will not be able to work
with me. Sorry, that's the way it goes. We use standard terminology
here.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 2 Feb, 2002 15:05:34

Message: 269 of 454

In article <3C5BECD2.C5F56BAB@ieee.org>, Randy Yates <yates@ieee.org> wrote:
>amolitor-at@visi-dot-com.com wrote:
>>
>> In article <3C5AC854.4CF969C7@rtp.ericsson.com>,
>> Randy Yates <euschya@rtp.ericsson.com> wrote:
>> >If a system outputs x(t-t0) when it is given x(t), then what
>> >would you call t0?
>>
>> If this is true for all input sequences x(t), I'd call t0
>> the group delay of the system, which as you know it is. If you
>> have a specific sequence x(t) in mind, then we don't know much, but
>> it might be reasonable say that the system constitutes a "<mumble>
>> delay of t0 for the sequence x(t)" where <mumble> is some technical
>> term I don't know.
>>
>> In the absence of other information about the system, and the
>> selected sequence x(t), or both, you know almost nothing about the
>> system with the information you present. You know that too, right?
>
>Actually, it is exactly the opposite. I know everything about this
>system because I know its impulse response. Its impulse response is
>delta(t-t0) and I knew that from the information I gave you.

Ah, so you meant for every input x(t), not for a specific
one. In particular for delta(t). I missed where you said this last
time. I think you may have missed a little bit of what I said in
my response.

Good! Now I know everything about this system too! Well,
if we either:

a) assume linear time invariant yadda yadda and use the
information about delta
b) use the 'for ALL inputs x(t)' which is implicit in what
you seem to be saying

In particular, I know that the system exhibits a constant
group delay of t0 over all frequencies, and probably has many
other kinds of delay as t0 as well.

>Listen, part of the requirement for being a good engineer (indeed,
>for functioning normally within society) is to use standard
>terminology. If you want to call a resistor a confabulator, or
>an AND gate a "logic of all inputs" or whatever other custom
>terminologies you may find for yourself using, including calling a
>simple delay "group delay," then you will not be able to work
>with me. Sorry, that's the way it goes. We use standard terminology
>here.

Well, actually, it's pretty clear that the term 'simple
delay' hasn't got a shred of meaning in comp.dsp, since nobody
seems to be able to agree about it.

Simply getting on your high horse and giving me good advice
about how to live my life serves no purpose.

Could you provide a definition for 'simple delay'?

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 2 Feb, 2002 10:30:12

Message: 270 of 454

Randy,

I regret the tone of the message to which yours below is a reply. I had
just returned from a long round trip to attend the funeral of a man I
disliked very much. He was brilliant; a liar and cheat whose greatest
source of pleasure had been contemplating and causing others' pain. The
halting half-hearted hypocritical eulogy was about what one could
expect. It left me tired and testy, but I have now had a night's sleep.

The tone of my message apparently aroused your frustration, leading you
to make a number of statements that are emotionally explicable but
factually insupportable. I could refute them point by point, but we need
to back away from this discussion for a while. Perhaps you will
reconsider some of the assertions in the meantime.

This discussion would probably be more fruitful if we could have it face
to face over a couple of beers. Maybe some day; I hope so.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------
Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > Jerry Avins wrote:
> > ...
> > > >
> > > > The delay through this filter is 47 samples.
> > >
> > > No, it is not. (Not that I'm surprised.)
> >
> > I may have counted wrong. One of the coefficients is 0.000000000000. I
> > counted it as the 47th, but whatever it is, the delay to that tap is the
> > delay of the filter.
> > >
> > > I read your coefficients into Matlab and then input a digital square
> > > wave into the filter. If the delay through the filter was a constant
> > > 47 samples, then what I should see out of the filter (since its
> > > magnitude response is nearly flat) is a delayed version of the input.
> > > I saw no such beast. What I saw was something that looked like
> > > a differentiated square wave.
> >
> > Did you remember to band limit the input signal so there would be no
> > aliasing?
>
> Jerry,
>
> Go back to the basics of digital signal processing. An anti-aliasing
> filter is required at the input of an A/D to avoid aliasing. However,
> I did not generate a square wave in the analog domain and then
> sample it without an antialiasing filter. That would have caused
> aliasing. Instead, what I did was generate the signal directly in
> the digital domain. THUS MY SIGNAL IS INHERENTLY BANDLIMITED TO
> -Fs/2 TO +Fs/2.
>
> > No digital filter can operate properly on an unbounded signal
> > such as square and sawtooth waves. Your test wasn't valid.
>
> Bullshit. Yet another copout response.
>
> > > I also input a sine wave of normalized frequency 1.33E-3 Hz. This has
> > > a period of 752 samples, or 16 time 47 samples. The output should
> > > be a sine wave shifted 47 samples if "the delay through this
> > > filter is 47 samples." It was not.
> >
> > Of course not! there is in addition a quadrature shift that is not tied
> > to delay.
>
> But that's not what you said, Jerry. You didn't say, "The delay
> through this filter is 47 samples plus an additional delay related
> to the quadrature phase shift." No, you said, "The delay through
> this filter is 47 samples."
>
> Now until you can be accountable for what you have stated, I find
> it pointless to carry on this or any other discussion with you.
> --
> % Randy Yates % "...the answer lies within your soul
> %% Fuquay-Varina, NC % 'cause no one knows which side
> %%% 919-577-9882 % the coin will fall."
> %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 2 Feb, 2002 10:34:56

Message: 271 of 454

amolitor-at@visi-dot-com.com wrote:
>
> Ah, so you meant for every input x(t), not for a specific
> one.

Did you have algebra I at any time in your life? If you represent
a quantity by "x", that is conventionally taken to mean that
the quantity can vary.

> Well, actually, it's pretty clear that the term 'simple
> delay' hasn't got a shred of meaning in comp.dsp, since nobody
> seems to be able to agree about it.

Then we have become a Tower of Babel, and the outlook is pretty
bad for us.

> Simply getting on your high horse and giving me good advice
> about how to live my life serves no purpose.

I will not educate you on terminology and convention. This is
what you should have learned in your studies.

> Could you provide a definition for 'simple delay'?

I just did two posts ago. I will not repeat myself.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 2 Feb, 2002 16:23:05

Message: 272 of 454

In article <3C5C0720.A4AAB313@ieee.org>, Randy Yates <yates@ieee.org> wrote:
>amolitor-at@visi-dot-com.com wrote:
>>
>> Ah, so you meant for every input x(t), not for a specific
>> one.
>
>Did you have algebra I at any time in your life? If you represent
>a quantity by "x", that is conventionally taken to mean that
>the quantity can vary.

Now you're just being rude.

You said:

"If a system outputs x(t-t0) when it is given x(t)..."

which contains neither a universal nor an existential
quantifier for x(t). I didn't understand whether you meant a
single, unspecified, x(t) or all x(t) because you didn't say,
and I simply asked for clarification. My perfectly innocent
request for clarification seems to have raised your ire, for
reasons incomprehensible to me.

Of course I know that x means by convention that a thing
can vary. That's not the point, the point is that you need a
quantifier on x(t) before your statement can be interpreted.

>
>> Simply getting on your high horse and giving me good advice
>> about how to live my life serves no purpose.
>
>I will not educate you on terminology and convention. This is
>what you should have learned in your studies.

You're just being rude again. Just FYI, being rude isn't
helpful.


>> Could you provide a definition for 'simple delay'?
>
>I just did two posts ago. I will not repeat myself.

I seem to have missed it. Perhaps the post never turned up
at my spool. I don't see anything likely in deja either, but it's
a lot to sort through.

Did anyone else catch it as it went by, since Randy is
unwilling to repeat himself?

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 2 Feb, 2002 11:24:31

Message: 273 of 454

glen herrmannsfeldt wrote:
>
> steve41@totalise.co.uk (Steve) writes:
> Someone wrote:
> >> Usually group delay should be used for a small range of frequencies,
> >> approximating the limit dw --> 0.
>
> >You mean the formula for group delay should be used to calculate it?
> > I agree.
>
> >Sorry to pull you up on these things but this has been a very long
> >thread and pretty much everything has been sorted out apart from the
> >following question:
>
> >Is the time delay of a frequency component the group delay for that
> >frequency or is it the phase delay for that frequency.
>
> I am not sure what you mean by time delay for a frequency component.

A complex waveform can be construed to be made up of sinusoidal
components. Indeed, that is the usual way analysis is done. In a
dispersive medium or network, different components suffer different
delays.
>
> Derivatives only make sense for functions continuous in a small domain
> around the point. Group delay is only useful if the signal has
> components over a (usually small) range. If you modulate a sine wave
> even a tiny bit you create new frequencies.

It is the transfer function that needs continuity, not the signal.
Although it is the signal that is delayed, the delay is imposed by and
is a property of the medium or network.
>
> Take two sine waves extremely close in frequency and add them together.
> You will have a beat frequency where the envelope slowly rises in
> amplitude and then slowly goes down again. This is due to the difference
> in relative phase of the two sines. If, going through the filter one
> is delayed relative to the other, the position of the envelope peaks
> changes. The group velocity is the velocity of the envelope, the
> phase velocity is the velocity of the peaks of the frequency components.

It is intuitively appealing to believe that, but it is wrong. Consider
these assertions:

1. Given any two of frequency, phase shift, and delay, the third
quantity can be calculated.

2. The delay of symmetric and antisymmetric non-recursive FIR filters is
the same for all frequencies.

Proposition (1) appeals to the intuition. That appeal is reinforced by
its being true in most of the cases we examine. It is logically
equivalent to your implied assertion that there is something traveling
at the phase velocity.

Proposition (2) is hardly intuitive to me in the antisymmetric case
(Clay: is there a way to make it obvious?), but I have seen the proof
and although I can't reiterate it without help, I remember following it.

The filter whose coefficients I posted a few days ago makes it clear
that (1) and (2) cannot both be true. Which are you prepared to abandon?
>
> With only one sine or the other, the peaks will move by at the
> phase velocity. If the phase velocity is nearly the same at the two
> frequencies, it will be nearly the same for the sum. (Probably the
> average is a better guess.)

Consider periodic ocean waves approaching a straight shoreline at an
angle. At any point on the shore, a crest occurs with the period of the
crests in the free ocean. There will be other locations along the shore
where crests occur simultaneously; the separation between these points
is the longshore wavelength. To compute the wave velocity, we divide the
wavelength by the period. What does this velocity mean? It is not the
speed of the ocean wave; that is our analog of group velocity. It is
merely the speed at which a crest, not the wave itself, moves along the
shore. It is our analog of phase velocity. In a waveguide, the analogy
is exact.
>
> Take a coaxial cable and put a zero crossing detector at two places
> along the cable. Put a sine wave or two through the cable. The
> difference in the zero crossing is the phase delay, and the distance
> between the two points divided by the delay is the phase velocity.
> (In the limit as the points get closer together.)

We agree about how to measure phase velocity. We disagree about what it
signifies.
>
> Put envelope detectors at the two points and measure the difference
> in time of the envelope zero crossing. That is the group delay.
>
> Now put a filter between the two points and make the same measurements.
>
> Take two modes of a red laser, which have slightly different frequency.
> Shine the beam through a piece of glass that has different index of
> refraction at the two frequencies. The two modes will travel at slightly
> different velocities through the glass. In vacuum the relative phase
> is exactly the difference between the two frequencies.

The relative phase changes as the beams travel in vacuum even though the
velocities are the same. If it did not, the coherence length would be
infinite.

> In the glass,
> there is a new effect due to the two beams travelling at different
> velocities. This changes the relative phase between them differently
> than just the difference frequency would suggest. This difference
> causes the envelope to travel at a different velocity than the
> peaks.
>
> You can't measure group velocity at a single frequency. Only in the
> limit as two frequencies get closer and closer together. Once you
> do the limit you can call it the group velocity at that frequency.

Group velocity is a property of the medium that can be calculated at any
single frequency in a region where phase velocity is continuous. You
know the formulas as well as I. Perhaps better.
>
> Now shine the laser through a ruby, which has a very high Q resonance
> peak in the red. You might find the index of refraction very different
> for the two modes if you are right on the edge of the resonance.
>
> -- glen

It is said that the exception proves the rule. "Proves", in this sense,
means thoroughly tests; if the test is passed, the rule is confirmed.
Anomalous dispersion is an apparent exception that detailed examination,
turning up no contradiction, allows the rule to stand. The Hilbert
transform is one exception to the "rule" that phase, time, and frequency
are related in a simple way that rather than confirming it, destroys it.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 2 Feb, 2002 12:43:22

Message: 274 of 454

Glenn,

Here's another comment on your message.

glen herrmannsfeldt wrote:
>
  ...
>
> Take two modes of a red laser, which have slightly different frequency.
> Shine the beam through a piece of glass that has different index of
> refraction at the two frequencies. The two modes will travel at slightly
> different velocities through the glass. In vacuum the relative phase
> is exactly the difference between the two frequencies. In the glass,
> there is a new effect due to the two beams travelling at different
> velocities. This changes the relative phase between them differently
> than just the difference frequency would suggest. This difference
> causes the envelope to travel at a different velocity than the
> peaks.
>
> You can't measure group velocity at a single frequency. Only in the
> limit as two frequencies get closer and closer together. Once you
> do the limit you can call it the group velocity at that frequency.
>
> Now shine the laser through a ruby, which has a very high Q resonance
> peak in the red. You might find the index of refraction very different
> for the two modes if you are right on the edge of the resonance.
>
> -- glen

Here's another laser experiment you can do. Put a low-loss reflective
coating on the polished end of an optical fiber small enough to be mono
mode at the laser's frequency. (A multi-layer dielectric coating will
have lower losses than a metal reflector.) Illuminate the other end at
an angle near the limit of the acceptance cone with a monochromatic
laser. This will create a standing wave in the fiber. If the laser is
intense enough, scattering introduced by imperfections in the glass at
half-wave intervals along the fiber can be seen well enough in a
microscope to make it possible to determine the wavelength in the fiber.
Of course, the phase velocity in the fiber, like all phase velocities,
is the wavelength divided by the frequency. (I think that all will agree
that the frequency in the fiber is the same as the frequency in air or
any other medium.) Measurement will show that the wavelength in the
fiber is greater than the wavelength in air. What does that tell us
about the physical significance of phase velocity? What happens to the
phase velocity as the incidence moves closer to perpendicular?

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 2 Feb, 2002 13:34:58

Message: 275 of 454

Jerry Avins wrote:
>
> Glenn,
>
  ...

Sorry about that! JA
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Clay S. Turner

Date: 2 Feb, 2002 17:23:23

Message: 276 of 454



Jerry Avins wrote:
>
> It is intuitively appealing to believe that, but it is wrong. Consider
> these assertions:
>
> 1. Given any two of frequency, phase shift, and delay, the third
> quantity can be calculated.
>
> 2. The delay of symmetric and antisymmetric non-recursive FIR filters is
> the same for all frequencies.
>
> Proposition (1) appeals to the intuition. That appeal is reinforced by
> its being true in most of the cases we examine. It is logically
> equivalent to your implied assertion that there is something traveling
> at the phase velocity.
>
> Proposition (2) is hardly intuitive to me in the antisymmetric case
> (Clay: is there a way to make it obvious?), but I have seen the proof
> and although I can't reiterate it without help, I remember following it.
>
> The filter whose coefficients I posted a few days ago makes it clear
> that (1) and (2) cannot both be true. Which are you prepared to abandon?

Hello Jerry,
I went to the seminal references to make sure I have my i's dotted and
my t's crossed and here is what I found:


From McClellan and Parks, "A Unified Approach to the Design of Optimum
FIR Linear-Phase Digital Filters" IEEE Trans. on Circuit Theory, Vol.
CT-20, #6, Nov. 1973

For linear phase FIR filters, the phase function of the frequency
response is a straight line phi=A+B*omega, where A must be either 0 or
pi/2 and B is -(N-1)/2

They give the proof in the paper. I could put the details here if you
need them.

The phase response is L*pi/2 -(N-1)/2*omega with L==0 or 1

Thus the group delay is simply (N-1)/2 for all linear phase FIR
filters, symmetric and antisymmetric.

Clay

Subject: i don't think there are enough posts in the "Physical meaning of

From: Paavo Jumppanen

Date: 3 Feb, 2002 10:00:15

Message: 277 of 454

Jerry,

Jerry Avins wrote:

> Paavo,
>
> If there is a continuing sinewave -- is that what you mean by "pure"? --
> whose ends you can't observe, then you can measure the phase delay, but
> there's no information about group delay and no information about the
> time delay imposed on the signal by the transport medium. You seemed to
> imply that since the phase delay, but not the group delay can be
> observed, then the phase delay must be the time delay.

That is exactly what I mean't. And with all your explanations on why you believe
your "understanding" is correct you still have failed to explain how your
definition can violate causality. Please explain how it can be! I suggest if you
cannot then your understanding clearly wrong.

I say again, it is perfectly possible to realise a linear time invariant system
whose phase response will show a positive slope at some point (ie. a time advance)
and a phase delay (in other words I can realise a system that has a phase delay of
0.5ms @ 500Hz and a group delay of -0.05ms @50Hz). Going by your assertion that
group delay is the delay of energy passing through the system then you reach the
conclusion that this system outputs energy before any is put in... hence violating
causality.

Just in case your about to suggest that synthesis of such as system is not
possible consider the case of two complimentary filters : low pass and high pass,
with a narrow transition band. Lets say the LPF has a phase delay of 10 ms and the
HPF has a phase delay of 5 ms. Take the output of each filter and sum them
together. The net result is that somewhere in the transition band the phase has to
wind back, hence creating a region of negative group delay!


> Paavo Jumppanen.
> Author of AtSpec : A 2 Channel PC Based FFT Spectrum Analyzer
> http://www.taquis.com

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 2 Feb, 2002 18:12:19

Message: 278 of 454

amolitor-at@visi-dot-com.com wrote:
>
> In article <3C5C0720.A4AAB313@ieee.org>, Randy Yates <yates@ieee.org> wrote:
> >amolitor-at@visi-dot-com.com wrote:
> >>
> >> Ah, so you meant for every input x(t), not for a specific
> >> one.
> >
> >Did you have algebra I at any time in your life? If you represent
> >a quantity by "x", that is conventionally taken to mean that
> >the quantity can vary.
>
> Now you're just being rude.
>
> You said:
>
> "If a system outputs x(t-t0) when it is given x(t)..."
>
> which contains neither a universal nor an existential
> quantifier for x(t). I didn't understand whether you meant a
> single, unspecified, x(t) or all x(t) because you didn't say,
> and I simply asked for clarification. My perfectly innocent
> request for clarification seems to have raised your ire, for
> reasons incomprehensible to me.
>
> Of course I know that x means by convention that a thing
> can vary. That's not the point, the point is that you need a
> quantifier on x(t) before your statement can be interpreted.

The fact is, no matter how much quantifying and clarifying one does, the
meaning of the words they write can never be perfectly clear. In order
to communicate, both the receiver and the transmitter must make an
effort to know, and must want to know, the meaning of the communication.

I have found a phenomenom developing here in this group: the meaning
behind the communication is being thwarted. I don't know what the reason
is, but I will no longer piss away my time with folks who cannot, or will not,
make a true effort to understand one another.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 2 Feb, 2002 18:29:19

Message: 279 of 454

glen herrmannsfeldt wrote:
> Well, it depends.

No, it does not depend on anything else whatsoever. This is
a tautology. IF the phase delay is nonlinear, THEN the group
delay is not equivalent to the phase delay.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: i don't think there are enough posts in the "Physical meaning of

From: Jerry Avins

Date: 2 Feb, 2002 19:15:48

Message: 280 of 454

Paavo,

I'm beginning to feel that I need a vacation, so I may not finish this
discussion without a pause. In any event, I'd rather not spend keyboard
time (my wrists are beginning to ache) on points where we agree. To
start out, I'll assert without discussion what I believe are points
important to the discussion and that I believe are true. You can then
enumerate those you disagree with so we can discuss them and ignore the
others.

1. Energy and information are delayed by the group delay. Where velocity
has meaning, we can say that they move at the group velocity.

2. Delay is a property of a network or transmission path, not of a
signal.

3. Phase delay is the negative of phase shift divided by frequency.
Discontinuities in phase delay are rare.

4. Group delay is the negative of the derivative of phase shift with
respect to frequency. It exists wherever phi(w) is differentiable.

5. All frequencies that pass through a given symmetric or antisymmetric
FIR are delayed the same amount of time.

6. A signal passing through a symmetric FIR undergoes a pure time delay.

7. If a signal is applied to separate symmetric and antisymmetric FIRs,
the two outputs will differ in phase by 90 degrees.

I'm sure I overlooked some key points, and we should both be free to
augment the list as the dialog proceeds. For now, I await your
appraisal.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------
Paavo Jumppanen wrote:
>
> Jerry,
>
> Jerry Avins wrote:
>
> > Paavo,
> >
> > If there is a continuing sinewave -- is that what you mean by "pure"? --
> > whose ends you can't observe, then you can measure the phase delay, but
> > there's no information about group delay and no information about the
> > time delay imposed on the signal by the transport medium. You seemed to
> > imply that since the phase delay, but not the group delay can be
> > observed, then the phase delay must be the time delay.
>
> That is exactly what I mean't. And with all your explanations on why you believe
> your "understanding" is correct you still have failed to explain how your
> definition can violate causality. Please explain how it can be! I suggest if you
> cannot then your understanding clearly wrong.
>
> I say again, it is perfectly possible to realise a linear time invariant system
> whose phase response will show a positive slope at some point (ie. a time advance)
> and a phase delay (in other words I can realise a system that has a phase delay of
> 0.5ms @ 500Hz and a group delay of -0.05ms @50Hz). Going by your assertion that
> group delay is the delay of energy passing through the system then you reach the
> conclusion that this system outputs energy before any is put in... hence violating
> causality.
>
> Just in case your about to suggest that synthesis of such as system is not
> possible consider the case of two complimentary filters : low pass and high pass,
> with a narrow transition band. Lets say the LPF has a phase delay of 10 ms and the
> HPF has a phase delay of 5 ms. Take the output of each filter and sum them
> together. The net result is that somewhere in the transition band the phase has to
> wind back, hence creating a region of negative group delay!
>
> > Paavo Jumppanen.
> > Author of AtSpec : A 2 Channel PC Based FFT Spectrum Analyzer
> > http://www.taquis.com

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 2 Feb, 2002 20:23:28

Message: 281 of 454

"Clay S. Turner" wrote:
>
> Jerry Avins wrote:
> >
> > It is intuitively appealing to believe that, but it is wrong. Consider
> > these assertions:
> >
> > 1. Given any two of frequency, phase shift, and delay, the third
> > quantity can be calculated.
> >
> > 2. The delay of symmetric and antisymmetric non-recursive FIR filters is
> > the same for all frequencies.
> >
> > Proposition (1) appeals to the intuition. That appeal is reinforced by
> > its being true in most of the cases we examine. It is logically
> > equivalent to your implied assertion that there is something traveling
> > at the phase velocity.
> >
> > Proposition (2) is hardly intuitive to me in the antisymmetric case
> > (Clay: is there a way to make it obvious?), but I have seen the proof
> > and although I can't reiterate it without help, I remember following it.
> >
> > The filter whose coefficients I posted a few days ago makes it clear
> > that (1) and (2) cannot both be true. Which are you prepared to abandon?
>
> Hello Jerry,
> I went to the seminal references to make sure I have my i's dotted and
> my t's crossed and here is what I found:
>
> From McClellan and Parks, "A Unified Approach to the Design of Optimum
> FIR Linear-Phase Digital Filters" IEEE Trans. on Circuit Theory, Vol.
> CT-20, #6, Nov. 1973
>
> For linear phase FIR filters, the phase function of the frequency
> response is a straight line phi=A+B*omega, where A must be either 0 or
> pi/2 and B is -(N-1)/2
>
> They give the proof in the paper. I could put the details here if you
> need them.
>
> The phase response is L*pi/2 -(N-1)/2*omega with L==0 or 1
>
> Thus the group delay is simply (N-1)/2 for all linear phase FIR
> filters, symmetric and antisymmetric.
>
> Clay

Thanks, Clay. I think most (although apparently not all) here would
agree with that. There remain a substantial number who maintain that the
group delay is not the signal delay (a shorthand for the time by which
the FIR delays the signal), while most of those who (like me) believe
that it is, remain silent. Does McClellan and Parks say something
specific about that?

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of

From: Jerry Avins

Date: 2 Feb, 2002 20:33:51

Message: 282 of 454

Jerry Avins wrote:
>
> Paavo,
>
> I'm beginning to feel that I need a vacation, so I may not finish this
> discussion without a pause. In any event, I'd rather not spend keyboard
> time (my wrists are beginning to ache) on points where we agree. To
> start out, I'll assert without discussion what I believe are points
> important to the discussion and that I believe are true. You can then
> enumerate those you disagree with so we can discuss them and ignore the
> others.
>
> 1. Energy and information are delayed by the group delay. Where velocity
> has meaning, we can say that they move at the group velocity.
>
> 2. Delay is a property of a network or transmission path, not of a
> signal.
>
> 3. Phase delay is the negative of phase shift divided by frequency.
> Discontinuities in phase delay are rare.
>
> 4. Group delay is the negative of the derivative of phase shift with
> respect to frequency. It exists wherever phi(w) is differentiable.
>
> 5. All frequencies that pass through a given symmetric or antisymmetric
> FIR are delayed the same amount of time.

5a. All frequencies that pass through a symmetric or antisymmetric FIR
with the same number of taps are delayed the same amount of time.
>
> 6. A signal passing through a symmetric FIR undergoes a pure time delay.
>
> 7. If a signal is applied to separate symmetric and antisymmetric FIRs,
> the two outputs will differ in phase by 90 degrees.
>
> I'm sure I overlooked some key points, and we should both be free to
> augment the list as the dialog proceeds. For now, I await your
> appraisal.
>
> Jerry
> --
> Engineering is the art of making what you want from things you can get.
> -----------------------------------------------------------------------
> Paavo Jumppanen wrote:
> >
> > Jerry,
> >
> > Jerry Avins wrote:
> >
> > > Paavo,
> > >
> > > If there is a continuing sinewave -- is that what you mean by "pure"? --
> > > whose ends you can't observe, then you can measure the phase delay, but
> > > there's no information about group delay and no information about the
> > > time delay imposed on the signal by the transport medium. You seemed to
> > > imply that since the phase delay, but not the group delay can be
> > > observed, then the phase delay must be the time delay.
> >
> > That is exactly what I mean't. And with all your explanations on why you believe
> > your "understanding" is correct you still have failed to explain how your
> > definition can violate causality. Please explain how it can be! I suggest if you
> > cannot then your understanding clearly wrong.
> >
> > I say again, it is perfectly possible to realise a linear time invariant system
> > whose phase response will show a positive slope at some point (ie. a time advance)
> > and a phase delay (in other words I can realise a system that has a phase delay of
> > 0.5ms @ 500Hz and a group delay of -0.05ms @50Hz). Going by your assertion that
> > group delay is the delay of energy passing through the system then you reach the
> > conclusion that this system outputs energy before any is put in... hence violating
> > causality.
> >
> > Just in case your about to suggest that synthesis of such as system is not
> > possible consider the case of two complimentary filters : low pass and high pass,
> > with a narrow transition band. Lets say the LPF has a phase delay of 10 ms and the
> > HPF has a phase delay of 5 ms. Take the output of each filter and sum them
> > together. The net result is that somewhere in the transition band the phase has to
> > wind back, hence creating a region of negative group delay!
> >
> > > Paavo Jumppanen.
> > > Author of AtSpec : A 2 Channel PC Based FFT Spectrum Analyzer
> > > http://www.taquis.com


--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of

From: Paavo Jumppanen

Date: 3 Feb, 2002 13:23:52

Message: 283 of 454

Jerry Avins wrote:

> Paavo,
>
> I'm beginning to feel that I need a vacation, so I may not finish this
> discussion without a pause. In any event, I'd rather not spend keyboard
> time (my wrists are beginning to ache) on points where we agree. To
> start out, I'll assert without discussion what I believe are points
> important to the discussion and that I believe are true. You can then
> enumerate those you disagree with so we can discuss them and ignore the
> others.
>
> 1. Energy and information are delayed by the group delay. Where velocity
> has meaning, we can say that they move at the group velocity.
>
> 2. Delay is a property of a network or transmission path, not of a
> signal.
>
> 3. Phase delay is the negative of phase shift divided by frequency.
> Discontinuities in phase delay are rare.
>
> 4. Group delay is the negative of the derivative of phase shift with
> respect to frequency. It exists wherever phi(w) is differentiable.
>
> 5. All frequencies that pass through a given symmetric or antisymmetric
> FIR are delayed the same amount of time.
>
> 6. A signal passing through a symmetric FIR undergoes a pure time delay.
>
> 7. If a signal is applied to separate symmetric and antisymmetric FIRs,
> the two outputs will differ in phase by 90 degrees.
>
> I'm sure I overlooked some key points, and we should both be free to
> augment the list as the dialog proceeds. For now, I await your
> appraisal.
>
> Jerry
> --

Jerry,

None of the points you make above except for point 1 can I disagree with as they are
true. Note that in know way am I claiming that I know the true physical meaning of group
delay though I know when I smell a rat and point 1 is just that. You still fail to
demonstrate why it is possible that energy can emerge from a system before it is
inserted. This is implied by your assertion of the meaning of group delay. Or can I take
it as read that you believe it is phyically impossible to have a kink in a system phase
response such that d phi / dt is positive!

To raise the level of confusion a little more let me pose yet another illustration. Let
us say we have a short transmission line that has a group delay of 100us at 500Hz and a
phase delay of 30us at the same frequency. Now assume you do not know this but I give
you a CRO and a fixed frequency signal generator of frequency 500Hz and ask you if you
can measure the time delay through the transmission line. Since the period of 500Hz is
2ms you can clearly measure the time delay as a phase shift without any ambiguity and to
this end you proceed to measure the phase delay to give you the time delay through the
system at 500Hz of 30us. Now given the length of the line by your assertion I cannot
determine the wave speed at 500Hz (speed at which the energy in the wave propagates)
since all I can measure is the phase delay. In this circumstance you are telling me that
the wave speed is not measureable because I need to know the slope of the phase response
at 500Hz and not absolute phase itself. If none of this raises any doubts at all in you
mind as to your definition 1 then I 'll resign to the fact that you believe what you do
and I my own.

Thanks for the discussion though. It's also interesting to challenge ones own
understanding of things to see how comfortable we feel about the ground that we stand
upon.

Cheers,


Paavo Jumppanen
Author of AtSpec : A 2 Channel PC based FFT Spectrum Analyzer
http://www.taquis.com

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: Steve Underwood

Date: 3 Feb, 2002 12:30:46

Message: 284 of 454

Jerry Avins wrote:

> Paavo,
>
> I'm beginning to feel that I need a vacation



Well, Jerry. When you come back, maybe you should establish:

comp.physical.meaning.of.group.delay


where years of interesting discussion on this topic can take place.



Regards,
Steve

Subject: i don't think there are enough posts in the "Physical meaning of

From: Jerry Avins

Date: 3 Feb, 2002 00:50:30

Message: 285 of 454

Paavo Jumppanen wrote:
>
> Jerry Avins wrote:
>
> > Paavo,
> >
> > I'm beginning to feel that I need a vacation, so I may not finish this
> > discussion without a pause. In any event, I'd rather not spend keyboard
> > time (my wrists are beginning to ache) on points where we agree. To
> > start out, I'll assert without discussion what I believe are points
> > important to the discussion and that I believe are true. You can then
> > enumerate those you disagree with so we can discuss them and ignore the
> > others.
> >
> > 1. Energy and information are delayed by the group delay. Where velocity
> > has meaning, we can say that they move at the group velocity.
> >
> > 2. Delay is a property of a network or transmission path, not of a
> > signal.
> >
> > 3. Phase delay is the negative of phase shift divided by frequency.
> > Discontinuities in phase delay are rare.
> >
> > 4. Group delay is the negative of the derivative of phase shift with
> > respect to frequency. It exists wherever phi(w) is differentiable.
> >
> > 5. All frequencies that pass through a given symmetric or antisymmetric
> > FIR are delayed the same amount of time.
> >
> > 6. A signal passing through a symmetric FIR undergoes a pure time delay.
> >
> > 7. If a signal is applied to separate symmetric and antisymmetric FIRs,
> > the two outputs will differ in phase by 90 degrees.
> >
> > I'm sure I overlooked some key points, and we should both be free to
> > augment the list as the dialog proceeds. For now, I await your
> > appraisal.
> >
> > Jerry
> > --
>
> Jerry,
>
> None of the points you make above except for point 1 can I disagree with as they are
> true. Note that in know way am I claiming that I know the true physical meaning of group
> delay though I know when I smell a rat and point 1 is just that. You still fail to
> demonstrate why it is possible that energy can emerge from a system before it is
> inserted. This is implied by your assertion of the meaning of group delay. Or can I take
> it as read that you believe it is phyically impossible to have a kink in a system phase
> response such that d phi / dt is positive!
>
> To raise the level of confusion a little more let me pose yet another illustration. Let
> us say we have a short transmission line that has a group delay of 100us at 500Hz and a
> phase delay of 30us at the same frequency. Now assume you do not know this but I give
> you a CRO and a fixed frequency signal generator of frequency 500Hz and ask you if you
> can measure the time delay through the transmission line. Since the period of 500Hz is
> 2ms you can clearly measure the time delay as a phase shift without any ambiguity and to
> this end you proceed to measure the phase delay to give you the time delay through the
> system at 500Hz of 30us. Now given the length of the line by your assertion I cannot
> determine the wave speed at 500Hz (speed at which the energy in the wave propagates)
> since all I can measure is the phase delay. In this circumstance you are telling me that
> the wave speed is not measureable because I need to know the slope of the phase response
> at 500Hz and not absolute phase itself. If none of this raises any doubts at all in you
> mind as to your definition 1 then I 'll resign to the fact that you believe what you do
> and I my own.
>
> Thanks for the discussion though. It's also interesting to challenge ones own
> understanding of things to see how comfortable we feel about the ground that we stand
> upon.
>
> Cheers,
>
> Paavo Jumppanen
> Author of AtSpec : A 2 Channel PC based FFT Spectrum Analyzer
> http://www.taquis.com

Paavo,

It's late, and I won't address your technical points now. I want to be
clear that my previous message was not an attempt to demonstrate
anything at all. It was the opening in a search for common ground so we
could begin a meaningful analysis. Item 1 is indeed fuzzy. I mentioned
it first because it was the earliest item of consensus that I recalled.
(I didn't actually review the thread.) It was acknowledged that the
actual information is in the modulation, and the modulation undergoes
group delay. Someone else stated, with no disagreement, that energy
undergoes the same delay.

Clearly, statements I make reflect what believe. I presume that I don't
need to repeat "I think that ..." In that spirit, statement 1 is true,
but I don't need it to make a convincing case that phase delay is not
the delay of of a signal in any sense. It would be less confusing not to
call it a delay at all. An argument to demonstrate that will follow.

Peace!

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of

From: Jerry Avins

Date: 3 Feb, 2002 00:52:20

Message: 286 of 454

Steve Underwood wrote:
>
> Jerry Avins wrote:
>
> > Paavo,
> >
> > I'm beginning to feel that I need a vacation
>
> Well, Jerry. When you come back, maybe you should establish:
>
> comp.physical.meaning.of.group.delay
>
> where years of interesting discussion on this topic can take place.
>
> Regards,
> Steve

A far more interesting question is "What is the Meaning of Phase Delay?"

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: Steve Underwood

Date: 3 Feb, 2002 18:36:02

Message: 287 of 454

Jerry Avins wrote:

> Steve Underwood wrote:
>
>>Jerry Avins wrote:
>>
>>
>>>Paavo,
>>>
>>>I'm beginning to feel that I need a vacation
>>>
>>Well, Jerry. When you come back, maybe you should establish:
>>
>> comp.physical.meaning.of.group.delay
>>
>>where years of interesting discussion on this topic can take place.
>>
>>Regards,
>>Steve
>>
>
> A far more interesting question is "What is the Meaning of Phase Delay?"

You'll grow out of that, Jerry. Its just a phase you are going through.

Perhaps you can call it:

comp.physical.meaning.of.delays

Would that give more scope for lively debate? Considering what has
happened with group delay, do you need it?

Regards,
Steve

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 3 Feb, 2002 11:54:26

Message: 288 of 454

Paavo Jumppanen wrote:
>
> Jerry Avins wrote:
>
> > Paavo,
> >
> > I'm beginning to feel that I need a vacation, so I may not finish this
> > discussion without a pause. In any event, I'd rather not spend keyboard
> > time (my wrists are beginning to ache) on points where we agree. To
> > start out, I'll assert without discussion what I believe are points
> > important to the discussion and that I believe are true. You can then
> > enumerate those you disagree with so we can discuss them and ignore the
> > others.
> >
> > 1. Energy and information are delayed by the group delay. Where velocity
> > has meaning, we can say that they move at the group velocity.
> >
> > 2. Delay is a property of a network or transmission path, not of a
> > signal.
> >
> > 3. Phase delay is the negative of phase shift divided by frequency.
> > Discontinuities in phase delay are rare.
> >
> > 4. Group delay is the negative of the derivative of phase shift with
> > respect to frequency. It exists wherever phi(w) is differentiable.
> >
> > 5. All frequencies that pass through a given symmetric or antisymmetric
> > FIR are delayed the same amount of time.
> >
> > 6. A signal passing through a symmetric FIR undergoes a pure time delay.
> >
> > 7. If a signal is applied to separate symmetric and antisymmetric FIRs,
> > the two outputs will differ in phase by 90 degrees.
> >
> > I'm sure I overlooked some key points, and we should both be free to
> > augment the list as the dialog proceeds. For now, I await your
> > appraisal.
> >
> > Jerry
> > --
>
> Jerry,
>
> None of the points you make above except for point 1 can I disagree with as they are
> true. Note that in know way am I claiming that I know the true physical meaning of group
> delay though I know when I smell a rat and point 1 is just that. You still fail to
> demonstrate why it is possible that energy can emerge from a system before it is
> inserted. This is implied by your assertion of the meaning of group delay. Or can I take
> it as read that you believe it is phyically impossible to have a kink in a system phase
> response such that d phi / dt is positive!

A technique to probe cables for flaws by bouncing pulses off impedance
discontinuities and timing their round-trip delays is called time-domain
reflectometry. You can think of it as radar applied to transmission
lines. The actual distance to the fault can be determined if the signal
velocity is known, and the velocity can be determined by measuring an
intact piece of line. The returned pulse's phase depends on whether it
is an open or short circuit, but not on the test cable's length. The
returned pulse's arrival time depends only on the test cable's length.
<unfounded assertion> The velocity that makes the cable's computed
length match its measured length is the group velocity. </unfounded
assertion> Frequency-domain reflectometry is also possible. It depends
on the phase velocity, and there is an uncertainty if the character of
the termination or fault is unknown.

>
> To raise the level of confusion a little more let me pose yet another illustration. Let
> us say we have a short transmission line that has a group delay of 100us at 500Hz and a
> phase delay of 30us at the same frequency. Now assume you do not know this but I give
> you a CRO and a fixed frequency signal generator of frequency 500Hz and ask you if you
> can measure the time delay through the transmission line. Since the period of 500Hz is
> 2ms you can clearly measure the time delay as a phase shift without any ambiguity and to
> this end you proceed to measure the phase delay to give you the time delay through the
> system at 500Hz of 30us. Now given the length of the line by your assertion I cannot
> determine the wave speed at 500Hz (speed at which the energy in the wave propagates)
> since all I can measure is the phase delay. In this circumstance you are telling me that
> the wave speed is not measureable because I need to know the slope of the phase response
> at 500Hz and not absolute phase itself. If none of this raises any doubts at all in you
> mind as to your definition 1 then I'll resign to the fact that you believe what you do
> and I my own.

Phase velocity applies to an established (steady-state) signal, one that
has existed long enough for transients to have faded away. Since there
is no way to mark a particular cycle on the line (too bad: spray paint
doesn't work!), there is no event to time. Phase delay is simply not
about measuring how long something takes. To test your cable, I could
terminate the far with a short or open and drive the near end through a
matching impedance while looking at it with an oscilloscope. I would
start the generator and allow time for steady state to be reached. (I
don't know whether the scope is at a node, anti node, or somewhere
between, but it doesn't much matter. It's nicer not to be right on a
voltage node.) Then I would turn off the generator; if it's internal
impedance in the off state isn't very low, I would turn it off by
shorting it. The scope is triggered when the input is turned off.

While the generator was on, the signal on the line was a standing wave
whose node spacing could be calculated from the frequency and the phase
velocity. (Phase velocity does mean something: we're calculating
distance, not time, though.) After the generator is turned off, the
signal amplitude becomes that of a traveling wave while the scope
displays only the signal reflected from the far end. Some time later,
the signal goes to zero. The signal duration between the turning off of
the generator and the disappearing of the signal is the round-trip
delay. From the known length of the cable and the measured group delay,
we compute the group velocity.

Phase velocity is called a velocity by courtesy only; it is not the
actual velocity of anything. The courtesy is extended because the number
is the product of length and frequency. If we had done the above
measurement with a waveguide, we would have found the phase velocity to
be greater than light velocity. So what?
>
> Thanks for the discussion though. It's also interesting to challenge ones own
> understanding of things to see how comfortable we feel about the ground that we stand
> upon.

No, wait! There's more! Propagating waves which have actual velocity
(hence physical distance) are the easy way to deal with this. The notion
of velocity doesn't apply to a network of lumped-constant components or
a digital process. With them, delay must stand on it's own, and it's
harder to grasp its meaning without the mental crutch that velocity
supplies. There is a box whose innards are unknown and don't matter.
What is known is that there is an input and two outputs. An entering
pure sinewave that falls within an allowed range emerges from each of
the outputs changed in phase, the phases are different. You asked me to
measure the delay of a cable. Now, I ask you to measure the delay of the
two channels in my box. Your task is harder, because you can't reflect a
signal back from the far end.

I'll show my method tomorrow or later today. I didn't mean to make this
a puzzle, but my company just woke and I need to feed them now.
>
> Cheers,
>
> Paavo Jumppanen
> Author of AtSpec : A 2 Channel PC based FFT Spectrum Analyzer
> http://www.taquis.com

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 3 Feb, 2002 12:32:11

Message: 289 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C5C9110.746DCF95@ieee.org>...
>

> .....
> I think most (although apparently not all) here would
> agree with that. There remain a substantial number who maintain that the
> group delay is not the signal delay (a shorthand for the time by which
> the FIR delays the signal), while most of those who (like me) believe
> that it is, remain silent. .....
>
> Jerry

Bob writes

By "signal delay" I think you mean: the time it takes 'information' to
propagate from the souce to the receiver. In an previous message I
suggested that from the time when a carriers' level is raised, until
that raised level reaches the receiver, is the propagation time.

Hiting the input of a filter with a sinusoid (a suddenly applied
sinewave) is the extreme case of increasing the level of a carrier.
The output level increases at a rate determined by the envelope
response of the filter. The time till the output envelope level reachs
50% is the 'propagation time'.


Example

Determine the envelope of the response to a 1000 Hz step for an n =3
Butterworth bandpass filter having a center frequency of 1000 Hz and a
3 dB bandwidth 100 Hz:

---C1---L2----------L5---C6---
             | | |
             L3 C4 R
             | | |
------------------------------

C1 = 1.33 uF
L2 = 19.1 mH
L3 = 95.84 mH
C4 = 265.3 uF
L5 = 6.37 mH
C6 = 4.0 uF
R = 8 Ohms

We can find the envelope response of a bandpass filter by
denormalizing the step response of the lowpass prototype. This can be
done by dividing the time axis of the prototypes' step response by:
(pi * BW). ("BW" = bandwidth of the prototype.) The normalized step
responses are published in filter books. In this case, I simply ran on
my computer, a step function of the lowpass prototype. The results
agreed with the step function in the book.

The step response reached 50% after 3.4 ms. The step response of the
lowpass prototype is nearly identical to the envelope response of the
bandpass filter. Thus, the propagation time for a 1000 Hz sinusoid,
through the bandpass filter, is 3.4 ms.


My circuit analysis program gave the following numbers:
The group delay (Tgd) at 1000 Hz: 6.35 ms.
The phase delay (Tpd) at 1000 Hz: 0.53 ms.
 
This shows that neither *group delay* nor *phase delay*, is closely
related to the propagation time. Thus, neither group delay nor phase
delay relates to how fast a sinewave passes through a filter.

In order to determine propagation time, one needs to know the complete
transfer function. Knowing only the phase shift at *one or two*
frequencies, is simply not enough information to allow a determination
of propagation time. Or to put it another way, it is not enough
information to allow us know the speed of a sinewave through a filter.

Bob Stanton

The envelope delay example came from: Williams "Electronic Filter
Design Handbook". Pg 2-29

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 3 Feb, 2002 17:04:57

Message: 290 of 454

Jerry Avins wrote:
  ...
>
> No, wait! There's more! Propagating waves which have actual velocity
> (hence physical distance) are the easy way to deal with this. The notion
> of velocity doesn't apply to a network of lumped-constant components or
> a digital process. With them, delay must stand on it's own, and it's
> harder to grasp its meaning without the mental crutch that velocity
> supplies. There is a box whose innards are unknown and don't matter.
> What is known is that there is an input and two outputs. An entering
> pure sinewave that falls within an allowed range emerges from each of
> the outputs changed in phase, the phases are different. You asked me to
> measure the delay of a cable. Now, I ask you to measure the delay of the
> two channels in my box. Your task is harder, because you can't reflect a
> signal back from the far end.
>
> I'll show my method tomorrow or later today. I didn't mean to make
> this a puzzle, but my company just woke and I need to feed them now.

Company is (are?) gone. Let's test it! Numbers will be needed to make
the test concrete. I will make them up knowing what the box contains, so
they work nicely. It's only fair that you know too. Channel one contains
the 95-tap antisymmetric FIR filter I posted the other day (available
again on request), channel two is the signal available at the 47th tap
of the FIR's delay line. The filter is flat from .01 to .49 Fs, and our
Fs is 10 KHz. Signals from 100 to 4900 Hz must conform to any theory I
propose*. It's easy to compute the actual delay of both channels: 4.7
milliseconds. Channel two can be construed either as a 47-tap delay, or
a 95-tap symmetric FIR all of whose coefficients except the middle one
are zero, and the middle coefficient is unity. Channel one, as an
antisymmetric FIR of the same length, has the same delay. Computing the
delay is easy. Let's measure it.

To minimize the likelihood that phase wrap will obscure reality, we
probe first with a low frequency. We discover that the amplitudes of the
two channels are not the same below 100 Hz, so we use 100 Hz as the
first probe frequency. Apply the signal and wait for transients to
subside. Compare the phases of both outputs to the input. At channel
two, we measure a shift of about 170 degrees. (Exact: 169.2) At channel
one, we see a shift of only 80 degrees (Exact: 79.2) To get the phase
delay, we divide by the frequency (in degrees/sec!). That give a phase
delay of 2.2 ms for channel one and 4.7 ms for channel two (assuming the
phase hasn't wrapped yet.)

Probe again at 200 Hz, using the same procedure. At channel one, we
measure a phase shift of 250 degrees; at channel two, 340. The phase
delays come out to 3.5 and 4.7 ms, respectively. In channel two, the
phase shift is accounted for by an actual time delay (the group delay!)
of 4.7 ms. Indeed, d(phi)/dw = 4.7. It is for channel one, also. The
difference between them is an additive constant that disappears in the
differentiation. If you have lingering doubt that the channel outputs
are simultaneous, run each to one earphone of a stereo pair and listen.
The way to measure group delay, even on transmission lines, is to
measure the phase delay at a few frequencies and find the slope of the
curve.

Jerry
________________________________
* It's interesting that 100 Hz is represented by 100 samples, somewhat
more than the filter's length. Sometimes, there is a free lunch.
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 3 Feb, 2002 17:38:55

Message: 291 of 454

Bob_Stanton wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C5C9110.746DCF95@ieee.org>...
> >
>
> > .....
> > I think most (although apparently not all) here would
> > agree with that. There remain a substantial number who maintain that the
> > group delay is not the signal delay (a shorthand for the time by which
> > the FIR delays the signal), while most of those who (like me) believe
> > that it is, remain silent. .....
> >
> > Jerry
>
> Bob writes
>
> By "signal delay" I think you mean: the time it takes 'information' to
> propagate from the souce to the receiver. In an previous message I
> suggested that from the time when a carriers' level is raised, until
> that raised level reaches the receiver, is the propagation time.
>
> Hiting the input of a filter with a sinusoid (a suddenly applied
> sinewave) is the extreme case of increasing the level of a carrier.
> The output level increases at a rate determined by the envelope
> response of the filter. The time till the output envelope level reachs
> 50% is the 'propagation time'.
>
> Example
>
> Determine the envelope of the response to a 1000 Hz step for an n =3
> Butterworth bandpass filter having a center frequency of 1000 Hz and a
> 3 dB bandwidth 100 Hz:
>
> ---C1---L2----------L5---C6---
> | | |
> L3 C4 R
> | | |
> ------------------------------
>
> C1 = 1.33 uF
> L2 = 19.1 mH
> L3 = 95.84 mH
> C4 = 265.3 uF
> L5 = 6.37 mH
> C6 = 4.0 uF
> R = 8 Ohms
>
> We can find the envelope response of a bandpass filter by
> denormalizing the step response of the lowpass prototype. This can be
> done by dividing the time axis of the prototypes' step response by:
> (pi * BW). ("BW" = bandwidth of the prototype.) The normalized step
> responses are published in filter books. In this case, I simply ran on
> my computer, a step function of the lowpass prototype. The results
> agreed with the step function in the book.
>
> The step response reached 50% after 3.4 ms. The step response of the
> lowpass prototype is nearly identical to the envelope response of the
> bandpass filter. Thus, the propagation time for a 1000 Hz sinusoid,
> through the bandpass filter, is 3.4 ms.
>
> My circuit analysis program gave the following numbers:
> The group delay (Tgd) at 1000 Hz: 6.35 ms.
> The phase delay (Tpd) at 1000 Hz: 0.53 ms.
>
> This shows that neither *group delay* nor *phase delay*, is closely
> related to the propagation time. Thus, neither group delay nor phase
> delay relates to how fast a sinewave passes through a filter.
>
> In order to determine propagation time, one needs to know the complete
> transfer function. Knowing only the phase shift at *one or two*
> frequencies, is simply not enough information to allow a determination
> of propagation time. Or to put it another way, it is not enough
> information to allow us know the speed of a sinewave through a filter.
>
> Bob Stanton
>
> The envelope delay example came from: Williams "Electronic Filter
> Design Handbook". Pg 2-29

The sudden application of a carrier represents an enormous bandwidth
compared to the numbers usually used when computing (narrow band) group
delay. If you restrict the carrier's rise time and place it not too
close to the edge of the filter's passband, you will see much better
agreement between the observed delay and the calculated group delay.

We agree that the delay of the filter, what you call the propagation
time, is nothing like the phase delay.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 3 Feb, 2002 19:45:32

Message: 292 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C5DBBFF.A59D6304@ieee.org>...

> The sudden application of a carrier represents an enormous bandwidth
> compared to the numbers usually used when computing (narrow band) group
> delay. If you restrict the carrier's rise time and place it not too
> close to the edge of the filter's passband, you will see much better
> agreement between the observed delay and the calculated group delay.
>
> We agree that the delay of the filter, what you call the propagation
> time, is nothing like the phase delay.
>
> Jerry


Bob wrote

First, I agree with what you wrote above. Restricting the carriers'
rise time will slow the output risetime. By slowing the carrier rise
time enough, it could be reduced to 6.35ms. We would have to slow the
rise time to near infinity to get the same numbers as group delay
time. Making the risetime that slow, would make it a continious
sinewave.

But the measurement of time always requires a begining event. If we
slow the risetime that much, we have a continoues wave and no
beginning event.

I'm starting to think the basic concept of a sinewave taking a certain
amount of time to pass through a filter is wrong. I think only events
can be timed. An "event" requires that higher frequencies be we
present with the sinewave.

Bob Stanton

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Paavo Jumppanen

Date: 4 Feb, 2002 14:40:37

Message: 293 of 454



Jerry Avins wrote:

> Paavo Jumppanen wrote:
> >
> > Jerry Avins wrote:
> >
> > > Paavo,
> > >
> > > I'm beginning to feel that I need a vacation, so I may not finish this
>

snip...

>
> Phase velocity applies to an established (steady-state) signal, one that
> has existed long enough for transients to have faded away. Since there
> is no way to mark a particular cycle on the line (too bad: spray paint
> doesn't work!), there is no event to time. Phase delay is simply not
> about measuring how long something takes. To test your cable, I could
> terminate the far with a short or open and drive the near end through a
> matching impedance while looking at it with an oscilloscope. I would
> start the generator and allow time for steady state to be reached. (I
> don't know whether the scope is at a node, anti node, or somewhere
> between, but it doesn't much matter. It's nicer not to be right on a
> voltage node.) Then I would turn off the generator; if it's internal
> impedance in the off state isn't very low, I would turn it off by
> shorting it. The scope is triggered when the input is turned off.
>
> While the generator was on, the signal on the line was a standing wave
> whose node spacing could be calculated from the frequency and the phase
> velocity. (Phase velocity does mean something: we're calculating
> distance, not time, though.) After the generator is turned off, the
> signal amplitude becomes that of a traveling wave while the scope
> displays only the signal reflected from the far end. Some time later,
> the signal goes to zero. The signal duration between the turning off of
> the generator and the disappearing of the signal is the round-trip
> delay. From the known length of the cable and the measured group delay,
> we compute the group velocity.
>
> Phase velocity is called a velocity by courtesy only; it is not the
> actual velocity of anything. The courtesy is extended because the number
> is the product of length and frequency.

Jerry,

You can't have it both ways. If you assert that a system has a group delay of X at a frequency
of Y leading to a group velocity of Z the exact same argument you use to shoot down phase
velocity also applies to group velocity. As soon as you talk about a particular frequency in
the frequency domain you are talking about a sinusoid that has no end nor beginning in time.
By your above statement I can therefore conclude that it is wrong to talk of group velocity at
frequency Z!

Suffice to say I've had enough with this discussion except in as much as I'd like to say that
most of what this has degenerated into comes under the topic of the joint-time frequency
domain which is governed by the uncertainty principle which, if taken to it's fullest
conclusion will tell you that to talk of a delay at a single frequency, whether phase or
group, is essentially meaningless. My intial reason for posting the original reply was to
point out something which I found mis-leading. I have done so and shall now let it rest.

Cheers,


Paavo Jumppanen
Author of AtSpec : A 2 Channel PC based FFT Spectrum Analyzer
http://www.taquis.com

PS - On looking further into the origins of group (envelope) delay I found that the original
idea was based around the delay of the envelope of a sinusiod modulated carrier (again
something that is pure in frequency and hence has no beginning or end) and based on a
truncated Taylors series expansion of the phase as about the carrier. Note that the analysis
is an approximation of the truth and is based on steady state sinuoidal conditions. What this
actually means with the real signals you want to talk about is anyone's guess but it is an
extrapolation which has potential for error. Suffice to say the important conclusion to be
made about group delay is that it must be constant over the channel bandwidth to preserve the
wave shape. That is the most important point to keep in mind (my opinion). To try and put an
exacting and consistent physical meaning on it is, in my honest opinion, not possible.

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 4 Feb, 2002 00:23:29

Message: 294 of 454

This isn't in response to any post in particular but I think the
following examples might be interesting to debate. I just think
personally it is easier to discuss short bursts of signal so that
continuous sinusoids are less likely to confuse the issue and that
transmission lines are a way to easily visualise what is going on.


I'm not sure if the fact that the different frequency components
travel at different propagation velocities is or is not accepted by
everybody, but if it's not then I think the following proves that they
do:

Consider a pulse with infinite rise and fall times, transmitted down a
long tramsission line with an allpass amplitude response and a
non-linear phase response. The pulse will broaden. The pulse at the
transmitter consists of an infinite sum of sinusoids that are only
non-zero when the pulse is non-zero. As the gain of the system = 1 for
all w, due to the law of conservation of energy, the energy that goes
in must also come out (this is an ideal transmission line with zero
resistance). So all the sinusiods are are non-zero for a duration of T
seconds where T is the pulse width. So as the pulse broadens the
sinusoids must travel at different speeds, if they did not then the
pulse couldn't broaden because all the sinusoids are only non-zero for
duration T seconds.

First example:

If you take one of the sinusoids that is slower than the average
speed, how do you define the phase delay for that sinusoid when the
pulse first appears at the end of the transmission line because when
the first sinusoids get there the slow sinusoids haven't arrived yet?
If group delay is the envelope delay, then if you isolate one of the
single sinusoidal component that is slower than average then its
envelope delay must equal the absolute delay. Therefore, as group
delay is the same thing as envelope delay, the group delay = absolute
delay.



Second example:

For phase delay to be the absolute delay the following equations must
all hold:

phi(w) = w * tau

cos w(t - tau) = cos (wt - phi(w)) = cos w(t - Tp(w))

where Tp(w) = phase delay

Say exactly one cycle of a 300 MHz sinewave is transmitted, think
about it on a graph against time (just an ordinary cycle of a sinewave
but on the graph at t = 0 it is on the left hand side because at t=0
it hasn't started to be transmitted yet). What the equation cos w(t -
tau) does graphically is shift the sinewave cycle tau seconds to the
right on the graph. According to the equation cos(wt - phi) then this
is equivalent to a change in phase. So what has happened in the tau
seconds since it was transmitted? This is a cycle of a single sinusoid
so it can't change frequency and it also can't change shape, so it
can't change phase in the normal meaning of phase change. But
according to the above equations the phase has changed. So what does
that mean? It must mean that in tau seconds it has travelled along the
transmission line so that after tau seconds the start of the cycle is
now at some point down the line. It must have travelled

d = wavelength * phi/(2.pi) metres

along the transmission line.

The wavelength for the 300 Mhz sinewave is a function of the velocity
of propagation for that material for that frequency, for example v = c
in air, etc. Call the velocity of propagation Vp, then the wavelength

lambda = Vprop / f

Let

Vprop = 100E6 m/s

lambda = 100E6 / 300E6 = 1/3 m

And a quarter wavelength = 1/(3 * 4) = 1/12 m

The angle covered in a quarter wavelength is pi/2 and the time taken
to cover this is:

w * tau = phi

tau = (pi/2) / (2*pi * 300E-6) = 1 / (4 * 300E-6) = 1 / 600E-6 = 833.3
ps

So it has travelled 1/12 m in 833.3 ps.

So its velocity v equals

v = (1/12) / 833.3E-12 = 100E6 = Vprop = velocity of propagation of
the material

Now this is a bit of a circular argument that just restates via a
couple of equations that the velocity of propagation = distance / time
= Vprop, but what it has shown is that after 833.3 picoseconds the
start of the sinewave has travelled 1/12 m. So all that needs to be
finalised is whether this is the phase delay or the group delay.

I would definitely say that the relation between filters and
transmission lines is

phase delay = phase velocity
group delay = group velocity

The phase velocity equations seem to hold up in the analysis, but the
relative phase hasn't changed because it is the time over which the
sinewave has travelled a 1/4 of a wavelength that has been calculated
so (i.e. if you compare the relative phase it is equal to zero, so the
phase delay

Tp = 0 / w = 0

and the envelope has travelled a 1/4 of a wavelength in 833.3 ps so
the envelope velocity must equal the velocity of propagation and
therefore because the envelope delay = group delay, the absolute delay
= group delay.

Steve

Subject: Physical meaning of Group-Delay ?

From: steve41@totalise.co.uk (Steve)

Date: 4 Feb, 2002 00:25:55

Message: 295 of 454

Sorry, ignore that bit about group delay = group velocity and phase
delay = phase velocity. What I meant to say is that group delay and
phase delay is inversely proportional to group velocity and phase
velocity respectively.

Steve

Subject: Reenamed: The Physical Meaning of Phase Delay

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 4 Feb, 2002 05:03:57

Message: 296 of 454

>Jerry Avins
>
> ......
>
> A technique to probe cables for flaws by bouncing pulses off impedance
> discontinuities and timing their round-trip delays is called time-domain
> reflectometry. You can think of it as radar applied to transmission
> lines. The actual distance to the fault can be determined if the signal
> velocity is known, and the velocity can be determined by measuring an
> intact piece of line. The returned pulse's phase depends on whether it
> is an open or short circuit, but not on the test cable's length. The
> returned pulse's arrival time depends only on the test cable's length.
> <unfounded assertion> The velocity that makes the cable's computed
> length match its measured length is the group velocity. </unfounded
> assertion> Frequency-domain reflectometry is also possible. It depends
> on the phase velocity, and there is an uncertainty if the character of
> the termination or fault is unknown.
>
> ......
>
> Jerry

Bob writes

It is true that in order to get a realistic cable delay, the cable
must be driven from a matched source and terminated properly.

Consider the following circuit: It is a 75 Ohm bridged-T equalizer,
with a return loss of better than 70 dB. Following the equalizer is 15
ft of 75 Ohm cable.


   --------------L1---------------
  | |
   --------------C1---------------
  | |
  ---------------R3---------------
  | |
  ----------R1----------R2----------Cable--
  | | |
 Gen (75 Ohms) | |
  | R4 |
  | | |
  | L2 R5
  | | |
  | C2 |
  | | |
  -----------------------------------------
Gnd

R1 = 75
R2 = 75
R3 = 75
R4 = 75
R5 = 75
L1 = 1.1 uH
L2 = 1.1 uH
C1 = 196 pF
C2 = 196 pF

Since the bridged-T equalizer has a near perfect 75 Ohm output
impedance, the cable is driven from a 75 Ohm source. There will be no
reflections causing errors in delay measurements or delay
calculations.

The S21 of the equalizer and cable combination is -6.02 dB / 0.3
degs,(at 10.9 MHz.) At 10.1 MHz the group delay at the output is zero
nsec!!!

Now we know it *must* take a signal at least *15 nsec* to pass through
this circuit. Therefore, the group delay number ( 0 nsec) has no
relationship to physical time.

All the group delay number tells us is the phase relationship (time
difference) between a carrier and the modulation frequency. The
modulation frequency doesn't physically exist, until the waveform is
demodulated. So, group delay tells us the time relationship between
two frequencies, one of which does not exist!


Bob Stanton

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 4 Feb, 2002 09:20:25

Message: 297 of 454

Bob_Stanton wrote:
>
> >Jerry Avins
> >
> > ......
> >
> > A technique to probe cables for flaws by bouncing pulses off impedance
> > discontinuities and timing their round-trip delays is called time-domain
> > reflectometry. You can think of it as radar applied to transmission
> > lines. The actual distance to the fault can be determined if the signal
> > velocity is known, and the velocity can be determined by measuring an
> > intact piece of line. The returned pulse's phase depends on whether it
> > is an open or short circuit, but not on the test cable's length. The
> > returned pulse's arrival time depends only on the test cable's length.
> > <unfounded assertion> The velocity that makes the cable's computed
> > length match its measured length is the group velocity. </unfounded
> > assertion> Frequency-domain reflectometry is also possible. It depends
> > on the phase velocity, and there is an uncertainty if the character of
> > the termination or fault is unknown.
> >
> > ......
> >
> > Jerry
>
> Bob writes
>
> It is true that in order to get a realistic cable delay, the cable
> must be driven from a matched source and terminated properly.
>
> Consider the following circuit: It is a 75 Ohm bridged-T equalizer,
> with a return loss of better than 70 dB. Following the equalizer is 15
> ft of 75 Ohm cable.
>
> --------------L1---------------
> | |
> --------------C1---------------
> | |
> ---------------R3---------------
> | |
> ----------R1----------R2----------Cable--
> | | |
> Gen (75 Ohms) | |
> | R4 |
> | | |
> | L2 R5
> | | |
> | C2 |
> | | |
> -----------------------------------------
> Gnd
>
> R1 = 75
> R2 = 75
> R3 = 75
> R4 = 75
> R5 = 75
> L1 = 1.1 uH
> L2 = 1.1 uH
> C1 = 196 pF
> C2 = 196 pF
>
> Since the bridged-T equalizer has a near perfect 75 Ohm output
> impedance, the cable is driven from a 75 Ohm source. There will be no
> reflections causing errors in delay measurements or delay
> calculations.
>
> The S21 of the equalizer and cable combination is -6.02 dB / 0.3
> degs,(at 10.9 MHz.) At 10.1 MHz the group delay at the output is zero
> nsec!!!
>
> Now we know it *must* take a signal at least *15 nsec* to pass through
> this circuit. Therefore, the group delay number ( 0 nsec) has no
> relationship to physical time.
>
> All the group delay number tells us is the phase relationship (time
> difference) between a carrier and the modulation frequency. The
> modulation frequency doesn't physically exist, until the waveform is
> demodulated. So, group delay tells us the time relationship between
> two frequencies, one of which does not exist!
>
> Bob Stanton

A real experiment done with real components will show a delay, as you
wrote. How might you calculate that delay?

With time-delay reflectometry, the worse the termination, the stringer
the reflection, and the more precise the measurement (better S/N). When
you figure out exactly what you calculated above (it would surprise me
if it turned out to be group delay as it is commonly meant) and tell us,
it will help all of out understanding.

We know what phase delay means. It is the time that would account for
the observed delay if the phase change were due to delay alone. Phase
can be shifted by circumstances other than delay; in those
circumstances, phase delay is not time delay. The real question is, "How
long after the switch is thrown does the light come on?"

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Clay S. Turner

Date: 4 Feb, 2002 09:50:32

Message: 298 of 454



Paavo Jumppanen wrote:

>
> PS - On looking further into the origins of group (envelope) delay I found that the original
> idea was based around the delay of the envelope of a sinusiod modulated carrier (again
> something that is pure in frequency and hence has no beginning or end) and based on a
> truncated Taylors series expansion of the phase as about the carrier. Note that the analysis
> is an approximation of the truth and is based on steady state sinuoidal conditions. What this
> actually means with the real signals you want to talk about is anyone's guess but it is an
> extrapolation which has potential for error. Suffice to say the important conclusion to be
> made about group delay is that it must be constant over the channel bandwidth to preserve the
> wave shape. That is the most important point to keep in mind (my opinion). To try and put an
> exacting and consistent physical meaning on it is, in my honest opinion, not possible.


Hello Paavo et. al.,
This (the above) outlines the crux of the problem. In the standard
derivation of the group delay, the phase funtion is represented as a
Taylor's series (mentioned above). Then if either the bandwidth of the
signal is narrow enough or the phase function has no terms higher than
1st order, then the group delay is the overall delay. The former applies
when using a standard narrow band signal modulating a carrier and the
latter applies when the signal goes through a linear phase filter. In
the situation where neither criterion is met, group delay becomes a
value that is different than the signal's delay, all though it may be
close.

On doing some searching for answers on this matter (as everyone now
knows this topic has some slippery components) I found some papers
discussing the arrival of a signal after propagation through a
dispersive medium. A long long time ago, two physicists A. Sommerfeld
and L. Brillouin examined the problem and gave authoritative answers.
They each published papers in the Annalen der Physik in 1914. In fact
this topic yielded so much material, that Brillouin wrote a book titled
"Wave Propagation and Group Velocity." While the topic is group velocity
and not group delay, a lot of the same type problems apply to both
topics. A summary of the results can be found in J.D. Jackson's
"Classical Electrodynamics." This last book is the standard text used in
graduate Physics, so most universities will have it in their librarys.

A quote from Jackson:

"It is evident that the exact build up of the signal is a complicated
matter, that causality and relativity are obeyed regardless of the
detailed dispersive properties of the medium, and that the arrival of
the signal cannot be given an unambiguous definition."


So I think in summary we find that group delay is correct for the above
two cases, and otherwise the delay of the signal since its onset is
extremely complicated and may not be well defined.

Clay

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 4 Feb, 2002 09:46:56

Message: 299 of 454

Steve wrote:
>
> This isn't in response to any post in particular but I think the
> following examples might be interesting to debate. I just think
> personally it is easier to discuss short bursts of signal so that
> continuous sinusoids are less likely to confuse the issue and that
> transmission lines are a way to easily visualise what is going on.
>
> I'm not sure if the fact that the different frequency components
> travel at different propagation velocities is or is not accepted by
> everybody, but if it's not then I think the following proves that they
> do:
>
> Consider a pulse with infinite rise and fall times, transmitted down a
> long tramsission line with an allpass amplitude response and a
> non-linear phase response. The pulse will broaden.

What pulse? With infinite rise time, it will be a long wait!
N.B. In what follows, it becomes clear that you mean zero rise time.
That's hard to do.

> The pulse at the
> transmitter consists of an infinite sum of sinusoids that are only
> non-zero when the pulse is non-zero. As the gain of the system = 1 for
> all w, due to the law of conservation of energy, the energy that goes
> in must also come out (this is an ideal transmission line with zero
> resistance). So all the sinusiods are are non-zero for a duration of T
> seconds where T is the pulse width. So as the pulse broadens the
> sinusoids must travel at different speeds, if they did not then the
> pulse couldn't broaden because all the sinusoids are only non-zero for
> duration T seconds.
>
> First example:
>
> If you take one of the sinusoids that is slower than the average
> speed, how do you define the phase delay for that sinusoid when the
> pulse first appears at the end of the transmission line because when
> the first sinusoids get there the slow sinusoids haven't arrived yet?
> If group delay is the envelope delay, then if you isolate one of the
> single sinusoidal component that is slower than average then its
> envelope delay must equal the absolute delay. Therefore, as group
> delay is the same thing as envelope delay, the group delay = absolute
> delay.

Analyzing this way, one implicitly assumes that each of the constituent
sinusoids exists for all time.
>
> Second example:
>
> For phase delay to be the absolute delay the following equations must
> all hold:
>
> phi(w) = w * tau
>
> cos w(t - tau) = cos (wt - phi(w)) = cos w(t - Tp(w))
>
> where Tp(w) = phase delay
>
> Say exactly one cycle of a 300 MHz sinewave is transmitted, think
> about it on a graph against time (just an ordinary cycle of a sinewave
> but on the graph at t = 0 it is on the left hand side because at t=0
> it hasn't started to be transmitted yet). What the equation cos w(t -
> tau) does graphically is shift the sinewave cycle tau seconds to the
> right on the graph. According to the equation cos(wt - phi) then this
> is equivalent to a change in phase. So what has happened in the tau
> seconds since it was transmitted? This is a cycle of a single sinusoid
> so it can't change frequency and it also can't change shape, so it
> can't change phase in the normal meaning of phase change. But
> according to the above equations the phase has changed. So what does
> that mean? It must mean that in tau seconds it has travelled along the
> transmission line so that after tau seconds the start of the cycle is
> now at some point down the line. It must have travelled
>
> d = wavelength * phi/(2.pi) metres
>
> along the transmission line.
>
> The wavelength for the 300 Mhz sinewave is a function of the velocity
> of propagation for that material for that frequency, for example v = c
> in air, etc. Call the velocity of propagation Vp, then the wavelength
>
> lambda = Vprop / f
>
> Let
>
> Vprop = 100E6 m/s
>
> lambda = 100E6 / 300E6 = 1/3 m
>
> And a quarter wavelength = 1/(3 * 4) = 1/12 m
>
> The angle covered in a quarter wavelength is pi/2 and the time taken
> to cover this is:
>
> w * tau = phi
>
> tau = (pi/2) / (2*pi * 300E-6) = 1 / (4 * 300E-6) = 1 / 600E-6 = 833.3
> ps
>
> So it has travelled 1/12 m in 833.3 ps.
>
> So its velocity v equals
>
> v = (1/12) / 833.3E-12 = 100E6 = Vprop = velocity of propagation of
> the material
>
> Now this is a bit of a circular argument that just restates via a
> couple of equations that the velocity of propagation = distance / time
> = Vprop, but what it has shown is that after 833.3 picoseconds the
> start of the sinewave has travelled 1/12 m. So all that needs to be
> finalised is whether this is the phase delay or the group delay.
>
> I would definitely say that the relation between filters and
> transmission lines is
>
> phase delay = phase velocity
> group delay = group velocity
>
> The phase velocity equations seem to hold up in the analysis, but the
> relative phase hasn't changed because it is the time over which the
> sinewave has travelled a 1/4 of a wavelength that has been calculated
> so (i.e. if you compare the relative phase it is equal to zero, so the
> phase delay
>
> Tp = 0 / w = 0
>
> and the envelope has travelled a 1/4 of a wavelength in 833.3 ps so
> the envelope velocity must equal the velocity of propagation and
> therefore because the envelope delay = group delay, the absolute delay
> = group delay.
>
> Steve

Dispersion and losslessnness cannot occur together on a transmission
line. (Equations upon request.) Your analysis assumes that delay is the
only cause of phase shift. In general, it is not. Since you may want to
restate the argument without that assumption, I defer further comment.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: ricklyon@remove.onemain.com (Rick Lyons)

Date: 4 Feb, 2002 16:05:55

Message: 300 of 454

On Fri, 01 Feb 2002 20:17:07 -0500, Jerry Avins <jya@ieee.org> wrote:



(snipped)

Hi Jer,

  I took a quick look at that MATLAB code, and am glad I did.
(Note that I haven't followed this thread in a thorough way.)
That impulse response looks like that of a Hilbert
transformer, with an odd number of samples and with
alternating samples being zeros. The freq-domain
magnitude response also corresponds to a Hilbert
xformer having an odd number of taps. (I. E., zero
magnitude at 0 Hz and at Fs/2.)

What startled me was the filtered sequence looked
like the derivative of the input squarewave sequence!
That surprised me. I did know that the Hilbert
xform of a cosine wave is a sinewave, but I've never
thought that the Hilbert xform of cosine wave is
the negative of the derivative of a cosine.
That makes me think there may be some (unknown to me)
solid relationship between a Hilbert xformer and a
digital differentiator. I hope I'm not 'missing
something' simple here.

I'll have to do some 'homework' on digital differentiators
and Hilbert xformers to figure this out.

[-Rick-]

Subject: Hilbert Transformers and Differentiators

From: Clay S. Turner

Date: 4 Feb, 2002 11:32:43

Message: 301 of 454

Hello Rick,
Hilbert transformers and differentiators are alike in that they both
perform 90 degree phase shifts. An antisymmetric impluse response is
all one needs to get the 90 degree shift. The difference is in the
magnitude responses. Ideally the hilbert's magnitude response is one,
but practical filters taper down to zero at DC because 90 degrees at
near DC is a very long time. The ideal magnitude response of a
differentiator is simply the frequency. Since the filters have
antisymmetric impulse responses, the DC response (which is just the sum
of the filter taps) must be zero. There is also a zero in the magnitude
response at Nyquist if the impulse response has odd length. You can show
this by using the input signal of alternating 1 and -1 and this
convolved with an antisymmtric response will be zero. This is a sort of
a bummer since odd length filters have integral delay, so one usually
gives up some of the bandwidth. Think about building a freq. shifter
with a delay, hilbert xfrm., and quad osc. One must restrict input
freqs. or suffer distortion near w=0 or Nyquist. The delay can be
replaced with a symmetric filter whose magnitude mirrors the Hilbert.


Clay



Rick Lyons wrote:
>
> On Fri, 01 Feb 2002 20:17:07 -0500, Jerry Avins <jya@ieee.org> wrote:
>
> (snipped)
>
> Hi Jer,
>
> I took a quick look at that MATLAB code, and am glad I did.
> (Note that I haven't followed this thread in a thorough way.)
> That impulse response looks like that of a Hilbert
> transformer, with an odd number of samples and with
> alternating samples being zeros. The freq-domain
> magnitude response also corresponds to a Hilbert
> xformer having an odd number of taps. (I. E., zero
> magnitude at 0 Hz and at Fs/2.)
>
> What startled me was the filtered sequence looked
> like the derivative of the input squarewave sequence!
> That surprised me. I did know that the Hilbert
> xform of a cosine wave is a sinewave, but I've never
> thought that the Hilbert xform of cosine wave is
> the negative of the derivative of a cosine.
> That makes me think there may be some (unknown to me)
> solid relationship between a Hilbert xformer and a
> digital differentiator. I hope I'm not 'missing
> something' simple here.
>
> I'll have to do some 'homework' on digital differentiators
> and Hilbert xformers to figure this out.
>
> [-Rick-]

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 4 Feb, 2002 11:21:45

Message: 302 of 454

Bob_Stanton wrote:
> I'm starting to think the basic concept of a sinewave taking a certain
> amount of time to pass through a filter is wrong. I think only events
> can be timed. An "event" requires that higher frequencies be we
> present with the sinewave.

It is certainly true that a sine wave can take a certain amount of
time to pass through a filter. Here is an example: Consider the
filter with impulse response delta(t-t0), i.e., a filter that is a
simple delay (at all frequencies) of t0 seconds. Then any one sine
wave at frequency w is also going to require t0 seconds to pass
through the filter, which was to be demonstrated.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 4 Feb, 2002 11:35:52

Message: 303 of 454

Jerry Avins wrote:
>
> Bob_Stanton wrote:
> >
> > >Jerry Avins
> > >
> > > ......
> > >
> > > A technique to probe cables for flaws by bouncing pulses off impedance
> > > discontinuities and timing their round-trip delays is called time-domain
> > > reflectometry. You can think of it as radar applied to transmission
> > > lines. The actual distance to the fault can be determined if the signal
> > > velocity is known, and the velocity can be determined by measuring an
> > > intact piece of line. The returned pulse's phase depends on whether it
> > > is an open or short circuit, but not on the test cable's length. The
> > > returned pulse's arrival time depends only on the test cable's length.
> > > <unfounded assertion> The velocity that makes the cable's computed
> > > length match its measured length is the group velocity. </unfounded
> > > assertion> Frequency-domain reflectometry is also possible. It depends
> > > on the phase velocity, and there is an uncertainty if the character of
> > > the termination or fault is unknown.
> > >
> > > ......
> > >
> > > Jerry
> >
> > Bob writes
> >
> > It is true that in order to get a realistic cable delay, the cable
> > must be driven from a matched source and terminated properly.
> >
> > Consider the following circuit: It is a 75 Ohm bridged-T equalizer,
> > with a return loss of better than 70 dB. Following the equalizer is 15
> > ft of 75 Ohm cable.
> >
> > --------------L1---------------
> > | |
> > --------------C1---------------
> > | |
> > ---------------R3---------------
> > | |
> > ----------R1----------R2----------Cable--
> > | | |
> > Gen (75 Ohms) | |
> > | R4 |
> > | | |
> > | L2 R5
> > | | |
> > | C2 |
> > | | |
> > -----------------------------------------
> > Gnd
> >
> > R1 = 75
> > R2 = 75
> > R3 = 75
> > R4 = 75
> > R5 = 75
> > L1 = 1.1 uH
> > L2 = 1.1 uH
> > C1 = 196 pF
> > C2 = 196 pF
> >
> > Since the bridged-T equalizer has a near perfect 75 Ohm output
> > impedance, the cable is driven from a 75 Ohm source. There will be no
> > reflections causing errors in delay measurements or delay
> > calculations.
> >
> > The S21 of the equalizer and cable combination is -6.02 dB / 0.3
> > degs,(at 10.9 MHz.) At 10.1 MHz the group delay at the output is zero
> > nsec!!!
> >
> > Now we know it *must* take a signal at least *15 nsec* to pass through
> > this circuit. Therefore, the group delay number ( 0 nsec) has no
> > relationship to physical time.
> >
> > All the group delay number tells us is the phase relationship (time
> > difference) between a carrier and the modulation frequency. The
> > modulation frequency doesn't physically exist, until the waveform is
> > demodulated. So, group delay tells us the time relationship between
> > two frequencies, one of which does not exist!
> >
> > Bob Stanton
>
> A real experiment done with real components will show a delay, as you
> wrote. How might you calculate that delay?
>
> With time-delay reflectometry, the worse the termination, the stringer
> the reflection, and the more precise the measurement (better S/N). When
> you figure out exactly what you calculated above (it would surprise me
> if it turned out to be group delay as it is commonly meant) and tell us,
> it will help all of out understanding.
>
> We know what phase delay means. It is the time that would account for
> the observed delay if the phase change were due to delay alone.

Brain lapse!

It is the time that would account for the observed phase change if the
phase change were due to delay alone.

> Phase can be shifted by circumstances other than delay; in those
> circumstances, phase delay is not time delay. The real question is, "How
> long after the switch is thrown does the light come on?"
>
> Jerry
> --
> Besides a mathematical inclination, an exceptionally good mastery of
> one's native tongue is the most vital asset of a competent programmer.
> Edsger W. Dijkstra
> -----------------------------------------------------------------------


--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Raymond Toy

Date: 4 Feb, 2002 12:11:44

Message: 304 of 454

>>>>> "Randy" == Randy Yates <euschya@rtp.ericsson.com> writes:

    Randy> Bob_Stanton wrote:
    >> I'm starting to think the basic concept of a sinewave taking a certain
    >> amount of time to pass through a filter is wrong. I think only events
    >> can be timed. An "event" requires that higher frequencies be we
    >> present with the sinewave.

    Randy> It is certainly true that a sine wave can take a certain amount of
    Randy> time to pass through a filter. Here is an example: Consider the
    Randy> filter with impulse response delta(t-t0), i.e., a filter that is a
    Randy> simple delay (at all frequencies) of t0 seconds. Then any one sine
    Randy> wave at frequency w is also going to require t0 seconds to pass
    Randy> through the filter, which was to be demonstrated.

Except that for a sine wave, it's pretty hard to tell whether it was
delayed by t0 or t0 +/- some number of periods so there's still
some fuzziness.

Ray

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 4 Feb, 2002 13:25:34

Message: 305 of 454

Raymond Toy wrote:
>
> >>>>> "Randy" == Randy Yates <euschya@rtp.ericsson.com> writes:
>
> Randy> Bob_Stanton wrote:
> >> I'm starting to think the basic concept of a sinewave taking a certain
> >> amount of time to pass through a filter is wrong. I think only events
> >> can be timed. An "event" requires that higher frequencies be we
> >> present with the sinewave.
>
> Randy> It is certainly true that a sine wave can take a certain amount of
> Randy> time to pass through a filter. Here is an example: Consider the
> Randy> filter with impulse response delta(t-t0), i.e., a filter that is a
> Randy> simple delay (at all frequencies) of t0 seconds. Then any one sine
> Randy> wave at frequency w is also going to require t0 seconds to pass
> Randy> through the filter, which was to be demonstrated.
>
> Except that for a sine wave, it's pretty hard to tell whether it was
> delayed by t0 or t0 +/- some number of periods so there's still
> some fuzziness.

True, but, and I'm not absolutely sure of this because I haven't done
the analysis, I believe if the time delay as a function of frequency is
continuous, you can resolve the ambiguity by varying the frequency +/- some delta
about the frequency you're interested in and measuring the delay of those
sine waves.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: i don't think there are enough posts in the "Physical meaning of Group-Delay?" thread.

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 4 Feb, 2002 19:56:26

Message: 306 of 454

Paavo Jumppanen <paavo@trump.net.au> writes:

>Jerry Avins wrote:
(snip)

>> 1. Energy and information are delayed by the group delay. Where velocity
>> has meaning, we can say that they move at the group velocity.
>>
(snip)
>> 5. All frequencies that pass through a given symmetric or antisymmetric
>> FIR are delayed the same amount of time.
>>
>> 6. A signal passing through a symmetric FIR undergoes a pure time delay.
(snip)

>None of the points you make above except for point 1 can I
>disagree with as they are true. Note that in know way am I
>claiming that I know the true physical meaning of group delay
>though I know when I smell a rat and point 1 is just that.
>You still fail to demonstrate why it is possible that energy can
>emerge from a system before it is inserted. This is implied
>by your assertion of the meaning of group delay.
>Or can I take it as read that you believe it is phyically
>impossible to have a kink in a system phase response such
>that d phi / dt is positive!

The original question had to do with the physical meaning, and I am
not sure that applies to FIR's. I usually believe that it means
a system build with resistors, inductors, and capacitors, either
in the discrete form or continuous form (transmission lines).

It might be that you can build FIR filters with characteristics
that can't be made with RLC circuits. I think we have to get
through more of ordinary group delay before getting to anomolous
dispersion, which creates physical systems with unusual phase
and group delays. (Index of refraction less than 1, or even
less than 0, for instance.).

I will continue in another post.

-- glen

Subject: Reenamed: The Physical Meaning of Phase Delay

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 4 Feb, 2002 20:12:16

Message: 307 of 454


Someone wrote:
>
> Phase velocity applies to an established (steady-state) signal, one that
> has existed long enough for transients to have faded away. Since there
> is no way to mark a particular cycle on the line (too bad: spray paint
> doesn't work!), there is no event to time. Phase delay is simply not
> about measuring how long something takes. To test your cable, I could
> terminate the far with a short or open and drive the near end through a
> matching impedance while looking at it with an oscilloscope. I would
> start the generator and allow time for steady state to be reached. (I
> don't know whether the scope is at a node, anti node, or somewhere
> between, but it doesn't much matter. It's nicer not to be right on a
> voltage node.) Then I would turn off the generator; if it's internal
> impedance in the off state isn't very low, I would turn it off by
> shorting it. The scope is triggered when the input is turned off.

You measure phase velocity by measuring the time between, say, two
zero crossings at different places on the cable, in the limit as
the distance (and time) go to zero. Phase delay is then distance
along the cable divided by phase veloctity.

For a black box, in which you can't do the limit as distance
and time go to zero, phase delay is uncertain by a multiple of
the period. You don't know which zero crossing you are measuring.

-- glen

Subject: Reenamed: The Physical Meaning of Phase Delay

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 4 Feb, 2002 20:37:49

Message: 308 of 454

Paavo Jumppanen <paavo@trump.net.au> writes:

>You can't have it both ways. If you assert that a system has
>a group delay of X at a frequency of Y leading to a group
>velocity of Z the exact same argument you use to shoot down
>phase velocity also applies to group velocity. As soon as
>you talk about a particular frequency in the frequency domain
>you are talking about a sinusoid that has no end nor beginning
>in time. By your above statement I can therefore conclude that
>it is wrong to talk of group velocity at frequency Z!

Phase velocity is defined at a frequency, in the limit as time and
distance go to zero. Group velocity is, by definition, the derivative.
( vp=w/k, vg=dw/dk). If you can't do the limit the derivative isn't
defined, but if you can then it is the value at that frequency.

>Suffice to say I've had enough with this discussion except in
>as much as I'd like to say that most of what this has degenerated
>into comes under the topic of the joint-time frequency domain
>which is governed by the uncertainty principle which, if taken to
>it's fullest conclusion will tell you that to talk of a delay at
>a single frequency, whether phase or group, is essentially meaningless.
>My intial reason for posting the original reply was to point out
>something which I found mis-leading.
>I have done so and shall now let it rest.

I was trying to remember a story I heard some years ago related to
the time-frequency uncertainty. Someone had spent much money believing
that they couldn't build a more obvious system because of time-
frequency uncertainty. It turned out that it didn't apply.
Something like measuring both the frequency and arrival time of
a radar signal. Anyway...

For phase velocity, you can measure the phase of a single frequency
sine at different points, or measure the phase difference. If, for
instance, you measure the time difference between zero crossings
of a voltage, your time uncertainty, I believe, is not limited
by 1/w.

(snip)

>PS - On looking further into the origins of group (envelope) delay
>I found that the original idea was based around the delay of the
>envelope of a sinusiod modulated carrier (again something that is
>pure in frequency and hence has no beginning or end) and based on
>a truncated Taylors series expansion of the phase as about the carrier.
>Note that the analysis is an approximation of the truth and is based
>on steady state sinuoidal conditions.

Yes. I believe that group velocity is defined as the first derivative.
If the higher derivatives are important, group velocity is defined
but meaningless. In most cases, it works very well.

>What this actually means with the real signals you want to talk
>about is anyone's guess but it is an extrapolation which has
>potential for error.

>Suffice to say the important conclusion to be made about group
>delay is that it must be constant over the channel bandwidth to
>preserve the wave shape. That is the most important point to keep
>in mind (my opinion). To try and put an exacting and consistent
>physical meaning on it is, in my honest opinion, not possible.

Constant enough, but not usually constant.

-- glen

Subject: Reenamed: The Physical Meaning of Phase Delay

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 4 Feb, 2002 21:25:22

Message: 309 of 454



OK, another explanation of group delay:

Take a long ideal transmission line and send a 1,000,000 Hz and 999,998Hz
sinewave down it. Ideal, infinitely long sine waves. Say the delay
down this ideal cable is 0.1s for all frequencies. The 1000000Hz
signal has 100,000 cycles delay, and the 999,998Hz has 99,999.8 cycles.

If we use sin(x+y)+sin(x-y)=2 sin(x)cos(y) we find that we can look
at the signal as a 999,999Hz carrier modulated by a 1Hz signal,
that is, a 2Hz envelope on a 999,999Hz carrier. (The envelope
goes to zero twice for each cycle of the 1Hz signal).

The 0.2 cycle phase difference at the end is exactly the required
phase difference for the envelope at the end of the cable.

Now, use a transmission line with a dispersive dielectric. The
dielectric constant depends on frequency and is higher at higher
frequencies. For example, say the 999,998Hz component still
takes 0.1s, but the 1,000,000Hz takes 0.100000001s. The lower
frequency has a 99,999.8 cycle phase difference, and the
higher 999,999.99 cycle phase delay in 0.1s. The phase difference
is now 0.19 cycles, the envelope (group) travels 19/20 as
fast as before. The phase velocity is the average of the
two components phase velocities, the phase delay is 0.1000000005s.

This is a very high dispersion, a 2ppm change in frequency caused
a 0.1ppm change in delay, causing a 5% decrease in group velocity.
The dielectric constant increasing with frequency, is the frequency
gets closer to a system resonance, is called normal dispersion.

Within the approximation that the dielectric constant changes
linearly in frequency, the group velocity is useful, as any
shape pulse will travel at this frequency.

(There is anomolous dispersion, where the dielectric constant
(and index of refraction) decrease with increasing frequency.
The explanation is somewhat more complicated.)

-- glen

Subject: Reenamed: The Physical Meaning of Phase Delay

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 4 Feb, 2002 21:37:51

Message: 310 of 454

"Clay S. Turner" <physics@bellsouth.net> writes:

> This (the above) outlines the crux of the problem. In the standard
>derivation of the group delay, the phase funtion is represented as a
>Taylor's series (mentioned above). Then if either the bandwidth of the
>signal is narrow enough or the phase function has no terms higher than
>1st order, then the group delay is the overall delay. The former applies
>when using a standard narrow band signal modulating a carrier and the
>latter applies when the signal goes through a linear phase filter. In
>the situation where neither criterion is met, group delay becomes a
>value that is different than the signal's delay, all though it may be
>close.

>On doing some searching for answers on this matter (as everyone now
>knows this topic has some slippery components) I found some papers
>discussing the arrival of a signal after propagation through a
>dispersive medium. A long long time ago, two physicists A. Sommerfeld
>and L. Brillouin examined the problem and gave authoritative answers.
>They each published papers in the Annalen der Physik in 1914. In fact
>this topic yielded so much material, that Brillouin wrote a book titled
>"Wave Propagation and Group Velocity." While the topic is group velocity
>and not group delay, a lot of the same type problems apply to both
>topics. A summary of the results can be found in J.D. Jackson's
>"Classical Electrodynamics." This last book is the standard text used in
>graduate Physics, so most universities will have it in their librarys.

>A quote from Jackson:

>"It is evident that the exact build up of the signal is a complicated
>matter, that causality and relativity are obeyed regardless of the
>detailed dispersive properties of the medium, and that the arrival of
>the signal cannot be given an unambiguous definition."

I finally got out my copy of Jackson this morning. I believe that
this is the quote for anomolous dispersion, which I don't think
we are ready for yet. There are cases with Vg > c, which is
where the causality problems come from. Once the equations have
gone all the way through, causality is preserved.

If digital filters with negative group delay at certain frequencies
they should have equivalent effect. This happens just above a system
resonant frequency. Consider the phase shift through an RLC
filter as you approach, and then pass, the resonant frequency.

-- glen

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 4 Feb, 2002 21:43:30

Message: 311 of 454

Randy Yates <euschya@rtp.ericsson.com> writes:

>Raymond Toy wrote:
>>
>> Except that for a sine wave, it's pretty hard to tell whether it was
>> delayed by t0 or t0 +/- some number of periods so there's still
>> some fuzziness.

>True, but, and I'm not absolutely sure of this because I haven't done
>the analysis, I believe if the time delay as a function of frequency is
>continuous, you can resolve the ambiguity by varying the frequency
>+/- some delta about the frequency you're interested in and
>measuring the delay of those sine waves.

You can for the group delay. For phase delay I think you have to
follow all the way down to 0Hz. Most physical systems have continuous
functions of frequency, and all derivatives continuous, also.

-- glen

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 4 Feb, 2002 20:17:53

Message: 312 of 454

Jerry Avins wrote:
>
> I told you there would be an extra 90 degree shift not related to delay
> and you found it. What more do you want?

I want you to tell me how you would distingiush phase that is from time delay from
phase that is from phase shift in general for a system in which all you have
is the transfer function.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Paavo Jumppanen

Date: 5 Feb, 2002 13:14:48

Message: 313 of 454

After some long thought on the matter I came upon a similar line of thought which
explains the trouble I have with trying to physically interpret group delay. It groes
something like this.

When someone say the group delay is the time taken for a signal to pass through a
system and lets say that system is, for the frequency range of interest, an all pass
system with constant magnitude response I logically think that if this is so I can
make an equivalent by adding a pure time delay to an all pass system. However this is
only true when group delay and pahse delay are the same. To illustrate lets say the
system has a group delay of T but that the phase delay is such that the difference
between the real phase response and the pahse response of an equivalent delay line is
Phi. In other words the phase response of our system our a limited bandwidth is,

Theta1 = WT + Phi

where W is the radian frequency and the phase reponse of our delay line is,

Theta2 = WT

Now the one flaw in this current model is the fact that we have ignored the double
sided spectrum. The phase response of Theta1 cannot correspond to a real system since
it does not have Hermitian symmetry! A real system would instead have to have the
response,

Theta1 = WT + sign(W) * Phi

Where sign(W) is 1 for W > 0 ; 0 for W = 0 ; and -1 for W < 0.

For argument sake lets say that Phi = PI / 2. Immediately you will see that in reality
what we have is a Hilbert transform! Yet under the definition of group delay we might
come to the conclusion that the system, over a restricted frequency range, will behave
as a distortionless transmission medium since over that restricted frequency range the
group delay is constant. But it's a Hilbert transform isn't it. Surely not something
that you would refer to as distortionless. It seems that in considering group delay
without reference to it's derivation can lead to such oversimplification. In general
you cannot make a simple bandlimited all-pass plus pure time delay equivalent of a
system with constant group delay about the band of interest because of the phase
offset, which of necessity must change sign with -ve frequency (ie. symmetry).
Certainly an all pass phase modifying network such as a Hilbert transform (or whatever
you'd like to call something that shifts by an arbitrary amount) may not distort an
envelope of an AM modulated signal but that is not true of baseband signals.

I can certainly see how it relates to pure time delay but trying to equate it to one
certainly posses big problems for me.

Cheers,


Paavo Jumppanen.
Author of AtSpec : A 2 Channel PC based FFT Spectrum Analyzer
http://www.taquis.com



Randy Yates wrote:

> Jerry Avins wrote:
> >
> > I told you there would be an extra 90 degree shift not related to delay
> > and you found it. What more do you want?
>
> I want you to tell me how you would distingiush phase that is from time delay from
> phase that is from phase shift in general for a system in which all you have
> is the transfer function.
> --
> % Randy Yates % "...the answer lies within your soul
> %% Fuquay-Varina, NC % 'cause no one knows which side
> %%% 919-577-9882 % the coin will fall."
> %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> http://personal.rdu.bellsouth.net/~yatesc

Subject: Reenamed: The Physical Meaning of Phase Delay

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 4 Feb, 2002 18:25:39

Message: 314 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C5EB868.1017E244

> > >
> > > Bob writes
> > >
> > > It is true that in order to get a realistic cable delay, the cable
> > > must be driven from a matched source and terminated properly.
> > >
> > > Consider the following circuit: It is a 75 Ohm bridged-T equalizer,
> > > with a return loss of better than 70 dB. Following the equalizer is 15
> > > ft of 75 Ohm cable.
> > >
|--------------L1---------------
| |
|--------------C1---------------
| |
---------------R3---------------
| |
----------R1----------R2----------Cable----
| | |
Gen (75 Ohms) | |
| R4 |
| | |
| L2 R5
| | |
| C2 |
| | |
 -----------------------------------------
Gnd
> > >
> > > R1 = 75
> > > R2 = 75
> > > R3 = 75
> > > R4 = 75
> > > R5 = 75
> > > L1 = 1.1 uH
> > > L2 = 1.1 uH
> > > C1 = 196 pF
> > > C2 = 196 pF
> > >
....


> > A real experiment done with real components will show a delay, as you
> > wrote. How might you calculate that delay?

Bob writes

An RF circuit analysis program could calculate that delay. How would I
calculate that delay? I would do it the same way the circuit analysis
program does, by matrix analysis, except it would take me a million
times longer. :-)

> >
> > With time-delay reflectometry, the worse the termination, the stringer
> > the reflection, and the more precise the measurement (better S/N). When
> > you figure out exactly what you calculated above (it would surprise me
> > if it turned out to be group delay as it is commonly meant) and tell us,
> > it will help all of out understanding.
> >
>snip>...
>
> It is the time that would account for the observed phase change if the
> phase change were due to delay alone.
>
> > Phase can be shifted by circumstances other than delay; in those
> > circumstances, phase delay is not time delay. The real question is, "How
> > long after the switch is thrown does the light come on?"
> >
> > Jerry

When you "throw" the switch on you are creating a *sinusoid*!

In an earlier message I showed how to determine the time it takes a
sinusoid to pass through a bandpass filter. With this circuit it is
easier. Just apply a step function and wait for the light to go on.

A step function will show that when the switch is thrown, the voltage
goes to 100% at time 15 ns. Unfortunately the light goes dim at time
30 ns when the voltage drops back to 75%. But at time 70 ns, the
voltage is back up to 90%.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Steve G

Date: 4 Feb, 2002 22:33:28

Message: 315 of 454


"Jerry Avins" <jya@ieee.org> wrote in message
news:3C5E9EE0.80F2D1A2@ieee.org...
> Steve wrote:

> What pulse? With infinite rise time, it will be a long wait!
> N.B. In what follows, it becomes clear that you mean zero rise time.
> That's hard to do.

Ooops, yes wrong way round. It was only meant to be theoretical.


> Analyzing this way, one implicitly assumes that each of the constituent
> sinusoids exists for all time.

Can you say that they exist for all time but have zero amplitude for all
time apart from when the pulse is non-zero?


> Dispersion and losslessnness cannot occur together on a transmission
> line. (Equations upon request.)

No, I believe you.


> Your analysis assumes that delay is the
> only cause of phase shift. In general, it is not.

Yes, you showed that with the constant delay, different phase example.

> Since you may want to
> restate the argument without that assumption, I defer further comment.

Right, I'll have a think.

Steve

Subject: Hilbert Transformers and Differentiators

From: ricklyon@remove.onemain.com (Rick Lyons)

Date: 5 Feb, 2002 11:42:07

Message: 316 of 454

On Mon, 04 Feb 2002 11:32:43 -0500, "Clay S. Turner"
<physics@bellsouth.net> wrote:

>Hello Rick,
> Hilbert transformers and differentiators are alike in that they both
>perform 90 degree phase shifts. An antisymmetric impluse response is
>all one needs to get the 90 degree shift. The difference is in the
>magnitude responses. Ideally the hilbert's magnitude response is one,
>but practical filters taper down to zero at DC because 90 degrees at
>near DC is a very long time. The ideal magnitude response of a
>differentiator is simply the frequency. Since the filters have
>antisymmetric impulse responses, the DC response (which is just the sum
>of the filter taps) must be zero. There is also a zero in the magnitude
>response at Nyquist if the impulse response has odd length. You can show
>this by using the input signal of alternating 1 and -1 and this
>convolved with an antisymmtric response will be zero. This is a sort of
>a bummer since odd length filters have integral delay, so one usually
>gives up some of the bandwidth. Think about building a freq. shifter
>with a delay, hilbert xfrm., and quad osc. One must restrict input
>freqs. or suffer distortion near w=0 or Nyquist. The delay can be
>replaced with a symmetric filter whose magnitude mirrors the Hilbert.
>
>Clay

Hi Clay,
  As always, your posts are rich in signal
processing theory. All of your comments sound
familiar. I've got to take the time to carefully
compare the phase responses of Hilbert xformers
and dig. differentiators.
So much to learn, so little time.

Thanks,
[-Rick-]

Subject: Reenamed: The Physical Meaning of Phase Delay

From: steve41@totalise.co.uk (Steve)

Date: 5 Feb, 2002 04:52:41

Message: 317 of 454

Is the notorious "Physical Meaning of Group Delay" thread carrying on
or are we supposed to post to this thread from now on?

Is it me or has it gone a bit quiet? Has somebody called another
ceasefire?

I think I posted that a single sinusoid "travels" a distance, d given
by the following equation which is a result of a phase change (I'm not
saying this equation is correct, it is open to criticism)

d = lambda * (phi / 2.pi)

If the velocity of propagation for the material for this frequency
sinusoid is Vp then you can re-arrange this as follows:

d = (Vp / f) . (phi/2.pi)

f.d = Vp . (phi / 2.pi)

w.d = Vp . phi

d / Vp = phi / w

In this form, d / Vp seems to be the absolute time delay, and phi/w is
the phase delay (or its negative but that is because the phase should
be negative).

Steve

Subject: Physical meaning of Group-Delay ?

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 5 Feb, 2002 06:31:37

Message: 318 of 454

steve41@totalise.co.uk (Steve) wrote in message news:<4d3ee211.0202040023.604fc798@posting.google.com>...
> This isn't in response to any post in particular but I think the
> following examples might be interesting to debate. I just think
> personally it is easier to discuss short bursts of signal so that
> continuous sinusoids are less likely to confuse the issue and that
> transmission lines are a way to easily visualise what is going on.
>
>
> I'm not sure if the fact that the different frequency components
> travel at different propagation velocities is or is not accepted by
> everybody, but if it's not then I think the following proves that they
> do:
>
> Consider a pulse with infinite rise and fall times, transmitted down a
> long tramsission line with an allpass amplitude response and a
> non-linear phase response....

> The pulse will broaden. The pulse at the
> transmitter consists of an infinite sum of sinusoids that are only
> non-zero when the pulse is non-zero.

The sinusoids are only zero amplititude when they are crossing the
zero axis. With an impulse function, the vector *sum* of the sinusoids
is zero most of the time. Every once and a while, all phases are such
that they add (vectorially) to make a big pulse.

> As the gain of the system = 1 for
> all w, due to the law of conservation of energy, the energy that goes
> in must also come out (this is an ideal transmission line with zero
> resistance). So all the sinusiods are are non-zero for a duration of T
> seconds where T is the pulse width. So as the pulse broadens the
> sinusoids must travel at different speeds, if they did not then the
> pulse couldn't broaden because all the sinusoids are only non-zero for
> duration T seconds.
>

The pulse width broadens because the circuit changes the phase and
amplititude of the sinusoids. The sinusoids add up vectorially, to
create a broad, and always time delayed, output pulse. The output is
broad not because the various sinusoids took different times to travel
through, but because the sinusiods phases and amplititudes have
changed.

At this point we are back to the old arguement: If there is a phase
shift is it caused by a delay? My answer is: if only delay causes
phase shift, what causes the phase to shift in a *positive direction*
in some circuits? Negative delay? I don't think so.

> First example:
>
> If you take one of the sinusoids that is slower than the average
> speed, how do you define the phase delay for that sinusoid when the
> pulse first appears at the end of the transmission line because when
> the first sinusoids get there the slow sinusoids haven't arrived yet?
> If group delay is the envelope delay, then if you isolate one of the
> single sinusoidal component that is slower than average then its
> envelope delay must equal the absolute delay. Therefore, as group
> delay is the same thing as envelope delay, the group delay = absolute
> delay.

The above example *assumes* that some sinusoids are slower or faster
than others.

>
>
>
> Second example:
>
> For phase delay to be the absolute delay the following equations must
> all hold:
>
> phi(w) = w * tau
>
> cos w(t - tau) = cos (wt - phi(w)) = cos w(t - Tp(w))
>
> where Tp(w) = phase delay
>
> Say exactly one cycle of a 300 MHz sinewave is transmitted, think
> about it on a graph against time (just an ordinary cycle of a sinewave
> but on the graph at t = 0 it is on the left hand side because at t=0
> it hasn't started to be transmitted yet). What the equation cos w(t -
> tau) does graphically is shift the sinewave cycle tau seconds to the
> right on the graph. According to the equation cos(wt - phi) then this
> is equivalent to a change in phase. So what has happened in the tau
> seconds since it was transmitted? This is a cycle of a single sinusoid
> so it can't change frequency and it also can't change shape, so it
> can't change phase in the normal meaning of phase change. But
> according to the above equations the phase has changed. So what does
> that mean? It must mean that in tau seconds it has travelled along the
> transmission line so that after tau seconds the start of the cycle is
> now at some point down the line. It must have travelled
>
> d = wavelength * phi/(2.pi) metres
>
> along the transmission line.
>
> The wavelength for the 300 Mhz sinewave is a function of the velocity
> of propagation for that material for that frequency, for example v = c
> in air, etc. Call the velocity of propagation Vp, then the wavelength
>
> lambda = Vprop / f
>
> Let
>
> Vprop = 100E6 m/s
>
> lambda = 100E6 / 300E6 = 1/3 m
>
> And a quarter wavelength = 1/(3 * 4) = 1/12 m
>
> The angle covered in a quarter wavelength is pi/2 and the time taken
> to cover this is:
>
> w * tau = phi
>
> tau = (pi/2) / (2*pi * 300E-6) = 1 / (4 * 300E-6) = 1 / 600E-6 = 833.3
> ps
>
> So it has travelled 1/12 m in 833.3 ps.
>
> So its velocity v equals
>
> v = (1/12) / 833.3E-12 = 100E6 = Vprop = velocity of propagation of
> the material
>
> Now this is a bit of a circular argument that just restates via a
> couple of equations that the velocity of propagation = distance / time
> = Vprop, but what it has shown is that after 833.3 picoseconds the
> start of the sinewave has travelled 1/12 m. So all that needs to be
> finalised is whether this is the phase delay or the group delay.
>
> I would definitely say that the relation between filters and
> transmission lines is
>
> phase delay = phase velocity
> group delay = group velocity
>
> The phase velocity equations seem to hold up in the analysis, but the
> relative phase hasn't changed because it is the time over which the
> sinewave has travelled a 1/4 of a wavelength that has been calculated
> so (i.e. if you compare the relative phase it is equal to zero, so the
> phase delay
>
> Tp = 0 / w = 0
>
> and the envelope has travelled a 1/4 of a wavelength in 833.3 ps so
> the envelope velocity must equal the velocity of propagation and
> therefore because the envelope delay = group delay, the absolute delay
> = group delay.
>

For transmission lines, delay (of sinusoids) causes phase shift. For R
L and C circuits, the phase shift (of sinusoids) causes delay. (Sort
of the opposit effect.)

There is no 'velocity of light' effect on R L and C circuits, thus for
continious waves, all component frequencies pass through
*instantaneously*, (in 0 ns). The vector sum of the components will
create an output waveform that is time shifted from the input
waveform. That doesn't mean that the component sinusoids take any time
to come through.

Continious waves are in the frequency domain. Transients are in the
time domain. Never the twain shall meet. A wave can't be both
continious and transient. You have to say different things about the
physical meaning of them.

Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 5 Feb, 2002 11:59:21

Message: 319 of 454

Bob_Stanton wrote:
> [...]
> At this point we are back to the old arguement: If there is a phase
> shift is it caused by a delay? My answer is: if only delay causes
> phase shift, what causes the phase to shift in a *positive direction*
> in some circuits? Negative delay? I don't think so.

I think the problem you're seeing is that the phase is "wrapped." You
have to be careful that the phase response you're viewing is the unwrapped
phase response (which makes use of the fact that for real systems the phase
at DC is 0, thus one can start unravelling from there). For real physical
systems, causality cannot be violated, thus propagation time is always
at least 0 seconds, and unwrapped phase is always non-positive.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 5 Feb, 2002 12:05:39

Message: 320 of 454

Bob_Stanton wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C5EB868.1017E244
>
> > > >
> > > > Bob writes
> > > >
> > > > It is true that in order to get a realistic cable delay, the cable
> > > > must be driven from a matched source and terminated properly.
> > > >
> > > > Consider the following circuit: It is a 75 Ohm bridged-T equalizer,
> > > > with a return loss of better than 70 dB. Following the equalizer is 15
> > > > ft of 75 Ohm cable.
> > > >
> |--------------L1---------------
> | |
> |--------------C1---------------
> | |
> ---------------R3---------------
> | |
> ----------R1----------R2----------Cable----
> | | |
> Gen (75 Ohms) | |
> | R4 |
> | | |
> | L2 R5
> | | |
> | C2 |
> | | |
> -----------------------------------------
> Gnd
> > > >
> > > > R1 = 75
> > > > R2 = 75
> > > > R3 = 75
> > > > R4 = 75
> > > > R5 = 75
> > > > L1 = 1.1 uH
> > > > L2 = 1.1 uH
> > > > C1 = 196 pF
> > > > C2 = 196 pF
> > > >
> ....
>
> > > A real experiment done with real components will show a delay, as you
> > > wrote. How might you calculate that delay?
>
> Bob writes
>
> An RF circuit analysis program could calculate that delay. How would I
> calculate that delay? I would do it the same way the circuit analysis
> program does, by matrix analysis, except it would take me a million
> times longer. :-)
>
> > >
> > > With time-delay reflectometry, the worse the termination, the stringer
> > > the reflection, and the more precise the measurement (better S/N). When
> > > you figure out exactly what you calculated above (it would surprise me
> > > if it turned out to be group delay as it is commonly meant) and tell us,
> > > it will help all of out understanding.
> > >
> >snip>...
> >
> > It is the time that would account for the observed phase change if the
> > phase change were due to delay alone.
> >
> > > Phase can be shifted by circumstances other than delay; in those
> > > circumstances, phase delay is not time delay. The real question is, "How
> > > long after the switch is thrown does the light come on?"
> > >
> > > Jerry
>
> When you "throw" the switch on you are creating a *sinusoid*!

Oh? Wasn't it you who pointed out that sinusoids exist for all time, and
claimed that truncated considerations are theoretically worthless?
>
> In an earlier message I showed how to determine the time it takes a
> sinusoid to pass through a bandpass filter. With this circuit it is
> easier. Just apply a step function and wait for the light to go on.
>
> A step function will show that when the switch is thrown, the voltage
> goes to 100% at time 15 ns. Unfortunately the light goes dim at time
> 30 ns when the voltage drops back to 75%. But at time 70 ns, the
> voltage is back up to 90%.

Where do these times come from? Why the assumption that the line isn't
properly terminated?. (If indeed it is not, there could just as well be
an overvoltage.) I don't know where a line length, group velocity, or
characteristic impedance was specified; did I miss that?
>
> Bob Stanton

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: i don't think there are enough posts in the "Physical meaning of

From: Jerry Avins

Date: 5 Feb, 2002 12:19:40

Message: 321 of 454

glen herrmannsfeldt wrote:
>
  ...
>
> The original question had to do with the physical meaning, and I am
> not sure that applies to FIR's. I usually believe that it means
> a system build with resistors, inductors, and capacitors, either
> in the discrete form or continuous form (transmission lines).

I can build a system with lumped-constant components in which delay is
not the sole cause of phase shift. I have a hunch that non-minimum-phase
circuits all have that property. At the 1939 Worlds Fair, I listened to
my voice delayed about 20 ms by a passive delay L-C line. (Very hard to
speak coherently!) By adding one or two op-amps summing the signals at
taps on such a delay line, one could build any transversal filter. One
does not need a computer to create the filters you believe are anomalous
(although it sure helps!).
>
> It might be that you can build FIR filters with characteristics
> that can't be made with RLC circuits. I think we have to get
> through more of ordinary group delay before getting to anomolous
> dispersion, which creates physical systems with unusual phase
> and group delays. (Index of refraction less than 1, or even
> less than 0, for instance.).
>
> I will continue in another post.
>
> -- glen

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 5 Feb, 2002 12:29:05

Message: 322 of 454

glen herrmannsfeldt wrote:
>
> Someone wrote: (That was me.)
> >
> > Phase velocity applies to an established (steady-state) signal, one that
> > has existed long enough for transients to have faded away. Since there
> > is no way to mark a particular cycle on the line (too bad: spray paint
> > doesn't work!), there is no event to time. Phase delay is simply not
> > about measuring how long something takes. To test your cable, I could
> > terminate the far with a short or open and drive the near end through a
> > matching impedance while looking at it with an oscilloscope. I would
> > start the generator and allow time for steady state to be reached. (I
> > don't know whether the scope is at a node, anti node, or somewhere
> > between, but it doesn't much matter. It's nicer not to be right on a
> > voltage node.) Then I would turn off the generator; if it's internal
> > impedance in the off state isn't very low, I would turn it off by
> > shorting it. The scope is triggered when the input is turned off.
>
> You measure phase velocity by measuring the time between, say, two
> zero crossings at different places on the cable, in the limit as
> the distance (and time) go to zero. Phase delay is then distance
> along the cable divided by phase veloctity.

Why go to a limit? Phase delay is the time that would account, all by
itself, for the observed phase difference. Phase velocity is the
distance divided by that time. Sometimes, delay is not the only cause of
phase shift. Then the fun (or whatever it's called) begins.
>
> For a black box, in which you can't do the limit as distance
> and time go to zero, phase delay is uncertain by a multiple of
> the period. You don't know which zero crossing you are measuring.
>
> -- glen


--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 5 Feb, 2002 12:50:11

Message: 323 of 454

glen herrmannsfeldt wrote:
>
> OK, another explanation of group delay:
>
> Take a long ideal transmission line and send a 1,000,000 Hz and 999,998Hz
> sinewave down it. Ideal, infinitely long sine waves. Say the delay
> down this ideal cable is 0.1s for all frequencies. The 1000000Hz
> signal has 100,000 cycles delay, and the 999,998Hz has 99,999.8 cycles.
>
> If we use sin(x+y)+sin(x-y)=2 sin(x)cos(y) we find that we can look
> at the signal as a 999,999Hz carrier modulated by a 1Hz signal,
> that is, a 2Hz envelope on a 999,999Hz carrier. (The envelope
> goes to zero twice for each cycle of the 1Hz signal).
>
> The 0.2 cycle phase difference at the end is exactly the required
> phase difference for the envelope at the end of the cable.
>
> Now, use a transmission line with a dispersive dielectric. The
> dielectric constant depends on frequency and is higher at higher
> frequencies. For example, say the 999,998Hz component still
> takes 0.1s, but the 1,000,000Hz takes 0.100000001s. The lower
> frequency has a 99,999.8 cycle phase difference, and the
> higher 999,999.99 cycle phase delay in 0.1s. The phase difference
> is now 0.19 cycles, the envelope (group) travels 19/20 as
> fast as before. The phase velocity is the average of the
> two components phase velocities, the phase delay is 0.1000000005s.
>
> This is a very high dispersion, a 2ppm change in frequency caused
> a 0.1ppm change in delay, causing a 5% decrease in group velocity.
> The dielectric constant increasing with frequency, is the frequency
> gets closer to a system resonance, is called normal dispersion.
>
> Within the approximation that the dielectric constant changes
> linearly in frequency, the group velocity is useful, as any
> shape pulse will travel at this frequency.
>
> (There is anomolous dispersion, where the dielectric constant
> (and index of refraction) decrease with increasing frequency.
> The explanation is somewhat more complicated.)
>
> -- glen

The calculation of group velocity is straightforward, and most of us
understand it. The controversy is about how fast the beating components
move, assuming that the group velocity is constant in the band that
encompasses them.

I have claimed that contemplating a line of sufficient length shows the
absurdity of concluding that the components outrun their combination,
the envelope. Some have introduced the notion that is is sinusoids that
interfere to produce the modulation, and they exist for all time.

Sinusoids (the eternal kind) carry no information. As engineers involved
in communicating information, we need to deal with the start-and-stop
cases, not theorize them out of existence. If there is a group velocity,
the carrier travels at that velocity. To those who continue to believe
that the interfering frequencies which produce an envelope have long
since been absorbed in the termination by the time the envelope arrives,
I wish good luck, good cheer, and eventual understanding.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 5 Feb, 2002 13:21:30

Message: 324 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > I told you there would be an extra 90 degree shift not related to delay
> > and you found it. What more do you want?
>
> I want you to tell me how you would distingiush phase that is from time delay from
> phase that is from phase shift in general for a system in which all you have
> is the transfer function.
> --
> % Randy Yates % "...the answer lies within your soul
> %% Fuquay-Varina, NC % 'cause no one knows which side
> %%% 919-577-9882 % the coin will fall."
> %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> http://personal.rdu.bellsouth.net/~yatesc

It isn't possible to make that distinction at a single frequency. It is
possible to measure the phase delay: that time that would account for
the phase shift if the shift were due entirely to delay. (Since in the
analysis we need only differences, phase wrapping doesn't matter.) By
plotting them against frequency or analyzing several such measurements
with equations, we can determine the slope of the results (if indeed
there is a consistent slope). That slope is a measure of the true time
delay because phase change due to other causes has been subtracted out.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 5 Feb, 2002 13:27:52

Message: 325 of 454

Steve G wrote:
>
> "Jerry Avins" <jya@ieee.org> wrote in message
> news:3C5E9EE0.80F2D1A2@ieee.org...
> > Steve wrote:
>
> > What pulse? With infinite rise time, it will be a long wait!
> > N.B. In what follows, it becomes clear that you mean zero rise time.
> > That's hard to do.
>
> Ooops, yes wrong way round. It was only meant to be theoretical.

Don't sweat it.
>
> > Analyzing this way, one implicitly assumes that each of the constituent
> > sinusoids exists for all time.
>
> Can you say that they exist for all time but have zero amplitude for all
> time apart from when the pulse is non-zero?

No. Existing for all time means existing unchanged for all time.
Otherwise, you and I would exist for all time too. (Is, was, and ever
shall be? Us? Blasphemous!)
>
> > Dispersion and losslessnness cannot occur together on a transmission
> > line. (Equations upon request.)
>
> No, I believe you.
>
> > Your analysis assumes that delay is the
> > only cause of phase shift. In general, it is not.
>
> Yes, you showed that with the constant delay, different phase example.
>
> > Since you may want to
> > restate the argument without that assumption, I defer further comment.
>
> Right, I'll have a think.
>
> Steve

My pleasure!

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 5 Feb, 2002 13:51:06

Message: 326 of 454

Bob_Stanton wrote:
>
> steve41@totalise.co.uk (Steve) wrote in message news:<4d3ee211.0202040023.604fc798@posting.google.com>...
> > This isn't in response to any post in particular but I think the
> > following examples might be interesting to debate. I just think
> > personally it is easier to discuss short bursts of signal so that
> > continuous sinusoids are less likely to confuse the issue and that
> > transmission lines are a way to easily visualise what is going on.
> >
> >
> > I'm not sure if the fact that the different frequency components
> > travel at different propagation velocities is or is not accepted by
> > everybody, but if it's not then I think the following proves that they
> > do:
> >
> > Consider a pulse with infinite rise and fall times, transmitted down a
> > long tramsission line with an allpass amplitude response and a
> > non-linear phase response....
>
> > The pulse will broaden. The pulse at the
> > transmitter consists of an infinite sum of sinusoids that are only
> > non-zero when the pulse is non-zero.
>
> The sinusoids are only zero amplititude when they are crossing the
> zero axis. With an impulse function, the vector *sum* of the sinusoids
> is zero most of the time. Every once and a while, all phases are such
> that they add (vectorially) to make a big pulse.

For a true impulse (by which I mean a Dirac delta function), there is
only one pulse. A train of pulses implies a "Dirichlet kernel".
>
> > As the gain of the system = 1 for
> > all w, due to the law of conservation of energy, the energy that goes
> > in must also come out (this is an ideal transmission line with zero
> > resistance). So all the sinusiods are are non-zero for a duration of T
> > seconds where T is the pulse width. So as the pulse broadens the
> > sinusoids must travel at different speeds, if they did not then the
> > pulse couldn't broaden because all the sinusoids are only non-zero for
> > duration T seconds.
> >
>
> The pulse width broadens because the circuit changes the phase and
> amplititude of the sinusoids. The sinusoids add up vectorially, to
> create a broad, and always time delayed, output pulse. The output is
> broad not because the various sinusoids took different times to travel
> through, but because the sinusiods phases and amplititudes have
> changed.

The relative phases can change only if the travel times are not all the
same or if some other mechanism shifts some of them.
>
> At this point we are back to the old arguement: If there is a phase
> shift is it caused by a delay? My answer is: if only delay causes
> phase shift, what causes the phase to shift in a *positive direction*
> in some circuits? Negative delay? I don't think so.

I will bet with you on that!
>
> > First example:
> >
> > If you take one of the sinusoids that is slower than the average
> > speed, how do you define the phase delay for that sinusoid when the
> > pulse first appears at the end of the transmission line because when
> > the first sinusoids get there the slow sinusoids haven't arrived yet?
> > If group delay is the envelope delay, then if you isolate one of the
> > single sinusoidal component that is slower than average then its
> > envelope delay must equal the absolute delay. Therefore, as group
> > delay is the same thing as envelope delay, the group delay = absolute
> > delay.
>
> The above example *assumes* that some sinusoids are slower or faster
> than others.

Sometimes that's true. When there is a single group delay over the band
involved, it is not.
>
> >
> >
> >
> > Second example:
> >
> > For phase delay to be the absolute delay the following equations must
> > all hold:
> >
> > phi(w) = w * tau
> >
> > cos w(t - tau) = cos (wt - phi(w)) = cos w(t - Tp(w))
> >
> > where Tp(w) = phase delay
> >
> > Say exactly one cycle of a 300 MHz sinewave is transmitted, think
> > about it on a graph against time (just an ordinary cycle of a sinewave
> > but on the graph at t = 0 it is on the left hand side because at t=0
> > it hasn't started to be transmitted yet). What the equation cos w(t -
> > tau) does graphically is shift the sinewave cycle tau seconds to the
> > right on the graph. According to the equation cos(wt - phi) then this
> > is equivalent to a change in phase. So what has happened in the tau
> > seconds since it was transmitted? This is a cycle of a single sinusoid
> > so it can't change frequency and it also can't change shape, so it
> > can't change phase in the normal meaning of phase change. But
> > according to the above equations the phase has changed. So what does
> > that mean? It must mean that in tau seconds it has travelled along the
> > transmission line so that after tau seconds the start of the cycle is
> > now at some point down the line. It must have travelled
> >
> > d = wavelength * phi/(2.pi) metres
> >
> > along the transmission line.
> >
> > The wavelength for the 300 Mhz sinewave is a function of the velocity
> > of propagation for that material for that frequency, for example v = c
> > in air, etc. Call the velocity of propagation Vp, then the wavelength
> >
> > lambda = Vprop / f
> >
> > Let
> >
> > Vprop = 100E6 m/s
> >
> > lambda = 100E6 / 300E6 = 1/3 m
> >
> > And a quarter wavelength = 1/(3 * 4) = 1/12 m
> >
> > The angle covered in a quarter wavelength is pi/2 and the time taken
> > to cover this is:
> >
> > w * tau = phi
> >
> > tau = (pi/2) / (2*pi * 300E-6) = 1 / (4 * 300E-6) = 1 / 600E-6 = 833.3
> > ps
> >
> > So it has travelled 1/12 m in 833.3 ps.
> >
> > So its velocity v equals
> >
> > v = (1/12) / 833.3E-12 = 100E6 = Vprop = velocity of propagation of
> > the material
> >
> > Now this is a bit of a circular argument that just restates via a
> > couple of equations that the velocity of propagation = distance / time
> > = Vprop, but what it has shown is that after 833.3 picoseconds the
> > start of the sinewave has travelled 1/12 m. So all that needs to be
> > finalised is whether this is the phase delay or the group delay.
> >
> > I would definitely say that the relation between filters and
> > transmission lines is
> >
> > phase delay = phase velocity
> > group delay = group velocity
> >
> > The phase velocity equations seem to hold up in the analysis, but the
> > relative phase hasn't changed because it is the time over which the
> > sinewave has travelled a 1/4 of a wavelength that has been calculated
> > so (i.e. if you compare the relative phase it is equal to zero, so the
> > phase delay
> >
> > Tp = 0 / w = 0
> >
> > and the envelope has travelled a 1/4 of a wavelength in 833.3 ps so
> > the envelope velocity must equal the velocity of propagation and
> > therefore because the envelope delay = group delay, the absolute delay
> > = group delay.
> >
>
> For transmission lines, delay (of sinusoids) causes phase shift. For R
> L and C circuits, the phase shift (of sinusoids) causes delay. (Sort
> of the opposit effect.)
>
> There is no 'velocity of light' effect on R L and C circuits, thus for
> continious waves, all component frequencies pass through
> *instantaneously*, (in 0 ns). The vector sum of the components will
> create an output waveform that is time shifted from the input
> waveform. That doesn't mean that the component sinusoids take any time
> to come through.

If they come through without delay and without phase shift, the pulse
shape won't be altered. Shape alteration without delay is another
demonstration that phase shift is not always due to delay.
>
> Continious waves are in the frequency domain. Transients are in the
> time domain. Never the twain shall meet.

Come again? I can take Fourier and Laplace transforms of transients ...
in both directions. The frequency and time domains are equivalent and
interchangeable. The way we think in different circumstances doesn't
change that.

> A wave can't be both continious and transient.

Well, it can have both continuos and transient parts.

> You have to say different things about the physical meaning of them.

Not really, but when there's a mix, one can't be quite so elementary
about the things one does say.
>
> Bob Stanton

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 5 Feb, 2002 13:53:13

Message: 327 of 454

Jerry Avins wrote:
> That slope is a measure of the true time
> delay because phase change due to other causes has been subtracted out.

Can you explain how the phase change due to other causes is subtracted out by
measuring the slope of the phase response curve?
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Reenamed: The Physical Meaning of Phase Delay

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 5 Feb, 2002 19:26:43

Message: 328 of 454

Jerry Avins <jya@ieee.org> writes:
After I wrote:
>> You measure phase velocity by measuring the time between, say, two
>> zero crossings at different places on the cable, in the limit as
>> the distance (and time) go to zero. Phase delay is then distance
>> along the cable divided by phase veloctity.

>Why go to a limit? Phase delay is the time that would account, all by
>itself, for the observed phase difference. Phase velocity is the
>distance divided by that time. Sometimes, delay is not the only cause of
>phase shift. Then the fun (or whatever it's called) begins.

If you don't go to the limit you don't, in general, know how many
cycles of phase are in between. Now, in many cases we do, but in
general you don't.

For a discrete system you could be off by an integer number of cycles.

-- glen

Subject: Hilbert Transformers and Differentiators

From: Tom

Date: 6 Feb, 2002 08:42:18

Message: 329 of 454

I find something unreal about Hilbert Transformers. If you truely can
get a 90 degrees phase shift with no magnitude attenuation then
you can design the perfect servo! You can phase advance to your hearts
content and have 'infinite' bandwidth. Something cannot be right?
Surely a practical Hilbert transformer has a very narrow narrow
bandwidth or something?

Tom


Rick Lyons wrote:

> On Mon, 04 Feb 2002 11:32:43 -0500, "Clay S. Turner"
> <physics@bellsouth.net> wrote:
>
> >Hello Rick,
> > Hilbert transformers and differentiators are alike in that they both
> >perform 90 degree phase shifts. An antisymmetric impluse response is
> >all one needs to get the 90 degree shift. The difference is in the
> >magnitude responses. Ideally the hilbert's magnitude response is one,
> >but practical filters taper down to zero at DC because 90 degrees at
> >near DC is a very long time. The ideal magnitude response of a
> >differentiator is simply the frequency. Since the filters have
> >antisymmetric impulse responses, the DC response (which is just the sum
> >of the filter taps) must be zero. There is also a zero in the magnitude
> >response at Nyquist if the impulse response has odd length. You can show
> >this by using the input signal of alternating 1 and -1 and this
> >convolved with an antisymmtric response will be zero. This is a sort of
> >a bummer since odd length filters have integral delay, so one usually
> >gives up some of the bandwidth. Think about building a freq. shifter
> >with a delay, hilbert xfrm., and quad osc. One must restrict input
> >freqs. or suffer distortion near w=0 or Nyquist. The delay can be
> >replaced with a symmetric filter whose magnitude mirrors the Hilbert.
> >
> >Clay
>
> Hi Clay,
> As always, your posts are rich in signal
> processing theory. All of your comments sound
> familiar. I've got to take the time to carefully
> compare the phase responses of Hilbert xformers
> and dig. differentiators.
> So much to learn, so little time.
>
> Thanks,
> [-Rick-]

Subject: Hilbert Transformers and Differentiators

From: Clay S. Turner

Date: 5 Feb, 2002 16:24:56

Message: 330 of 454

Hello Tom,
The problem is with the low frequency response. But one can pick more
taps to increase the bandwidth. The problem with servos, will be the
overall delay of the filter which is (N-1)/2 sample times. But it is
easy to make practical Hilbert transformers. I've used them in receiver
work mutiple times.

Clay



Tom wrote:
>
> I find something unreal about Hilbert Transformers. If you truely can
> get a 90 degrees phase shift with no magnitude attenuation then
> you can design the perfect servo! You can phase advance to your hearts
> content and have 'infinite' bandwidth. Something cannot be right?
> Surely a practical Hilbert transformer has a very narrow narrow
> bandwidth or something?
>
> Tom
>
> Rick Lyons wrote:
>
> > On Mon, 04 Feb 2002 11:32:43 -0500, "Clay S. Turner"
> > <physics@bellsouth.net> wrote:
> >
> > >Hello Rick,
> > > Hilbert transformers and differentiators are alike in that they both
> > >perform 90 degree phase shifts. An antisymmetric impluse response is
> > >all one needs to get the 90 degree shift. The difference is in the
> > >magnitude responses. Ideally the hilbert's magnitude response is one,
> > >but practical filters taper down to zero at DC because 90 degrees at
> > >near DC is a very long time. The ideal magnitude response of a
> > >differentiator is simply the frequency. Since the filters have
> > >antisymmetric impulse responses, the DC response (which is just the sum
> > >of the filter taps) must be zero. There is also a zero in the magnitude
> > >response at Nyquist if the impulse response has odd length. You can show
> > >this by using the input signal of alternating 1 and -1 and this
> > >convolved with an antisymmtric response will be zero. This is a sort of
> > >a bummer since odd length filters have integral delay, so one usually
> > >gives up some of the bandwidth. Think about building a freq. shifter
> > >with a delay, hilbert xfrm., and quad osc. One must restrict input
> > >freqs. or suffer distortion near w=0 or Nyquist. The delay can be
> > >replaced with a symmetric filter whose magnitude mirrors the Hilbert.
> > >
> > >Clay
> >
> > Hi Clay,
> > As always, your posts are rich in signal
> > processing theory. All of your comments sound
> > familiar. I've got to take the time to carefully
> > compare the phase responses of Hilbert xformers
> > and dig. differentiators.
> > So much to learn, so little time.
> >
> > Thanks,
> > [-Rick-]

Subject: Reenamed: The Physical Meaning of Phase Delay

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 5 Feb, 2002 13:31:15

Message: 331 of 454

steve41@totalise.co.uk (Steve) wrote in message news:<4d3ee211.0202050452.1ec54bdf@posting.google.com>...
> Is the notorious "Physical Meaning of Group Delay" thread carrying on
> or are we supposed to post to this thread from now on?
>
> Is it me or has it gone a bit quiet? Has somebody called another
> ceasefire?
>

....

>
> Steve

Bob writes

I sorry, but I've written so much that the bit bucket in my modem is
geting low. Please carrry on with out me.

Bob Stanton

B.T.W. I was wondering: What is the physical meaning of quantum
mechanics and the uncertainty principle? :-)

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 5 Feb, 2002 21:47:11

Message: 332 of 454

In article <3C602A19.DBCF3DC@rtp.ericsson.com>,
Randy Yates <euschya@rtp.ericsson.com> wrote:
>Jerry Avins wrote:
>> That slope is a measure of the true time
>> delay because phase change due to other causes has been subtracted out.
>
>Can you explain how the phase change due to other causes is subtracted out by
>measuring the slope of the phase response curve?

Hypothesize that the phase delay of a system can be factored
into phase delay dependant on the frequency, plus the phase delay due
to Other Factors. When you differentiate this with respect to the
frequency, the phase delay due to other factors drops out.

The hypothesis is probably only true for some class of systems.

That was kind of a gimmee, wasn't it?

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 5 Feb, 2002 17:09:55

Message: 333 of 454

amolitor-at@visi-dot-com.com wrote:
>
> In article <3C602A19.DBCF3DC@rtp.ericsson.com>,
> Randy Yates <euschya@rtp.ericsson.com> wrote:
> >Jerry Avins wrote:
> >> That slope is a measure of the true time
> >> delay because phase change due to other causes has been subtracted out.
> >
> >Can you explain how the phase change due to other causes is subtracted out by
> >measuring the slope of the phase response curve?
>
> Hypothesize that the phase delay of a system can be factored
> into phase delay dependant on the frequency, plus the phase delay due
> to Other Factors. When you differentiate this with respect to the
> frequency, the phase delay due to other factors drops out.

Why would the phase delay due to other factors not also possibly be
a function of frequency?
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Hilbert Transformers and Differentiators

From: Jerry Avins

Date: 5 Feb, 2002 17:33:58

Message: 334 of 454

Tom wrote:
>
> I find something unreal about Hilbert Transformers. If you truely can
> get a 90 degrees phase shift with no magnitude attenuation then
> you can design the perfect servo! You can phase advance to your hearts
> content and have 'infinite' bandwidth. Something cannot be right?
> Surely a practical Hilbert transformer has a very narrow narrow
> bandwidth or something?
>
> Tom
>
Here's a different slant from Clay's. The price for the 90-degree shift
is an overall time delay about equal to 180 degrees at the lowest
frequency in the passband. Being an (anti)symmetric transversal filter,
an HT's time delay is the same for all frequencies, and the same for all
transversal filters of the same length. That makes it easy to ignore,
but it doesn't make it go away. In a DC servo, it would be a disaster.
You knew there was no free lunch!

Practical Hilbert transformers can easily pass good quality audio. The
one I posted last week has a flat passband from 100 to 4900 Hz at a ten
KHz sample rate. Doubling its length (and therefor its delay) would make
it flat from 50 to 4950 Hz, give or take a few.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 5 Feb, 2002 17:45:20

Message: 335 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> > That slope is a measure of the true time
> > delay because phase change due to other causes has been subtracted out.
>
> Can you explain how the phase change due to other causes is subtracted out by
> measuring the slope of the phase response curve?
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

Let's simplify this a bit by assuming that the non-delay phase shift is
constant, like an HT's 90 degrees. One measurement gives the sum of
shift due to time and "other". At another frequency, we also determine
the shift due to time and "other". Knowing the frequency differences,
the shifts due to time are calculable -- I remember that you calculated
and posted one. Two measurements each contain the constant "other" term.
Subtracting -- getting delta(phi) -- washes it out.

Reading this over, it seems a bit muddy to me right now. If you need an
actual example with numbers, look at one of my responses to Paavo, or
ask me to do it again.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 5 Feb, 2002 17:50:39

Message: 336 of 454

Randy Yates wrote:
>
> amolitor-at@visi-dot-com.com wrote:
> >
> > In article <3C602A19.DBCF3DC@rtp.ericsson.com>,
> > Randy Yates <euschya@rtp.ericsson.com> wrote:
> > >Jerry Avins wrote:
> > >> That slope is a measure of the true time
> > >> delay because phase change due to other causes has been subtracted out.
> > >
> > >Can you explain how the phase change due to other causes is subtracted out by
> > >measuring the slope of the phase response curve?
> >
> > Hypothesize that the phase delay of a system can be factored
> > into phase delay dependant on the frequency, plus the phase delay due
> > to Other Factors. When you differentiate this with respect to the
> > frequency, the phase delay due to other factors drops out.
>
> Why would the phase delay due to other factors not also possibly be
> a function of frequency?

If it were, then it would depend on frequency and so not cancel in the
differentiation. Either it depends on frequency or not. As so many have
said to me in this thread (wrongly, I think!), "You can't have it both
ways."
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 5 Feb, 2002 18:12:47

Message: 337 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > amolitor-at@visi-dot-com.com wrote:
> > >
> > > In article <3C602A19.DBCF3DC@rtp.ericsson.com>,
> > > Randy Yates <euschya@rtp.ericsson.com> wrote:
> > > >Jerry Avins wrote:
> > > >> That slope is a measure of the true time
> > > >> delay because phase change due to other causes has been subtracted out.
> > > >
> > > >Can you explain how the phase change due to other causes is subtracted out by
> > > >measuring the slope of the phase response curve?
> > >
> > > Hypothesize that the phase delay of a system can be factored
> > > into phase delay dependant on the frequency, plus the phase delay due
> > > to Other Factors. When you differentiate this with respect to the
> > > frequency, the phase delay due to other factors drops out.
> >
> > Why would the phase delay due to other factors not also possibly be
> > a function of frequency?
>
> If it were, then it would depend on frequency and so not cancel in the
> differentiation. Either it depends on frequency or not. As so many have
> said to me in this thread (wrongly, I think!), "You can't have it both
> ways."

You completely missed my point. Shall I rephrase, or can you see it now?
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 6 Feb, 2002 00:36:31

Message: 338 of 454

In article <3C605833.C71C1F00@rtp.ericsson.com>,
Randy Yates <euschya@rtp.ericsson.com> wrote:
>amolitor-at@visi-dot-com.com wrote:
>>
>> In article <3C602A19.DBCF3DC@rtp.ericsson.com>,
>> Randy Yates <euschya@rtp.ericsson.com> wrote:
>> >Jerry Avins wrote:
>> >> That slope is a measure of the true time
>> >> delay because phase change due to other causes has been subtracted out.
>> >
>> >Can you explain how the phase change due to other causes is subtracted out by
>> >measuring the slope of the phase response curve?
>>
>> Hypothesize that the phase delay of a system can be factored
>> into phase delay dependant on the frequency, plus the phase delay due
>> to Other Factors. When you differentiate this with respect to the
>> frequency, the phase delay due to other factors drops out.
>
>Why would the phase delay due to other factors not also possibly be
>a function of frequency?

What? The point is that you factor the phase delay into the
part that DOES depend on frequency and the part that doesn't.

The part that doesn't depend on frequency doesn't by definition.

For example, let's imagine that the phase is given by something
like:

sin(freq) + amplitude^2

Then the part that depends on the frequency in sin(freq) and
the part that does not is amplitude^2.

This would be a rather weird system. More normal is something
like a Hilbert Transformer from, was it Jerry?

47*freq/samplerate + pi/4

or something.

Is that clearer?

Andrew

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 5 Feb, 2002 19:50:46

Message: 339 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > amolitor-at@visi-dot-com.com wrote:
> > > >
> > > > In article <3C602A19.DBCF3DC@rtp.ericsson.com>,
> > > > Randy Yates <euschya@rtp.ericsson.com> wrote:
> > > > >Jerry Avins wrote:
> > > > >> That slope is a measure of the true time
> > > > >> delay because phase change due to other causes has been subtracted out.
> > > > >
> > > > >Can you explain how the phase change due to other causes is subtracted out by
> > > > >measuring the slope of the phase response curve?
> > > >
> > > > Hypothesize that the phase delay of a system can be factored
> > > > into phase delay dependant on the frequency, plus the phase delay due
> > > > to Other Factors. When you differentiate this with respect to the
> > > > frequency, the phase delay due to other factors drops out.
> > >
> > > Why would the phase delay due to other factors not also possibly be
> > > a function of frequency?
> >
> > If it were, then it would depend on frequency and so not cancel in the
> > differentiation. Either it depends on frequency or not. As so many have
> > said to me in this thread (wrongly, I think!), "You can't have it both
> > ways."
>
> You completely missed my point. Shall I rephrase, or can you see it now?

Please try another way to hammer it in. I don't yet see the question in
a new light.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Reenamed: The Physical Meaning of Phase Delay

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 6 Feb, 2002 01:03:47

Message: 340 of 454

Jerry Avins <jya@ieee.org> writes:

>glen herrmannsfeldt wrote:
>>
>> OK, another explanation of group delay:
>>
>> Take a long ideal transmission line and send a 1,000,000 Hz and 999,998Hz
>> sinewave down it. Ideal, infinitely long sine waves. Say the delay
>> down this ideal cable is 0.1s for all frequencies. The 1000000Hz
>> signal has 100,000 cycles delay, and the 999,998Hz has 99,999.8 cycles.
>>
>> If we use sin(x+y)+sin(x-y)=2 sin(x)cos(y) we find that we can look
>> at the signal as a 999,999Hz carrier modulated by a 1Hz signal,
>> that is, a 2Hz envelope on a 999,999Hz carrier. (The envelope
>> goes to zero twice for each cycle of the 1Hz signal).
>>
>> The 0.2 cycle phase difference at the end is exactly the required
>> phase difference for the envelope at the end of the cable.
>>
>> Now, use a transmission line with a dispersive dielectric. The
>> dielectric constant depends on frequency and is higher at higher
>> frequencies. For example, say the 999,998Hz component still
>> takes 0.1s, but the 1,000,000Hz takes 0.100000001s. The lower
>> frequency has a 99,999.8 cycle phase difference, and the
>> higher 999,999.99 cycle phase delay in 0.1s. The phase difference
>> is now 0.19 cycles, the envelope (group) travels 19/20 as
>> fast as before. The phase velocity is the average of the
>> two components phase velocities, the phase delay is 0.1000000005s.
>>
(snip)

>The calculation of group velocity is straightforward, and most of us
>understand it. The controversy is about how fast the beating components
>move, assuming that the group velocity is constant in the band that
>encompasses them.

>I have claimed that contemplating a line of sufficient length shows the
>absurdity of concluding that the components outrun their combination,
>the envelope. Some have introduced the notion that is is sinusoids that
>interfere to produce the modulation, and they exist for all time.

The one I describe has only two components, and the envelope goes
on forever, too. If you make a gaussian envelope the Fourier
tranform is Gaussian in w space, centered around the carrier
frequency and width inversely proportional to the width in time.
But then a Gaussian goes on forever, too.

>Sinusoids (the eternal kind) carry no information. As engineers involved
>in communicating information, we need to deal with the start-and-stop
>cases, not theorize them out of existence. If there is a group velocity,
>the carrier travels at that velocity. To those who continue to believe
>that the interfering frequencies which produce an envelope have long
>since been absorbed in the termination by the time the envelope arrives,
>I wish good luck, good cheer, and eventual understanding.

I think above is about how well I can explain the beating components.

The two components move at their phase velocities. The difference in
the phases between the two is the beat, the envelope, that moves at
the group velocity. With only two frequencies it has to be linear
(two points define a line and all that). Two components is as
simple as it can be made. Try reading the above again, with the
two components moving at their phase velocities and the envelope
moving at the group velocity.

I have at home the formula that shows how the relative phase
shift causes the group delay. That is, how it keeps the same
shape while moving at a different speed.

How about this one, that is only slightly related to group and
phase velocities. It is supposed to be an old cowboy trick.
The velocity of a transverse wave on a string (like a violin or piano)
is sqrt(T/mu), T is tension, mu is mass per unit length. If you
rotate a loop of rope, like the end of a cowboy lariat, the
centrifugal force will generate tension in the rope. The velocity
of a pulse on the rope is equal to the velocity of the rope.
If the cowboy kicks the rotating rope loop it will generate pulses
traveling both directions around the rope, relative to the rope.
Relative to the ground, one is stationary and one moves twice as
fast as the rope, but you only see the stationary one. Not a
group velocity question, but a moving media problem.

Now, the original question was for the physical meaning. While I
believe that I understand that, I am still not sure that I understand
it so well for the discrete (FIR) case. The allowable filters
are completely different, and so the are rules about what happens to the
different components.

-- glen

Subject: Reenamed: The Physical Meaning of Phase Delay

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 5 Feb, 2002 18:18:12

Message: 341 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C6010E3.9F09961F@ieee.org>...
> Bob_Stanton wrote:
> >
> > Jerry Avins <jya@ieee.org> wrote in message news:<3C5EB868.1017E244
> >
> > > > >
> > > > > Bob writes
> > > > >
> > > > > It is true that in order to get a realistic cable delay, the cable
> > > > > must be driven from a matched source and terminated properly.
> > > > >
> > > > > Consider the following circuit: It is a 75 Ohm bridged-T equalizer,
> > > > > with a return loss of better than 70 dB. Following the equalizer is 15
> > > > > ft of 75 Ohm cable.
> > > > >
> >|--------------L1---------------
> >| |
> >|--------------C1---------------
> >| |
> >---------------R3---------------
> >| |
> >----------R1----------R2----------Cable----
> >| | |
> >Gen (75 Ohms) | |
> >| R4 |
> >| | |
> >| L2 R5
> >| | |
> >| C2 |
> >| | |
> > -----------------------------------------
> > Gnd
> > > > >
> > > > > R1 = 75
> > > > > R2 = 75
> > > > > R3 = 75
> > > > > R4 = 75
> > > > > R5 = 75
> > > > > L1 = 1.1 uH
> > > > > L2 = 1.1 uH
> > > > > C1 = 196 pF
> > > > > C2 = 196 pF
> > > > >
> > ....


> > When you "throw" the switch on you are creating a *sinusoid*!
>
> Oh? Wasn't it you who pointed out that sinusoids exist for all time, and
> claimed that truncated considerations are theoretically worthless?

No I didn't. Continious sinewaves exits for "all time", sinusoids
start when you turn on the switch.

> >
> > In an earlier message I showed how to determine the time it takes a
> > sinusoid to pass through a bandpass filter. With this circuit it is
> > easier. Just apply a step function and wait for the light to go on.
> >
> > A step function will show that when the switch is thrown, the voltage
> > goes to 100% at time 15 ns. Unfortunately the light goes dim at time
> > 30 ns when the voltage drops back to 75%. But at time 70 ns, the
> > voltage is back up to 90%.
>
> Where do these times come from? Why the assumption that the line isn't
> properly terminated?. (If indeed it is not, there could just as well be
> an overvoltage.)

There was no assumption that the line isn't terminated. In fact, I
took care in my example to have a properly terminated line.

> I don't know where a line length, group velocity, or
> characteristic impedance was specified; did I miss that?

Yes, you missed it. Look in the text and you will see I stated: "15
foot length of 75 Ohm cable." There was no group velocity stated
because, the "group delay" through the equalizer plus 15 ft of cable
was 0 ns. Thats fast velocity! No?


This is the output you will get if you apply a step function to the
input:

 x x x x
 x x
 x x x
 x x x
 x
 x
 x
_________________________________
      Time

The output voltage goes up, then dips down, then goes up again.

I suggest that before you make further comments, you either simulate
(or built) the circuit. That way, you'll know better what you are
talking about.


 Here is the nodes list, since the schematic didn't turn out well.

                    Node Node Value
Gen 75 Ohms 1 0
Res 1 2 75
Res 2 3 75
Res 5 0 75
Res 6 0 75
Cap 2 4
Cap 1 3
Ind 1 3
Ind 4 5
T-line 3 6


Bob Stanton

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 5 Feb, 2002 21:59:11

Message: 342 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> > Jerry Avins wrote:
> > >
> > > Randy Yates wrote:
> > > >
> > > > amolitor-at@visi-dot-com.com wrote:
> > > > >
> > > > > In article <3C602A19.DBCF3DC@rtp.ericsson.com>,
> > > > > Randy Yates <euschya@rtp.ericsson.com> wrote:
> > > > > >Jerry Avins wrote:
> > > > > >> That slope is a measure of the true time
> > > > > >> delay because phase change due to other causes has been subtracted out.
> > > > > >
> > > > > >Can you explain how the phase change due to other causes is subtracted out by
> > > > > >measuring the slope of the phase response curve?
> > > > >
> > > > > Hypothesize that the phase delay of a system can be factored
> > > > > into phase delay dependant on the frequency, plus the phase delay due
> > > > > to Other Factors. When you differentiate this with respect to the
> > > > > frequency, the phase delay due to other factors drops out.
> > > >
> > > > Why would the phase delay due to other factors not also possibly be
> > > > a function of frequency?
> > >
> > > If it were, then it would depend on frequency and so not cancel in the
> > > differentiation. Either it depends on frequency or not. As so many have
> > > said to me in this thread (wrongly, I think!), "You can't have it both
> > > ways."
> >
> > You completely missed my point. Shall I rephrase, or can you see it now?
>
> Please try another way to hammer it in. I don't yet see the question in
> a new light.

If you *DEFINE* phase that is due to "other factors" as the component
of the phase function, phi(w), that does not depend on frequency, then
I would say that not only is this a rather arbitrary and meaningless
distinction, but it is wrong. Why? Because, as I have stated several
times here (and I don't really think parroting a proof from a text
would make it any more convincing, but nevertheless it is a fact that
is provable), the time shifting property of the Fourier transform guarantees
that a change in phase is equivalent to a change in time delay. In other words,
the change in phase that occurs by including the portion of the phase response
that is due to "other factors not linked to a time delay" does indeed cause a
change in the time delay through the system for that component of the signal.

On the other hand, if in general these "other factors" change the
phase as a function of frequency, then differentiating the phase
will not get rid of them.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 6 Feb, 2002 03:43:55

Message: 343 of 454

In article <3C609BFF.F6C79FBB@ieee.org>, Randy Yates <yates@ieee.org> wrote:
>If you *DEFINE* phase that is due to "other factors" as the component
>of the phase function, phi(w), that does not depend on frequency, then
>I would say that not only is this a rather arbitrary and meaningless
>distinction, but it is wrong.

Huh? Wrong? Do you mean to say: The stuff that does not depend
on frequency depends on frequency?

>Why? Because, as I have stated several
>times here (and I don't really think parroting a proof from a text
>would make it any more convincing, but nevertheless it is a fact that
>is provable), the time shifting property of the Fourier transform guarantees
>that a change in phase is equivalent to a change in time delay. In other
>words, the change in phase that occurs by including the portion of the
>phase response that is due to "other factors not linked to a time
>delay" does indeed cause a change in the time delay through the
>system for that component of the signal.
>
>On the other hand, if in general these "other factors" change the
>phase as a function of frequency, then differentiating the phase
>will not get rid of them.

And if the change in phase introduced by other factors does
not depend on frequency, differentiating with respect to phase will.

Consider my favorite system, a 1 tap FIR filter with coefficient
-1. Put that together with a constant 47 sample delay. This is a pretty
simple system, right? It introduces changes to phase, some of which
depend on frequency (that's the 47 sample delay part, it's called
group delay) and some of which don't (the multiply by -1 part).

The phase response of this is something like:

(2*pi*omega / samplerate) + pi

The first term depends on omega, the second does not. The
first represents phase response which depends on frequency, the
second represents the rest of the phase response, which happens
to be constant. Differentiating separates the phase response into
group delay and "delay of other kinds."

I suspect this sounds patronizing, I don't mean to. I know
perfectly well you understand this perfectly. Hopefully this does
illustrate what I am driving at, though.

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 5 Feb, 2002 23:22:15

Message: 344 of 454

Bob_Stanton wrote:
>
> Jerry Avins <jya@ieee.org> wrote in message news:<3C6010E3.9F09961F@ieee.org>...
> > Bob_Stanton wrote:
> > >
> > > Jerry Avins <jya@ieee.org> wrote in message news:<3C5EB868.1017E244
> > >
> > > > > >
> > > > > > Bob writes
> > > > > >
> > > > > > It is true that in order to get a realistic cable delay, the cable
> > > > > > must be driven from a matched source and terminated properly.
> > > > > >
> > > > > > Consider the following circuit: It is a 75 Ohm bridged-T equalizer,
> > > > > > with a return loss of better than 70 dB. Following the equalizer is 15
> > > > > > ft of 75 Ohm cable.
> > > > > >
> > >|--------------L1---------------
> > >| |
> > >|--------------C1---------------
> > >| |
> > >---------------R3---------------
> > >| |
> > >----------R1----------R2----------Cable----
> > >| | |
> > >Gen (75 Ohms) | |
> > >| R4 |
> > >| | |
> > >| L2 R5
> > >| | |
> > >| C2 |
> > >| | |
> > > -----------------------------------------
> > > Gnd
> > > > > >
> > > > > > R1 = 75
> > > > > > R2 = 75
> > > > > > R3 = 75
> > > > > > R4 = 75
> > > > > > R5 = 75
> > > > > > L1 = 1.1 uH
> > > > > > L2 = 1.1 uH
> > > > > > C1 = 196 pF
> > > > > > C2 = 196 pF
> > > > > >
> > > ....
>
> > > When you "throw" the switch on you are creating a *sinusoid*!
> >
> > Oh? Wasn't it you who pointed out that sinusoids exist for all time, and
> > claimed that truncated considerations are theoretically worthless?
>
> No I didn't. Continious sinewaves exits for "all time", sinusoids
> start when you turn on the switch.

That's a new one on me. I thought sinusoids were sines of indeterminate
phase. Is that use widespread?
>
> > >
> > > In an earlier message I showed how to determine the time it takes a
> > > sinusoid to pass through a bandpass filter. With this circuit it is
> > > easier. Just apply a step function and wait for the light to go on.
> > >
> > > A step function will show that when the switch is thrown, the voltage
> > > goes to 100% at time 15 ns. Unfortunately the light goes dim at time
> > > 30 ns when the voltage drops back to 75%. But at time 70 ns, the
> > > voltage is back up to 90%.
> >
> > Where do these times come from? Why the assumption that the line isn't
> > properly terminated?. (If indeed it is not, there could just as well be
> > an overvoltage.)
>
> There was no assumption that the line isn't terminated. In fact, I
> took care in my example to have a properly terminated line.
>
> > I don't know where a line length, group velocity, or
> > characteristic impedance was specified; did I miss that?
>
> Yes, you missed it. Look in the text and you will see I stated: "15
> foot length of 75 Ohm cable." There was no group velocity stated
> because, the "group delay" through the equalizer plus 15 ft of cable
> was 0 ns. Thats fast velocity! No?
>
> This is the output you will get if you apply a step function to the
> input:
>
> x x x x
> x x
> x x x
> x x x
> x
> x
> x
> _________________________________
> Time
>
> The output voltage goes up, then dips down, then goes up again.
>
> I suggest that before you make further comments, you either simulate
> (or built) the circuit. That way, you'll know better what you are
> talking about.
>
> Here is the nodes list, since the schematic didn't turn out well.
>
> Node Node Value
> Gen 75 Ohms 1 0
> Res 1 2 75
> Res 2 3 75
> Res 5 0 75
> Res 6 0 75
> Cap 2 4
> Cap 1 3
> Ind 1 3
> Ind 4 5
> T-line 3 6
>
> Bob Stanton

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 5 Feb, 2002 23:39:41

Message: 345 of 454

glen herrmannsfeldt wrote:
>
> Jerry Avins <jya@ieee.org> writes:
>
> >glen herrmannsfeldt wrote:
> >>
> >> OK, another explanation of group delay:
> >>
> >> Take a long ideal transmission line and send a 1,000,000 Hz and 999,998Hz
> >> sinewave down it. Ideal, infinitely long sine waves. Say the delay
> >> down this ideal cable is 0.1s for all frequencies. The 1000000Hz
> >> signal has 100,000 cycles delay, and the 999,998Hz has 99,999.8 cycles.
> >>
> >> If we use sin(x+y)+sin(x-y)=2 sin(x)cos(y) we find that we can look
> >> at the signal as a 999,999Hz carrier modulated by a 1Hz signal,
> >> that is, a 2Hz envelope on a 999,999Hz carrier. (The envelope
> >> goes to zero twice for each cycle of the 1Hz signal).
> >>
> >> The 0.2 cycle phase difference at the end is exactly the required
> >> phase difference for the envelope at the end of the cable.
> >>
> >> Now, use a transmission line with a dispersive dielectric. The
> >> dielectric constant depends on frequency and is higher at higher
> >> frequencies. For example, say the 999,998Hz component still
> >> takes 0.1s, but the 1,000,000Hz takes 0.100000001s. The lower
> >> frequency has a 99,999.8 cycle phase difference, and the
> >> higher 999,999.99 cycle phase delay in 0.1s. The phase difference
> >> is now 0.19 cycles, the envelope (group) travels 19/20 as
> >> fast as before. The phase velocity is the average of the
> >> two components phase velocities, the phase delay is 0.1000000005s.
> >>
> (snip)
>
> >The calculation of group velocity is straightforward, and most of us
> >understand it. The controversy is about how fast the beating components
> >move, assuming that the group velocity is constant in the band that
> >encompasses them.
>
> >I have claimed that contemplating a line of sufficient length shows the
> >absurdity of concluding that the components outrun their combination,
> >the envelope. Some have introduced the notion that is is sinusoids that
> >interfere to produce the modulation, and they exist for all time.
>
> The one I describe has only two components, and the envelope goes
> on forever, too. If you make a gaussian envelope the Fourier
> tranform is Gaussian in w space, centered around the carrier
> frequency and width inversely proportional to the width in time.
> But then a Gaussian goes on forever, too.
>
> >Sinusoids (the eternal kind) carry no information. As engineers involved
> >in communicating information, we need to deal with the start-and-stop
> >cases, not theorize them out of existence. If there is a group velocity,
> >the carrier travels at that velocity. To those who continue to believe
> >that the interfering frequencies which produce an envelope have long
> >since been absorbed in the termination by the time the envelope arrives,
> >I wish good luck, good cheer, and eventual understanding.
>
> I think above is about how well I can explain the beating components.
>
> The two components move at their phase velocities. The difference in
> the phases between the two is the beat, the envelope, that moves at
> the group velocity. With only two frequencies it has to be linear
> (two points define a line and all that). Two components is as
> simple as it can be made. Try reading the above again, with the
> two components moving at their phase velocities and the envelope
> moving at the group velocity.

Moving at phase velocities higher than the group velocity, the
components will get to the end of the line before their beat. If the
line is long enough, they will be gone before the beat arrives. (If you
believe that, there's a bridge I'd like to sell you.)
>
> I have at home the formula that shows how the relative phase
> shift causes the group delay. That is, how it keeps the same
> shape while moving at a different speed.
>
> How about this one, that is only slightly related to group and
> phase velocities. It is supposed to be an old cowboy trick.
> The velocity of a transverse wave on a string (like a violin or piano)
> is sqrt(T/mu), T is tension, mu is mass per unit length. If you
> rotate a loop of rope, like the end of a cowboy lariat, the
> centrifugal force will generate tension in the rope. The velocity
> of a pulse on the rope is equal to the velocity of the rope.
> If the cowboy kicks the rotating rope loop it will generate pulses
> traveling both directions around the rope, relative to the rope.
> Relative to the ground, one is stationary and one moves twice as
> fast as the rope, but you only see the stationary one. Not a
> group velocity question, but a moving media problem.

When a belt goes over a circular pulley, centrifugal force develops. At
some speed, the force between the belt and the pulley goes to zero. With
appropriate geometry, the pulley can be removed and nothing shifts.
Another way to see this is as a standing wave in the belt.
>
> Now, the original question was for the physical meaning. While I
> believe that I understand that, I am still not sure that I understand
> it so well for the discrete (FIR) case. The allowable filters
> are completely different, and so the are rules about what happens to the
> different components.
>
> -- glen

I can build iterative-section L-C delay lines, and with them and
op-amps, I can build transversal (FIR) filters. I hate it when people
tell me what tools I can't do a task without.

Jerry
--
Engineering is the art | Let's talk about what
of making what you want | you need; you may see
from things you can get. | how to do without it.
---------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 6 Feb, 2002 00:01:37

Message: 346 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > Jerry Avins wrote:
> > > >
> > > > Randy Yates wrote:
> > > > >
> > > > > amolitor-at@visi-dot-com.com wrote:
> > > > > >
> > > > > > In article <3C602A19.DBCF3DC@rtp.ericsson.com>,
> > > > > > Randy Yates <euschya@rtp.ericsson.com> wrote:
> > > > > > >Jerry Avins wrote:
> > > > > > >> That slope is a measure of the true time
> > > > > > >> delay because phase change due to other causes has been subtracted out.
> > > > > > >
> > > > > > >Can you explain how the phase change due to other causes is subtracted out by
> > > > > > >measuring the slope of the phase response curve?
> > > > > >
> > > > > > Hypothesize that the phase delay of a system can be factored
> > > > > > into phase delay dependant on the frequency, plus the phase delay due
> > > > > > to Other Factors. When you differentiate this with respect to the
> > > > > > frequency, the phase delay due to other factors drops out.
> > > > >
> > > > > Why would the phase delay due to other factors not also possibly be
> > > > > a function of frequency?
> > > >
> > > > If it were, then it would depend on frequency and so not cancel in the
> > > > differentiation. Either it depends on frequency or not. As so many have
> > > > said to me in this thread (wrongly, I think!), "You can't have it both
> > > > ways."
> > >
> > > You completely missed my point. Shall I rephrase, or can you see it now?
> >
> > Please try another way to hammer it in. I don't yet see the question in
> > a new light.
>
> If you *DEFINE* phase that is due to "other factors" as the component
> of the phase function, phi(w), that does not depend on frequency, then
> I would say that not only is this a rather arbitrary and meaningless
> distinction, but it is wrong. Why? Because, as I have stated several
> times here (and I don't really think parroting a proof from a text
> would make it any more convincing, but nevertheless it is a fact that
> is provable), the time shifting property of the Fourier transform guarantees
> that a change in phase is equivalent to a change in time delay. In other words,
> the change in phase that occurs by including the portion of the phase response
> that is due to "other factors not linked to a time delay" does indeed cause a
> change in the time delay through the system for that component of the signal.

You interpret the the Fourier transform wrongly. While it is certainly
true that imposing a time delay introduces a phase shift, the relation
is not necessarily reciprocal.
>
> On the other hand, if in general these "other factors" change the
> phase as a function of frequency, then differentiating the phase
> will not get rid of them.

The "other factors" can't be functions of frequency. If they were, their
derivative with respect to frequency would not be zero. A phase shift is
due either to delay or to something else. The dichotomy is real.
> --
> % Randy Yates % "...the answer lies within your soul
> %% Fuquay-Varina, NC % 'cause no one knows which side
> %%% 919-577-9882 % the coin will fall."
> %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> http://personal.rdu.bellsouth.net/~yatesc

It's time to stop. This is like a creationist arguing from the Doctrine
of Disbelief: "I can't imagine how it might be true. Therefor it must be
false." They never say that, of course. They invent strange "science"
instead, like claiming that any waveform generated by algorithm rather
than an ADC is, in your words, INHERENTLY BANDLIMITED*. I've had enough.
Let's stop while we're still friendly.

Jerry
_______________________________
* Here's the whole paragraph:

Go back to the basics of digital signal processing. An anti-aliasing
filter is required at the input of an A/D to avoid aliasing. However,
I did not generate a square wave in the analog domain and then
sample it without an antialiasing filter. That would have caused
aliasing. Instead, what I did was generate the signal directly in
the digital domain. THUS MY SIGNAL IS INHERENTLY BANDLIMITED TO
-Fs/2 TO +Fs/2.
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 6 Feb, 2002 07:32:55

Message: 347 of 454

In article <3C60B8B1.CAFB4161@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
>Randy Yates wrote:
>> is provable), the time shifting property of the Fourier transform guarantees
>> that a change in phase is equivalent to a change in time delay.
>
>You interpret the the Fourier transform wrongly. While it is certainly
>true that imposing a time delay introduces a phase shift, the relation
>is not necessarily reciprocal.

Well, that's not quite fair. What is true is that any terms
in the Fourier transform, of the form e^(j * k * omega) where j is j,
k is any real constant and omega is the variable for frequency, may be
freely interpreted as a time shift proportional to k.

When one observes that the derivative of (k * omega) with
respect to omega is indeed k, and does a little more hacking around,
playing with examples one is tempted to make a DEFINITION to the
effect that if you write the Fourier transform of something like this:

[e^(j * f(omega))] * [g(omega)]

for real valued functions f and g, then whenever f is
differentiable with respect to omega, we'll call that derivative the
"group delay" and interpret it as a delay or time shift which depends
on the frequency. With f suitably differentiable, at a *fixed* frequency
this reduces back to the above exponential with k equal to f'(omega)
evaluated at the relevant frequency, so we're back to the former
expression. That is, for sinusoids at a fixed frequency omega_naught,
the system looks like a pure time delay of k=f'(omega_naught), which is
just what we want from a notion of group delay. Yay! Good definition!

Note that the definition of group delay coincides with the results
of the time shifting property (a provable thing, NOT a definition) in the
case of f(omega) is a linear expression in omega.

This looks to me like the typical mathematician's game of
proving a special case, and then generalizing that special case via
a definition.

Subject: Hilbert Transformers and Differentiators

From: Olli Niemitalo

Date: 6 Feb, 2002 10:55:35

Message: 348 of 454

On Wed, 6 Feb 2002, Tom wrote:

> I find something unreal about Hilbert Transformers. If you truely can
> get a 90 degrees phase shift with no magnitude attenuation then
> you can design the perfect servo! You can phase advance to your hearts
> content and have 'infinite' bandwidth. Something cannot be right?
> Surely a practical Hilbert transformer has a very narrow narrow
> bandwidth or something?

It is intuitive to think of a Hilbert transformer in terms of a negative
frequency filter that has passband on positive frequencies and stopband on
negative frequencies. Such a filter's output has to be complex.

If you feed such a filter with cos(w*x), where w is the frequency and x
represents time, the output will be the positive frequency partial of that
sinusoid: 1/2*exp(I*w*x) = 1/2*exp(I*w*x) = 1/2*cos(w*x) +
I*1/2*sin(w*x), where I is the imaginary unit. If you take the imaginary
part of that output, you get 1/2*sin(w*x), which is, if you ignore the
halved gain and sign flip which truly are just details, a 90 degree
phase shifted version of the original. That's a Hilbert transform. The
real part of the output equals the original input.

If we are talking of analog filters, 0Hz is the ideal cutoff frequency for
this filter. Now, have you ever heard of a practical filter that has a
brick-wall response? No.

Also, if you create a similar digital filter, you have two cutoffs because
the frequencies are on a circle on the z-plane. One cutoff at 0Hz and one
at fs/2. The response will be compromised near these frequencies.

I think the traditional "It would take an infinitely long time to phase
shift 0Hz because of its infinitely long period" argument is not a very
good one, considering that with a digital Hilbert transformer we have the
same problem at Nyquist.

-olli

Subject: Reenamed: The Physical Meaning of Phase Delay

From: rstanton2@stny.rr.com (Bob_Stanton)

Date: 6 Feb, 2002 05:15:30

Message: 349 of 454

Jerry Avins <jya@ieee.org> wrote in message news:<3C60AF77.11BCA9CF@ieee.org>..


> > > > When you "throw" the switch on you are creating a *sinusoid*!
> > >
> > > Oh? Wasn't it you who pointed out that sinusoids exist for all time, and
> > > claimed that truncated considerations are theoretically worthless?
> >
> > No I didn't. Continious sinewaves exits for "all time", sinusoids
> > start when you turn on the switch.
>
> That's a new one on me. I thought sinusoids were sines of indeterminate
> phase. Is that use widespread?


Bob writes

From "Handbook of Filter Sysnthesis" by Anatol I. Zverev. Pg 396

"Sinuoids whos frequency lies in a narrow bandpass will be transmitted
through the filter."

(Here Zverev was referring to what happpens to the output envelope
voltage of a bandpass filter.)

"A typical input time function is shown in Fig. 7.24"

(Here Zverev shows a Fig of a sinewave starting suddenly, in mid
cycle)

     x x
  x x x x x
   _______x ______ x_______ x ___ __ x__
  | x x x x
              x x

"The process can be described as the product of a sinewave and a step
function." (End quotes)

The product of a step function and sinewave is: a sinewave that
*starts suddenly*!! We call that a "sinusoid".

Here is the "sinusoid" function:
                                     inf
f(t) = 1/2 sin(OMEGAt + w) + 1/2pi | cos(OMEGA - OMEGAo)t) /OMEGA)
                                   0
                      inf
- d OMEGA -( 1/ 2 pi | ((cos(OMEGA + OMEGAo)t + w)/OMEGA) d OMEGA
                     0

Where: "|" repersents one of those little squiggley lines that looks
like someone doesn't quite know how the write an "S", and "w" looks
like a little "pitch fork".

Zverev also wrote "The phase of the ac signal at the instant of
application to the filter has no influence on the shape of the
envelope." That is probably where you got this "random phase" idea.

You asked "is that use is widespead". Judging by what I have seen on
this thread, I doubt it very much.

Bob Stanton

Subject: Reenamed: The Physical Meaning of Phase Delay

From: ricklyon@remove.onemain.com (Rick Lyons)

Date: 6 Feb, 2002 14:27:35

Message: 350 of 454

On 5 Feb 2002 13:31:15 -0800, rstanton2@stny.rr.com (Bob_Stanton)
wrote: (snipped)
>
>B.T.W. I was wondering: What is the physical meaning of quantum
>mechanics and the uncertainty principle? :-)

I think we're gonna have to call the psychic "Miss Cleo"
to get help on those topics.

[-Rick-]

Subject: Hilbert Transformers and Differentiators

From: ricklyon@remove.onemain.com (Rick Lyons)

Date: 6 Feb, 2002 15:46:27

Message: 351 of 454

On Wed, 6 Feb 2002 10:55:35 +0200, Olli Niemitalo
<oniemita@mail.student.oulu.fi> wrote:

  (snipped)

>If you feed such a filter with cos(w*x), where w is the frequency and x
>represents time, the output will be the positive frequency partial of that
>sinusoid: 1/2*exp(I*w*x) = 1/2*exp(I*w*x) = 1/2*cos(w*x) +
>I*1/2*sin(w*x), where I is the imaginary unit. If you take the imaginary
>part of that output, you get 1/2*sin(w*x), which is, if you ignore the
>halved gain and sign flip which truly are just details, a 90 degree
>phase shifted version of the original.

Hi Olli,
  Yes, and that "90 degree phase shifted version of the
original" is, ignoring gains & signs, also the derivative
of the original. Ya' know what would interesting?
To compare

   * impulse responses,
   * difference equations,
   * z-transforms,
   * frequency responses, and
   * z-plane pole/zero plots

of Hilbert transformers and digital differentiators.

[-Rick-]

Subject: Reenamed: The Physical Meaning of Phase Delay

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 6 Feb, 2002 17:14:40

Message: 352 of 454

rstanton2@stny.rr.com (Bob_Stanton) wrote: (snipped)
>
>B.T.W. I was wondering: What is the physical meaning of quantum
>mechanics and the uncertainty principle? :-)

Quantum mechanics says that particles are waves (and waves are particles).

The usual treatment of particles is as gaussian envelope wave packets.
Conveiently the Fourier transform of a gaussian envelope wave
packet is also a gaussian in the transform space.

This gets you from k to x, or from w to t.

delta k * delta x > 0.5 p=hbar k

delta w * delta t > 0.5 E=hbar w

And wave packets travel at the group velocity.

So when we understand the physics of group velocity we also
understand quantum mechanics and the uncertainty principle.

-- glen

Subject: Hilbert Transformers and Differentiators

From: Olli Niemitalo

Date: 6 Feb, 2002 19:02:57

Message: 353 of 454

On Wed, 6 Feb 2002, Rick Lyons wrote:

> On Wed, 6 Feb 2002 10:55:35 +0200, Olli Niemitalo
> <oniemita@mail.student.oulu.fi> wrote:
>
> >If you feed such a filter with cos(w*x), where w is the frequency and x
> >represents time, the output will be the positive frequency partial of that
> >sinusoid: 1/2*exp(I*w*x) = 1/2*exp(I*w*x) = 1/2*cos(w*x) +
> >I*1/2*sin(w*x)

I don't know what the heck I was thinking, the gains are all wrong in the
above. But no big deal since as I said, they are just details. ;-)

> Hi Olli,

Hi Rick! (Thanks for your mail btw!!!)

> Yes, and that "90 degree phase shifted version of the
> original" is, ignoring gains & signs, also the derivative
> of the original.

The difference is that with derivative, the gain is proportional
to the frequency. See:

  Derivative of cos(w*x) is -w*sin(w*x).

-olli

Subject: Reenamed: The Physical Meaning of Phase Delay

From: steve41@totalise.co.uk (Steve)

Date: 6 Feb, 2002 09:24:09

Message: 354 of 454

rstanton2@stny.rr.com (Bob_Stanton) wrote in message news:<67ef4d54.0202051331.53187589@posting.google.com>...

> B.T.W. I was wondering: What is the physical meaning of quantum
> mechanics and the uncertainty principle? :-)

Some other confusing things:

The universe is said either to be infinite in size or finite in size
and curved a bit like a sphere. Firstly, how can anything truly be
infinite in size and secondly, if it's the latter what's outside the
sphere?

If it's the second one then they say that nothing's outside because
space-time is curved, but then they say that if you travel in a
perfectly straight line long enough you end up where you began. I
suppose that can be explained by an analogy to travelling in a
straight line around the earth. That seems okay but what happens at
the edge of the sphere? What happens if you travel perpendicularly to
the edge? You can't go outside. What would you see? Is there an edge?
I think they say stuff like "there is no edge, wherever you are in the
sphere it would appear that you are at the centre of the sphere". Hmm,
confusing.

Some of them say that we may be a part of one of an infinite number of
parallel universes. If so, where the hell are they?

They also say that time began at the Big Bang. This is because
space-time was infinitely curved at the Big Bang. If so, how did this
infinitely curved, infinitely small, infinite temperature, infinite
pressure, infinite mass "thing" get to be there in the first place?

Answers to mulder&scully@fbi.gov

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 6 Feb, 2002 12:33:58

Message: 355 of 454

Jerry Avins wrote:
> [...]
> You interpret the the Fourier transform wrongly. While it is certainly
> true that imposing a time delay introduces a phase shift, the relation
> is not necessarily reciprocal.

Jerry, I'm sorry you have embarrassed yourself. The relation is most
definitely reciprocal. Look it up. Take the time to understand it. What
I see is that you've got a brain lock that is denying it could
be true without even thinking about it.

> > On the other hand, if in general these "other factors" change the
> > phase as a function of frequency, then differentiating the phase
> > will not get rid of them.
>
> The "other factors" can't be functions of frequency. If they were, their
> derivative with respect to frequency would not be zero.

Are you so blind that you cannot see how utterly circular this reasoning
is?

> A phase shift is
> due either to delay or to something else. The dichotomy is real.

Proof by assertion, Jerry?

> It's time to stop.

Now that would be convenient, wouldn't it? If someone
disagrees with you, simply order them to stop disagreeing.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 6 Feb, 2002 13:14:04

Message: 356 of 454

glen herrmannsfeldt wrote:
>
> rstanton2@stny.rr.com (Bob_Stanton) wrote: (snipped)
> >
> >B.T.W. I was wondering: What is the physical meaning of quantum
> >mechanics and the uncertainty principle? :-)
>
> Quantum mechanics says that particles are waves (and waves are particles).
>
> The usual treatment of particles is as gaussian envelope wave packets.
> Conveiently the Fourier transform of a gaussian envelope wave
> packet is also a gaussian in the transform space.
>
> This gets you from k to x, or from w to t.
>
> delta k * delta x > 0.5 p=hbar k
>
> delta w * delta t > 0.5 E=hbar w
>
> And wave packets travel at the group velocity.
>
> So when we understand the physics of group velocity we also
> understand quantum mechanics and the uncertainty principle.
>
> -- glen

Oh, yeah: quantum mechanics. Consider the wave function of a lump of
lead. It is the superposition of many states, more than the number of
molecules by far. The lump, if thrown, clearly travels at the group
velocity. When I shoot at a target through a dispersive medium like air,
which gets there first? The bullet, or its wave function?

Tongue firmly planted in cheek,

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 6 Feb, 2002 13:26:13

Message: 357 of 454

Bob_Stanton wrote:
>
  ...
>
> Zverev also wrote "The phase of the ac signal at the instant of
> application to the filter has no influence on the shape of the
> envelope." That is probably where you got this "random phase" idea.

It would need a very careful definition of the shape of the envelope" To
make this universally true. Otherwise, I can think of a counterexample.
>
> You asked "is that use is widespead". Judging by what I have seen on
> this thread, I doubt it very much.
>
> Bob Stanton

I'm OK with any definition that's explicit. For awhile, we were talking
past one another.

I hope you accept "is that use is widespead" as two editing lapses,
rather than as a reflection on my command of English.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Hilbert Transformers and Differentiators

From: Jerry Avins

Date: 6 Feb, 2002 13:39:38

Message: 358 of 454

Rick Lyons wrote:
>
> On Wed, 6 Feb 2002 10:55:35 +0200, Olli Niemitalo
> <oniemita@mail.student.oulu.fi> wrote:
>
> (snipped)
>
> >If you feed such a filter with cos(w*x), where w is the frequency and x
> >represents time, the output will be the positive frequency partial of that
> >sinusoid: 1/2*exp(I*w*x) = 1/2*exp(I*w*x) = 1/2*cos(w*x) +
> >I*1/2*sin(w*x), where I is the imaginary unit. If you take the imaginary
> >part of that output, you get 1/2*sin(w*x), which is, if you ignore the
> >halved gain and sign flip which truly are just details, a 90 degree
> >phase shifted version of the original.
>
> Hi Olli,
> Yes, and that "90 degree phase shifted version of the
> original" is, ignoring gains & signs, also the derivative
> of the original. Ya' know what would interesting?
> To compare
>
> * impulse responses,
> * difference equations,
> * z-transforms,
> * frequency responses, and
> * z-plane pole/zero plots
>
> of Hilbert transformers and digital differentiators.
>
> [-Rick-]

OK: I'm picking another fight. (Sorry about that. Honesty compels me.)
Sin(wt)'s derivative with respect to t is w*cos(wt). (It's so easy to
skip over details when searching for a big picture.) A Hilbert
transform's response to sin(wt) is cos(wt). Omega is a trivial factor
when we work at a fixed frequency, but not with broadband stuff. I
expect you to find interesting similarities, but enough differences to
make clear distinctions.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Peter Boettcher

Date: 6 Feb, 2002 13:49:19

Message: 359 of 454

Randy Yates <euschya@rtp.ericsson.com> writes:

> Jerry Avins wrote:
>> [...]
>> You interpret the the Fourier transform wrongly. While it is certainly
>> true that imposing a time delay introduces a phase shift, the relation
>> is not necessarily reciprocal.
>
> Jerry, I'm sorry you have embarrassed yourself. The relation is most
> definitely reciprocal. Look it up. Take the time to understand it. What
> I see is that you've got a brain lock that is denying it could
> be true without even thinking about it.

Imposing a time delay introduces a phase shift of a certain form:
e^{-jwt_0}. Of course this relationship is reciprocal if a phase
shift of that form is used. However, phase shifts which do not take
this form do NOT correspond to a uniform time delay.

Why are you both so anxious to call the other wrong? You both know
and understand the basic Fourier transform relations.


--
Peter Boettcher
MIT Lincoln Laboratory
boettcher@ll.mit.edu
(781) 981-5275

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 6 Feb, 2002 14:32:21

Message: 360 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> > [...]
> > You interpret the the Fourier transform wrongly. While it is certainly
> > true that imposing a time delay introduces a phase shift, the relation
> > is not necessarily reciprocal.
>
> Jerry, I'm sorry you have embarrassed yourself. The relation is most
> definitely reciprocal. Look it up. Take the time to understand it. What
> I see is that you've got a brain lock that is denying it could
> be true without even thinking about it.
>
> > > On the other hand, if in general these "other factors" change the
> > > phase as a function of frequency, then differentiating the phase
> > > will not get rid of them.
> >
> > The "other factors" can't be functions of frequency. If they were, their
> > derivative with respect to frequency would not be zero.
>
> Are you so blind that you cannot see how utterly circular this reasoning
> is?
>
> > A phase shift is
> > due either to delay or to something else. The dichotomy is real.
>
> Proof by assertion, Jerry?
>
> > It's time to stop.
>
> Now that would be convenient, wouldn't it? If someone
> disagrees with you, simply order them to stop disagreeing.
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

Randy, this is annoying. You claim that algorithmically generated square
waves are inherently bandlimited, despite their squareness. You assert
(without proof) that "A phase shift is due either to delay or to
something else" requires proof. You imply that "other factors", whose
derivatives with respect to frequency are zero in the band of interest,
are nevertheless functions of frequency within that band. You claimed -
do you still believe? - that a Hilbert transformer's phase shift is due
entirely do delay, and in another sentence, that its delay is zero,
followed by "You lose. <poof>." That is not the kind of discussion that
I want to have, or that serves any useful purpose.

You tell me to go back and restudy the basics. That may be good advice,
but it surely applies to you too. I tried to continue this discussion
with you by email, but you brought it public again by joining my
discussion with some others. I'm sorry to have induced you to publicly
make so many wild errors in search of a way to retain your belief
despite all logic.

I have a lot of respect for you, and (as internet acquaintances go) some
affection. I started to participate in this forum three or four years
ago to learn the digital side of signal processing. I learned a lot from
you, and I'm grateful. I want to leave it that way and avoid more of the
name calling that our discussion has descended to. I request of you as a
favor: let's stop.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 6 Feb, 2002 14:25:36

Message: 361 of 454

Peter Boettcher wrote:
>
> Randy Yates <euschya@rtp.ericsson.com> writes:
>
> > Jerry Avins wrote:
> >> [...]
> >> You interpret the the Fourier transform wrongly. While it is certainly
> >> true that imposing a time delay introduces a phase shift, the relation
> >> is not necessarily reciprocal.
> >
> > Jerry, I'm sorry you have embarrassed yourself. The relation is most
> > definitely reciprocal. Look it up. Take the time to understand it. What
> > I see is that you've got a brain lock that is denying it could
> > be true without even thinking about it.
>
> Imposing a time delay introduces a phase shift of a certain form:
> e^{-jwt_0}. Of course this relationship is reciprocal if a phase
> shift of that form is used. However, phase shifts which do not take
> this form do NOT correspond to a uniform time delay.

If by "uniform time delay" you mean a delay at all frequencies, then
I agree. However, from this property we can always say that that the
phase response *at a specific frequency w* causes a sinusoid of frequency
w to be delayed in time by -phi(w)/w, regardless of the form of the
phi(w) function, because the phase response at other frequencies is
irrelevent for a sinusoid.

> Why are you both so anxious to call the other wrong?

Do you suggest that it is of no consequence whether or not
we know the truth?
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Clay S. Turner

Date: 6 Feb, 2002 14:40:03

Message: 362 of 454



Jerry Avins wrote:
>
> glen herrmannsfeldt wrote:
> >
> > rstanton2@stny.rr.com (Bob_Stanton) wrote: (snipped)
> > >
> > >B.T.W. I was wondering: What is the physical meaning of quantum
> > >mechanics and the uncertainty principle? :-)
> >
> > Quantum mechanics says that particles are waves (and waves are particles).
> >
> > The usual treatment of particles is as gaussian envelope wave packets.
> > Conveiently the Fourier transform of a gaussian envelope wave
> > packet is also a gaussian in the transform space.
> >
> > This gets you from k to x, or from w to t.
> >
> > delta k * delta x > 0.5 p=hbar k
> >
> > delta w * delta t > 0.5 E=hbar w
> >
> > And wave packets travel at the group velocity.
> >
> > So when we understand the physics of group velocity we also
> > understand quantum mechanics and the uncertainty principle.
> >
> > -- glen
>
> Oh, yeah: quantum mechanics. Consider the wave function of a lump of
> lead. It is the superposition of many states, more than the number of
> molecules by far. The lump, if thrown, clearly travels at the group
> velocity. When I shoot at a target through a dispersive medium like air,
> which gets there first? The bullet, or its wave function?


Essentially at the same time.

The de Broglie wavelength is lambda = (Planc's constant)/momentum

Now let's pick a 1 kg bullet (very large indeed but makes calculations
simple)
travelling at 1 meter/second so the momentum is 1 kg*m/sec

The the bullet's wavelength is 6.63E-34 J*sec / 1 kg*m/sec

 = 6.63E-34 meters!

When the classical diameters of nucleons (protons & neutrons) are or the
order of 1E-15 meters,
the bullet's wavelength is seen to be 19 orders of magnitude smaller
than these particles. So wave effects will not be seen here.


Quantum mechanics has Bohr's Correspondence Principle, which says that
quantum mechanical systems in a limit of large quantum numbers, behave
like classical systems.

I remember a couple of years reading about an experiment that
succesfully interfered whole atoms! Up ontil then it had only been done
with individual particles or small ensembles like alpha particles.

Clay







>
> Tongue firmly planted in cheek,
>
> Jerry
> --
> Besides a mathematical inclination, an exceptionally good mastery of
> one's native tongue is the most vital asset of a competent programmer.
> Edsger W. Dijkstra
> -----------------------------------------------------------------------

Subject: Hilbert Transformers and Differentiators

From: tom

Date: 6 Feb, 2002 19:40:33

Message: 363 of 454



Jerry Avins wrote:

> Rick Lyons wrote:
> >
> > On Wed, 6 Feb 2002 10:55:35 +0200, Olli Niemitalo
> > <oniemita@mail.student.oulu.fi> wrote:
> >
> > (snipped)
> >
> > >If you feed such a filter with cos(w*x), where w is the frequency and x
> > >represents time, the output will be the positive frequency partial of that
> > >sinusoid: 1/2*exp(I*w*x) = 1/2*exp(I*w*x) = 1/2*cos(w*x) +
> > >I*1/2*sin(w*x), where I is the imaginary unit. If you take the imaginary
> > >part of that output, you get 1/2*sin(w*x), which is, if you ignore the
> > >halved gain and sign flip which truly are just details, a 90 degree
> > >phase shifted version of the original.
> >
> > Hi Olli,
> > Yes, and that "90 degree phase shifted version of the
> > original" is, ignoring gains & signs, also the derivative
> > of the original. Ya' know what would interesting?
> > To compare
> >
> > * impulse responses,
> > * difference equations,
> > * z-transforms,
> > * frequency responses, and
> > * z-plane pole/zero plots
> >
> > of Hilbert transformers and digital differentiators.
> >
> > [-Rick-]
>
> OK: I'm picking another fight. (Sorry about that. Honesty compels me.)
> Sin(wt)'s derivative with respect to t is w*cos(wt). (It's so easy to
> skip over details when searching for a big picture.) A Hilbert
> transform's response to sin(wt) is cos(wt). Omega is a trivial factor
> when we work at a fixed frequency, but not with broadband stuff. I
> expect you to find interesting similarities, but enough differences to
> make clear distinctions.
>
> Jerry
> --
> Besides a mathematical inclination, an exceptionally good mastery of
> one's native tongue is the most vital asset of a competent programmer.
> Edsger W. Dijkstra
> -----------------------------------------------------------------------

Rhanks Jerry for your earlier comments and to the others. (very interesting)

Tom

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 6 Feb, 2002 14:51:03

Message: 364 of 454

Peter Boettcher wrote:
>
> Randy Yates <euschya@rtp.ericsson.com> writes:
>
> > Jerry Avins wrote:
> >> [...]
> >> You interpret the the Fourier transform wrongly. While it is certainly
> >> true that imposing a time delay introduces a phase shift, the relation
> >> is not necessarily reciprocal.
> >
> > Jerry, I'm sorry you have embarrassed yourself. The relation is most
> > definitely reciprocal. Look it up. Take the time to understand it. What
> > I see is that you've got a brain lock that is denying it could
> > be true without even thinking about it.
>
> Imposing a time delay introduces a phase shift of a certain form:
> e^{-jwt_0}. Of course this relationship is reciprocal if a phase
> shift of that form is used. However, phase shifts which do not take
> this form do NOT correspond to a uniform time delay.
>
> Why are you both so anxious to call the other wrong? You both know
> and understand the basic Fourier transform relations.
>
> --
> Peter Boettcher
> MIT Lincoln Laboratory
> boettcher@ll.mit.edu
> (781) 981-5275

To my regret, I expressed myself poorly, thereby derailing what was left
of civil discussion. By "not reciprocal", I meant only that while delay
always shifts phase, not all phase shift is caused by delay. I was
foolish to repeat that, since it is the crux of our disagreement, and
added nothing new. Randy believes that the equations defining the
Fourier transform disprove the possibility on phase shift unrelated to
delay. I maintain that examples of phase shift without delay show his
interpretation of the transform equations to be wanting, while he
maintains that those examples carry no weight. That's where it rests.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 6 Feb, 2002 14:53:26

Message: 365 of 454

Jerry,

I feel I must respond here since you have stated that I made assertions
I don't think I've made. Thus, to try to set the record straight, I respond
below.

Jerry Avins wrote:
> [...]
> You imply that "other factors", whose
> derivatives with respect to frequency are zero in the band of interest,
> are nevertheless functions of frequency within that band.

No, I never asserted or implied any such thing. You simply presumed that those
"other factors" had a derivative with respect to frequency that is zero. I
challenged that presumption.

> You claimed -
> do you still believe? - that a Hilbert transformer's phase shift is due
> entirely do delay, and in another sentence, that its delay is zero,

No, I never claimed any such things. I say that there is no such thing
as _the_ delay of a Hilbert transformer because it delays different
frequencies by different amounts. It is not a simple delay. Since I
don't believe it has a delay, I also would not have stated what its
delay is (zero or otherwise).

If you believe any of these challenges are incorrect, then I would
request that you quote me verbatim and we can discuss it further.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 6 Feb, 2002 15:05:28

Message: 366 of 454

Jerry Avins wrote:
> [...]
> You claim that algorithmically generated square
> waves are inherently bandlimited, despite their squareness.

Jerry,

If I give you a digital signal, ANY digital signal, then please
tell how that signal can contain energy outside -Fs/2 to +Fs/2.

So it goes for my algorithmically generated square waves. This
signal is digital. If you put it through an ideal D/A converter,
you would see zero energy outsize the range +/- Fs/2 Hz. It will
not look like an analog square wave, either. It will have ripples
and ringing in amplitude that come from being interpolated by the
ideal sinc() function.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: DPierce@TheWorld.com (Richard D Pierce)

Date: 6 Feb, 2002 20:34:28

Message: 367 of 454

In article <3C6184C5.F7E58174@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
>Randy Yates wrote:
>
>Randy, this is annoying. You claim that algorithmically generated square
>waves are inherently bandlimited, despite their squareness.

This would be true if they are generated as the sum of series of
harmonically related sines up to but no including the Nyquist
frequency. It is not true if they are generated by doing n
samples at a positive value followed by n samples at the
corresponding negative values and repeating.

The latter method is how many of the test CD disks generate
their sine waves, and the result is all of the out-of-band
harmonics are aliased right back into the base band.

The only real way to do it via the second method is to generate
the square wave in an oversampled stream, low-pass filter it to
1/2 the final sample rate, then decimate it down to that sample
rate.

Try it sometime: generate two wave files, one a sum of sines
starting at 1 kHz
the other simply a loop that generates, say, 22 positive then
22 negative samples, and run the two through your nearby FFT
analyzer and look at the difference in teh spectrum

--
| Dick Pierce |
| Professional Audio Development |
| 1-781/826-4953 Voice and FAX |
| DPierce@world.std.com |

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: DPierce@TheWorld.com (Richard D Pierce)

Date: 6 Feb, 2002 20:36:34

Message: 368 of 454

In article <3C618C88.DA7A9332@rtp.ericsson.com>,
Randy Yates <euschya@rtp.ericsson.com> wrote:
>Jerry Avins wrote:
>> [...]
>> You claim that algorithmically generated square
>> waves are inherently bandlimited, despite their squareness.
>
>Jerry,
>
>If I give you a digital signal, ANY digital signal, then please
>tell how that signal can contain energy outside -Fs/2 to +Fs/2.

Well, it can't, but only because those components that otherwise
WOULD be outside Fs/2 are aliased back below Fs/2.

>So it goes for my algorithmically generated square waves. This
>signal is digital. If you put it through an ideal D/A converter,
>you would see zero energy outsize the range +/- Fs/2 Hz. It will
>not look like an analog square wave, either. It will have ripples
>and ringing in amplitude that come from being interpolated by the
>ideal sinc() function.

AND the additional aliased components.

Try it. It's fun. :-(


--
| Dick Pierce |
| Professional Audio Development |
| 1-781/826-4953 Voice and FAX |
| DPierce@world.std.com |

Subject: Reenamed: The Physical Meaning of Phase Delay

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 6 Feb, 2002 20:37:47

Message: 369 of 454

Jerry Avins <jya@ieee.org> writes:

>glen herrmannsfeldt wrote:
>>
>> rstanton2@stny.rr.com (Bob_Stanton) wrote: (snipped)
>> >
>> >B.T.W. I was wondering: What is the physical meaning of quantum
>> >mechanics and the uncertainty principle? :-)
>>
>> Quantum mechanics says that particles are waves (and waves are particles).
>>
>> The usual treatment of particles is as gaussian envelope wave packets.
>> Conveiently the Fourier transform of a gaussian envelope wave
>> packet is also a gaussian in the transform space.
>>
>> This gets you from k to x, or from w to t.
>>
>> delta k * delta x > 0.5 p=hbar k
>>
>> delta w * delta t > 0.5 E=hbar w
>>
>> And wave packets travel at the group velocity.
>>
>> So when we understand the physics of group velocity we also
>> understand quantum mechanics and the uncertainty principle.
>>
>> -- glen

>Oh, yeah: quantum mechanics. Consider the wave function of a lump of
>lead. It is the superposition of many states, more than the number of
>molecules by far. The lump, if thrown, clearly travels at the group
>velocity. When I shoot at a target through a dispersive medium like air,
>which gets there first? The bullet, or its wave function?

>Tongue firmly planted in cheek,

Much more fun than that. There are particles called Kaons
(K mesons) that exist in two different forms, with two different
lifetimes. But the ones created in experiements are neither of
those, but a superposition of both. (Klong + Kshort)/sqrt(2)
or (Klong - Kshort)/sqrt(2), called K0 and K0bar.

If you shoot them (through vacuum) the short will decay faster than
long, so you only have Klong left, or (K0 + K0bar)/sqrt(2).

If you then pass the resulting Klong through matter it will absorb
either K0 or K0bar (I forget which), and you have Klong and Kshort
again. Each is a superposition of two states!

Just like (sin(x) + cos(x))/sqrt(2) = sin(x+pi/4) the different
states can be described by a phase angle and phase shift.

Much of quantum mechanics is superposition of states where you
wouldn't expect it.

Maybe a better example of the same problem is circular in linear
polarized light. Circular polarized light is a linear combination
with appropriate phase shift, of x and y polarized. Or linear
polarization is a superposition of appropriately shifted circular
polarized light.

-- glen

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 6 Feb, 2002 20:48:19

Message: 370 of 454

In article <3C618C88.DA7A9332@rtp.ericsson.com>,
Randy Yates <euschya@rtp.ericsson.com> wrote:
>So it goes for my algorithmically generated square waves. This
>signal is digital. If you put it through an ideal D/A converter,
>you would see zero energy outsize the range +/- Fs/2 Hz.

I assume that by an ideal D/A converter one that includes
a low-pass filter to bandlimit the signal the way you say? In this
case what you say is true, but not very interesting. If you mean
something else, please elaborate.

In general, things get very hairy in the digital domain
if you remove the assumption of band-limiting filters everywhere.

While we certainly don't think of a digital signal as
having energy outside the range -Fs/2 to +Fs/2, that's only because
we band limit on entrance to and exit from the digital domain, to
keep from going mad.

If we wanted to be very careful, we'd probably never talk
about a frequency omega in the digital domain, but instead talk about
the equivalence classes of frequencies.

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 6 Feb, 2002 16:02:14

Message: 371 of 454

amolitor-at@visi-dot-com.com wrote:
>
> In article <3C618C88.DA7A9332@rtp.ericsson.com>,
> Randy Yates <euschya@rtp.ericsson.com> wrote:
> >So it goes for my algorithmically generated square waves. This
> >signal is digital. If you put it through an ideal D/A converter,
> >you would see zero energy outsize the range +/- Fs/2 Hz.
>
> I assume that by an ideal D/A converter one that includes
> a low-pass filter to bandlimit the signal the way you say?

Yes, my definition of a D/A includes the reconstruction filter.

> If we wanted to be very careful, we'd probably never talk
> about a frequency omega in the digital domain, but instead talk about
> the equivalence classes of frequencies.

That wouldn't work because the equivalence you're proposing does
not form a valid equivalence relation - it does not possess the
reflexive property.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 6 Feb, 2002 21:45:13

Message: 372 of 454

In article <3C6199D6.B987A1B0@rtp.ericsson.com>,
Randy Yates <euschya@rtp.ericsson.com> wrote:
>amolitor-at@visi-dot-com.com wrote:
>> If we wanted to be very careful, we'd probably never talk
>> about a frequency omega in the digital domain, but instead talk about
>> the equivalence classes of frequencies.
>
>That wouldn't work because the equivalence you're proposing does
>not form a valid equivalence relation - it does not possess the
>reflexive property.

Well, I didn't propose one. But if I had, I would have
proposed the equivalence relation on the real line of:

omega_1 |equiv| omega_2 iff omega_1 and omega_2 differ by
an integral factor of Fs, which is:

relexive: omega_1 = omega_1 + 0 * Fs, and 0 is an integer
symmetric: omega_1 = omega_2 + (n*Fs) iff omega_2 = omega_1 - (n*Fs)
transitive: if omega_1 = omega_2 + (n*Fs), and
omega_2 = omega_3 + (m*Fs), then omega_1 = omega_3 + (n+m)*Fs

or you can simply observe informally that the real line gets
cut up into a non-overlapping collection of sets which covers it.

I wouldn't try out the 'drag out a scawy math term' gambit
again.

Subject: OT Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 6 Feb, 2002 16:54:29

Message: 373 of 454

glen herrmannsfeldt wrote:
>
> Jerry Avins <jya@ieee.org> writes:
>
> >glen herrmannsfeldt wrote:
> >>
> >> rstanton2@stny.rr.com (Bob_Stanton) wrote: (snipped)
> >> >
> >> >B.T.W. I was wondering: What is the physical meaning of quantum
> >> >mechanics and the uncertainty principle? :-)
> >>
> >> Quantum mechanics says that particles are waves (and waves are particles).
> >>
> >> The usual treatment of particles is as gaussian envelope wave packets.
> >> Conveiently the Fourier transform of a gaussian envelope wave
> >> packet is also a gaussian in the transform space.
> >>
> >> This gets you from k to x, or from w to t.
> >>
> >> delta k * delta x > 0.5 p=hbar k
> >>
> >> delta w * delta t > 0.5 E=hbar w
> >>
> >> And wave packets travel at the group velocity.
> >>
> >> So when we understand the physics of group velocity we also
> >> understand quantum mechanics and the uncertainty principle.
> >>
> >> -- glen
>
> >Oh, yeah: quantum mechanics. Consider the wave function of a lump of
> >lead. It is the superposition of many states, more than the number of
> >molecules by far. The lump, if thrown, clearly travels at the group
> >velocity. When I shoot at a target through a dispersive medium like air,
> >which gets there first? The bullet, or its wave function?
>
> >Tongue firmly planted in cheek,
>
> Much more fun than that. There are particles called Kaons
> (K mesons) that exist in two different forms, with two different
> lifetimes. But the ones created in experiements are neither of
> those, but a superposition of both. (Klong + Kshort)/sqrt(2)
> or (Klong - Kshort)/sqrt(2), called K0 and K0bar.
>
> If you shoot them (through vacuum) the short will decay faster than
> long, so you only have Klong left, or (K0 + K0bar)/sqrt(2).
>
> If you then pass the resulting Klong through matter it will absorb
> either K0 or K0bar (I forget which), and you have Klong and Kshort
> again. Each is a superposition of two states!
>
> Just like (sin(x) + cos(x))/sqrt(2) = sin(x+pi/4) the different
> states can be described by a phase angle and phase shift.
>
> Much of quantum mechanics is superposition of states where you
> wouldn't expect it.
>
> Maybe a better example of the same problem is circular in linear
> polarized light. Circular polarized light is a linear combination
> with appropriate phase shift, of x and y polarized. Or linear
> polarization is a superposition of appropriately shifted circular
> polarized light.
>
> -- glen

I am still astonished by the simplicity of Edwin Land's elegant recipe
for Polaroid polarizers and the later invention of a sheet of the stuff
combined with a quarter-wave plate to make a filter that blocks
non-metallic specular reflection.

There are other interesting superpositions: Even(f(x)) and Odd(f(x)),
sinh(x) and cosh(x) (the same thing, really), independent transverse and
hill-and-dale disk recordings and 90-degree v-groove stereo, to name a
few.

Thanks for the insights.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Peter Boettcher

Date: 6 Feb, 2002 17:04:57

Message: 374 of 454

Jerry Avins <jya@ieee.org> writes:

> Peter Boettcher wrote:
>>
>> Randy Yates <euschya@rtp.ericsson.com> writes:
>>
>> > Jerry Avins wrote:
>> >> [...]
>> >> You interpret the the Fourier transform wrongly. While it is certainly
>> >> true that imposing a time delay introduces a phase shift, the relation
>> >> is not necessarily reciprocal.
>>
>> [snip another assertion of wrongness]
>
> To my regret, I expressed myself poorly, thereby derailing what was left
> of civil discussion. By "not reciprocal", I meant only that while delay
> always shifts phase, not all phase shift is caused by delay. I was
> foolish to repeat that, since it is the crux of our disagreement, and
> added nothing new. Randy believes that the equations defining the
> Fourier transform disprove the possibility on phase shift unrelated to
> delay. I maintain that examples of phase shift without delay show his
> interpretation of the transform equations to be wanting, while he
> maintains that those examples carry no weight. That's where it rests.

Hmm, I think I disagree (though I'm not sure!). Take an example (lets
use continuous time):

x(t) = sin(2*pi*f0*t) * rect(t*T)

I define rect as =1 for 0 <= t < 1, 0 else. Let's say T = 1/(2*f0),
so that the signal is half a period of a sine starting at t=0. Now
let's pass this signal through your old favorite, y = -x, a system
with a constant -pi phase shift. If I understand your claim, you say
that y(t) is a now a negative half period sine, occuring at t=0.
Thus, phase reversal without time delay.

However, x is not just a single sinusoid. It is a continuous range of
frequencies (in the form of a sinc in the freq domain). Each
frequency component is phase-shifted by the same -pi radians. As
Randy said, that means each component at frequency f is time-shifted
by pi/(2*pi*f) = 1/(2*f) seconds. So the "main" sinusoid at f0 is
delayed by 1/(2*f0), which puts a negative half-period right at t=0.
So far so good. There is a component of x(t) at 2*f0. It is
similarly delayed by 1/(4*f0). Since it is shifting a different
amount than the f0 component, it will constructively and destructively
interfere in a different way. After doing all the shifts, the
contructive and destructive interference has built a nice negative
half-period at t=0.

Clear as mud, I know.

This is not the x(t-t0) time shift we all know and love. But by
delaying each frequency component a different amount, the result looks
like something that was not delayed at all. The really high
frequencies are barely delayed (1/1e20 is a really short time), which
explains why something can appear at the output immediately.

There's my shot. Look what I've gotten myself into.

--
Peter Boettcher
MIT Lincoln Laboratory
boettcher@ll.mit.edu
(781) 981-5275

Subject: Hilbert Transformers and Differentiators

From: Jerry Avins

Date: 6 Feb, 2002 17:07:13

Message: 375 of 454

tom wrote:
>
  ...
>
> Rhanks Jerry for your earlier comments and to the others. (very interesting)
>
> Tom

Of course, you're welcome!

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 6 Feb, 2002 22:24:28

Message: 376 of 454

In article <trit9ai7w6.fsf@coyote.llan.ll.mit.edu>,
Peter Boettcher <boettcher@ll.mit.edu> wrote:
>x(t) = sin(2*pi*f0*t) * rect(t*T)
>
>I define rect as =1 for 0 <= t < 1, 0 else. Let's say T = 1/(2*f0),
>so that the signal is half a period of a sine starting at t=0. Now
>let's pass this signal through your old favorite, y = -x, a system
>with a constant -pi phase shift. If I understand your claim, you say
>that y(t) is a now a negative half period sine, occuring at t=0.
>Thus, phase reversal without time delay.
>
>However, x is not just a single sinusoid. It is a continuous range of
>frequencies (in the form of a sinc in the freq domain). Each
>frequency component is phase-shifted by the same -pi radians. As
>Randy said, that means each component at frequency f is time-shifted
>by pi/(2*pi*f) = 1/(2*f) seconds. So the "main" sinusoid at f0 is
>delayed by 1/(2*f0), which puts a negative half-period right at t=0.
>So far so good. There is a component of x(t) at 2*f0. It is
>similarly delayed by 1/(4*f0). Since it is shifting a different
>amount than the f0 component, it will constructively and destructively
>interfere in a different way. After doing all the shifts, the
>contructive and destructive interference has built a nice negative
>half-period at t=0.
>
>Clear as mud, I know.

While I did not check your math, I think this is perfectly
correct, and probably what Randy is driving at.

As you have observed, things get all mucked up if you
interpret the output as a bunch of delayed sinusoids, but you can
certainly do that.

I find it more convenient to think of it as a phase
shift which does not depend on frequency.

What would be cool would be if you could show that for
some interesting class of systems the phase changes could be
factored into group delay and other stuff. That is, for any
sine input:

sin(w * n)

the output takes the form:

g(w) * sin(w*n + [w * G(w) + k])

Where g(w) is just the gain of the system at w, G(w) is
of course the group delay at frequency omega, and k is a constant
factor depending on the system alone.

This can be re-written as:

g(w) * sin([w * (n + G(w))] + k)

which makes is perhaps intuitively useful to some.

The -1 system has g(w) = 1, G(w) = 0, and k = pi
A Hilbert Transformer has g(w) = 1, G(w) = 0 and k = pi/2

and so on.

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 6 Feb, 2002 17:28:20

Message: 377 of 454

amolitor-at@visi-dot-com.com wrote:
>
> In article <3C6199D6.B987A1B0@rtp.ericsson.com>,
> Randy Yates <euschya@rtp.ericsson.com> wrote:
> >amolitor-at@visi-dot-com.com wrote:
> >> If we wanted to be very careful, we'd probably never talk
> >> about a frequency omega in the digital domain, but instead talk about
> >> the equivalence classes of frequencies.
> >
> >That wouldn't work because the equivalence you're proposing does
> >not form a valid equivalence relation - it does not possess the
> >reflexive property.
>
> Well, I didn't propose one. But if I had, I would have
> proposed the equivalence relation on the real line of:
>
> omega_1 |equiv| omega_2 iff omega_1 and omega_2 differ by
> an integral factor of Fs,

This equivalence relation does not represent the situation. Consider a sine
wave at Fs/2 + 10 Hz. It would alias to Fs/2 - 10 Hz, thus these two
frequencies are equivalent in the sense I believe you intended, but they
do not differ by Fs.

> I wouldn't try out the 'drag out a scawy math term' gambit
> again.

Is that because of some fantasy that others here on the
group can't possibly know as much math as you do?
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 6 Feb, 2002 17:39:37

Message: 378 of 454

Randy Yates wrote:
>
> Jerry,
>
> I feel I must respond here since you have stated that I made assertions
> I don't think I've made. Thus, to try to set the record straight, I respond
> below.
>
> Jerry Avins wrote:
> > [...]
> > You imply that "other factors", whose
> > derivatives with respect to frequency are zero in the band of interest,
> > are nevertheless functions of frequency within that band.
>
> No, I never asserted or implied any such thing. You simply presumed that those
> "other factors" had a derivative with respect to frequency that is zero. I
> challenged that presumption.
>
> > You claimed -
> > do you still believe? - that a Hilbert transformer's phase shift is due
> > entirely do delay, and in another sentence, that its delay is zero,
>
> No, I never claimed any such things. I say that there is no such thing
> as _the_ delay of a Hilbert transformer because it delays different
> frequencies by different amounts. It is not a simple delay. Since I
> don't believe it has a delay, I also would not have stated what its
> delay is (zero or otherwise).
>
> If you believe any of these challenges are incorrect, then I would
> request that you quote me verbatim and we can discuss it further.
> --
You are certainly entitled to those verbatim citations that I can find,
but I will not engage in further confrontational argy-bargy.

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > Jerry Avins wrote: [About a 95-tap Hilbert transformer]
> > ...
> > > >
> > > > The delay through this filter is 47 samples.
> > >
> > > No, it is not. (Not that I'm surprised.)
> >
> > I may have counted wrong. One of the coefficients is 0.000000000000. I
> > counted it as the 47th, but whatever it is, the delay to that tap is the
> > delay of the filter.
> > >
> > > I read your coefficients into Matlab and then input a digital square
> > > wave into the filter. If the delay through the filter was a constant
> > > 47 samples, then what I should see out of the filter (since its
> > > magnitude response is nearly flat) is a delayed version of the input.
> > > I saw no such beast. What I saw was something that looked like
> > > a differentiated square wave.
> >
> > Did you remember to band limit the input signal so there would be no
> > aliasing?
>
> Jerry,
>
> Go back to the basics of digital signal processing. An anti-aliasing
> filter is required at the input of an A/D to avoid aliasing. However,
> I did not generate a square wave in the analog domain and then
> sample it without an antialiasing filter. That would have caused
> aliasing. Instead, what I did was generate the signal directly in
> the digital domain. THUS MY SIGNAL IS INHERENTLY BANDLIMITED TO
> -Fs/2 TO +Fs/2.

Do you still believe this nonsense?
>
> > No digital filter can operate properly on an unbounded signal
> > such as square and sawtooth waves. Your test wasn't valid.
>
> Bullshit. Yet another copout response.
>
> > > I also input a sine wave of normalized frequency 1.33E-3 Hz. This has
> > > a period of 752 samples, or 16 time 47 samples. The output should
> > > be a sine wave shifted 47 samples if "the delay through this
> > > filter is 47 samples." It was not.
> >
> > Of course not! there is in addition a quadrature shift that is not tied
> > to delay.
>
> But that's not what you said, Jerry. You didn't say, "The delay
> through this filter is 47 samples plus an additional delay related
> to the quadrature phase shift." No, you said, "The delay through
> this filter is 47 samples."
>
> Now until you can be accountable for what you have stated, I find
> it pointless to carry on this or any other discussion with you.

***** In an earlier exchange, you had written

> Here are the coefficients of a 95-tap FIR Hilbert transformer:
>
  ...
>
> The delay through this filter is 47 samples.

No, it is not. (Not that I'm surprised.)

I read your coefficients into Matlab and then input a digital square
wave into the filter. If the delay through the filter was a constant
47 samples, then what I should see out of the filter (since its
magnitude response is nearly flat) is a delayed version of the input.
I saw no such beast. What I saw was something that looked like
a differentiated square wave.

I also input a sine wave of normalized frequency 1.33E-3 Hz. This has
a period of 752 samples, or 16 time 47 samples. The output should
be a sine wave shifted 47 samples if "the delay through this
filter is 47 samples." It was not. Instead, it was advanced
141 samples. This is consistent with a constant delay of 47 samples
plus a phase advance of 188 samples (1/4 of 752 samples), or 90 degrees.
You could also say it was delayed by 752-141 = 611 samples, but that
still is not "47 samples."

Matlab's grpdelay() function returns a constant 47 samples. If this
is time delay, then why was the previous sine wave not delayed
by 47 samples?

I missed this before! Matlab told you that the group delay is 47
samples, and you think that my view differs from reality? Ask the
Mathworks for your money back.

How do you explain these discrepancies between your assertions and
reality, Jerry?

Oh, come, now!

***** And again:

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > > Jerry Avins wrote:
> > > > When I wrote of Hilbert transformers, I should
> > > > have specified the kind that people actually build: truncated so as to
> > > > be realizable, and causal, so as to work in real time.
> > >
> > > Fine. Specify such a system and...
> > >
> > > > Such an HT will
> > > > exhibit a pure time delay and a phase delay derived from that, but with
> > > > pi/4 added or subtracted (designer's choice.)
> > >
> > > ...I will show that even that practical system does NOT have a pure time
> > > delay and that the group delay will be, more or less, 0.
> > > --
> > > Randy Yates
> > > DSP Engineer, Sony Ericsson Mobile Communications
> > > Research Triangle Park, NC, USA
> > > randy.yates@ericsson.com, 919-472-1124
> >
> > Here are the coefficients of a 95-tap FIR Hilbert transformer:
> > [...]
>
> Jerry,
>
> If you subtract out the excess phase delay, then the phase response
> will be flat. Thus the group delay will be 0. <Gong!> You lose.

I apologize for quoting the last three words inaccurately.

Randy,

Isn't this enough? Must I track down every last one of your blatant
errors? I plead again: let's drop this!

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 6 Feb, 2002 23:17:18

Message: 379 of 454

DPierce@TheWorld.com (Richard D Pierce) writes:

>In article <3C6184C5.F7E58174@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
>>Randy Yates wrote:
>>
>>Randy, this is annoying. You claim that algorithmically generated square
>>waves are inherently bandlimited, despite their squareness.

>This would be true if they are generated as the sum of series of
>harmonically related sines up to but no including the Nyquist
>frequency. It is not true if they are generated by doing n
>samples at a positive value followed by n samples at the
>corresponding negative values and repeating.

The edge can't be any sharper than 1/(sampling frequency),
which pretty much limits it to the Nyquist frequency.

>The latter method is how many of the test CD disks generate
>their sine waves, and the result is all of the out-of-band
>harmonics are aliased right back into the base band.

Sine waves should be generated by calculating the values of
sin(wt) for different t. There are rounding questions and
such that must be done right to prevent aliasing.

>The only real way to do it via the second method is to generate
>the square wave in an oversampled stream, low-pass filter it to
>1/2 the final sample rate, then decimate it down to that sample
>rate.

I would expect the differences to be related to rounding.
But then rounding errors can generate aliasing, so maybe
that is what this is talking about. Take a sin(wt) wave
of a relatively low frequency and amplitude about 2 lsb.
It will look much like a square wave.

Take an analog sine of the same amplitude, add white noise
of about 1 lsb amplitude, low pass filter and sample that,
and you shold get a nice sine wave with some noise.

The aliasing comes from rounding (or truncating), not from
frequency components where they shouldn't be.

http://www.siggraph.org/education/materials/HyperGraph/aliasing/alias5.htm

-- glen

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 6 Feb, 2002 23:24:11

Message: 380 of 454

In article <3C61AE04.3F33D928@rtp.ericsson.com>,
Randy Yates <euschya@rtp.ericsson.com> wrote:
>amolitor-at@visi-dot-com.com wrote:
>>
>> In article <3C6199D6.B987A1B0@rtp.ericsson.com>,
>> Randy Yates <euschya@rtp.ericsson.com> wrote:
>> >amolitor-at@visi-dot-com.com wrote:
>> >> If we wanted to be very careful, we'd probably never talk
>> >> about a frequency omega in the digital domain, but instead talk about
>> >> the equivalence classes of frequencies.
>> >
>> >That wouldn't work because the equivalence you're proposing does
>> >not form a valid equivalence relation - it does not possess the
>> >reflexive property.
>>
>> Well, I didn't propose one. But if I had, I would have
>> proposed the equivalence relation on the real line of:
>>
>> omega_1 |equiv| omega_2 iff omega_1 and omega_2 differ by
>> an integral factor of Fs,
>
>This equivalence relation does not represent the situation. Consider a sine
>wave at Fs/2 + 10 Hz. It would alias to Fs/2 - 10 Hz, thus these two
>frequencies are equivalent in the sense I believe you intended, but they
>do not differ by Fs.

What situation? Under what circumstances would a sine
wave at Fs/2 + 10Hz alias to Fs/2 - 10Hz? Perhaps you mean that if
one were to sample such a sine wave? Well, let's see!

The continuous time representation is:

sin(2*pi*(Fs/2 + 10)*t)

sampling this Fs times per second we get a sequence of values:

x[n] = sin(2*pi*(Fs/2 + 10)*(n/Fs))
= sin(2*pi*(n/Fs)*(Fs/2) + 2*pi*(n/Fs)*10)
= sin(pi*n + 2*pi*(n/Fs)*10)
= sin(2*pi*(n/Fs)*10)

which is what you get if you sample a 10Hz sine wave. So if Fs/2 is 20
I guess you're right.

Perhaps your point is that my equivalence relation should really have
been mod Fs/2?

>
>> I wouldn't try out the 'drag out a scawy math term' gambit
>> again.
>
>Is that because of some fantasy that others here on the
>group can't possibly know as much math as you do?

Oh, quite the contrary, I assume there are people on here
with stronger applied mathematics backgrounds than I.

Subject: OT Reenamed: The Physical Meaning of Phase Delay

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 6 Feb, 2002 23:25:10

Message: 381 of 454

Jerry Avins <jya@ieee.org> writes:

>I am still astonished by the simplicity of Edwin Land's elegant recipe
>for Polaroid polarizers and the later invention of a sheet of the stuff
>combined with a quarter-wave plate to make a filter that blocks
>non-metallic specular reflection.

I believe he did two.

First was to take tiny birefringent crystals, put them in plastic
and then, while it was still warm to stretch it. All the crystals
line up nicely as it is stretched.

The commonly used one today has long molecules with iodine atoms
on them. The iodine atoms are close enough to overlap their
wave functions and again stretching lines up the molecules.

http://hyperphysics.phy-astr.gsu.edu/hbase/phyopt/polabs.html

-- glen

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Clay S. Turner

Date: 6 Feb, 2002 19:44:44

Message: 382 of 454



glen herrmannsfeldt wrote:
>

>
> Much more fun than that. There are particles called Kaons
> (K mesons) that exist in two different forms, with two different
> lifetimes. But the ones created in experiements are neither of
> those, but a superposition of both. (Klong + Kshort)/sqrt(2)
> or (Klong - Kshort)/sqrt(2), called K0 and K0bar.
>
> If you shoot them (through vacuum) the short will decay faster than
> long, so you only have Klong left, or (K0 + K0bar)/sqrt(2).
>
> If you then pass the resulting Klong through matter it will absorb
> either K0 or K0bar (I forget which), and you have Klong and Kshort
> again. Each is a superposition of two states!

Glen,

The K bars are much more strongly absorbed by matter.

The beam of neutral Kaons not only has the K shorts dying out earlier,
but there is also a temporal oscillation modulating the decaying
exponentials govering the lifetimes. The oscillation frequency is
related to the difference in the masses of K short and K long. This is
referred to as the "strangeness oscillation"

The experiment you described above is known as K zero regeneration. What
makes this possible is the coupling through common decays to virtual 2pi
and intermediate 3pi states. Another way of looking at this
uses the Cabibbo mixing of the quark types.

Glen are you currently working in physics now and what is your area of
interest? I'm working in atomic physics with elastic scattering by ions.

Clay



>
> -- glen

Subject: Physical meaning of Group-Delay ?

From: DPierce@TheWorld.com (Richard D Pierce)

Date: 7 Feb, 2002 00:46:15

Message: 383 of 454

In article <a3sdhu$4tb@gap.cco.caltech.edu>,
glen herrmannsfeldt <gah@ugcs.caltech.edu> wrote:
>DPierce@TheWorld.com (Richard D Pierce) writes:
>
>>In article <3C6184C5.F7E58174@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
>>>Randy Yates wrote:
>>>
>>>Randy, this is annoying. You claim that algorithmically generated square
>>>waves are inherently bandlimited, despite their squareness.
>
>>This would be true if they are generated as the sum of series of
>>harmonically related sines up to but no including the Nyquist
>>frequency. It is not true if they are generated by doing n
>>samples at a positive value followed by n samples at the
>>corresponding negative values and repeating.
>
>The edge can't be any sharper than 1/(sampling frequency),
>which pretty much limits it to the Nyquist frequency.

It ain't an "edge sharpness" issue.

Try it.

>>The latter method is how many of the test CD disks generate
>>their sine waves, and the result is all of the out-of-band
>>harmonics are aliased right back into the base band.
>
>Sine waves should be generated by calculating the values of
>sin(wt) for different t. There are rounding questions and
>such that must be done right to prevent aliasing.

Indeed.

>>The only real way to do it via the second method is to generate
>>the square wave in an oversampled stream, low-pass filter it to
>>1/2 the final sample rate, then decimate it down to that sample
>>rate.
>
>I would expect the differences to be related to rounding.
>But then rounding errors can generate aliasing, so maybe
>that is what this is talking about. Take a sin(wt) wave
>of a relatively low frequency and amplitude about 2 lsb.
>It will look much like a square wave.

Then your generator is broken because you have NOT dithered the
signal properly.

>Take an analog sine of the same amplitude, add white noise
>of about 1 lsb amplitude, low pass filter and sample that,
>and you shold get a nice sine wave with some noise.

Yes, this is a requirement, we know that.

>The aliasing comes from rounding (or truncating), not from
>frequency components where they shouldn't be.

Well, look at what's happening: without the dithering, the
quantization artifacts generate a broad spectrum, and those
components that are out of band, i.e., "frequency components
where they shouldn't be" are alised back into the base band.
That's what aliasing means.

Again, try it and watch it happen.

It's a significant problem when you are running some processing
algorithm like compression or limiting or an EQ that clips: you
CLEARLY see out of band components aliased back into the
baseband.

Try it. For example, take a 10 kHz sine wave sampled at 44.1
kHz. CLip it in the digital domain. If clipped symmectrically,
tyou'll see a component sitting at 14.1 kHz and another sitting
at 5.9 kHz. These are the 30 kHz and 50 kHz components aliased
down into the baseband.

Try it.


--
| Dick Pierce |
| Professional Audio Development |
| 1-781/826-4953 Voice and FAX |
| DPierce@world.std.com |

Subject: Physical meaning of Group-Delay ?

From: Clay S. Turner

Date: 6 Feb, 2002 19:54:23

Message: 384 of 454



amolitor-at@visi-dot-com.com wrote:


> What would be cool would be if you could show that for
> some interesting class of systems the phase changes could be
> factored into group delay and other stuff. That is, for any
> sine input:
>
> sin(w * n)
>
> the output takes the form:
>
> g(w) * sin(w*n + [w * G(w) + k])
>
> Where g(w) is just the gain of the system at w, G(w) is
> of course the group delay at frequency omega, and k is a constant
> factor depending on the system alone.
>

The group delay calculation comes from doing such an expansion

cos(wt+phi(w))

expand (Taylor's for example) the phase function phi(w)

w=w_0 + h
 
phi(w) = phi(w_0) + h*phi'(w_0) + h^2/2*phi''(w_0) + ...

In the case of linear phase filters, the other stuff either adds to zero
or to pi/2

Clay

Subject: Reenamed: The Physical Meaning of Phase Delay

From: ricklyon@remove.onemain.com (Rick Lyons)

Date: 7 Feb, 2002 02:22:49

Message: 385 of 454

On Wed, 06 Feb 2002 19:44:44 -0500, "Clay S. Turner"
<physics@bellsouth.net> wrote:

   (snipped)

Hi Clay (and others),
   I've been wanting to ask you guys this question
for a couple of years. Now seems like a good time.
Do you think Schrödinger's cat is alive, or dead?
(Some people say both alive *and* dead.)

[-Rick-]

Subject: Hilbert Transformers and Differentiators

From: ricklyon@remove.onemain.com (Rick Lyons)

Date: 7 Feb, 2002 02:33:33

Message: 386 of 454

On Wed, 06 Feb 2002 13:39:38 -0500, Jerry Avins <jya@ieee.org> wrote:

>Rick Lyons wrote:
>>
>> On Wed, 6 Feb 2002 10:55:35 +0200, Olli Niemitalo
>> <oniemita@mail.student.oulu.fi> wrote:
>>
>> (snipped)
>>
>> >If you feed such a filter with cos(w*x), where w is the frequency and x
>> >represents time, the output will be the positive frequency partial of that
>> >sinusoid: 1/2*exp(I*w*x) = 1/2*exp(I*w*x) = 1/2*cos(w*x) +
>> >I*1/2*sin(w*x), where I is the imaginary unit. If you take the imaginary
>> >part of that output, you get 1/2*sin(w*x), which is, if you ignore the
>> >halved gain and sign flip which truly are just details, a 90 degree
>> >phase shifted version of the original.
>>
>> Hi Olli,
>> Yes, and that "90 degree phase shifted version of the
>> original" is, ignoring gains & signs, also the derivative
>> of the original. Ya' know what would interesting?
>> To compare
>>
>> * impulse responses,
>> * difference equations,
>> * z-transforms,
>> * frequency responses, and
>> * z-plane pole/zero plots
>>
>> of Hilbert transformers and digital differentiators.
>>
>> [-Rick-]
>
>OK: I'm picking another fight. (Sorry about that. Honesty compels me.)
>Sin(wt)'s derivative with respect to t is w*cos(wt). (It's so easy to
>skip over details when searching for a big picture.) A Hilbert
>transform's response to sin(wt) is cos(wt). Omega is a trivial factor
>when we work at a fixed frequency, but not with broadband stuff. I
>expect you to find interesting similarities, but enough differences to
>make clear distinctions.
>
>Jerry

Absolutely right. My comments were for a single
frequency only. Jerry, I'll bet it was pure stinkin'
Hell for your teachers when you were in school.

[-Rick-]

Subject: Reenamed: The Physical Meaning of Phase Delay

From: ccdubs

Date: 7 Feb, 2002 15:32:31

Message: 387 of 454

Schrödinger died in 1961. A good cat lives about 15 years. His cat would
be at least 41 years old now. I think we can safely assume it is dead :-)

"Rick Lyons" <ricklyon@remove.onemain.com> wrote in message
news:3c61e385.10787035@news.earthlink.net...
> On Wed, 06 Feb 2002 19:44:44 -0500, "Clay S. Turner"
> <physics@bellsouth.net> wrote:
>
> (snipped)
>
> Hi Clay (and others),
> I've been wanting to ask you guys this question
> for a couple of years. Now seems like a good time.
> Do you think Schrödinger's cat is alive, or dead?
> (Some people say both alive *and* dead.)
>
> [-Rick-]

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 6 Feb, 2002 22:06:16

Message: 388 of 454

Peter Boettcher wrote:
>
> Jerry Avins <jya@ieee.org> writes:
>
> > Peter Boettcher wrote:
> >>
> >> Randy Yates <euschya@rtp.ericsson.com> writes:
> >>
> >> > Jerry Avins wrote:
> >> >> [...]
> >> >> You interpret the the Fourier transform wrongly. While it is certainly
> >> >> true that imposing a time delay introduces a phase shift, the relation
> >> >> is not necessarily reciprocal.
> >>
> >> [snip another assertion of wrongness]
> >
> > To my regret, I expressed myself poorly, thereby derailing what was left
> > of civil discussion. By "not reciprocal", I meant only that while delay
> > always shifts phase, not all phase shift is caused by delay. I was
> > foolish to repeat that, since it is the crux of our disagreement, and
> > added nothing new. Randy believes that the equations defining the
> > Fourier transform disprove the possibility on phase shift unrelated to
> > delay. I maintain that examples of phase shift without delay show his
> > interpretation of the transform equations to be wanting, while he
> > maintains that those examples carry no weight. That's where it rests.
>
> Hmm, I think I disagree (though I'm not sure!). Take an example (lets
> use continuous time):
>
> x(t) = sin(2*pi*f0*t) * rect(t*T)
>
> I define rect as =1 for 0 <= t < 1, 0 else. Let's say T = 1/(2*f0),
> so that the signal is half a period of a sine starting at t=0. Now
> let's pass this signal through your old favorite, y = -x, a system
> with a constant -pi phase shift. If I understand your claim, you say
> that y(t) is a now a negative half period sine, occuring at t=0.
> Thus, phase reversal without time delay.
>
> However, x is not just a single sinusoid. It is a continuous range of
> frequencies (in the form of a sinc in the freq domain). Each
> frequency component is phase-shifted by the same -pi radians. As
> Randy said, that means each component at frequency f is time-shifted
> by pi/(2*pi*f) = 1/(2*f) seconds. So the "main" sinusoid at f0 is
> delayed by 1/(2*f0), which puts a negative half-period right at t=0.
> So far so good. There is a component of x(t) at 2*f0. It is
> similarly delayed by 1/(4*f0). Since it is shifting a different
> amount than the f0 component, it will constructively and destructively
> interfere in a different way. After doing all the shifts, the
> contructive and destructive interference has built a nice negative
> half-period at t=0.
>
> Clear as mud, I know.
>
> This is not the x(t-t0) time shift we all know and love. But by
> delaying each frequency component a different amount, the result looks
> like something that was not delayed at all. The really high
> frequencies are barely delayed (1/1e20 is a really short time), which
> explains why something can appear at the output immediately.
>
> There's my shot. Look what I've gotten myself into.
>
> --
> Peter Boettcher
> MIT Lincoln Laboratory
> boettcher@ll.mit.edu
> (781) 981-5275

Never mind what you've gotten yourself into, I wish I knew what you
disagree with and what you made clear as mud. It seems to me, as far as
I understand it, to be the Copernican Resolution. In other words, the
sun and planets actually do go around the earth in complicated cycles
and epicycles, but if we calculate _as_if_ all went around the sun in
elliptic orbits, the math becomes simpler as the concepts grow weirder.
I'm at a loss also about which is the Resolution and which the reality,
but it's OK with me either way. I've been at this night and day for well
over a week, and I'm about to quit. It would be great if you took over
for me.

Hopefully,

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Clay S. Turner

Date: 6 Feb, 2002 23:09:06

Message: 389 of 454

Hello Rick,
I like T.S. Elliot's answer. "The cat knows."

Clay

p.s. The Copenhagen interpretation says the cat is in a superposition of
both states until a measurement is made in which case the wavefunction
collapses to be an eigenstate of the measurer. I.e., dead or alive.

This previous statement makes the answer real clear ;-) Actually the
difficulty is now pushed off into what consitutes a measurement. There
are whole books on this topic. But for something as big as a cat, most
agree it makes its own measurement and so will be either dead or alive
by the time an external observer looks in. But for simpler systems such
as for polarized light, there are two eigenstates and a linear polarizer
rotated 45 degrees relative to the polarization of the incoming light in
effect "sees" the light as a superposition of two states and will
colapse the wave to just one[1]. Which one it collapses to is
determined by chance. In fact this randomness mixed with particle
entanglement is the basis of quantum cryptography.

[1] A simple experiment is performed with two polarizers that are at 90
degrees relative to each other. Thus almost no light passes through the
system. Now insert a 3rd polarizer rotated 45 degrees, relative to the
1st, in between the other two and you will now see light, 25 per cent,
pass through. Think about how this could work without the idea of
rotated basis functions.



Rick Lyons wrote:
>
>
> Hi Clay (and others),
> I've been wanting to ask you guys this question
> for a couple of years. Now seems like a good time.
> Do you think Schrödinger's cat is alive, or dead?
> (Some people say both alive *and* dead.)
>
> [-Rick-]

Subject: Hilbert Transformers and Differentiators

From: Jerry Avins

Date: 6 Feb, 2002 23:26:42

Message: 390 of 454

Rick Lyons wrote:
>
> On Wed, 06 Feb 2002 13:39:38 -0500, Jerry Avins <jya@ieee.org> wrote:
>
> >Rick Lyons wrote:
> >>
> >> On Wed, 6 Feb 2002 10:55:35 +0200, Olli Niemitalo
> >> <oniemita@mail.student.oulu.fi> wrote:
> >>
> >> (snipped)
> >>
> >> >If you feed such a filter with cos(w*x), where w is the frequency and x
> >> >represents time, the output will be the positive frequency partial of that
> >> >sinusoid: 1/2*exp(I*w*x) = 1/2*exp(I*w*x) = 1/2*cos(w*x) +
> >> >I*1/2*sin(w*x), where I is the imaginary unit. If you take the imaginary
> >> >part of that output, you get 1/2*sin(w*x), which is, if you ignore the
> >> >halved gain and sign flip which truly are just details, a 90 degree
> >> >phase shifted version of the original.
> >>
> >> Hi Olli,
> >> Yes, and that "90 degree phase shifted version of the
> >> original" is, ignoring gains & signs, also the derivative
> >> of the original. Ya' know what would interesting?
> >> To compare
> >>
> >> * impulse responses,
> >> * difference equations,
> >> * z-transforms,
> >> * frequency responses, and
> >> * z-plane pole/zero plots
> >>
> >> of Hilbert transformers and digital differentiators.
> >>
> >> [-Rick-]
> >
> >OK: I'm picking another fight. (Sorry about that. Honesty compels me.)
> >Sin(wt)'s derivative with respect to t is w*cos(wt). (It's so easy to
> >skip over details when searching for a big picture.) A Hilbert
> >transform's response to sin(wt) is cos(wt). Omega is a trivial factor
> >when we work at a fixed frequency, but not with broadband stuff. I
> >expect you to find interesting similarities, but enough differences to
> >make clear distinctions.
> >
> >Jerry
>
> Absolutely right. My comments were for a single
> frequency only. Jerry, I'll bet it was pure stinkin'
> Hell for your teachers when you were in school.
>
> [-Rick-]

The Bulldog bites again: what was that stuff about frequency responses
and z-plane pole/zero plots about? About school, sorta. In the second
grade, was sent to the principal's office for doing the New York Post
crossword puzzle during spelling period. We passed the time together
collaborating on the one he had started when I got there. He sent me
back to class when we finished. (I wish I had overheard his subsequent
conversation with my teacher, although it didn't occur to wonder at the
time.) I was nearly left back in every grade because I was so bad at
arithmetic. When it came to "problems" I always had the answers, but I
could rarely explain (or be bothered to explain) how to get them. In
college, the head of the M.E. department wouldn't let me take shop
practice. He (rightly) judged that it wouldn't be fair to me or the
instructor. That cleared three credits, which let me put Philo 12: Logic
and the Scientific Method into the 156-credit, no-elective curriculum. I
got some combinatorial logic, but the closest I got to Karnaugh maps was
Venn diagrams. So there was good and bad; the usual mix.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Jerry Avins

Date: 7 Feb, 2002 00:12:47

Message: 391 of 454

Why settle for 25%? The first polarizer removes half the light (that
it's only half is instructive!) to produce plane polarized light. Your
second polarizer rotates the plane of polarization 45 degrees, reducing
the amplitude by 1/sqrt(2). The output polarizer does that again. If on
the other hand, we rotate only 5 degrees at a time, the output amplitude
reduction at each rotation will be cos(5 degrees), and there will be 18
of them. cos(5)^18 = .9337, so only about 1/15 of the available light is
wasted. Given enough perfect polarizers, we could keep all the light
that passes the first by rotating small enough amounts.

  Lim [(cos(90/n))^n] = 1
n -> inf.

Is this how optically active solutions work?

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------
"Clay S. Turner" wrote:
>
> Hello Rick,
> I like T.S. Elliot's answer. "The cat knows."
>
> Clay
>
> p.s. The Copenhagen interpretation says the cat is in a superposition of
> both states until a measurement is made in which case the wavefunction
> collapses to be an eigenstate of the measurer. I.e., dead or alive.
>
> This previous statement makes the answer real clear ;-) Actually the
> difficulty is now pushed off into what consitutes a measurement. There
> are whole books on this topic. But for something as big as a cat, most
> agree it makes its own measurement and so will be either dead or alive
> by the time an external observer looks in. But for simpler systems such
> as for polarized light, there are two eigenstates and a linear polarizer
> rotated 45 degrees relative to the polarization of the incoming light in
> effect "sees" the light as a superposition of two states and will
> colapse the wave to just one[1]. Which one it collapses to is
> determined by chance. In fact this randomness mixed with particle
> entanglement is the basis of quantum cryptography.
>
> [1] A simple experiment is performed with two polarizers that are at 90
> degrees relative to each other. Thus almost no light passes through the
> system. Now insert a 3rd polarizer rotated 45 degrees, relative to the
> 1st, in between the other two and you will now see light, 25 per cent,
> pass through. Think about how this could work without the idea of
> rotated basis functions.
>
> Rick Lyons wrote:
> >
> >
> > Hi Clay (and others),
> > I've been wanting to ask you guys this question
> > for a couple of years. Now seems like a good time.
> > Do you think Schrödinger's cat is alive, or dead?
> > (Some people say both alive *and* dead.)
> >
> > [-Rick-]

Subject: Reenamed: The Physical Meaning of Phase Delay

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 7 Feb, 2002 06:52:53

Message: 392 of 454

"Clay S. Turner" <physics@bellsouth.net> writes:
>glen herrmannsfeldt wrote:
>>
>> Much more fun than that. There are particles called Kaons
>> (K mesons) that exist in two different forms, with two different
>> lifetimes. But the ones created in experiements are neither of
>> those, but a superposition of both. (Klong + Kshort)/sqrt(2)
>> or (Klong - Kshort)/sqrt(2), called K0 and K0bar.
>>
>> If you shoot them (through vacuum) the short will decay faster than
>> long, so you only have Klong left, or (K0 + K0bar)/sqrt(2).
>>
>> If you then pass the resulting Klong through matter it will absorb
>> either K0 or K0bar (I forget which), and you have Klong and Kshort
>> again. Each is a superposition of two states!

>The K bars are much more strongly absorbed by matter.

>The beam of neutral Kaons not only has the K shorts dying out earlier,
>but there is also a temporal oscillation modulating the decaying
>exponentials govering the lifetimes. The oscillation frequency is
>related to the difference in the masses of K short and K long. This is
>referred to as the "strangeness oscillation"

>The experiment you described above is known as K zero regeneration. What
>makes this possible is the coupling through common decays to virtual 2pi
>and intermediate 3pi states. Another way of looking at this
>uses the Cabibbo mixing of the quark types.

>Glen are you currently working in physics now and what is your area of
>interest? I'm working in atomic physics with elastic scattering by ions.

I used to be in physics, but now I am in computational biology.
I used to be in solid-state physics, but we had to learn
some about particle physics, too.

I couldn't remember which K0 was absorbed. I like this
example because it is nice and simple. No complicated mixing
angle like some have. Also, it shows how some of the math from
DSP problems solves a very different problem.

-- glen

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 7 Feb, 2002 08:45:28

Message: 393 of 454

amolitor-at@visi-dot-com.com wrote:
> = sin(pi*n + 2*pi*(n/Fs)*10)
> = sin(2*pi*(n/Fs)*10)

There is an error when going from the first step shown to the second.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Reenamed: The Physical Meaning of Phase Delay

From: Clay S. Turner

Date: 7 Feb, 2002 09:17:32

Message: 394 of 454



Jerry Avins wrote:
>
> Why settle for 25%? The first polarizer removes half the light (that
> it's only half is instructive!) to produce plane polarized light. Your
> second polarizer rotates the plane of polarization 45 degrees, reducing
> the amplitude by 1/sqrt(2). The output polarizer does that again. If on
> the other hand, we rotate only 5 degrees at a time, the output amplitude
> reduction at each rotation will be cos(5 degrees), and there will be 18
> of them. cos(5)^18 = .9337, so only about 1/15 of the available light is
> wasted. Given enough perfect polarizers, we could keep all the light
> that passes the first by rotating small enough amounts.
>
> Lim [(cos(90/n))^n] = 1
> n -> inf.
>
> Is this how optically active solutions work?

Yep! A simple and common example is sugar water. Polarizing cells[1]
were used to measure the concentration of grape juice. In fact it was
through this method that the handedness of stereoisomers was
discovered. For one type, the analyser was rotated one way, and for the
other, it was rotated the other way. Thus we have levo and dextro ->
left and right hand forms.

[1] A small box with polarizers on both ends of which one may be
rotated. The rotation angle for maximal extinction and the box's
dimensions allows one to ascertain the amount of rotation per inch for a
given solution.


Clay




>
> Jerry
> --
> Besides a mathematical inclination, an exceptionally good mastery of
> one's native tongue is the most vital asset of a competent programmer.
> Edsger W. Dijkstra
> -----------------------------------------------------------------------
> "Clay S. Turner" wrote:
> >
> > Hello Rick,
> > I like T.S. Elliot's answer. "The cat knows."
> >
> > Clay
> >
> > p.s. The Copenhagen interpretation says the cat is in a superposition of
> > both states until a measurement is made in which case the wavefunction
> > collapses to be an eigenstate of the measurer. I.e., dead or alive.
> >
> > This previous statement makes the answer real clear ;-) Actually the
> > difficulty is now pushed off into what consitutes a measurement. There
> > are whole books on this topic. But for something as big as a cat, most
> > agree it makes its own measurement and so will be either dead or alive
> > by the time an external observer looks in. But for simpler systems such
> > as for polarized light, there are two eigenstates and a linear polarizer
> > rotated 45 degrees relative to the polarization of the incoming light in
> > effect "sees" the light as a superposition of two states and will
> > colapse the wave to just one[1]. Which one it collapses to is
> > determined by chance. In fact this randomness mixed with particle
> > entanglement is the basis of quantum cryptography.
> >
> > [1] A simple experiment is performed with two polarizers that are at 90
> > degrees relative to each other. Thus almost no light passes through the
> > system. Now insert a 3rd polarizer rotated 45 degrees, relative to the
> > 1st, in between the other two and you will now see light, 25 per cent,
> > pass through. Think about how this could work without the idea of
> > rotated basis functions.
> >
> > Rick Lyons wrote:
> > >
> > >
> > > Hi Clay (and others),
> > > I've been wanting to ask you guys this question
> > > for a couple of years. Now seems like a good time.
> > > Do you think Schrödinger's cat is alive, or dead?
> > > (Some people say both alive *and* dead.)
> > >
> > > [-Rick-]

Subject: Physical meaning of Group-Delay ?

From: Peter Boettcher

Date: 7 Feb, 2002 09:27:42

Message: 395 of 454

Jerry Avins <jya@ieee.org> writes:

> Never mind what you've gotten yourself into, I wish I knew what you
> disagree with and what you made clear as mud. It seems to me, as far as
> I understand it, to be the Copernican Resolution. In other words, the
> sun and planets actually do go around the earth in complicated cycles
> and epicycles, but if we calculate _as_if_ all went around the sun in
> elliptic orbits, the math becomes simpler as the concepts grow weirder.
> I'm at a loss also about which is the Resolution and which the reality,
> but it's OK with me either way. I've been at this night and day for well
> over a week, and I'm about to quit. It would be great if you took over
> for me.

I probably made it way too complicated. My only point was, I also
think there is no such thing as phase shift without delay. Then I
gave an example of a system (y=-x) that APPEARED to do just that.
Then I tried to explain how that system really does delay the various
sinusoidal components by differing amounts, which creates the negative
version of the input.


--
Peter Boettcher
MIT Lincoln Laboratory
boettcher@ll.mit.edu
(781) 981-5275

Subject: Hilbert Transformers and Differentiators

From: Johan Kullstam

Date: 7 Feb, 2002 10:12:05

Message: 396 of 454

Jerry Avins <jya@ieee.org> writes:

> Tom wrote:
> >
> > I find something unreal about Hilbert Transformers. If you truely can
> > get a 90 degrees phase shift with no magnitude attenuation then
> > you can design the perfect servo! You can phase advance to your hearts
> > content and have 'infinite' bandwidth. Something cannot be right?
> > Surely a practical Hilbert transformer has a very narrow narrow
> > bandwidth or something?
> >
> > Tom
> >
> Here's a different slant from Clay's. The price for the 90-degree shift
> is an overall time delay about equal to 180 degrees at the lowest
> frequency in the passband. Being an (anti)symmetric transversal filter,
> an HT's time delay is the same for all frequencies, and the same for all
> transversal filters of the same length. That makes it easy to ignore,
> but it doesn't make it go away. In a DC servo, it would be a disaster.
> You knew there was no free lunch!
>
> Practical Hilbert transformers can easily pass good quality audio. The
> one I posted last week has a flat passband from 100 to 4900 Hz at a ten
> KHz sample rate. Doubling its length (and therefor its delay) would make
> it flat from 50 to 4950 Hz, give or take a few.

a hilbert transform is equivalent to the I/Q split (beat down to
baseband) followed by low pass filter and subsequent complex frequency
shift back up.

just take a low pass filter and move its frequency passband to some
other frequency in the complex domain.

group delay and bandwidth are determined by the filter parameters.

the ideal hilbert transform in text books is just a brickwall filter
in fourier transform domain^1,

H(f) = 1 for 0 < f < 0.5
H(f) = 0 for -0.5 < f < 0

the ideal hilbert transform is as unrealizable as the ideal low pass
filter.

[1] where i use the frequency formulation (imho omega sucks and leads to
stupid mistakes)
H(f) = \int_0^1 h(t) exp(2\pi ft) dt

why textbooks teach hilbert transform and omega style transforms
instead of I/Q split and f fourier is beyond me. academia seems
enamoured with the former, but the latter is used everywhere in
industry.

--
J o h a n K u l l s t a m
[kullstam@ne.mediaone.net]
sysengr

Subject: Hilbert Transformers and Differentiators

From: Steve Underwood

Date: 7 Feb, 2002 23:30:19

Message: 397 of 454

Johan Kullstam wrote:

> a hilbert transform is equivalent to the I/Q split (beat down to
> baseband) followed by low pass filter and subsequent complex frequency
> shift back up.

Not really. An properly I/Q split signal aliases at the sampling rate. A
signal turned from real to complex with a Hilbert transform continues to
alias at half the sampling rate. You can't construct the missing half of
the data out of thin air, now, can you :)

Regards,
Steve

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 7 Feb, 2002 15:36:57

Message: 398 of 454

In article <treljxicyp.fsf@coyote.llan.ll.mit.edu>,
Peter Boettcher <boettcher@ll.mit.edu> wrote:
>Jerry Avins <jya@ieee.org> writes:
>
>> Never mind what you've gotten yourself into, I wish I knew what you
>> disagree with and what you made clear as mud. It seems to me, as far as
>> I understand it, to be the Copernican Resolution. In other words, the
>> sun and planets actually do go around the earth in complicated cycles
>> and epicycles, but if we calculate _as_if_ all went around the sun in
>> elliptic orbits, the math becomes simpler as the concepts grow weirder.
>> I'm at a loss also about which is the Resolution and which the reality,
>> but it's OK with me either way. I've been at this night and day for well
>> over a week, and I'm about to quit. It would be great if you took over
>> for me.
>
>I probably made it way too complicated. My only point was, I also
>think there is no such thing as phase shift without delay. Then I
>gave an example of a system (y=-x) that APPEARED to do just that.
>Then I tried to explain how that system really does delay the various
>sinusoidal components by differing amounts, which creates the negative
>version of the input.

I think Jerry's point is that you can certainly do that,
and it's sound, it's just more complicated.

At the end of the day, there's no such thing as a "delayed"
signal or a "phase shifted" signal. There's the signal you put in, and
there's the different signal that comes out. Various interpretations are
possible, some simpler than others.

Andrew

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 7 Feb, 2002 15:59:52

Message: 399 of 454

In article <3C6284F8.1F5D68@ieee.org>, Randy Yates <yates@ieee.org> wrote:
>amolitor-at@visi-dot-com.com wrote:
>> = sin(pi*n + 2*pi*(n/Fs)*10)
>> = sin(2*pi*(n/Fs)*10)
>
>There is an error when going from the first step shown to the second.

Yes! Thank you! I spent probably 5 minutes staring at this
stupidly last night trying to figure out why things were aliasing
twice as often. Not being one to let a mere constant factor stand
in the way of progress, I threw it over the wall as is.

Of course sin() is periodic in 2pi, not pi!

The correct computation, as you have surely worked out, is:

sampling sin(2*pi*(Fs/2 + 10)*t) Fs times per second we get a sequence of
values:

x[n] = sin(2*pi*(Fs/2 + 10)*(n/Fs))
        = sin(2*pi*(n/Fs)*(Fs/2) + 2*pi*(n/Fs)*10)
        = sin(pi*n + 2*pi*(n/Fs)*10)
        = sin(pi*n + (n*pi - n*pi) + 2*pi*(n/Fs)*10)
= sin(2*n*pi + 2*pi*(n/Fs)*10 - (n*pi)*1)
= sin(2*n*pi + 2*pi*(n/Fs)*10 - (n*pi)*[(2*Fs)/(2*Fs)])
= sin(2*n*pi + 2*pi*(n/Fs)*10 - 2*pi*(n/Fs)*(Fs/2))
= sin(2*n*pi + 2*pi*(n/Fs)*(10 - Fs/2))
        = sin(2*pi*(n/Fs)*(10 - Fs/2))
        = sin(2*pi*(-Fs/2 + 10)*(n/Fs))

which is what you get when you sample a sine wave with frequency (-Fs/2 + 10)
So this thing aliases Fs apart.

Of course the same works if you use K instead of 10, and cos instead of
sin, and variations on the (n*pi - n*pi) term, so the general "aliases
every Fs" result follows with a little hacking around.

I.E frequencies are equivalent in the land of continuous signals
sampled at Fs via:

In <Jth88.23368$Wf1.5390972@ruti.visi.com> amolitor-at@visi-dot-com.com:
>------------------
> omega_1 |equiv| omega_2
> iff
> omega_1 and omega_2 differ by an integral factor of Fs
>
>which is:
>
> relexive: omega_1 = omega_1 + 0 * Fs, and 0 is an integer
> symmetric: omega_1 = omega_2 + (n*Fs) iff omega_2 = omega_1 - (n*Fs)
> transitive: if omega_1 = omega_2 + (n*Fs), and
> omega_2 = omega_3 + (m*Fs), then omega_1 = omega_3 + (n+m)*Fs
>------------------

Are you going to show your character and admit your error, the
way I freely admitted mine?

Subject: Hilbert Transformers and Differentiators

From: Johan Kullstam

Date: 7 Feb, 2002 11:03:16

Message: 400 of 454

Steve Underwood <steve@dis.org> writes:

> Johan Kullstam wrote:
>
> > a hilbert transform is equivalent to the I/Q split (beat down to
> > baseband) followed by low pass filter and subsequent complex frequency
> > shift back up.
>
> Not really. An properly I/Q split signal aliases at the sampling
> rate. A signal turned from real to complex with a Hilbert transform
> continues to alias at half the sampling rate. You can't construct the
> missing half of the data out of thin air, now, can you :)

complex sampling.

--
J o h a n K u l l s t a m
[kullstam@ne.mediaone.net]
sysengr

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 7 Feb, 2002 13:14:34

Message: 401 of 454

Peter Boettcher wrote:
>
> Jerry Avins <jya@ieee.org> writes:
>
> > Never mind what you've gotten yourself into, I wish I knew what you
> > disagree with and what you made clear as mud. It seems to me, as far as
> > I understand it, to be the Copernican Resolution. In other words, the
> > sun and planets actually do go around the earth in complicated cycles
> > and epicycles, but if we calculate _as_if_ all went around the sun in
> > elliptic orbits, the math becomes simpler as the concepts grow weirder.
> > I'm at a loss also about which is the Resolution and which the reality,
> > but it's OK with me either way. I've been at this night and day for well
> > over a week, and I'm about to quit. It would be great if you took over
> > for me.
>
> I probably made it way too complicated. My only point was, I also
> think there is no such thing as phase shift without delay. Then I
> gave an example of a system (y=-x) that APPEARED to do just that.
> Then I tried to explain how that system really does delay the various
> sinusoidal components by differing amounts, which creates the negative
> version of the input.
>
> --
> Peter Boettcher
> MIT Lincoln Laboratory
> boettcher@ll.mit.edu
> (781) 981-5275

I could buy into that completely, agreeing that a detailed look under
the hood would reveal variable delays that collectively simulate a fixed
phase shift, except that I can build (and described here about two weeks
ago) an electromechanical system whose output phase is the sum of the
input phase and a shaft's angle. To the extent that the rotary
transformers have flat response, the phase shift due to the shaft angle
is independent of frequency. However one chooses to analyze a Hilbert
transformer, I can see no delay mechanism in that; of course, there may
be one, whether I see it or not.

Jerry

P.S. The rotary transformers are not kin to Paul Draper's
instrumentation devices of the same name. I knew Paul when Lincoln Labs
was part of MIT, and he headed the team that developed inertial
navigation. The rotary transformers I referred to above can be seen as
broadband Selsyn differentials.
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 7 Feb, 2002 13:19:52

Message: 402 of 454

amolitor-at@visi-dot-com.com wrote:
>
> ...
>
> At the end of the day, there's no such thing as a "delayed"
> signal or a "phase shifted" signal. There's the signal you put in, and
> there's the different signal that comes out. Various interpretations
> are possible, some simpler than others.
>
> Andrew

Thank you; I wish I had said that! Had I been thinking more clearly, I
would have.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 7 Feb, 2002 13:34:12

Message: 403 of 454

amolitor-at@visi-dot-com.com wrote:
>
> In article <3C6284F8.1F5D68@ieee.org>, Randy Yates <yates@ieee.org> wrote:
> >amolitor-at@visi-dot-com.com wrote:
> >> = sin(pi*n + 2*pi*(n/Fs)*10)
> >> = sin(2*pi*(n/Fs)*10)
> >
> >There is an error when going from the first step shown to the second.
>
> Yes! Thank you! I spent probably 5 minutes staring at this
> stupidly last night trying to figure out why things were aliasing
> twice as often. Not being one to let a mere constant factor stand
> in the way of progress, I threw it over the wall as is.
>
> Of course sin() is periodic in 2pi, not pi!
>
> The correct computation, as you have surely worked out, is:
>
> sampling sin(2*pi*(Fs/2 + 10)*t) Fs times per second we get a sequence of
> values:
>
> x[n] = sin(2*pi*(Fs/2 + 10)*(n/Fs))
> = sin(2*pi*(n/Fs)*(Fs/2) + 2*pi*(n/Fs)*10)
> = sin(pi*n + 2*pi*(n/Fs)*10)
> = sin(pi*n + (n*pi - n*pi) + 2*pi*(n/Fs)*10)
> = sin(2*n*pi + 2*pi*(n/Fs)*10 - (n*pi)*1)
> = sin(2*n*pi + 2*pi*(n/Fs)*10 - (n*pi)*[(2*Fs)/(2*Fs)])
> = sin(2*n*pi + 2*pi*(n/Fs)*10 - 2*pi*(n/Fs)*(Fs/2))
> = sin(2*n*pi + 2*pi*(n/Fs)*(10 - Fs/2))
> = sin(2*pi*(n/Fs)*(10 - Fs/2))
> = sin(2*pi*(-Fs/2 + 10)*(n/Fs))
>
> which is what you get when you sample a sine wave with frequency (-Fs/2 + 10)
> So this thing aliases Fs apart.
>
> Of course the same works if you use K instead of 10, and cos instead of
> sin, and variations on the (n*pi - n*pi) term, so the general "aliases
> every Fs" result follows with a little hacking around.
>
> I.E frequencies are equivalent in the land of continuous signals
> sampled at Fs via:
>
> In <Jth88.23368$Wf1.5390972@ruti.visi.com> amolitor-at@visi-dot-com.com:
> >------------------
> > omega_1 |equiv| omega_2
> > iff
> > omega_1 and omega_2 differ by an integral factor of Fs
> >
> >which is:
> >
> > relexive: omega_1 = omega_1 + 0 * Fs, and 0 is an integer
> > symmetric: omega_1 = omega_2 + (n*Fs) iff omega_2 = omega_1 - (n*Fs)
> > transitive: if omega_1 = omega_2 + (n*Fs), and
> > omega_2 = omega_3 + (m*Fs), then omega_1 = omega_3 + (n+m)*Fs
> >------------------
>
> Are you going to show your character and admit your error, the
> way I freely admitted mine?

There's a simpler way to see the whole elephant at once. If a square
wave is sampled without first being band limited, frequencies well above
Fs/2 will pass the sampler, leading to aliasing. We can see what the
series of samples so acquired would consist of. No math is needed to see
that an identical series of samples created algorithmically will have
identical spectral content.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 7 Feb, 2002 13:50:17

Message: 404 of 454

Jerry Avins wrote:
>

> ... I can build (and described here about two weeks
> ago) an electromechanical system whose output phase is the sum of the
> input phase and a shaft's angle. To the extent that the rotary
> transformers have flat response, the phase shift due to the shaft angle
> is independent of frequency. However one chooses to analyze a Hilbert
> transformer, I can see no delay mechanism in that; of course, there
> may be one, whether I see it or not.

That should be: "However one chooses to analyze a Hilbert transformer, I
can see no delay mechanism in the electromechanical system; ..."
  ...

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: jj@research.att.com (jj, DBT thug and skeptical philalethist)

Date: 7 Feb, 2002 19:31:26

Message: 405 of 454

In article <3C61B0A9.3813E218@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
>Randy Yates wrote:
>> Jerry,
>> Go back to the basics of digital signal processing. An anti-aliasing
>> filter is required at the input of an A/D to avoid aliasing. However,
>> I did not generate a square wave in the analog domain and then
>> sample it without an antialiasing filter. That would have caused
>> aliasing. Instead, what I did was generate the signal directly in
>> the digital domain. THUS MY SIGNAL IS INHERENTLY BANDLIMITED TO
>> -Fs/2 TO +Fs/2.

>Do you still believe this nonsense?

Um, Jerry, it IS correct. He's generated the signal in the sampled
domain, so by definition it is completely represented by signals
in the -fs/2 to fs/2 band. This is true no matter how he
generated it. The square wave that results has lots of terms
that would be "aliased" in terms of a continuous square wave.
When generated digitally, they are aliased at creation.

The visible square wave has lots of terms that would have been
aliased in a sampling capture, of course. When generated digitally,
they are aliased at birth, so to speak. The digital signal MUST
be representable inside the passband, and it is.

So I think you're both right.

The rest of this argument is picking at nits, I think, and perhaps
someone depending on a broadband average of delay, which is not
the same thing as group delay at all.

But I haven't followed this well enough to be sure, so I'm not
jumping in at this point.

I will say that if you get delay info from Matlab, you may not get what
you expect :) You get what they say they give you, but that's not
the same thing as the group delay as a function of frequency.
--
Copyright jj@research.att.com 2002, all rights reserved, except transmission
by USENET and like facilities granted. This notice must be included. Any
use by a provider charging in any way for the IP represented in and by this
article and any inclusion in print or other media are specifically prohibited.

Subject: Physical meaning of Group-Delay ?

From: jj@research.att.com (jj, DBT thug and skeptical philalethist)

Date: 7 Feb, 2002 19:33:56

Message: 406 of 454

In article <Gr50t3.Go1@world.std.com>,
Richard D Pierce <DPierce@world.std.com> wrote:
>>I would expect the differences to be related to rounding.
>>But then rounding errors can generate aliasing, so maybe
>>that is what this is talking about. Take a sin(wt) wave
>>of a relatively low frequency and amplitude about 2 lsb.
>>It will look much like a square wave.

>Then your generator is broken because you have NOT dithered the
>signal properly.

Yep. Dithering is required.

>Well, look at what's happening: without the dithering, the
>quantization artifacts generate a broad spectrum, and those
>components that are out of band, i.e., "frequency components
>where they shouldn't be" are alised back into the base band.
>That's what aliasing means.

Yep. And when you generate a lot of them WAY out of band,
well,...

>Try it. For example, take a 10 kHz sine wave sampled at 44.1
>kHz. CLip it in the digital domain.

BINGO.

This is why digital clipping is so so so bad. NONE of the energy
is out of band, it all aliases back, ICK!
--
Copyright jj@research.att.com 2002, all rights reserved, except transmission
by USENET and like facilities granted. This notice must be included. Any
use by a provider charging in any way for the IP represented in and by this
article and any inclusion in print or other media are specifically prohibited.

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 7 Feb, 2002 14:39:18

Message: 407 of 454

Jerry Avins wrote:
> [...]
> There's a simpler way to see the whole elephant at once. If a square
> wave is sampled without first being band limited, frequencies well above
> Fs/2 will pass the sampler, leading to aliasing. We can see what the
> series of samples so acquired would consist of. No math is needed to see
> that an identical series of samples created algorithmically will have
> identical spectral content.

That is true if one computed, for each sample time n*Ts, the convolution of
a continuous-time square wave with a continuous-time sinc() function,
using, e.g., some numerical methods for continuous integration.

That, however, is not what I did.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 7 Feb, 2002 14:56:21

Message: 408 of 454

Jerry Avins wrote:
> [...]

Jerry,

I believe part of what may be happening here is that you are
interpreting what I've said using your own definitions
and then reexpressing them using other terms that, in your
mind, are equivalent. For example, "delay" and "group delay"
are not equivalent in my mind, but I think they are in yours.

In situations like this, I don't believe it is valid to
reexpress the statements/assertions/claims of others. In
such situations, about all you can claim is that I said
what I said (that is, you can only quote verbatim). The
reinterpretations are your own and not mine.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 7 Feb, 2002 16:25:13

Message: 409 of 454

amolitor-at@visi-dot-com.com wrote:
> [...]
> Are you going to show your character and admit your error, the
> way I freely admitted mine?

Ask people around here if I have a problem admitting my errors. The
much worse problem is *committing* them!

Now to revive a horse that was dead and beat it again, it is only
an error depending on what you mean by two frequencies being equivalent.
Note that if you looked at your -Fs/2 + 10 Hz sine wave on a spectrum
analyzer, you would see something that looked like it had a frequency
of +Fs/2 - 10 Hz. Yes, there's that nagging frequency at -Fs/2 + 10 Hz,
but real signals always have symmetric spectra, so you usually only
are concerned with the positive frequencies. (Wow, can we convolute
this thread with the "there's no such thing as negative frequencies"
circus???)

But, to come clean (as they say), yes, if you mean that two
frequencies are equivalent only if their sine functions
are equal, then you're right - I made a mistake.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 7 Feb, 2002 19:00:38

Message: 410 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> > [...]
>
> Jerry,
>
> I believe part of what may be happening here is that you are
> interpreting what I've said using your own definitions
> and then reexpressing them using other terms that, in your
> mind, are equivalent. For example, "delay" and "group delay"
> are not equivalent in my mind, but I think they are in yours.
>
> In situations like this, I don't believe it is valid to
> reexpress the statements/assertions/claims of others. In
> such situations, about all you can claim is that I said
> what I said (that is, you can only quote verbatim). The
> reinterpretations are your own and not mine.
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

Randy,

This originally came up when you said that your squarewave into my
Hilbert transformer didn't look like a squarewave when it came out,
proving that my Hilbert transformer didn't do what I said it did. I
pointed out that you shouldn't be surprised that the waveform was
screwed up because of the aliasing inherent in it. I accept your and
jj's interpretation that there can be no aliasing if the signal is taken
at face value in its digital incarnation. If it is taken so, it's not a
square wave, is it? I prefer to look at the sequence of samples that you
called a square wave as all the harmonics of a squarewave systematically
shifted into -Fs/2 to +Fs/2. Granted they were born there with
legitimate parentage, but that doesn't make the collection a square wave
or anything that might be expected to look like one. Or do you still
think it should?

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 7 Feb, 2002 19:49:10

Message: 411 of 454

Jerry Avins wrote:
> [...]
> This originally came up when you said that your squarewave into my
> Hilbert transformer didn't look like a squarewave when it came out,
> proving that my Hilbert transformer didn't do what I said it did. I
> pointed out that you shouldn't be surprised that the waveform was
> screwed up because of the aliasing inherent in it. I accept your and
> jj's interpretation that there can be no aliasing if the signal is taken
> at face value in its digital incarnation. If it is taken so, it's not a
> square wave, is it?

I guess it depends on what you define as a square wave.

My intention was to create some signal that wasn't a sinusoid (because
sinusoids don't stress the system response too much) and I came up with
that thing. It sorta looked like a square wave so I called it a square wave.
It really wasn't pertinent that it actually be a square wave, but rather
just some "thing," some signal, that was not a sine wave.

> I prefer to look at the sequence of samples that you
> called a square wave as all the harmonics of a squarewave systematically
> shifted into -Fs/2 to +Fs/2.

Hmmm. I really don't know if that "thing" I created is what would result
in such a situation. Maybe.

> Granted they were born there with
> legitimate parentage, but that doesn't make the collection a square wave
> or anything that might be expected to look like one. Or do you still
> think it should?

Well, like I said, I didn't really mean to insist that it be a square
wave, just some thing, and that if I put that "thing" into a system
that was just a pure delay, then I should get that same "thing" out,
just delayed.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 7 Feb, 2002 21:22:25

Message: 412 of 454

Randy Yates wrote:
>
  ...
>
> Well, like I said, I didn't really mean to insist that it be a square
> wave, just some thing, and that if I put that "thing" into a system
> that was just a pure delay, then I should get that same "thing" out,
> just delayed.
> --
So it you longer think that it's supposed look like a square wave when
it comes out? We're getting closer to understanding one another if
that's so.

Jerry
--
Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer.
                                                 Edsger W. Dijkstra
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 7 Feb, 2002 22:03:21

Message: 413 of 454

Jerry Avins wrote:
>
> Randy Yates wrote:
> >
> ...
> >
> > Well, like I said, I didn't really mean to insist that it be a square
> > wave, just some thing, and that if I put that "thing" into a system
> > that was just a pure delay, then I should get that same "thing" out,
> > just delayed.
> > --
> So it you longer think that it's supposed look like a square wave when
> it comes out? We're getting closer to understanding one another if
> that's so.

I think it should look like whatever it was when it went in, but delayed
by some amount, *IF* the system it went into was a pure delay. If you
want to call what went in a square wave, then it should be a delayed square wave
when it comes out. If you want to call what went in a bifurcated-ambidexterous-
machinated-thingamabob, then it should be called a delayed bifurcated-ambidexterous-
machinated-thingamabob when it comes out.

But I thought I just said that.

Jerry, let me say that I think there is something very seriously wrong here.
I mean, are we speaking the same language? I thought my last response was
extremely clear and it seems that you still didn't understand it. I'm not
saying this to be cruel at all, but to say I am truly at a loss to understand
what's happening here.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: ricklyon@remove.onemain.com (Rick Lyons)

Date: 8 Feb, 2002 11:26:02

Message: 414 of 454

On Wed, 06 Feb 2002 17:39:37 -0500, Jerry Avins <jya@ieee.org> wrote:


Hi guys,
  this thread, for now, has focused on a
fabulously important concept concerning discrete
sequences, i.e., "what's the relationship between
a continuous signal and a periodically-sampled,
discrete-time, sequence of that continuous signal.
(We have to choose our words very carefully now.)
We all agree that the squarewave sequence has
certain properties like a z-transform; a discrete
time Fourier transform (DTFT); and a discrete Fourier
transform (DFT), once the number of samples per
squarewave cycle is defined. And we should all agree
that those properties DO *NOT* depend on how the
squarewave sequence came into existence, be it from
an A/D converter or software-generated.

 I don't know if I've ever thought deeply about the
spectrum of a squarewave sequence. Yea, yea, I know
the spectrum of a continuous squarewave is the fundamental
plus the odd harmonics, but what is the spectrum of
a discrete squarewave sequence?

 Randy says (referring to the squarewave sequence),

     "THUS MY SIGNAL IS INHERENTLY BANDLIMITED TO
       -Fs/2 TO +Fs/2."

But do we all completely agree on the meaning of the
word "bandlimited"? I doubt it.
 
 JJ says the squarewave sequence,

     "is completely represented by signals
       in the -fs/2 to fs/2 band."

Do we all agree on the meaning of the words
"represented" and "signals". Not likely.

 Let's think of an ideal infinite-duration continuous
squarewave. It's spectrum would be a symmetrical
collection of infinitely-narrow impulses in the
frequency domain. (The "tallest" impulse would be
located at the fundamental frequency of the squarewave.)
There would be an infinite number of those spectral
impulses trailing off in both directions of the spectrum.
We could now think about a truncated continuous
squarewave. One that has an amplitude of zero (lasting a
billion years, or so), then suddenly a couple dozen full
squarewave cycles, followed by a long duration of zero
amplitude again. The spectrum of that continuous truncated
squarewave would be the same as the spectrum of the
infinite-duration continuous squarewave with each spectral
impulse now replaced with a lump of spectral energy.
(I'll bet the shape of those 'lumps' would be sin(x)/x.)

If we sample (using an A/D converter) that continuous
truncated squarewave we'll have what I'll call a
finite-duration '50%-duty cycle' sequence. So now, the
question is, "What in the Hell is the spectrum of that
'50%-duty cycle' sequence?" It seems to me that the
DTFT (which has infinite frequency resolution, and
cannot be performed on a computer) of that '50%-duty
cycle' sequence is the sum of infinite replications
of the continuous truncated squarewave's spectral
lumps. Each replication, of the 'lumpy' spectrum,
is centered at integer multiples of the sampling
frequency Fs. And since each replication is infinite
in width, - here's what I hadn't thought about
before - profound spectral overlap must occur.
Too bad we can't draw pictures of all of this.
(Of course, if we choose Fs to be very large the
replications are spaced far apart and the effect of
the spectral overlap is reduced.)

Now I've always thought of an N-point DFT as a 'sampled'
version of the continuous DTFT taken within the range
of -Fs/2 -to- +Fs/2. If that's true, then the N-point
DFT of the real '50%-duty cycle' sequence is the sum of
N complex exponentials. I think you could say: The
'50%-duty cycle' time domain sequence is the sum of
N/2 (or is it N/2 + 1) real sinusoids whose frequencies
lie in the range of 0 -to- Fs/2 Hz.

My words "is the sum of" is what I think jj meant when
he said "represented by", and my words "whose
frequencies lie in the range of 0 -to- Fs/2 Hz" is
what I think Randy meant when he said "bandlimited".

So we can't exactly represent an ideal squarewave
with a discrete sequence because a squarewave has an
infinitely wide spectrum, and the DFT of any 50%-duty
cycle time sequence must necessarily have some non-zero
aliasing error component. (I'm sure you guys could have
said this in far fewer words.)

If I'm wrong here, would someone straighten me out?

[-Rick-]

 

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 8 Feb, 2002 08:01:43

Message: 415 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> > [...]
> > There's a simpler way to see the whole elephant at once. If a square
> > wave is sampled without first being band limited, frequencies well above
> > Fs/2 will pass the sampler, leading to aliasing. We can see what the
> > series of samples so acquired would consist of. No math is needed to see
> > that an identical series of samples created algorithmically will have
> > identical spectral content.
>
> That is true if one computed, for each sample time n*Ts, the convolution of
> a continuous-time square wave with a continuous-time sinc() function,
> using, e.g., some numerical methods for continuous integration.

My statement above is incorrect. That would filter and sample the sequence, not
sample it with aliasing. I retract it. Sorry for the confusion.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 8 Feb, 2002 14:49:34

Message: 416 of 454

In article <3c638be3.5590307@news.earthlink.net>,
Rick Lyons <ricklyon@remove.onemain.com> wrote:
>And since each replication is infinite
>in width, - here's what I hadn't thought about
>before - profound spectral overlap must occur.

Certainly the process of sampling will add up all the
energy at the various (omega + n*Fs)s and drop that into the omega
bin.

Here's a useful mental picture:

Sampling cannot tell the difference between a "perfect"
squarewave, and one which is bandlimited or otherwise filtered
in such a way as the changes occur only between sampling points.
Obviously :)

To put it another way, sampling cannot tell the difference
between a square wave at Fs/2 and a cosine at Fs/2.

Add to this the fact that in the discrete domain,
there are no frequencies outside -Fs/2..Fs/2 ("frequency is
periodic" which is another way of saying that a frequency omega
is represented not by a point on the real line, but by a point on
a circle).

Therefore it doesn't make any sense to even think about those
higher and lower frequencies except in the context of converting to
and from the continuous domain. All the details of what happens to
those frequencies depend on your A/D and D/A systems. Normally, of
course, these make every effort to completely band-limit the continuous
time signal. They could just as easily preserve all that energy.

Another mental picture:

Imagine a continuous time square wave at Fs/2. Band limit
it on input -- you get just the fundamental cosine, which the sampling
system will sample just as it would the square wave. The band limiting
just eliminates stuff the sampling system "can't see anyways"

Now you have a sampled 1, -1 .. sequence.

Run that through a normal D/A system and you get the cosine.
However, depending on how you build your D/A and output filtering, you
can get a bewildering array of different stuff out, including square
waves. Basically this boils down to being able to unroll the circular
frequency domain in the discrete domain on the continuous domain's
real frequency domain any way you like.

Subject: Physical meaning of Group-Delay ?

From: ricklyon@remove.onemain.com (Rick Lyons)

Date: 8 Feb, 2002 17:48:59

Message: 417 of 454

On Fri, 08 Feb 2002 11:26:02 GMT, ricklyon@remove.onemain.com (Rick
Lyons) wrote:
(snipped)

>I think you could say: The
>'50%-duty cycle' time domain sequence is the sum of
>N/2 (or is it N/2 + 1) real sinusoids whose frequencies
>lie in the range of 0 -to- Fs/2 Hz.

I should mention a special case here:
That is, *IF* the '50%-duty cycle' time domain
sequence contains an exact integer multiple of
cycles, then that time sequence is the sum of real
sinusoids whose frequencies are the fundamental
frequency plus the odd harmonics up to Fs/2 Hz.

[-Rick-]

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 8 Feb, 2002 13:13:13

Message: 418 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > Randy Yates wrote:
> > >
> > ...
> > >
> > > Well, like I said, I didn't really mean to insist that it be a square
> > > wave, just some thing, and that if I put that "thing" into a system
> > > that was just a pure delay, then I should get that same "thing" out,
> > > just delayed.
> > > --
> > So it you longer think that it's supposed look like a square wave when
> > it comes out? We're getting closer to understanding one another if
> > that's so.
>
> I think it should look like whatever it was when it went in, but delayed
> by some amount, *IF* the system it went into was a pure delay. If you
> want to call what went in a square wave, then it should be a delayed square wave
> when it comes out. If you want to call what went in a bifurcated-ambidexterous-
> machinated-thingamabob, then it should be called a delayed bifurcated-ambidexterous-
> machinated-thingamabob when it comes out.
>
> But I thought I just said that.
>
> Jerry, let me say that I think there is something very seriously wrong here.
> I mean, are we speaking the same language? I thought my last response was
> extremely clear and it seems that you still didn't understand it. I'm not
> saying this to be cruel at all, but to say I am truly at a loss to understand
> what's happening here.
> --
Randy,

At least one of us is missing at least one key point. It's relatively
easy for me to be aware of what I don't know, much harder to realize
that what I take for granted is either wrong outright or a special case.
I suspect that's what's happening here, maybe both of us.

I don't know the spectrum of what you put in, and I can't compute it
without knowing its period is relative to the sampling period. What we
can say about it is that it consists of the usual components of a square
wave's series expansion, each folded around the Nyquist frequency so
they all lie below it. (That's what I meant by aliasing. If you offfer a
different term, I'll use it.) If this set of (probably) inharmonic
components is simply delayed -- Matlab agrees with me about what the
group delay is -- then the output ought to look like the delayed input.
If each component is in addition shifted 90 degrees, then it should look
like what you saw.

Try this test: FFT your test signal. (There should be as many lines
between 0 and Fs as there are harmonics of the un-aliased time-domain
square wave you probably thought you were representing, but they won't
all be resolved. Since the infolded 31st harmonic is about 30 dB down,
you may not need to keep more than a dozen to get a decent picture.)
Shift the phase of all components 90 degrees. (That can most easily be
done by swapping real and imaginary parts with attention to sign.) IFFT,
plot, and compare to what came out of my filter. Let us know what you
see. If you still expect it to be a delayed version of the original,
please tell me why.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 8 Feb, 2002 13:27:03

Message: 419 of 454

Jerry Avins wrote:
> If you still expect it to be a delayed version of the original,
> please tell me why.

I never did expect this - you did.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 8 Feb, 2002 13:43:23

Message: 420 of 454

Rick Lyons wrote:
>
> On Wed, 06 Feb 2002 17:39:37 -0500, Jerry Avins <jya@ieee.org> wrote:
>
> Hi guys,
> this thread, for now, has focused on a
> fabulously important concept concerning discrete
> sequences, i.e., "what's the relationship between
> a continuous signal and a periodically-sampled,
> discrete-time, sequence of that continuous signal.
> (We have to choose our words very carefully now.)
> We all agree that the squarewave sequence has
> certain properties like a z-transform; a discrete
> time Fourier transform (DTFT); and a discrete Fourier
> transform (DFT), once the number of samples per
> squarewave cycle is defined. And we should all agree
> that those properties DO *NOT* depend on how the
> squarewave sequence came into existence, be it from
> an A/D converter or software-generated.
>
> I don't know if I've ever thought deeply about the
> spectrum of a squarewave sequence. Yea, yea, I know
> the spectrum of a continuous squarewave is the fundamental
> plus the odd harmonics, but what is the spectrum of
> a discrete squarewave sequence?
>
> Randy says (referring to the squarewave sequence),
>
> "THUS MY SIGNAL IS INHERENTLY BANDLIMITED TO
> -Fs/2 TO +Fs/2."

Randy was right when he wrote that about his sequence of samples; I was
wrong to flatly contradict him. From the use he made of his sequence,
it's clear (to me) that he believed his sequence to represent a
time-domain square wave with the period evident in the sequence. It
clearly does not, and that's what my contradiction was intended to show.
>
> But do we all completely agree on the meaning of the
> word "bandlimited"? I doubt it.

Simple enough to me, but that's because you see more deeply than I; I
learned a large part of what I know about DSP from your book. How about
"containing no significant frequency components outside the band"?
>
> JJ says the squarewave sequence,
>
> "is completely represented by signals
> in the -fs/2 to fs/2 band."
>
> Do we all agree on the meaning of the words
> "represented" and "signals". Not likely.
>
> Let's think of an ideal infinite-duration continuous
> squarewave. It's spectrum would be a symmetrical
> collection of infinitely-narrow impulses in the
> frequency domain. (The "tallest" impulse would be
> located at the fundamental frequency of the squarewave.)
> There would be an infinite number of those spectral
> impulses trailing off in both directions of the spectrum.
> We could now think about a truncated continuous
> squarewave. One that has an amplitude of zero (lasting a
> billion years, or so), then suddenly a couple dozen full
> squarewave cycles, followed by a long duration of zero
> amplitude again. The spectrum of that continuous truncated
> squarewave would be the same as the spectrum of the
> infinite-duration continuous squarewave with each spectral
> impulse now replaced with a lump of spectral energy.
> (I'll bet the shape of those 'lumps' would be sin(x)/x.)
>
> If we sample (using an A/D converter) that continuous
> truncated squarewave we'll have what I'll call a
> finite-duration '50%-duty cycle' sequence. So now, the
> question is, "What in the Hell is the spectrum of that
> '50%-duty cycle' sequence?" It seems to me that the
> DTFT (which has infinite frequency resolution, and
> cannot be performed on a computer) of that '50%-duty
> cycle' sequence is the sum of infinite replications
> of the continuous truncated squarewave's spectral
> lumps. Each replication, of the 'lumpy' spectrum,
> is centered at integer multiples of the sampling
> frequency Fs. And since each replication is infinite
> in width, - here's what I hadn't thought about
> before - profound spectral overlap must occur.
> Too bad we can't draw pictures of all of this.
> (Of course, if we choose Fs to be very large the
> replications are spaced far apart and the effect of
> the spectral overlap is reduced.)
>
> Now I've always thought of an N-point DFT as a 'sampled'
> version of the continuous DTFT taken within the range
> of -Fs/2 -to- +Fs/2. If that's true, then the N-point
> DFT of the real '50%-duty cycle' sequence is the sum of
> N complex exponentials. I think you could say: The
> '50%-duty cycle' time domain sequence is the sum of
> N/2 (or is it N/2 + 1) real sinusoids whose frequencies
> lie in the range of 0 -to- Fs/2 Hz.
>
> My words "is the sum of" is what I think jj meant when
> he said "represented by", and my words "whose
> frequencies lie in the range of 0 -to- Fs/2 Hz" is
> what I think Randy meant when he said "bandlimited".
>
> So we can't exactly represent an ideal squarewave
> with a discrete sequence because a squarewave has an
> infinitely wide spectrum, and the DFT of any 50%-duty
> cycle time sequence must necessarily have some non-zero
> aliasing error component. (I'm sure you guys could have
> said this in far fewer words.)
>
> If I'm wrong here, would someone straighten me out?

I think the problem becomes simpler -- maybe even to the point of
complete resolution -- when we see that representing a true square wave
and determining the baseband spectrum represented by a square set of
samples are entirely separate exercises which only come together when
our heads are on a little askew.
>
> [-Rick-]
>
>

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Digital Source Signals, was Re: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 8 Feb, 2002 13:45:19

Message: 421 of 454

Randy Yates wrote:
>
> Randy Yates wrote:
> >
> > Jerry Avins wrote:
> > > [...]
> > > There's a simpler way to see the whole elephant at once. If a square
> > > wave is sampled without first being band limited, frequencies well above
> > > Fs/2 will pass the sampler, leading to aliasing. We can see what the
> > > series of samples so acquired would consist of. No math is needed to see
> > > that an identical series of samples created algorithmically will have
> > > identical spectral content.
> >
> > That is true if one computed, for each sample time n*Ts, the convolution of
> > a continuous-time square wave with a continuous-time sinc() function,
> > using, e.g., some numerical methods for continuous integration.
>
> My statement above is incorrect. That would filter and sample the sequence, not
> sample it with aliasing. I retract it. Sorry for the confusion.
> --
> % Randy Yates % "...the answer lies within your soul
> %% Fuquay-Varina, NC % 'cause no one knows which side
> %%% 919-577-9882 % the coin will fall."
> %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> http://personal.rdu.bellsouth.net/~yatesc

Got it! Thanks.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 8 Feb, 2002 19:36:39

Message: 422 of 454

amolitor-at@visi-dot-com.com writes:
(snip)
> Sampling cannot tell the difference between a "perfect"
>squarewave, and one which is bandlimited or otherwise filtered
>in such a way as the changes occur only between sampling points.
>Obviously :)

> To put it another way, sampling cannot tell the difference
>between a square wave at Fs/2 and a cosine at Fs/2.

I agree with this. But how about a square wave at Fs/2000 for
example? If filtered to Fs/2 and sampled, what does it look like?

I think I believe that it will have 1000 samples at one value
and 1000 at the other, though I am willing to be convinced otherwise.

To do that I believe you need a perfect low pass filter, which you
never really have.

The other question is: do 1000 samples at one value an 1000 samples
at another come as close as possible to an Fs/2000 square wave,
low pass filtered at Fs/2?

-- glen

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 8 Feb, 2002 16:20:30

Message: 423 of 454

Randy Yates wrote:
>
> Jerry Avins wrote:
> > If you still expect it to be a delayed version of the original,
> > please tell me why.
>
> I never did expect this - you did.
> --
> Randy Yates
> DSP Engineer, Sony Ericsson Mobile Communications
> Research Triangle Park, NC, USA
> randy.yates@ericsson.com, 919-472-1124

Darn it! I miswrote again!. I ought to have written, "If you still
believe that pure delay plus constant phase shift and a pure delay alone
should produce identical waveforms, please tell me why." (Matlab tells
us that there is a pure delay.) I never expected that a phase-shifted
version of any signal must look like the original, although replacing
sine with cosine indeed leaves the appearance of a square wave intact.
(Indeed, it's not hard to find a counterexample.) You once cited the
difference in appearance as disproof of my assertion that my filter
produced delay plus quadrature. At that time, you seemed to believe that
your algorithmically derived sample set represented

  4 inf [ sin(nwt)]
 Â—— * SUM [ ——————— ] , and I wrongly claimed it was aliased*.
 pi n=1 [ n ]

Can you summarize the points on which we agree and on which we disagree?
In the end, what we once thought (or what we believed the other thought)
isn't very important.

Jerry
_____________________________________
* Your sample set is actually the band-limited representation of an
aliased square wave, a real distinction that I accept.
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 8 Feb, 2002 16:35:30

Message: 424 of 454

glen herrmannsfeldt wrote:
>
> amolitor-at@visi-dot-com.com writes:
> (snip)
> > Sampling cannot tell the difference between a "perfect"
> >squarewave, and one which is bandlimited or otherwise filtered
> >in such a way as the changes occur only between sampling points.
> >Obviously :)
>
> > To put it another way, sampling cannot tell the difference
> >between a square wave at Fs/2 and a cosine at Fs/2.
>
> I agree with this. But how about a square wave at Fs/2000 for
> example? If filtered to Fs/2 and sampled, what does it look like?
>
> I think I believe that it will have 1000 samples at one value
> and 1000 at the other, though I am willing to be convinced otherwise.

Try it with increasingly sharp filters and you will convince yourself
otherwise. The Gibbs phenomenon consists of ringing in the time domain
with increasing frequency but constant peak magnitude as the number of
harmonics you include increases. That is the same as using a rectangular
window on the time sequence. Other windows reduce the ringing below any
arbitrarily set level, spreading it throughout the flat top instead of
allowing to remain concentrated at the transition.

You can minimize or eliminate the ringing only by degrading the rise
time. Nothing puts the effect of a window into sharper focus (for me).
>
> To do that I believe you need a perfect low pass filter, which you
> never really have.
>
> The other question is: do 1000 samples at one value an 1000 samples
> at another come as close as possible to an Fs/2000 square wave,
> low pass filtered at Fs/2?

What is your criterion for "close"?
>
> -- glen

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 8 Feb, 2002 21:57:31

Message: 425 of 454

In article <a419c7$lss@gap.cco.caltech.edu>,
glen herrmannsfeldt <gah@ugcs.caltech.edu> wrote:
>amolitor-at@visi-dot-com.com writes:
>(snip)
>> Sampling cannot tell the difference between a "perfect"
>>squarewave, and one which is bandlimited or otherwise filtered
>>in such a way as the changes occur only between sampling points.
>>Obviously :)
>
>> To put it another way, sampling cannot tell the difference
>>between a square wave at Fs/2 and a cosine at Fs/2.
>
>I agree with this. But how about a square wave at Fs/2000 for
>example? If filtered to Fs/2 and sampled, what does it look like?
>
>I think I believe that it will have 1000 samples at one value
>and 1000 at the other, though I am willing to be convinced otherwise.
>
>To do that I believe you need a perfect low pass filter, which you
>never really have.
>
>The other question is: do 1000 samples at one value an 1000 samples
>at another come as close as possible to an Fs/2000 square wave,
>low pass filtered at Fs/2?

In general, if you have this, what you have is clearly the
result of sampling a square wave (though of course it could be the
result of sampling lots of other signals as well). This implies that
what you have contains aliased frequencies all the way up to infinity.

It is therefore not identical to what you'd get by sampling
a correctly low-passed square wave. It might differ by only a constant
factor, however, if the aliased components roll off in the right
way.

This is clearly true in the example I gave earlier, at any
rate -- if you low-pass a square wave of amplitude 1 to leave only
the fundamental, what you have left has amplitude 4/pi (I think).
Sampling the original square wave, and the cosine, results in the
same sequence except for a constant factor.

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 9 Feb, 2002 01:53:18

Message: 426 of 454

Jerry Avins <jya@ieee.org> writes:
>glen herrmannsfeldt wrote:
>> amolitor-at@visi-dot-com.com writes:
>> (snip)
>> > Sampling cannot tell the difference between a "perfect"
>> >squarewave, and one which is bandlimited or otherwise filtered
>> >in such a way as the changes occur only between sampling points.
>> >Obviously :)
>>
>> > To put it another way, sampling cannot tell the difference
>> >between a square wave at Fs/2 and a cosine at Fs/2.
>>
>> I agree with this. But how about a square wave at Fs/2000 for
>> example? If filtered to Fs/2 and sampled, what does it look like?
>>
>> I think I believe that it will have 1000 samples at one value
>> and 1000 at the other, though I am willing to be convinced otherwise.

>Try it with increasingly sharp filters and you will convince yourself
>otherwise. The Gibbs phenomenon consists of ringing in the time domain
>with increasing frequency but constant peak magnitude as the number of
>harmonics you include increases. That is the same as using a rectangular
>window on the time sequence. Other windows reduce the ringing below any
>arbitrarily set level, spreading it throughout the flat top instead of
>allowing to remain concentrated at the transition.

The sharper the filter, the more ringing it will have. It does
seem like an infinitely sharp low pass filter at Fs/2 will ring
at Fs/2 with a large magnitude.

>You can minimize or eliminate the ringing only by degrading the rise
>time. Nothing puts the effect of a window into sharper focus (for me).

You can't reduce the rise time and keep the sharp edges. A square
wave filtered at Fs/2, the best you can do, should have an edge
at pi*Fs, with a rise time something like 1/Fs.

(I am not sure about factors of 2 or pi here.)

>> To do that I believe you need a perfect low pass filter, which you
>> never really have.
>>
>> The other question is: do 1000 samples at one value an 1000 samples
>> at another come as close as possible to an Fs/2000 square wave,
>> low pass filtered at Fs/2?

>What is your criterion for "close"?

Hmmm. An Fs/2000 square wave has odd hermonics of Fs/2000.
999Fs/2000 is less than Fs/2, and 1001Fs/2000 is greater, so
for this case, the filter has between 999Fs/2000 and 1001Fs/2000
to fall off. It doesn't need to be infinitely sharp.

-- glen

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 8 Feb, 2002 21:16:40

Message: 427 of 454

glen herrmannsfeldt wrote:
>
  ...
>
> The sharper the filter, the more ringing it will have. It does
> seem like an infinitely sharp low pass filter at Fs/2 will ring
> at Fs/2 with a large magnitude.

It can't be infinitely sharp and discrete frequency.
>
> >You can minimize or eliminate the ringing only by degrading the rise
> >time. Nothing puts the effect of a window into sharper focus (for me).
>
> You can't reduce the rise time and keep the sharp edges. A square
> wave filtered at Fs/2, the best you can do, should have an edge
> at pi*Fs, with a rise time something like 1/Fs.

Of course not. you slope the edges and round the corners on order to
reduce the ringing. It's a trade-off.
>
> (I am not sure about factors of 2 or pi here.)
>
> >> To do that I believe you need a perfect low pass filter, which you
> >> never really have.
> >>
> >> The other question is: do 1000 samples at one value an 1000 samples
> >> at another come as close as possible to an Fs/2000 square wave,
> >> low pass filtered at Fs/2?
>
> >What is your criterion for "close"?
>
> Hmmm. An Fs/2000 square wave has odd hermonics of Fs/2000.
> 999Fs/2000 is less than Fs/2, and 1001Fs/2000 is greater, so
> for this case, the filter has between 999Fs/2000 and 1001Fs/2000
> to fall off. It doesn't need to be infinitely sharp.
>
I meant how much ringing or sloped edges with rounded corners can you
allow and still call it close. With that many harmonics, windowed to
eliminate all but a trace of ringing, it will look excellent. But if you
stick with unmodified Fourier coefficients, the ringing will stand out.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 9 Feb, 2002 07:23:57

Message: 428 of 454

Jerry Avins <jya@ieee.org> writes:
(snip regarding square wave generation)

>I meant how much ringing or sloped edges with rounded corners can you
>allow and still call it close. With that many harmonics, windowed to
>eliminate all but a trace of ringing, it will look excellent. But if you
>stick with unmodified Fourier coefficients, the ringing will stand out.

I was trying to define a band-limited square wave. We know it
has to be band limited to be sampled. It seems to me that a
real square wave, band limited as necessary, will have ringing.
That is, without the sampling and reconstruction process, just
a low pass filter.

It seems that a reconstructed from ideal samples (all equal magnitude)
square wave will also have ringing. Maybe or maybe not the same
ringing.

thanks,

-- glen

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 9 Feb, 2002 10:38:00

Message: 429 of 454

glen herrmannsfeldt wrote:
>
> Jerry Avins <jya@ieee.org> writes:
> (snip regarding square wave generation)
>
> >I meant how much ringing or sloped edges with rounded corners can you
> >allow and still call it close. With that many harmonics, windowed to
> >eliminate all but a trace of ringing, it will look excellent. But if you
> >stick with unmodified Fourier coefficients, the ringing will stand out.
>
> I was trying to define a band-limited square wave. We know it
> has to be band limited to be sampled. It seems to me that a
> real square wave, band limited as necessary, will have ringing.
> That is, without the sampling and reconstruction process, just
> a low pass filter.
>
> It seems that a reconstructed from ideal samples (all equal magnitude)
> square wave will also have ringing. Maybe or maybe not the same
> ringing.
>
> thanks,
>
> -- glen

It doesn't have to be that way. The right one-sided (symmetric if
accounting for negative frequencies) frequency-domain window, rather
than a sharp cut-off, can leave you with quite a squarish-looking
waveform. You wouldn't be able to see the difference it and a perfect
square wave with an many harmonics as the example has. Not on a
reasonably sized display, anyway. The Gibbs phenomenon applies to the
unmodified Fourier coefficients.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: jj@research.att.com (jj, DBT thug and skeptical philalethist)

Date: 9 Feb, 2002 20:13:01

Message: 430 of 454

In article <3C631526.144B8694@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
>screwed up because of the aliasing inherent in it. I accept your and
>jj's interpretation that there can be no aliasing if the signal is taken
>at face value in its digital incarnation. If it is taken so, it's not a
>square wave, is it?

Not by the usual continuous meaning, that's for sure!

There are other "interesting" issues involved. Consider if the period
is not an integer multiple of samples, what we get compared
to a standard continuous square wave, too. :)

--
Copyright jj@research.att.com 2002, all rights reserved, except transmission
by USENET and like facilities granted. This notice must be included. Any
use by a provider charging in any way for the IP represented in and by this
article and any inclusion in print or other media are specifically prohibited.

Subject: Physical meaning of Group-Delay ?

From: jj@research.att.com (jj, DBT thug and skeptical philalethist)

Date: 9 Feb, 2002 20:18:37

Message: 431 of 454

In article <3c638be3.5590307@news.earthlink.net>,
Rick Lyons <ricklyon@remove.onemain.com> wrote:

>My words "is the sum of" is what I think jj meant when
>he said "represented by", and my words "whose
>frequencies lie in the range of 0 -to- Fs/2 Hz" is
>what I think Randy meant when he said "bandlimited".

Not quite what I meant. All of the frequencies that
sum to the "square wave" are represented by frequencies
that we know are between minus pi and pi.

>So we can't exactly represent an ideal squarewave
>with a discrete sequence because a squarewave has an
>infinitely wide spectrum, and the DFT of any 50%-duty
>cycle time sequence must necessarily have some non-zero
>aliasing error component. (I'm sure you guys could have
>said this in far fewer words.)

Something interesting to try. See what happens and what you
get when you sample something where the square wave period
is NOT integer to the sampling rate. Look at the results,
and consider, just consider, for a minute, what this implies
about time resolution in sampling vs. the requirement for
an anti-aliasing filter.

Heh. I like this sort of question.

Ok, now, go to www.audioasylum.com, and to the 'FAQ' page,
and to my discussion on sampling, and download some of the
plots of a sine wave and the first 'n' aliases.

You DO realize that many of the aliases are themselves aliased,
yes? :)
--
Copyright jj@research.att.com 2002, all rights reserved, except transmission
by USENET and like facilities granted. This notice must be included. Any
use by a provider charging in any way for the IP represented in and by this
article and any inclusion in print or other media are specifically prohibited.

Subject: Physical meaning of Group-Delay ?

From: Ray Andraka

Date: 10 Feb, 2002 06:30:49

Message: 432 of 454

It seems to me that you have to assume the analog signal represented by a
sequence is bandlimited. If you don't make that assumption, and absent
any other constraints, you simply don't have the information to determine
what the signal was doing between the samples. If you reconstruct an
analog signal from a sequence with only two distict values without
filtering and using a zero order hold circuit, you'll get a squarewave,
but what is happening is the images of the signal between -fs/2 and fs/2
are fortuitously providing the odd harmonics (the sampled square wave is
forced to be a nice multiple of the sample interval). It is making an
implicit assumption about the behavior of the signal between samples that
is not contained in the sequence representing the signal.

My point is, in the digital representation you can't differentiate the
harmonics beyond +/-Fs/2 so without assuming bandlimiting you cannot
describe the signal without ambiguity. So I would posit that while it is
*not inherently* bandlimited, practicality insists that it is to avoid
ambiguity.

Rick Lyons wrote:

> On Wed, 06 Feb 2002 17:39:37 -0500, Jerry Avins <jya@ieee.org> wrote:
>
> Hi guys,
> this thread, for now, has focused on a
> fabulously important concept concerning discrete
> sequences, i.e., "what's the relationship between
> a continuous signal and a periodically-sampled,
> discrete-time, sequence of that continuous signal.
> (We have to choose our words very carefully now.)
> We all agree that the squarewave sequence has
> certain properties like a z-transform; a discrete
> time Fourier transform (DTFT); and a discrete Fourier
> transform (DFT), once the number of samples per
> squarewave cycle is defined. And we should all agree
> that those properties DO *NOT* depend on how the
> squarewave sequence came into existence, be it from
> an A/D converter or software-generated.
>
> I don't know if I've ever thought deeply about the
> spectrum of a squarewave sequence. Yea, yea, I know
> the spectrum of a continuous squarewave is the fundamental
> plus the odd harmonics, but what is the spectrum of
> a discrete squarewave sequence?
>
> Randy says (referring to the squarewave sequence),
>
> "THUS MY SIGNAL IS INHERENTLY BANDLIMITED TO
> -Fs/2 TO +Fs/2."
>
> But do we all completely agree on the meaning of the
> word "bandlimited"? I doubt it.
>
> JJ says the squarewave sequence,
>
> "is completely represented by signals
> in the -fs/2 to fs/2 band."
>
> Do we all agree on the meaning of the words
> "represented" and "signals". Not likely.
>
> Let's think of an ideal infinite-duration continuous
> squarewave. It's spectrum would be a symmetrical
> collection of infinitely-narrow impulses in the
> frequency domain. (The "tallest" impulse would be
> located at the fundamental frequency of the squarewave.)
> There would be an infinite number of those spectral
> impulses trailing off in both directions of the spectrum.
> We could now think about a truncated continuous
> squarewave. One that has an amplitude of zero (lasting a
> billion years, or so), then suddenly a couple dozen full
> squarewave cycles, followed by a long duration of zero
> amplitude again. The spectrum of that continuous truncated
> squarewave would be the same as the spectrum of the
> infinite-duration continuous squarewave with each spectral
> impulse now replaced with a lump of spectral energy.
> (I'll bet the shape of those 'lumps' would be sin(x)/x.)
>
> If we sample (using an A/D converter) that continuous
> truncated squarewave we'll have what I'll call a
> finite-duration '50%-duty cycle' sequence. So now, the
> question is, "What in the Hell is the spectrum of that
> '50%-duty cycle' sequence?" It seems to me that the
> DTFT (which has infinite frequency resolution, and
> cannot be performed on a computer) of that '50%-duty
> cycle' sequence is the sum of infinite replications
> of the continuous truncated squarewave's spectral
> lumps. Each replication, of the 'lumpy' spectrum,
> is centered at integer multiples of the sampling
> frequency Fs. And since each replication is infinite
> in width, - here's what I hadn't thought about
> before - profound spectral overlap must occur.
> Too bad we can't draw pictures of all of this.
> (Of course, if we choose Fs to be very large the
> replications are spaced far apart and the effect of
> the spectral overlap is reduced.)
>
> Now I've always thought of an N-point DFT as a 'sampled'
> version of the continuous DTFT taken within the range
> of -Fs/2 -to- +Fs/2. If that's true, then the N-point
> DFT of the real '50%-duty cycle' sequence is the sum of
> N complex exponentials. I think you could say: The
> '50%-duty cycle' time domain sequence is the sum of
> N/2 (or is it N/2 + 1) real sinusoids whose frequencies
> lie in the range of 0 -to- Fs/2 Hz.
>
> My words "is the sum of" is what I think jj meant when
> he said "represented by", and my words "whose
> frequencies lie in the range of 0 -to- Fs/2 Hz" is
> what I think Randy meant when he said "bandlimited".
>
> So we can't exactly represent an ideal squarewave
> with a discrete sequence because a squarewave has an
> infinitely wide spectrum, and the DFT of any 50%-duty
> cycle time sequence must necessarily have some non-zero
> aliasing error component. (I'm sure you guys could have
> said this in far fewer words.)
>
> If I'm wrong here, would someone straighten me out?
>
> [-Rick-]
>
>

--
--Ray Andraka, P.E.
President, the Andraka Consulting Group, Inc.
401/884-7930 Fax 401/884-7950
email ray@andraka.com
http://www.andraka.com

 "They that give up essential liberty to obtain a little
  temporary safety deserve neither liberty nor safety."
                                          -Benjamin Franklin, 1759

Subject: Physical meaning of Group-Delay ?

From: ricklyon@remove.onemain.com (Rick Lyons)

Date: 10 Feb, 2002 19:29:31

Message: 433 of 454

On Sat, 9 Feb 2002 20:13:01 GMT, jj@research.att.com (jj, DBT thug and
skeptical philalethist) wrote:

  (snipped)
>
>Not by the usual continuous meaning, that's for sure!
>
>There are other "interesting" issues involved. Consider if the period
>is not an integer multiple of samples, what we get compared
>to a standard continuous square wave, too. :)

That is a good suggestion. Looking at
other cases is how discoveries are made.

[-Rick-]

Subject: Physical meaning of Group-Delay ?

From: ricklyon@remove.onemain.com (Rick Lyons)

Date: 10 Feb, 2002 19:35:39

Message: 434 of 454

On Sat, 9 Feb 2002 20:18:37 GMT, jj@research.att.com (jj, DBT thug and
skeptical philalethist) wrote:

  (snipped)
>
>Something interesting to try. See what happens and what you
>get when you sample something where the square wave period
>is NOT integer to the sampling rate. Look at the results,
>and consider, just consider, for a minute, what this implies
>about time resolution in sampling vs. the requirement for
>an anti-aliasing filter.

Hi JJ,
  In fact I did that. The result is a rich assortment
of harmonics - no longer just the odd harmaonics for
the VERY special case of an integer multiple
of squarewave cycles in the time domain..

>Heh. I like this sort of question.

Me too.

>Ok, now, go to www.audioasylum.com, and to the 'FAQ' page,
>and to my discussion on sampling, and download some of the
>plots of a sine wave and the first 'n' aliases.

Will do.

[-Rick-]

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 10 Feb, 2002 23:13:22

Message: 435 of 454

The situation is complex and counterintuitive, but well defined anyhow.
What I see defined is a paradox! Randy made a "square wave" by setting a
certain number of samples low and an equal number high. (It makes
thinking easier to think about if the number isn't indefinite. Lets say
for now, 16 samples of each polarity.) I replied that this signal was
heavily aliased. Randy replied that, having been algorithmically
generated, it could not be; he was right about that, but his signal is
clearly not a square wave. We've been all through that. What has been
puzzling me since jj helped me to see straight is that, since this
signal can be construed as the properly bandlimited and sampled
representation of some waveform, is how the sampled version any
bandlimited signal can have such steep edges. It does no good to say
that the bandlimited analog signal can have any value between samples.
Our signal can't change that fast and still be bandlimited. When I get a
chance, I'll do an FFT of the waveform. If theory holds, there should be
a spectrum between -Fs and +Fs that repeats in both directions. It may
have a finite number of lines, but maybe not. It will be interesting.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------
Ray Andraka wrote:
>
> It seems to me that you have to assume the analog signal represented by a
> sequence is bandlimited. If you don't make that assumption, and absent
> any other constraints, you simply don't have the information to determine
> what the signal was doing between the samples. If you reconstruct an
> analog signal from a sequence with only two distict values without
> filtering and using a zero order hold circuit, you'll get a squarewave,
> but what is happening is the images of the signal between -fs/2 and fs/2
> are fortuitously providing the odd harmonics (the sampled square wave is
> forced to be a nice multiple of the sample interval). It is making an
> implicit assumption about the behavior of the signal between samples that
> is not contained in the sequence representing the signal.
>
> My point is, in the digital representation you can't differentiate the
> harmonics beyond +/-Fs/2 so without assuming bandlimiting you cannot
> describe the signal without ambiguity. So I would posit that while it is
> *not inherently* bandlimited, practicality insists that it is to avoid
> ambiguity.
>
> Rick Lyons wrote:
>
> > On Wed, 06 Feb 2002 17:39:37 -0500, Jerry Avins <jya@ieee.org> wrote:
> >
> > Hi guys,
> > this thread, for now, has focused on a
> > fabulously important concept concerning discrete
> > sequences, i.e., "what's the relationship between
> > a continuous signal and a periodically-sampled,
> > discrete-time, sequence of that continuous signal.
> > (We have to choose our words very carefully now.)
> > We all agree that the squarewave sequence has
> > certain properties like a z-transform; a discrete
> > time Fourier transform (DTFT); and a discrete Fourier
> > transform (DFT), once the number of samples per
> > squarewave cycle is defined. And we should all agree
> > that those properties DO *NOT* depend on how the
> > squarewave sequence came into existence, be it from
> > an A/D converter or software-generated.
> >
> > I don't know if I've ever thought deeply about the
> > spectrum of a squarewave sequence. Yea, yea, I know
> > the spectrum of a continuous squarewave is the fundamental
> > plus the odd harmonics, but what is the spectrum of
> > a discrete squarewave sequence?
> >
> > Randy says (referring to the squarewave sequence),
> >
> > "THUS MY SIGNAL IS INHERENTLY BANDLIMITED TO
> > -Fs/2 TO +Fs/2."
> >
> > But do we all completely agree on the meaning of the
> > word "bandlimited"? I doubt it.
> >
> > JJ says the squarewave sequence,
> >
> > "is completely represented by signals
> > in the -fs/2 to fs/2 band."
> >
> > Do we all agree on the meaning of the words
> > "represented" and "signals". Not likely.
> >
> > Let's think of an ideal infinite-duration continuous
> > squarewave. It's spectrum would be a symmetrical
> > collection of infinitely-narrow impulses in the
> > frequency domain. (The "tallest" impulse would be
> > located at the fundamental frequency of the squarewave.)
> > There would be an infinite number of those spectral
> > impulses trailing off in both directions of the spectrum.
> > We could now think about a truncated continuous
> > squarewave. One that has an amplitude of zero (lasting a
> > billion years, or so), then suddenly a couple dozen full
> > squarewave cycles, followed by a long duration of zero
> > amplitude again. The spectrum of that continuous truncated
> > squarewave would be the same as the spectrum of the
> > infinite-duration continuous squarewave with each spectral
> > impulse now replaced with a lump of spectral energy.
> > (I'll bet the shape of those 'lumps' would be sin(x)/x.)
> >
> > If we sample (using an A/D converter) that continuous
> > truncated squarewave we'll have what I'll call a
> > finite-duration '50%-duty cycle' sequence. So now, the
> > question is, "What in the Hell is the spectrum of that
> > '50%-duty cycle' sequence?" It seems to me that the
> > DTFT (which has infinite frequency resolution, and
> > cannot be performed on a computer) of that '50%-duty
> > cycle' sequence is the sum of infinite replications
> > of the continuous truncated squarewave's spectral
> > lumps. Each replication, of the 'lumpy' spectrum,
> > is centered at integer multiples of the sampling
> > frequency Fs. And since each replication is infinite
> > in width, - here's what I hadn't thought about
> > before - profound spectral overlap must occur.
> > Too bad we can't draw pictures of all of this.
> > (Of course, if we choose Fs to be very large the
> > replications are spaced far apart and the effect of
> > the spectral overlap is reduced.)
> >
> > Now I've always thought of an N-point DFT as a 'sampled'
> > version of the continuous DTFT taken within the range
> > of -Fs/2 -to- +Fs/2. If that's true, then the N-point
> > DFT of the real '50%-duty cycle' sequence is the sum of
> > N complex exponentials. I think you could say: The
> > '50%-duty cycle' time domain sequence is the sum of
> > N/2 (or is it N/2 + 1) real sinusoids whose frequencies
> > lie in the range of 0 -to- Fs/2 Hz.
> >
> > My words "is the sum of" is what I think jj meant when
> > he said "represented by", and my words "whose
> > frequencies lie in the range of 0 -to- Fs/2 Hz" is
> > what I think Randy meant when he said "bandlimited".
> >
> > So we can't exactly represent an ideal squarewave
> > with a discrete sequence because a squarewave has an
> > infinitely wide spectrum, and the DFT of any 50%-duty
> > cycle time sequence must necessarily have some non-zero
> > aliasing error component. (I'm sure you guys could have
> > said this in far fewer words.)
> >
> > If I'm wrong here, would someone straighten me out?
> >
> > [-Rick-]
> >
> >
>
> --
> --Ray Andraka, P.E.
> President, the Andraka Consulting Group, Inc.
> 401/884-7930 Fax 401/884-7950
> email ray@andraka.com
> http://www.andraka.com
>
> "They that give up essential liberty to obtain a little
> temporary safety deserve neither liberty nor safety."
> -Benjamin Franklin, 1759

Subject: Physical meaning of Group-Delay ?

From: Olli Niemitalo

Date: 11 Feb, 2002 09:56:29

Message: 436 of 454

On Sun, 10 Feb 2002, Jerry Avins wrote:

> The situation is complex and counterintuitive, but well defined anyhow.
> What I see defined is a paradox! Randy made a "square wave" by setting a
> certain number of samples low and an equal number high. (It makes
> thinking easier to think about if the number isn't indefinite. Lets say
> for now, 16 samples of each polarity.)

(I'm presuming you talk of a periodic waveform)

That's an aliased square wave, but because the waveform period is a
multiple of the sampling period, the above-fs/2 harmonics alias into
harmonic frequencies, hence not introducing new inharmonic frequencies.
Furthermore, because the period is an even number of samples, no even
harmonics (that are not naturally present in a square wave) are generated
in the aliasing process.

So at the end you have the odd-harmonic spectrum of square wave, but with
modified magnitudes of those harmonics.

-olli

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 11 Feb, 2002 09:19:10

Message: 437 of 454

Olli Niemitalo wrote:
>
> On Sun, 10 Feb 2002, Jerry Avins wrote:
>
> > The situation is complex and counterintuitive, but well defined anyhow.
> > What I see defined is a paradox! Randy made a "square wave" by setting a
> > certain number of samples low and an equal number high. (It makes
> > thinking easier to think about if the number isn't indefinite. Lets say
> > for now, 16 samples of each polarity.)
>
> (I'm presuming you talk of a periodic waveform)
>
> That's an aliased square wave, but because the waveform period is a
> multiple of the sampling period, the above-fs/2 harmonics alias into
> harmonic frequencies, hence not introducing new inharmonic frequencies.
> Furthermore, because the period is an even number of samples, no even
> harmonics (that are not naturally present in a square wave) are generated
> in the aliasing process.
>
> So at the end you have the odd-harmonic spectrum of square wave, but with
> modified magnitudes of those harmonics.
>
> -olli

In the end you have only those components that lie within the band -Fs/2
to +Fs/2*, but modified in amplitude. In the simple case of a complete
period containing 32 samples, harmonics up to the 15th remain in band.
The 17th shows up as an alias right on top of the 15th, the 19th over
the 13th, and and so on to the 31th. Then I lose track. (But they're 30+
dB down, so it probably doesn't matter.) The new amplitudes are the
harmonic coefficients the "best" square wave that can be represented by
a given product of "squarewave" period and sample rate.

This thread has spawned a new class of puzzles: Given an arbitrary set
of time-domain samples, what periodic continuous band-limited signal
could they have been sampled from -- it must be unique -- and what does
a set of samples taken half a sampling later look like? The puzzle is
cooked if not all sample sequences can provide an answer. A side puzzle:
What will the periodic continuous band-limited waveform look like if all
its components are shifted 90 degrees?

Jerry
_______________________
* I think I recently wrote -Fs to +Fs somewhere, but not being able find
the message, I can't correct it.
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Clay S. Turner

Date: 11 Feb, 2002 09:29:44

Message: 438 of 454



Jerry Avins wrote:

>
> This thread has spawned a new class of puzzles: Given an arbitrary set
> of time-domain samples, what periodic continuous band-limited signal
> could they have been sampled from -- it must be unique -- and what does
> a set of samples taken half a sampling later look like? The puzzle is
> cooked if not all sample sequences can provide an answer. A side puzzle:
> What will the periodic continuous band-limited waveform look like if all
> its components are shifted 90 degrees?
>

Jerry,
To see the waveform with more detail, just put the data into an array,
FFT it, zero pad the frequency domain data and then inverse FFT it.
This will let you see the inbetween values and consequently let you see
what continuous waveform could have been sampled to give an aparent
squarewave.

Clay

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 11 Feb, 2002 11:26:39

Message: 439 of 454

"Clay S. Turner" wrote:
>
> Jerry Avins wrote:
>
> >
> > This thread has spawned a new class of puzzles: Given an arbitrary set
> > of time-domain samples, what periodic continuous band-limited signal
> > could they have been sampled from -- it must be unique -- and what does
> > a set of samples taken half a sampling later look like? The puzzle is
> > cooked if not all sample sequences can provide an answer. A side puzzle:
> > What will the periodic continuous band-limited waveform look like if all
> > its components are shifted 90 degrees?
> >
>
> Jerry,
> To see the waveform with more detail, just put the data into an array,
> FFT it, zero pad the frequency domain data and then inverse FFT it.
> This will let you see the inbetween values and consequently let you see
> what continuous waveform could have been sampled to give an apparent
> squarewave.
>
> Clay

The zeros add detail? I thought that they just smoothed the curve
without adding new information. Where would new information come from?
If you tell me that it was there all along, I'll believe you. Where was
it hiding? Why do zeros chant, "Come out, come out, wherever you are!"?

Of course, my puzzle is to be solved without heavy math, writing down
the answer. The reason that harmonics above the 31st don't matter is not
that being 30 dB down or more makes them too small to matter on their
own, but that it makes them too small to significantly alter the amounts
already there.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Clay S. Turner

Date: 11 Feb, 2002 13:36:42

Message: 440 of 454



Jerry Avins wrote:
>

Hello Jerry,
No the zeros don't add new details - they are there all along. It is
just the sampling is not allowing you to see what's happening in between
the sampling points. The zeros with the FFT are a simple way to
interpolate the signal. A simple version of this problem is imagine
having a sinusoid sampled every 45 degrees. If you start at 0 degrees,
your samples will directly hold the peak values; but if the sampling
starts at 22.5 degrees and then goes every 45 degrees, you will not
directly see the peaks. Yet both of these samplings are valid and
represent the same amplitude and frequency signal. However, perform the
interpolation scheme I outlined earlier and you will get to see the
peaks. I think the sampled signal that looks like a square wave after
sampling is probably quite interesting before sampling and has a lot of
over and undershoot.

Clay




> The zeros add detail? I thought that they just smoothed the curve
> without adding new information. Where would new information come from?
> If you tell me that it was there all along, I'll believe you. Where was
> it hiding? Why do zeros chant, "Come out, come out, wherever you are!"?
>
> Of course, my puzzle is to be solved without heavy math, writing down
> the answer. The reason that harmonics above the 31st don't matter is not
> that being 30 dB down or more makes them too small to matter on their
> own, but that it makes them too small to significantly alter the amounts
> already there.
>
> Jerry
> --
> Engineering is the art of making what you want from things you can get.
> -----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 11 Feb, 2002 14:15:50

Message: 441 of 454

Thanks, Clay,

I'll have a look. Here's another mental jog: if the samples are two
high, two low, two high, ... it's easy to see them as having been taken
at 45, 135, 225, 315, ..., for an amplitude of sqrt(2) times the sample
rate. If one were to construe the samples as having been taken of a
square wave -- not possible, of course -- the amplitude of the
fundamental would be 4/pi. The 16 up. 16 down waveform may be bumpy, but
it won't be Gibbsy.

Jerry

"Clay S. Turner" wrote:
>
> Jerry Avins wrote:
> >
>
> Hello Jerry,
> No the zeros don't add new details - they are there all along. It is
> just the sampling is not allowing you to see what's happening in between
> the sampling points. The zeros with the FFT are a simple way to
> interpolate the signal. A simple version of this problem is imagine
> having a sinusoid sampled every 45 degrees. If you start at 0 degrees,
> your samples will directly hold the peak values; but if the sampling
> starts at 22.5 degrees and then goes every 45 degrees, you will not
> directly see the peaks. Yet both of these samplings are valid and
> represent the same amplitude and frequency signal. However, perform the
> interpolation scheme I outlined earlier and you will get to see the
> peaks. I think the sampled signal that looks like a square wave after
> sampling is probably quite interesting before sampling and has a lot of
> over and undershoot.
>
> Clay
>
> > The zeros add detail? I thought that they just smoothed the curve
> > without adding new information. Where would new information come from?
> > If you tell me that it was there all along, I'll believe you. Where was
> > it hiding? Why do zeros chant, "Come out, come out, wherever you are!"?
> >
> > Of course, my puzzle is to be solved without heavy math, writing down
> > the answer. The reason that harmonics above the 31st don't matter is not
> > that being 30 dB down or more makes them too small to matter on their
> > own, but that it makes them too small to significantly alter the amounts
> > already there.
> >
> > Jerry
> > --
> > Engineering is the art of making what you want from things you can get.
> > -----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: jj@research.att.com (jj, DBT thug and skeptical philalethist)

Date: 11 Feb, 2002 22:31:19

Message: 442 of 454

In article <3C6744E2.AFA30093@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
>Our signal can't change that fast and still be bandlimited. When I get a
>chance, I'll do an FFT of the waveform. If theory holds, there should be
>a spectrum between -Fs and +Fs that repeats in both directions. It may
>have a finite number of lines, but maybe not. It will be interesting.

Well, I understand your confusion. I'm thinking how to explain this
conceptually, and frankly, other than saying "I understand it"
it's not very easy.

Consider:

Since you ARE working in the sampled domain, all signals
must be representable and conjugate in the -pi to pi region, period.
This is 1:1 with the real signal.

Since it's 1:1, you can see that what you've done is a
linear-algebraic transform that took the signal of arbitrary
spectrum (generated in some way not considering spectrum)
and done the transform to get the spectrum, which is REQUIRED
by the 1:1 nature to be contained.

In other words "because it has to be". I know that's not very
satisfying conceptually.
--
Copyright jj@research.att.com 2002, all rights reserved, except transmission
by USENET and like facilities granted. This notice must be included. Any
use by a provider charging in any way for the IP represented in and by this
article and any inclusion in print or other media are specifically prohibited.

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 11 Feb, 2002 18:44:49

Message: 443 of 454

"jj, DBT thug and skeptical philalethist" wrote:
>
> In article <3C6744E2.AFA30093@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
> >Our signal can't change that fast and still be bandlimited. When I get a
> >chance, I'll do an FFT of the waveform. If theory holds, there should be
> >a spectrum between -Fs and +Fs that repeats in both directions. It may
> >have a finite number of lines, but maybe not. It will be interesting.
>
> Well, I understand your confusion. I'm thinking how to explain this
> conceptually, and frankly, other than saying "I understand it"
> it's not very easy.
>
> Consider:
>
> Since you ARE working in the sampled domain, all signals
> must be representable and conjugate in the -pi to pi region, period.
> This is 1:1 with the real signal.
>
> Since it's 1:1, you can see that what you've done is a
> linear-algebraic transform that took the signal of arbitrary
> spectrum (generated in some way not considering spectrum)
> and done the transform to get the spectrum, which is REQUIRED
> by the 1:1 nature to be contained.
>
> In other words "because it has to be". I know that's not very
> satisfying conceptually.
> --
> Copyright jj@research.att.com 2002, all rights reserved, except transmission
> by USENET and like facilities granted. This notice must be included. Any
> use by a provider charging in any way for the IP represented in and by this
> article and any inclusion in print or other media are specifically prohibited.

1. That's Fs/2, not Fs.
2. I know it has to be too. Trying to understand it in the abstract
won't work for me. Working out the details will. Thanks.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 11 Feb, 2002 19:03:48

Message: 444 of 454

Jerry Avins wrote:
>
> "jj, DBT thug and skeptical philalethist" wrote:
> >
> > In article <3C6744E2.AFA30093@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
> > >Our signal can't change that fast and still be bandlimited. When I get a
> > >chance, I'll do an FFT of the waveform. If theory holds, there should be
> > >a spectrum between -Fs and +Fs that repeats in both directions. It may
> > >have a finite number of lines, but maybe not. It will be interesting.
> >
> > Well, I understand your confusion. I'm thinking how to explain this
> > conceptually, and frankly, other than saying "I understand it"
> > it's not very easy.
> >
> > Consider:
> >
> > Since you ARE working in the sampled domain, all signals
> > must be representable and conjugate in the -pi to pi region, period.
> > This is 1:1 with the real signal.
> >
> > Since it's 1:1, you can see that what you've done is a
> > linear-algebraic transform that took the signal of arbitrary
> > spectrum (generated in some way not considering spectrum)
> > and done the transform to get the spectrum, which is REQUIRED
> > by the 1:1 nature to be contained.
> >
> > In other words "because it has to be". I know that's not very
> > satisfying conceptually.
> > --
> > Copyright jj@research.att.com 2002, all rights reserved, except transmission
> > by USENET and like facilities granted. This notice must be included. Any
> > use by a provider charging in any way for the IP represented in and by this
> > article and any inclusion in print or other media are specifically prohibited.
>
> 1. That's Fs/2, not Fs.
> 2. I know it has to be too. Trying to understand it in the abstract
> won't work for me. Working out the details will. Thanks.

It occurred to me that we can use Matlab to see what this "squarewave"
would look like if we converted it to analog using a "perfect"
D/A converter by simply interpolating the waveform a sufficient
amount (I used x128). It looks a lot like a square wave, but not
exactly. It has little ringing thingies at each edge.

Olli's explanation sounded real good, and maybe such a perfect
analog square wave he proposes would convert to the digital
waveform we now know and love, but it is also the case that
this bandlimited waveform with the ringing thingies will also
give us the desired digital waveform when sampled.

By the way, I sent this plot to Jerry. I didn't post it
here (although it's only a 44k postscript) because people
generally get bent out of shape when a binary is poasted.
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: ricklyon@remove.onemain.com (Rick Lyons)

Date: 12 Feb, 2002 11:38:21

Message: 445 of 454

On Mon, 11 Feb 2002 19:03:48 -0500, Randy Yates <yates@ieee.org>
wrote:

  (snipped)

>It occurred to me that we can use Matlab to see what this "squarewave"
>would look like if we converted it to analog using a "perfect"
>D/A converter by simply interpolating the waveform a sufficient
>amount (I used x128). It looks a lot like a square wave, but not
>exactly. It has little ringing thingies at each edge.

Hi Guys,
  Yep, that freq-domain zero padding scheme
exhibits (what I thought was) the Gibbs
phenomenon. There's a simplifed description
of this notion at:

  http://dspguru.com/howto/tech/zeropad.htm

[-Rick-]

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 12 Feb, 2002 09:39:53

Message: 446 of 454

Randy named the file jerry.ps. I made an Acrobat file from it.
They are at http://users.erols.com/jyavins/jerry.pdf and
http://users.erols.com/jyavins/jerry.ps

Thanks, Randy. They look more like filtered square waves than I had
imagined, but the ringing seems a little smaller that the truncation
effect that Gibbs showed us.

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------
Randy Yates wrote:
>
> Jerry Avins wrote:
> >
> > "jj, DBT thug and skeptical philalethist" wrote:
> > >
> > > In article <3C6744E2.AFA30093@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
> > > >Our signal can't change that fast and still be bandlimited. When I get a
> > > >chance, I'll do an FFT of the waveform. If theory holds, there should be
> > > >a spectrum between -Fs and +Fs that repeats in both directions. It may
> > > >have a finite number of lines, but maybe not. It will be interesting.
> > >
> > > Well, I understand your confusion. I'm thinking how to explain this
> > > conceptually, and frankly, other than saying "I understand it"
> > > it's not very easy.
> > >
> > > Consider:
> > >
> > > Since you ARE working in the sampled domain, all signals
> > > must be representable and conjugate in the -pi to pi region, period.
> > > This is 1:1 with the real signal.
> > >
> > > Since it's 1:1, you can see that what you've done is a
> > > linear-algebraic transform that took the signal of arbitrary
> > > spectrum (generated in some way not considering spectrum)
> > > and done the transform to get the spectrum, which is REQUIRED
> > > by the 1:1 nature to be contained.
> > >
> > > In other words "because it has to be". I know that's not very
> > > satisfying conceptually.
> > > --
> > > Copyright jj@research.att.com 2002, all rights reserved, except transmission
> > > by USENET and like facilities granted. This notice must be included. Any
> > > use by a provider charging in any way for the IP represented in and by this
> > > article and any inclusion in print or other media are specifically prohibited.
> >
> > 1. That's Fs/2, not Fs.
> > 2. I know it has to be too. Trying to understand it in the abstract
> > won't work for me. Working out the details will. Thanks.
>
> It occurred to me that we can use Matlab to see what this "squarewave"
> would look like if we converted it to analog using a "perfect"
> D/A converter by simply interpolating the waveform a sufficient
> amount (I used x128). It looks a lot like a square wave, but not
> exactly. It has little ringing thingies at each edge.
>
> Olli's explanation sounded real good, and maybe such a perfect
> analog square wave he proposes would convert to the digital
> waveform we now know and love, but it is also the case that
> this bandlimited waveform with the ringing thingies will also
> give us the desired digital waveform when sampled.
>
> By the way, I sent this plot to Jerry. I didn't post it
> here (although it's only a 44k postscript) because people
> generally get bent out of shape when a binary is poasted.
> --
> % Randy Yates % "...the answer lies within your soul
> %% Fuquay-Varina, NC % 'cause no one knows which side
> %%% 919-577-9882 % the coin will fall."
> %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
> http://personal.rdu.bellsouth.net/~yatesc

Subject: Physical meaning of Group-Delay ?

From: Daniel =?iso-8859-1?Q?P=E9rez?= Marcos

Date: 12 Feb, 2002 17:09:30

Message: 447 of 454

Dear all,

I came very late to this discussion but I'm very interested on it. Can
anyone send a message with the main conclusions about this theme? It would
be very helpful for me.

Thanks in advance
Dani

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 12 Feb, 2002 20:11:24

Message: 448 of 454

In article <3C692939.739ED0FF@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
>Randy named the file jerry.ps. I made an Acrobat file from it.
>They are at http://users.erols.com/jyavins/jerry.pdf and
>http://users.erols.com/jyavins/jerry.ps
>
>Thanks, Randy. They look more like filtered square waves than I had
>imagined, but the ringing seems a little smaller that the truncation
>effect that Gibbs showed us.

Given that a 1, 1, 1, ... -1, -1, -1, -1.. sequence clearly
CAN be obtained by sampling a non-bandlimited square wave of the
right frequency, we can freely assume that it IS.

If we assume our sequence is infinitely long in both directions,
we find that the (continuous in omega) Fourier transform consists of a
bunch of impulses, at the odd harmonics and their aliases, which all pile
up at a handful of easily computable spots. These impulses may reasonably
be viewed as having amplitudes, which can be got at in a couple of ways.
The rather cumbersome way I can think up for extracting each is to bandpass
each impulse out (i.e. convolve your original 1/-1 sequence with a suitable
continuous function derived from sinc()) and then convolve the frequency
domain result with the constant F(omega)=1.0 (i.e. multiply in the time
domain by delta(t), which is easy).

These amplitudes yield up coefficients for sines and cosines.

The output of a perfect D/A with reconstruction filter will
be the relevant (finite) linear combination of these sines and
cosines, since it is a band-limited signal with the right values
at the sample points.

What on earth the coefficients are continues to elude me,
though I know how to compute them as a doubly infinite series, which
is rather non-helpful.

In particular, the "flat parts" in Randy's (very helpful)
picture are an artifact of the experiment, which is probably obvious.

I would not bet any money on the correctness of this analysis,
but I am confident that big parts of it are correct.

Subject: Physical meaning of Group-Delay ?

From: Randy Yates

Date: 12 Feb, 2002 15:47:00

Message: 449 of 454

amolitor-at@visi-dot-com.com wrote:
>
> In article <3C692939.739ED0FF@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
> >Randy named the file jerry.ps. I made an Acrobat file from it.
> >They are at http://users.erols.com/jyavins/jerry.pdf and
> >http://users.erols.com/jyavins/jerry.ps
> >
> >Thanks, Randy. They look more like filtered square waves than I had
> >imagined, but the ringing seems a little smaller that the truncation
> >effect that Gibbs showed us.
>
> Given that a 1, 1, 1, ... -1, -1, -1, -1.. sequence clearly
> CAN be obtained by sampling a non-bandlimited square wave of the
> right frequency,

Which is certainly open for debate;

> we can freely assume that it IS.

I totally disagree. As I stated in another post, it may be the case that the
same sequence can be obtained from either a bandlimited analog signal or a
non-bandlimited analog signal. Assuming which analog waveform a digital
sequence came from is, well, an assumption, i.e., it may not be fact.
--
Randy Yates
DSP Engineer, Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@ericsson.com, 919-472-1124

Subject: Physical meaning of Group-Delay ?

From: amolitor-at@visi-dot-com.com

Date: 12 Feb, 2002 21:12:55

Message: 450 of 454

In article <3C697F44.D9B624E5@rtp.ericsson.com>,
Randy Yates <euschya@rtp.ericsson.com> wrote:
>amolitor-at@visi-dot-com.com wrote:
>>
>> In article <3C692939.739ED0FF@ieee.org>, Jerry Avins <jya@ieee.org> wrote:
>> >Randy named the file jerry.ps. I made an Acrobat file from it.
>> >They are at http://users.erols.com/jyavins/jerry.pdf and
>> >http://users.erols.com/jyavins/jerry.ps
>> >
>> >Thanks, Randy. They look more like filtered square waves than I had
>> >imagined, but the ringing seems a little smaller that the truncation
>> >effect that Gibbs showed us.
>>
>> Given that a 1, 1, 1, ... -1, -1, -1, -1.. sequence clearly
>> CAN be obtained by sampling a non-bandlimited square wave of the
>> right frequency,
>
>Which is certainly open for debate;

Err, it is? You lost me. Perhaps you mean in some practical
sense? Obviously there's no such thing as a non-bandlimited perfect
analog square wave. In the theoretical sense, however, one can certainly
discuss a piecewise continuous function f(t) which is 1 sometimes and -1
sometimes. Sampling such a thing will surely yield up the desired sequence,
assuming you align the transitions between the sampling points.

What else could sampling such a thing in a non-bandlimited
fashion possibly yield?

>> we can freely assume that it IS.
>
>I totally disagree. As I stated in another post, it may be the case that the
>same sequence can be obtained from either a bandlimited analog signal or a
>non-bandlimited analog signal. Assuming which analog waveform a digital
>sequence came from is, well, an assumption, i.e., it may not be fact.

Of course you can get the same sequence from various inputs.

My point is that you CAN obtain this sequence from the
non-bandlimited perfect analog square-wave. Whether or not you did
doesn't matter to me, since I obtained MY identical copy of your
sequence from a perfect non-bandlimited square wave. I choose to
analyze my sequence on those terms. It's actually quite illuminating
to do so, at least for me.

Things I discover about my sequence are likely to be true
about yours as well, since yours (regardless of source) happens to
be identical to mine.


Andrew

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 16 Feb, 2002 08:07:47

Message: 451 of 454

Jerry Avins <jya@ieee.org> writes:

>glen herrmannsfeldt wrote:
 
>> Derivatives only make sense for functions continuous in a small domain
>> around the point. Group delay is only useful if the signal has
>> components over a (usually small) range. If you modulate a sine wave
>> even a tiny bit you create new frequencies.

>It is the transfer function that needs continuity, not the signal.
>Although it is the signal that is delayed, the delay is imposed by and
>is a property of the medium or network.

I am still more used to describing it in the continuous case than
the discrete case. But yes, it is the transfer function that needs
to be continuous.
 
>> Take two sine waves extremely close in frequency and add them together.
>> You will have a beat frequency where the envelope slowly rises in
>> amplitude and then slowly goes down again. This is due to the difference
>> in relative phase of the two sines. If, going through the filter one
>> is delayed relative to the other, the position of the envelope peaks
>> changes. The group velocity is the velocity of the envelope, the
>> phase velocity is the velocity of the peaks of the frequency components.

>It is intuitively appealing to believe that, but it is wrong. Consider
>these assertions:

>1. Given any two of frequency, phase shift, and delay, the third
>quantity can be calculated.

Module 2PI in the phase shift, but otherwise, yes.

>2. The delay of symmetric and antisymmetric non-recursive FIR filters is
>the same for all frequencies.

The description is for continuous media. I don't think this statement
applies at all.

(snip)
>Consider periodic ocean waves approaching a straight shoreline at an
>angle. At any point on the shore, a crest occurs with the period of the
>crests in the free ocean. There will be other locations along the shore
>where crests occur simultaneously; the separation between these points
>is the longshore wavelength. To compute the wave velocity, we divide the
>wavelength by the period. What does this velocity mean? It is not the
>speed of the ocean wave; that is our analog of group velocity. It is
>merely the speed at which a crest, not the wave itself, moves along the
>shore. It is our analog of phase velocity. In a waveguide, the analogy
>is exact.

The analogy would work better against a wall where the waves are
reflected. Otherwise I won't argue it.
>>
>> Take a coaxial cable and put a zero crossing detector at two places
>> along the cable. Put a sine wave or two through the cable. The
>> difference in the zero crossing is the phase delay, and the distance
>> between the two points divided by the delay is the phase velocity.
>> (In the limit as the points get closer together.)

>We agree about how to measure phase velocity. We disagree about what it
>signifies.
>>
>> Put envelope detectors at the two points and measure the difference
>> in time of the envelope zero crossing. That is the group delay.
>>
>> Now put a filter between the two points and make the same measurements.
>>
>> Take two modes of a red laser, which have slightly different frequency.
>> Shine the beam through a piece of glass that has different index of
>> refraction at the two frequencies. The two modes will travel at slightly
>> different velocities through the glass. In vacuum the relative phase
>> is exactly the difference between the two frequencies.

>The relative phase changes as the beams travel in vacuum even though the
>velocities are the same. If it did not, the coherence length would be
>infinite.

Yes. The vacuum phase change per unit time is w1-w2.

>> In the glass,
>> there is a new effect due to the two beams travelling at different
>> velocities. This changes the relative phase between them differently
>> than just the difference frequency would suggest. This difference
>> causes the envelope to travel at a different velocity than the
>> peaks.
>>
>> You can't measure group velocity at a single frequency. Only in the
>> limit as two frequencies get closer and closer together. Once you
>> do the limit you can call it the group velocity at that frequency.

>Group velocity is a property of the medium that can be calculated at any
>single frequency in a region where phase velocity is continuous. You
>know the formulas as well as I. Perhaps better.

Yes. In vacuum the phase change rate is w1-w2. In dispersive media
it is not. That doesn't sound right. As they are moving at different
velocities the relative phase change with position is different.

Call w=2*pi*frequency k=2*pi/wavelength.

The amplitude of the wave as a function of position and time is
sin(kx-wt). As t increases the zero crossing moves in the positive
x direction with velocity w/k. Add two waves, with w1, k1, w2, k2.
sin(k1*x-w1*t)+sin(k2*x-w2*t) The phase velocities of the two are
w1/k1 and w2/k2.

Using sin(a)+sin(b)=2sin((a+b)/2)cos((a-b)/2) (copied from a book)

we have sin((k1*x+k2*x-w1*t-w2*t)/2)cos((k1*x-k2*x-w1*t+w2*t)/2)

or sin((k1+k2)*x/2-(w1+w2)t/2) cos((k1-k2)*x/2-(w1-w2)*t/2)

For w1 and w2 very close, the sin() represents the oscillations
and the cos() the envelope. The zero crossings of the sin(),
which has a frequency the average of the two frequencies, and k
the average of the two k's, represents the phase velocity of
(w1+w2)/(k1+k2). In the limit w1 and w2 --> w, it is w/k.

The envelope, represented by the cos(), has an angular frequency
of (w1-w2), and velocity (w1-w2)/(k1-k2). If w is a continuous
function of k, in the limit w1 --> w2 this is dw/dk, is the velocity
of the envelope, and group velocity.

I didn't show that an envelope made up by summing more than two
sin() also moves at this velocity. Though you can see that if
dw/dk is constant over the frequency range that the envelope of
any two sines will move at this velocity, and so it makes sense
that the combination of them does.

(snip of anomolous dispersion case, which has been described in
other posts, and otherwise confuses things here.)

-- glen

Subject: Physical meaning of Group-Delay ?

From: Jerry Avins

Date: 16 Feb, 2002 10:32:23

Message: 452 of 454

Glenn,

Citing equations won't help us reach a common understanding. We agree
about what they are, but we extract different meanings from them. If you
take the position that pure sine waves have existed for all time at both
input and output and move at the phase velocity, it's too academic to
matter to me. If they've always been and aren't stopping, their speed
isn't interesting. If we agree that waves I can start and stop can also
be pure, at least for some short time away from the edge, then it's easy
to see why such waves must travel at the group velocity: if not, then
for any transient decay time, and any difference between phase and group
velocities, I can postulate a line long enough to separate a pair of
"pure" waves from the beat they produce, so that the waves and their
beat exist on different stretches along the line. I'm more accustomed to
apply "reductio ad absurdam" to mathematical proofs, but it serves here
too.

glen herrmannsfeldt wrote:
>
> Jerry Avins <jya@ieee.org> writes:
>
> >glen herrmannsfeldt wrote:
>
  ...
>
> >1. Given any two of frequency, phase shift, and delay, the third
> >quantity can be calculated.
>
> Module 2PI in the phase shift, but otherwise, yes.

Read "unwrapped phase shift".
>
> >2. The delay of symmetric and antisymmetric non-recursive FIR filters is
> >the same for all frequencies.
>
> The description is for continuous media. I don't think this statement
> applies at all.

FIRs are analog or digital tapped delay lines. I don't understand your
comment.
>
  ...
>
> -- glen

Jerry
--
Engineering is the art of making what you want from things you can get.
-----------------------------------------------------------------------

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 16 Feb, 2002 19:20:45

Message: 453 of 454

Jerry Avins <jya@ieee.org> writes:

>Glenn,

>Citing equations won't help us reach a common understanding. We agree
>about what they are, but we extract different meanings from them.

Well, it is just a trig. identity, but I looked it up to be sure that
I would get it right.

>If you take the position that pure sine waves have existed for all
>time at both input and output and move at the phase velocity,
>it's too academic to matter to me. If they've always been and
>aren't stopping, their speed isn't interesting.

Well, that is just what Fourier says, but you know that, too.

>If we agree that waves I can start and stop can also
>be pure, at least for some short time away from the edge, then it's easy
>to see why such waves must travel at the group velocity: if not, then
>for any transient decay time, and any difference between phase and group
>velocities, I can postulate a line long enough to separate a pair of
>"pure" waves from the beat they produce, so that the waves and their
>beat exist on different stretches along the line. I'm more accustomed to
>apply "reductio ad absurdam" to mathematical proofs, but it serves here
>too.

How about a gaussian modulated sine, as the width of the gaussian
goes to infinity. The result will be pretty much the same as the
sine modulation as the period goes to infinity.

>> >2. The delay of symmetric and antisymmetric non-recursive FIR filters is
>> >the same for all frequencies.
>>
>> The description is for continuous media. I don't think this statement
>> applies at all.

>FIRs are analog or digital tapped delay lines. I don't understand your
>comment.

A laser beam travelling through glass, for example. Say an
amplitude modulated laser into a fiber optic cable. (This came up
in the ethernet newsgroup today, for a completely unrelated reason.)
At optical wavelengths glass is a continuous medium, the wavelength
being much larger than the size of the atoms. It doesn't look much
like a tapped delay line to me. Still, it is the interaction between
the electric field and the electrons in glass atoms that causes the
delay. Just like little LC circuits the electrons move in resonse to
the applied field. Like transmission lines can be considered as a
series of LC circuits, as the L and C get smaller and closer together.
I suppose that matches your analog tapped delay line, in the limit as
the taps get closer and closer together.

-- glen

Subject: Physical meaning of Group-Delay ?

From: gah@ugcs.caltech.edu (glen herrmannsfeldt)

Date: 17 Feb, 2002 19:33:22

Message: 454 of 454

jj@research.att.com (jj, DBT thug and skeptical philalethist) writes:

(Snip, regarding, I hope, the problem of generating a square wave
in the sampled domain.)

>Consider:

> Since you ARE working in the sampled domain, all signals
>must be representable and conjugate in the -pi to pi region, period.
>This is 1:1 with the real signal.

>Since it's 1:1, you can see that what you've done is a
>linear-algebraic transform that took the signal of arbitrary
>spectrum (generated in some way not considering spectrum)
>and done the transform to get the spectrum, which is REQUIRED
>by the 1:1 nature to be contained.

Yes, I think the 1:1 relationship is important here.

(Assuming that this is in response to the question about generating
a square wave in the digital (sampled) domain.)

There can only be one properly band limited function that when
sampled at the secified points gives those values. Note, though,
that if you sample it at different points you will get a different
set of samples that represent the same function.

If we restrict this to waves with a period an even multiple of the
sampling frequency and with the transition edge half way between
sampling points it should then be a unique transform.

I still don't know, though, that all points equal in absolute
value is the sample version of a band limited square wave.
(I believe that a band limited square wave has ringing, and it
might be that some prefer a version with less ringing.)

-- glen

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com