Why does it take too long for Processor in Loop execution?
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!