Effacer les filtres
Effacer les filtres

Simulation speed reduced when using Simscape PWM Generator

13 vues (au cours des 30 derniers jours)
Sreeraj A
Sreeraj A le 9 Sep 2020
Commenté : Joel Van Sickel le 16 Sep 2020
Hello !
Model having LLC resonant converter plant when integrated with a pulse generator using simscape PWM Generator performing extremly slow. !! Without the PWM Generator block model finish the execution quickly. Also, I can observe that when changing the frequency to normal hz range, simulation is speeding up ! but unfortunatly the model need to run at converter resonant frequency (250Khz) any help would be much appreciated.
Attached sreenshot of the model.
Sreeraj Arole

Réponses (1)

Joel Van Sickel
Joel Van Sickel le 9 Sep 2020
Hello Sreeraj,
the speed of your simulation is inversely proportional to the frequency content in it. For instance, if I have a simulation with switching frequency of 1 khz, and resonant frequency of 10 khz, the simulation with resonant frequency of 10 khz, will be 10 times slower than the simulaiton with resonant frequency of 1 khz. It is understandable that you would see a significant slow down when adding your PWM at this has drastically decreased the minimum time step required to simulate it correctly. In order to speed up the simulation, please make sure to use piecwise linear switching devices. If you use a fixed step simulaiton, try using a fixed step 100 times smaller than your switching frequency, and if you are using a variable step solver, please try using odeN with ode14x, and set your step time to 5 to 10 times smaller than your switching frequency.
Here is a starting point for using mathworks tools for power electronics: https://www.mathworks.com/solutions/power-electronics-control/power-electronics-simulation.html
  4 commentaires
Sreeraj A
Sreeraj A le 12 Sep 2020
Hello Joel,
Thank for the suport.
I am currently runnin the model in open Loop. Currently building Open Loop CLLC resonant converter and using Ideal switches in my model. Would that be causing the issue ? attached model screenshot.
Joel Van Sickel
Joel Van Sickel le 16 Sep 2020
Hello Sreeraj,
unfortunately, the ideal switches usually cause problems because the diode isn't added in parallel. You have added a diode so it is less likely this is the issue. However, you could still try using a mosfet or IGBT block to see if that improved performance.

Connectez-vous pour commenter.


En savoir plus sur Electrical Sensors dans Help Center et File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by