top of page

exercise 6.6

ZIP with MATLAB scripts and note:

Small tag OK.jpg
pozar_06_exercise_06_question.jpg

 exercise 6.6 notes:

Small tag OK.jpg
pozar_06_exercise_06_circuit.jpg

Z0=100;

ZLoad=.1+1j*50

 

RL=real(ZLoad)

 

XL=imag(ZLoad)

 

syms t                               % t=tand(beta*Length)

ZR=Z0*(RL+1j*(XL+Z0*t))/(Z0-XL*t+1j*RL*t)   

 

% to have ZRight=conj(ZLeft) right in the middle of the circuit t=tand(beta*LengthTL/2)

t0=double(solve(imag(ZR)==0,t))

 

 

 

 

imThreshold=.01

 

t0=t0(imag(t0)<imThreshold)     % removing non-null Im() root

 

t0=real(t0)

 

betaL=atand(t0)*2                  % betaL=beta*Length

 

% replacing negative length with positive values

betaL(betaL<0)=betaL(betaL<0)+180                     

 

% although betaL(1)==betaL(2) returns 0,

% betaL(1) is quite the same as betaL(2).

if numel(betaL>1) betaL=betaL(1); end

 

% by definition betaL=beta*Length=2*pi/lambda*D*lambda=2*pi*D

 

Length_TL_resonance=betaL/360

 

% alternatively:

dD=.0001

D=[0:dD:1];

 

syms D

Zin=Z0*(ZLoad+1j*Z0*tan(2*pi*D))./(Z0+1j*ZLoad*tan(2*pi*D))

reZin=real(Zin)

 

imZin=imag(Zin)

 

D1=double(solve(reZin==RL,D))

D2=double(solve(imZin==-XL,D))

 

D1=real(D1)     % ignore small imaginary residue

D2=real(D2)

 

% D is symmetric, so D<0 where resonance takes place,

% circuit also resonates at -D

D1=-D1;

D2=-D2;

 

betaL1=tan(2*pi*D1)

betaL2=tan(2*pi*D2)

 

Length1_TL_resonance=betaL1/360

Length2_TL_resonance=betaL2/360

% Q=2*pi*f0*L/R=XL/R with total resistance R=2*RL

R=2*RL;Q=XL/R

ZLoad =

  0.100000000000000 +50.000000000000000i

RL =

   0.100000000000000

XL =

    50

 

ZR =

-(t*10000i + 10 + 5000i)/(- 100 + t*(50 - 1i/10))

 

 

t0 =

 -0.499994000032000 + 0.003999984000064i

  0.000000000000000 + 1.000000000000000i

1.499998000000000 + 1.000000000000000i

 

imThreshold =

   0.010000000000000

t0 =

 -0.499994000032000 + 0.003999984000064i

t0 =

  -0.499994000032000

betaL =

 -53.129552316286116

 

betaL =

     1.268704476837139e+02

 

 

 

 

 

 

 

Length_TL_resonance =

   0.352417910232539

 

dD =

     1.000000000000000e-04

 

 

Zin =-(tan(2*pi*D)*10000i + (10 + 5000i))/(tan(2*pi*D)*(50 - 1i/10) - 100)

reZin =

-real((tan(2*pi*D)*10000i + (10 + 5000i))/(tan(2*pi*D)*(50 - 1i/10) - 100))

imZin =

-imag((tan(2*pi*D)*10000i + (10 + 5000i))/(tan(2*pi*D)*(50 - 1i/10) - 100))

D1 = -0.073791859754823 - 0.000031831034879i

D2 = -0.147583668580040 + 0.000127323961264i

 

D1 =  -0.073791859754823

D2 =  -0.147583668580040

D1 =

   0.073791859754823

 

D2 =   0.147583668580040

 

 

betaL1 =   0.500000400000256

betaL2 =   1.333334222223028

 

Length1_TL_resonance =   0.001388890000001

Length2_TL_resonance =   0.003703706172842

 

Q =   250

bottom of page