Chapter - 32 : OPERATIONAL AMPLIFIERS

Ex 32.1 Pg 919

In [1]:
from __future__ import division
from math import log10
Adm=200000#
Acm=6.33#
CMRR=20*log10(Adm/Acm)#
print 'CMRR=%0.2f dB'%CMRR
CMRR=89.99 dB

Ex 32.2 Pg 919

In [2]:
from __future__ import division

Adm=30000#
#CMRR=20*log10(Adm/Acm)#
a=90/20#
Acm=(Adm/10**a)#
print "Acm=%0.2f "%(Acm)#
Acm=0.95 

Ex 32.3 Pg 919

In [4]:
from __future__ import division
from math import pi
#e.g 32.3
SR=0.5*10**6#
Vpk=0.1#
fmax=SR/(2*pi*Vpk)#
print 'fmax=%0.2f kHZ'%(fmax*10**-3)
fmax=795.77 kHZ

Ex 32.4 Pg 920

In [5]:
from __future__ import division
from math import pi
Vpk=10#
slewrate=0.5*10**6#
fmax=slewrate/(2*pi*Vpk)#
print 'fmax=%0.2f HZ'%fmax #value of microamp 741
slewrate=13*10**6#
fmax=slewrate/(2*pi*Vpk)#
print 'fmax=%0.2f kHZ'%(fmax*10**-3) #TLO 81
#value of microamp 741 is much lower than that of the input signal.And value of TLO81 is much higher than input signal,therefore TLO81 can be used
fmax=7957.75 HZ
fmax=206.90 kHZ

Ex 32.5 Pg 920

In [1]:
from __future__ import division

ACL=200#
Vout=8#
Vin=Vout/ACL#
print 'Vin=%0.2f mV'%(Vin*10**3)
Vin=40.00 mV

Ex 32.8 Pg 920

In [4]:
from __future__ import division

R1=1*10**3#
R2=2*10**3#
Vi=1#
Acl=R2/R1#
V0=Acl*Vi#
print 'V0=%0.2f V'%V0
V0=2.00 V

Ex 32.9 Pg 921

In [5]:
from __future__ import division
from math import pi
Acm=0.001#
Aol=180000#
Zin=1*10**6#
Zout=80#
SR=0.5#
R2=100*10**3#
R1=10*10**3#
Acl=R2/R1#
print "Acl=%0.2f"%Acl
Zin=R1#
print 'Zin=%0.2f kohm'%(Zin*10**-3)
print 'Zout=%0.2f ohm'%Zout
CMRR=Acl/Acm#
print "CMRR=%0.2f "%CMRR
Vpk=5#
fmax=SR/(2*pi*Vpk)#
print 'fmax=%0.2f kHZ'%(fmax*10**3)
Acl=10.00
Zin=10.00 kohm
Zout=80.00 ohm
CMRR=10000.00 
fmax=15.92 kHZ

Ex 32.10 Pg 921

In [7]:
from __future__ import division
from math import pi
R2=100*10**3#
R1=10*10**3#
Acl=1+(R2/R1)#
Acm=0.001#
print "Acl=%0.2f"%Acl
CMRR=Acl/Acm#
print "CMRR=%0.2f"%CMRR
SR=0.5#
Vpk=5.5#
fmax=SR/(2*pi*Vpk)#
print 'fmax=%0.2f kHZ'%(fmax*10**3)
Acl=11.00
CMRR=11000.00
fmax=14.47 kHZ

Ex 32.11 Pg 922

In [8]:
from __future__ import division

Acm=0.001#
AOL=180000#
Zin=1*10**6#
Zout=80#
SR=0.5#
Acl=1#
CMRR=Acl/Acm#
print "CMRR=%0.2f"% CMRR
Vpk=3#
fmax=SR/(2*pi*Vpk)
print 'fmax=%0.2f kHZ'%(fmax*10**3)
CMRR=1000.00
fmax=26.53 kHZ

Ex 32.12 Pg 922

In [10]:
from __future__ import division

V1= 0.1#
V2=1#
V3=0.5#
R1=10*10**3#
R2=10*10**3#
R3=10*10**3#
R4=22*10**3#
Vout=((-R4*V1)/R1)+((-R4*V2)/R2)+((-R4*V3)/R3)#
print 'Vout=%0.2f V'%Vout
Vout=-3.52 V

Ex 32.14 Pg 922

In [11]:
from __future__ import division

V1=-2#
V2=2#
V3=-1#
R1=200*10**3#
R2=250*10**3#
R3=500*10**3#
Rf=1*10**6#
Vout=(-Rf/R1)*V1+(-Rf/R2)*V2+(-Rf/R3)*V3#
print 'Vout=%0.2f V'%Vout
Vout=4.00 V