1. PF Contest - Win "Conquering the Physics GRE" book! Click Here to Enter
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Design for jk flip flop

  1. Apr 24, 2008 #1
    1. The problem statement, all variables and given/known data

    I'm having difficulty with this problem.

    using a synchronous controller with jk flip flops, a device is to turn whenever it hits an object. on the front of the device, there is a sensor whose output is "1" whenever it hits an object and "0" in any other case. It has two control lines; turn left and turn right until no object is in the way. when device hits an object it should turn right until no object is in the way. The next time it hits an object, it should turn left until it is clear of the object and repeats.

    Can anyone help me with Mealy state transition diagram or how to setup the problem?

    2. Relevant equations

    j k c Q+ Qbar+
    0 0 Q Qbar
    0 1 1 0
    1 0 1 0
    1 1 Qbar Q

    Q+ = J(Qbar) + (Kbar)Q

    3. The attempt at a solution

    I've tried setting up the states but when I go through the states it won't go left and then right. The state diagram I had setup went from right, right, and left..its somewhat hard to explain

    thanks for your help
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted