Bi directional buck boost converter with simulink and simscape only

2 views (last 30 days)
Hello All,
I did design a bi directional circuit in simscape.I used PWM from specialised power system for producing PWM of variable duty cycle.But i see the simulation runs very slowly.When i try increasing the sample time,the circuit functioanlity disappears. How can I increase the speed of my circuit.Kindly help
I'm using ode15s/dasesimscape solver under variable step configuration

Accepted Answer

Zhao Wang
Zhao Wang on 4 Jul 2020
Sample time is an intrinsic part of the power electronics circuit model. As a result, it would be difficult to speed up simulation by merely increasing the sample time.
There is an alternative way to achieve a faster simulation by using averaged-value models, which does not simulate the switching behavior. You can use the block in the following link to construct your model:
As mentioned in the link, you can program the block as a buck converter, boost converter, or buck-boost converter by providing the duty cycle. In your model, simply replace the individual component blocks with a single converter block.
Vasco Lenzi
Vasco Lenzi on 6 Jul 2020
Hi Shusma
Have you tried to right click on the converter-> Going to the top on the "simscape" Menu -> Block choices -> Four Switches converter.

Sign in to comment.

More Answers (0)


More Answers in the  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!

Translated by