Race around condition in JK latch and need for flip flops

AN INTERESTING CONDITION IN JK LATCH (FLIP-FLOP)


I performed an experiment in the lab to study the behaviour of JK flip flop especially to understand the race around condition in JK flip flop, in which I generated output waveforms with the help of a DSO.

In the diagrams below, clock pulse (frequency around 1 Hz) is shown by blue colour and output of JK flip flop in race-around condition (when both the input were High i.e. J=K=1) is shown by red colour.



fig.1 



fig.2

Here you can see the race between 1 and 0, given that the clock pulse is High.
As long as the clock pulse is High, there is multiple toggling between 1 and 0 at the output of JK flip flop. At that moment, when the clock pulse makes a transition from 1 to 0, the output of JK flip flop appears as either 1 or 0. Basically it depends on the previous state (just some nano seconds before the transition).
Sometimes it is 1 and sometimes it is 0, so the state (either 0 or 1) which is present just before the transition wins the race. That's why it is called race around condition.


fig. (m) Zoomed upto 2 nsec

To understand the race around condition, I have zoomed the output waveform of JK flip flop upto 2 nano second.
For example in fig. (m), "1" is present just before the transition, so the next state of JK flop flop would be 1 and remains 1 as long as lock pulse is low. And the moment clock pulse makes transition from Low to High, output of JK flip flop again toggles multiple time and race continues.



Remark: in order to see race around condition, delay time (t_d) must be less than time period of clock pulse.

For application purpose we don't want this condition to happen in order to have a control at the output, that's why edge triggering is a good idea to design a flip flop so that t_d becomes greater than or equal to the time period of clock pulse and things become in our control. Hence we can design more useful devices i.e. memory devices for computers.



Comments

Popular posts from this blog

IUCAA - ISSAA 2021

Books Catalog For Undergraduate and Graduate Physics Students

Photography Collection