Test Simulink models with hardware in real time
Real-time testing goes beyond simulation by verifying algorithmic design behavior while running models at required speeds, respecting precise timing requirements. The executing model is connected to sensors, actuators, and other hardware. Real-time testing encompasses rapid control prototyping and hardware-in-the-loop (HIL) simulation.
Rapid Control Prototyping
Test your control system design running on a target machine while it is connected to your physical plant or system. (The target machine acts as your controller.)
Hardware-in-the-Loop Simulation
Test your control hardware, which can include production or embedded control units, using a simulation of your plant or system. (Here, the target machine acts as your physical plant/system.)
Real-time testing enables you to:
- Prove and improve the functional operation of control system designs with your hardware
- Continuously explore and implement new ideas using a flexible, scalable platform
- Test control system hardware even when a physical plant or system is unavailable
- Investigate scenarios and hardware interactions that are complex, expensive, or dangerous to perform with production hardware
- Avoid costly design flaws by detecting errors early when they are still cost-effective to correct
Solutions for Real-Time Testing
Examples and How To
Technical Articles
See also: rapid prototyping for embedded control systems, HIL simulation for embedded systems