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 --- 281/CH12/EX12.1/example12_1.sce | 33 +++++++++++++++ 281/CH12/EX12.2/example12_2.sce | 52 +++++++++++++++++++++++ 281/CH12/EX12.3/example12_3.sce | 38 +++++++++++++++++ 281/CH12/EX12.4/example12_4.sce | 93 +++++++++++++++++++++++++++++++++++++++++ 281/CH12/EX12.5/example12_5.sce | 32 ++++++++++++++ 281/CH12/EX12.6/example12_6.sce | 48 +++++++++++++++++++++ 281/CH12/EX12.7/example12_7.sce | 42 +++++++++++++++++++ 281/CH12/EX12.8/example12_8.sce | 21 ++++++++++ 8 files changed, 359 insertions(+) create mode 100755 281/CH12/EX12.1/example12_1.sce create mode 100755 281/CH12/EX12.2/example12_2.sce create mode 100755 281/CH12/EX12.3/example12_3.sce create mode 100755 281/CH12/EX12.4/example12_4.sce create mode 100755 281/CH12/EX12.5/example12_5.sce create mode 100755 281/CH12/EX12.6/example12_6.sce create mode 100755 281/CH12/EX12.7/example12_7.sce create mode 100755 281/CH12/EX12.8/example12_8.sce (limited to '281/CH12') diff --git a/281/CH12/EX12.1/example12_1.sce b/281/CH12/EX12.1/example12_1.sce new file mode 100755 index 000000000..68db5f67e --- /dev/null +++ b/281/CH12/EX12.1/example12_1.sce @@ -0,0 +1,33 @@ +disp('chapter 12 ex12.1') +disp('given') +disp("the dc voltage source is designed in ex 6.1 has") +disp("Vs=Vcc=12V Vo=6.3V R1=270ohm ") +disp("D1 is zener diode Ilmax=42mA") +Vs=12 +Vcc=12 +Vo=6.3 +R1=270 +Ilmax=.042 +disp("supply resistance=25 ohm") +Rs=25 +disp("from datasheet Zz=7ohm") +Zz=7 +disp("at 10% change in Vs") +DVs=.1*Vs +disp('volts',DVs) +DVo=DVs*Zz/R1 +disp(DVo,"DVo=") +disp("Line regulation=(DVo for 10%Vs change)*100/Vo") +LR=(DVo)*100/Vo +disp(LR,"LR in percentage") +DVo=Ilmax*Rs*Zz/R1 +disp(DVo,"DVo=") +disp("Load regulation=(DVo for DIl=Ilmax)*100/Vo") +LR=(DVo)*100/Vo +disp(LR,"Load regulation in percentage=") +Vro=Zz/R1 +disp(Vro,"Vro=Vrs*") +disp("Ripple rejection=20*log(Vrs/Vro)") +RR=20*log10(1/Vro) +disp(RR,"Ripple Rejection in DB= ") + diff --git a/281/CH12/EX12.2/example12_2.sce b/281/CH12/EX12.2/example12_2.sce new file mode 100755 index 000000000..5ec47db08 --- /dev/null +++ b/281/CH12/EX12.2/example12_2.sce @@ -0,0 +1,52 @@ +disp('chapter 12 ex12.2') +disp('given') +disp("output =12V") +Vo=12 +disp("max load current=50mA") +Il=.05 +disp("Vsmin=Vo+3 V") +Vsmin=Vo+3 +disp( 'volts',Vsmin) +disp("allowing Vrs=2V(p to p)") +Vrs=2 +disp("Vs=Vsmin+Vrs/2") +Vs=Vsmin+Vrs/2 +disp('volts',Vs) +disp("let Vz=Vs/2") +Vz=Vs/2 +disp('volts',Vz) +disp("Iz=20mA") +Iz=.02 +disp("R1=(Vs-Vz)/Iz") +R1=(Vs-Vz)/Iz +disp('ohms',R1) +disp("R1=390 ohm std value") +R1=390 +disp("let I2>>Ibmax I2=50uA") +I2=50*10^(-6) +disp("R2=(Vo-Vz)/I2") +Vz=8.2 +R2=(Vo-Vz)/I2 +disp('ohms',R2) +disp("R2=68kohm std value") +R2=68000 +disp("I2=(Vo-Vz)/R2") +I2=(Vo-Vz)/R2 +disp('amperes',I2) +disp("R3=Vz/Iz") +R3=Vz/I2 +disp('ohms',R3) +disp("use 150 k ohm std value") +R3=150000 +disp("select C1=50uF") +C1=50*10^(-6) +disp("Q1 specification") +disp("Vcemax=Vsmax=Vs+Vrs/2") +Vcemax=Vs+Vrs/2 +disp('volts',Vcemax) +Ie=Il +disp("P=Vce*Il=(Vs-Vo)*Il") +P=(Vs-Vo)*Il +disp('watts',P) +disp("A 2N718 is a suitable device") + diff --git a/281/CH12/EX12.3/example12_3.sce b/281/CH12/EX12.3/example12_3.sce new file mode 100755 index 000000000..a122c493d --- /dev/null +++ b/281/CH12/EX12.3/example12_3.sce @@ -0,0 +1,38 @@ +disp('chapter 12 ex12.3') +disp('given') +disp("considering example 12.2") +disp("supply source resistance=10ohm") +Rs=10 +disp("from IN756 datasheet Zz=8ohm") +Zz=8 +disp("At 10% change in Vs=16V is") +Vs=16 +DVs=.1*Vs +disp('volts',DVs) +disp("DVo=DVs*Zz*(R2+R3)/(R1*R3)") +disp("R2=68000 R1=390 R3=150000") +R2=68000 +R1=390 +R3=150000 +DVo=DVs*Zz*(R2+R3)/(R1*R3) +disp('volts',DVo) +disp("Line regulation=(DVo for 10%Vs change)*100/Vo and Vo=12V") +Vo=12 +LR=(DVo)*100/Vo +disp(LR,"LR in percentage") +disp("for Il change of 50mA") +Il=0.05 +disp("DVo=Il*Rs") +DVs=Il*Rs +disp('volts',DVs) +DVo=DVs*Zz*(R2+R3)/(R1*R3) +disp('volts',DVo) +disp("Load regulation=(DVo for DIl=Ilmax)*100/Vo") +LR=(DVo)*100/Vo +disp(LR,"Load regulation in percentage=") +disp("Vro=Vrs*Zz*(R2+R3)/(R1*R3)") +y=Zz*(R2+R3)/(R1*R3) +disp(y,"Vro=Vrs*") +disp("Ripple rejection=20*log(Vrs/Vro)") +RR=20*log10(1/y) +disp(RR,"Ripple Rejection in DB= ") diff --git a/281/CH12/EX12.4/example12_4.sce b/281/CH12/EX12.4/example12_4.sce new file mode 100755 index 000000000..543aa0a08 --- /dev/null +++ b/281/CH12/EX12.4/example12_4.sce @@ -0,0 +1,93 @@ +disp('chapter 12 ex12.4') +disp('given') +disp("output =10V to 15V") +Vomax=15 +disp("max load current=4000mA") +Il=.4 +disp("Vsmin=Vomax+3 V") +Vsmin=Vomax+3 +disp('volts',Vsmin) +disp("allowing Vrs=3V(p to p)") +Vrs=3 +disp("Vs=Vsmin+Vrs/2") +Vs=Vsmin+Vrs/2 +disp('volts',Vs) +disp("ZENER CIRCUIT") +disp("let Vz=Vo/2") +Vz=Vomax/2 +disp('volts',Vz) +disp("Iz=20mA") +Iz=.02 +disp("R1=(Vo-Vz)/Iz") +R1=(Vomax-Vz)/Iz +disp('ohms',R1) +disp("R1=330 ohm std value") +R1=390 +disp("POTENTIAL DIVIDER") +disp("let I2>>Ibmax I2=50uA Vomin=10") +I2=50*10^(-6) +Vomin=10 +disp("R2=(Vomin-Vz)/I2") +Vz=7.5 +R2=(Vomin-Vz)/I2 +disp('ohms',R2) +disp("R2=47kohm std value") +R2=47000 +disp("I2=(Vomin-Vz)/R2") +I2=(Vomin-Vz)/R2 +disp('amperes',I2) +disp("R34=R3+R4=Vz/Iz") +R34=Vz/I2 +disp('ohms',R34) +disp("when Vo is at its max,moving contact is at bottom of R4") +disp("I2=Vomax/(R2+R34)") +I2=Vomax/(R2+R34) +disp('amperes',I2) +disp("R3=Vz/Iz") +R3=Vz/I2 +disp('ohms',R3) +disp("use 100 k ohm std value") +R3=100000 +disp("R4=(R3+R4)-R3") +R4=R34-R3 +disp('ohms',R4) +disp("use 50 k ohm std value") +disp("CAPACITOR") +disp("select C1=100uF") +C1=100*10^(-6) +disp("Q1 specification") +disp("Vcemax=Vsmax=Vs+Vrs/2") +Vcemax=Vs+Vrs/2 +disp('volts',Vcemax) +Ie=Il +disp("P=Vce*Il=(Vs-Vomin)*Il") +P=(Vs-Vomin)*Il +disp('watts',P) +disp("A 2N3055 is a suitable device") +disp("Q2 specification") +disp("Vcemax=Vsmax=Vs+Vrs/2") +Vcemax=Vs+Vrs/2 +disp('volts',Vcemax) +disp("Ie=Il/hFE1 ,hFE1=20 for Q1") +hFE1=20 +Ie=Il/hFE1 +disp('amperes',Ie) +disp("P=Vce*Il=(Vs-Vomin)*Il") +P=(Vs-Vomin)*Il +disp('watts',P) +disp("A 2N3904 is a suitable device") +disp("R5 Calculation") +disp("let Ie2min=0.5mA,Vbe1=0.7") +Ie2min=0.5*10^(-3) +Vbe1=0.7 +disp("R5=(Vomin+Vbe1)/Ie2min") +R5=(Vomin+Vbe1)/Ie2min +disp('ohms',R5) +disp("R5=18kohm std value") +disp("OPERATIONAL AMPLIFIER") +disp("because I2 is sselected for bipolar opamp either a bipolar or BIFEt opamp can be used") +disp("supply voltage Vs=19.5V") +Vs=19.5 +disp("Input supply voltage range=Vs/2-Vz") +ipvoltage==(Vs/2)-Vz +disp('volts',ipvoltage) \ No newline at end of file diff --git a/281/CH12/EX12.5/example12_5.sce b/281/CH12/EX12.5/example12_5.sce new file mode 100755 index 000000000..079fc42ac --- /dev/null +++ b/281/CH12/EX12.5/example12_5.sce @@ -0,0 +1,32 @@ +disp('chapter 12 ex12.5') +disp('given') +disp("voltage regulator in 12.2 to have short circuit o/p current=60mA") +Isc=.06 +disp("R6=0.5/Isc") +R6=0.5/Isc +disp('ohms',R6) +disp("Let Ic3=5mA") +Ic3=.005 +disp("R7=Vs/Ic3") +disp("Vs=16") +Vs=16 +R7=Vs/Ic3 +disp('ohms',R7) +disp("Ib1max=Ilmax/hfe1 Ilmax=50mA hfe1=50") +hfe1=50 +Ilmax=.05 +Ib1max=Ilmax/hfe1 +disp('amperes',Ib1max) +disp("Vr7=1mA*R7") +Vr7=.001*3300 +disp('volts',Vr7) +disp("yhis volatage drop is too large for circuit to operate satisfactorily") +disp("to overcome we make use of darlington pair ") +disp("hfe2=50") +hfe2=50 +disp("Ib2max=Ilmax/(hfe1*hfe2)") +Ib2max=Ilmax/(hfe1*hfe2) +disp('amperes',Ib2max) +disp("under normal operating conditions Vr7=Ib2max*R7") +Vr7=Ib2max*3300 +disp('volts',Vr7) diff --git a/281/CH12/EX12.6/example12_6.sce b/281/CH12/EX12.6/example12_6.sce new file mode 100755 index 000000000..062d777c7 --- /dev/null +++ b/281/CH12/EX12.6/example12_6.sce @@ -0,0 +1,48 @@ +disp('chapter 12 ex12.6') +disp('given') +disp("design feedback limit for 12.4 and max circuit o/p current=400mA when limited foldback to 200mA") +Ilmax=0.4 +Isc=0.2 +disp("Vr6=0.5 at short circuit") +disp("R6=0.5/Isc") +R6=0.5/Isc +disp('ohms',R6) +disp("use 2.7 ohm std value") +R6=2.7 +disp("Vr6=Ilmax*R6") +Vr6=Ilmax*R6 +disp('volts',Vr6) +disp("Vr8=Vr6-0.5 Vr6=1") +Vr8=1-0.5 +disp('volts',Vr8) +disp("Ir8>>Ib3 hfe3=50 Ic3=5mA") +Ic3=0.005 +hfe3=50 +disp("Ib3=Ic3/hfe3") +Ib3=Ic3/hfe3 +disp('amperes',Ib3) +disp("let Ir8=1mA") +Ir8=0.001 +disp("R8=Vr8/Ir8") +R8=Vr8/Ir8 +disp('ohms',R8) +disp("use 470 ohm std value") +R8=470 +disp("using average level of Vo=12.5") +Vo=12.5 +disp("R9=(Vo-Vr8)/Ir8") +R9=(Vo-Vr8)/Ir8 +disp('ohms',R9) +disp("R7=Vs/Ic3 Vs=19.5") +Vs=19.5 +R7=Vs/Ic3 +disp('ohms',R7) +disp("hfe2=50 hfe1=20") +hfe2=50 +hfe1=20 +disp("Ib2max=Ilmax/(hfe1*hfe2)") +Ib2max=Ilmax/(hfe1*hfe2) +disp('amperes',Ib2max) +disp(" Vr7=Ib2max*R7") +Vr7=Ib2max*R7 +disp('volts',Vr7) diff --git a/281/CH12/EX12.7/example12_7.sce b/281/CH12/EX12.7/example12_7.sce new file mode 100755 index 000000000..97169c27b --- /dev/null +++ b/281/CH12/EX12.7/example12_7.sce @@ -0,0 +1,42 @@ +disp('chapter 12 ex12.7') +disp('given') +disp("voltage regulator to have o/p voltage=18V") +Vo=18 +disp("I2>>error amplifier input bias current") +disp("Let I2=1mA") +I2=0.001 +disp("Vr2=Vref=7.15") +Vr2=7.15 +Vref=7.15 +disp("R2=Vref/I2") +R2=Vref/I2 +disp('ohms',R2) +disp("use 6.8 kohm std value") +R2=6800 +disp("I2=7.15/6.8k") +I2=7.15/6800 +disp('amperes',I2) +disp("R1=(Vo-Vr2)/I2") +R1=(Vo-Vr2)/I2 +disp('ohms',R1) +disp("use 10 kohm std value") +R1=10000 +disp("for satisfactory operatiom of series pass transistor") +disp("Let Vs-Vo=5V Vs=Vo+5 ") +Vs=Vo+5 +disp('volts',Vs) +disp("Inteernal circuit current is approximately ") +disp("I=Istandby+Iref=25mA") +I=0.025 +disp("Internal power dissipation excluding series pass transistor ") +disp("Pi=(Istandby+Iref)*Vs") +Pi=(I)*Vs +disp('watts',Pi) +disp("Maximum power dissipated in series pass transistor") +disp("P=(specified Pdmax)-Pi Pdmax=1000mW") +Pdmax=1 +P=Pdmax-Pi +disp('watts',P) +disp("Maximum load current=P/(Vs-Vo)") +Ilmax=P/(Vs-Vo) +disp('amperes',Ilmax) diff --git a/281/CH12/EX12.8/example12_8.sce b/281/CH12/EX12.8/example12_8.sce new file mode 100755 index 000000000..ae48d5b9b --- /dev/null +++ b/281/CH12/EX12.8/example12_8.sce @@ -0,0 +1,21 @@ +disp('chapter 12 ex12.8') +disp('given') +disp("voltage regulator to have o/p voltage=9V") +Vo=9 +disp("I1>>(Iadj=100uA)") +disp("Let I1=5mA") +I1=0.005 +disp("R1=Vref/I1 Vref=1.25V") +Vref=1.25 +R1=Vref/I1 +disp('ohms',R1) +disp("use 270ohm std value and recalculate I1") +R1=270 +disp("I1=Vref/R1") +I1=Vref/R1 +disp('amperes',I1) +disp("R2=(Vo-Vr1)/I1, Vr1=1.25") +Vr1=1.25 +R2=(Vo-Vr1)/I1 +disp('ohms',R2) +disp("use 1.5kohm and 220 ohm in series") -- cgit