AW: [sdiy] Dual Frequency Shifter using a log amp

Don Tillman don at till.com
Wed Jul 19 21:11:24 CEST 2006


   > Date: 19 Jul 2006 17:17:45 +0200
   > From: jhaible at debitel.net
   > 
   > BTW, a phase shifter (APF) has unity gain for any sine shaped input
   > signal. But it can have severe overshot for other signals which
   > conatin a mix of tones. I remember I asked on the list some while
   > ago whether there's an upper limit for the amplitude at the output
   > of a phase shifter, with an arbitrary input signal of, say, 1V peak
   > input signal. The answer I got is that there is no limit (!) for
   > the output signal without making further constraints. (I haven't
   > investigated further - I just quote this from memory.)

Hey JH,

That was me... 

This is from my mail archives:


--------------------------------------------------------------------------------
Date: 19 Sep 2003 08:04:09 -0700
From: Don Tillman <don at till.com>

   > Date: Fri, 19 Sep 2003 12:29:50 +0200
   > From: jhaible at debitel.net
   > 
   > >    > Next question: If you run a +/-5V audio signal thru a chain of N
   > >    > unity-gain all pass filters, what will be your worst case maximum
   > >    > level at the end of the chain ?
   > > 
   > > A Hilbert transform is probably the worst case scenario.
   > > 
   > > The Hilbert tranform is a 90-degree phase shift that's constant over
   > > frequency.  If you apply a square wave to a Hilbert tranform, the
   > > result is a waveform with huge spikes.
   > > 
   > > So if the all pass filter aproximates a constant 90 degree phase
   > > shift, the output peaks could be maybe ten times the input square wave
   > > voltage.
   > 
   > Thanks for adressing this, Don!
   > 10 times is more than I expected. How did you calculate this?

I guessed!  :-)  Hey, it was late at night.

You weren't specific about the all pass filter, so I considered the
case where the all pass filter shifts phase by a constant 90 degrees.
As such this isn't realizable, but perhaps you'd want to come
arbitrariliy close to that.

Apply a 1 volt zero-to-peak square wave.  The harmonic content is:

  square = 1.414 (sinx - (1/3)sin3x + (1/5)sin5x - (1/7)sin7x ...)

Shifting the phase 90 deegrees:

  shifted square = 1.414 (cosx - (1/3)cos3x + (1/5)cos5x - (1/7)cos7x ...)

For cosines the sign of the coefficient doesn't matter, and so the
peaks of this waveform add up to:

  peaks = 1.414 (1 + 1/3 + 1/5 + 1/7...) 

For 100 harmonics that's 4.15 V.
For 1000 harmonics it's 5.78 V.
For 10000 harmonics it's 7.5 V.

If the realization of the Hibert transform was sloppy, one way or
another, you could have larger peaks.

Sure, it's a silly case.  What I really meant to say is that it
completely depends on the all pass filter, and it's possible to come
up with some crazy all pass filters.

  -- Don

-- 
Don Tillman
Palo Alto, California
don at till.com
http://www.till.com




More information about the Synth-diy mailing list