Chapter - 29 : NON SINUSOIDAL OSCILLATORS

Ex 29.1 Pg 861

In [1]:
from __future__ import division

R=20*10**3#
C=100*10**-12#
f=1/(1.38*R*C)#
print 'f=%0.2f kHZ'%(f*10**-3)
f=362.32 kHZ

Ex 29.2 Pg 861

In [2]:
from __future__ import division

R1=2*10**3#
R2=20*10**3#
C1=0.01*10**-6#
C2=0.05*10**-6#
T=0.69*(R1*C1+R2*C2)
print 'T=%0.2f ms'%(T*10**3)
f=1/T#
print 'f=%0.2f kHZ'%(f*10**-3)
T=0.70 ms
f=1.42 kHZ

Ex 29.3 Pg 861

In [4]:
from __future__ import division

T1=1*10**-6#
f=100*10**3#
R1=10*10**3#
R2=10*10**3#
T=1/f#
C1=T1/(0.69*R1)#
print 'C1=%0.2f pF'%(C1*10**12)
T2=T-T1#
C2=T2/(0.69*R1)#
print 'C2=%0.2f pF'%(C2*10**12)
C1=144.93 pF
C2=1304.35 pF

Ex 29.4 Pg 862

In [5]:
from __future__ import division

T2A=310*10**-6#
T2B=250*10**-6#
VCC=15#
IC=5*10**-3#
hFC=20#
RC=VCC/IC#
RC1=RC#
RC2=RC#
print "RC1=RC2=RC=",'RC=%0.2f ohm'%RC
hFE=hFC#
IBsat=IC/hFE#
IB=2*IBsat#
R=VCC/IB#
R1=R#
R2=R#
C1=T2A/(0.69*R1)#
print 'C1=%0.2f pF'%(C1*10**12)
C2=T2B/(0.69*R2)#
print 'C2=%0.2f pF'%(C2*10**12)
tao1=R1*C1#
print 'tao1=%0.2f microsec'%(tao1*10**6)
tao2=R2*C2#
print 'tao2=%0.2f microsec'%(tao2*10**6)
tao11=RC1*C1/2#
print 'tao11=%0.2f microsec'%(tao11*10**6)
tao12=RC2*C2/2#
print 'tao12=%0.2f microsec'%(tao12*10**6)
RC1=RC2=RC= RC=3000.00 ohm
C1=14975.85 pF
C2=12077.29 pF
tao1=449.28 microsec
tao2=362.32 microsec
tao11=22.46 microsec
tao12=18.12 microsec

Ex 29.5 Pg 862

In [9]:
from __future__ import division

f=20*10**3#
T=1/f#
print 'T=%0.2f microsec'%(T*10**6)
T=50.00 microsec

Ex 29.6 Pg 862

In [11]:
from __future__ import division

f=100*10**(-3)#
T=(1/f)#
print 'T=%0.2f us'%(T)
tp=(1/T)#
print 'tp=%0.2f us'%tp
C1=0.001*10**(-6)#
R3=((5*10**(-6))/(0.69*C1))#
print 'R3=%0.2f kohm'%(R3*10**(-3))
T=10.00 us
tp=0.10 us
R3=7.25 kohm

Ex 29.7 Pg 863

In [12]:
from __future__ import division

RC=2*10**3#
R3=20*10**3#
rbb=200#
C1=1000*10**-12#
T=0.69*C1*R3#
print 'T=%0.2f microsec'%(T*10**6)
T=13.80 microsec

Ex 29.8 Pg 864

In [13]:
from __future__ import division

R1=2.2*10**3#
C1=0.01*10**-6#
tp=1.1*R1*C1#
print 'tp=%0.2f microS'%(tp*10**6)
tp=24.20 microS

Ex 29.9 Pg 864

In [16]:
from __future__ import division

tp=10*10**-6#
c=1000*10**-12#
R1=tp/(1.1*c)#
print 'R1=%0.2f kohm'%(R1*10**-3)
#t=(0:0.1:5*pi)'#
#plot2d1('onn',t,[squarewave(t,60)])#
R1=9.09 kohm

Ex 29.10 Pg 865

In [17]:
from __future__ import division

R1=6.8*10**3#
R2=4.7*10**3#
C1=1000*10**-12#
t2=0.7*R2*C1#
print 't2=%0.2f microS'%(t2*10**6)
t1=0.7*(R1+R2)*C1#
print 't1=%0.2f microS'%(t1*10**6)
dc=(t1/(t1+t2))*100#
print 'dc=%0.2f %%'%dc
t2=3.29 microS
t1=8.05 microS
dc=70.99 %

Ex 29.11 Pg 865

In [18]:
from __future__ import division

R1=27*10**3#
R2=56*10**3#
C1=0.01*10**-6#
t2=0.7*R2*C1#
t1=0.7*(R1+R2)*C1#
T=t1+t2#
f=1/T#
print 'f=%0.2f kHZ'%(f*10**-3)
#t=(0:0.1:6*pi)'#
#plot2d1('onn',t,[squarewave(t,60)])#
f=1.03 kHZ

Ex 29.12 Pg 866

In [19]:
from __future__ import division

f=50*10**3#
dutyc=0.60#
C=0.0022*10**-6#
T=1/f#
t1=dutyc*T#
t2=T-t1#
R2=(t2)/(0.7*C)#
print 'R2=%0.2f kohm'%(R2*10**-3)
R1=(t1)/(0.7*C)-R2#
print 'R1=%0.2f kohm'%(R1*10**-3)
R2=5.19 kohm
R1=2.60 kohm