Despliegue en tiempo real
Flujo de trabajo de la simulación de hardware-in-the-loop, interfaz de hardware host-to-target, parámetros de ejecución
Las plataformas objetivo en tiempo real usan solvers de paso fijo que también tienen una carga computacional fija. Cuando el modelo reproduce de manera precisa los resultados de referencia con un solver de paso fijo, se puede utilizar Simulink® Real-Time™ para descargar y ejecutar una aplicación en tiempo real que se genera desde el modelo de Simscape™ o el código HDL. También puede comprobar si hay exceso de simulación y cambiar los parámetros en tiempo de ejecución para una aplicación basada en planta en una plataforma objetivo en tiempo real. Los procesos HIL de una CPU objetivo se pueden ejecutar en unidades de tiempo tan pequeñas como 25 μS. Para alcanzar unidades de tiempo inferiores a 1 μS, debe desplegar el modelo en FPGA.
Apps
| Simulink Real-Time Explorer | Interact with target computer and real-time application running on target computer |
Funciones
slrtLogViewer | Open the Simulink Real-Time System Log Viewer tab in the Simulink Real-Time Explorer to view the console log from the target computer |
slrtTETMonitor | Open Simulink Real-Time task execution time (TET) monitor |
Temas
Despliegue en Simulink Real-Time
- Software and Hardware Configuration
Before you simulate your Simscape model on your target hardware using Simulink Real-Time, follow the recommendations to configure your development and target computers for code generation and real-time simulation. - Simulink Real-Time Code Generation
Follow the recommendations for minimum hardware and software specifications to deploy your Simscape model for hardware-in-the-loop (HIL) simulation using Simulink Real-Time. - Change Parameter Values on Target Hardware
Change a Simscape run-time parameter between simulations on target hardware using Simulink Real-Time. - Signal and Parameter Visualization and Control
Monitor and control signals and parameters when you simulate your Simscape model on a real-time target hardware using Simulink Real-Time.
Despliegue en FPGA
- Generate FPGA Bitstream for Two-Phase DC-DC Converter with Tunable Run-Time Parameters (HDL Coder)
Generate FPGA bitstream for a Simscape model and tune the run-time parameter values. - Deploy Simscape Grid Tied Converter Model to Speedgoat IO Module Using HDL Workflow Script (HDL Coder)
Deploy grid tied converter modeled in Simscape to Speedgoat® IO modules using HDL Workflow script. - Deploy Simscape DC Motor Model to Speedgoat FPGA IO Module (HDL Coder)
Generate an FPGA bitstream for a nonlinear Simscape model (DC motor) and deploy it onto a Speedgoat FPGA I/O module.