Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Design filter with specific phase response

Status
Not open for further replies.

digi001

Full Member level 5
Full Member level 5
Joined
Apr 5, 2011
Messages
244
Helped
22
Reputation
44
Reaction score
21
Trophy points
1,298
Activity points
2,904
I am trying to build and eventually implement digitally a Filter with specific phase delay at a single frequency.

So for example at 60Hz the signal should be delayed 45 degrees, etc.

How would one approach this on paper, circuit and say Matlab?
 

You can use a simple RC filter. Adjust R with a potentiometer (within limits).

There are formulas which relate time constant/ frequency/ attenuation/ phase shift/ etc.

A simulation is invaluable for conceptualizing performance.
Phase delay is different in the three filters.

8507769700_1392173749.png


You could use an inductor to create the phase delay too.
 

A simple 1st order lag filter consisting of a resistor and capacitor, as suggested by BradtheRad can be used. Choose a capacitor value, then R = Xc*tan(Theta).
. R in Ohms, Xc = 1/(2*pi*f*C), f in Hertz, C in Farads.
.
The analog transfer function is f(s) = 1/(Tau*s + 1), where Tau = RC.
.
This filter can be transformed to a digital filter using the impulse-invariant transform. Just make sure that the sample frequency is considerably higher than the Nyquist frequency of 2f. Otherwise aliasing will affect the phase shift.
.
Incidentally, the phrase "phase delay" is improperly used in this context. You are after a specified "phase shift". Phase delay is defined as phase shift divided by frequency, and has the unit of time. Group delay is defined as the derivative of phase with respect to frequency, and also has the unit of time.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top