Why does it take too long for Processor in Loop execution?

1 Ansicht (letzte 30 Tage)
Sanjeev Gupta
Sanjeev Gupta am 28 Jan. 2020
I am using TI's Piccolo F28027 C2000 MCU for the application of Field Oriented Control of PMSM motor.
I have segregated Controller and Plant (mathematical model of Inverter and PMSM) in simulation.
And created a PIL block for controller and replaced it with Controller Block. And now I am runnig the simulation which is working fine,
" but even 3 seconds of simulation takes hours to execute however when it was done Execution TIme Profiling for PIL report was generated and it said execution time in controller as,
Subsystem initialize 11.7 microseconds
Subsystem Step 255.9 microseconds
Subsystem terminate 1.4 microseconds
-------------------------------------------------------------------------------------
Total 269 microseconds
--------------------------------------------------------------------------------------
So where could it be taking time?
What could be the issue?
Any help is appreciated.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by