diff options
Diffstat (limited to '68/CH4/EX4.7')
-rwxr-xr-x | 68/CH4/EX4.7/ex4_7.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/68/CH4/EX4.7/ex4_7.sce b/68/CH4/EX4.7/ex4_7.sce new file mode 100755 index 000000000..f2bacf1b7 --- /dev/null +++ b/68/CH4/EX4.7/ex4_7.sce @@ -0,0 +1,24 @@ +// Example 4.7: To determine drain currents and output voltage
+K_n =1*10^-3; // K_n=k_n*W_n/L_n (A/V^2)
+K_p = 1*10^-3; // K_p=k_p*W_p/L_p (A/V^2)
+V_tn= 1; // (V)
+V_tp= -1; // (V)
+V_I=-2.5:2.5:2.5; // (V)
+V_DD=2.5; // (V)
+R=10;// (kilo ohm)
+// For V_I=0
+I_DP=(K_p*(V_DD-V_tn)^2)/2;
+I_DN=I_DP;
+disp(I_DP,I_DN,"I_DP (A) and I_DN (A) for V_I=0V")
+disp(0,"V_O for V_I =0V")
+// For V_I=2.5V
+// I_DN=K_N(V_GS-V_tn)V_DS
+// I_DN=v_O/R
+// Solving the two equations we get
+I_DN=0.244*10^-3; // (V)
+V_O=-2.44; // (V)
+disp(I_DN,V_O,"V_O and I_DN for V_I=2.5V")
+// For V_I=-2.5V Q_N is cut off
+I_DP=2.44*10^-3; // (A)
+V_O=2.44; // (V)
+disp(0,I_DP,V_O,"V_O(V), I_DP (A) and I_DN (A) for V_I=-2.5V")
\ No newline at end of file |