Hello everyone,
I am desperately trying to find the Scattering parameters of a connector. For that purpose, I designed two lines, one of length L and the other of length 2L.
First idea was to use the T parameters to find the connector’s S parameters and the idea was as follow:
Tmeasured_L = Tc Tline Tc
Tmeasured_2L = Tc Tline Tline Tc
And then: [Tmeasured_2L] * [Tmeasured_L]
-1 = Tc Tline Tc
-1 = Ta
[Tmeasured_L]-1 * Ta = Tc
-1 Tc
-1and then invert everything and square root… this is the matlab code but the result cannot be correct
%% S Parameters
DataL = read(rfdata.data,'S2P-L.s2p');
Data2L = read(rfdata.data,'S2P-2L.s2p');
freq = DataL.Freq;
SPL = extract(DataL, 'S_PARAMETERS',50);
SP2L = extract(Data2L, 'S_PARAMETERS',50);
%% S to T
TPL = s2t(SPL);
TP2L = s2t(SP2L);
%% size
size(TPL)
length(TPL(2,2,:))
%%
for i=1:length(TPL(2,2,:))
TA(:,:,i)=TP2L(:,:,i)/TPL(:,:,i);
TB_1(:,:,i) = TPL(:,:,i)\TA(:,:,i);
TB(:,:,i) = inv(TB_1(:,:,i));
TC(:,:,i)=sqrtm(TB(:,:,i));
end
SC = t2s(TC);
so next idea was to try and find every parameter at a time and I already determined the complex propagation constant, both alpha and beta and seems ok but kinda lost on how to find S11 and S22.
Any ideas?
thanks