0 votes
81 views
ago by Tajamul Hayat (12 points)
I am working on the level-shift PWM technique, which requires a high-frequency repeating sequence. For that, I am using a triangular wave source. However, when I set the frequency to 10 kHz, the output becomes constant instead of triangular. The waveform appears triangular only at 50 Hz, but for any frequency other than 50 Hz, it is no longer triangular.
What could be the reason for this behavior

1 Answer

0 votes
ago by Jovan Zelic (342 points)
Execution rate of the Triangular Wave Source component will decide the resolution of the component output. You might want to make sure that your execution rate is at least 100 times shorter than your switching period.

Even better, consider using the PWM Modulator component, to make sure you have the maximum resolution.
Welcome to the Typhoon HIL user forum. Please check self-service support resources before posting a question.

HIL Specialist 2.0 courses
Documentation
Knowledgebase (Legacy)
Video support on demand
Youtube tutorials

For subscription-based support visit Typhoon HIL Support Center
...