Explanation of Pil simulation times in Simulink
Hello, i'm here to ask you becouse i not understand how improve (if possible) the time spees in PiL mode. i've build my FOC+Space Vector compute model on simulink (there are sin, cos functions for Park Transforms ) with fixed step size of 1us, and 1.8 sec of simulation finish in about 1m30sec. If i run the same reference model in PiL, the model finish the simulation in about 8 hours... Now i know that PiL is a asycronous mode simulation, but for me is not this centre on the times issues. i've set the comunication as well as the handon pdf provided by stm32mat/target but with heap size 400... the stm32f429 is set at 180Mhz, usart to 15200bauds . i've not the execution profile report becouse simulink is crashed when i've tried to open it...
Some one can explain me and/or have a good link for understand my errors?(i've yet try google).
Thanks
Antonio