State Machine Diagram Example: Oven

Description:

This is a state machine diagram that shows the internal states' of an oven as well as the transitioning between states. It includes states like waiting, full power, half power, set time, disabled, enabled and operation. Notice that do and exit can be used to specify the activities to perform during the course of a particular state and when ending a state.

You can create your own state diagram by editing this one. Simply Click Use this Template to start, or click Create Blank to create a new one.

What is State Machine Diagram?

State machine designs are widely used for sequential control logic, which forms the core of many digital systems in a variety of applications covering a broad range of performance and complexity from software system like: use case or classes, or hardware digital devices like: low-level controls of micro-processor to VLSI peripheral interfaces. State machine diagram typically is used to model the possible states of a system or entities, show how state transitions occur as a consequence of events, and depict what behavior the system or object exhibits in each state.

Activity vs. State Machines

In UML semantics Activity Diagrams are reducible to State Machines with some additional notations.

Activity Diagrams capture high level activities aspects.

  • Objects have behaviors and states. The state of an object depends on its current activity or condition.
  • The vertices represent the carrying out of an activity and the edges represent the transition on the completion of one collection of activities to the commencement of a new collection of activities.

State Machine Diagram shows the possible states of the object and the transitions that cause a change in state.

  • The vertices represent states of an object in a class and edges represent occurrences of events.
  • The additional notations capture how activities are coordinated.
  • In particular, it is possible to represent concurrency and coordination.

Keen to try VP Online?

No limitations, no obligations, no cancellation fees.


Start a Free Trial