Effacer les filtres
Effacer les filtres

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

18 vues (au cours des 30 derniers jours)
Varun
Varun le 5 Oct 2024 à 11:39
Réponse apportée : Shivam Gothi il y a environ 23 heures
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

Réponses (1)

Shivam Gothi
Shivam Gothi il y a environ 23 heures
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 !

Community Treasure Hunt

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

Start Hunting!

Translated by