Skip to main content

Training and On-site Jump-Start Consulting

MathWorks and Speedgoat developed a high-quality training on Real-Time Testing with Speedgoat Hardware and Simulink Real-Time. This hands-on two-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 which run on the target machine and interface with physical hardware (Demo Kits). 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. Contact MathWorks training to book an on-site training on Simulink Real-Time or HDL Coder.

In addition, Speedgoat offers on-site jump-start consulting to get your team started using your specific Speedgoat solution in the shortest amount of time. Please contact us to discuss your on-site jump-start consulting needs.

Training and On-site Jump-Start Consulting

Simulink Real-Time training course outline

Day 1 of 2

Workflow Overview (2.0 hrs)

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

Developing Real-Time Applications (2.5 hrs)

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

  • PMSM hardware introduction
  • Converting plant models into plant hardware interfaces
  • Implementing Speedgoat I/O drivers
  • Testing sensors and actuators
  • Executing closed-loop real-time simulations with physical hardware
  • Visualizing and logging signals

Building Interactive Interfaces (2.5 hrs)

Objective: Use Simulink dashboard blocks, instrument panels, and MATLAB apps to create interactive interfaces to a real-time application.

  • Using Simulink Dashboard blocks
  • Creating instrument panels
  • Designing MATLAB apps

Day 2 of 2

Automating Real-Time Tests (2.5 hrs)

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

  • Building a harness for automatic testing
  • Creating test sequences
  • Iterating input and parameter sets
  • Analyzing test results

Using Communications Protocols (1.5 hrs)

Objective: Configure I/O blocks to interface the target machine with standard communication protocols.

  • Simulink Real-Time protocol support
  • Real-time UDP
  • Inter-Integrated Circuit (I2C) loopback testing
  • Optimizing Plant Models for Real-Time Execution (1.5 hrs)
  • Objective: Use the RCP configuration to calculate accurate plant parameters, and optimize the plant model to execute on target hardware.
  • Characterizing the plant model
  • Profiling and debugging real-time applications
  • Optimizing plant model performance

Hardware-in-the-Loop Testing (1.5 hrs)

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

Prerequisites

Simulink for System and Algorithm Modeling (or Simulink for Automotive System Design or Simulink for Aerospace System Design). Knowledge of Simscape™ preferred.

Speedgoat Products

MathWorks Products

  • MATLAB®
  • MATLAB Coder™
  • Simulink Coder™
  • Simulink Real-Time™
  • Simulink Test™
  • DSP System Toolbox™
  • Simscape™
  • Simscape Power Systems™

Resources