How to create a sawtooth generator with variable phase delay?

14 vues (au cours des 30 derniers jours)
nguyen ngoc son
nguyen ngoc son le 27 Mai 2016
Réponse apportée : Sabin le 10 Mar 2023
Hi, I'm doing a project about phase-shifted converter, and i need to create a sawtooth generator with a variable phase delay. In simulink library, there is a sawtooth generator but its phase delay is fixed. I tried to make a sawtooth generator basing on available sawtooth generator in simulink library with a rem function block but its result is not right. I hope you can help me. Thanks!

Réponses (1)

Sabin
Sabin le 10 Mar 2023
Function rem can be used having as inputs: (i) the sum between simulation time (using a clock block) and delay, and (ii) desired period. That should do the job.

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by