You are on page 1of 2

10.

21: MATLAB: There are two fundamental solutions for the L-section matching
network of Problem 10.14. Develop a routine to plot the |Γ| versus frequency for both
solutions from 0.1 GHz to 10 GHz.

Setup: The two fundamental solutions are shown in


Figure P10.21a. We must determine the impedance
looking into the circuit as a function of frequency,
and then calculate reflection coefficient as
Z − Zo
Γ = in
Z in + Z o
Finally, our plot will be |Γ| versus frequency, since in
general Γ will be complex.

Solution:
For the top solution, we have:
−j
Zin1 = jω Lm1 + Z
ωCm1 L

And for the bottom solution:


Fig. P10.21a
−j
Zin 2 = + jω Lm 2 Z L
ωCm 2

Z in − Z o
Once Zin is found, then Γ = ,
Z in + Z o
and we can plot |Γ| versus frequency.

From Problem 10.14 we have ZL = 80 – j50 Ω, Lm1 = 8.7 nH, Cm1 = 0.7 pF, Lm2 = 10 nH
and Cm2 = 2.9 pF. The following MATLAB routine generates the plot. Note that this
routine requires that our function parallel, developed in MATLAB 9.1, be present in our
work directory.

% MLP1021
% Plot magnitude of reflection coefficient
% from 0.1GHz to 10 GHz looking into each
% matching network from P10.14.
clc;clear;
ZL=80-j*50;
Zo=50;
f=0.1:0.01:10;
w=2*pi.*f*1e9;

Lm1=8.7e-9;
XL1=j*w.*Lm1;

Written by Stuart M. Wentworth. Copyright John Wiley and Sons 2007


Cm1=0.7e-12;
XC1=-j./(w.*Cm1);
Zin1=XL1+parallel(ZL,XC1);
Ref1=abs((Zin1-Zo)./(Zin1+Zo));

Lm2=10e-9;
Cm2=2.9e-12;
XL2=j*w.*Lm2;
XC2=-j./(w.*Cm2);
Zin2=XC2+parallel(ZL,XL2);
Ref2=abs((Zin2-Zo)./(Zin2+Zo));

semilogx(f,Ref1,'-*',f,Ref2,'-o')
Legend('L=8.7nH,C=.6pF','C=2.9pF,L=10nH')
xlabel('frequency(GHz)')
ylabel('magnitude of reflection coefficient')
grid on

Fig. P10.21b

Written by Stuart M. Wentworth. Copyright John Wiley and Sons 2007

You might also like