Integrated Circuits Lab
Integrated Circuits Lab
THEORY:
) first order lo%3pass Butter%ort" filter t"at uses an #C net%ork is s"o%n in t"e figure
,"e Op3)mp is used in t"e non3inverting configuration =ence it s"all not load t"e #C
net%ork ,"e resistors #f and #2 determine t"e voltage gain of t"e filter
,"e magnitude of t"e voltage gain of t"e lo% pass filter can be %ritten as
++
K!rid"ar #a$u %%engglabsblogspotcom
,"e p"ase angle of lo%3pass filter is given by
,"us t"e lo%3pass filter "as a constant voltage gain )/ from "ig" cut3off freHuency fC )t
fC t"e gain is B:B: )/ and after fC it decreases at a constant rate %it" an increase in t"e
freHuency 6"en t"e freHuency is increased to 8one decade< t"e gain is divided by 2B It
means t"at t"e gain decreases +B dBJ decade Eac" time t"e freHuency is increased by 2B
=ence t"e rate at %"ic" t"e voltage gain rolls of after fC is +BdBJdecade or ?dBJoctave
,"e octave means a t%o fold increase in freHuency
CIRCUIT DIA3ARM:
DESI31 STEPS:
2 C"oose upper cut3off freHuency f=
+ !elect a value of C less t"an or eHual to 2 Uf
7 Calculate t"e value of # using # I 2J+Lfc
; /inally select t"e values of #/ and #2 depending on t"e desired pass band gain )/
using t"e gain eHuation
PROCEDURE:
2 /ollo% t"e design procedure and find t"e values of #/ and #2 and t"e
potentiometer by c"oosing t"e gain5 cut3off freHuency f= and capacitor value&o%
connect t"e circuit %it" t"e obtained component values as per t"e ckt diagram
+ )pply t"e )C signal as input of amplitude 245 +4or 74 peak3peak at t"e input
terminals of fiDed value
7 4ary t"e freHuency of iJp signal from 2B"K to 2M"K and note do%n value of oJp
signal amplitude 4o at freHuencies reHuired to plot t"e grap"
+7
K!rid"ar #a$u %%engglabsblogspotcom
; /ind t"e ratio of 4o to 4i ie gain
> Dra% t"e freHuency response plot on semilog grap" s"eet
TA(U4AR CO4UM1:
Input signal amplitude 4i I
Frequency
(Hz)
V
o
(volts)
Gain = V
o
/
V
i
Gain (dB) = 20 log
(Vo /V
i
)
Fig: Fr"7$"n+8 R"#&on#" +9ar"+%"ri#%i+# of fir#% or/"r ($%%"r0or%9 4PF.
FIRST ORDER HI3H PASS FI4TER
AIM: ,o design t"e first order =ig" pass Butter%ort" filter for t"e given specifications
)nd obtain its c"aracteristics using Op3)mp
APPARATUS REQUIRED:
!&o EQ.I1ME&, #)&-E Q.)&,I,*
2 Op3)mp IC U) :;2CJ 7>2 B2
+ #esistors 2B KE B7
7 Capacitors BB2 Uf B2
;
>
1otentiometer
-eneral purpose Ic
,rainer kit
+B KE
3
B2
B2
THEORY:
) first order =1/ is formed from t"e first order L1/ by interc"anging t"e components #
& C ) first order =1/ %it" a lo% cut3off is s"o%n in t"e figure
+;
K!rid"ar #a$u %%engglabsblogspotcom
,"e output voltage is given by
6"ere )/ I 2 G 8#/ J #2< and fC I 2J8+V#C<
Magnitude of t"e voltage gain is given by
=ence =1/ is formed from L1/ by simply interc"anging # and C5 t"e design and
freHuency scaling procedures are also t"e same
CIRCUIT DIA3RAM:
DESI31:
)/ I 2 G 8#f J #2< and fL I 2J 8+V#C<
2 C"oose t"e lo%er cut3off freHuency fL
+ !elect a value of C less t"an or eHual to 2 Uf
7 Calculate t"e value of # using # I 2 J 8+VfLC<
; /inally select t"e values of #2 and #f depending on t"e value of desired pass3band
gain )/
EDample'
Design a "ig" pass filter %it" cut3off freHuency of 2 K=K %it" a pass band gain of +
!ol'
fL I 2 J 8+V#C<
Let C I BB2 f
+>
K!rid"ar #a$u %%engglabsblogspotcom
fL I 2K=K
# I 2>A KE
#eHuired gain )/ I + =ence #/ I #2 I 2B KE
PROCEDURE:
2 )t t"e input terminal apply a signal of 24 peak3to3peak Keep t"e value constant
+ 4ary t"e freHuency and measure t"e corresponding outputs
7 /ind t"e gain in dB
; Dra% t"e response curve
TA(U4AR CO4UM1:
Frequency
(Hz)
V
o
(volts)
Gain = V
o
/
V
i
Gain (dB) = 20 log
(Vo /V
i
)
:. (A1D PASS FI4TER USI13 OP)AMP
AIM:
,o study t"e first order Band3pass filter using :;2 Op3amp
APPARATUS:
2 Band3pass /ilter Kit
+ !ignal -enerator
7 C#O
; B&C probes and connecting %ires
CIRCUIT DIA3RAM:
+?
K!rid"ar #a$u %%engglabsblogspotcom
THEORY:
) freHuency selective electric circuit t"at passes electric signals of specified band of
freHuencies and attenuates t"e signals of freHuencies outside t"e band is called an electric
filter
)ctive filters use an Op3amp as t"e active element and resistors and capacitors as t"e
passive elements )lt"oug" t"e :;2 Op3amp %orks satisfactorily in t"ese filter circuits5
"ig" speed op3)mps suc" as LM72@ or ICL@B2: improve t"e filter performance t"roug"
t"eir increased sle% rates and "ig"er unity gain band3%idt"s
) filter %"ic" "as a pass3band bet%een cut3off freHuencies f= and fL suc" t"at f=WfL is
referred to as a band3pass filter )ny freHuency outside t"is pass band is attenuated
Basically t"ere are t%o types of band3pass filters' 82< 6ide band3pass filters 8+< &arro%
band3pass filters 6e %ill define a filter as a %ide band3pass filter if its figure of merit or
Quality factor QX 2B On t"e ot"er "and if QW 2B5 t"e filter is said to be narro% band3pass
filter ,"us Q is a measure of selectivity5 meaning "ig"er t"e value of Q5 t"e more
selective is t"e filter or t"e narro%er its Band%idt" 8B6< ,"e relations"ip bet%een Q5
t"e 73dB band%idt" and center freHuency fC is given by
Q I fCJ B6 I fCJ 8f= 3 fL<
/or t"e %ide band3pass filter t"e center freHuency fC can be defined as
fC I 8f=fL<
2J+
%"ere f= I =ig" cut3ff freHuency 8=K<
fL I Lo% cut3ff freHuency of t"e %ide3band filter8=K<
In a narro% band3pass filter5 t"e output voltage peaks at center freHuency
+:
K!rid"ar #a$u %%engglabsblogspotcom
) %ide band Fpass filter can be formed by cascading a =ig"3pass and Lo%3pass sections
,o obtain a Y+BdBJdec band3pass5 first order "ig"3pass and first order lo%3pass sections
are cascaded /or a Y;BdBJdec band pass filter5 second order =1/ and second order L1/
are connected ion series and so on In general5 t"e order of a band3pass filter depends on
t"e order of t"e "ig" pass and lo% pass circuits ,"e figure in t"e circuit diagram s"o%s a
first order Y+BdBJdecade %ide band3pass filter %"ic" is composed of first3order "ig"3
pass and first order lo%3pass filters ,"e figure belo% s"o%s t"e freHuency response of
t"e %ide band3pass filter
,o realiKe a band3pass response5 "o%ever5 f= must be larger t"an fL ,"e voltage gain
magnitude of t"e band3pass filter is eHual to t"e product of t"e voltage gain magnitude of
t"e "ig"3pass filter and lo%3pass sections
,"e cascade structure of filters cannot be used in t"e narro% band because of t"e
component value variations 8sensitivity< If fL and f= are nearly eHual5 a small c"ange in
eit"er or bot" causes significant error in pass3band ,"erefore narro% band3pass filter is
made using multiple feedback tec"niHue In suc" filter t"ere are t%o feedback pat"s
8"ence t"e name multiple feedback filter< and t"e Op3amp is used in inverting mode
PROCEDURE:
2 Connect capacitors and resistors %"ic" are provided eDternally on t"e trainer to #5
C5 #C5 CC terminals
+ !%itc" on t"e kit
7 !et t"e input voltage 4in to >m4 using function generator
; Connect c"annel 2 of C#O to 4in terminals and c"annel + to output terminals
> By varying t"e input freHuency in regular intervals5 note do%n t"e corresponding
output voltage
? 1lot t"e grap" bet%een gain and freHuency
: 4erify t"e practical and t"eoretical cut3off freHuency
O(SER.ATIO1S CO4UM1:
S.o. Frequency
(Hz)
V
o
(volts)
Gain = V
o
/
V
in
Gain (dB) = 20 log (Vo /
Vin)
+@
K!rid"ar #a$u %%engglabsblogspotcom
+A
K!rid"ar #a$u %%engglabsblogspotcom
7B
K!rid"ar #a$u %%engglabsblogspotcom
;. MO1OSTA(4E A1D ASTA(4E MU4TI.I(RATOR A1D SCHMITT
TRI33ER CIRCUITS USI13 OP)AMP
Aim:
,o design and verify t"e basic )stable5 Monostable Multivibrators and !c"mitt trigger
circuits using an IC op amp
E7$i&m"n% R"7$ir"/ :
IC 9):;2C5 Dual #egulated po%er supply 82>3B2><5 !ignal generator5 C#O5 Decade
capacitance boDes 8t%o<5 #esistors5 !ilicon diodes 8t%o<5 -eneral purpose IC ,rainer
kit
T9"or8:
Multivibrators are a group of circuits t"at are eDtensively used in pulse generation
systems ,"ese circuits may be designed %it" ease5 using IC op amps Multivibrators
are of t"ree types' astable5 monostable5 and bistable
In t"e )stable circuit5 t"e op amp output runs from one Huasi3stable state to anot"er
on its o%n ,"e output is a sHuare %ave5 %"ose freHuency is determined from t"e C#
combination ,"e Monostable circuit "as only one stable state ,"e circuit can be
triggered to t"e ot"er 8Huasi3stable< state by an eDternal agency ,"e circuit returns to
t"e stable state after time period , determined by t"e time constant ,"is circuit is
used as a pulse generator ,"e circuit %it" t%o stable states called bi3stable
multivibrator ,"e circuit can be triggered from one stable state to anot"er by an
eDternal agency
,"e circuit diagram and %aveforms of )stable Multivibrator is s"o%n in t"e fig as
follo%s
72
K!rid"ar #a$u %%engglabsblogspotcom
,"e feedback resistor #/ and t"e capacitor C provide t"e integrator action and t"e op
amp serves as a regenerative comparator ,"e output of t"e comparator is limited by
t"e saturation levels of t"e op amp 8vo
G
sat and vo
3
sat< ) fraction TI#2J8#2G#+<Z of t"e
out put voltage is fed back to t"e comparator and serves as t"e reference voltage ,"e
comparator compares t"e voltage across t"e capacitor %it" t"is voltage and s%itc"es
to negative saturation limit t"e movement vc becomes grater t"an vo ,"en t"e
capacitor begins to disc"arge t"roug" #/ until vc is eHual to vo t"e output is s%itc"ed
on to t"e positive saturation t"e moment vc becomes less t"an vo t"e output is a
sHuare %ave of time period
,I2JfI+#f C ln82G+#2J#+<
If IB;?+5,I+#/C and fI8+#/C<
32
,"e circuit diagram of a monostable multivibrator is s"o%n in fig In t"e stable state5
t"e amplifier is at positive saturation ) fraction of t"e input voltage 8vo
G
sat< is fed
back to t"e non3inverting input ,"e diode D2 clamps t"e inverting input at t"e O&
voltage of t"e diode If %e apply a sufficiently large negative pulse to t"e non3
inverting input5 it brings do%n t"e potential at B to t"e eart" potential and s%itc"es
t"e op amp on to t"e negative saturation limit ,"is is a Huasi3stable state as t"e
capacitor C disc"arges t"roug" #/ to%ards vo
3
sat 6"en t"e voltage across t"e capacitor
eDceeds vo
3
sat5 t"e amplifier output s%ings back to vo
G
sat
,"e freHuency of t"e output %ave is same as t"at of t"e triggering signal =o%ever
t"e gate %idt" ,- I,25 is determined by t"e time constants #/C t"e gate %idt" ,- is
given by
,- I #f C ln82G#2J#+<
Comparator is also called as !c"mitt rigger ,"e comparator is an amplifier specially
designed for null comparison measurements It is a "ig" gain amplifier
7+
K!rid"ar #a$u %%engglabsblogspotcom
%it" %ell balanced difference inputs and controlled output limits ,"e circuit
arrangement and t"e transfer function of a simple voltage comparator are s"o%n
in figure ,"e signal voltage is directly applied to t"e inverting input and
reference voltage to t"e Gve input of t"e op amp in t"e open loop Configuration
)s long as t"e signal voltage is less t"an t"e reference voltage 8vi X vr < ,"e out
put %ill be maintained at t"e positive saturation level 8vB
G
sat < )s t"e signal passes
t"roug" a value eHual to vr5 t"e op amp is s%itc"ed on to t"e negative saturation
level as s"o%n in fig Because of t"e "ig" gain of t"e op amp5 a fe% millivolts
differential input is enoug" to s%itc" op amp bet%een t"e saturation limits In
practice comparators5 t"e transfer function "as a finite slope in t"e region vi [vB I
B t"is is due to t"e finite gain of t"e op amp ,"e slope approac"es t"e ideal
8vertical< as t"e comparator gain increases
) comparator circuit %it" positive feedback 8via #+< is s"o%n in fig
6"en t"e input voltage approac"es v2 8t"e voltage at non3inverting input<
feedback s%itc"es t"e op amp output regeneratively bet%een t"e t%o saturation
limits as s"o%n in fig Let us no% evaluate t"e condition under %"ic" t"e
transition takes place %"en vi X v25 t"e output is at vB
G
sat under t"ese conditions
v2 I 8 #+vr J #2G#+<G8 #2 vB
G
sat J #2G#+<I4i
If vi is no% increased t"e out put remains constant at vB
G
sat until vi I v2 at t"is
voltage 5 called t"res"old or triggering voltage t"e output s%itc"es to vB
3
sat and
remains in t"is state as long as vi W v2 ,"e voltage at t"e non3inverting terminal
%"en vi W v2 is given by
v2 I 8 #+vr J #2G#+<G8 #2 vB
3
sat J #2G#+<I4+
Considering an eDample %"ere #+I2BBko"m5 #2I2ko"m5vrI2B45 vB
G
satI2B4 and
vB
3
sat I 32B45%e "ave 42I2B@ and 4+IBAB ,"is indicates t"at t"e transition takes
place for different values of vi depending on %"et"er t"e voltage is increasing or
decreasing to%ards t"e reference voltage ,"us t"e circuit eD"ibits "ysteresis ,"e
amount of "ysteresis 84=I42F4+< is directly proportional to t"e positive feedback
fraction #2 J #2G#+
77
K!rid"ar #a$u %%engglabsblogspotcom
,"e regenerative comparator is also referred as a !c"mitt trigger It may be used
as a sHuaring circuit
E<&"rim"n%a- &ro+"/$r":
a! A#%a'-" m$-%i,i'ra%or:
6ire t"e circuit as s"o%n in fig .se a decade capacitance boD for C5 if
available Observe t"e output %ave form using a C#O
C"oose #/I#+I2BBko"m
If is c"osen to be B;?+5 #2I@Ako"m ,"en fI2J+#/C
4ary C from BB2 to BBB2/ and measure t"e freHuency at eac" step
Compare t"e observed freHuency %it" t"e calculated one ,abulate t"e results
as s"o%n in table
Decrease t"e value of t"e capacitance furt"er and find out t"e value of C and
t"e corresponding freHuency at %"ic" t"e circuit stops oscillating
/or eac" combination of #/ and C5 measure t"e peak values of t"e output
voltage 8vosat<
and t"e voltage across C8vc< 4erify t"e relation IvoJvc
'!Mono#%a'-" m$-%i,i'ra%or:
6ire t"e circuit of fig .se t"e decade capacitance boD in place of C
C"oose #/I#+I2BBko"m ,"e value of #2is dependent on t"e value of
!ince t"e amplitude of t"e triggering pulse "as to be greater t"an t"e feedback
voltage5 c"oose a small value for 5 say B2 t"en #2 I 2Bko"m
C"oose Cp and #p suc" t"at Cp#p is very muc" less t"an t"e time period of t"e
"ig"est triggering freHuency to be used ,ypically
Cp#p I 2Bs
,"e gate %idt" is given by ,- I#fCln82G#2J#+<
4ary t"e freHuency of t"e sHuare %ave trigger input and measure t"e gate
%idt" at eac" freHuency
Keep t"e trigger freHuency at a particular value and vary #/C by varying C
measure t"e gate %idt" and t"e freHuency of t"e output at eac" step Enter
your results in table Is t"ere an upper limit to t"e gate %idt"N
Keep #/C at a particular value 8say 7Bsec< and vary t"e triggering freHuency
/ind out t"e "ig"est freHuency beyond %"ic" triggering does not take place
C! S+9mi%% Trigg"r Com&ara%or!:)
7;
K!rid"ar #a$u %%engglabsblogspotcom
6ire t"e circuit as s"o%n in fig .se a 2>4 battery for vr t"e inverting input is
fed by a dc supply consisting of a 7B4 dc source and ten turn 2Bko"m
potentiometer ,"is arrangement gives a resolution of 2Bm4
6it" s2 closed and s+ open5 t"e circuit configuration is t"at of a simple voltage
comparator 4ary t"e input to t"e inverting terminal from 2; to 2?4 in steps
of 2 or + m4 and measure t"e output voltage %it" t"e multi meter Dra% t"e
transfer c"aracteristic 6"at is t"e precision %it" %"ic" you can estimate t"e
reference voltageN =o% does t"e transfer function look like %"en vi and vr are
interc"angedN
%it" s+ closed and s2 open5 t"e circuit gets converted into a regenerative
comparator or sc"mitt trigger C"oose #2 and #+ suc" t"at 42 I+B4 and
4+IB:4 84=I274< 4ary t"e input voltage from B> to ++4 in steps of
m4 and record t"e out put voltage ,ake readings %it" t"e input voltage
increasing and also %"en it is decreasing #epresent vB as a function of vi
Compare v= value obtained from t"e grap" %it" t"e calculated one
remove 7B4 battery from t"e circuit /eed t"e !c"mitt trigger %it" t"e sine
%ave and observe output %aveform on t"e C#O Increase t"e amplitude of t"e
input voltage until you observe a sHuare %ave Can you identify t"e upper and
lo%er triggering pointsN
Q$"#%ion#:
2 6"at is a multivibratorN 6"y is it called a binaryN
+ Distinguis" bet%een astable5 bistable and monostable Multivibrators
7 EDplain "o% an op amp may be used as 8i< astable 8ii< bistable and
8iii< monostable multivibrator
; 6"at is t"e effect of sle% rate on t"e %orking of an op amp multivibratorN
> 6"at is a voltage comparatorN EDplain5 %it" t"e necessary circuit diagram5 "o% a
differential amplifier may be used as a comparator
? Dra% t"e transfer c"aracteristics of 8a< an ideal comparator and 8b< a practical
comparator Comment on t"e differences
: 6"at are t"e c"aracteristics of an op amp t"at make it suitable for use as a
comparatorN
@ EDplain %"y t"e upper and lo%er triggering points of a !c"mitt trigger are separatedN
EDplain t"e significance of "ysteresis
A Describe a met"od of clamping t"e output levels of a comparator
2B 6"at is Kero crossing detectorN
7>
K!rid"ar #a$u %%engglabsblogspotcom
7?
K!rid"ar #a$u %%engglabsblogspotcom
7. MO1OSTA(4E MU4TI.I(RATOR USI13 ::: TIMER
Aim:
,o measure t"e pulse %idt" of a monostable multivibrator using IC >>> ,imer
A&&ara%$#:
S.1o. EQUIPME1T QUA1TITY
2 Dual ,race Oscilloscope B2
+ C#O 1robes B+
7 77K resistor B2
; B2/ capacitor B+
> 1ulse -enerator B2
? Bread Board B2
: Connecting %ires
CIRCUIT DIA3RAM:
7:
K!rid"ar #a$u %%engglabsblogspotcom
THEORY:
) monostable multivibrator5 often called a one3s"ot multivibrator is a pulse operating
circuit in %"ic" t"e duration of t"e pulse is determined by t"e #C net%ork connected
eDternally to >>> IC ,imer In a stable or !tand3by !tate t"e output of t"e circuit is
approDimately Kero or logic lo% level 6"en an eDternal pulse is applied5 t"e output is
forced to go "ig"84cc< ,"e duration for %"ic" t"e output remains "ig" is determined by
t"e eDternal #C net%ork connected to t"e ,imer IC )t t"e end of timing interval5 t"e
output automatically reverts back to its logic lo% stable state ,"e output remains lo%
until t"e trigger pulse is applied again ,"en t"e cycle repeats ,"e monostable
multivibrator "as only one stable state 8=ere output is lo%< =ence t"e name monostable
&ormally t"e output of t"e monostable multi is lo%
O&"ra%ion:
)ccording to t"e %aveforms initially t"e output lo% ie5 circuit in stable state ,ransistor
Q2 is on and capacitor C is s"orted to ground =o%ever5 upon t"e application of a
negative trigger pulse to pin+ transistor Q2 is turned off %"ic" releases s"ot circuit across
t"e eDternal capacitor C and drives t"e output to "ig" ,"e capacitor C no% starts
c"arging to%ards 4cc t"roug" t"e resistor # =o%ever %"en t"e voltage across t"e
capacitor eHuals to +J7 of 4cc5 output goes lo% and t"e capacitor disc"arges t"roug" t"e
transistor Q2It remains lo% until a trigger pulse is applied across pin+ )s s"o%n in t"e
%aveforms5 t"e pulse %idt" of t"e trigger must be smaller t"an t"e eDpected pulse %idt"
of t"e %aveform )lso t"e trigger pulse amplitude must be a negative going input signal
%it" amplitude larger t"an 2J7 4cc ,"e pulse %idt" of t"e output %aveform is given by
t"e eHuation , I 22 #C
7@
K!rid"ar #a$u %%engglabsblogspotcom
D"#ign an/ Pro+"/$r":
2 Connect t"e circuit a s"o%n in t"e figure %it" # taken as obtained from t"e follo%ing
calculations
1ulse %idt" , I 22#C
-iven ,I B; ms
!ay C I BB2 C
# I ;BB D 2B
3?
J 22 D BB2 D 2B
3?
I 7?7 K
+ )pply a trigger pulse at pin+ %"ere amplitude varies bet%een 2J7 4cc to less t"an +J7
4cc
7 Measure t"e pulse %idt" and record t"e output %aveforms across pin7 and also observe
capacitor voltage at pin? %it" respect to trigger input
5A.E FORMS:
CO1C4USIO1:
Output %aveforms and drop across capacitor are observed and verified %it" t"eoretical
values
7A
K!rid"ar #a$u %%engglabsblogspotcom
.i,a =.o+" Q$"#%ion#'
2 -ive some applications of
Monostable multivibrator and eDplain t"em
+ -ive t"e design procedure for
monostable multivibrator
7 6"y monostable multi is also called
as one s"ot multivibratorN
; Derive t"e pulse %idt" of a
monostable multivibrator using IC >>> ,imer
;B
K!rid"ar #a$u %%engglabsblogspotcom
>. ASTA(4E MU4TI.I(RATOR USI13 ::: TIMER
AIM: ,o construct and observe t"e %aveforms of a 2 K=K sHuare %ave form generator
using >>> timer for duty cycle 8a< DIB+> 8b< DIB>
APPARATUS:
!&o EQ.I1ME&, #)&-E Q.)&,I,*
2 Dual ,race Oscilloscope B2
+ C#O probes B+
7 #esistors B+
; Capacitors B+
> Breadboard B2
? Connecting %ires
THEORY:
)n )stable multivibrator often called as free running multivibrator is a rectangular %ave
generating circuit .nlike t"e monostable multivibrator t"e circuit does not reHuire an
eDternal trigger to c"ange t"e state of t"e output =ence t"e name free running5 "o%ever5
t"e time during %"ic" t"e output is eit"er "ig" or lo% is determined by t"e t%o resistors
and a capacitor %"ic" are connected eDternally
OPERATIO1:
,"e figure s"o%s t"e >>> ,imer connected as an )stable Multivibrator Initially5 %"en t"e
output is "ig" capacitor \CC starts c"arging to%ards 4cc t"roug" #) and #B =o%ever as
soon as t"e voltage across t"e resistor eHuals to +J7 4cc5 t"e comparator triggers t"e flip3
flop and t"e output s%itc"es to lo% &o% t"e capacitor \CC starts disc"arging t"roug" #B
and disc"arge terminal 8pin &o: %"ic" is internally connected to t"e collector terminal
of t"e transistor Q2< and %"en t"e voltage across \CC reac"es2J7 4cc 5 t"e second
comparatorCs output triggers t"e flip3flop and t"e output goes "ig" ,"en t"e cycle
repeats ,"e output voltage and t"e capacitor voltage %aveforms are s"o%n in t"e figure
)s s"o%n in t"e figure5 t"e capacitor is periodically c"arges and
disc"arges in bet%een 4cc and 2J7 4cc respectively ,"e time during %"ic" capacitor
c"arges from 2J7 4cc to +J7 4cc5 t"e output goes "ig" and is given by
,c I B?A 8#) G #B<C
;2
K!rid"ar #a$u %%engglabsblogspotcom
6"ere #) and #B are in o"ms and C is in farads !imilarly5 t"e time during %"ic" t"e
capacitor disc"arges from +J7 4cc to 2J7 4cc5 t"e output is lo% and is given by
,d I B?A #BC
6"ere #B is in o"ms and C in farads
,"us t"e total period t"e output %aveforms is
, I ,C G ,d I B?A 8#) G #B<C
,"is inturns gives t"e freHuency of oscillation as
/o I 2J, I 2;>J8#) G+ #B< C
,"e freHuency is independent of t"e supply voltage 4cc
Often t"e term duty cycle is used in con$unction %it" t"e )stable multivibrator ,"e duty
cycle is t"e ratio of t"e time ,c during %"ic" t"e output is "ig" to t"e total time period ,
it is generally eDpresses as a percentage
] Duty Cycle I ,c J , D 2BB]
I 8#) G #B< J 8 #) G +#B< D 2BB ]
CIRCUIT DIA3RAM:
DESI31 ASPECTS:
;+
K!rid"ar #a$u %%engglabsblogspotcom
8a< )symmetrical !Huare %ave generator'
f I 2K=K and DIB+>
fI2;>J8#) G+#B<C
DI 8#) G #B< J 8 #) G +#B<
)nd select CI B2 9/
!olving for #) and #B5 %e get
#) I 7? KE and #B I >> KE
8b< !ymmetrical !Huare %ave -enerator'
f I 2 K=K and D I B>
f I 2;>J8 #) G +#B<C
DI 8#) G #B< J 8 #) G +#B<
)nd select CI B2 9/
!olving for #) and #B5 %e get
#) I #B I :+> KE
.se a Diode O):A across #B
PROCEDURE:
2 Connect t"e circuit as s"o%n in t"e figure using component values as obtained
in t"e design part 8a<
+ Observe and sketc" t"e capacitor voltage %aveform 81in ?<and t"e output
%aveform at pin 7 Measure t"e freHuency and t"e duty cycle of t"e output
%aveform
7 &eDt5 make t"e circuit from t"e figure using component values as obtained
from design part 8b<
; #epeat step +
CO1C4USIO1:
=ence5 t"e symmetrical and asymmetrical sHuare %ave forms are generated using
>>> IC timer
.I.A .OCE QUESTIO1S:
2 List fe% applications of >>> ,imer
+ Dra% t"e pin diagram of a >>> ,imer
7 6"at is t"e use of #eset ,erminal in t"e ICN
; =o% t"e disc"arge and t"res"old terminals are used 8pins ? & :<N
> 6"at is t"e use of control voltage terminal 8pin ><N
? Derive an eDpression for ,O&5 ,O// and duty cycle of t"e )stable Multivibrator
;7
K!rid"ar #a$u %%engglabsblogspotcom
: Define Duty Cycle
@ Design an )stable Multivibrator %it" a >>> ,imer %it" a given duty cycle
8ranging from ;B3:B]< and given time period
A Design an )stable Multivibrator using a >>> ,imer by assuming t"e values of t%o
resistors 8#) and #B< and C I BB2 9/
;;
K!rid"ar #a$u %%engglabsblogspotcom
?. IC RE3U4ATOR
RE3U4ATIO1 USI13 6)TERMI1A4 FI@ED RE3U4ATOR I.C
Aim' ,o find t"e line and load regulation of a 73terminal fiDed regulator IC
A&&ara%$#:
S.1o APPARATUS QUA1TITY
2 4ariable #egulator 1o%er !upply 8B37B4< B2
+ 1ositive /iDed 73terminal #egulator
8IC :@B>5:@2+5:@2><
B2
7 Multimeter B+
T9"or8:
T9r"" %"rmina- fi<"/ &o#i%i," ,o-%ag" r"g$-a%or#:
,"e :@DD series ICs are designed as fiDed positive voltage regulators and %it" adeHuate
"eat sinking can deliver output currents in eDcess of 2) ICs also "ave internal t"ermal
overload protection and internal s"ort circuit limiting /or proper operation of t"ese ICs
reHuire a common ground bet%een input and output In addition t"e difference bet%een
input and output voltage84in34out<5 called drop3out voltage must be typically +4
Capacitor at output is used to improve t"e transient response of t"e regulator
,"e ma$or performance parameters for voltage regulators are line regulation5 load
regulation Line regulation is defined as t"e c"ange in t"e output voltage in t"e c"ange in
t"e input voltage and usually eDpressed in m4 or a percentage of output voltage 4o Load
regulation is t"e c"ange in t"e output voltage for c"ange in load current and also
eDpressed in m4 or percentage of output voltage 4o
,"e :@DD series regulators available in seven voltage options ie5
>48:@B><5?48:@B?<5@48:@B@<52+48:@2+<52>48:@2><52@48:@2@< and +;48:@+;< ,"is
series is available in different packages ,O37 metal can 8for "ig" currents< and ,O3++B
plastic package 8for lo% output currents<
T9r"" %"rmina- fi<"/ n"ga%i," ,o-%ag" r"g$-a%or#:
,"e :ADD series of fiDed negative voltage regulators are complement to t"e :@DD series
devices ,"ese negative regulators are also available in : voltage options as t"e positive
voltage regulators available In addition t%o eDtra voltage options are available in :ADD
series
;>
K!rid"ar #a$u %%engglabsblogspotcom
CIRCUIT DIA3RAM:
Pro+"/$r":
4oa/ R"g$-a%ion'
2Make t"e connections as per circuit diagram
+)d$ust t"e input voltage source and maintain t"e voltage constant 8above t"e
defined regulated value of #egulator IC<
74ary t"e load ie #Land re%ind t"e values of IL and 4L maintaining 42 constant
;,abulate t"e readings and t"is tabular column indicates t"e load regulation
c"aracteristics
>#epeat t"e above procedure for different values of 42
4in" R"g$-a%ion'
2Maintain t"e same circuit diagram connections of line regulation c"arecteristics
+Maintain t"e Load current IL constant5 no% vary t"e input voltage 4I and note do%n
t"e output voltage 4o values
7#epeat t"e above procedure for different values of load current IL
;?
K!rid"ar #a$u %%engglabsblogspotcom
4oa/ R"g$-a%ion'
4I I +B4 4II+>4
S.1o .O I4 .O I4
4in" R"g$-a%ion:
IL I B>m) IL I 2m)
S.1o. .I .O .I .O
R"#$-%:
;:
K!rid"ar #a$u %%engglabsblogspotcom
1A. ARITHMETIC CIRCUITS
AIM:
8a< ,o design & verify t"e =alf3adder and /ull3adder circuits
8i< .sing )&D5 O#5 &O, and ED3O# -ates
;@
K!rid"ar #a$u %%engglabsblogspotcom
8ii< Only &)&D -ates and verify t"eir operations
8b< ,o design & verify t"e =alf3subtractor and /ull3subtractor circuits using gates
APPARATUS:
DESI31:
=alf )dder'
) =alf )dder
is a
combinational logic circuit t"at adds t%o binary bits It produces t"ereby sum and
carry bits
!"#$S %#$"#$S
& ' ()**' S#+
0 0 0 0
0 , 0 ,
, 0 0 ,
, , , 0
/rom t"e trut" table it is clear t"at logic function reHuired to realiKe t"e sum and carry
bits is as follo%s
!.M I ) 0O# B
C)##* I )B
CIRCUIT DIA3RAM:
!&o EQ.I1ME&, #)&-E Q.)&,I,*
2 -eneral 1urpose IC ,rainer B2
+ IC :;BB5 IC :;B@5 IC :;7+5
IC :;@?
B2
7 1atc" Cords B2
;A
K!rid"ar #a$u %%engglabsblogspotcom
FU44 ADDER:
/ull adder is a combinational circuit t"at adds 7 bits %"ic" include t%o present bits and
previous carry "ence generating sum and carry
!"#$S %#$"#$S
& ' - ()**' S#+
0 0 0 0 0
0 0 , 0 ,
0 , 0 0 ,
0 , , , 0
, 0 0 0 ,
, 0 , , 0
, , 0 , 0
, , , , ,
,"e sum and t"e carry output eDpressions can be obtained from 73variable karnaug" map
%"ic" is s"o%n as follo%s'
!.M I 0 80O#< * 80O#< R
C)##* I 0*G*RGR0
>B
K!rid"ar #a$u %%engglabsblogspotcom
FU44 ADDER USI13 T5O HA4F)ADDERS:
/ull )dder can be implemented by using t%o =alf3)dders and one O# gate %"ic" is
s"o%n in t"e follo%ing figure %"ic" s"o%s t"at it can be implemented using only &)&D
gates
CIRCUIT DIA3RAM:
HA4F
SU(TRACTOR:
) =alf3subtractor is a combinational digital circuit t"at subtracts t%o numbers and
produces a difference and a borro%
!"#$S %#$"#$S
& ' B .
0 0 0 0
0 , , ,
, 0 0 ,
, , 0 0
/rom t"e trut" table it is clear t"at difference function is realiKed by
D I 0 0O# *
>2
K!rid"ar #a$u %%engglabsblogspotcom
B I 0C*
FU44 SU(TRACTOR:
/ull subtractor is a combinational logic circuit t"at performs subtraction bet%een t%o
input bits taking into account a one bit t"at may "ave been borro%ed by a lo%er
significant bit It consists of t"ree inputs and t%o outputs ,"e trut" table is s"o%n belo%'
!"#$S %#$"#$S
& ' - B .
0 0 0 0 0
0 0 , , ,
0 , 0 , ,
0 , , , 0
, 0 0 0 ,
, 0 , 0 0
, , 0 0 0
, , , , ,
CIRCUIT DIA3RAM:
CO1C4USIO1:
,"e trut" tables for =alf )dder5 /ull )dder5 =alf !ubtractor and /ull !ubtractor are
verified
.I.A .OCE QUESTIO1S:
2 Define =alf3)dder
+ Design a =alf )dder using different types of gates 8&)&D5 0O#5 &O#5
)OI<
7 Define /ull )dder
; Design a /ull )dder using different types of gates
>+
K!rid"ar #a$u %%engglabsblogspotcom
> Define =alf !ubtractor and /ull !ubtractor
? =o% can /ull )dder and /ull !ubtractor be used as =alf )dder and =alf
!ubtractor respectivelyN
: Dra% t"e block diagram of an n3bit binary adder using /ull )dders
@ 6"at is a ComparatorN
A Mention t"e applications of a Comparator
2B 6"at do you mean by pulse3time modulationN
22 Design 23bit and ;3bit Comparator circuits
>7
K!rid"ar #a$u %%engglabsblogspotcom
11. DESI31 OF CODE CO1.ERTER
AIM: Design a 73bit Binary to -ray and -ray to Binary code converter
APPARATUS:
S.o. /0#!"+/$ *)G/ 0#)$!$'
,. General 1ur1ose !( $rainer 0230 V 0,
2. 4567 (&%* gate)8 4506 (2
in1ut ). gate)
02
3. "atc9 (ords 0,
THEORY B DESI31:
,"e code converter is a combinational circuit %"ic" converts one form of code to anot"er
form =ere %e are designing a code converter circuit %"ic" converts 73bit binary code to
73bit gray code or 73bit gray code to 73bit binary code =ence to distinguis" one of t"e
>;
K!rid"ar #a$u %%engglabsblogspotcom
t%o conversions %e "ave one select input to t"e circuit ,"e block diagram and t"e trut"
table of t"e circuit reHuired are as s"o%n belo%'
(4OCC DIA3RAM:
TRUTH TA(4E:
!"#$S %#$"#$S
: & ' - " 0 *
0 0 0 0 0 0 0
0 0 0 , 0 0 ,
0 0 , 0 0 , ,
0 0 , , 0 , 0
0 , 0 0 , , 0
0 , 0 , , , ,
0 , , 0 , 0 ,
0 , , , , 0 0
, 0 0 0 0 0 0
, 0 0 , 0 0 ,
, 0 , 0 0 , 0
, 0 , , 0 , ,
, , 0 0 , 0 0
, , 0 , , 0 ,
, , , 0 , , 0
, , , , , , ,
4O3IC CIRCUIT DIA3RAM:
>>
K!rid"ar #a$u %%engglabsblogspotcom
PROCEDURE:
2 .sing t"e ,,L ICs connect t"e circuit according to t"e logic diagram
+ -ive t"e reHuired po%er supply
7 4erify t"e outputs %it" t"e trut" table by c"anging t"e input
combinations
/rom t"e trut" table %"en 6IB5 t"e circuit converts binary code to gray code and %"en
6I2 circuit converts gray to binary code
DESI31:
.sing t"e k3maps t"e trut" table can be entered and can be simplified as follo%s'
>?
K!rid"ar #a$u %%engglabsblogspotcom
CO1C4USIO1:
,"e 73bit binary to gray and gray to binary trut" tables are verified
.I.A QUESTIO1S:
2 6"at are t"e gray code propertiesN
+ Design ;3bit binary to BCD code converter
7 6"at are t"e applications of t"e gray codeN
; Design BCD to seven segment coBde converter using suitable gates
> Design BCD to eDcess37 code converter using suitable gates
? 6"at are t"e advantages of =eDadecimal codeN
: 6"ere is an octal code usedN
>:
K!rid"ar #a$u %%engglabsblogspotcom
12. DECODER A1D ITS APP4ICATIO1S
AIM:
>@
K!rid"ar #a$u %%engglabsblogspotcom
8a< ,o verify Decoder operation
8b< ,o implement a /ull3adder circuit using Decoder and &)&D gates
APPARATUS:
S.o. /0#!"+/$ *)G
/
0#)$!$'
,. 45,36
.ecoder
3 ; 6 0,
2. 4500 (t<o
in1ut ).
gate)
0uad 0,
3. General
"ur1ose !(
$rainer
0,
5. "atc9 (ords 0,
THEORY:
8a< Decoder' ) binary code of n bits is capable of representing up to +
n
distinct
elements of coded information ) decoder is a combinational digital circuit t"at
converts binary information from n input lines to a maDimum of +
n
uniHue output
lines If t"e n3bit decoder information "as unused state or donCt care conditions5
t"e decoder %ill "ave less t"an +
n
inputs
)s an eDample5 consider t"at t"e +3to3; line decoder circuit s"o%n in t"e figure ,"e
t%o inputs are decoded into four outputs Eac" output representing one of t"e
minterms of +3input variables ,"e t%o inverters provide t"e compliment of t"e inputs
and eac" of t"e ; )&D gates generate one of t"e minterms ,"e operation of t"e
decoder can be clarified from its input3output relations"ip listed in t"e table
TRUTH TA(4E:
!"#$S %#$"#$S
& ' .
0
.
,
.
2
.
3
0 0 , 0 0 0
0 , 0 , 0 0
, 0 0 0 , 0
, , 0 0 0 ,
>A
K!rid"ar #a$u %%engglabsblogspotcom
(4OCC DIA3RAM:
1o%":
,"e circuit s"o%n in t"e above figure is t"at of a )ctive "ig" output Decoder )n )ctive
lo% output type Decoder can be constructed %it" &)&D gates instead of )&D gates
Observe t"at t"e output variables are mutually eDclusive because only one output can be
eHual to one at one time ,"e output line %"ose value eHuals to one represents t"e
minterm eHuivalent to t"e binar;y number presently available in t"e input lines
8b< Implementation of /ull adder circuit %it" Decoder and &)&D gates'
TRUTH TA(4E OF FU44 ADDER:
I&1.,! O.,1.,!
0 * R C)##* !.M
B B B B B
B B 2 B 2
B 2 B B 2
B 2 2 2 B
2 B B B 2
2 B 2 2 B
2 2 B 2 B
2 2 2 2 2
/rom t"e trut" table of full adder5 t"e sum function and carry function can be %ritten as
follo%s'
!.M8D5 y5 K< I ^ m 825 +5 ;5 :<
C)##*8D5 y5 K< I ^ m 875 >5 ?5 :<
!ince t"ere are t"ree inputs and a total of eig"t minterms %e need a 73to3@ line decoder
,"e implementation "as been s"o%n in t"e figure ,"e decoder generates t"e eig"t
minterms for D5 y5 K ,"e &)&D gate for output _sum` forms t"e sum of minterms 25 +5 ;
and : ,"e &)&D gate for output _carry` forms t"e sum of minterms 75 >5 ? and :
?B
K!rid"ar #a$u %%engglabsblogspotcom
CIRCUIT DIA3RAM:
-ive t"e connections as s"o%n in figure and verify t"e trut" table of full adder
APP4ICATIO1S OF DECODER:
2 ) Decoder %it" enable input acts as DemultipleDer
+ It can be used to implement combinational digital circuits
7 It is used for memory address decoding in digital computers
.I.A .OCE QUESTIO1S:
2 Implement any given logic gate using Decoder
+ Implement t"e given Boolean function
7 Implement different combinational digital circuits using decoder
?2
K!rid"ar #a$u %%engglabsblogspotcom
16. MU4TIP4E@ER A1D ITS APP4ICATIO1S
AIM:
?+
K!rid"ar #a$u %%engglabsblogspotcom
8a< ,o verify t"e multipleDer operation of ICs :;L!2>2 or :;2>7
8b< Implementation of a Boolean function f8%5 D5 y5 K<Ia m8B525>5:5@52B52><
using multipleDer
APPARATUS:
!&o EQ.I1ME&, #)&-E Q.)&,I,*
2 -eneral purpose IC ,rainer B37B 4 B2
+ :;2>2 8@ D 2 M.0< or :;2>7 8dual ;
D 2 M.0<
B2
7 1atc" Cords B2
THEORY:
MultipleDer is a combinational digital circuit %"ose function is to select 2 out of +
&
input
data sources and to transmit selected data to a single information c"annel One out of t"e
+
&
input data sources can be selected %it" t"e "elp of & select lines MultipleDer is also
called data selector MultipleDer %it" different data siKes like + to 2 line8+ D 2<5 ; to 2
line8; D 2<5 @ to 2 line 8@ D 2<5 2? to 2 line 82? D 2<etc are available in t"e form of
integrated circuits /ig 2 8a< s"o%s t"e block diagram of ; to 2 line multipleDer and its
trut" table ,"e detailed circuit diagram is s"o%n in figure 2
TRUTH TA(4E:
I&1.,! O.,1.,
E !2 !+ /
B B B IB
B B 2 I2
B 2 B I+
B 2 2 I7
2 0 0 B
?7
K!rid"ar #a$u %%engglabsblogspotcom
a! OPERATIO1 OF THE CIRCUIT:
)s s"o%n in t"e circuit diagram t"e enable signal E 8%"ic" is active lo%< is used to
activate t"e multipleDer circuit as %ell as eDpansion purpose
6"en EI25 %"atever may be t"e selection inputs 8donCt cares< t"e output of t"e
circuit is al%ays Kero ie5 t"e circuit %ill not function as a multipleDer
If EIB t"e circuit is in enable position and based on t"e selection line5 one of t"e four
inputs is selected and appears as t"e output
APP4ICATIO1S OF MU4TIP4E@ERS:
+ It can be used for t"e implementation of combinational digital circuits
7 /or parallel3to3serial data conversion
; !eHuential data !election
> MultipleDers are used in common bus systems to connect t"e number of registers
to a common bus
'! Im&-"m"n%a%ion of 4),aria'-" (oo-"an F$n+%ion f0D <D 8D E! F G
mAD1D:D7D>D1AD1:! $#ing > < 1 MU@:
DESI31 PROCEDURE:
,"e given function is a four variable function ,o implement four variables function @
D 2 multipleDer is reHuired Connect D5 y5 K variables to t"e selection lines !+5 !25 !B of
t"e @ D 2 multipleDer Consider no% t"e single variable % !ince t"is variable is t"e
"ig"est order position in t"e seHuence of variables5 it %ill be complemented in
minterms B to 8+
;
J+ 32< %"ic" comprise t"e first "alf in t"e list of minterms ,"e
second "alf of t"e minterms %ill "ave t"eir % variable complemented /or a four
variable function %5 D5 y5 K %e "ave siDteen minterms 4ariable % is complemented in
minterms B to : and uncomplemented in minterms @ to 2>
List t"e inputs of t"e multipleDer and under t"em list all t"e minterms in t%o ro%s
,"e first ro% lists all t"ose minterms 6"en % is complemented and t"e second ro%
all t"e minterms %it" % uncomplemented as s"o%n in t"e figure Circle all t"e
minterms of t"e function and inspect eac" column separately
If t"e t%o minterms in a column are not circled apply \BC to t"e corresponding
multipleDer input If t"e t%o minterms in a column are circled apply \2C to t"e
corresponding multipleDer input If t"e top minterm is circled and t"e bottom is not
circled5 apply \%C to t"e input If t"e bottom minterm is circled and top is not circled5
apply \%CC to t"e input
By circling t"e minterms of t"e function and applying t"e rules for finding t"e values
of multipleDer inputs %e obtain t"e implementation as s"o%n in t"e figure
?;
K!rid"ar #a$u %%engglabsblogspotcom
TRUTH TA(4E FOR THE 3I.E1 (OO4EA1 FU1CTIO1:
% D y K f
B B B B 2
B B B 2 2
B B 2 B B
B B 2 2 B
B 2 B B B
B 2 B 2 2
B 2 2 B B
B 2 2 2 2
2 B B B 2
2 B B 2 B
2 B 2 B 2
2 B 2 2 B
2 2 B B B
2 2 B 2 B
2 2 2 B B
2 2 2 2 2
CIRCUIT DIA3RAM:
?>
K!rid"ar #a$u %%engglabsblogspotcom
&o% connect t"e circuit as s"o%n in t"e figure and verify t"e trut" table of t"e given
Boolean function
.I.A .OCE QUESTIO1S:
2 6"at is a function of a multipleDerN
+ 6"at are its applicationsN
7 Implement a given Boolean function %it" t"e "elp of a M.0
; Design a /ull subtractor using a ; D 2 M.0
> Design a full adder using ; D 2 M.0
? Design 2? D 2 M.0 using @ D 2 M.0
: 6"at is t"e difference bet%een a M.0 and a DecoderN
@ Define DemultipleDer
A Design BCD to Decimal Decoder
2B #ealiKe a given Boolean function using a Decoder Circuit
22 6"at are t"e applications of a decoderN
2+ 6"y is M.0 called as Data !electorN
27 -ive t"e pin diagrams of ; D 2 and @ D 2 M.0
??
K!rid"ar #a$u %%engglabsblogspotcom
14. F4IP)F4OP A1D ITS CO1.ERSIO1
AIM:
8a< !tudy of bK /lip3/lop
8b< #ealiKation of Delay /lip3/lop using bK /lip3/lop
APPARATUS REQUIRED:
Digital IC Logic ,rainer Kit5
1atc" cords5
bK flip3flop IC 8 :;L!:?<
&O, gate IC 8:;B;<
a! S%$/8 of F-i&F-o& o&"ra%ion:
THEORY:
,"e logic symbol of an bK /lip3flop is as s"o%n in t"e figure It "as t%o sync"ronous
inputs 8b & K<5 a clock input 8CLK<5 t%o async"ronous inputs 8preset & clear< and t%o
outputs 8Q & QC<
)ccording to t"e inputs ! & #5 t"e output c"anges %"en t"e preset and clear are at logic
lo% and irrespective of t"e inputs ! & #5 preset is used to set t"e output and clear is used
to reset t"e output
Inputs Output
Q
Operation
CLK 1r Cr
2 2 2 QnG2 &ormal /lip3/lop operation
B 2 B B Clear 8or #eset<
B B 2 2 1reset 8or !et<
'! Con,"r#ion of F-i& F-o&'
(4OCC DIA3RAM:
?:
K!rid"ar #a$u %%engglabsblogspotcom
THEORY:
Operation of D /lip3/lop' ,"e D /lip3/lop "as only one input called Delay input and
t%o outputs Q and QC It can be constructed from !# /lip3/lop by placing an inverter
bet%een ! and # and assigning t"e symbol D to t"e ! input ,"e structure of D /lip3
/lop is s"o%n in t"e figure
,"e present state5 &eDt state ,able for D /lip3/lop can be dra%n as s"o%n in t"e
follo%ing table
Qn 81resent !tate< D81resent Input< QnG2 8&eDt !tate<
B B B
B 2 2
2 B B
2 2 2
.sing t"e EDcitation ,able for !# /lip3/lop given in table +5 t"e neDt sates ie5 ! & #
values can be augmented in t"e above 1! to &! table as s"o%n in t"e table 7
CIRCUIT DIA3RAM:
TRUTH TA(4E OF D F4IP)F4OP:
Operation of D /lip3/lop is as
follo%s'
2 6"en t"e CLK input is lo%5 t"e
input D "as no effect since t"e set and reset inputs of &)&D flip3flop are kept
"ig"
+ 6"en t"e CLK goes "ig"5 t"e Q output %ill take on t"e value of t"e D input
Qn D QnG2 EDcitation Inputs
! #
B B B B 0
B 2 2 2 B
2 B B B 2
2 2 2 D B
CLK I&1., D O.,1., QnG2
2 B B
2 2 2
B D &o C"ange
?@
K!rid"ar #a$u %%engglabsblogspotcom
DESI31:
One can design t"e neDt state decoder ie5 t"e simplified eDpressions for ! and # from
t"e k3maps as s"o%n in t"e follo%ing tables
/rom t"e above5 !ID and #IDC &o% t"e circuit for delay flip3flop using !# flip3flop
can be dra%n as s"o%n in t"e figure %it" single &O, gate ,"e logic symbol for D /lip3
/lop and t"e trut" table are s"o%n
PROCEDURE:
2 Connect t"e logic circuit as per t"e above diagram
+ 4erify t"e trut" table of D /lip3/lop
RESU4T:
D /lip3/lop trut" table is verified
.I.A .OCE QUESTIO1S:
2 Convert D /lip3/lop to bK /lip3/lop
+ 6"at is race around condition in bK /lip3/lopN =o% to avoid t"isN
7 Convert bK to !# /lip3/lop
; Define Latc"
> Dra% t"e circuit of !# Latc" using &)&D gates and &O# -ates
? Dra% t"e circuit of Bounce3free s%itc" and eDplain its operation
: Distinguis" bet%een sync"ronous and )sync"ronous /lip3/lop
@ Dra% t"e circuit of clocked !# // using IC &)&D gates -ive its trut" table and
eDplain its operation
A In "o% many %ays clocking can be doneN 6"at are t"eyN
?A
K!rid"ar #a$u %%engglabsblogspotcom
2B Dra% bK flip3flop using clocked !# flip3flop )nd also using IC &)&D gates
eDplain its operation
22 6"at is t"e role of present and clear in bK flip3flop
2+ EDplain t"e operation of Master3!lave bK flip3flop
27 6"at are t"e applications of flip3flopsN
2; #ealiKe D3// and ,3// using bK3// and clocked !#3//
2> #ealiKe ,3// using !#3// %it" , data input and D3// %it" , data input
:B
K!rid"ar #a$u %%engglabsblogspotcom
1:. SY1CHRO1OUS COU1TER
AIM: ,o design of Mod3> Counter using bK Master3!lave /lip3flops
APPARATUS:
!&o EQ.I1ME&, #)&-E Q.)&,I,*
2 Digital IC ,rainer Kit B37B4 B2
+ bK Master3!lave // :;:? B+
7 Connecting %ires
THEORY:
)sync"ronous or ripple counter is t"e simplest type of binary counter as it reHuires less
"ard%are but its speed of operation is lo% because t"e propagation delay time of all flip3
flops is cumulative and t"e total settling time is t"e product of t"e total number of flip3
flops and propagation delay of a single flip3flop )not"er problem encountered %it"
ripple counter is t"e glitc"es at t"e decoding gate output ,"e problem can be eliminated
by applying clock pulses to t"e flip3flops simultaneously %"ic" is done in a sync"ronous
counter ,"e speed of operation in a sync"ronous counter is limited by t"e propagation
delay of control gate and a flip3flop
DESI31:
2 /ind t"e number of flip3flops reHuired using t"e follo%ing eHuation
m X +
&
%"ere & I number of flip3flopsc m I Module m counter
> X +
7
c t"ree flip3flops are reHuired to design Mod3> counter
+ 6rite t"e count seHuence in t"e tabular form as s"o%n'
&o% %e prepare t"e K3maps %it" Q+Q2QB as input variables and flip3flop inputs as output
variables
CLK Q+ Q2 QB
B B B B
2 B B 2
+ B 2 B
7 B 2 2
; 2 B B
> B B B
:2
K!rid"ar #a$u %%engglabsblogspotcom
6e t"en minimiKe t"e K3maps and t"e resulting minimiKed eDpressions are
bB I Q+C 5 KB I 2
b2 I Qo 5 K2 I Qo
b+ I Q2QBC 5 K+ I 2
7 Determine t"e flip3flop inputs %"ic" must be present for t"e desired neDt state from t"e
present state in t"e EDcitation ,able
HC E<+i%a%ion Ta'-":
Qn QnG2 b K
B B B 0
B 2 2 0
2 B D 2
2 2 D B
1#E!E&, !,),E &E0, !,),E /LI13/LO1 I&1.,!
Q+ Q2 QB Q+ Q2 QB b+ K+ b2 K2 bB KB
B B B B B 2 B 0 B 0 2 0
B B B B 2 B B 0 2 0 0 2
B 2 B B 2 2 B 0 0 B 2 0
B 2 2 2 B B 2 0 0 2 0 2
2 B B B B B 0 2 B 0 B 0
:+
K!rid"ar #a$u %%engglabsblogspotcom
E<+i%a%ion Ma&#:
,"e count seHuence and t"e reHuired inputs to t"e flip3flops are given in t"e above table
,"e inputs to t"e flip3flops are determined in t"e follo%ing manner >5 ?5 : are unused
states
.sing t"e above eDcitation eHuations5 t"e circuit diagram for t"e Mod3> counter can be
dra%n as s"o%n belo%'
TIMI13 DIA3RAM:
PROCEDURE:
2 Connect t"e circuit as per t"e logic diagram
+ 4erify t"e count of Mod3> counter
RESU4T: Mod3> counter is designed using bK /lip3/lops and t"e Mod3> counter
operation is verified
:7
K!rid"ar #a$u %%engglabsblogspotcom
.I.A .OCE QUESTIO1S:
2 Design Mod3? counter using , /lip3/lops Dra% ,iming diagram for a continuous
clock
+ Design Mod32+ counter using D /lip3/lops Dra% timing diagram for a
continuous clock
7 Contrast and Compare combinational and seHuential digital circuits
; 6"at are t"e differences bet%een )sync"ronous and !ync"ronous CounterN
> If t"e freHuency of counter is 2B M=K5 %"at is t"e output freHuency of Mod32B
counterN
:;
K!rid"ar #a$u %%engglabsblogspotcom
1;. ASY1CHRO1OUS COU1TER
AIM: to Design a Mod3? async"ronous counter using master3slave bK /lip3/lops
APPARATUS REQUIRED:
!&o EQ.I1ME&, #)&-E Q.)&,I,*
2 Digital IC ,rainer Kit B37B4 B2
+ bK Master3!lave // :;:? B+
7 &)&D gates B2
7 Connecting %ires
THEORY:
,"e async"ronous counter is t"e simplest in terms of logical operations and t"erefore is
t"e simplest to design In t"is counter5 all t"e flip3flops are not under t"e control of a
single clock ,"e clock pulse applied to t"e first flip3flop and t"e successive flip3flops are
triggered by t"e output of t"e previous flip3flops )nd t"us t"e counter "as cumulative
settling time =ence its speed is limited
DESI31:
&umber of flip3flops reHuired is decide by t"e follo%ing eHuation
+
n
d &
6"ere n I &umber of flip3flops reHuired
& I MaDimum number of possible states
+
7
d ? c 7 /lip3flops are reHuired
4O3IC DIA3RAM:
:>
K!rid"ar #a$u %%engglabsblogspotcom
TRUTH TA(4E:
OPERATIO1:
) Mod3? ripple counter s"o%n in t"e figure %it"out &)&D gate functions as a Mod3@
Binary counter5 %"ic" counts from BBB to 222 =o%ever5 t"e presence of t"e &)&D gate
alters t"e seHuence as follo%s'
2 ,"e &)&D gate output is connected to t"e clear inputs of eac" flip3flop )s long as t"e
&)&D gate output is "ig"5 it %ill "ave no effect on t"e counter 6"en t"e &)&D gate
output goes lo%5 it %ill clear all t"e flip3flops and t"e counter immediately goes to t"e
BBB state
+ ,"e outputs of t"e counter Q2 and Q+ are given as inputs to t"e &)&D gate %"ose
output goes lo% %"enever Q2 I QB I2 ,"is condition %ill occur %"en t"e counter goes
from t"e 2B2 state to t"e 22B state ,"e lo% at t"e &)&D gate output %ill clear t"e
counter to t"e BBBstate Once t"e flip3flop "as been cleared5 t"e &)&D gate output goes
back to "ig" since Q2 IQ+ I 2 condition no longer eDists
7 ,"erefore t"e counting seHuence is BBB e BB2 e B2B e B22e 2BBe 2B2e BBBe
ff)lt"oug" t"e counter does go to t"e 22B state5 it remains t"ere only for a fe% nano
seconds before it recycles to BBB 6e can say t"at t"is counter counts from BBB to 2B2
and t"en recycles to BBB It essentially skips 22B and 222 states going t"roug" siD
different states ,"us it is a Mod3? counter
CLOCK 1.L!E Q+ Q2 QB
B B B B
2 B B 2
+ B 2 B
7 B 2 2
; 2 B B
> 2 B 2
? 2 2 B
:?
K!rid"ar #a$u %%engglabsblogspotcom
&ote t"at t"e %aveform at t"e Q2 output contains a spike or glitc" caused by a momentary
occurrence of 22B sate before clearing ,"is glitc" is very narro% and so %ould not
produce any visible indication It s"ould be noted t"at t"e Q+ output "as a freHuency
eHual to 2J? t"e input freHuency
,o construct any Mod3& counter5 t"e follo%ing met"od can be used'
2 /ind t"e number of flip3flops reHuired for t"e desired Mod3& counter using +
n32
d
& d +
n