diff options
Diffstat (limited to '1514/CH8')
-rwxr-xr-x | 1514/CH8/EX8.1/ch8_1.sce | 11 | ||||
-rwxr-xr-x | 1514/CH8/EX8.2/8_2.sce | 26 | ||||
-rwxr-xr-x | 1514/CH8/EX8.3/8_3.sce | 14 | ||||
-rwxr-xr-x | 1514/CH8/EX8.4/8_4.sce | 17 |
4 files changed, 68 insertions, 0 deletions
diff --git a/1514/CH8/EX8.1/ch8_1.sce b/1514/CH8/EX8.1/ch8_1.sce new file mode 100755 index 000000000..ad6443366 --- /dev/null +++ b/1514/CH8/EX8.1/ch8_1.sce @@ -0,0 +1,11 @@ +//chapter 8
+//example 8.1
+//page 229
+clear all;
+clc ;
+//from drain characteristics of FET
+Vgs=[0 -1 -2 -3 -4.5];//gate to source voltage in volts
+Id=[9 5.4 2.8 0.9 0];//drain current in mA
+plot(Vgs,Id,'colo','red','marker','*','markeredg','blue','markersize',10)
+xtitle('FET transfer characteristics','gate to source voltage in volts','drain current in mA')
+replot([-5 ,0,1,10])
diff --git a/1514/CH8/EX8.2/8_2.sce b/1514/CH8/EX8.2/8_2.sce new file mode 100755 index 000000000..98f3587b2 --- /dev/null +++ b/1514/CH8/EX8.2/8_2.sce @@ -0,0 +1,26 @@ +//chapter 8
+//example 8.2
+//page 231
+clear;
+clc ;
+//given
+Vpmin=2;//minimum pinch off voltage in volts
+
+Vpmax=8;//maximum pinch off voltage in volts
+
+IDssmin=4;//minimum saturation current in mA
+
+IDssmax=16;//maximum saturation current in mA
+
+//minimum transfer characteristics
+Vgs=[0 0.5 1 1.5 2];//gate to source voltage in volts
+Id=IDssmin.*(1-Vgs/2)^2;//drain current in mA
+plot(-Vgs,Id,'colo','red','marker','*','markeredg','blue','markersize',10)
+xtitle('minimum transfer characteristics','Vgs','Id')
+
+//maximum transfer characteristics
+Vgs=[0 2 4 6 8];//gate to source voltage in volts
+Id=IDssmax.*(1-Vgs/8)^2;//drain current in mA
+plot(-Vgs,Id,'colo','cyan','marker','*','markeredg','magenta','markersize',10)
+
+
diff --git a/1514/CH8/EX8.3/8_3.sce b/1514/CH8/EX8.3/8_3.sce new file mode 100755 index 000000000..d603f264e --- /dev/null +++ b/1514/CH8/EX8.3/8_3.sce @@ -0,0 +1,14 @@ +//chapter 8
+//example 8.3
+//page 234
+clear all;
+clc ;
+//given
+//for Vgs=[-1 -4]
+deltaVgs=[1.25 2];
+deltaID=[4.3 3.8];//from transfer characteristics
+gm= round((deltaID ./ deltaVgs)*10)*100
+
+
+printf('\nTransconductance(gm) for Vgs=-1 V is %d microS.',gm(1))
+printf('\nTransconductance(gm) for Vgs=-4 V is %d microS.',gm(2))
diff --git a/1514/CH8/EX8.4/8_4.sce b/1514/CH8/EX8.4/8_4.sce new file mode 100755 index 000000000..faafb1467 --- /dev/null +++ b/1514/CH8/EX8.4/8_4.sce @@ -0,0 +1,17 @@ +//chapter 8
+//example 8.4
+//page 235
+clear;
+clc ;
+//given
+Vgs1=1;//gate to source voltage in volts
+Vgs2=4;
+Idss=16*10^(-3); //saturation current in mA
+Vp=8; //pinch off voltage in volts
+
+//transconductance
+gm1=2*Idss*(1-Vgs1/Vp)/Vp*10^6;
+printf('\ntransconductance at Vgs=-1V is %d microS',gm1)
+
+gm2=2*Idss*(1-Vgs2/Vp)/Vp*10^6;
+printf('\ntransconductance at Vgs=-4V is %d microS',gm2)
|