j k flip flop

An area for asking questions, making suggestion, share ideas and place circuit examples.
Post Reply
priyaranjan061
Posts: 1
Joined: Wed Jul 09, 2014 6:42 pm

j k flip flop

Post 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 1112 times
User avatar
admin
Site Admin
Posts: 417
Joined: Sun Jun 14, 2009 10:53 pm
Contact:

Re: j k flip flop

Post 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
kink
Posts: 2
Joined: Tue Sep 02, 2014 8:01 am

Re: j k flip flop

Post 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!
Attachments
JK FF.CircuitProject
(13.96 KiB) Downloaded 1090 times
User avatar
admin
Site Admin
Posts: 417
Joined: Sun Jun 14, 2009 10:53 pm
Contact:

Re: j k flip flop

Post 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.
kink
Posts: 2
Joined: Tue Sep 02, 2014 8:01 am

Re: j k flip flop

Post 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)
User avatar
admin
Site Admin
Posts: 417
Joined: Sun Jun 14, 2009 10:53 pm
Contact:

Re: j k flip flop

Post 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
Post Reply