Why does it take too long for Processor in Loop execution?
2 ビュー (過去 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!