home *** CD-ROM | disk | FTP | other *** search
/ Explore the World of Soft…e: Engineering & Science / Explore_the_World_of_Software_Engineering_and_Science_HRS_Software_1998.iso / programs / electrnc / sport.txt < prev    next >
Text File  |  1997-09-18  |  4KB  |  87 lines

  1. Sometimes it is necessary to have S-parameters of two port devices, such as 
  2. GaAs FETs for example, given as three ports.  
  3.  
  4. FETS are almost always measured as two port devices, with the source 
  5. leads grounded.   Published S-parameter data for GaAs FETs is almost always  
  6. presented this way.  While two port s-parameters measured this way 
  7. are satisfactor for a variety of circuit simulations, there are many 
  8. instances where three port s-parameters for the FET are needed.   When the FET 
  9. is used in either a common-gate or common-drain configuration, or if the 
  10. source is used as part of a feed-back ciruit, or whenever the FET's source 
  11. isn't directly grounded are just a few examples of when it would be helpful to 
  12. have the FET's three port s-parameters.
  13.  
  14. In other words, you have a three-terminal device, and you want to use it as a 
  15. three port device, but you only have two port S-parameters.  How do you derive 
  16. the three-port S-parameters from the two-port S-parameters?
  17.  
  18. The computer program described in this article provides a means for converting 
  19. two port s-parameters into three port s-parameters.  It is completely 
  20. general, so of course it will work on any set of two port s-parameters and 
  21. convert them into three port s-parameters.  
  22.  
  23. Most top of the line microwave CAD programs, such as TouchStone and Super 
  24. Compact, do this for you automatically.  You just enter in the three 
  25. circuit nodes the device connects to and the program does the rest.  
  26. The algorithim this article is based upon duplicates what is already available 
  27. in these other programs.
  28.  
  29. This article, therefore, is primarily targeted at those who have less 
  30. sophisticated programs and need to enter in three port data, or for those who 
  31. may have the more expensive programs and just want to know how to do the 
  32. derivation.  
  33.  
  34.  
  35. Step 1: Convert the S-paramters of the two port into Z parameters
  36.  
  37. Step 2: Add the Z-parameters of a 50 ohm resistor to the Z-parameters 
  38. calculated above.  This has the effect of putting a 50 ohm resistor in the 
  39. common lead.  
  40.  
  41. Step 3: Converting the  Z-parameters of step 2 back into S-parameters 
  42. gives some of the sought after three-port S-parameters, in a two-port 
  43. format, specifically; S11, S12, S21, and S22 of the three port. 
  44.  
  45. Step 4: Convert the Z-parameters from step 1 into ABCD parameters.
  46.  
  47. Step 5: Re-calculate these ABCD parameters by first connecting a resistor of 
  48. charactistic impedance with the output port, and then interchanging the ouput 
  49. port with the common.  
  50.  
  51. Step 6: Converting the ABCD parameters from Step 5 back into S-parameters 
  52. gives additional elements of the the three-port S matrix as follows:   S12 
  53. calculated this way is really the S13 for our three-port, similarly, S22 is 
  54. S33, and S21 is S31.
  55.  
  56. Step 7: Going back to the ABCD parameters produced in step 4, 
  57. re-calculate the ABCD parameters by interchanging the common port with 
  58. the input port after first putting a resistor of characteristic impedance in 
  59. the input port.
  60.  
  61. Step 7: Repeat step 6.  Now S12 is S32, S21 is S23.  Also, S11 will be 
  62. S33 and S22 will be S22, but these will be redundant, as they're already 
  63. been calculated in previous steps.
  64.  
  65. At this point all the three-port S-parameters have been calculated.
  66.  
  67. Step 8:  Convert these S-parameters back into polar form and print them out. 
  68.  
  69.  
  70.  
  71. As an example of the us of this program sample output is shown for converting 
  72. the published two port S-parameters for a GaAs FET into three port 
  73. S-parameters.  The results agreed exactly with the output from TouchStone.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79. This program was written in compiled Microsoft (TM) FORTRAN for an IBM XT.  It 
  80. could be re-written in other languages or for use other compilers.  The 
  81. advantage of writing circuit analysis programs in FORTRAN over other 
  82. languages such as BASIC, for example, is that most FORTRAN compilers readily 
  83. handle complex numbers.  If this algorithim were written in BASIC, extra 
  84. subroutines would have been necessary to handle the multiplication, addition, 
  85. subtraction and division of complex numbers.
  86.  
  87.