How can I do a Processor in Loop (Arduino + Simulink)?

8 次查看(过去 30 天)
I'm looking for design a real time Processor-In-the-Loop (PIL). This simulation consists in a real time control where the model plant will run in Matlab/Simulink and the controller will run in a specific hardware (arduino).
I have tried so far to communicate the target and Simulink via serial (USB), but the obtained results are not the ones expected.
In this sense, which is the most recommended way to perform this simulation? Maybe using a DAQ (Data Acquisition Board) or others platforms.

回答(1 个)

INFOZOU
INFOZOU 2016-10-16
https://groups.google.com/forum/#!topic/comp.soft-sys.matlab/07fRaDXP7pk
https://www.mathworks.com/matlabcentral/answers/93326-is-there-an-example-processor-in-the-loop-pil-implementation-for-a-permanent-magnet-synchronous-ma

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by