Counters 1
Counters 1
SIII EE
COUNTERS-1
INTRODUCTION TO COUNTERS
• Counters are sequential logic devices that
follow a predetermined sequence of counting
states which are triggered by an external clock
(CLK) signal.
2
INTRODUCTION TO COUNTERS
•Counters are Sequential Circuits
•A digital circuit which is used for counting pulses is
known as Counter
•A Counter counts number of incoming pulses and gives
the number of pulse on its outputs
•Every clock pulse updates or changes the outputs of a
counter
•Its outputs come in a Sequence
•It is a group of flip-flops with a clock signal applied to it
INTRODUCTION TO COUNTERS(contd)
• Applications of Counters:
• Counting pulses or ‘events’
• Measuring Time periods
• Frequency calculations
• Frequency division etc
4
INTRODUCTION TO COUNTERS(contd)
• Categories & Types of Counters:
• Categories;
• a) Asynchronous Counters
• b) Synchronous Counters
• Types;
• Up Counter
• Down Counter
• Decade Counter
• Ring Counter
• Modulus Counter etc
5
Asynchronous Counter
• ‘Asynchronous’ is the opposite of synchronous.
Something that is not existing or not occurring at the
same time.
6
Asynchronous Counter(Contd)
• In Asynchronous counter, changing state bits(Lo level to Hi
level, Hi to Lo levels and +ve & -ve Edges in between)
are provided as the clock signal to the subsequent flip-flops.
Thus Flip-flops are serially connected together, and the
clock pulse ripples/moves through the F/Fs in the counter.
Due to the ripple clock pulse, it’s also called as
‘Ripple counter’.
An Asynchronous counter can produce 2n outputs and can
count maximum up to 2n - 1 value. For eg, a three bit counter
may produce 8 outputs and can count max up to 8-1 =7
7
Asynchronous Counter(Contd)
• External clock is applied to the clock input of flip-flop 1 and Q1
output is applied to the clock input of the next flip-flop i.e. FF-2
• Example 1: Made by JK Flip Flops(-ve edge triggered)
8
Asynchronous Counter(Contd)
• 2 Bit Counter
9
Counters
Counting Table of a 2 bit counter
CLR CLK Q1 Q0
No
0 0 0 0
1 1 0 1
1 2 1 0
1 3 1 1
Asynchronous Counter(contd)
11
Counters
Counting Table of a 3 bit counter
CLR CLK Q2 Q1 Q0
No
0 0 0 0 0
1 1 0 0 1
1 2 0 1 0
1 3 0 1 1
1 4 1 0 0
1 5 1 0 1
1 6 1 1 0
1 7 1 1 1
Asynchronous Counter(contd)
13
Counters
Counting Table of a 3 bit Down
Counter
CLK Q2 Q1 Q0
No
0 1 1 1
1 1 1 0
2 1 0 1
3 1 0 0
4 0 1 1
5 0 1 0
6 0 0 1
7 0 0 0