diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1514/CH17 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1514/CH17')
-rwxr-xr-x | 1514/CH17/EX17.1/17_1.sce | 36 | ||||
-rwxr-xr-x | 1514/CH17/EX17.2/17_2.sce | 21 | ||||
-rwxr-xr-x | 1514/CH17/EX17.3/17_3.sce | 29 | ||||
-rwxr-xr-x | 1514/CH17/EX17.4/17_4.sce | 38 | ||||
-rwxr-xr-x | 1514/CH17/EX17.5/17_5.sce | 24 | ||||
-rwxr-xr-x | 1514/CH17/EX17.6/17_6.sce | 33 | ||||
-rwxr-xr-x | 1514/CH17/EX17.7/17_7.sce | 29 |
7 files changed, 210 insertions, 0 deletions
diff --git a/1514/CH17/EX17.1/17_1.sce b/1514/CH17/EX17.1/17_1.sce new file mode 100755 index 000000000..11d4dc262 --- /dev/null +++ b/1514/CH17/EX17.1/17_1.sce @@ -0,0 +1,36 @@ +//chapter 17
+//example 17.1
+//page 518
+clear;
+clc ;
+//given
+//dc load line
+Vcc=13;//supply voltage
+R1=4.7;R2=3.7;RE=1;
+Rpy=40;
+N1=74;N2=14;
+Rl=56;
+//plot point A(Vce,Ic)=(Vcc,0)
+VB=Vcc*R2/(R1+R2);
+VE=VB;
+VBE=VB-0.7;
+IE=VE/RE;
+IC=IE;
+VCE=Vcc-IC*(Rpy+RE);//plot point Q(VCE,IC)=(8,5)
+
+VCE=[13,8];
+IC=[0,5];
+plot(VCE,IC)
+xtitle('dc load line','VCE in V','IC in mA')
+
+//ac load line
+Rl'==(N1/N2)^2*Rl;
+//total ac load
+Rlac=(Rpy+Rl')/1000;
+deltaIC=5;
+deltaVCE=deltaIC*Rlac;
+//point B(VCE,IC)=(16,0)
+VCE=[8,16];
+IC=[5,0];
+figure,plot(VCE,IC,'r-.');
+xtitle('ac load line','VCE in V','IC in mA')
diff --git a/1514/CH17/EX17.2/17_2.sce b/1514/CH17/EX17.2/17_2.sce new file mode 100755 index 000000000..df97faa8c --- /dev/null +++ b/1514/CH17/EX17.2/17_2.sce @@ -0,0 +1,21 @@ +//chapter 17
+//example 17.2
+//page 522
+clear all;
+clc ;
+//given
+eta=80;//Xformer efficiency
+Vcc=13;//supply voltage
+ICQ=5;
+Pi=Vcc*ICQ;//ip power dissipation in mW
+VCEQ=8;
+Vp=VCEQ;
+ICEQ=5;
+Ip=ICEQ;
+//power delivered to Xformer primary
+Po1=(Vp*Ip)/2;
+//Xformer op power
+Po = eta * Po1 ;//mW
+//ckt efficiency
+efficiency=(Po/Pi);
+printf("\nMaximum ckt efficiency of class A amplifier =%.1f%%",efficiency);
diff --git a/1514/CH17/EX17.3/17_3.sce b/1514/CH17/EX17.3/17_3.sce new file mode 100755 index 000000000..6900913d7 --- /dev/null +++ b/1514/CH17/EX17.3/17_3.sce @@ -0,0 +1,29 @@ +//chapter 17
+//example 17.3
+//page 528
+clear all;
+clc ;
+//given
+Rl=16;//load resistance
+Vcc=30;//supply voltage
+eta=0.8;//Xformer efficiency
+Po=4;
+Po1=Po/eta;//ac power delivered to Xformer primary
+Vp=Vcc;
+Rl1=(Vp^2)/(2*Po1);
+Rl2=4*Rl1;
+printf("\nTransformer specification are:\nPo=%d W\nRl=%d ohm\nRl'''' =%d ohm center tapped",Po,Rl,Rl2);
+//max Xtor vol
+Vcemax=2*Vcc;
+Ip=(2*Po1)/Vp;
+//max Xtor current
+Icmax=1000*Ip;
+//dc ip power
+Iavg=0.636*Ip*1000;
+Pi=10^-3*Vcc*Iavg;
+//power in each op Xtor
+Pr=(Pi-Po1)/2;
+printf("\nTransistor specification are:\nPr=%.2f W\nVcemax=%d V\nIcmax=%d mA",Pr,Vcemax,Icmax);
+
+
+
diff --git a/1514/CH17/EX17.4/17_4.sce b/1514/CH17/EX17.4/17_4.sce new file mode 100755 index 000000000..579fa6171 --- /dev/null +++ b/1514/CH17/EX17.4/17_4.sce @@ -0,0 +1,38 @@ +//chapter 17
+//example 17.4
+//page 523
+clear all;
+clc ;
+//given
+Rl=100;//load resistance
+Po=0.5;//output power
+//peak output voltage
+Vp=sqrt(2*Rl*Po);
+//peak output current
+Ip=1000*(2*Po)/Vp;
+Vr6=0.1*Vp;
+Vr7=Vr6;
+R6=1000*Vr6/Ip;
+R7=R6;
+//quiscent current
+Iq2=Ip/10;
+//dc voltage across R4
+Vr4dc=0.7+10^-3*Iq2*(R6+R7)+0.7;
+//bias components for Q2 &Q3
+deltaVB=Vp+Vr6;
+Vce1dc=deltaVB+1;
+Vr3dc=Vce1dc;
+Vr5=5;//bias stabiliy
+Vcc=Vr5+Vce1dc+Vr4dc+Vr3dc;
+printf("\nVCC=%.1f V,use VCC=30 V",Vcc);Vcc=30;
+//Icq1>>Ibmax
+hfe=50;//assuming equal for all 3 Xtors
+Ibmax=Ip/hfe;
+Icq1=10;
+R3=Vr3dc/Icq1;
+R4=1000*Vr4dc/Icq1;
+printf("\nR3=%.1f kohm, standard value ",R3);
+printf("\nR4=%d kohm,use standard value 200 ohm",ceil(R4));
+printf("\nR6=R7=%d ohm",R6);
+
+
diff --git a/1514/CH17/EX17.5/17_5.sce b/1514/CH17/EX17.5/17_5.sce new file mode 100755 index 000000000..f2d4bdeed --- /dev/null +++ b/1514/CH17/EX17.5/17_5.sce @@ -0,0 +1,24 @@ +//chapter 17
+//example 17.5
+//page 535
+clear all;
+clc ;
+//given
+f1=20;//lower cutoff frequency Hz
+R3=1.2;//kohm
+Rl=100;//ohm
+Vcc=30;
+//Xc2<<R3 at f1
+C2=1000/(2*%pi*f1*R3/10);
+printf("\nc2=%.1f microF,use standard value 75 microF",C2);
+XC4=Rl;
+C4=10^6/(2*%pi*f1*Rl);
+printf("\nc4=%.1f microF,use standard value 80 microF",C4);
+Ip=100;
+Vcemax=Vcc;
+Icmax=1.1*Ip;
+//dc ip power
+Pidc=(Vcc*0.35*Ip)/1000;
+Poac=0.5;
+Pr=(Pidc-Poac)*0.5;
+printf("\nTransistor specification are:\nPr=%.2f W,Vcemax=%d V,Icmax=%d mA",Pr,Vcemax,Icmax);
diff --git a/1514/CH17/EX17.6/17_6.sce b/1514/CH17/EX17.6/17_6.sce new file mode 100755 index 000000000..2fda8d819 --- /dev/null +++ b/1514/CH17/EX17.6/17_6.sce @@ -0,0 +1,33 @@ +//chapter 17
+//example 17.6
+//page 543
+clear all;
+clc ;
+//given
+Rl=50;//load resistance
+Po=10;//op power
+//peak op voltage
+Vp=round(sqrt(2*Rl*Po));
+Vr14=0.1*Vp;//when Ip flows
+Vr15=Vr14;;
+Vce4min=1
+Vce3min=Vce4min;
+Vr9=3;
+Vr10=Vr9;
+Vcc=ceil(Vp+Vr14+Vce3min+0.7+Vr9);
+printf("\nVCC=%d V",Vcc);
+Ip=1000*(2*Po)/Vp;
+//dc ip power
+Iavg=0.636*Ip*1.1;
+Pi=10^-3*Vcc*Iavg;Pi=17.5;
+//power in each op Xtor Q7 & Q8
+Pr1=(Pi-Po)/2;
+Vcemax=Vcc-(-40);
+Icmax=ceil(1.1*Ip);
+printf("\nTransistor specification for Q7,Q8 are:\nPr=%.2f W,Vcemax=%d V,Icmax=%d mA",Pr1,Vcemax,Icmax);
+//power in each op Xtor Q5 & Q6
+Vcemax=2*Vcc;
+hfe=30;
+Icmax=ceil(1.1*Ip/hfe);
+Pr=1000*Pr1/hfe;
+printf("\nTransistor specification for Q5,Q6 are:\nPr=%d W,Vcemax=%d V,Icmax=%d mA",Pr,Vcemax,Icmax);
diff --git a/1514/CH17/EX17.7/17_7.sce b/1514/CH17/EX17.7/17_7.sce new file mode 100755 index 000000000..87d520248 --- /dev/null +++ b/1514/CH17/EX17.7/17_7.sce @@ -0,0 +1,29 @@ +//chapter 17
+//example 17.7
+//page 547
+clear;
+clc ;
+//given
+Rl=10;//load resistance
+Po=5;//op power
+Rdsmin=4;
+gm=250;//mA/V
+//peak op voltage
+Vp=round(sqrt(2*Rl*Po));
+Rl=20;
+Ip=Vp/Rl;
+//supply voltage
+Vcc=[Vp+(Ip*Rdsmin)];
+printf("\nVCC=+-%d V",Vcc);
+Vth=1;
+Vr13=Vth;Vr14=Vth;
+deltaVr14=10^-3*Ip/gm;
+deltaVr13=deltaVr14;
+//to avoid turn off of Q1,let
+deltaVr3=2;
+Vr3=deltaVr3+1;
+Vr7=Vr3;Vr6=Vr3;
+//to avoid saturation of Q2
+Vce2=Vp+Vr7+1;
+Vr4r5=2*Vcc-Vr6-Vr7-Vce2;
+printf("\nVoltage drops across R3,R6,R7 is %d V and across R4+R5 is %d V",Vr3,Vr4r5)
|