Real Time Simulation and HIL
Mostrar comentarios más antiguos
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 comentario
Mohamed elalfy
el 18 de Oct. de 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?
Respuesta aceptada
Más respuestas (2)
Ryan G
el 11 de Jun. de 2012
0 votos
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
el 11 de Jun. de 2012
0 votos
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 comentario
benn nguyen
el 29 de Dic. de 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"
Categorías
Más información sobre Target Computer Setup en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!