Simulink || Sawtooth carrier wave distorted at variable-step solver

1 view (last 30 days)
Hello,
I am designing a converter algorithmically with a PI controller, and I have a simple yet irritating issue so far regarding the solver that I cannot fully understand yet. The issue is that the signals I put through a controller becomes noisy and distorted. I have an image of an A=[0,1] sawtooth wave I generate from a repeatable table unit, and at e-6 maximum step size with no zero-crossing, I obtain a signal that does not always hit minimum or maximum values when it is supposed to, and it even tends to dip.
I believe this is more computer performance related than Simulink configs related, but in case it does not matter, could I ask for tips and hints to correct this noise and distortion problem? This is a very common recurring problem I had to deal with repeatedly for a long time, thus I would greatly appreciate any support on this issue.
Yours truly, Ali
<<
>>

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!