Ch. 12 : Counter Circuits
& Applications
Outline Outline
Analysis of Sequential Circuits Ripple counters
f
Design of Divide-by-N Counters Ripple Counter ICs
l
System Design Applications
7-Segment LED Display Decoders
S h C t
Synchronous Counters
Synchronous Up/Down-Counters ICs
A li ti f S h C t IC
Ch. 12: Counter Circuits 2
Applications of Synchronous Counters ICs
12.1 Analysis of Sequential y q Circuits
p
Ch. 12: Counter Circuits 3
12 2 Ripple counters 12.2 Ripple counters
A counter circuit can be built by cascading flip-flops together.
(Connecting the Q output of one flip flop to the clock input of the (Connecting the Q output of one flip-flop to the clock input of the next)
The number of states in a counter (modulus) is 2N where N is the number of flip-flops.
number of flip flops.
In order for a counter to operate properly each flip-flop must toggle. For J-K flip-flops this means both J and K must be high.
In a ripple counter the clock input has to propagate through each pp p p p g g flip-flop of the counter.
A ripple counter is also called an asynchronous counter because each flip-flop does not change at the same time.
The propagation delay of each flip-flop adds together to give a
total propagation delay for the counter. This propagation delay will limit the maximum frequency allowed by the input trigger clock.
A down counter can be formed by taking the output from the
Ch. 12: Counter Circuits 4
A down counter can be formed by taking the output from the output instead of the Q output of each flip-flop.
Three bit binary ripple counter Three bit binary ripple counter
Ch. 12: Counter Circuits 5
Effect of propagation Delay Effect of propagation Delay
Ch. 12: Counter Circuits 6
Down Counter (Exp: Mod 8) Down Counter (Exp: Mod 8)
Ch. 12: Counter Circuits 7
12.3 Design of Divide-by-N g y Counters
A counter can also be used as a frequency divider. q y
Ch. 12: Counter Circuits 8
Ch. 12: Counter Circuits 9
Mod 6 : 7 6 5 4 3 2 7 6 5
Mod 6 : 7,6,5,4,3,2,7,6,5,…
Ch. 12: Counter Circuits 10
Count 0,1,2,3,4,5 and then , , , , , stops and turns on an LED
Ch. 12: Counter Circuits 11
12 4 Ripple Counter ICs 12.4 Ripple Counter ICs
7490 (mod 2 x 5) 7492 (mod 2 x 6) 7492 (mod 2 x 6) 7493 (mod 2 x 8)
Ch. 12: Counter Circuits 12
7493 7493
Ch. 12: Counter Circuits 13
Ch. 12: Counter Circuits 14
7490 7490
Ch. 12: Counter Circuits 15
7492 7492
Ch. 12: Counter Circuits 16
12 5 System Design Applications 12.5 System Design Applications
Digital Clock Timer Up
Timer Up
Timer Down
Ch. 12: Counter Circuits 17
Di it l Cl k Digital Clock
Ch. 12: Counter Circuits 18
Timer up till 3 minute Timer up till 3 minute
Ch. 12: Counter Circuits 19
12.6 7-Segment LED Display g p y Decoders
p
Ch. 12: Counter Circuits 20
12 7 Synchronous Counters 12.7 Synchronous Counters
p
Ch. 12: Counter Circuits 21
12.8 Synchronous Up/Down- y p Counters ICs
p
Ch. 12: Counter Circuits 22
12.9 Applications of pp
Synchronous Counters ICs
p
Ch. 12: Counter Circuits 23
Kuis Kuis
Count up 34563456, 4567845678
Count down 65436543: 8765487654 Count down 65436543: 8765487654 Timer up 012345 : 012345678
Ti d 543210 876543210 Timer down 543210: 876543210
Ch. 12: Counter Circuits 24
Tugas Kamis jam 0:00 Tugas Kamis jam 0:00
Timer down, start pada 2 digit terakhir NPM, berhenti saat 00
Jam digital 24an (23:59) menggunakan 7493 Timer down start 5:00, 4:59, … berhenti 0:00
Ch. 12: Counter Circuits 25