Adam Cooman

YZSHGABT
YY→ZY→SY→HY→GY→AY→BY→T
ZZ→YZ→SZ→HZ→GZ→AZ→BZ→T
SS→YS→ZS→HS→GS→AS→BS→T
HH→YH→ZH→SH→GH→AH→BH→T
GG→YG→ZG→SG→HG→AG→BG→T
AA→YA→ZA→SA→HA→GA→BA→T
BB→YB→ZB→SB→HB→GB→AB→T
TT→YT→ZT→ST→HT→GT→AT→B

From G-parameters to T-parameters

In matrix form, the formula is

T=([k10k10]+[Z1k10Z1k10]G)([0Z2k20Z2k2]+[0k20k2]G)1\mathbf{T} =\left(\begin{bmatrix} k_{1} & 0\\ k_{1} & 0 \end{bmatrix}+\begin{bmatrix} Z_{1}\,k_{1} & 0\\ -Z_{1}\,k_{1} & 0 \end{bmatrix}\,\mathbf{G}\right)\,{\left(\begin{bmatrix} 0 & -Z_{2}\,k_{2}\\ 0 & Z_{2}\,k_{2} \end{bmatrix}+\begin{bmatrix} 0 & k_{2}\\ 0 & k_{2} \end{bmatrix}\,\mathbf{G}\right)}^{-1}

While for each element, we obtain

T11=k1(G22+Z2+G11G22Z1G12G21Z1+G11Z1Z2)2G21Z2k2T12=k1(Z2G22G11G22Z1+G12G21Z1+G11Z1Z2)2G21Z2k2T21=k1(G22+Z2G11G22Z1+G12G21Z1G11Z1Z2)2G21Z2k2T22=k1(G22Z2G11G22Z1+G12G21Z1+G11Z1Z2)2G21Z2k2\begin{align*}T_{11} &=\frac{k_{1}\,\left(G_{22}+Z_{2}+G_{11}\,G_{22}\,Z_{1}-G_{12}\,G_{21}\,Z_{1}+G_{11}\,Z_{1}\,Z_{2}\right)}{2\,G_{21}\,Z_{2}\,k_{2}}\\T_{12} &=\frac{k_{1}\,\left(Z_{2}-G_{22}-G_{11}\,G_{22}\,Z_{1}+G_{12}\,G_{21}\,Z_{1}+G_{11}\,Z_{1}\,Z_{2}\right)}{2\,G_{21}\,Z_{2}\,k_{2}}\\T_{21} &=\frac{k_{1}\,\left(G_{22}+Z_{2}-G_{11}\,G_{22}\,Z_{1}+G_{12}\,G_{21}\,Z_{1}-G_{11}\,Z_{1}\,Z_{2}\right)}{2\,G_{21}\,Z_{2}\,k_{2}}\\T_{22} &=-\frac{k_{1}\,\left(G_{22}-Z_{2}-G_{11}\,G_{22}\,Z_{1}+G_{12}\,G_{21}\,Z_{1}+G_{11}\,Z_{1}\,Z_{2}\right)}{2\,G_{21}\,Z_{2}\,k_{2}}\\\end{align*}

The formulas are obtained with the methods explained here. The MATLAB implementation can be found in circuitconversions on Gitlab.

Definitions

[I1V2]=G[V1I2]\begin{bmatrix}I_1 \\V_2\end{bmatrix} = \mathbf{G}\begin{bmatrix}V_1 \\I_2\end{bmatrix}

[A1B1]=T[B2A2]\begin{bmatrix}A_1 \\B_1\end{bmatrix} = \mathbf{T}\begin{bmatrix}B_2 \\A_2\end{bmatrix}

The incident and reflected waves are defined as

A1=k1(V1+I1Z1)B1=k1(V1I1Z1)A2=k2(V2+I2Z2)B2=k2(V2I2Z2)\begin{align*}A_1 &= k_{1}\,\left(V_{1}+I_{1}\,Z_{1}\right)\qquad B_1 &= k_{1}\,\left(V_{1}-I_{1}\,Z_{1}\right)\\A_2 &= k_{2}\,\left(V_{2}+I_{2}\,Z_{2}\right)\qquad B_2 &= k_{2}\,\left(V_{2}-I_{2}\,Z_{2}\right)\\\end{align*}

with Z0,iZ_{0,i} the reference impedance for port ii and kik_i defined as

ki=12(Z0,i)ki=α(Z0,i)2Z0,ik_i=\frac{1}{2\sqrt{\Re\left( Z_{0,i}\right) }}\qquad k_i=\alpha\frac{\sqrt{\Re\left( Z_{0,i} \right) }}{2\left|Z_{0,i}\right|}

depending on whether you are using power- or pseudowaves.