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.

LC low-pass filter issue

Status
Not open for further replies.

talking

Member level 2
Joined
Jan 27, 2010
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,654
I have designed LC low-pass filter. The following code analyzes mag/phase bode plot of the filter.

You would see the phase curve shows from 0 to -180 deg from the results (see the attached.) of the following code. But it doesn't make sense, because ...

phase is defined as -arctan(w/wc), where w is frequency and wc is cut-off frequency. Whatever we have instead of w/wc, phase should not have the value lower than -90 deg.

But Matlab Bode function does as follows. Please help to understand this or correct my code for this issue.

Actually, it might be Matlab question, but I'm posting it here, since it can be solved by someone who has a background of LC filter design.

-------------------------------------------------------------------------

L = 15e-9; C = 24*1e-12; R = 50;

figure(1); num1 = [0 0 1]; den1 = [L*C L/R 1]; sys1 = tf(num1, den1);

[mag1, phase1, W1] = bode(sys1); mag_dB1 = 20*log10(mag1:)));

subplot(211); semilogx(W1/(2*pi), mag_dB1); title('Bode Diagram'); ylabel('Magnitude (dB)'); grid on;

subplot(212); semilogx(W1/(2*pi), phase1:))); xlabel('Frequency (Hz)'); ylabel('Phase (deg)'); grid on;
 

Attachments

  • test.jpg
    test.jpg
    53.8 KB · Views: 64
Last edited:

Hi talking,

A second-order lowpass - as in your case - always has a phase response as shown (between 0 and -180 deg). What is your problem?
 

phase is defined as -arctan(w/wc), where w is frequency and wc is cut-off frequency. Whatever we have instead of w/wc, phase should not have the value lower than -90 deg.
Would be true only for a first order low-pass.
 

Thanks for answers, FvM and LvW.
I think I was confused with the phase equation for the 2nd order LPF.
As you know better, the phase equation of the first-order LPF is -arctan(W/Wc).
then what is the equation for the second-order LPF?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top