s2t
Converts S-parameters to T-parameters.
| Library |
|
Arguments
Input arguments
# s_params — -port S-parameters
+
array of complex numbers
Details
-port S-parameters specified as an array of complex numbers of the size on on , where represents the number of frequency points -port S-parameters.
Output arguments
# t_params — -port T-parameters
+
array of complex numbers
Details
-port T-parameters returned 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.
Examples
Converting S-parameters to T-parameters
Details
Let’s define a matrix of S-parameters and convert them to T-parameters.
using EngeeRF
s_11 = 0.61 * exp(im * 165/180 * π)
s_21 = 3.72 * exp(im * 59/180 * π)
s_12 = 0.05 * exp(im * 42/180 * π)
s_22 = 0.45 * exp(im * (-48/180) * π)
s_params = [s_11 s_12; s_21 s_22]
t_params = s2t(s_params)
2×2 Matrix{ComplexF64}:
0.138451-0.230421im 0.0353675+0.115682im
-0.0451986+0.157626im -0.00194567-0.0291212im
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.