Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Can I implement a controller that uses an external physical device to control the simscape physical model motion?

1 vue (au cours des 30 derniers jours)
lei
lei le 15 Août 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
Can I implement a controller that uses an external physical device to control the simscape physical model motion?

Réponses (2)

Jonas
Jonas le 19 Août 2019
If you want to combine a physical external signal with a Simscape model, you will need to run the Simscape model in real-time and you need real-time capable hardware. This means you need to run Simulink Real-time with SpeedGoat real-time hardware with the Simscape model running on a progammable FPGA with HDL Coder. The Simscape model needs to be linearized by the HDL Coder Advisor.

Roshni Garnayak
Roshni Garnayak le 22 Août 2019
To include an external device to your Simscape model, you need to use hardware-in-loop (HIL) simulation. This is possible by configuring the model to run in real time using Simulink Real-time. In HIL simulation, you use a real-time computer as a virtual representation of your plant model and a real version of your controller.
Extensive details on preparing Simscape models for real-time simulation, solver selection, workflows can be found here:

Cette question est clôturée.

Tags

Produits


Version

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by