oshaye3
Member level 3
Hi all,
I used matlab to calculate the components values to design chebyshev filter It is a second order low pass filter. The simulation does not give me exact response and ripples everywhere. I pasted below the code and results below. I attached the simulation and the schematics as well. Is it the way I assigned value to the R1 that caused this abnormal response.
Please any response from this forum
code:
fc = input('\n Enter the Cutt off frequency for your filter:');
C_A = 1 ;
C_B = 0.872 ;
C_C = 0.636 ;
R1 = 10 % kohms
R4 = R1/C_C % kohms
R3 = R1*R4/(R1+R4) % kohms
C5 = 1000*C_B/(2*R1*2*pi*fc) % uF
C2 = 1000*C_A/(R1*R3*C5*2*pi*fc) % uF
Results:
Transfer function:
1
---------------------
s^2 + 2.373 s + 3.314
Enter the Cutt off frequency for your filter:1500
R1 =
10
R4 =
15.7233
R3 =
6.1125
C5 =
0.0046
C2 =
0.3752
I used matlab to calculate the components values to design chebyshev filter It is a second order low pass filter. The simulation does not give me exact response and ripples everywhere. I pasted below the code and results below. I attached the simulation and the schematics as well. Is it the way I assigned value to the R1 that caused this abnormal response.
Please any response from this forum
code:
fc = input('\n Enter the Cutt off frequency for your filter:');
C_A = 1 ;
C_B = 0.872 ;
C_C = 0.636 ;
R1 = 10 % kohms
R4 = R1/C_C % kohms
R3 = R1*R4/(R1+R4) % kohms
C5 = 1000*C_B/(2*R1*2*pi*fc) % uF
C2 = 1000*C_A/(R1*R3*C5*2*pi*fc) % uF
Results:
Transfer function:
1
---------------------
s^2 + 2.373 s + 3.314
Enter the Cutt off frequency for your filter:1500
R1 =
10
R4 =
15.7233
R3 =
6.1125
C5 =
0.0046
C2 =
0.3752