From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 69/CH7/EX7.1/7_1.sce | 22 +++++++++++++++ 69/CH7/EX7.10/7_10.sce | 16 +++++++++++ 69/CH7/EX7.11/7_11.jpg | Bin 0 -> 37658 bytes 69/CH7/EX7.11/7_11.sce | 43 ++++++++++++++++++++++++++++++ 69/CH7/EX7.12/7_12.jpg | Bin 0 -> 37834 bytes 69/CH7/EX7.12/7_12.sce | 37 ++++++++++++++++++++++++++ 69/CH7/EX7.13/7_13.sce | 21 +++++++++++++++ 69/CH7/EX7.14/7_14.sce | 18 +++++++++++++ 69/CH7/EX7.15/7_15.sce | 13 +++++++++ 69/CH7/EX7.16/7_16.sce | 14 ++++++++++ 69/CH7/EX7.17/7_17.sce | 14 ++++++++++ 69/CH7/EX7.18/7_18.sce | 49 ++++++++++++++++++++++++++++++++++ 69/CH7/EX7.19/7_19.sce | 14 ++++++++++ 69/CH7/EX7.2/7_2.jpg | Bin 0 -> 36934 bytes 69/CH7/EX7.2/7_2.sce | 52 ++++++++++++++++++++++++++++++++++++ 69/CH7/EX7.20/7_20.sce | 18 +++++++++++++ 69/CH7/EX7.3/7_3.jpg | Bin 0 -> 43466 bytes 69/CH7/EX7.3/7_3.sce | 71 +++++++++++++++++++++++++++++++++++++++++++++++++ 69/CH7/EX7.4/7_4.jpg | Bin 0 -> 37478 bytes 69/CH7/EX7.4/7_4.sce | 54 +++++++++++++++++++++++++++++++++++++ 69/CH7/EX7.5/7_5.jpg | Bin 0 -> 40251 bytes 69/CH7/EX7.5/7_5.sce | 60 +++++++++++++++++++++++++++++++++++++++++ 69/CH7/EX7.6/7_6.jpg | Bin 0 -> 43908 bytes 69/CH7/EX7.6/7_6.sce | 58 ++++++++++++++++++++++++++++++++++++++++ 69/CH7/EX7.7/7_7.jpg | Bin 0 -> 49436 bytes 69/CH7/EX7.7/7_7.sce | 54 +++++++++++++++++++++++++++++++++++++ 69/CH7/EX7.8/7_8.jpg | Bin 0 -> 49175 bytes 69/CH7/EX7.8/7_8.sce | 59 ++++++++++++++++++++++++++++++++++++++++ 69/CH7/EX7.9/7_9.jpg | Bin 0 -> 29882 bytes 69/CH7/EX7.9/7_9.sce | 51 +++++++++++++++++++++++++++++++++++ 30 files changed, 738 insertions(+) create mode 100755 69/CH7/EX7.1/7_1.sce create mode 100755 69/CH7/EX7.10/7_10.sce create mode 100755 69/CH7/EX7.11/7_11.jpg create mode 100755 69/CH7/EX7.11/7_11.sce create mode 100755 69/CH7/EX7.12/7_12.jpg create mode 100755 69/CH7/EX7.12/7_12.sce create mode 100755 69/CH7/EX7.13/7_13.sce create mode 100755 69/CH7/EX7.14/7_14.sce create mode 100755 69/CH7/EX7.15/7_15.sce create mode 100755 69/CH7/EX7.16/7_16.sce create mode 100755 69/CH7/EX7.17/7_17.sce create mode 100755 69/CH7/EX7.18/7_18.sce create mode 100755 69/CH7/EX7.19/7_19.sce create mode 100755 69/CH7/EX7.2/7_2.jpg create mode 100755 69/CH7/EX7.2/7_2.sce create mode 100755 69/CH7/EX7.20/7_20.sce create mode 100755 69/CH7/EX7.3/7_3.jpg create mode 100755 69/CH7/EX7.3/7_3.sce create mode 100755 69/CH7/EX7.4/7_4.jpg create mode 100755 69/CH7/EX7.4/7_4.sce create mode 100755 69/CH7/EX7.5/7_5.jpg create mode 100755 69/CH7/EX7.5/7_5.sce create mode 100755 69/CH7/EX7.6/7_6.jpg create mode 100755 69/CH7/EX7.6/7_6.sce create mode 100755 69/CH7/EX7.7/7_7.jpg create mode 100755 69/CH7/EX7.7/7_7.sce create mode 100755 69/CH7/EX7.8/7_8.jpg create mode 100755 69/CH7/EX7.8/7_8.sce create mode 100755 69/CH7/EX7.9/7_9.jpg create mode 100755 69/CH7/EX7.9/7_9.sce (limited to '69/CH7') diff --git a/69/CH7/EX7.1/7_1.sce b/69/CH7/EX7.1/7_1.sce new file mode 100755 index 000000000..fad565fe3 --- /dev/null +++ b/69/CH7/EX7.1/7_1.sce @@ -0,0 +1,22 @@ +clear; clc; close; + +Vgg = 2; +Idss = 10*10^(-3); +Vp = -4; +Vdd = 16; +Rd = 2*10^(3); + +Vgs = -Vgg; +Id = Idss*(1-(Vgs/Vp))^2; +Vds = Vdd - Id*Rd; +Vd = Vds; +Vg = Vgs; +Vs = 0; + +disp(Vgs,'Vgsq(Volts) = '); +disp(Id,'Idq(Amperes) = '); +disp(Vds,'Vds(Volts) = '); +disp(Vd,'Vd(Volts) = '); +disp(Vg,'Vg(Volts) = '); +disp(Vs,'Vs(Volts) = '); + diff --git a/69/CH7/EX7.10/7_10.sce b/69/CH7/EX7.10/7_10.sce new file mode 100755 index 000000000..602c18d69 --- /dev/null +++ b/69/CH7/EX7.10/7_10.sce @@ -0,0 +1,16 @@ +clear; clc; close; + +Idss = 10*10^(-3); +Vp = -4; +Vdd = 20; +Rd = 1.5*10^(3); + +Vgsq = 0; +disp(Vgsq,'Q-point value of Vgs(found after interpolation) is :'); + +Idq = 10*10^(-3); + +Vd = Vdd - Idq*(Rd); + +disp(Idq,'Idq(Amperes) = '); +disp(Vd,'Vds(Volts) = '); diff --git a/69/CH7/EX7.11/7_11.jpg b/69/CH7/EX7.11/7_11.jpg new file mode 100755 index 000000000..4d7f273e1 Binary files /dev/null and b/69/CH7/EX7.11/7_11.jpg differ diff --git a/69/CH7/EX7.11/7_11.sce b/69/CH7/EX7.11/7_11.sce new file mode 100755 index 000000000..57f3ff558 --- /dev/null +++ b/69/CH7/EX7.11/7_11.sce @@ -0,0 +1,43 @@ +clear; clc; close; + +Id_on = 6*10^(-3); +Vgs_on = 8; +Vgs_th = 3; +Rd = 2*10^(3); +Vdd = 12; + +k = Id_on/(Vgs_on-Vgs_th); + +Vgs1 = Vgs_th; +Id1 = 0; +Vgs2 = 6; +Id2 = 0.24*10^(-3)*(6-3)^2; +Vgs3 = Vgs_on; +Id3 = Id_on; +Vgs4 = 10; +Id4 = 0.24*10^(-3)*(10-3)^2; + +x = [0 1 2 Vgs1 Vgs2 Vgs3 Vgs4]; +y = [0 0 0 Id1 Id2 Id3 Id4]; + +yi=smooth([x;y],0.1); +a = gca(); +a.thickness = 2; +a.y_location = 'left'; +a.x_label.text = 'Vgs'; +a.y_label.text = 'Id(mA)'; +a.title.text = 'Transfer curve for MOSFET'; +a.grid = [1 1]; +plot2d(yi(1,:)',yi(2,:)',[3]); + +Vgs = Vdd; //at Id = 0 +Id = Vdd/Rd; //at Vgs = 0 +x = 0:1:12; +y = (-0.5*10^(-3))*x + 6*10^(-3); +plot2d(x,y); +Idq = 2.75*10^(-3); +Vgsq = 6.4; +Vdsq = Vgsq; +disp(Idq,'Idq(Amperes) = '); +disp(Vdsq,'Vdsq(Volts) = '); + diff --git a/69/CH7/EX7.12/7_12.jpg b/69/CH7/EX7.12/7_12.jpg new file mode 100755 index 000000000..cd4eb51dc Binary files /dev/null and b/69/CH7/EX7.12/7_12.jpg differ diff --git a/69/CH7/EX7.12/7_12.sce b/69/CH7/EX7.12/7_12.sce new file mode 100755 index 000000000..763417a45 --- /dev/null +++ b/69/CH7/EX7.12/7_12.sce @@ -0,0 +1,37 @@ +clear; clc; close; + +Id_on = 3*10^(-3); +Vgs_on = 10; +Vgs_th = 5; +Vdd = 40; +R1 = 22*10^(6); +R2 = 18*10^(6); +Rs = 1*10^(3); +Rd = 3*10^(3); + +Vg = (R2*Vdd)/(R1+R2) +Vgs = 0:1:18; +Id = (Vg-Vgs)/Rs; +plot2d(Vgs,Id); +a = gca(); +a.thickness = 2; +a.y_location = 'left'; +a.x_label.text = 'Vgs'; +a.y_label.text = 'Id(mA)'; +a.title.text = 'Q-point for network'; +a.grid = [1 1]; + +k = Id_on/(Vgs_on-Vgs_th)^2; +Vgs = 5:1:18; +Id = k*(Vgs-Vgs_th)^2; +yi=smooth([Vgs;Id],0.1); +plot2d(yi(1,:)',yi(2,:)',[3]); + +Idq = 5.2*10^(-3); +Vgsq = 12.5; +Vds = Vdd-Idq*(Rs+Rd); + +disp(Idq,'Idq(Amperes) = '); +disp(Vgsq,'Vgsq(Volts) = ') +disp(Vds,'Vds(Volts) = '); + diff --git a/69/CH7/EX7.13/7_13.sce b/69/CH7/EX7.13/7_13.sce new file mode 100755 index 000000000..7724c59b1 --- /dev/null +++ b/69/CH7/EX7.13/7_13.sce @@ -0,0 +1,21 @@ +clear; clc; close; + +Idss = 12*10^(-3); +Vp = -3; +Vbe = 0.7; +Beta = 180; +Re = 1.6*10^(3); + +Vb = (24*10^(3)*16)/((82+24)*10^(3)); +Ve = Vb-Vbe; +Vre = Ve; +Ie = Vre/Re; +Ic = Ie; +Id = Ic; +Vd = 16-Id*(2.7*10^(3)); +Vgsq = -1.8; +Vc = Vb - Vgsq; + +disp(Vd,'Vd(Volts) = '); +disp(Vc,'Vc(Volts) = '); + diff --git a/69/CH7/EX7.14/7_14.sce b/69/CH7/EX7.14/7_14.sce new file mode 100755 index 000000000..3be1d270f --- /dev/null +++ b/69/CH7/EX7.14/7_14.sce @@ -0,0 +1,18 @@ +clear; clc; close; + +Idss = 12*10^(-3); +Vp = -3; +Vbe = 0.7; +Beta = 80; +Re = 1.6*10^(3); +Rs = 2.4*10^(3); + +Vgsq = -2.6; +Idq = 1*10^(-3); +Ic = Idq; +Ie = Ic; +Ib = Ic/Beta; +Vb = 16-Ib*(470*10^(3)); +Vd = Vb-Vbe; +disp(Vd,'Vd(Volts) = '); + diff --git a/69/CH7/EX7.15/7_15.sce b/69/CH7/EX7.15/7_15.sce new file mode 100755 index 000000000..3adc95146 --- /dev/null +++ b/69/CH7/EX7.15/7_15.sce @@ -0,0 +1,13 @@ +clear; clc; close; + +Vdd = 20; +Vdq = 12; +Idq = 2.5*10^(-3); +Vgsq = -1; +Rd = (Vdd-Vdq)/Idq; +Rs = -Vgsq/Idq; + +disp(Rd,'Rd(Ohms) = '); +disp(Rs,'Rs(Ohms) = '); +disp(3.3*10^(3),'Closest commercial value of Rd(Ohms) = '); +disp(0.39*10^(3),'Closest commercial value of Rs(Ohms) = '); diff --git a/69/CH7/EX7.16/7_16.sce b/69/CH7/EX7.16/7_16.sce new file mode 100755 index 000000000..9be1c729f --- /dev/null +++ b/69/CH7/EX7.16/7_16.sce @@ -0,0 +1,14 @@ +clear; clc; close; + +Vd =12; +Vdd = 16; +Vgsq = -2; +Rd = 1.8*10^(3); + +Vg = (47*10^(3)*16)/((47+91)*10^(3)); +Id = (Vdd-Vd)/Rd; + +Rs = (Vg-Vgsq)/Id; + +disp(Rs,'Rs(Ohms) = '); + diff --git a/69/CH7/EX7.17/7_17.sce b/69/CH7/EX7.17/7_17.sce new file mode 100755 index 000000000..ad3ca86ef --- /dev/null +++ b/69/CH7/EX7.17/7_17.sce @@ -0,0 +1,14 @@ +clear; clc; close; + +Id_on = 4*10^(-3); +Vgs_on = 6; +Vgs_th = 3; + +Vgs = Vgs_on; +Vdd = 2*Vgs; +Vds = Vgs; +Id = Id_on; + +Rd = (Vdd-Vds)/Id; + +disp(Rd,'Rd(Ohms) = '); diff --git a/69/CH7/EX7.18/7_18.sce b/69/CH7/EX7.18/7_18.sce new file mode 100755 index 000000000..cf1b8342f --- /dev/null +++ b/69/CH7/EX7.18/7_18.sce @@ -0,0 +1,49 @@ +clear; clc; close; + +Idss = 8*10^(-3); +Vp = 4; +Vdd = 20; +Rd = 4*10^(3); +Rs = 1.8*10^(3); + +Vg = 20*10^(3)*(-20)/((20+68)*10^(3)); + +Vgs1 = 0; +Id1 = Idss; +Vgs2 = Vp/2; +Id2 = Idss/4; +Vgs3 = Vp; +Id3 = 0; +x = [Vgs1 Vgs2 Vgs3]; +y = [Id1 Id2 Id3]; + +yi=smooth([x;y],0.1); +a = gca(); +a.thickness = 2; +a.data_bounds = [-5 0;5 8*10^(-3)]; +a.y_location = 'middle'; +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 = Vg+Id1*Rs; +Vgs2 = 0; +Id2 = (Vgs2-Vg)/Rs; +Id3 = 4*10^(-3); +Vgs3 = Vg+Id3*Rs; +x = [Vgs1 Vgs2 Vgs3]; +y = [Id1 Id2 Id3]; +plot2d(x,y); + + +Vgsq = 1.6; +Idq = 3.1*10^(-3); +Vds = -Vdd+Idq*(Rd+Rs); + +disp(Vgsq,'Q-point value of Vgs(found after interpolation) is :'); +disp(Idq,'Q-point value of Id(found after interpolation) is :'); +disp(Vds,'Vds(Volts) = '); diff --git a/69/CH7/EX7.19/7_19.sce b/69/CH7/EX7.19/7_19.sce new file mode 100755 index 000000000..dc293fb97 --- /dev/null +++ b/69/CH7/EX7.19/7_19.sce @@ -0,0 +1,14 @@ +clear; clc; close; + +Idss = 6*10^(-3); +Vp = -3; +Vdd = 16; +Rd = 3.9*10^(3); +Rs = 1.6*10^(3); + +m = abs(Vp)/(Idss*Rs); +Idq = 0.18*Idss; +Vgsq = -0.575*abs(Vp); + +disp(Vgsq,'Vgsq(Volts) = '); +disp(Idq,'Idq(Amperes) = '); diff --git a/69/CH7/EX7.2/7_2.jpg b/69/CH7/EX7.2/7_2.jpg new file mode 100755 index 000000000..aceaf7207 Binary files /dev/null and b/69/CH7/EX7.2/7_2.jpg differ diff --git a/69/CH7/EX7.2/7_2.sce b/69/CH7/EX7.2/7_2.sce new file mode 100755 index 000000000..3b2a4f787 --- /dev/null +++ b/69/CH7/EX7.2/7_2.sce @@ -0,0 +1,52 @@ +clear; clc; close; + +Idss = 8*10^(-3); +Vp = -6; +Vdd = 20; +Rd = 3.3*10^(3); +Rs = 1*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 = 'Device characteristics JFET'; +a.grid = [1 1]; +plot2d(yi(1,:)',yi(2,:)',[3]); + + +Vgs1 = 0; +Id1 = 0; +Id2 = 4*10^(-3); +Vgs2 = -Id2*Rs; +Id3 = 8*10^(-3); +Vgs3 = -Id3*Rs; +x = [Vgs1 Vgs2 Vgs3]; +y = [Id1 Id2 Id3]; +plot2d(x,y); + +Vgsq = -2.6; +disp(Vgsq,'Q-point value of Vgs(found after interpolation) is :'); + +Idq = 2.6*10^(-3); +Vds = Vdd - Idq*(Rs+Rd); +Vs = Idq*Rs; +Vg = 0; +Vd = Vds + Vs; + +disp(Idq,'Idq(Amperes) = '); +disp(Vds,'Vds(Volts) = '); +disp(Vd,'Vd(Volts) = '); +disp(Vg,'Vg(Volts) = '); +disp(Vs,'Vs(Volts) = '); diff --git a/69/CH7/EX7.20/7_20.sce b/69/CH7/EX7.20/7_20.sce new file mode 100755 index 000000000..adfaa9cdc --- /dev/null +++ b/69/CH7/EX7.20/7_20.sce @@ -0,0 +1,18 @@ +clear; clc; close; + +Idss = 8*10^(-3); +Vp = -6; +Vdd = 18; +Rs = 1.2*10^(3); +R1 = 2*10^(6); +R2 = 470*10^(3); + +m = abs(Vp)/(Idss*Rs); +Vg = R2*Vdd/(R1+R2); +M = m*(Vg/abs(Vp)); + +Idq = 0.52*Idss; +Vgsq = -0.27*abs(Vp); + +disp(Vgsq,'Vgsq(Volts) = '); +disp(Idq,'Idq(Amperes) = '); diff --git a/69/CH7/EX7.3/7_3.jpg b/69/CH7/EX7.3/7_3.jpg new file mode 100755 index 000000000..b7faaee20 Binary files /dev/null and b/69/CH7/EX7.3/7_3.jpg differ diff --git a/69/CH7/EX7.3/7_3.sce b/69/CH7/EX7.3/7_3.sce new file mode 100755 index 000000000..3aecfd04b --- /dev/null +++ b/69/CH7/EX7.3/7_3.sce @@ -0,0 +1,71 @@ +clear; clc; close; + +Rs = 100; +Idss = 8*10^(-3); +Vp = -6; +Vdd = 20; + +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 = 'Device characteristics JFET'; +a.grid = [1 1]; + +plot2d(yi(1,:)',yi(2,:)',[3]); + + +Vgs1 = 0; +Id1 = 0; +Id2 = 4*10^(-3); +Vgs2 = -Id2*Rs; +Id3 = 8*10^(-3); +Vgs3 = -Id3*Rs; +x = [Vgs1 Vgs2 Vgs3]; +y = [Id1 Id2 Id3]; +plot2d(x,y); + + + + +Idq = 6.4*10^(-3); +Vgsq = -0.64; +disp('From the figure,for part a i.e Rs=100Kohm,we get '); +disp(Idq,'Idq(Amperes) = '); +disp(Vgsq,'Vgsq(Volts) = '); + +//part b + +Rs = 10*10^(3); +Idss = 8*10^(-3); +Vp = -6; +Vdd = 20; + + + +Vgs1 = 0; +Id1 = 0; +Id2 = 4*10^(-3); +Vgs2 = -Id2*Rs; +Id3 = 8*10^(-3); +Vgs3 = -Id3*Rs; +x = [Vgs1 Vgs2 Vgs3]; +y = [Id1 Id2 Id3]; +plot2d(x,y); +a.data_bounds = [-8 0;0 8*10^(-3)]; +Idq = 0.46*10^(-3); +Vgsq = -4.6; +disp('From the figure,for part b i.e Rs=10Kohm,we get ') +disp(Idq,'Idq(Amperes) = '); +disp(Vgsq,'Vgsq(Volts) = '); diff --git a/69/CH7/EX7.4/7_4.jpg b/69/CH7/EX7.4/7_4.jpg new file mode 100755 index 000000000..c65b7f33a Binary files /dev/null and b/69/CH7/EX7.4/7_4.jpg differ diff --git a/69/CH7/EX7.4/7_4.sce b/69/CH7/EX7.4/7_4.sce new file mode 100755 index 000000000..c69614774 --- /dev/null +++ b/69/CH7/EX7.4/7_4.sce @@ -0,0 +1,54 @@ +clear; clc; close; + +Idss = 12*10^(-3); +Vp = -6; +Vdd = 12; +Rd = 1.5*10^(3); +Rs = 680; + +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 = 'Device characteristics JFET'; +a.grid = [1 1]; +plot2d(yi(1,:)',yi(2,:)',[3]); + + +Vgs1 = 0; +Id1 = 0; +Id2 = 4*10^(-3); +Vgs2 = -Id2*Rs; +Id3 = 8*10^(-3); +Vgs3 = -Id3*Rs; +x = [Vgs1 Vgs2 Vgs3]; +y = [Id1 Id2 Id3]; +plot2d(x,y); + + +Vgsq = -2.6; +disp(Vgsq,'Q-point value of Vgs(found after interpolation) is :'); + +Idq = 3.8*10^(-3); +Vd = Vdd - Idq*Rd; +Vg = 0; +Vs = Idq*Rs; +Vds = Vd-Vs; + +disp(Idq,'Idq(Amperes) = '); +disp(Vds,'Vds(Volts) = '); +disp(Vd,'Vd(Volts) = '); +disp(Vg,'Vg(Volts) = '); +disp(Vs,'Vs(Volts) = '); +disp(Vds,'Vds(Volts) = '); diff --git a/69/CH7/EX7.5/7_5.jpg b/69/CH7/EX7.5/7_5.jpg new file mode 100755 index 000000000..cc2aa25c3 Binary files /dev/null and b/69/CH7/EX7.5/7_5.jpg differ diff --git a/69/CH7/EX7.5/7_5.sce b/69/CH7/EX7.5/7_5.sce new file mode 100755 index 000000000..3b3cdae2c --- /dev/null +++ b/69/CH7/EX7.5/7_5.sce @@ -0,0 +1,60 @@ +clear; clc; close; + +Idss = 8*10^(-3); +Vp = -4; +Vdd = 16; +Rd = 2.4*10^(3); +Rs = 1.5*10^(3); +R1 = 2.1*10^(6); +R2 = 0.27*10^(6); +//finding Vg +Vg = R2*Vdd/(R1+R2); + +//plotting transfer curve + +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 determination'; +a.grid = [1 1]; +plot2d(yi(1,:)',yi(2,:)',[3]); + + +Id1 = 0; +Vgs1 = Vg-Id1*Rs; +Id2 = 4*10^(-3); +Vgs2 = Vg-Id2*Rs; +Id3 = 8*10^(-3); +Vgs3 = Vg-Id3*Rs; +x = [Vgs1 Vgs2 Vgs3]; +y = [Id1 Id2 Id3]; +plot2d(x,y); +a.data_bounds = [-4 0;2 8*10^(-3)]; + + +Vgsq = -1.8; +disp(Vgsq,'Q-point value of Vgs(found after interpolation) is :'); + +Idq = 2.4*10^(-3); + +Vd = Vdd-Idq*Rd; +Vs = Idq*Rs; +Vds = Vdd - Idq*(Rd+Rs); + +disp(Idq,'Idq(Amperes) = '); +disp(Vds,'Vds(Volts) = '); +disp(Vd,'Vd(Volts) = '); +disp(Vs,'Vs(Volts) = '); +disp(Vds,'Vds(Volts) = '); diff --git a/69/CH7/EX7.6/7_6.jpg b/69/CH7/EX7.6/7_6.jpg new file mode 100755 index 000000000..b85fc66d9 Binary files /dev/null and b/69/CH7/EX7.6/7_6.jpg differ 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) = '); diff --git a/69/CH7/EX7.7/7_7.jpg b/69/CH7/EX7.7/7_7.jpg new file mode 100755 index 000000000..2448f1767 Binary files /dev/null and b/69/CH7/EX7.7/7_7.jpg differ diff --git a/69/CH7/EX7.7/7_7.sce b/69/CH7/EX7.7/7_7.sce new file mode 100755 index 000000000..b209c0e5c --- /dev/null +++ b/69/CH7/EX7.7/7_7.sce @@ -0,0 +1,54 @@ +clear; clc; close; + +Idss = 6*10^(-3); +Vp = -3; +Vdd = 18; +Rd = 1.8*10^(3); +Rs = 750; + +Vg = 10*10^(6)*18/((10+110)*10^(6)); + +Vgs1 = Vp; +Id1 = 0; +Vgs2 = Vp/2; +Id2 = Idss/4; +Vgs3 = 0; +Id3 = Idss; +Vgs4 = 1; +Id4 = Idss*(1-(Vgs4/Vp))^2; +disp(Id4); +x = [Vgs1 Vgs2 Vgs3 Vgs4]; +y = [Id1 Id2 Id3 Id4]; + +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 = Vg-Id1*Rs; +Id2 = 3*10^(-3); +Vgs2 = Vg-Id2*Rs; +Id3 = 6*10^(-3); +Vgs3 = Vg-Id3*Rs; +x = [Vgs1 Vgs2 Vgs3]; +y = [Id1 Id2 Id3]; +plot2d(x,y); +a.data_bounds = [-3 0;2 10*10^(-3)]; + + +Vgsq = -0.8; +disp(Vgsq,'Q-point value of Vgs(found after interpolation) is :'); + +Idq = 3.1*10^(-3); + +Vds = Vdd - Idq*(Rd+Rs); + +disp(Idq,'Idq(Amperes) = '); +disp(Vds,'Vds(Volts) = '); diff --git a/69/CH7/EX7.8/7_8.jpg b/69/CH7/EX7.8/7_8.jpg new file mode 100755 index 000000000..6f74d04a6 Binary files /dev/null and b/69/CH7/EX7.8/7_8.jpg differ diff --git a/69/CH7/EX7.8/7_8.sce b/69/CH7/EX7.8/7_8.sce new file mode 100755 index 000000000..0e77b2f49 --- /dev/null +++ b/69/CH7/EX7.8/7_8.sce @@ -0,0 +1,59 @@ +clear; clc; close; + +Idss = 6*10^(-3); +Vp = -3; +Vdd = 18; +Rd = 1.8*10^(3); +Rs = 150; + + +Vg = 10*10^(6)*18/((10+110)*10^(6)); + +Vgs1 = Vp; +Id1 = 0; +Vgs2 = Vp/2; +Id2 = Idss/4; +Vgs3 = 0; +Id3 = Idss; +Vgs4 = 1; +Id4 = Idss*(1-(Vgs4/Vp))^2; +disp(Id4); +x = [Vgs1 Vgs2 Vgs3 Vgs4]; +y = [Id1 Id2 Id3 Id4]; + +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 = Vg-Id1*Rs; +Id2 = 3*10^(-3); +Vgs2 = Vg-Id2*Rs; +Id3 = 6*10^(-3); +Vgs3 = Vg-Id3*Rs; +Vgs4 = 0; +Id4 = (Vg - Vgs4)/Rs; +x = [Vgs1 Vgs2 Vgs3 Vgs4]; +y = [Id1 Id2 Id3 Id4]; +plot2d(x,y); +a.data_bounds = [-3 0;2 10*10^(-3)]; + + + + +Vgsq = 0.35; +disp(Vgsq,'Q-point value of Vgs(found after interpolation) is :'); + +Idq = 7.6*10^(-3); + +Vds = Vdd - Idq*(Rd+Rs); + +disp(Idq,'Idq(Amperes) = '); +disp(Vds,'Vds(Volts) = '); diff --git a/69/CH7/EX7.9/7_9.jpg b/69/CH7/EX7.9/7_9.jpg new file mode 100755 index 000000000..20e7b460a Binary files /dev/null and b/69/CH7/EX7.9/7_9.jpg differ diff --git a/69/CH7/EX7.9/7_9.sce b/69/CH7/EX7.9/7_9.sce new file mode 100755 index 000000000..a56e521d8 --- /dev/null +++ b/69/CH7/EX7.9/7_9.sce @@ -0,0 +1,51 @@ +clear; clc; close; + +Idss = 8*10^(-3); +Vp = -8; +Vdd = 20; +Rd = 6.2*10^(3); +Rs = 2.4*10^(3); + +Vgs1 = Vp; +Id1 = 0; +Vgs2 = Vp/2; +Id2 = Idss/4; +Vgs3 = 0; +Id3 = Idss; +Vgs4 = 2; +Id4 = Idss*(1-(Vgs4/Vp))^2; +x = [Vgs1 Vgs2 Vgs3 Vgs4]; +y = [Id1 Id2 Id3 Id4]; + +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 the network'; +a.grid = [1 1]; +plot2d(yi(1,:)',yi(2,:)',[3]); + + +Vgs1 = 0; +Id1 = 0; +Id2 = 4*10^(-3); +Vgs2 = -Id2*Rs; +Id3 = 8*10^(-3); +Vgs3 = -Id3*Rs; +x = [Vgs1 Vgs2 Vgs3]; +y = [Id1 Id2 Id3]; +plot2d(x,y); +a.data_bounds = [-8 0;0 13*10^(-3)]; + + +Vgsq = -4.3; +disp(Vgsq,'Q-point value of Vgs(found after interpolation) is :'); + +Idq = 1.7*10^(-3); + +Vd = Vdd - Idq*(Rd); + +disp(Idq,'Idq(Amperes) = '); +disp(Vd,'Vd(Volts) = '); -- cgit