Comprehensive SIMULINK & STATEFLOW
Click here for the Course Preview

Course Highlights

This four-day comprehensive hands-on training is a bundle of ‘Comprehensive SIMULINK’ and ‘Applying Finite State Machine Modeling with STATEFLOW’ course modules.  It is especially designed for beginners new to SIMULINK who wish to learn how to optimize Simulink and Stateflow under an umbrella scheme.

Module One: Comprehensive SIMULINK

Beginning with an introduction to SIMULINK environment, the course will first provide the essential knowledge required to build basic modeling techniques and tools to developing SIMULINK block diagrams. Participants will be provided with a working understanding of system and algorithm modeling and design validation in SIMULINK. The last part of the course shall cover effective system modeling techniques to improve user's ability to model using SIMULINK and also highlight which tools are most appropriate for certain applications.  Focuses on modeling effectively in SIMULINK to increase simulation speed and to create readable, user-friendly diagrams.

Module Two: Applying Finite State Machine Modeling with STATEFLOW
This one-day course provides an understanding of how to use Stateflow to model finite-state machine theory and supervisory logic. The course discusses how to interact with Simulink, and graphically build flow diagrams and functions. Code generation and sending data out of Stateflow are briefly mentioned in this course as well.

Course Objectives

  • To provide participants with the fundamentals and hands-on experience in using SIMULINK & Stateflow
  • To help participants improve their ability to model using SIMULINK & Stateflow and discover which tools are most appropriate for certain applications.

Who Must Attend

This hands-on course is designed for engineers who are new to the SIMULINK environment. Engineers, researchers, scientists, and managers working with systems level design will be shown an easy-to-use approach in using SIMULINK & Stateflow.

Prerequisites

Attended "Comprehensive MATLAB " or equivalent experience in using MATLAB.

Course Outline

Introduction to SIMULINK


Introduction to System Modeling
Define the steps to model systems using Simulink.

  •  Model based design
  •  Types of modeling
  •  System modeling with Simulink
  •  Modeling steps

Modeling Algebraic System
Use Simulink to model and simulate algebraic systems.

  •  Define the system and identify components
  •  Model the system with equations
  •  Start Simulink
  •  Build a block diagram for the model
  •  Define model parameters
  •  Define model I/O
  •  Simulate the system
  •  Create signal viewers
  •  Modify solver settings
  •  Validate the simulation results

Modeling Logical Systems
Use Simulink to model and simulate logical systems

  •  Define system and identify components
  •  Model the system with equations
  •  Build a block diagram for the model
  •  Set configuration parameters
  •  Introduce zero crossing
  •  Variable-step versus fixed-step solvers
  •  Modify signal viewer parameters
  •  Simulate the model and analyze the results
  •  Define maximum step size
  •  Model the system with Embedded MATLAB
  •  Simulate and compare results

Modeling Continuous Systems
Use Simulink to model and simulate continuous systems.

  •  Define system
  •  Identify system components
  •  Define continuous states
  •  Model the system with equations
  •  Build a block diagram
  •  Choose a continuous solver
  •  Simulate system
  •  Analyze system response

Modeling Discrete Systems
Use Simulink to model and simulate discrete systems.

  •  Define system
  •  Identify system components
  •  Define discrete states
  •  Model system with equations
  •  Build block diagram of model using Simulink
  •  Define system parameters
  •  Select a discrete solver
  •  Simulate the model and analyze the response
  •  Linear discrete Systems
  •  Multirate discrete systems

Modeling Systems with Subsystems
Use subsystems to combine smaller systems into larger systems and to model signal driven systems.

  •  Define subsystems
  •  Create subsystems
  •  Combine subsystems into models
  •  Simulate the system
  •  Define model callbacks
  •  Block sorted order

Creating Custom Blocks and Libraries
Use masks and libraries to create and distribute custom blocks.

  •  Masking blocks
  •  Creating new libraries        
  •  Creating configurable subsystems
  • Adding libraries to the Library Browser
 

Advanced Simulink Techniques for Effective System Modeling

Understanding Simulink Execution
Understand how timing works in Simulink and what tools you can use to analyze and control the scheduling a Simulink model.

  • Execution Process
  • Block update
  • Rate Transitions

Speed and Memory Management
Learn methods for increasing the speed of simulation by using Simulink parameter settings, optimizing model structure and managing memory.

  • Model advisor
  • Simulink Profiler
  • Performance improvement
  • Vectorization
  • Optimization setting
  • Signal Specification
  • Eliminating integration
  • Simulink accelerator

Combining Models into Diagrams
Use model reference to combine models

  •  Define model reference
  •  Subsystems and model referencing
  •  Setup model for referencing
  •  Define Model reference arguments
  •  Reference models
  • Simulate and analyze response

Building User-Friendly Diagrams
Understand the issues involved in creating user friendly models and learning the skills and tools necessary to build user-friendly diagrams.

  • Modeling Style
  • Usability
  • Readability
  • Manageability
  • Masking Subsystems (Reference)
  • Model Construction Commands
  • Callbacks
  • Using GUIs in Simulink
Applying Finite State Machine Modeling with STATEFLOW

Introduction
Discover features and capabilities of Stateflow
  • Provide a review of Simulink
  • Provide an overview of Stateflow applications
  • Provide an overview of the Stateflow visual design environment
Examining Finite-State Machines
Introduce concepts and elements of finite-state machine theory
  • Uncover notion of a finite-state machine
  • Examine finite-state machine elements
Building Charts
Build Stateflow diagrams
  • Start Stateflow
  • Build Stateflow diagrams
  • Label Stateflow diagrams
  • Control Stateflow diagram zoom-in ratio
Animating Charts
Execute and control chart animation
  • Define data objects and events
  • Add data objects
  • Set data object properties
  • Feed input data objects with input signals
  • Feed output data objects as output signals
  • Define initialization variables
  • Add input events
  • Feed input events with control signals
  • Manage data objects and events
  • Animate charts
  • Control chart update method
  • Examine behaviors of triggered charts
  • Examine behaviors of non-triggered charts
Modeling Complex Logic Flows
Model flow charts
  • Uncover notion of a flow chart
  • Handle logic flows
  • Model logic patterns
Modeling Finite-State Systems
Model state charts
  • Uncover notion of a state chart
  • Handle state activities
  • Create hierarchical state charts
  • Control substate activities at superstate activation
  • Acknowledge hierarchical transition testing priority
  • Uncover notion of a multiprocess state chart
  • Create multiprocess state charts
  • Handle parallel state activities
  • Define local events
Integrating Stateflow with Simulink
Control executions of external blocks using output data objects and output events
  • Control updates of subsystems and charts
  • Define output events
  • Trigger updates of external blocks

 

Date::
Please kindly check our Training Calendar
Venue:
  Activemedia Innovation
Time:
  10.00am - 5.30pm
Course Fee:
Please contact our Training Consultants for details
Enquiries:
6742 8173 enquiry@activemedia.com.sg