以下是我对照 森荣二的《LC滤波器设计与制作》
这本书的电容耦合滤波式带通滤波器章节编写的一个Matlab程序。
电容耦合滤波式带通滤波器适合设计高Q的窄带滤波器,N阶谐振器耦合式BPF由N个谐振器和N-1个耦合元件K构成。
这种滤波器由于加入了耦合电容,衰减特性曲线在频率等于零的地方增加了一个零点。 Why?
在低于中心频率的一侧倾斜度比较高,在另一侧比较平坦,且衰减曲线不左右对称。 pp228
具体见例11.2等(11章例题2)。
-----------------------------------------
n=3; % the order of the butterworth LPF
for i=1:n
g(i)=2*sin((2*i-1)*pi/(2*n)); % butterworth LPF's g_i computation
end
disp('the normilized value of Butterworth LPF is: ')
g
BW=5e6; % bandwidth,unit Hz
F_ss=100e6; % unit Hz and means "suan shu ping jun "
Fl=F_ss-BW/2;
Fh=F_ss+BW/2;
F_jh=sqrt(Fl*Fh); % unit Hz and means "ji he ping jun "
for i=1:n-1
k(1:n-1)=1/(sqrt(g(i)*g(i+1)));
K(1:n-1)=BW*k(i)/F_jh;
end
K
L_resonator=10e-9; % unit is F
Z1=2*pi*F_jh^2*L_resonator*g(1)/BW
Z2=2*pi*F_jh^2*L_resonator*g(n)/BW % here Z2 maybe is not equal to Z1
C_resonator=1/[(2*pi*F_jh)^2*L_resonator];
L=input('Please input the L of the prototype filter:\n') % xu yao shou dong shu ru de L, for example, L=100e-9 H
C=input('Please input the C of the prototype filter:\n') % xu yao shou dong shu ru de C, for example, C=253.461e-12F
for i=1:n-1
C_couple(1:n-1)=K(1:n-1)*C_resonator;
C_new(1)=C_resonator-C_couple(1);
C_new(n)=C_resonator-C_couple(n-1);
C_new(2:n-1)=C_resonator-C_couple(n-2)-C_couple(n-1); % here i am not sure
end
C_new
K=50/Z1;
L=L*K % unit H
C=C_new/K % unit F
[此贴子已经被作者于2006-10-1 11:43:24编辑过]