Skip to main content

Real-Time Plant Simulation with Hardware-in-the-Loop Testing (HIL)

Speedgoat real-time target machines provide you with convenient and powerful solutions for running complex physical models designed with MATLAB & Simulink, Stateflow, Simscape, Simscape Power Systems, or SimPowerSystems, or any other MathWorks software tool on highest performance multi-core CPUs and FPGAs.

Specialized I/O modules installed in the target machine allow you to simulate devices such as absolute and incremental encoder sensors, high precision thermocouples, strain gauges, transformers with LVDT/RVDT or synchro/resolver interfaces, or power electronics components by leveraging FPGA-based modules with analog and digital I/O. Many communications protocols are available, including CAN, UART, FlexRay, ARINC429, MIL-STD-1553, EtherCAT, UDP, and XCP.

Common Applications

  • Combustion engines, and electric and hybrid motors
  • Vehicle, airplane, and satellite components
  • Environmental conditions
  • Power electronics including inverters, and grid simulation
  • Structural simulations
  • Fault insertion
Real-Time Plant Simulation with Hardware-in-the-Loop Testing (HIL)

To learn more about HIL testing with Speedgoat solutions, read the whitepaper on how to "Perform hardware-in-the-loop (HIL) simulation with MATLAB and Simulink to Test and Validate Control Algorithms" (MathWorks).

Development computer

Real-time target machine simulating plant

Hardware under test with
sensor and actuator interfaces



  • Highest performance real-time target machines supporting real-time runs on multiple cores, target machines, and FPGA-based I/O modules
  • Lowest latency fiber-optic gigabit synchronization links between multiple Real-time target machines and FPGA-based I/O modules
  • Hard real-time operation with Real-time systems fully assembled and tested to your needs with components available off the shelf
  • Support for closed-loop sample rates from 1 kHz up to multiple MHz, depending on hardware and workflow (C/C++ or VHDL code generation)
  • Your project specific sample rate, I/O, and environmental requirements guaranteed to be met
  • Flexible I/O and protocols expansion support: Over 200 I/O modules are available, and over 50 I/O modules can be installed into a single Real-time target system with expansion chassis
  • Long-term availability of 7+ years for most components
  • CE/FCC compliance


  • Create plant designs using Simulink and powerful physical modeling tools such as Simscape, Simscape Power Systems, or Simscape Multibody
  • Drag and drop Speedgoat I/O driver blocks to your Simulink model, and configure signal parameters via easy to use dialog fields
  • Autogenerate C/VHDL code from Simulink controls design and execute on multi-core CPUs and optional FPGAs
  • Implement your plant design and run on the real-time system within seconds
  • Tune signal parameters on the fly during real-time execution, and immediately monitor the effects
  • Automatically perform a wide range of tests using Simulink Test, MicroNova EXAM, Tracetronic ECU-TEST, MATLAB scripts, or Simulink Real-Time explorer
  • Create graphical user interfaces simply using Simulink Real-Time and .NET or C/C++ interfaces


Save costs and reduce risks

  • Reduce costs by increasing the speed and scope of continuous verification and validation
  • Perform tests beyond the range of normal parameters or plant capabilities without risking damage to equipment
  • Lower innovation costs by being able to continuously try new ideas, even when the actual plant is not available

Shorten time-to-market

  • Shift the traditional sequential V-diagram to a circular workflow to enable continuous verification and validation of your designs at the earliest possible stages
  • Unlike physical plants, real-time simulators can easily be expanded with new I/O at any time

Related User Stories