Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-Symmetric Networks #2

Open
ptheofan1990 opened this issue Jul 27, 2018 · 7 comments
Open

Non-Symmetric Networks #2

ptheofan1990 opened this issue Jul 27, 2018 · 7 comments

Comments

@ptheofan1990
Copy link

Hello,
I have tried this code for non-symmetric/reciprocal networks (S11~=S22 and S21=S12) and it seems that the results that I am getting are incorrect. I have been throught the equations on the paper and it seems that at the end the calculation differs from the analysis on the paper:
R1(n) = (w1-b)/(a-cw1);
% R2(n) = (w1-b)/(a-c
w1);

alfa = (d-bf)/(a(1-eca));
beta = beta_alfa
alfa;

r22p22 = R11t(n)/(aalfa + bgamma);

IRa = [ 1 -b ; -c a ];
IRb = [ 1 -beta ; -gamma alfa ];

Rm = [ R11m(n) R12m(n) ; R21m(n) R22m(n) ];

Rx = 1/(r22p22*(alfa-gammabeta)(a-bc))IRaRmIRb;

S11x(n) = Rx(1,2)/Rx(2,2);
S12x(n) = Rx(1,1) - Rx(1,2)*Rx(2,1)/Rx(2,2);
S21x(n) = 1/Rx(2,2);
S22x(n) = -Rx(2,1)/Rx(2,2);
Could you please let me know if you have seen something similar?
Thanks,
Panos

@la3pna
Copy link
Owner

la3pna commented Jul 27, 2018

What file is this from?

@la3pna
Copy link
Owner

la3pna commented Jul 27, 2018

If this is TRLstone, then increase your line length and see if that works. See the other issue in this repo.

@ptheofan1990
Copy link
Author

It is from this one: matlab/vna/trl.m
thanks,
Panos

@ptheofan1990
Copy link
Author

I tried that but it did not work. The issue is that the matrix Rm is assymetric and the projection conducted at the end makes Rx reciprocal. I am trying to grasp why this is happening. When my netwrok is asymmetric I should get asymmetric results.
Thanks,
Panos

@la3pna
Copy link
Owner

la3pna commented Jul 27, 2018 via email

@ptheofan1990
Copy link
Author

Thank you Thomas

once I have completed looking into the algorithm I will send it to you.

thanks,
Panos

@la3pna
Copy link
Owner

la3pna commented Aug 4, 2018

Did you have any progress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants