diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /74/CH1/EX1.13/example13_sce.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '74/CH1/EX1.13/example13_sce.sce')
-rwxr-xr-x | 74/CH1/EX1.13/example13_sce.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/74/CH1/EX1.13/example13_sce.sce b/74/CH1/EX1.13/example13_sce.sce new file mode 100755 index 000000000..da5b507db --- /dev/null +++ b/74/CH1/EX1.13/example13_sce.sce @@ -0,0 +1,28 @@ +// chapter 1
+// example 1.13
+// page 44, figure 1.52
+Rl=%inf;B=100;Rin=0;
+Re=1;// let suppose
+Iq=4*10^-3;
+Vt=26*10^-3;Va2=150;Va4=100;
+I2=Iq/2;
+I4=Iq/2;
+disp(I2,I4)
+Gm=Iq/(2*Vt);//parameters
+Ro2=Va2/I2;
+Ro4=Va4/I4;
+Aid=Gm*((Ro2*Ro4)/(Ro2+Ro4));//Aid =Gm(Ro2||Ro4||Rl),Rl=%inf
+disp(Aid)//differential mode gain Aid
+r=(2*(B*Vt))/Iq// Vt=26mV at 300k
+//Re=1/X*Iq and Rc=1/x*Iq/2
+//Rc/Re=2
+Rc=2*Re;
+//assuming 2*(1+B)*Re/(r+Rin)>>>>1
+//Acm=((-Gm*Rc)/1+((2*(1+B)*Re)/(r+Rin)));
+k=(2*(1+B)*Re)/((r+Rin)/1000)
+Acm=-((Gm*Rc)*1000)/k;
+disp(Acm)// common mode gain
+CMRR=Aid/-Acm;
+disp(CMRR)//
+CMRRdb=20*log10(CMRR);
+disp(CMRRdb)// result is in db
\ No newline at end of file |