• Support PF! Buy your school textbooks, materials and every day products Here!

Design for jk flip flop

  • Thread starter dnguyen5
  • Start date
1
0
1. Homework Statement

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. Homework 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
 

Answers and Replies

Related Threads for: Design for jk flip flop

  • Last Post
Replies
3
Views
10K
Replies
1
Views
505
  • Last Post
Replies
7
Views
5K
  • Last Post
Replies
3
Views
6K
  • Last Post
Replies
2
Views
1K
Replies
3
Views
2K
Replies
2
Views
2K
Top