Real Time Simulation and HIL
Afficher commentaires plus anciens
Hi
I am currently working on real time simulation and hardware in loop simulation. I have only some knowledge about this. I have an ARDUINO mega and uno board. I am average with simulink. I have matlab 2012a.
Can you please help me how to start and what all things will be required. I don't want to use xPC target due to budget issue. So please suggest how can i start with HIL and real time simulation.
Cheers!!
[Merged information from duplicate question]
Please suggest me how can i perform hardware in loop and real time simulation using matlab and simulink.
I am pretty good with simulink and currently learning matlab.
I want to perform these things for my quadrotor.
PLEASE HELP !!! :)
1 commentaire
Mohamed elalfy
le 18 Oct 2013
Hi sarthank iam interesting in the same topic also iwould perform it on a quadrotor for my graduation project so i wonder if you found some thing useful or not ? did you perfprm HIL using arduino only without xpc target?
Réponse acceptée
Plus de réponses (2)
Ryan G
le 11 Juin 2012
0 votes
Depending on how important actual real-time is vs quasi real-time you could use the pacer block from the Aerospace blockset.
For guaranteed real time you could also try real-time windows target.
Kaustubha Govind
le 11 Juin 2012
0 votes
AFAIK, the only HIL solution directly available from MathWorks is xPC Target. Please refer to the xPC Target documentation about setting up.
There is currently no MathWorks solution for HIL with Arduino targets, and I'm not aware of any third-party solution either.
1 commentaire
benn nguyen
le 29 Déc 2013
Rtwt supports hil (normal/external simulation)
"Real-Time Windows Target™ provides a real-time engine for executing Simulink® models on a Microsoft® Windows® PC and blocks that connect to a range of I/O boards. It enables you to create and control a real-time system for rapid prototyping or *hardware-in-the-loop* simulation"
Catégories
En savoir plus sur Target Computer Setup dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!