Monday, September 8, 2014

JK FLIP FLOP

The J-K flip-flop



Another variation on a theme of bistable multivibrators is the J-K flip-flop. Essentially, this is a modified version of an S-R flip-flop with no "invalid" or "illegal" output state. Look closely at the following diagram to see how this is accomplished:


What used to be the S and R inputs are now called the J and K inputs, respectively. The old two-input AND gates have been replaced with 3-input AND gates, and the third input of each gate receives feedback from the Q and not-Q outputs. What this does for us is permit the J input to have effect only when the circuit is reset, and permit the K input to have effect only when the circuit is set. In other words, the two inputs are interlocked, to use a relay logic term, so that they cannot both be activated simultaneously. If the circuit is "set," the J input is inhibited by the 0 status of not-Q through the lower AND gate; if the circuit is "reset," the K input is inhibited by the 0 status of Q through the upper AND gate.

When both J and K inputs are 1, however, something unique happens. Because of the selective inhibiting action of those 3-input AND gates, a "set" state inhibits input J so that the flip-flop acts as if J=0 while K=1 when in fact both are 1. On the next clock pulse, the outputs will switch ("toggle") from set (Q=1 and not-Q=0) to reset (Q=0 and not-Q=1). Conversely, a "reset" state inhibits input K so that the flip-flop acts as if J=1 and K=0 when in fact both are 1. The next clock pulse toggles the circuit again from reset to set.

See if you can follow this logical sequence with the ladder logic equivalent of the J-K flip-flop:


The end result is that the S-R flip-flop's "invalid" state is eliminated (along with the race condition it engendered) and we get a useful feature as a bonus: the ability to toggle between the two (bistable) output states with every transition of the clock input signal.

There is no such thing as a J-K latch, only J-K flip-flops. Without the edge-triggering of the clock input, the circuit would continuously toggle between its two output states when both J and K were held high (1), making it an astable device instead of a bistable device in that circumstance. If we want to preserve bistable operation for all combinations of input states, we must use edge-triggering so that it toggles only when we tell it to, one step (clock pulse) at a time.

The block symbol for a J-K flip-flop is a whole lot less frightening than its internal circuitry, and just like the S-R and D flip-flops, J-K flip-flops come in two clock varieties (negative and positive edge-triggered):


REVIEW:
A J-K flip-flop is nothing more than an S-R flip-flop with an added layer of feedback. This feedback selectively enables one of the two set/reset inputs so that they cannot both carry an active signal to the multivibrator circuit, thus eliminating the invalid condition.
When both J and K inputs are activated, and the clock input is pulsed, the outputs (Q and not-Q) will swap states. That is, the circuit will toggle from a set state to a reset state, or vice versa.

66 comments :

  1. malaking tulong to sa mga estudyante :D

    ReplyDelete
  2. thanks po for the information :) this will help me a lot :)

    ReplyDelete
  3. this one is helpful for our future topic (flip flop). thanks for this one.

    ReplyDelete
  4. ok to ma'am aa, nice blog poooo :)

    ReplyDelete
  5. I honestly don't see the use of JK Flip Flops :/ If there is, explain it :biggrin.gif:

    ReplyDelete
  6. Ma'am eto ung sa Final demo nio dba po? galing poo :D heheh heart <3

    ReplyDelete
  7. Ma'am eto ung sa Final demo nio dba po? galing poo :D heheh heart <3

    ReplyDelete
  8. Personally I don't think they're very useful in minecraft, but they can be used as RS latch and if you modify them slightly they also work as D flip flops and T flip flops. So they're like all the flip flops in one.

    Also according to some website they are preferred in real life circuits because they are completely predictable (no problems with set and reset both on).

    ReplyDelete

  9. .. thanks for the info mam, it's very useful for us students that has a subject of digital electronics

    ReplyDelete
  10. Thanks for the information, it's very useful for us especially for all students studying digital electronics.

    ReplyDelete
  11. for all students studying digital electronics, this information is very useful :)

    ReplyDelete
  12. Thanks for this very helpful information ma'am..

    ReplyDelete
  13. Thanks :) it reviews my past lessons na nakalimutan ko na :)

    ReplyDelete
  14. nice info!... mas lalo kong naiintindihan ang jk flipflop..

    ReplyDelete
  15. it's nice that you add a video here

    ReplyDelete
  16. this blog gives a lot of information about JK flip flop...better if you put the schematic diagram of JK flip flop here...hehe

    ReplyDelete
  17. nice blog very informative :)

    ReplyDelete
  18. nice ma'am ! :) very helpful to ! :)

    ReplyDelete
  19. Thanks for the info... This helps a lot. :)

    ReplyDelete
  20. I just found out that when designing is considered,for JK f/f we have another extra table called excitation table ,which is not while designing D f/f.could you explain what and why the excitaion table is used in JK f/f when designing

    ReplyDelete
  21. how did you made this blog? i'ts good! :)

    ReplyDelete
  22. A flipflop like this could be useful for adding a toggle pixel function to displays, it would need to be smaller though. I just leraned here :D

    ReplyDelete
  23. SR, D and JK are different from each other right? :)

    ReplyDelete
  24. SR, D and JK are different from each other right? :)

    ReplyDelete
  25. ma'am eto po ba un? hehehe. ok po ang topic na JK flip flop aa. may video pa po. hehehe

    ReplyDelete
  26. ok pooo itoooooo.. mas naiintindihan talga kapag may tutorial. hehehe

    ReplyDelete
  27. iba ka na Ma'am . mehehehe. galing po nitoo!

    ReplyDelete
  28. J=0 K=1 Q=0 it is RESET .

    ReplyDelete
  29. There is no such thing as a J-K latch, only J-K flip-flops. paturo po personalyyy <3

    ReplyDelete
  30. very informative this blog is. I commend you for this Ma'am! :D

    ReplyDelete
  31. galenggggggggggggggg

    ReplyDelete
  32. parang kuya kim lang po aaa. hehe

    ReplyDelete
  33. veru fruitful blog! halohalo po ee.

    ReplyDelete
  34. Thank you very much for your help. I will build a counter use the JK flip flop. Just the simple JK flipflop with inputs JK and clock, Q.

    ReplyDelete
  35. I found it, you can add it to your bloggg


    How to convert jk to d flip flop


    Conversion of JK flip flop to D flip flop: In case of converting JK flip flop into D flip flop, D is the external input of combinational circuit. JK Flip Flop to SR Flip Flop; This will be the reverse process of the above explained conversion. S and R will be the external inputs to J and K. Flip-flops are electrical circuits that can be in one of two states. These two states are usually called "set" and "reset," or simply 0 and 1. Flip-flop circuits are. Question: How can you convert an JK Flip-flop to a D Flip-flop? Question Submitted By :: Meghana: I also faced this Question!! Rank Answer Posted By. What type of flip flops looks better on guys? Clocked D-type flip flop operation, wired as a toggle. ? Poll: How many of you are "flip-flops-with-socks-in. Convert a D flip flop into JK Homework Help. Welcome to the All About Circuits forums. Our forum is a place where thousands of students, hobbyists and. Explore This Topic: How do you convert t flip flop to D flip flop? it will be the X-OR gate of D and the output Q. What is The difference of D Flip-flop and T flip-flop? Learn about J-K flip-flop implementation. SUBSCRIBE. Conversion TablesSR to JK,JK to SR, SR to D,D to SR,JK to T,JK to D, and D to JK Flip Flops. Home;. How do you convert D flip flop to Jk flip flop? This webpage have a detailed instruction on how to convert a D flip flop to a JK flip flop: Link:. If you have a JK, I'm not sure why you would want a SR. Both are very similar in terms of operation except that the SR=11 causes an indeterminate state and.

    ReplyDelete
  36. haba sha aa. hehe . thankyou po! :)

    ReplyDelete
  37. ganda ni Ma'am . hehehe

    ReplyDelete
  38. salamat po sa bagong kaalamn.

    ReplyDelete
  39. pede pong Idownload ung video dito ?

    ReplyDelete
  40. ANG KUET MAGSALITA. hehe

    ReplyDelete
  41. NG Gnd NG TOPIC NATO MA'AM

    ReplyDelete
  42. diba po, negative edge trigger ung nireport nio?

    ReplyDelete
  43. ako un po eeee.. XD

    ReplyDelete
  44. Pano po un may video pa. galing po. hehhe

    ReplyDelete
  45. How will I construct that? It's still hard, ehehe

    ReplyDelete
  46. ok po ito. nakakatulong!

    ReplyDelete
  47. mas madali po ba yan sa D?

    ReplyDelete
  48. ok na ok ang mga ganitong blog . meme

    ReplyDelete
  49. bakit po SR? hahah

    ReplyDelete
  50. kahit JK yan kevin? hahahha. eh ayan final demo ni ma'am

    ReplyDelete
  51. JK po ba ay JOKE? hahahha

    ReplyDelete
  52. Very helpful. Good job maam! Thank you for this information.

    ReplyDelete
  53. luhluh joke daw? tsk.
    set rest toggle

    ReplyDelete
  54. why do we have to know about ths?

    ReplyDelete
  55. para sa Digital . hahaha

    ReplyDelete
  56. dapat may picture nung timing diagram! :)

    ReplyDelete
  57. Jk Flip Flop is like a universal counter(tho Im just the one who called it universal) because it can create several types of synchronious counter like 4 bit binary counter, and so many to mention Modulo counters :)))

    ReplyDelete

SAY ANYTHING :)