How can I do a physical element simulation in C2000 kit using simscape elements of the simulink library?

3 views (last 30 days)
Hi,
I want to simulate the Photovoltaic plant in a F2812 DSP Board (C2000 kit) using simscape elements. Is it possible to execute the model in hardware in the loop (HIL) mode by means of simscape elements? If so can someone send some examples?

Answers (1)

Sebastian Castro
Sebastian Castro on 20 Jul 2015
You should be able to if you have the right code generation tools, like Embedded Coder in your case to connect to the C2000. ( official link for C2000 support )
Most of the videos on the MathWorks Web page (for example, this one) show HIL testing of Simscape models using the Simulink Real-Time (formerly xPC Target) product, which provides real-time capabilities without you having to take care of writing the "main function" for the code yourself.
There are plenty more related videos on real-time and HIL in the "Deploying Simscape Models" section at this page.
- Sebastian

Community Treasure Hunt

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

Start Hunting!