Synchronous Counters |
Navigation |
|
|
Synchronous Counters
In the previous Asynchronous binary counter tutorial, we saw that the output of one counter stage is
connected directly to the input of the next counter stage and so on along the chain, and as a result the asynchronous
counter suffers from what is known as "Propagation Delay". However, with Synchronous Counters, the
external clock signal is connected to the clock input of EVERY individual flip-flop within the counter so that all
of the flip-flops are clocked together simultaneously (in parallel) at the same time giving a fixed time relationship.
This results in all the individual output bits changing state at exactly the same time with no ripple effect
and therefore, no propagation delay.
4-bit Synchronous Counter
It can be seen that the external clock pulses (pulses to be counted) are fed directly to each
J-K flip-flop in the counter chain
and that both the J and K inputs are all tied together, but
only in the first flip-flop, flip-flop A (LSB) are they connected HIGH, logic "1" allowing
the flip-flop to toggle on every clock pulse.
The J and K inputs of flip-flop
B are connected to the output "Q" of flip-flop
A, but the J and K inputs of flip-flops
C and D are driven from AND gates which
are also supplied with signals from the input and output of the previous stage. If we enable each J-K flip-flop to
toggle based on whether or not all preceding flip-flop outputs (Q) are "HIGH" we can obtain
the same counting sequence as with the asynchronous circuit but without the ripple effect, since each flip-flop in this
circuit will be clocked at exactly the same time. As there is no propagation delay in synchronous counters because all
the counter stages are triggered in parallel the maximum operating frequency of this type of counter is much higher
than that of a similar asynchronous counter.
4-bit Synchronous Counter Waveform Timing Diagram.
Because the counter counts sequentially on every clock pulse the resulting outputs count upwards
from 0 ("0000") to 15 ("1111") therefore, this type of counter is also known as a "4-bit Synchronous Up Counter".
Counters can count on either the "rising-edge" or the "falling-edge" of the clock pulse resulting
in one single count when the clock input changes state. Generally, synchronous counters count on the rising-edge which
is the low to high transition of the clock signal and asynchronous ripple counters count on the falling-edge which is
the high to low transition of the clock signal.
It may seem unusual that ripple counters use the falling-edge of the clock cycle to change state, but
this makes it easier to link counters together because the most significant bit (MSB) of one counter can drive the clock
input of the next. This works because the next bit must change state when the previous bit changes from high to low - the
point at which a carry must occur to the next bit. Synchronous counters usually have a carry-out and a carry-in pin for
linking counters together without introducing any propagation delays.
|