Linearized model / alternative of a MOSFET for real-time simulations

5 visualizaciones (últimos 30 días)
Varun
Varun el 5 de Oct. de 2024
Respondida: Shivam Gothi el 6 de Oct. de 2024
Hello everyone,
I'm having problems with the heavy computational load of a Simulink model while running it in real-time. The profiler indicates that the model's switches are consuming a significant amount of computation time. Does anyone have any recommendations for me, or have they encountered similar issues? If so, please assist me in resolving the issue.
I was wondering if somebody has any alternative model for a MOSFET (or a switch acts as a circuit breaker) that makes the simulations a bit less non-linear. That would be highly appreciated.
Thank you

Respuestas (1)

Shivam Gothi
Shivam Gothi el 6 de Oct. de 2024
Hello @Varun,
For which application are you using MOSFETs ? Is it an inverter ?
If yes, I can give one possible workaround in order to avoid the use of MOSFET and make the model "bit less non-linear".
If the dynamics arising due to switching of MOSFET are not of much concern to you, and your primary focus is to study the overall operation of the system from the stability, performance and control system point of view, you can use the "Average value inverter" block from the simulink library browser. Refer to the below given documentation for more clarity.
As per my understanding, it will take less computation time as compared to the "MOSFETs". You can also use it in single phase full bridge configuration, by utilising only the "A" phase and "B" phase "duty ratio" input signal and connecting a single phase load between the above mentioned two phases.
I hope it helps !

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by