From T-parameters to Y-parameters
In matrix form, the formula is
Y=([2Z1k110−2Z1k110]T+[0−2Z2k2102Z2k21])([2k1102k110]T+[02k2102k21])−1
While for each element, we obtain
Y11Y12Y21Y22=Z1(T11−T12+T21−T22)T11−T12−T21+T22=−Z1k1(T11−T12+T21−T22)2k2(T11T22−T12T21)=−Z2k2(T11−T12+T21−T22)2k1=Z2(T11−T12+T21−T22)T11+T12+T21+T22
The formulas are obtained with the methods explained here.
The MATLAB implementation can be found in circuitconversions on Gitlab.
Definitions
[A1B1]=T[B2A2] | [I1I2]=Y[V1V2] |
The incident and reflected waves are defined as
A1A2=k1(V1+I1Z1)B1=k2(V2+I2Z2)B2=k1(V1−I1Z1)=k2(V2−I2Z2)
with Z0,i the reference impedance for port i and ki defined as
ki=2ℜ(Z0,i)1ki=α2∣Z0,i∣ℜ(Z0,i)
depending on whether you are using power- or pseudowaves.