Distribuzione in tempo reale
Workflow della simulazione Hardware-In-the-Loop, interfaccia hardware host-target, parametri di runtime
I target in tempo reale utilizzando risolutori a passo temporale fisso che presentano anche un costo computazionale fisso. Quando il modello riproduce accuratamente i risultati di riferimento con un risolutore a passo fisso, è possibile utilizzare Simulink® Real-Time™ per scaricare ed eseguire un'applicazione in tempo reale generata dal modello Simscape™ o dal codice HDL. È inoltre possibile verificare eventuali overrun e modificare i parametri di runtime dell'applicazione basata sull'impianto su un target in tempo reale. I processi HIL su una CPU di destinazione possono essere eseguiti con passi temporali di appena 25 μs. Per ottenere passi temporali inferiori a 1 μs, è necessario effettuare la distribuzione del modello su FPGA.
App
| Simulink Real-Time Explorer | Interact with target computer and real-time application running on target computer |
Funzioni
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 |
Argomenti
Distribuzione 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.
Distribuzione su 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.