t2s
Converts T-parameters to S-parameters.
| Library |
|
Arguments
Input arguments
# t_params — -port T-parameters
+
array of complex numbers
Details
-port T-parameters specified as an array of complex numbers of the size on on , where represents the number of frequency points -port T-parameters.
The function defines the T-parameters as
Where
-
— falling wave on the first port;
-
— reflected wave on the first port;
-
— falling wave on the second port;
-
— reflected wave on the second port.
Output arguments
# s_params — -port S-parameters
+
array of complex numbers
Details
-port S-parameters returned as an array of complex numbers of the size on on , where represents the number of frequency points -port S-parameters.
Examples
Converting T-parameters to S-parameters
Details
Let’s define a matrix of T-parameters and convert them to S-parameters.
using EngeeRF
t11 = 0.138451095405929 - 0.230421317393041im
t21 = -0.0451985986689165 + 0.157626245839348im
t12 = 0.0353675449261375 + 0.115682026931012im
t22 = -0.00194567217559662 - 0.0291212122613417im
t_params = [t11 t12; t21 t22]
s_params=t2s(t_params)
2×2 Matrix{ComplexF64}:
-0.589215+0.15788im 0.0371572+0.0334565im
1.91594+3.18866im 0.301109-0.334415im
Literature
-
Gonzalez, Guillermo, Microwave Transistor Amplifiers: Analysis and Design, 2nd edition. Prentice-Hall, 1997, p. 25.
-
D. A. Frickey. Conversions between S, Z, Y, H, ABCD, and T parameters which are valid for complex source and load impedances. IEEE Transactions on Microwave Theory and Techniques, vol. 42, no. 2, pp. 205–211. Feb. 1994, doi: 10.1109/22.275248.