Академический Документы
Профессиональный Документы
Культура Документы
clc
clear all
%%%Butterworth(Binomial Matching) Quarter Wave Impedance Transformer
Zo = 75; %Input Impedance
Rl = 25; %Load Impedance
fo=2.2e9;%design frequency of transformer and center freq
%Bl= pi/2; %Bl - Theta
n=4; %number of sections in transformer
r_max=0.05;%maximum reflection coefficient allowed in our design
BW=2-((4/pi)*(acos(0.5*(r_max/abs(A))^(1/n))));
BW_perct=BW*100%bandwdith of binomial design in percent.
%Frequency
f=[0:0.01:2];
% Calculating the Reflection Coefficients
for i=1:length(f)
Bl = (pi/2).*(f(i));
R_Co(i) = abs((Rl-Zo)/(Rl+Zo)).*(abs(cos(Bl))^n);
end
plot(f,R_Co);
title('Reflection Coefficient vs Frequency');
xlabel('f/fo');
ylabel('Reflection Coefficient');
grid on
Z_est =
Columns 1 through 3
Column 4
26.7769
BW_perct =
76.0397
1 of 2 12/4/2013 4:27 PM
Duran_QrtWave_ZTransf_Butterworth file:///J:/UIC Grad/ECE 424 RF and Microwave Guided Propagation/Fin...
2 of 2 12/4/2013 4:27 PM
test_calc_w file:///J:/UIC Grad/ECE 424 RF and Microwave Guided Propagation/Fin...
clc
clear all
%This m-code will Calculate width and length of each section of TL
%depend on substrate h and relative permitivity constant(epsr).
%Z03
Z03=35;%characteristic impedance desired
B03=(Zf*pi)/(2*Z03*sqrt(epsr));
Wh03=(2/pi)*((B03-1-log(B03*2-1)+((epsr-1)/(2*epsr))*(log(B03-1)+.39-(.61/epsr))));
eff03=(epsr+1)/2+(epsr-1)/2*(1/sqrt((1+12/Wh03)));
%Test Z03
Zo3_est=Zf/(sqrt(eff03)*(1.393+Wh03+(2/3)*log(Wh03+1.444)));
w03=Wh03*substrate_h%width of strip section 3 in mm
vp03=c/sqrt(eff03);%velocity of propagation inside substrate
lambda03=vp03/fo;%wavelenght inside substrate
l03=(lambda03/4)%length of quarter wave section accounting substrate
%Z02
Z02=53.2;%characteristic impedance desired
B02=(Zf*pi)/(2*Z02*sqrt(epsr));
Wh02=(2/pi)*((B02-1-log(B02*2-1)+((epsr-1)/(2*epsr))*(log(B02-1)+.39-(.61/epsr))));
eff02=(epsr+1)/2+(epsr-1)/2*(1/sqrt((1+12/Wh02)));
%Test Z02
Zo2_est=Zf/(sqrt(eff02)*(1.393+Wh02+(2/3)*log(Wh02+1.444)));
w02=Wh02*substrate_h%width of strip section 2 in mm
vp02=c/sqrt(eff02);%velocity of propagation inside substrate
lambda02=vp02/fo;%wavelenght inside substrate
l02=(lambda02/4)%length of quarter wave section accounting substrate
%Z01
Z01=70;
A01=(Z01/60)*sqrt((epsr+1)/2)+(epsr-1)/(epsr+1)*(.23+(.11/epsr));
Wh01=(8*exp(A01))/(exp(2*A01)-2);
eff01=(epsr+1)/2+(epsr-1)/2*(1/sqrt((1+12/Wh01)));
%Test Z01
Zo1_est=Zf/(2*pi*sqrt(eff01))*log(8*(1/Wh01)+1/4*(Wh01));
w01=Wh01*substrate_h%width of strip section 1 in mm
vp01=c/sqrt(eff01);%velocity of propagation inside substrate
lambda01=vp01/fo;%wavelenght inside substrate
l01=(lambda01/4)%length of quarter wave section accounting substrate
w04 =
1 of 2 12/4/2013 4:37 PM
test_calc_w file:///J:/UIC Grad/ECE 424 RF and Microwave Guided Propagation/Fin...
4.2898
l04 =
0.0201
w03 =
2.9887
l03 =
0.0204
w02 =
1.5965
l02 =
0.0209
w01 =
0.9873
l01 =
0.0213
2 of 2 12/4/2013 4:37 PM