Page 1 of 1

j k flip flop

Posted: Wed Jul 09, 2014 8:47 pm
by priyaranjan061
why simple jk flip flop circuit not working here in simulator.why there is oscillation and if so why books are providing these configuration for j-k flip flop.
j-k flip flop.CircuitProject
(15.62 KiB) Downloaded 1115 times

Re: j k flip flop

Posted: Thu Jul 10, 2014 1:43 pm
by admin
Hi,
I think you have a small mistake in your circuit. You need to connect your q output to j input instead of k and ~q to k instead of j. I have seen a few erroneous images of jk flip-flops on the web. You probably found one. Please see this link for the correct circuitry and have fun with your circuits.
http://www.electronics-tutorials.ws/seq ... seq_2.html
Eugene

Re: j k flip flop

Posted: Tue Sep 02, 2014 8:48 am
by kink
I have the same problem with FF jk, there are errors in the outputs when I put in oscillator mode. I do not know if it has to do with the delay times in the models of the gates. I've been reading in the forums and find no answer.

This is the circuit I am testing.

Hopefully you can help me, Thanks!

Re: j k flip flop

Posted: Tue Sep 02, 2014 12:58 pm
by admin
I don’t see any problems with your flip flop. You have two constants 1 connected to J and K so it is flipping. If you put them to 0 both or just one the flip-flop will be in the stable mode. I guess it is expected behavior. Please see for http://www.electronics-tutorials.ws/seq ... seq_2.html details.

Re: j k flip flop

Posted: Tue Sep 02, 2014 4:43 pm
by kink
Thanks for the answer.

The problem that I have during the simulation, in all stables modes operating correctly, only in the oscilator mode, the toggles are not constant, at some time toggles are made correctly, other times then change only Q or -Q repeatedly, in some pulses does not change either.. etc

It will issue the simulator or SO(Windows 8 64b)??

Thank you!
(Sorry i'm using a translator)

Re: j k flip flop

Posted: Tue Sep 02, 2014 7:12 pm
by admin
This is happening because your flip flop is level triggering. What you need is edge triggering flip flop. Look at this page for details:
http://tams-www.informatik.uni-hamburg. ... /jkff.html