Video and Webinar Series

Teaching State Machines and Control Logic with Simulink and Stateflow

This is a three-part webinar series intended for faculty and students involved in teaching and research on:

  • Reactive control systems
  • Control system logic
  • Finite state machines
  • Scheduling
  • Fault detection
  • Event driven systems

Stateflow is a popular tool for modeling and simulating these types of systems in industry. Common uses include diagnostics testing for automotive; guidance, navigation and control for aerospace; and machine logic for industrial robotics.

As a teaching tool Stateflow can be useful to teach concepts such as digital logic, fault management, and path planning found in robotics and mechatronics.

Part 1 In Part 1, we begin by discussing the foundational elements of Stateflow: states and transitions. We then move onto additional features, such as state entry actions, subcharts, and graphical functions.

Part 2 In Part 2, we continue adding functionality to the Stateflow chart we started building in Part 1.  Concepts covered include parallel states, truth tables, and temporal logic.

Part 3 In Part 3, we complete the Stateflow chart we started building in Parts 1 and 2. Concepts covered include MATLAB functions, Simulink functions, and events.