TLINES ver 1.0 by Davide Valenti
(davide.valenti@novanet.it or davvalen@novanet.it)
Library No.: 998
Bytes: 3392
Date: 24/5/98
Visible files: F2lambda -TLines
Known bugs: None

This program is distributed freely and provided "as is".
For any bug reporting or suggestion please e-mail me.


Installation:
Place the library 998 on the stack and store it in port 0 (e.g.)
Powercycle your HP48: the library is self attaching.

Description:
TLines performs a transmission line analysis.
The general scheme that TLines adots is a load with its (complex)
impedance Zl=Rl+Xl, connected to a line with its (real)
characteristic impedance Z0.
Line can either be non-dissipative or dissipative. 
Tlines calculates gamma modulo, phase and impedance 
at a specified distance from the load.
It also provides an interactive graphical output in the Smith chart format.

Usage:
-Run TLINES
-Fill in the form with:
Rl: Resistive part of load impedance
Xl: Reactive part of load impedance.
[Set to 0 by default: purely resistive load]
Z0: Characteristic impedance of the transmission line.
[Set to 50 ohm by dafault]
alfa: Line attenuation factor in neper per meter.
[Set to 0 by default: non-dissipative line]
-Press OK and read the values of gamma modulo, phase
 and impedance at a distance of  0 from the load.
-Press >STK to place the exact values of gamma and Z on the stack.
-Press NEW if you want to analize a new transmission line problem. 

Now you can enter line distance from load in two ways:
1)  
-press LINE to enter exact line offset either in meters
 (in this case you have to enter the wavelenght in meters, too)
 or in normalized wavelenghts (leave wavelenght set to 1)
-press OK to read the data values at the previously 
 specified distance from the load.
-Now you can display the Smith chart by just pressing SMITH:
 you will see an arc startig from the initial to the  final gamma vector.
 
 (Now you could also trace just like descripted in the following point 2) )

2)
-press SMITH : you will see (if visible) the gamma vector
-press TRACE and, if needed, (x,y)
-trace through the Smith Chart with the > cursor key to move 
 toward the generator (or the < key to move toward the load )
-stop on the point where you want it to be analized.
-press  ENTER and then ON and read the values.

Now you can go on entering other line distances either
in way 1) or 2) and displaying the results in the text-like 
and in the interactive Smith chart output.



NOTE on F2LAMBDA:
f2lambda is a simple solver utility converting frequency
in a certain dielectric into wavelenght.(and viceversa)

Variables:
f: frequency in GHz
lambda0: wavelenght in the vacuum
lamda: wavelenght in the dielectric
epsilon r: relative dielectric costant

Relations:
f=c/lambda0
lamda=lambda0/ROOT(epsilon r)


Davide Valenti. 