Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Signature of Examiner
Mr. Sanjay Sharma
ACKNOWLEDGEMENT:
I would like to express my special thanks of
gratitude to my teacher Dr. Jaswinder Kaur
as well as our lab teacher Mr. Sanjay
Sharma who gave me the golden opportunity
to do this wonderful project on the topic of
analog and digital electronics, which also
helped me in doing a lot of Research and I
came to know about so many new things I
am really thankful to them. Secondly I would
also like to thank my parents and friends
who helped me a lot in finalizing this project
within the limited time frame.
THEORY
The basic S-R NAND flip-flop circuit has many advantages and uses in sequential logic circuits but it
suffers from two basic switching problems.
Number one, the S = 0 and R = 0 condition (S = R = 0) must always be avoided, and number
two, if S or R change state while the enable input is high the correct latching action may not
occur. Then to overcome these two fundamental design problems with the SR flip-flop
design, the JK flip Flop was developed. This simple JK flip Flop is the most widely used of
all the flip-flop designs and is considered to be a universal flip-flop circuit. The sequential
operation of the JK flip flop is exactly the same as for the previous SR flip-flop with the same
“Set” and “Reset” inputs. The difference this time is that the “JK flip flop” has no invalid or
forbidden input states of the SR Latch even when S and R are both at logic “1”.The JK flip
flop is basically a gated SR flip-flop with the addition of a clock input circuitry that prevents
the illegal or invalid output condition that can occur when both inputs S and R are equal to
logic level “1”. Due to this additional clocked input, a JK flip-flop has four possible input
combinations, “logic 1”, “logic 0”, “no change” and “toggle”. The symbol for a JK flip flop is
similar to that of an SR bi stable latch except for the addition of a clock input.
Then the JK flip-flop is basically an SR flip flop with feedback which enables only one of its
two input terminals, either SET or RESET to be active at any one time thereby eliminating
the invalid condition seen previously in the SR flip flop circuit. Also when both the J and
the K inputs are at logic level “1” at the same time, and the clock input is pulsed “HIGH”, the
circuit will “toggle” from its SET state to a RESET state, or visa-versa. This results in the JK
flip flop acting more like a T-type toggle flip-flop when both terminals are “HIGH”.
Although this circuit is an improvement on the clocked SR flip-flop it still suffers from
timing problems called “race” if the output Q changes state before the timing pulse of the
clock input has time to go “OFF”. To avoid this the timing pulse period (T) must be kept as
short as possible (high frequency). As this is sometimes not possible with modern TTL IC’s
the much improved Master-Slave JK Flip-flop was developed.
Bidirectional Counters
Bidirectional counters are capable of counting in either the up direction or the down direction
through any given count sequence. As well as counting “up” from zero and increasing or
incrementing to some preset value, it is sometimes necessary to count “down” from a
predetermined value to zero allowing us to produce an output that activates when the zero
count or some other pre-set value is reached. This type of counter is normally referred to as
a Down Counter, (CTD). In a binary or BCD down counter, the count decreases by one for
each external clock pulse from some preset value. Special dual purpose IC’s such as the TTL
74LS193 or CMOS CD4510 are 4-bit binary Up or Down counters which have an additional
input pin to select either the up or down count mode. Both Synchronous and Asynchronous
counters are capable of counting “Up” or counting “Down”, but there is another more
“Universal” type of counter that can count in both directions either Up or Down depending
on the state of their input control pin and these are known as Bidirectional Counters.
Bidirectional counters, also known as Up/Down counters, are capable of counting in either
direction through any given count sequence and they can be reversed at any point within their
count sequence by using an additional control input