# Urgent Need Help!

Discussion in 'Homework Help' started by Digit0001, Apr 30, 2010.

1. ### Digit0001 Thread Starter Member

Mar 28, 2010
89
0
Hi
I don't understand how i can find the states from the timing diagram. I need to draw up a state diagram for a stepper motor. The lecturer explained how to read it, however i still don't understand.
Here is the following image:

Also this is the table i am suppose to fill in.

Hope someone can help me

P.S

Apr 5, 2008
16,967
2,960
3. ### PRS Well-Known Member

Aug 24, 2008
989
36
Complete a table using the timer relationships. There are four outputs 00, 01, 02, and 03 and these are stepped in one of two directions. The direction dictates the motor direction and can be read from the table. Start by filling in the table. Make the table correspond to the timing diagram. For example, in state S0 only line 00 is active. In state S1 only line 02 is on and so forth. This gives you a truth table.

Also, take note of the enabling lines en, and cw. Unless en is high the outputs don't change. It appears two jk flip flops are being driven by each clock pulse and the logic you are to design in order to make them drive a stepper motor either forward or in reverse.

4. ### Digit0001 Thread Starter Member

Mar 28, 2010
89
0
So for the outputs column would it be like this:

1000
1000
0001
0001
0010
0010
0010
0010
0100
0100
0010
0010
0001
0001
1000
1000

Would the state diagram look something like this?

P.S

5. ### PRS Well-Known Member

Aug 24, 2008
989
36
Hi, digit0001. I wish I could help you, but I've forgotten too much to be of any use. Perhaps someone else will jump in here and help?

phaneendra27 likes this.