Group Abstract Group Abstract

Message Boards Message Boards

0
|
8.6K Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

[?] Avoid problem with Trapezoid Block used for the carrier wave?

Posted 9 years ago

Hi guys,

I haven't posted here before and was unable to find a similar problem using the search function. I am trying to implement a Unipolar PWM strategy for a H-Bridge Inverter. After a very short time the trapezoid block that I am using for the carrier wave ceases to function even though the block is set to run for the duration of the simulation. I have no idea why it is stopping and would love some assistance!

I have attached a screenshot of the block in question and the resultant output. For reference: switchingFreq = 5000, StartTime = 0.

Thank you in advance!

Attachments:
POSTED BY: Daniel Frew
3 Replies

In general you can se such issues when using event generating functions with infinite number of transition points, like integer and mod, in combination with a model without dynamics (the Trapezoid block uses integer). As Neil mentioned, as soon as you add some dynamics to your model the step size control of the solver will kick in to help find all transition points.

POSTED BY: Otto Tronarp
POSTED BY: Neil Singer
Posted 9 years ago

Thanks so much Neil,

I had thoughts along those lines, but didn't think to try another solver! Thank you again.

POSTED BY: Daniel Frew
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard