summaryrefslogtreecommitdiff
path: root/281/CH5
diff options
context:
space:
mode:
Diffstat (limited to '281/CH5')
-rwxr-xr-x281/CH5/EX5.1/example5_1.SCE19
-rwxr-xr-x281/CH5/EX5.10/example5_10.sce29
-rwxr-xr-x281/CH5/EX5.11/example5_11.sce17
-rwxr-xr-x281/CH5/EX5.12/example5_12.sce36
-rwxr-xr-x281/CH5/EX5.13/example5_13.sce12
-rwxr-xr-x281/CH5/EX5.14/example5_14.sce10
-rwxr-xr-x281/CH5/EX5.15/example5_15.sce18
-rwxr-xr-x281/CH5/EX5.16/example5_16.sce36
-rwxr-xr-x281/CH5/EX5.2/example5_2.sce6
-rwxr-xr-x281/CH5/EX5.3/example5_3.sce27
-rwxr-xr-x281/CH5/EX5.4/example5_4.sce23
-rwxr-xr-x281/CH5/EX5.5/example5_5.sce9
-rwxr-xr-x281/CH5/EX5.6/example5_6.sce19
-rwxr-xr-x281/CH5/EX5.7/example5_7.sce12
-rwxr-xr-x281/CH5/EX5.8/example5_8.sce18
-rwxr-xr-x281/CH5/EX5.9/example5_9.sce21
16 files changed, 312 insertions, 0 deletions
diff --git a/281/CH5/EX5.1/example5_1.SCE b/281/CH5/EX5.1/example5_1.SCE
new file mode 100755
index 000000000..e3c130be6
--- /dev/null
+++ b/281/CH5/EX5.1/example5_1.SCE
@@ -0,0 +1,19 @@
+disp('chapter 5 ex5.1')
+disp('given')
+disp('maximum signal voltage Vs=.5volt')
+disp('voltage gain Av=10')
+disp('IBmax=1.5*10^(-6)A and I1=100*IBmax')
+Vs=.5
+Av=10
+IBmax=1.5*10^(-6)
+I1=100*IBmax
+disp('amperes',I1)
+disp('R1=Vs/I1')
+R1=Vs/I1
+disp('ohms',R1)
+disp('R2=Av*R1')
+R2=Av*R1
+disp('ohms',R2)
+disp('R3=R1||R2')
+R3=R1*R2/(R1+R2)
+disp('ohms',R3) \ No newline at end of file
diff --git a/281/CH5/EX5.10/example5_10.sce b/281/CH5/EX5.10/example5_10.sce
new file mode 100755
index 000000000..008d9b45a
--- /dev/null
+++ b/281/CH5/EX5.10/example5_10.sce
@@ -0,0 +1,29 @@
+disp('chapter 5 ex5.10')
+disp('given')
+disp('the output of sine wave Vp=.35Volt')
+disp('the typical slew rate for 741 op-amp S=.5V/1*10^(-6)s')
+disp('f2=800kHz')
+Vp=5
+S=.5/(1*10^(-6))
+f2=800000
+disp('tr(f2)=.35/f2')
+trf2=.35/f2
+disp('seconds',trf2)
+disp('tr(s)=Vp/S')
+trs=Vp/S
+disp('seconds',trs)
+disp('trs=1*10^(-6)')
+trs=1*10^(-6)
+disp('Vp=trs*S')
+Vp=trs*S
+disp('volts',Vp)
+disp('f2=100kHz')
+f2=100000
+disp('tr(f2)=.35/f2')
+trf2=.35/f2
+disp('seconds',trf2)
+disp('trs=3.5*10^(-6)')
+trs=3.5*10^(-6)
+disp('Vp=trs*S')
+Vp=trs*S
+disp('volts',Vp) \ No newline at end of file
diff --git a/281/CH5/EX5.11/example5_11.sce b/281/CH5/EX5.11/example5_11.sce
new file mode 100755
index 000000000..5fc0abb83
--- /dev/null
+++ b/281/CH5/EX5.11/example5_11.sce
@@ -0,0 +1,17 @@
+disp('chapter 5 ex5.11')
+disp('given')
+disp('R1=R3=2.2kohms')
+disp('R2=220kohms')
+disp('Rs=220ohms')
+Rs=220
+R1=2200
+R3=2200
+R2=220000
+disp('R=R3+R2||(R1+Rs)')
+R=R3+(R2*(R1+Rs)/(R2+R1+Rs))
+disp('ohms',R)
+disp('f=600kHz')
+f=600000
+disp('Cs=1/(2*%pi*f*10*R)')
+Cs=1/(2*%pi*f*10*R)
+disp('farads',Cs) \ No newline at end of file
diff --git a/281/CH5/EX5.12/example5_12.sce b/281/CH5/EX5.12/example5_12.sce
new file mode 100755
index 000000000..5f84bcf4a
--- /dev/null
+++ b/281/CH5/EX5.12/example5_12.sce
@@ -0,0 +1,36 @@
+disp('chapter 5 ex5.12')
+disp('given')
+disp('R1=R3=2200ohms')
+disp('R2=220kohms')
+disp('Rs=220ohms')
+Rs=220
+R1=2200
+R3=2200
+R2=220000
+disp('R=R2+R3')
+R=R2+R3
+disp('ohms',R)
+disp('f=600kHz')
+f=600000
+disp('Cs=1/(2*%pi*f*10*R)')
+Cs=1/(2*%pi*f*10*R)
+disp('farads',Cs)
+disp('R=R2||(R1+Rs)')
+R=R2*(R1+Rs)/(R2+R1+Rs)
+disp('ohms',R)
+disp('Cs=1/(2*%pi*f*10*R)')
+Cs=1/(2*%pi*f*10*R)
+disp('farads',Cs)
+disp('R=R3+R2||(R1+Rs)')
+disp('R1=R3=220ohms')
+disp('R2=22kohms')
+disp('Rs=22ohms')
+Rs=22
+R1=220
+R3=220
+R2=22000
+R=R3+(R2*(R1+Rs)/(R2+R1+Rs))
+disp('ohms',R)
+disp('Cs=1/(2*%pi*f*10*R)')
+Cs=1/(2*%pi*f*10*R)
+disp('farads',Cs) \ No newline at end of file
diff --git a/281/CH5/EX5.13/example5_13.sce b/281/CH5/EX5.13/example5_13.sce
new file mode 100755
index 000000000..ece3089a7
--- /dev/null
+++ b/281/CH5/EX5.13/example5_13.sce
@@ -0,0 +1,12 @@
+disp('chapter 5 ex5.13')
+disp('given')
+disp('Determining the feedback capacitor')
+disp('R1=220ohms')
+disp('R2=22kohms')
+disp('Cs from example 5.12=58pF')
+R1=220
+R2=22000
+Cs=58*10^(-12)
+disp('C2=R1*Cs/R2')
+C2=R1*Cs/R2
+disp('farads',C2) \ No newline at end of file
diff --git a/281/CH5/EX5.14/example5_14.sce b/281/CH5/EX5.14/example5_14.sce
new file mode 100755
index 000000000..9482350cf
--- /dev/null
+++ b/281/CH5/EX5.14/example5_14.sce
@@ -0,0 +1,10 @@
+disp('chapter 5 ex5.14')
+disp('given')
+disp('Determine the load capacitance')
+disp('from the data sheet Ro=150ohm')
+Ro=150
+disp('f=600kHz')
+f=600000
+disp('Cs=1/(2*%pi*f*10*Ro)')
+Cs=1/(2*%pi*f*10*Ro)
+disp('farads',Cs) \ No newline at end of file
diff --git a/281/CH5/EX5.15/example5_15.sce b/281/CH5/EX5.15/example5_15.sce
new file mode 100755
index 000000000..874f83c0e
--- /dev/null
+++ b/281/CH5/EX5.15/example5_15.sce
@@ -0,0 +1,18 @@
+disp('chapter 5 ex5.15')
+disp('given')
+disp('Determine the feedback capacitance')
+disp('from the data sheet Ro=150ohm')
+Ro=150
+disp('R2=220kohms')
+R2=220000
+disp('load capacitance CL=.1*10^(-6)F')
+CL=.1*10^(-6)
+disp('C2=Ro/R2*CL')
+C2=Ro/R2*CL
+disp('farads',C2)
+disp('additional resistor R=470ohm')
+R=470
+disp('C2=(Ro+R)/R2*CL')
+C2=(Ro+R)/R2*CL
+disp('farads',C2)
+disp('use 300pF standard value') \ No newline at end of file
diff --git a/281/CH5/EX5.16/example5_16.sce b/281/CH5/EX5.16/example5_16.sce
new file mode 100755
index 000000000..7905cd390
--- /dev/null
+++ b/281/CH5/EX5.16/example5_16.sce
@@ -0,0 +1,36 @@
+disp('chapter 5 ex5.16')
+disp('given')
+disp('calculating R4 and C4 for high Zin Mod for ex 5.4')
+disp('assuming R3 is a short circuit')
+disp('circuit is designed to have Av=1/beta')
+beta=0.01
+Av=1/beta
+disp(Av,'Av=')
+Avindb=20*log10(Av)
+disp(Avindb,'Av in db=')
+disp('to reduce next compensating components select 1/beta1=1000=60db')
+disp('1/beta1=((r1||r4)+r2)/(r1||r4)')
+disp('r2=220kohms,r1=2.2kohm')
+disp('r14=r1||r4=r2/(1000-1)')
+r2=220000
+r1=2200
+r14=r2/(1000-1)
+disp('ohms',r14)
+disp('(1/r4)=(1/220)-(1/r1)')
+g4=(1/r14)-(1/r1)
+r4=1/g4
+disp('ohms',r4)
+disp('use 220ohm std value')
+r4=220
+disp('the compensating components for 1/beta1=60db are c1=10pf,r1=0,c2=3pf')
+c1=10*10^(-12)
+c2=3*10^(-12)
+r1=0
+disp('the frequency at which M*beta=1 is found and is equal to 2MHz')
+f2=2000000
+disp('Xc4<<r4 therefore Xc4=r4/10')
+Xc4=r4/10
+disp('ohms',Xc4)
+disp('C4=1/(2*%pi*f2*Xc4)')
+C4=1/(2*%pi*f2*Xc4)
+disp('farads',C4)
diff --git a/281/CH5/EX5.2/example5_2.sce b/281/CH5/EX5.2/example5_2.sce
new file mode 100755
index 000000000..5ffe28abe
--- /dev/null
+++ b/281/CH5/EX5.2/example5_2.sce
@@ -0,0 +1,6 @@
+disp('chapter 5 ex5.2')
+disp('given')
+disp('714 op-amp is used as a voltage follower')
+disp('voltage gain Av=1')
+Av=1
+disp('C1=500pF C2=2000pF C3=1000pF') \ No newline at end of file
diff --git a/281/CH5/EX5.3/example5_3.sce b/281/CH5/EX5.3/example5_3.sce
new file mode 100755
index 000000000..3b28cfdb7
--- /dev/null
+++ b/281/CH5/EX5.3/example5_3.sce
@@ -0,0 +1,27 @@
+disp('chapter 5 ex5.3')
+disp('given')
+disp('LM108 op-amp is used design an inverting amplifier')
+disp('V1=100mV')
+V1=100*10^(-3)
+disp('voltage gain Av=3')
+Av=3
+disp('IBmax=2nA and I1=100*IBmax')
+IBmax=2*10^(-9)
+I1=100*IBmax
+disp('amperes',I1)
+disp('R1=V1/I1')
+R1=V1/I1
+disp('ohms',R1)
+disp('standard value R1=470kohms')
+R1=470000
+disp('R2=Av*R1')
+R2=Av*R1
+disp('ohms',R2)
+disp('standard value R2=1.5Mohms')
+R2=1.5*10^(6)
+disp('R3=R1||R2')
+R3=R1*R2/(R1+R2)
+disp('ohms',R3)
+disp('Cf=30pF*R1/(R1+R2)')
+Cf=30*10^(-12)*R1/(R1+R2)
+disp('farads',Cf) \ No newline at end of file
diff --git a/281/CH5/EX5.4/example5_4.sce b/281/CH5/EX5.4/example5_4.sce
new file mode 100755
index 000000000..d21526919
--- /dev/null
+++ b/281/CH5/EX5.4/example5_4.sce
@@ -0,0 +1,23 @@
+disp('chapter 5 ex5.4')
+disp('given')
+disp('709 op-amp is used design an inverting amplifier')
+disp('Vs=50mV')
+Vs=50*10^(-3)
+disp('voltage gain Av=100')
+Av=100
+disp('IBmax=2nA and I1=100*IBmax')
+IBmax=2*10^(-9)
+I1=100*IBmax
+disp('amperes',I1)
+disp('R1=Vs/I1')
+R1=Vs/I1
+disp('ohms',R1)
+disp('standard value R1=2.2kohms')
+R1=2200
+disp('R2=Av*R1')
+R2=Av*R1
+disp('ohms',R2)
+disp('R3=R1||R2')
+R3=R1*R2/(R1+R2)
+disp('ohms',R3)
+disp('Av=100=40dB') \ No newline at end of file
diff --git a/281/CH5/EX5.5/example5_5.sce b/281/CH5/EX5.5/example5_5.sce
new file mode 100755
index 000000000..2cef022a6
--- /dev/null
+++ b/281/CH5/EX5.5/example5_5.sce
@@ -0,0 +1,9 @@
+disp('chapter 5 ex5.5')
+disp('given')
+disp('709 op-amp is used to design an noninverting amplifier')
+disp('voltage gain Av=50')
+Av=50
+disp('voltage gain Av=50=34dB')
+disp('compensation components are listed for Av=20dB and for Av=40dB')
+disp('for over compensation use components for Av=20dB')
+disp('C1=500pF R1=1.5kohms C2=20pF') \ No newline at end of file
diff --git a/281/CH5/EX5.6/example5_6.sce b/281/CH5/EX5.6/example5_6.sce
new file mode 100755
index 000000000..839c67bd4
--- /dev/null
+++ b/281/CH5/EX5.6/example5_6.sce
@@ -0,0 +1,19 @@
+disp('chapter 5 ex5.6')
+disp('given')
+disp('741 op-amp is used to design an noninverting amplifier')
+disp('voltage gain Av=100')
+Av=100
+disp("F2 occurs at")
+M=20*log10(Av)
+disp('db',M)
+disp("from the graph")
+disp("from the intersection of the line and open loop frequency responce")
+disp("F2 occurs at" )
+F2=8000
+disp('Hz',F2)
+disp('709 op-amp is used design an noninverting amplifier')
+disp("from the graph")
+disp("from the intersection of the line and open loop frequency responce")
+disp("F2 occurs at" )
+F2=6000
+disp('Hz',F2) \ No newline at end of file
diff --git a/281/CH5/EX5.7/example5_7.sce b/281/CH5/EX5.7/example5_7.sce
new file mode 100755
index 000000000..64f496bf7
--- /dev/null
+++ b/281/CH5/EX5.7/example5_7.sce
@@ -0,0 +1,12 @@
+disp('chapter 5 ex5.7')
+disp('given')
+disp('Using the gain-bandwidth product estimate upper cut off frequencies in example5.6')
+disp('741 op-amp')
+disp('fu=800kHz and Av=100')
+fu=800000
+Av=100
+disp('f2=fu/Av')
+f2=fu/Av
+disp('Hz',f2)
+disp('For 709 op-amp with C1=100pF R1=1.5kohms C2=3pF')
+disp('cutoff frequency cannot be calculated with above compensating components because voltage gain doesnot fall off at 20dB per decade throughout frequency response') \ No newline at end of file
diff --git a/281/CH5/EX5.8/example5_8.sce b/281/CH5/EX5.8/example5_8.sce
new file mode 100755
index 000000000..fb4b95773
--- /dev/null
+++ b/281/CH5/EX5.8/example5_8.sce
@@ -0,0 +1,18 @@
+disp('chapter 5 ex5.8')
+disp('given')
+disp('Using the gain-bandwidth product estimate upper cut off frequencies')
+disp('741 op-amp')
+disp('fu=800kHz and Av=1')
+fu=800000
+Av=1
+disp('f2=fu/Av')
+f2=fu/Av
+disp('Hz',f2)
+disp('for unity gain R1=R2')
+disp('Av=(R1+R2)/R1')
+R1=R2
+Av=(R1+R2)/R1
+disp(Av)
+disp('f2=fu/Av')
+f2=fu/Av
+disp('Hz',f2) \ No newline at end of file
diff --git a/281/CH5/EX5.9/example5_9.sce b/281/CH5/EX5.9/example5_9.sce
new file mode 100755
index 000000000..030e050f0
--- /dev/null
+++ b/281/CH5/EX5.9/example5_9.sce
@@ -0,0 +1,21 @@
+disp('chapter 5 ex5.9')
+disp('given')
+disp('the output of sine wave Vp=5Volt')
+disp('the typical slew rate for 741 op-amp S=.5V/1*10^(-6)s')
+Vp=5
+S=.5/(1*10^(-6))
+disp('fs=S/(2*%pi*Vp)')
+fs=S/(2*%pi*Vp)
+disp('Hz',fs)
+disp('The slew rate-limited frequency should be equal to cutoff frequency')
+disp('fs=f2=800kHz')
+f2=800000
+fs=f2
+disp('Vp=S/(2*%pi*fs)')
+Vp=S/(2*%pi*fs)
+disp('volts',Vp)
+disp('741 op-amp f2=8kHz')
+f2=8000
+disp('Vp=S/(2*%pi*f2)')
+Vp=S/(2*%pi*f2)
+disp('volts',Vp) \ No newline at end of file