MATLAB and Simulink Training

Course Details

This hands-on four half-day course focuses on real-time testing workflows, including rapid control prototyping (RCP) and hardware-in-the-loop (HIL) testing, using Simulink Real-Time™ software and Speedgoat real-time computers. Attendees will convert desktop-based simulation applications into real-time applications that run on the target machine and interface with physical hardware. Emphasis is placed on interacting with the application in real-time and analyzing the outputs for validation. This course is intended for intermediate to advanced Simulink® users who are adopting real-time testing in their development process.

Day 1 of 4

Workflow Overview

Objective: Set up the real-time testing hardware and test communications between host and target computers.

  • Real-time testing overview
  • Setting up the host and target computers
  • Running a real-time application
  • Tuning parameters
  • Monitoring and visualizing Signals
  • Creating a standalone application

Developing Real-Time Applications

Objective: Use Speedgoat driver blocks to convert a desktop-based test bench into an RCP application.

  • Permanent magnetic synchronous motor (PMSM) hardware introduction
  • Converting plant models into plant hardware interfaces
  • Implementing Speedgoat I/O drivers

Day 2 of 4

Developing Real-Time Applications

Objective: Use Speedgoat driver blocks to convert a desktop-based test bench into an RCP application.

  • Testing sensors and actuators
  • Executing closed-loop real-time simulations with physical hardware
  • Buffering signals

Building Interactive Interfaces

Objective: Use Dashboard blocks and App Generator to create interactive user interfaces to a real-time application.

  • Using Simulink Dashboard blocks
  • Generating MATLAB Apps
  • Deploying MATLAB Apps

Day 3 of 4

Automating Real-Time Tests

Objective: Use Simulink Test to create and execute an automated test suite.

  • Building a harness for automated testing
  • Creating test sequences
  • Iterating input and parameter sets
  • Analyzing test results
  • Automating real-time tests with MATLAB

Using Communications Protocols

Objective: Configure IO blocks to interface the target machine with standard communication protocols.

  • Simulink Real-Time protocol support
  • Real-time UDP
  • I2C loopback testing

Day 4 of 4

Optimizing Plant Models for Real-Time Execution

Objective: Use the desktop model to validate model fidelity with respect to optimization considerations, and optimize the plant model to execute on target hardware.

  • Measuring plant model accuracy
  • Analyzing real-time performance
  • Optimizing model solvers
  • Evaluating alternative implementations

Hardware-in-the-Loop Testing

Objective: Convert a simulation test bench into a HIL testing configuration, and use a real-time plant model to validate system requirements.

  • Hardware-in-the-loop (HIL) workflow overview
  • Running the controller algorithm on production hardware
  • Setting up a HIL system
  • Running HIL tests

Level: Advanced

Duration: 4 half-days

Languages: Deutsch, English, 中文, 日本語, 한국어

View schedule and enroll