Escolar Documentos
Profissional Documentos
Cultura Documentos
Counter is a sequential circuit. A digital circuit which is used for a counting pulses is known
counter. Counter is the widest application of flip-flops. It is a group of flip-flops with a clock
signal applied. Counters are of two types.
Synchronous counters.
Logical Diagram
Operation
S.No Condition Operation
2 After 1st As soon as the first negative clock edge is applied, FF-A will
negative clock toggle and QA will be equal to 1.
edge
QA is connected to clock input of FF-B. Since Q A has changed
from 0 to 1, it is treated as the positive clock edge by FF-B. There
is no change in QBbecause FF-B is a negative edge triggered FF.
4 After 3rd On the arrival of 3rd negative clock edge, FF-A toggles again and
negative clock QA become 1 from 0.
edge
Since this is a positive going change, FF-B does not respond to it
and remains inactive. So QB does not change and continues to be
equal to 1.
5 After 4th On the arrival of 4th negative clock edge, FF-A toggles again and
negative clock QA becomes 1 from 0.
edge
This negative change in QAacts as clock pulse for FF-B. Hence it
toggles to change QBfrom 1 to 0.
Truth Table
Synchronous counters
If the "clock" pulses are applied to all the flip-flops in a counter simultaneously, then such a
counter is called as synchronous counter.
Operation
S.N Condition Operation
.
2 After 1st As soon as the first negative clock edge is applied, FF-A will toggle and
negative QA will change from 0 to 1.
clock edge
But at the instant of application of negative clock edge, QA , JB = KB = 0.
Hence FF-B will not change its state. So QB will remain 0.
3 After 2nd On the arrival of second negative clock edge, FF-A toggles again and
negative QA changes from 1 to 0.
clock edge
But at this instant QA was 1. So JB = KB= 1 and FF-B will toggle. Hence
QB changes from 0 to 1.
4 After 3rd On application of the third falling clock edge, FF-A will toggle from 0
negative to 1 but there is no change of state for FF-B.
clock edge
QBQA = 11 after the third clock pulse.
5 After 4th On application of the next clock pulse, QA will change from 1 to 0 as
negative QB will also change from 1 to 0.
clock edge QBQA = 00 after the fourth clock pulse.
The 2-bit ripple counter is called as MOD-4 counter and 3-bit ripple counter is called as
MOD-8 counter. So in general, an n-bit ripple counter is called as modulo-N counter. Where,
MOD number = 2n.
Type of modulus:
Applications of counters
Frequency counters
Digital clock
Time measurement
A to D converter
A 4 bit binary counter will act as decade counter by skipping any six outputs out of
the 16 outputs.
The above figure shows a decade counter constructed with JK flip flop. The J output and K
outputs are connected to logic 1. The clock input of every flip flop is connected to the output
of next flip flop, except the last one.
The output of the NAND gate is connected in parallel to the clear input CLR to all the flip
flops. This ripple counter can count up to 16 i.e. 24.
When the Decade counter is at REST, the count is equal to 0000. This is first stage of the
counter cycle. When we connect a clock signal input to the counter circuit, then the circuit
will count the binary sequence. The first clock pulse can make the circuit to count up to 9
(1001). The next clock pulse advances to count 10 (1010).
Then the ports X1 and X3 will be high. As we know that for high inputs, the NAND gate
output will be low. The NAND gate output is connected to clear input, so it resets all the flip
flop stages in decade counter. This means the pulse after count 9 will again start the count
from count 0.
Truth Table of Decade Counter
The above table describes the counting operation of Decade counter. It represents the count of
circuit for decimal count of input pulses. The NAND gate output is zero when the count
reaches 10 (1010).
The count is decoded by the inputs of NAND gate X1 and X3. After count 10, the logic gate
NAND will trigger its output from 1 to 0, and it resets all flip flops.