ASICK
Junior Member level 3
- Joined
- Apr 22, 2005
- Messages
- 30
- Helped
- 1
- Reputation
- 2
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- san jose,ca
- Activity points
- 1,585
Hi I am trying this folded cascode, like in P allen, I cant get it to work, my pmos on top not in sat, where am I going wrong?? please help, thanks.
here is a little script of how I tried it, transistor number here match the ones in schematic
Vdd=2.5;Vss=0;
u=1e-6;Kp=2*25.5*u;Kn=2*109.7*u;Voutmin=.7;
Voutmax=1.8;Vtn=0.4465;Vtp=0.611;
Cload=2e-12;SR=30e6;Vinmax=1.5;Vinmin=1;L=1.5*u;
Vtnmin=.426; Vtnmax=.439;Vtpmin=.61; Vtpmax=.613;GB=2*pi*20e6
%I5=bias current=SR*Cload
I3=SR*Cload
%Choose I3=1.1 to1.4 times I3.
I5=1.5*I3/2,I4=I5;
%For max output swing
Vov5=(Vdd-Voutmax)/2; Vov7=(Vdd-Voutmax)/2
W5=2*L*I5/(Kp*Vov5*Vov5)
W4=W5,W14=W5
I=I5-I3/2
%Assuming worse case current in M6 & M7
W7=2*L*I/(Kp*Vov7*Vov7)
W6=W7,W13=W7
%For min output swing
Vov9=(Voutmin-Vss)/2; Vov11=(Voutmin-Vss)/2
W9=2*L*I5/(Kn*Vov9*Vov9)
W8=W9, W10=W9, W11=W9
Vov14=Vov5; Vov8=Vov9;
R1=Vov5/I5
R2=Vov9/I5
%From GB spec find W1 &W2
W1=GB^2*Cload^2*L/(Kn*I3)
W2=W1
%Minimum ICMR defines
V=(I3*L/(Kn*W1))^.5
Vov3=Vinmin-Vss-V-Vtnmax
W3=2*I3*L/(Kn*Vov3*Vov3)
W12=I5/I3*W3
here is a little script of how I tried it, transistor number here match the ones in schematic
Vdd=2.5;Vss=0;
u=1e-6;Kp=2*25.5*u;Kn=2*109.7*u;Voutmin=.7;
Voutmax=1.8;Vtn=0.4465;Vtp=0.611;
Cload=2e-12;SR=30e6;Vinmax=1.5;Vinmin=1;L=1.5*u;
Vtnmin=.426; Vtnmax=.439;Vtpmin=.61; Vtpmax=.613;GB=2*pi*20e6
%I5=bias current=SR*Cload
I3=SR*Cload
%Choose I3=1.1 to1.4 times I3.
I5=1.5*I3/2,I4=I5;
%For max output swing
Vov5=(Vdd-Voutmax)/2; Vov7=(Vdd-Voutmax)/2
W5=2*L*I5/(Kp*Vov5*Vov5)
W4=W5,W14=W5
I=I5-I3/2
%Assuming worse case current in M6 & M7
W7=2*L*I/(Kp*Vov7*Vov7)
W6=W7,W13=W7
%For min output swing
Vov9=(Voutmin-Vss)/2; Vov11=(Voutmin-Vss)/2
W9=2*L*I5/(Kn*Vov9*Vov9)
W8=W9, W10=W9, W11=W9
Vov14=Vov5; Vov8=Vov9;
R1=Vov5/I5
R2=Vov9/I5
%From GB spec find W1 &W2
W1=GB^2*Cload^2*L/(Kn*I3)
W2=W1
%Minimum ICMR defines
V=(I3*L/(Kn*W1))^.5
Vov3=Vinmin-Vss-V-Vtnmax
W3=2*I3*L/(Kn*Vov3*Vov3)
W12=I5/I3*W3