What Is Counter?: Flip-Flop
What Is Counter?: Flip-Flop
What Is Counter?: Flip-Flop
The value of output lines denote a number in binary number system (BCD =
Binary coded decimal). Mostly, the cascade connection of flip-flop are used in
these digital circuits. These instruments and devises widley used in digital
circuits as a separate ICs as well as combined as parts in larger integrated
circuits and PCBs.
Also read: 15+ Must Have Android Apps for Electrical & Electronics Engineers
& Students
The clock input is given to the first flip-flop. For a Modulo n counter, the clock
input to the nth flip-flop is determined by the (n-1)th flip-flop output. Since
clock of one flip-flop depends on the output of the previous flip-flop, it would
change its state after a certain time delay which equals the propagation
delays of both the flip-flops. For a Modulus n counter, the nth flip-flop will
change its state after a delay of n times the propagation delay of one flip-flop.
Since the clock information ripples through the counter, it is known as a Ripple
Counter. Also since the flip-flops do not change state in synchronization with
the input clock, these counters are also known as Asynchronous counters.
Since the final output would depend upon the propagation delay of each
counters, there is a limit to the clock frequency, which is given as:
Where N is the number of flip-flops, td is propagation delay of one flip-flop and
Ts is the strobe pulse width. Note that the propagation delay varies within
different types of flip-flops.
Decade Counters:
BCD Counter:
Presettable Counters:
These are counters which can be pre-set to any initial count, with the help of
the PRESET and CLEAR pins of the Flip-Flops. The flip-flops can be clocked
asynchronously or synchronously. Presettable counters can be UP counters,
DOWN counters or UP/DOWN counters.
These consist of additional input/output pins such as ‘Preset’ (To load any
desired count), Parallel Load (PL) inputs (allows PRESET inputs to be loaded
to the outputs), and Terminal Count (TC) outputs (becomes active when
terminal count is reached.). Examplesare IC74190, IC4191 and IC74193.
Ring Counter:
This counter is developed by modifying a shift register. The true output of the
last flip-flop is fed back directly to the data input of the first flip-flop, thus
generating a sequence of pulses. For example, for a D Flip-Flop shift register,
the Q output of the last flip-flop is connected to the D input of the first flip-flop.
These counters are used in digital system to generate control pulses.
Johnson Counter
This counter is a reverse of Ring Counter. In other words, feedback from the
last flip-flop is fed inversely to the data input of the first flip-flop. For example,
for a D Flip-Flop shift register, the ~Q output of the last flip-flop is fed to the D
input of the first flip-flop. These can be used as Divide by n counters as well.
Note: You may read in more details about Ring Counters and Johnson
Counters
Pins 1 to 7, 9 to 11: These are output pins of the IC, with each pin going high
with corresponding decimal count. The status is as given below.
Pin 8: It is the ground pin, which is connected to LOW level voltage or to the
ground.
Pin 9: Goes HIGH when count is ‘8’.
Pin 12: This pin is used for connecting with another Counter IC, to support
larger counting order. Though we can achieve counts to 20 or more, by
cascading multiple IC4017stogether, it is advised not to cascade more than 3
ICs, in order to avoid occurrence glitches.
Pin 13: This is an Active LOW pin and is termed as the Disable pin. Once
given a logic HIGH signal, it will disable the whole function of the IC,
irrespective of the clock pulses.
Pin 14: This is the clock input pin. The input clock pulses are given to this pin
and the count advances on rising or positive edge of the pulse.
Pin 15: This is the Active LOW reset pin, which once given a ‘HIGH’ logic
signal would reset the IC.
Pin 16: This is the Power Supply pin which should be given a voltage from 3
Volts to 15 Volts.
Applications/Uses of Counters
Electronic counters are used in many digital electronic devices especially in
digital clock and multiplexing. Most of their applications are listed below.
As object counters
Parallel to serial data conversion logic circuits
Analog to digital convertors.
Digital clocks
Frequency counters
Frequency divider circuits. (Where the Input frequency divided by 2)
Timers and Rate measurement. (Time circuits, Washing
machines, Alarm clocketc)
Digital triangular wave generator.
Generating staircase voltage
This is a brief overview about different types of counters. Any other
information regarding counters are welcome in the below section