Thread Links | Date Links | ||||
---|---|---|---|---|---|
Thread Prev | Thread Next | Thread Index | Date Prev | Date Next | Date Index |
The function was created with the matlab symbolic editor. Not sure how much will show in email, but Hansel has is right. S = sym('s%d%d',[2
2],'positive') I=eye(2) Z0in = sym('Z0in%d',[1
2],'positive') Z0out = sym('Z0out%d',[1
2],'positive') RHO =@(zin,zout) (zout-zin)./(zout+zin) R=RHO(Z0in,Z0out).*I amp =@(zin,zout) sqrt(zout./zin).*(1./(zout+zin)) A=amp(Z0in,Z0out).*I
SOUT=simplifyFraction( A^-1* (S-R) *(I-R*S)^-1 *A);
%Looking for TDR input port oof a s2p syms
Zin Zout SOUT=subs(SOUT,Z0in(1),Zin); SOUT=subs(SOUT,Z0in(2),Zin); SOUT=subs(SOUT,Z0out(1),Zout); SOUT=subs(SOUT,Z0out(2),Zout)
RL=simplify(SOUT(1,1)) collect(RL,[Zin,Zout]) TDR_RL=matlabFunction(RL) S = I = 2Ã?2 1 0 0 1 Z0in = Z0out = RHO = function_handle with value: @(zin,zout)(zout-zin)./(zout+zin) R = amp = function_handle with value: @(zin,zout)sqrt(zout./zin).*(1./(zout+zin)) A = SOUT = RL = ans = TDR_RL = function_handle with value: @(Zin,Zout,s11,s12,s21,s22)(Zin.^2.*s11+Zin.^2.*s22+Zout.^2.*s11+Zout.^2.*s22+Zin.^2-Zout.^2+Zin.*Zout.*s11.*2.0-Zin.*Zout.*s22.*2.0+Zin.^2.*s11.*s22-Zin.^2.*s12.*s21-Zout.^2.*s11.*s22+Zout.^2.*s12.*s21)./(Zin.*Zout.*2.0+Zin.^2.*s11+Zin.^2.*s22-Zout.^2.*s11-Zout.^2.*s22+Zin.^2+Zout.^2+Zin.^2.*s11.*s22-Zin.^2.*s12.*s21+Zout.^2.*s11.*s22-Zout.^2.*s12.*s21-Zin.*Zout.*s11.*s22.*2.0+Zin.*Zout.*s12.*s21.*2.0)
From: Norman Swenson <norm.swenson@xxxxxxxx>
Hansel Thank you very much. I will study the presentation. I do believe it is what I thought it was based on your note below. Regards, Norm From: Hansel DSilva <Hansel.D'Silva@xxxxxxxxxxxxxxxx>
Hi Norman, The function on line 63 of TDR_RL is the renormalized return loss (Sdd11' or Sdd22') where one is changing the differential reference impedance from sdd.Impedance to (2*ZT). Does this help answer the quesiton? The function TDR_RL on line 63 is called by the following on line 71. RL(i)=TDR_RL(sdd.Impedance,2*ZT,sdd.Parameters(param.RL_sel,param.RL_sel,i) ,sdd.Parameters( 1,2 ,i), sdd.Parameters( 2,1 ,i),sdd.Parameters( other_port,other_port ,i) ); Attached is a presentation that derives the formula on line 63, starting from the renormalization of a 2Ã?2 S-matrix. It leads to an _expression_ for the renormalized return loss in terms of the original (unrenormalized)
S-parameters and the input/output reference impedances. Regards, Hansel D'Silva From: Norman Swenson <norm.swenson@xxxxxxxx> CAUTION: EXTERNAL EMAIL To unsubscribe from the STDS-802-3-COM list, click the following link:
https://listserv.ieee.org/cgi-bin/wa?SUBED1=STDS-802-3-COM&A=1 â?? To unsubscribe from the STDS-802-3-COM list, click the following link: https://listserv.ieee.org/cgi-bin/wa?SUBED1=STDS-802-3-COM&A=1 |