Video length is 3:51

What is Simulink Real-Time?

Christoph Hahn, Speedgoat

Simulink Real-Time™ lets you create real-time applications from your Simulink® models. You can run real-time applications on Speedgoat hardware that connects to your device under test, through physical I/O lines, and communication channels. Speedgoat and Simulink Real-Time are designed to work together and offer the best integration with Simulink and other MathWorks products such as Simscape Electrical™, Powertrain Blockset™, and Simulink Test™.

Published: 22 Apr 2021

Our solution is going to simplify your workflow.

So together with MathWorks, we have put together a true plug and play real-time time solution that allows you to develop and test your embedded controllers, right from your MATLAB and Simulink. Our solution is composed of two main components, which are expressly designed to work with one another. The first one is Simulink Real-Time, the MathWorks solution for real-time test and simulation. This includes several host capabilities that allow you to easily create, control, and monitor your real-time applications from within MATLAB and Simulink, as well as a real-time operating system.

The second component by Speedgoat, is a powerful and scalable real-time target computer equipped with I/O. On there runs disemboweling real-time operating system together with real-time application created from your Simulink model. Our solution is specifically suited to support you on two real-time simulation and testing use cases. Rapid control prototyping, and hardware-in-the-loop simulation.

Rapid Control prototyping allows you to swiftly test and iterate your control designs early in the development cycle. It allows you to speed up software development, expose design flaws earlier, and shorten time to market of your embedded controllers. But you need powerful and flexible hardware to be able to directly run your Simulink designs and connect with your physical plant. Embedded controllers typically are not flexible enough because you cannot easily add or modify I/O interfaces or quickly deploy new designs.

Also you cannot easily monitor, lock, or fine-tune data during real-time execution. The second key use case is Hardware-in-the-Loop simulation, or HIL for Short. HIL simulators allow you to test and validate your embedded controller versus a simulated plant running in real-time. This is a great way for you to reduce costs and safely test your embedded controller in a reproducible and automated way, in scenarios that would otherwise be hard to mimic in real life.

Regardless, if you're trying to build a HIL simulator, to test your embedded controller or rapidly prototype controls, vision or signal processing algorithms, you can adapt your desktop model for real-time simulation and testing with just a few steps. You start by extending your Simulink model with I/O and protocol driver blocks from Simulink Real-Time and the Speedgoat library. At a click of a button, Simulink Real-Time automatically builds a real-time application from your model, downloads, and runs it onto the Speedgoat target computer.

Finally, you can use the host capabilities offered by Simulink Real-Time to control instrument and monitor your real-time application. For instance, you can easily monitor and lock signals, fine-tune parameters during runtime, or even instrument your real-time application with MATLAB and Simulink user interface components. By adopting Simulink Real-Time and Speedgoat systems, you benefit from an incomparable integration, not only with MATLAB and Simulink, but to a manyfold of MathWorks products enabling you to fully adopt and implement model-based design.

For instance, you can use Simulink test to automate testing in real-time or use HDL Coder to rapidly target Speedgoat FPGAs. Perhaps you would like to swiftly develop motor controls with motor control blockset, or employ aerospace blockset for building complex and real-time capable aircraft models. To build automated driving functions with real-time virtual vehicles, you may want to use MathWorks automotive products, or to model high fidelity power electronics consider Simscape Electrical. You may even go for audio toolbox to build applications such as noise canceling.

We have put a lot of effort into perfecting the relation between real-time hardware by Speedgoat, and model-based design tools by MathWorks. So you can easily bring new ideas to life, focus on driving innovation, and effectively test your embedded controllers. Thanks for watching. And for more information and learning content, I invite you to check out our website, Speedgoat.com.

Related Products