Real-Time Testing with Simulink Real-Time and Speedgoat Hardware
View schedule and enrollCourse Details
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
Prerequisites:
- Simulink Fundamentals (or Simulink Fundamentals for Automotive Applications or Simulink Fundamentals for Aerospace Applications)
- Knowledge of Simscape™ preferred
Duration: 4 half-days
Languages: Deutsch, English, Français, 中文, 日本語, 한국어