diff options
Diffstat (limited to '226/CH19')
26 files changed, 384 insertions, 0 deletions
diff --git a/226/CH19/EX19.1/example1_sce.sce b/226/CH19/EX19.1/example1_sce.sce new file mode 100755 index 000000000..f92a1aa28 --- /dev/null +++ b/226/CH19/EX19.1/example1_sce.sce @@ -0,0 +1,15 @@ +//chapter 19
+//example 19.1
+//page 810
+printf("\n")
+printf("given")
+Rpy=40;N1=74;N2=14;R2=3.7*10^3;R1=4.7*10^3;Vbe=.7;Re=1*10^3;Vcc=13;Rl=56;
+disp("Q-point")
+Vb=Vcc*(R2/(R1+R2))
+Ic=(Vb-Vbe)/Re
+Ie=Ic;
+Vce=Vcc-Ic*(Rpy+Re)
+rl=(N1/N2)^2 *Rl
+rl=rl+Rpy
+Ic=5*10^-3;
+Vce=Ic*rl
\ No newline at end of file diff --git a/226/CH19/EX19.10/example10_sce.sce b/226/CH19/EX19.10/example10_sce.sce new file mode 100755 index 000000000..cd8144cf6 --- /dev/null +++ b/226/CH19/EX19.10/example10_sce.sce @@ -0,0 +1,20 @@ +//chapter 19
+//example 19.10
+//page 838
+printf("\n")
+printf("given")
+Vb=3.2;Ic1=5*10^-3;Vce=3.2;Vbe=.7;
+Vbmin=Vb-.5
+Vbmax=Vb+.5
+I10=.1*Ic1
+R10=(Vce-Vbe)/I10
+R10=4.7*10^3;//use standard value
+disp(" for Vce=3.7")
+Vce=3.7;
+I10max=(Vce-Vbe)/R10
+disp("Vce=2.7V")
+Vce=2.7;
+I10min=(Vce-Vbe)/R10
+R=Vbe/I10min
+R11=Vbe/I10max
+R12=R-R11
diff --git a/226/CH19/EX19.11/example11_sce.sce b/226/CH19/EX19.11/example11_sce.sce new file mode 100755 index 000000000..b2e4e5169 --- /dev/null +++ b/226/CH19/EX19.11/example11_sce.sce @@ -0,0 +1,20 @@ +//chapter 19
+//example 19.11
+//page 843
+printf("\n")
+printf("given")
+Rl=16;Po=6;Vbe=.7;
+Vp=sqrt(2*Rl*Po)
+Vr14=.1*Vp;Vr15=Vr14;
+R14=.1*Rl;R15=R14;
+Vce3=1;Vce4=Vce3;
+Vr9=3;Vr11=Vr9;
+Vcc=(Vp+Vr14+Vbe+Vce3+Vr9)
+Vee=-Vcc;
+Ip=Vp/Rl
+disp(" DC power inpit from supply line")
+Pi=(Vcc-Vee)*.35*Ip
+disp(" output transistor specification")
+Pt=.5*(Pi-Po)
+Vce=2*Vcc
+Ic=1.1*Ip
\ No newline at end of file diff --git a/226/CH19/EX19.12/example12_sce.sce b/226/CH19/EX19.12/example12_sce.sce new file mode 100755 index 000000000..e7bf25022 --- /dev/null +++ b/226/CH19/EX19.12/example12_sce.sce @@ -0,0 +1,20 @@ +//chapter 19
+//example 19.12
+//page 844
+printf("\n")
+printf("given")
+hFE7=20;Icbo=50*10^-6;hFE5=70;Vr9=3;Ip=869*10^-3;R15=1.5;R8=15*10^3;Vbe=.7;Vr11=3;Vee=20;
+R12=.01/Icbo
+R12=220;//use standard value
+R13=R12;
+Ib5=Ip/(hFE7*hFE5)
+Ic3=2*10^-3;
+R9=Vr9/Ic3
+R11=R9;
+Iq78=.1*Ip
+Vr14=Iq78*R15
+Vr15=Vr14;
+Vr10=(Vr14+Vr15)+(Vr14+Vr15)/2
+R10=Vr10/Ic3
+Ir8=(Vr11+Vbe)/R8
+R7=(Vee-(Vr11+Vbe))/Ir8
\ No newline at end of file diff --git a/226/CH19/EX19.13/example13_sce.sce b/226/CH19/EX19.13/example13_sce.sce new file mode 100755 index 000000000..16b094a20 --- /dev/null +++ b/226/CH19/EX19.13/example13_sce.sce @@ -0,0 +1,18 @@ +//chapter 19
+//example 19.13
+//page 848
+printf("\n")
+printf("given")
+Rl=20;Po=2.5;Rd=4;Vr6=1;Vr9=Vr6;Vth=1;gFS=250*10^-3;Vbe=.7;
+Vp=sqrt(2*Rl*Po)
+Ip=Vp/Rl
+Vcc=(Vp+Ip*Rd)
+vr6=Ip/gFS
+Vr2=vr6+1
+Vce=Vr2;
+Vce3=1;
+Vr2=Vcc-Vce
+Vee=Vcc;
+Vr3=Vee-Vbe
+Vr7=Vr2-Vr6
+Vr8=Vcc-(-Vee)-Vr6-Vr7-Vr9
\ No newline at end of file diff --git a/226/CH19/EX19.14/example14_sce.sce b/226/CH19/EX19.14/example14_sce.sce new file mode 100755 index 000000000..a4a559b43 --- /dev/null +++ b/226/CH19/EX19.14/example14_sce.sce @@ -0,0 +1,15 @@ +//chapter 19
+//example 19.14
+//page 849
+printf("\n")
+printf("given")
+R6=100*10^3;R9=R6;Vth=1;Vr7=8;Vr8=14;Vr3=11.3;Vpout=10;Vpin=800*10^-3;
+I6=Vth/R6
+R7=Vr7/I6
+R8=Vr8/I6
+Ic1=1*10^-4;Ic2=Ic1;Vr2=9;
+R2=Vr2/Ic1
+R3=Vr3/(Ic1+Ic2)
+R5=4.7*10^3;
+Acl=Vpout/Vpin
+R4=R5/(Acl-1)
\ No newline at end of file diff --git a/226/CH19/EX19.15/example15_sce.sce b/226/CH19/EX19.15/example15_sce.sce new file mode 100755 index 000000000..1eae58208 --- /dev/null +++ b/226/CH19/EX19.15/example15_sce.sce @@ -0,0 +1,15 @@ +//chapter 19
+//example 19.15
+//page 854
+printf("\n")
+printf("given")
+Vce=1.5;Vcc=17;Vd1=.7;R8=1.5*10^3;R9=R8;Rl=100;R6=8.2;
+I4=(Vcc-Vd1)/(R8+R9)
+Vc3=Vcc-(I4*R8);
+printf(" bootstrap capacitance terminal voltage is %3.1fV\n",Vc3)
+V=Vcc-Vce//V=Vp+Vr6
+Ip=V/(Rl+R6)
+Vp=Ip*Rl;
+printf(" peak output voltage is %3.1fV\n",Vp)
+Po=(Vp)^2 /(2*Rl);
+printf(" peak output power is %dW\n",Po)
\ No newline at end of file diff --git a/226/CH19/EX19.16/example16_sce.sce b/226/CH19/EX19.16/example16_sce.sce new file mode 100755 index 000000000..efa83a212 --- /dev/null +++ b/226/CH19/EX19.16/example16_sce.sce @@ -0,0 +1,20 @@ +//chapter 19
+//example 19.16
+//page 856
+printf("\n")
+printf("given")
+Rl=8;Po=6;vs=.1;hFE=1000;Vce=2;f=50*10^3;Vd1=.7;
+Vp=sqrt(2*Rl*Po)
+Ip=Vp/Rl
+R6=.1*Rl
+R7=R6;
+Vcc=Vp+Ip*R6+Vce
+Ib=Ip/hFE
+I4=2*10^-3;
+R4=(Vcc-Vd1-Vd1)/I4
+R8=.5*R4
+Acl=Vp/vs
+R3=100*10^3;
+R2=R3/(Acl-1)
+SR=(2*3.14*f*Vp)*10^-6;
+printf(" slew rate is %3.2fV/us\n",SR)
\ No newline at end of file diff --git a/226/CH19/EX19.17/example17_sce.sce b/226/CH19/EX19.17/example17_sce.sce new file mode 100755 index 000000000..6ca1ba72c --- /dev/null +++ b/226/CH19/EX19.17/example17_sce.sce @@ -0,0 +1,11 @@ +//chapter 19
+//example 19.17
+//page 858
+printf("\n")
+printf("given")
+f=50;R1=100*10^3;R2=1*10^3;R8=2.7*10^3;R9=R8;
+C1=1/(2*3.14*f*.1*R1)
+C2=1/(2*3.14*f*R2)
+Xc3=.1*((R8*R9)/(R8+R9))
+C3=1/(2*3.14*f*Xc3)
+C4=C3
\ No newline at end of file diff --git a/226/CH19/EX19.18/example18_sce.sce b/226/CH19/EX19.18/example18_sce.sce new file mode 100755 index 000000000..9a029edeb --- /dev/null +++ b/226/CH19/EX19.18/example18_sce.sce @@ -0,0 +1,14 @@ +//chapter 19
+//example 19.18
+//page 860
+printf("\n")
+printf("given")
+Ismin=1.8*10^-3;Ismax=3.4*10^-3;R7=820;R5=390;R6=18*10^3;Vi=100*10^-3;Rl=10;
+Vgsmin=Ismin*R7
+Vgsmax=Ismax*R7
+Acl=(R5+R6)/R5
+Vp=Acl*Vi
+Ip=Vp/Rl;
+printf("peak output current is %3.3fA\n",Ip)
+Po=(Vp*Ip)/2;
+printf("peak output power is %3.2fW\n",Po)
\ No newline at end of file diff --git a/226/CH19/EX19.19/example19_sce.sce b/226/CH19/EX19.19/example19_sce.sce new file mode 100755 index 000000000..98c848242 --- /dev/null +++ b/226/CH19/EX19.19/example19_sce.sce @@ -0,0 +1,10 @@ +//chapter 19
+//example 19.19
+//page 862
+printf("\n")
+printf("given")
+Vbe=.7;R2=560;R3min=0;R3max=1*10^3;Is=2*10^-3;
+Ic2max=Vbe/(R2+R3min)
+Ic2min=Vbe/(R2+R3max)
+Vgsmin=(Is+Ic2min)*820
+Vgsmax=(Is+Ic2max)*820
\ No newline at end of file diff --git a/226/CH19/EX19.2/example2_sce.sce b/226/CH19/EX19.2/example2_sce.sce new file mode 100755 index 000000000..147242efe --- /dev/null +++ b/226/CH19/EX19.2/example2_sce.sce @@ -0,0 +1,11 @@ +//chapter 19
+//example 19.2
+//page 814
+printf("\n")
+printf("given")
+Vcc=13;Icq=5*10^-3;Vceq=8;Vp=Vceq;Ip=Icq;nt=.8;
+Pi=Vcc*Icq
+Po=.5*Vp*Ip
+P0=nt*Po
+n=(P0/Pi)*100;
+printf(" maximum efficiency is %3.2f percentage\n",n)
\ No newline at end of file diff --git a/226/CH19/EX19.20/example20_sce.sce b/226/CH19/EX19.20/example20_sce.sce new file mode 100755 index 000000000..896e34466 --- /dev/null +++ b/226/CH19/EX19.20/example20_sce.sce @@ -0,0 +1,13 @@ +//chapter 19
+//example 19.20
+//page 865
+printf("\n")
+printf("given")
+Vcc=12;Rl=10;Rd=.5;gfs=2.5;R7=820;V9=1*10^3;R10=R9;
+Vp=(Vcc*Rl)/(Rd+Rl)
+Ip=Vp/Rl
+Vgs=Ip/gfs
+Vr7=Is*R7
+Vs=Vcc-Vr7-Vgs
+disp(" op-amp peak output voltage is")
+Vr9=(Vp*R9)/(R9+R10)
\ No newline at end of file diff --git a/226/CH19/EX19.21/example21_sce.sce b/226/CH19/EX19.21/example21_sce.sce new file mode 100755 index 000000000..1e3b6996d --- /dev/null +++ b/226/CH19/EX19.21/example21_sce.sce @@ -0,0 +1,12 @@ +//chapter 19
+//example 19.21
+//page 867
+printf("\n")
+printf("given")
+Vbe=.7;R2=470;R3=1*10^3;Is=.5*10^-3;R7=1.5*10^3;Vcc=15;
+Ic2max=Vbe/R2
+Ic2min=Vbe/(R2+R3)
+Vgs=(Is+Ic2max)*R7;
+printf(" MOSFET maximum gate source voltage is %3.1fV\n",Vgs)
+Vs=Vcc-Vgs;
+printf(" op-amp minimum suppy is %3.2fV\n",Vs)
\ No newline at end of file diff --git a/226/CH19/EX19.22/example22_sce.sce b/226/CH19/EX19.22/example22_sce.sce new file mode 100755 index 000000000..28396843f --- /dev/null +++ b/226/CH19/EX19.22/example22_sce.sce @@ -0,0 +1,15 @@ +//chapter 19
+//example 19.22
+//page 868
+printf("\n")
+printf("given")
+Vcc=15;Rl=15;Rd=.3;R5=2.2*10^3;R6=33*10^3;C2=3.9*10^-6;C4=100*10^-12;
+disp(" power output")
+Vp=(Vcc*Rl)/(Rd+Rl)
+Ip=Vp/Rl
+Po=(Vp*Ip)/2
+disp(" voltage gain")
+Av=(R5+R6)/R5
+disp("cutoff frequency")
+f1=1/(2*3.14*C2*R5)
+f2=1/(2*3.14*C4*R6)
\ No newline at end of file diff --git a/226/CH19/EX19.23/example23_sce.sce b/226/CH19/EX19.23/example23_sce.sce new file mode 100755 index 000000000..070ea9575 --- /dev/null +++ b/226/CH19/EX19.23/example23_sce.sce @@ -0,0 +1,13 @@ +//chapter 19
+//example 19.23
+//page 871
+printf("\n")
+printf("given")
+Vcc=23;Rl=8;Rf2=100*10^3;Rf1=5.6*10^3;Cf=1*10^-6;
+Vp=Vcc-5
+Po=(Vp)^2 /(2*Rl);
+printf("maximum output power is %3.2fW\n",Po)
+Acl=(Rf1+Rf2)/Rf1;
+printf(" voltage gain %3.1f\n",Acl)
+f=1/(2*3.14*Cf*Rf1);
+printf("lower cutoff frequency is %dHz\n",f)
\ No newline at end of file diff --git a/226/CH19/EX19.24/example24_sce.sce b/226/CH19/EX19.24/example24_sce.sce new file mode 100755 index 000000000..938aed6de --- /dev/null +++ b/226/CH19/EX19.24/example24_sce.sce @@ -0,0 +1,10 @@ +//chapter 19
+//example 19.24
+//page 875
+printf("\n")
+printf("given")
+Rf=15*10^3;R1=5.6*10^3;vs=.5;Vp=2.7;
+Acl=(2*Rf)/R1
+Vo=Acl*vs
+Po=(Vp)^2 /(2*Rl);
+printf("load power dissipation is %3.2fW\n",Po)
\ No newline at end of file diff --git a/226/CH19/EX19.25/example25_sce.sce b/226/CH19/EX19.25/example25_sce.sce new file mode 100755 index 000000000..9f125a664 --- /dev/null +++ b/226/CH19/EX19.25/example25_sce.sce @@ -0,0 +1,16 @@ +//chapter 19
+//example 19.25
+//page 880
+printf("\n")
+printf("given")
+Vcc=10;Rl=1*10^3;f=3*10^6;Ip=25*10^-3;Vce=.3;
+Vp=Vcc-Vce
+Po=(Vp)^2 /(2*Rl)
+T=1/f
+t=(Po*T)/(Ip*Vp)
+angle=(t/T)*360;
+printf(" conduction angle is %3.1fdegree\n",angle)
+Idc=Po/Vp
+Pi=Vcc*Idc;
+printf( "dc input power is %3.4fW\n",Pi)
+n=(Po/Pi)*100//efficiency
\ No newline at end of file diff --git a/226/CH19/EX19.26/example26_sce.sce b/226/CH19/EX19.26/example26_sce.sce new file mode 100755 index 000000000..6b3c04bac --- /dev/null +++ b/226/CH19/EX19.26/example26_sce.sce @@ -0,0 +1,15 @@ +//chapter 19
+//example 19.26
+//page 882
+printf("\n")
+printf("given")
+f=1*10^6;Xc=120;Vce=.5;Vcc=30;Rl=1.2*10^3;O=100;
+Cp=1/(2*3.14*f*Xc)
+Cp=1300*10^-12;//use standard value
+Lp=1/(((2*3.14*f)^2)*Cp)
+Vp=Vcc-Vce
+Po=((Vp)^2) /(2*Rl)
+Idc=Po/Vp
+T=1/f
+t=(O*T)/360
+Ip=(Idc*T)/t
\ No newline at end of file diff --git a/226/CH19/EX19.27/example27_sce.sce b/226/CH19/EX19.27/example27_sce.sce new file mode 100755 index 000000000..6a1ddf83d --- /dev/null +++ b/226/CH19/EX19.27/example27_sce.sce @@ -0,0 +1,13 @@ +//chapter 19
+//example 19.27
+//page 883
+printf("\n")
+printf("given")
+Rw=.1;f=1*10^6;Lp=19.5*10^-6;Rl=1.2*10^3;Vcc=30;Idc=12.3*10^-3;
+QL=(2*3.14*f*Lp)/Rw
+Qp=Rl/(2*3.14*f*Lp)
+B=f/Qp
+Il=(.707*Vp)/(2*3.14*f*Lp)
+Pl=(Il)^2 *Rw
+Pi=(Vcc*Idc)+Pl
+n=(Po/Pi)*100
\ No newline at end of file diff --git a/226/CH19/EX19.4/example4_sce.sce b/226/CH19/EX19.4/example4_sce.sce new file mode 100755 index 000000000..517a6f350 --- /dev/null +++ b/226/CH19/EX19.4/example4_sce.sce @@ -0,0 +1,18 @@ +//chapter 19
+//example 19.4
+//page 821
+printf("\n")
+printf("given")
+N1=60;N2=10;Rl=16;Rpy=0;R6=56;Vcc=27;Vce=.5;n=.79;
+disp(" Referred laod")
+rl=(N1/N2)^2 *Rl
+disp(" tatol ac load line in series with each of Q2 and Q3")
+Rl=rl+R6+Rpy
+disp(" peak primary current")
+Ip=(Vcc-Vce)/Rl
+disp("peak primary voltage")
+Vp=Vcc-Vce-(Ip*R6)
+disp("power delivered to primary")
+Po=.5*Vp*Ip
+disp(" power delivered to the load")
+Po=Po*n//n is power efficiency
diff --git a/226/CH19/EX19.5/example5_sce.sce b/226/CH19/EX19.5/example5_sce.sce new file mode 100755 index 000000000..496dab5c0 --- /dev/null +++ b/226/CH19/EX19.5/example5_sce.sce @@ -0,0 +1,15 @@ +//chapter 19
+//example 19.5
+//page 824
+printf("\n")
+printf("given")
+Po=4;nt=.8;Vcc=30;Vp=Vcc;Rl=16;
+P0=Po/nt
+rl=(Vp)^2 /(2*P0)
+rl=4*rl
+disp("transformer specification Po=4 ,Rl=16 rl=360")
+Vce=2*Vcc
+Ip=(2*P0)/Vp
+Pi=Vcc*.636*Ip
+Pt=.5*(Pi-P0)
+disp(" transistor specification is Py=.68W Vce=60 Ip=333mA")
\ No newline at end of file diff --git a/226/CH19/EX19.6/example6_sce.sce b/226/CH19/EX19.6/example6_sce.sce new file mode 100755 index 000000000..286b4242a --- /dev/null +++ b/226/CH19/EX19.6/example6_sce.sce @@ -0,0 +1,23 @@ +//chapter 19
+//example 19.6
+//page 830
+printf("\n")
+printf("given")
+Rl=50;Po=1;hFE=50;Vbe=.7;Vrc=4;Vre=1;Vd1=.7;Vd2=Vd1;
+Vp=sqrt(2*Rl*Po)
+Ip=Vp/Rl
+Re3=.1*Rl;
+Re2=4.7;//use stabdard value
+Re2=Re3;
+Icq=.1*Ip
+Vb=Vbe+Icq*(Re2+Re3)+Vbe
+Vc1=Vrc;
+Ib2=Ip/hFE
+Irc=Ib2+1*10^-3
+Rc=Vrc/Irc
+Rc=680;//use standard value
+Vcc=2*(Vp+Vre+Vbe+Vrc)
+Vcc=32;//use standard value
+Vrcdc=.5*(Vcc-Vb)
+Ic1=Vrcdc/Rc
+Rb=(Vb-Vd1-Vd2)/Ic1
\ No newline at end of file diff --git a/226/CH19/EX19.7/example7_sce.sce b/226/CH19/EX19.7/example7_sce.sce new file mode 100755 index 000000000..979ff50aa --- /dev/null +++ b/226/CH19/EX19.7/example7_sce.sce @@ -0,0 +1,9 @@ +//chapter 19
+//example 19.7
+//page 832
+printf("\n")
+printf("given")
+Vcc=32;Vce=32;Ip=200*10^-3;Po=1;
+Ic=1.1*Ip
+Pi=.35*Vcc*Ip
+Pt=.5*(Pi-Po)
\ No newline at end of file diff --git a/226/CH19/EX19.8/example8_sce.sce b/226/CH19/EX19.8/example8_sce.sce new file mode 100755 index 000000000..78baf37d8 --- /dev/null +++ b/226/CH19/EX19.8/example8_sce.sce @@ -0,0 +1,8 @@ +//chapter 19
+//example 19.8
+//page 832
+printf("\n")
+printf("given")
+f=50;hib=2;Rl=50;
+Ce=1/(2*3.14*f*hib)
+Co=1/(2*3.14*50*.1*Rl)
\ No newline at end of file diff --git a/226/CH19/EX19.9/example9_sce.sce b/226/CH19/EX19.9/example9_sce.sce new file mode 100755 index 000000000..17aa9db26 --- /dev/null +++ b/226/CH19/EX19.9/example9_sce.sce @@ -0,0 +1,15 @@ +//chapter 19
+//example 19.9
+//page 834
+printf("\n")
+printf("given")
+hFE=2000;Vbe=1.4;Vp=10;Ip=200*10^-3;Icq2=20*10^-3;Re3=4.7;Re2=4.7;Vd=.7;
+Ve1=3;Vc1=15.2;Vrc=Vc1;
+Vb=Vbe+Icq*(Re2+Re3)+Vbe
+Vcc=Vrc+Vc1+Vb
+Ib2=Ip/hFE
+Irc=1*10^-3;
+Vrcac=4;
+Rc=Vrcac/Irc
+Ic1=Vrc/Rc
+Rb=(Vb-(4*Vd))/Ic1
\ No newline at end of file |