orz
Junior Member level 2
- Joined
- May 26, 2013
- Messages
- 24
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,440
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Thanks!1. I think the order of cox is wrong: in SI units this should be 8.4*10^-3 [F/m2]
2. The last contribution in the denominator of the Zin(s) equation is cgd1 , whereas in your MATLAB equation you have cgs1
(but I'm not sure if this changes a lot).
clear;clc;clf;
L=0.18*10^-6;
W=20*10^-6;
cgso=8.58E-10;
cgdo=8.58E-10;
cox=8.4222*10^-3;
gds1=0.00017156;
gds2=0.000172916;
gm1=0.006982440;
gm2=0.006982440;
cgs1=cgso+2/3*cox*L*W;
cgs2=cgso+2/3*cox*L*W;
cgd1=cgdo;
cgd2=cgdo;
w=2*pi*2*10^9;
Z=(gds1+j*w*(cgs2+cgd1+cgd2))/((gds1+gm1+j*w*cgd2)*(gm2+j*w*(cgs2+cgd1)))
cgs1=cgso+(2/3)*cox*L*W;
cgs2=cgso+(2/3)*cox*L*W;
2 more ideas:
1. You should write
... because otherwise MATLAB could interpret this as cgs2=cgso+2/(3*cox*L*W);Code:cgs1=cgso+(2/3)*cox*L*W; cgs2=cgso+(2/3)*cox*L*W;
2. Are you sure MATLAB can differentiate between the upper case W for the transistor width and the lower case w which means ωf = 2πf ?
clear;clc;clf;
L=0.18*10^-6;
Width=20*10^-6;
cgso=8.58E-10;
cgdo=8.58E-10;
cox=8.4222*10^-3;
gds1=0.00017156;
gds2=0.000172916;
gm1=0.006982440;
gm2=0.006982440;
cgs1=cgso+(2/3)*cox*L*Width
cgs2=cgso+(2/3)*cox*L*Width
cgd1=cgdo;
cgd2=cgdo;
w=2*pi*2*10^9;
Z=(gds1+j*w*(cgs2+cgd1+cgd2))/((gds1+gm1+j*w*cgd2)*(gm2+j*w*(cgs2+cgd1)))
Z = 0.0001 - 0.1391i
With an Excel sheet calculation I get the same result: 0.00013662 - 0.13912i
Are you sure the ADS system uses the same equation?
Yes, but are you sure ADS uses the very same equation for Zin calculation?I used Zin in ADS , and I have tried to calculate the resistance only circuit, the result is ok.
Yes, these values seem reasonable. The Cox value is right for a 180nm process.I am now wondering if I have correct Cgs.
I got Cgso, Cox from mosis. Is it believable?
Well... Actually, i don't know how ADS calculates Zin. But i take it as the exact Zin of the circuit, and compare it with my formula(i also take it as the exact Zin).Yes, but are you sure ADS uses the very same equation for Zin calculation?
In this case, i really don't know what is wrong.Yes, these values seem reasonable. The Cox value is right for a 180nm process.
However, the MATLAB result value is much more similar to an output impedance: Re(Z)=0.1mΩ , seems too low even for an output resistance. ABS(Z)=139mΩ also seems quite low.