diff options
Diffstat (limited to '2330/CH9')
-rwxr-xr-x | 2330/CH9/EX9.1/ex9_1.sce | 44 | ||||
-rwxr-xr-x | 2330/CH9/EX9.10/ex9_10.sce | 17 | ||||
-rwxr-xr-x | 2330/CH9/EX9.11/ex9_11.sce | 25 | ||||
-rwxr-xr-x | 2330/CH9/EX9.12/ex9_12.sce | 16 | ||||
-rwxr-xr-x | 2330/CH9/EX9.2/ex9_2.sce | 27 | ||||
-rwxr-xr-x | 2330/CH9/EX9.3/ex9_3.sce | 22 | ||||
-rwxr-xr-x | 2330/CH9/EX9.4/ex9_4.sce | 21 | ||||
-rwxr-xr-x | 2330/CH9/EX9.5/ex9_5.sce | 38 | ||||
-rwxr-xr-x | 2330/CH9/EX9.6/ex9_6.sce | 32 | ||||
-rwxr-xr-x | 2330/CH9/EX9.7/ex9_7.sce | 16 | ||||
-rwxr-xr-x | 2330/CH9/EX9.9/ex9_9.sce | 33 |
11 files changed, 291 insertions, 0 deletions
diff --git a/2330/CH9/EX9.1/ex9_1.sce b/2330/CH9/EX9.1/ex9_1.sce new file mode 100755 index 000000000..63fcedd3f --- /dev/null +++ b/2330/CH9/EX9.1/ex9_1.sce @@ -0,0 +1,44 @@ +// Example 9.1
+format('v',6)
+clc;
+clear;
+close;
+// given data
+V_CC= 10;// in V
+V_BE= 0.7;// in V
+R1= 2.2;// in kΩ
+R2= 10;// in kΩ
+R_E= 1;// in kΩ
+R_C= 3.6;// in kΩ
+R= 1.5;// in kΩ
+// The base voltage
+V_B= R1*V_CC/(R1+R2);// in V
+// The emitter current,
+I_E= (V_B-V_BE)/R_E;// in mA
+// The collector current,
+I_CQ= I_E;// in mA
+// The collector emitter voltage,
+V_CE= V_CC-I_E*(R_C+R_E);// in V
+V_CEQ= V_CE;// in V
+// The saturation current,
+I_Csat= V_CC/(R_C+R_E);// in mA
+V_CEcutoff= V_CC;// in V
+V_CE= 0:0.1:V_CEcutoff;// in V
+I_C= (V_CC-V_CE)/(R_C+R_E);// in mA
+// The dc and ac load line
+subplot(121)
+plot(V_CE,I_C)
+xlabel("V_CE in volts")
+ylabel("I_C in mA");
+title("DC load line")
+r_L= R_C*R/(R_C+R);// in kΩ
+I_Csat= I_CQ+V_CEQ/r_L;// in mA
+Vce_cutoff= V_CEQ+I_CQ*r_L;// in V
+x=[0 Vce_cutoff];
+y=[I_Csat 0]
+subplot(122)
+plot(x,y)
+xlabel("V_CE in volts")
+ylabel("I_C in mA");
+title("AC load line")
+disp("DC and AC load line shown in figure.")
diff --git a/2330/CH9/EX9.10/ex9_10.sce b/2330/CH9/EX9.10/ex9_10.sce new file mode 100755 index 000000000..b106c8d34 --- /dev/null +++ b/2330/CH9/EX9.10/ex9_10.sce @@ -0,0 +1,17 @@ +// Example 9.10
+format('v',6)
+clc;
+clear;
+close;
+// given data
+R_C= 3.6;// in kΩ
+R_L= 1.5;// in kΩ
+V_CEQ= 4.94;// in V
+I_CQ= 1.1;// in mA
+// The quiescent power dissipation of the transistor,
+P_DQ= V_CEQ*I_CQ;// in mW
+r_L= R_C*R_L/(R_C+R_L);// in kΩ
+PP= 2*I_CQ*r_L;// in V
+// The maximum ac load power,
+P_Lmax= PP^2/(8*R_L);// in mW
+disp(P_Lmax,"The maximum ac load power in mW is : ")
diff --git a/2330/CH9/EX9.11/ex9_11.sce b/2330/CH9/EX9.11/ex9_11.sce new file mode 100755 index 000000000..7398d7f9b --- /dev/null +++ b/2330/CH9/EX9.11/ex9_11.sce @@ -0,0 +1,25 @@ +// Example 9.11
+format('v',6)
+clc;
+clear;
+close;
+// given data
+V_E= 1.71;// in V
+R_E= 240;// in Ω
+V_CC= 12;// in V
+R_C= 1*10^3;// in Ω
+R_L= 1*10^3;// in Ω
+I= 0.355*10^-3;// in A
+I_CQ= V_E/R_E;// in A
+I_C= I_CQ;// in A
+// The collector emitter voltage,
+V_CEQ= V_CC-I_C*(R_C+R_E);// in V
+r_L= R_C*R_L/(R_C+R_L);// in Ω
+PP= 2*V_CEQ;// in V
+// The maximum ac load power,
+P_Lmax= PP^2/(8*R_L);// in W
+I_CC= I_C+I;// in A
+P_CC= V_CC*I_CC;// in W
+// The efficiency
+Eta= P_Lmax/P_CC*100;// in %
+disp(Eta,"The efficiency in % is : ")
diff --git a/2330/CH9/EX9.12/ex9_12.sce b/2330/CH9/EX9.12/ex9_12.sce new file mode 100755 index 000000000..d47a4579c --- /dev/null +++ b/2330/CH9/EX9.12/ex9_12.sce @@ -0,0 +1,16 @@ +// Example 9.12
+format('v',6)
+clc;
+clear;
+close;
+// given data
+Ta= 70;// ambient temperature in °C
+P= 30;// in power dissipation in W
+theta_CS= 0.5;// in °C/W
+theta_SA= 1.5;// in °C/W
+// The case temperature
+Tc= Ta+P*(theta_CS+theta_SA);// in °C
+// The power rating
+P_Dmax= 60;// in W
+disp(Tc,"The case temperature in °C is : ");
+disp(P_Dmax,"The power rating in watt is : ")
diff --git a/2330/CH9/EX9.2/ex9_2.sce b/2330/CH9/EX9.2/ex9_2.sce new file mode 100755 index 000000000..8865003c7 --- /dev/null +++ b/2330/CH9/EX9.2/ex9_2.sce @@ -0,0 +1,27 @@ +// Example 9.2
+format('v',5)
+clc;
+clear;
+close;
+// given data
+V_BE= 0.7;// in V
+V_CC= 30;// in V
+R_E= 8.2;// in Ω
+R1= 22;// in Ω
+R2= 47;// in Ω
+R_C= 10;// in Ω
+R_L= 30;//in Ω
+// The base to ground voltage,
+V_B= R1*V_CC/(R1+R2);// in V
+// The emitter current,
+I_E= (V_B-V_BE)/R_E;// in A
+// The collector current,
+I_CQ= I_E;// in A
+// The collector emitter voltage,
+V_CEQ= V_CC-I_E*(R_E+R_C);// in V
+// The load resistance,
+r_L= R_C*R_L/(R_C+R_L);// in Ω
+I_Csat= I_E+V_CEQ/r_L;// in A
+Vce_cutoff= V_CEQ+I_CQ*r_L;// in V
+disp(Vce_cutoff,"The cut off value of V_CE in volts is : ")
+
diff --git a/2330/CH9/EX9.3/ex9_3.sce b/2330/CH9/EX9.3/ex9_3.sce new file mode 100755 index 000000000..0e2eba913 --- /dev/null +++ b/2330/CH9/EX9.3/ex9_3.sce @@ -0,0 +1,22 @@ +// Example 9.3
+format('v',6)
+clc;
+clear;
+close;
+// given data
+V_BE= 0.7;// in V
+V_CC= 20;// in V
+V_B= 10;// in V
+R_E= 50;// in Ω
+// The collector current,
+I_CQ= (V_B-V_BE)/R_E;// in A
+// The collector emitter voltage,
+V_CEQ= V_CC-I_CQ*R_E;// in V
+R1= 50;// in Ω
+R2= 50;// in Ω
+// The load resistance,
+r_L= R1*R2/(R1+R2);// in Ω
+I_Csat= I_CQ+V_CEQ/r_L;// in A
+Vce_cutoff= V_CEQ+I_CQ*r_L;// in V
+disp(Vce_cutoff,"The cut off value of V_CE in volts is : ")
+
diff --git a/2330/CH9/EX9.4/ex9_4.sce b/2330/CH9/EX9.4/ex9_4.sce new file mode 100755 index 000000000..4d411fc44 --- /dev/null +++ b/2330/CH9/EX9.4/ex9_4.sce @@ -0,0 +1,21 @@ +// Example 9.4
+format('v',5)
+clc;
+clear;
+close;
+// given data
+V_E= 1;// in V
+R_E=1*10^3;// in Ω
+V_CC= 10;// in V
+R_C= 4*10^3;// in Ω
+R_L= 10*10^3;// in Ω
+// The collector current,
+I_CQ= V_E/R_E;// in A
+I_C= I_CQ;// in A
+// The collector emitter voltage,
+V_CEQ= V_CC-I_C*(R_C+R_E);// in V
+// The load resistance,
+r_L= R_L*R_C/(R_L+R_C);// in Ω
+//The ac compliance,
+PP= 2*I_CQ*r_L;// in V
+disp(PP,"The ac compliance in volts is : ")
diff --git a/2330/CH9/EX9.5/ex9_5.sce b/2330/CH9/EX9.5/ex9_5.sce new file mode 100755 index 000000000..4891f6f0b --- /dev/null +++ b/2330/CH9/EX9.5/ex9_5.sce @@ -0,0 +1,38 @@ +// Example 9.5
+format('v',5)
+clc;
+clear;
+close;
+// given data
+V_E= 1;// in V
+R_E=1*10^3;// in Ω
+R_C= 4*10^3;// in Ω
+V_CC= 10;// in V
+I_CQ= V_E/R_E;// in A
+I_C= I_CQ;// in A
+V_CEQ= V_CC-I_C*(R_C+R_E);// in V
+// (i) when R_L = 1 MΩ, the value of 2I_CQrL
+R_L= 1*10^6;// in Ω
+r_L= R_L*R_C/(R_L+R_C);// in Ω
+I_CQrL= I_CQ*r_L;//in A
+disp(2*I_CQrL,"When R_L = 1 MΩ, the value of 2I_CQrL in volts is : ")
+// (ii) when R_L = 100 kΩ, the value of 2I_CQrL
+R_L= 100*10^3;// in Ω
+r_L= R_L*R_C/(R_L+R_C);// in Ω
+I_CQrL= I_CQ*r_L;//in A
+disp(2*I_CQrL,"When R_L = 100 kΩ, the value of 2I_CQrL in volts is : ")
+// (iii) when R_L = 10 kΩ, the value of 2I_CQrL
+R_L= 10*10^3;// in Ω
+r_L= R_L*R_C/(R_L+R_C);// in Ω
+I_CQrL= I_CQ*r_L;//in A
+disp(2*I_CQrL,"When R_L = 10 kΩ, the value of 2I_CQrL in volts is : ")
+// (iv) when R_L = 1 kΩ, the value of 2I_CQrL
+R_L= 1*10^3;// in Ω
+r_L= R_L*R_C/(R_L+R_C);// in Ω
+I_CQrL= I_CQ*r_L;//in A
+disp(2*I_CQrL,"When R_L = 1 kΩ, the value of 2I_CQrL in volts is : ")
+// (v) when R_L = 100 Ω, the value of 2I_CQrL
+R_L= 100;// in Ω
+r_L= R_L*R_C/(R_L+R_C);// in Ω
+I_CQrL= I_CQ*r_L;//in A
+disp(2*I_CQrL,"When R_L = 100 Ω, the value of 2I_CQrL in volts is : ")
diff --git a/2330/CH9/EX9.6/ex9_6.sce b/2330/CH9/EX9.6/ex9_6.sce new file mode 100755 index 000000000..b2d8450b5 --- /dev/null +++ b/2330/CH9/EX9.6/ex9_6.sce @@ -0,0 +1,32 @@ +// Example 9.6
+format('v',6)
+clc;
+clear;
+close;
+// given data
+V_CC= 12;// in V
+V_BE= 0.7;// in V
+I_CQ= 5*10^-3;// in A
+bita= 200;// unit less
+// The emitter voltage,
+V_E= 0.1*V_CC;// in V
+// The emitter current,
+I_E= I_CQ;// in A
+// The emitter resistance,
+R_E= V_E/I_E;// in Ω
+// The collector resistance,
+R_C= 4*R_E;// in Ω
+// The base voltage,
+V_B= V_E+V_BE;// in V
+I_C= I_CQ;// in A
+I_B= I_C/bita;// in A
+R= V_CC/(10*I_B);// in Ω
+R2= V_B/(10*I_B);// in Ω
+R1= R-R2;// in Ω
+R1= R1*10^-3;// in k ohm
+R2= R2*10^-3;// in k ohm
+R_C= R_C*10^-3;// in k ohm
+disp("The value of R1 is : "+string(R1)+" kΩ (standard value : 39 kΩ)")
+disp("The value of R2 is : "+string(R2)+" kΩ (standard value : 7.5 kΩ)")
+disp("The value of R_E is : "+string(R_E)+" Ω (standard value : 240 Ω)")
+disp("The value of R_C is : "+string(R_C)+" kΩ (standard value : 1 kΩ)")
diff --git a/2330/CH9/EX9.7/ex9_7.sce b/2330/CH9/EX9.7/ex9_7.sce new file mode 100755 index 000000000..977dcd0a6 --- /dev/null +++ b/2330/CH9/EX9.7/ex9_7.sce @@ -0,0 +1,16 @@ +// Example 9.7
+format('v',6)
+clc;
+clear;
+close;
+// given data
+I_CQ= 5*10^-3;// in A
+R_C= 1*10^3;// in Ω
+R_L= 1*10^3;// in Ω
+// The load resistance
+r_L= R_C*R_L/(R_C+R_L);// in Ω
+// The ac compliance,
+PP= 2*I_CQ*r_L;// in V
+I_CQ= 5.15*10^-3;// in A
+PP= 2*I_CQ*r_L;// in V
+disp(PP,"The ac compliance in volts is : ")
diff --git a/2330/CH9/EX9.9/ex9_9.sce b/2330/CH9/EX9.9/ex9_9.sce new file mode 100755 index 000000000..195cb3094 --- /dev/null +++ b/2330/CH9/EX9.9/ex9_9.sce @@ -0,0 +1,33 @@ +// Example 9.9
+format('v',6)
+clc;
+clear;
+close;
+// given data
+V_CC= 12;// in V
+V_BE= 0.7;// in V
+R_C= 1*10^3;// in Ω
+R_E= 240;// in Ω
+r_L= 500;// in Ω
+bita= 200;// unit less
+// The required collector current,
+I_CQ= V_CC/(R_C+R_E+r_L);// in A
+// The emitter voltage,
+V_E= I_CQ*R_E;// in V
+// The base voltage,
+V_B= V_E+V_BE;// in V
+I_C= I_CQ;// in A
+I_B= I_C/bita;// in A
+// The total resistance of the voltage divider,
+R= V_CC/(10*I_B);// in Ω
+R2= V_B/(10*I_B);// in Ω
+R1= R-R2;// in Ω
+R1= R1*10^-3;// in k ohm
+R2= R2*10^-3;// in k ohm
+R_C= R_C*10^-3;// in k ohm
+disp("The value of R1 is : "+string(R1)+" kΩ (standard value : 27 kΩ)")
+disp("The value of R2 is : "+string(R2)+" kΩ (standard value : 6.8 kΩ)")
+disp("The value of R_E is : "+string(R_E)+" Ω (standard value : 240 Ω)")
+disp("The value of R_C is : "+string(R_C)+" kΩ (standard value : 1 kΩ)")
+
+
|