diff options
Diffstat (limited to '69/CH7/EX7.6')
-rwxr-xr-x | 69/CH7/EX7.6/7_6.jpg | bin | 0 -> 43908 bytes | |||
-rwxr-xr-x | 69/CH7/EX7.6/7_6.sce | 58 |
2 files changed, 58 insertions, 0 deletions
diff --git a/69/CH7/EX7.6/7_6.jpg b/69/CH7/EX7.6/7_6.jpg Binary files differnew file mode 100755 index 000000000..b85fc66d9 --- /dev/null +++ b/69/CH7/EX7.6/7_6.jpg diff --git a/69/CH7/EX7.6/7_6.sce b/69/CH7/EX7.6/7_6.sce new file mode 100755 index 000000000..69f6c3ea8 --- /dev/null +++ b/69/CH7/EX7.6/7_6.sce @@ -0,0 +1,58 @@ +clear; clc; close;
+
+Idss = 9*10^(-3);
+Vp = -3;
+Vdd = 20;
+Vss = 10;
+Rd = 1.8*10^(3);
+Rs = 1.5*10^(3);
+
+
+Vgs1 = Vp;
+Id1 = 0;
+Vgs2 = Vp/2;
+Id2 = Idss/4;
+Vgs3 = 0;
+Id3 = Idss;
+x = [Vgs1 Vgs2 Vgs3];
+y = [Id1 Id2 Id3];
+
+yi=smooth([x;y],0.1);
+a = gca();
+a.thickness = 2;
+a.y_location = 'right';
+a.x_label.text = 'Vgs';
+a.y_label.text = 'Id(mA)';
+a.title.text = 'Q-point for network';
+a.grid = [1 1];
+plot2d(yi(1,:)',yi(2,:)',[3]);
+
+
+
+Id1 = 0;
+Vgs1 = Vss-Id1*Rs;
+Id2 = 4*10^(-3);
+Vgs2 = Vss-Id2*Rs;
+Id3 = 8*10^(-3);
+Vgs3 = Vss-Id3*Rs;
+x = [Vgs1 Vgs2 Vgs3];
+y = [Id1 Id2 Id3];
+plot2d(x,y);
+a.data_bounds = [-3 0;10 9*10^(-3)];
+
+
+
+Vgsq = -0.35;
+disp(Vgsq,'Q-point value of Vgs(found after interpolation) is :');
+
+Idq = 6.9*10^(-3);
+
+Vds = Vdd+Vss-Idq*(Rd+Rs);
+Vd = Vdd-Idq*Rd;
+Vs = Vd-Vds;
+
+disp(Idq,'Idq(Amperes) = ');
+disp(Vds,'Vds(Volts) = ');
+disp(Vd,'Vd(Volts) = ');
+disp(Vs,'Vs(Volts) = ');
+disp(Vds,'Vds(Volts) = ');
|