Linearized model / alternative of a MOSFET for real-time simulations
5 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Shivam Gothi
on 6 Oct 2024
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 !
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!