What is the transfer function for this 4th order elliptic filter circuit?

  • Thread starter Thread starter pnjbi
  • Start date Start date
  • Tags Tags
    Filter
Click For Summary
The discussion focuses on finding the transfer function for a 4th order elliptic filter circuit using MATLAB. The original poster shares their MATLAB code and the derived transfer function but seeks verification of its correctness. A respondent points out that the calculated transfer function only represents the voltage at one node and suggests further calculations to obtain the overall transfer function. They recommend calculating additional transfer functions for other nodes and indicate discrepancies between the original poster's results and their own calculations done in Mathematica. The conversation emphasizes the need for accurate step-by-step verification in circuit analysis.
pnjbi
Messages
6
Reaction score
0
Hi,

I'm trying to find the transfer function to this circuit (see attached image). I put together a MATLAB script file which I will paste the code below. I found the transfer function to be:
((s*L4+1)/s/C3/(s*L4+1+1/s/C3)+L2/C2/(s*L2+1/C2/s))/s/C1/((s*L4+1)/s/C3/(s*L4+1+1/s/C3)+L2/C2/(s*L2+1/C2/s)+1/s/C1)/(((s*L4+1)/s/C3/(s*L4+1+1/s/C3)+L2/C2/(s*L2+1/C2/s))/s/C1/((s*L4+1)/s/C3/(s*L4+1+1/s/C3)+L2/C2/(s*L2+1/C2/s)+1/s/C1)+1)

Can someone verify this is correct?

Matlab Code:
% Convert to S-domain
R1 = 1
C1 = sym('1/(s*C1)')
C2 = sym('1/(s*C2)')
L2 = sym('s*L2')
C3 = sym('1/(s*C3)')
L4 = sym('s*L4')
RL = 1

% L4 in series with RL
Zeq1 = L4 + RL

% Zeq1 in parallel with C3
Zeq2 = (Zeq1*C3)/(Zeq1 + C3)
simple(Zeq2)

% L2 and C2 in parallel
Zeq3 = (L2*C2)/(L2 + C2)
simple(Zeq3)

% Zeq2 in series with Zeq3
Zeq4 = Zeq2 + Zeq3
simple(Zeq4)

% Zeq4 in parallel with C1
ZL = (Zeq4*C1)/(Zeq4 + C1)
simple(ZL)

% Voltage division to get Transfer Function
T = ZL/(ZL+R1)
simple(T)
pause



Thanks!
 

Attachments

  • circuit.JPG
    circuit.JPG
    10.4 KB · Views: 426
Physics news on Phys.org
What you have done so far looks good, but you stopped too early. What you have called ZL is the driving point impedance at node V1. So when you calculated T=ZL/(ZL+R1), that is only the transfer function from Vin to V1.

Let T1 be what you have already calculated, and then using T1*Vin as the voltage at node V1, we need the voltage at node V2 = T2*V1 and the voltage at node Vout = T3*V2. So continue to calculate T2 = Zeq2/(Zeq2+Zeq3) and T3 = RL/(Zeq1). Then the overall transfer function should be T1*T2*T3.

But, the calculations you have already done don't seem to have given a correct result, even though the steps in your MATLAB script file seem correct. I don't know matlab, so I've done it in Mathematica and attached the result as a .gif file. I typed in your expression and simplified it, and it didn't equal what I got.
 

Attachments

  • Ellip4th.jpg
    Ellip4th.jpg
    40.6 KB · Views: 468
I'm going to try posting the image in two parts. Hopefully it will be more readable.
 

Attachments

  • Ellip4thA.gif
    Ellip4thA.gif
    55 KB · Views: 474
  • Ellip4thB.gif
    Ellip4thB.gif
    37.7 KB · Views: 492

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 40 ·
2
Replies
40
Views
6K