Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 6th November 2005, 05:07 PM   (permalink)
Default Linear Phase Response ?

What is meant by phase response of a signal ?

Why do we need a linear phase response o/P from a filter ?
Attached Images
File Type: png dsp-phase_response.psd.png (24.1 KB, 491 views)
Electrix is offline  
Old 7th November 2005, 01:12 AM   (permalink)
Default

A pulse can be represented as a series of harmonicly related sine waves. If the harmonics are phase shifted relative to one another, the shape of the pulse is changed. The best result is obtained when the phase shift is linear.

BTW, is that a real filter or theoritical? Such sharp cutoff in a linear phase filter is impressive.
__________________
see my website: www.geocities.com/russlk
Russlk is offline  
Old 7th November 2005, 03:39 AM   (permalink)
Default

Quote:
Originally Posted by Russlk
A pulse can be represented as a series of harmonicly related sine waves. If the harmonics are phase shifted relative to one another, the shape of the pulse is changed. The best result is obtained when the phase shift is linear.
Expanding on that - any periodic wave consists of a series of harmonically related sinusoids. If the entire wave is delayed by t seconds, then the phase shift is of the fundamental is

Φ=(t/T1)*360 degrees, where T1 = 1/F1 = period of fundamental,
or
Φ1=t*F1*360 (fundamental).
Since the frequency of the 2nd harmonic =2*F1,
Φ2=t*2*F1*360 (2nd harmonic),
Φ3=t*3*F1*360 (3rd harmonic)
etc.
Note that the phase shift is a linear function of frequency.

Quote:
BTW, is that a real filter or theoritical? Such sharp cutoff in a linear phase filter is impressive.
I'm guessing it's a finite impulse response (FIR) digital filter. Realizing that response in an infinite impulse response filter (such as an RLC filter) is basically impossible.
__________________
Ron

Roff is offline  
Old 7th November 2005, 03:55 AM   (permalink)
Default

Linear phase is a RESULT of making a non-causal digital filter causal. Digital filters are inherently non-causal, however they can easily be shifted by N samples to become causal, hence linear phase shift, you're adding delay to make the filter causal.
_3iMaJ is offline  
Old 7th November 2005, 03:59 AM   (permalink)
Default

Quote:
A pulse can be represented as a series of harmonicly related sine waves. If the harmonics are phase shifted relative to one another, the shape of the pulse is changed. The best result is obtained when the phase shift is linear.
Quote:
Expanding on that - any periodic wave consists of a series of harmonically related sinusoids. If the entire wave is delayed by t seconds, then the phase shift is of the fundamental is

Φ=(t/T1)*360 degrees, where T1 = 1/F1 = period of fundamental,
or
Φ1=t*F1*360 (fundamental).
Since the frequency of the 2nd harmonic =2*F1,
Φ2=t*2*F1*360 (2nd harmonic),
Φ3=t*3*F1*360 (3rd harmonic)
etc.
Note that the phase shift is a linear function of frequency.
So does this mean that the digital filter needs to preserve all the harmonics of the wave, so that the phase shift obtained is linear (because all harmonics are present) ?
Electrix is offline  
Old 7th November 2005, 04:31 AM   (permalink)
Default

Not necessarily. The purpose of some filters is to eliminate higher harmonics. In the time domain, it is usually desirable to preserve the general shape of the input wave, so the harmonics that remain after filtering need to have equal delay (linear phase shift). This means that the filter needs to have linear phase shift for all significant harmonics. What is significant depends on the application.
__________________
Ron

Roff is offline  
Old 8th November 2005, 12:25 AM   (permalink)
Default

Thinking about this in the time domain and not discrete domain does not help your endeavor.

If you review your DSP you'll find that one of the primary advantages of a FIR filter (which is what you have shown) is they have linear phase shift. The reason for the linear phase shift is the idea of causality. Initially when the FIR filter is designed it depends on FUTURE values of time (non - causal), to solve this problem we simply shift the filter by N samples to force the filter to depend on past samples (causal). Intuitively this make sense as we cannot know future samples, but we can store past samples to use them later. This is the reason for the linear phase shift that is introduced into the system.
_3iMaJ is offline  
Old 8th November 2005, 02:20 PM   (permalink)
Default

Quote:
Originally Posted by _3iMaJ
Thinking about this in the time domain and not discrete domain does not help your endeavor.

If you review your DSP you'll find that one of the primary advantages of a FIR filter (which is what you have shown) is they have linear phase shift. The reason for the linear phase shift is the idea of causality. Initially when the FIR filter is designed it depends on FUTURE values of time (non - causal), to solve this problem we simply shift the filter by N samples to force the filter to depend on past samples (causal). Intuitively this make sense as we cannot know future samples, but we can store past samples to use them later. This is the reason for the linear phase shift that is introduced into the system.
yes, but we also do not store past output values in an FIR Filter, we do that in an IIR Filter. Another condition is that the Filter zeros should show even/odd symmetry.. H(n) = +/-H(N-n). Whereas we do store past o/p values in an IIR Filter. So this makes the IIR Filter have not such a good phase linearity !
Electrix is offline  
Old 8th November 2005, 02:38 PM   (permalink)
Default

If you don't store past samples of your wave form I'm not sure exactly how you intend on filtering. Please review the equation posted below, you'll find its absolutely necessary to save your past samples. x(n) is the input into your filter, h(n) is the impulse response of your filter, and y(n) is the output of your filter.

:wink:
Attached Images
File Type: jpg conv.jpg (4.8 KB, 409 views)
_3iMaJ is offline  
Old 8th November 2005, 05:50 PM   (permalink)
Default

This is what I said:
Quote:
yes, but we also do not store past output values in an FIR Filter
You will agree with me that FIRs are non-recursive filters....
Electrix is offline  
Old 9th November 2005, 01:36 AM   (permalink)
Default

I misunderstood. I thought you meant you did not store past sampled values, IE x(-1), x(-2). Yes FIR does not depend on past values of y(n).
_3iMaJ is offline  
Old 9th November 2005, 02:59 PM   (permalink)
Default

Fourier series states that all signals can be represented as sums of sinusoids.

x(t) = A sin (wt + p)

If phase p is linear,
p=aw

Then

x(t) = A sin (w(t+a))
= A sin (wT)

where T = t+a

The importance is that no matter how many sinusoids your signals contain, all of them get shifted by the SAME delay a. As such, there is no distortion of the signal shape.
checkmate is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 07:42 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker