diff options
Diffstat (limited to '281/CH9')
-rwxr-xr-x | 281/CH9/EX9.1/example9_1.sce | 51 | ||||
-rwxr-xr-x | 281/CH9/EX9.2/example9_2.sce | 28 | ||||
-rwxr-xr-x | 281/CH9/EX9.3/example9_3.sce | 26 | ||||
-rwxr-xr-x | 281/CH9/EX9.4/example9_4.sce | 41 | ||||
-rwxr-xr-x | 281/CH9/EX9.5/example9_5.sce | 21 | ||||
-rwxr-xr-x | 281/CH9/EX9.6/example9_6.sce | 33 | ||||
-rwxr-xr-x | 281/CH9/EX9.7/example9_7.sce | 44 |
7 files changed, 244 insertions, 0 deletions
diff --git a/281/CH9/EX9.1/example9_1.sce b/281/CH9/EX9.1/example9_1.sce new file mode 100755 index 000000000..5b7339ea0 --- /dev/null +++ b/281/CH9/EX9.1/example9_1.sce @@ -0,0 +1,51 @@ +disp('chapter 9 ex9.1')
+disp('given')
+disp('design a suitable circuit using 741 op-amp with a supply of +or-12volt')
+disp('capacitor coupled zero crossing detector to handle 1kHz square wave input with peak-to-peak amplitude of 6volt')
+Vi=6
+f=1000
+Vcc=12
+disp('I2>IBmax')
+disp('let I2=100*500nA')
+IBmax=500*10^(-9)
+I2=100*500*10^(-9)
+disp('let Vb=0.1volt')
+Vb=0.1
+disp('VR2=Vcc-Vb')
+VR2=Vcc-Vb
+disp('volts',VR2)
+disp('R2=VR2/I2')
+R2=VR2/I2
+disp('ohms',R2)
+disp('use 220kohm standard value and recalculate I2')
+R2=220000
+disp('I2=VR2/R2')
+I2=VR2/R2
+disp('amperes',I2)
+disp('VR3=Vb=0.1volt')
+VR3=0.1
+disp('R3=VR3/I2')
+R3=VR3/I2
+disp('ohms',R3) //use a 1.8kohm standard value
+disp('let VBE=0.7volt')
+VBE=0.7
+disp('R1=0.1*VBE/IBmax')
+R1=0.1*VBE/IBmax
+disp('ohms',R1)
+disp('use R1=120kohm standard value')
+R1=120000
+disp('Vi(peak)=Vi/2')
+Vipeak=Vi/2
+disp('volts',Vipeak)
+disp('I1=Vipeak/R1')
+I1=Vipeak/R1
+disp('amperes',I1)
+disp('let v=1volt')
+v=1
+disp('t=1/(2*f)')
+t=1/(2*f)
+disp('seconds',t)
+disp('C1=I1*t/v')
+C1=I1*t/v
+disp('farads',C1)
+disp('use a 0.015*10^(-6)F standard value to give v<1volt')
diff --git a/281/CH9/EX9.2/example9_2.sce b/281/CH9/EX9.2/example9_2.sce new file mode 100755 index 000000000..f718ceab9 --- /dev/null +++ b/281/CH9/EX9.2/example9_2.sce @@ -0,0 +1,28 @@ +disp('chapter 9 ex9.2')
+disp('given')
+disp('for circuit designed in ex 9.1 estimate minimum op-amp slew rate to give a reasonably undistorted output')
+disp('Vcc=12volt,Vee=12volt and Vosat=1volt')
+disp('t=500*10^(-6)s')
+disp('R1=120kohm and C1=0.015*10^(-6)F')
+Vcc=12
+Vee=-12
+Vosat=1
+t=500*10^(-6)
+R1=120000
+C1=0.015*10^(-6)
+disp('vo=+Vosat-[-Vosat]=(Vcc-1)-(Vee+1)')
+vo=(Vcc-1)-(Vee+1)
+disp('volts',vo)
+disp('T=0.1*t')
+T=0.1*t
+disp('seconds',T)
+disp('Smin=vo/T')
+Smin=vo/T
+disp('V/us',Smin)
+disp('for a maximum phase shift of 2.9degree with a sine wave input')
+disp('Xc1=R1/20')
+Xc1=R1/20
+disp('ohms',Xc1)
+disp('fmin=1/(2*%pi*Xc1*C1)')
+fmin=1/(2*%pi*Xc1*C1)
+disp('Hz',fmin)
\ No newline at end of file diff --git a/281/CH9/EX9.3/example9_3.sce b/281/CH9/EX9.3/example9_3.sce new file mode 100755 index 000000000..bd09503de --- /dev/null +++ b/281/CH9/EX9.3/example9_3.sce @@ -0,0 +1,26 @@ +disp('chapter 9 ex9.3')
+disp('given')
+disp('design an inverting Schmitt trigger circuit to have trigger points of +or-2volt')
+disp('using 741 op-amp with a supply of +or-12volt')
+disp('I2>IBmax')
+disp('let I2=50*10^(-6)A')
+IBmax=500*10^(-9)
+I2=50*10^(-6)
+Vcc=12
+disp('VR2=UTP=2volt')
+VR2=2
+disp('R2=VR2/I2')
+R2=VR2/I2
+disp('ohms',R2)
+disp('use 39kohm standard value and recalculate I2')
+R2=39000
+disp('I2=VR2/R2')
+I2=VR2/R2
+disp('amperes',I2)
+disp('VR1=Vosat-VR2=(Vcc-1)-VR2')
+VR1=(Vcc-1)-VR2
+disp('volt',VR1)
+disp('R1=VR1/I2')
+R1=VR1/I2
+disp('ohms',R1)
+disp('use 180kohm standard value')
\ No newline at end of file diff --git a/281/CH9/EX9.4/example9_4.sce b/281/CH9/EX9.4/example9_4.sce new file mode 100755 index 000000000..64eecf4fe --- /dev/null +++ b/281/CH9/EX9.4/example9_4.sce @@ -0,0 +1,41 @@ +disp('chapter 9 ex9.4')
+disp('given')
+disp('design an noninverting Schmitt trigger circuit to have UTP=+3volt and LTP=-5volt')
+disp('using 741 op-amp with a supply of +or-15volt and Vf=0.7volt')
+Vcc=15
+Vf=0.7
+disp('design first for the UTP')
+disp('for adequate diode forward current,let I2=500*10^(-6)A')
+I2=500*10^(-6)
+disp('VR1=UTP=3volt')
+VR1=3
+disp('R1=VR1/I2')
+R1=VR1/I2
+disp('ohms',R1)
+disp('use 5.6kohm standard value and recalculate I2')
+R1=5600
+disp('I2=VR1/R1')
+I2=VR1/R1
+disp('amperes',I2)
+disp('VR2=|Vo|-Vf')
+VR2=(Vcc-1)-Vf
+disp('volts',VR2)
+disp('R2=VR2/I2')
+R2=VR2/I2
+disp('ohms',R2)
+disp('use series connected 22kohm and 2.7kohm standard value resistors')
+disp('now design for LTP,using already selected resistance R1=5.6kohm')
+disp('VR1=LTP=5volt')
+VR1=5
+disp('I3=VR1/R1')
+I3=VR1/R1
+disp('amperes',I3)
+disp('VR3=|Vo|-Vf')
+VR3=(Vcc-1)-Vf
+disp('volts',VR3)
+disp('R3=VR3/I3')
+R3=VR3/I3
+disp('ohms',R3)
+disp('use 15kohm standard value')
+disp('select tha diodes,minimum reverse voltage,Vr>Vcc=15volt')
+disp('trr<=min pulse width/10')
\ No newline at end of file diff --git a/281/CH9/EX9.5/example9_5.sce b/281/CH9/EX9.5/example9_5.sce new file mode 100755 index 000000000..0ccbe6f4a --- /dev/null +++ b/281/CH9/EX9.5/example9_5.sce @@ -0,0 +1,21 @@ +disp('chapter 9 ex9.5')
+disp('given')
+disp('for circuit designed in ex 9.4 calculate the actual UTP and LTP using standard resistance values')
+disp('using 741 op-amp with a supply of +or-15volt,Vf=0.7volt,R1=5.6kohm,R2=22kohm+2.7kohm and R3=15kohm')
+Vcc=15
+Vf=0.7
+R1=5600
+R2=24700
+R3=15000
+disp('I2=(|Vo|-Vf)/R2')
+I2=((Vcc-1)-Vf)/R2
+disp('amperes',I2)
+disp('UTP=I2*R1')
+UTP=I2*R1
+disp('volts',UTP)
+disp('I3=(|Vo|-Vf)/R3')
+I3=((Vcc-1)-Vf)/R3
+disp('amperes',I3)
+disp('LTP=-I3*R1')
+LTP=-I3*R1
+disp('volts',LTP)
\ No newline at end of file diff --git a/281/CH9/EX9.6/example9_6.sce b/281/CH9/EX9.6/example9_6.sce new file mode 100755 index 000000000..a55b3897b --- /dev/null +++ b/281/CH9/EX9.6/example9_6.sce @@ -0,0 +1,33 @@ +disp('chapter 9 ex9.6')
+disp('given')
+disp('design an astable multivibrator to have a+or-9volt output with frequency f=1kHz')
+disp('using BIFET op-amp for Vo=+or-9volt')
+Vo=9
+disp('Vcc=+or-(Vo+1)')
+Vcc=Vo+1
+disp('volts',Vcc)
+disp('select UTP and LTP<Vo')
+disp('let |UTP|=|LTP|=0.5volt')
+UTP=0.5
+LTP=-0.5
+disp('let R2=1Mohm')
+R2=1*10^(6)
+disp('I3=(|Vo|-UTP)/R2')
+I3=(Vo-UTP)/R2
+disp('amperes',I3)
+disp('R3=UTP/I3')
+R3=UTP/I3
+disp('ohms',R3)
+disp('use 5.6kohm standard value')
+disp('let C1=0.1*10^(-6)F')
+C1=0.1*10^(-6)
+disp('t=1/(2*f)')
+t=1/(2*f)
+disp('seconds',t)
+disp('I1=C1*(UTP-LTP)/t')
+I1=C1*(UTP-LTP)/t
+disp('amperes',I1)
+disp('R1=(Vo-UTP)/I1')
+R1=(Vo-UTP)/I1
+disp('ohms',R1)
+disp('use 39kohm and3.3kohm in series')
\ No newline at end of file diff --git a/281/CH9/EX9.7/example9_7.sce b/281/CH9/EX9.7/example9_7.sce new file mode 100755 index 000000000..7cb8f12a2 --- /dev/null +++ b/281/CH9/EX9.7/example9_7.sce @@ -0,0 +1,44 @@ +disp('chapter 9 ex9.7')
+disp('given')
+disp('design a monostable multivibrator to have output pulse width 1ms when triggered by 2volt,100*10^(-6)s input pulse')
+disp('using 741 op-amp with a supply of +or-12volt')
+PW=1*10^(-3)
+t=100*10^(-6)
+disp('I2>IBmax')
+disp('let I2=50*10^(-6)A and VBE=0.7volt')
+IBmax=500*10^(-9)
+I2=50*10^(-6)
+VBE=0.7
+Vcc=12
+disp('let VR2<Vi')
+disp('let VR2=0.5volt')
+VR2=0.5
+disp('R2=VR2/I2')
+R2=VR2/I2
+disp('ohms',R2) //standard value
+disp('R1=(Vcc-VR2)/I2')
+R1=(Vcc-VR2)/I2
+disp('ohms',R1)
+disp('use 220kohm standard value')
+R1=220000
+disp('E=VR2-[-Vosat]')
+E=VR2-[-Vcc+1]
+disp('volts',E)
+disp('Eo=-(+Vosat-VR2)')
+Eo=-(Vcc-1-VR2)
+disp('volts',Eo)
+disp('ec=Vosat')
+ec=Vcc-1
+disp('volts',ec)
+disp('C2=PW/((R1||R2)*ln[(E-Eo)/(E-ec)])')
+C2=PW/((R1*R2/(R1+R2))*2.303*log10([(E-Eo)/(E-ec)]))
+disp('farads',C2)
+disp('R3max=0.1*VBE/IBmax')
+R3max=0.1*VBE/IBmax
+disp('ohms',R3max)
+disp('use 120kohm standard value')
+R3=120000
+disp('C1=0.1*t/R3')
+C1=0.1*t/R3
+disp('farads',C1)
+disp('use 91pF standard value')
\ No newline at end of file |