Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

POZAR chapter 02 Transmission Line Basics: Example 04 17/04/2023 05:03:50.

EXAMPLE 2.4
Click any to open the MATLAB script solving this exercise. Run script to read question and calculate solution.
On 1st run, the exercise is solved and results are stored in .mat file. Parameters can be modified to solve exercise
variations. MATLAB student licences are free for students in university or college, toolboxes upgrades are cheap
and there is a licence type that does not even require to be registered in any learning institution.

To download and install MATLAB as well as review help on specific commands click any MATLAB icon:

Document author: John Bofarull Guix jgb2012@sky.com jgb2014@live.co.uk https://jgb2012.wixsite.com/microwave-eng-matlab

Download .mlx

Smith Chart Operations 04: Find ZL load from peaks measurement with short calibration

Contents

1.- Direct Calculation


2.- On Smith Chart

______________________________________________________________________________________________________________________________
John Bofarull Guix jgb2012@sky.com jgb2014@live.co.uk attached: -- 1/5
POZAR chapter 02 Transmission Line Basics: Example 04 17/04/2023 05:03:50.

1.- Direct Calculation

pozar_02_example_04.m

Z0=50; % [ohm] transmission line characteristic impedance

%% short TL and measure low voltage positions, from generator to load

d1=[.2 2.2 4.2]*1e-2; % [m]

lambda=2*mean(diff(d1)) % [m] lambda =


0.0400
% unknown load connected to TL
% and measure SWR as well as Vmin positions, again towards load

d2=[.72 2.72 4.72]*1e-2; % [m]

SWR=1.5 SWR =
1.5000
gamma_Load_abs=(SWR-1)/(SWR+1) gamma_Load_abs =
0.2000

The generator position is z=0 .

If the load is placed at d1(2)=2.2 % [cm] then the nearest Vmin, both Vmin and Vmax not directly supplied, from load
to generator is:

d1(2)-max(d2(d2<d1(2))) =
0.0148

If the load is placed at d1(3)=4.2cm then the nearest Vmin from load to generator is:

d1(3)-max(d2(d2<d1(3))) =
0.0148

So the load is placed dL from short, from generator towards load

dL=(d1(3)-max(d2(d2<d1(3))))/lambda dL =
0.3700

dL=.5 would be a complete 360º turn on Smith Chart

a_rad=dL*(2*pi)/.5 % [rad] a_rad =


4.6496
a_deg =
a_deg=a_rad*180/pi % [deg]
266.4000

______________________________________________________________________________________________________________________________
John Bofarull Guix jgb2012@sky.com jgb2014@live.co.uk attached: -- 2/5
POZAR chapter 02 Transmission Line Basics: Example 04 17/04/2023 05:03:50.

a_deg rotation from short circuit towards load means

a_Load_deg=a_deg-180 a_Load_deg =
86.4000
a_Load_rad=a_Load_deg*pi/180a a_Load_rad =
1.5080
gamma_Load =
gamma_Load=gamma_Load_abs*(cos(a_Load_rad)+1j*sin(a_Load_rad)) 0.0126 + 0.1996i
ZL =
ZL=Z0*(1+gamma_Load)/(1- gamma_Load) 47.2961 +19.6678i

2.- On Smith Chart

% start blank Smith Chart


hf1=figure
ax=gca
sm1=smithplot;
hold all

% Smith Chart Configuration


sm1.ClipData=0;
sm1.GridType='Z';
sm1.FontName='Tahoma';
sm1.FontSize=11;
sm1.TitleTopFontWeight='nor mal';
sm1.GridForegroundColor=[.7 .7 .7];

sm1.TitleTopTextInterpreter='tex'; % ['none' 'tex' 'latex']


sm1.TitleTop=[ num2str(dL) '*\lambda rotation from short circuit to Z_{L} Counter Clock Wise'];

sm1.TitleBottomTextInterpreter='tex'; % [none 'tex' 'latex']


sm1.TitleBottom=['Z_{0} = ' num2str(Z0) ' \Omega Smith Chart Type : ' sm1.GridType];
sm1.TitleBottomOffset=.2; % <.5

sm1.GridSubLineWidth= 1;

sm1.GridVisible='1';
sm1.ArcTickLabelVisible=0;
sm1.CircleTickLabelVisible=0;

sm1.NextPlot='add';

% a bit of visual reference for angles


d1=1;d2=1.12;
plot(ax,d1*cos([0:.1:2*pi+.1]),d1*sin([0:.1:2*pi+.1]),'Color',[.6 .6 .6]);
plot(ax,d2*cos([0:.1:2*pi+.1]),d2*sin([0:.1:2*pi+.1]),'Color',[.6 .6 .6]);
v=[0:1/24:1]*2*pi;
for k=1:1:numel(v)
plot(ax,[d1 d2]*cos(v(k)),[d1 d2]*sin(v(k)),'Color',[.6 .6 .6]);
end

[rSCa rSCm]=Smith_pinZ(ax,0,Z0,[1 0 0],0) % admittance on Y Smith Chart


______________________________________________________________________________________________________________________________
John Bofarull Guix jgb2012@sky.com jgb2014@live.co.uk attached: -- 3/5
POZAR chapter 02 Transmission Line Basics: Example 04 17/04/2023 05:03:50.
[rSCx,rSCy]=pol2cart(rSCa,rSCm);

text(ax,rSCx-.15,rSCy+.05,'Short',...
'Color',[.7 0 0],...
'FontSize',15,...
'HorizontalAlignment','right',...
'VerticalAlignment','middle');

%%

[rx,ry]=Smith_swrCircle(ax,ZL,Z0,[.5 0 .5]);

plot(ax,[-1 0],[0 0],'Color',[0 .7 0]); % short visual reference


plot(ax,[0 cos(a_Load_rad)],[0 sin(a_Load_rad)],'Color',[0 .7 0]); % angle visual reference

tRL=1 % CCW
[riyx,riyy]=Smith_swrArc(ax,-1,Z0,a_rad,tRL,[0 0 1]);

[rLa rLm]=Smith_pinZ(ax,ZL,Z0,[1 0 0],0) % Load


[rLx,rLy]=pol2cart(rLa,rLm);

text(ax,rLx+.2,rLy+.1,'zL',...
'Color',[0 0 1],...
'FontSize',15,...
'HorizontalAlignment','right',...
'VerticalAlignment','middle');

______________________________________________________________________________________________________________________________
John Bofarull Guix jgb2012@sky.com jgb2014@live.co.uk attached: -- 4/5
POZAR chapter 02 Transmission Line Basics: Example 04 17/04/2023 05:03:50.

Where is the whole collection of exercises?


This exercise is part of the collection of exercises Microwave Engineering POZAR 4th ed solved with MATLAB
available in this website: https://jgb2012.wixsite.com/microwave-eng-matlab

How can one get the main literature reference?


For instance from: https://www.amazon.co.uk/Microwave-Engineering-David-M-Pozar/dp/0470631554

What about the solutions manual?


It's freely available https://www.scribd.com/doc/176505749/Microwave-engineering-pozar-4th-Ed-solutions-manual

For educational purposes only: https://www.copyrightuser.org/understand/exceptions/education/

______________________________________________________________________________________________________________________________
John Bofarull Guix jgb2012@sky.com jgb2014@live.co.uk attached: -- 5/5

You might also like