0
\$\begingroup\$

I am trying to draw a fsm for a welding machine. So far I have the following table, which I think is right.. The system has three normal states: stopped, started, and welding. It will only transition from stopped to started when the power button is pressed, and from started to welding when the weld button is pressed, then from weld to stopped when the power button is pressed again. The system only has a single output: a signal called fail, which is set to a 1 if there is an incorrect sequence of button presses. Adding a failed state makes the system easy to implement as a Moore machine. The state transition table would look something like:

enter image description here

Following that description can anyone help me with the design please? It has been a long time since I did something very similar.

\$\endgroup\$
1
  • \$\begingroup\$ What about scratch starting, or RF starting, or overcurrent, overheating or duty cycle considerations? Does it need to feed welding wire? Or is this a homework question rather than a real welder? If so, say so. \$\endgroup\$
    – user16324
    Commented Jul 26, 2014 at 12:03

2 Answers 2

0
\$\begingroup\$

enter image description here

Here you are the correct FSM you asking for!

\$\endgroup\$
0
\$\begingroup\$

The flip flop is used for change states over the time using a clock. If you go on wikipwdia you can easily find Flip Flop D description.

You can read this link for learning FSM:

http://www.cs.umd.edu/class/sum2003/cmsc311/Notes/Seq/fsm.html

First you learn sequential logic you have to know basic combinatory logic rules. If you don't I reccomend to read something about it.

You can practice using "logicly" software, search it on google. Have fun!

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Hey Danny. I wanted to point out that our site format is a little different from other forums out there. If you need to make additions to an answer of yours, just edit it, instead of posting additional answers like you did. Click the "edit" button right below the answer and improve it. The system will take care of storing all the edit history for you. Then, you can delete the additional answers you posted. I suggest you do that before other users start to complain and downvote your answers. \$\endgroup\$
    – Ricardo
    Commented Jul 25, 2014 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.