Info

This question is closed. Reopen it to edit or answer.

Unwanted spikes in Simulink with Matlab R2013a

1 view (last 30 days)
Diptish Saha
Diptish Saha on 19 Apr 2015
Closed: Steve Miller on 31 Jan 2018
I am trying a simulation of a power electronics circuit using simulink of Matlab R2013a. I am able to get correct output but the output contains many unwanted spikes. When I zoom into one of the spikes to the maximum possible limit then also the spike shows like just as a line. The spike is not getting enlarged when I zoom to the maximum level that is possible in scope. I have also checked by changing the "Model Configuration Parameters" but it didn't help. But When I tried the same program with Matlab R2010a then the output is perfect with no spike at all. So I whats the difference between the two version of Matlab and what settings has to be changed to make R2013a to get a spike free output.
  1 Comment
Luciano Alves
Luciano Alves on 5 Jan 2017
Try to use "enable use of ideal switching devices": go to Powergui Block --> Configure Parameters --> Simulation type (continuous) and enable use of ideal switching devices.

Answers (0)

Community Treasure Hunt

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

Start Hunting!