How can be generated aperiodic triangle carrier signal for PWM

4 vues (au cours des 30 derniers jours)
ali al-khayyat
ali al-khayyat le 23 Août 2019
Commenté : Nandhini le 6 Avr 2023
I would like to generate triangle signal starts from 0 degree and stops at 60 degree and then starts at 120 degree and stops at 180 degree for half cycle sine wave reference, and then it is repeat itself. If possible by coding or simulink. The attached picture would explain the required triangle wave.
  2 commentaires
KALYAN ACHARJYA
KALYAN ACHARJYA le 24 Août 2019
You may manage it here somehow?
ali al-khayyat
ali al-khayyat le 24 Août 2019
Hi, I have used that, but it generate normal triangle wave. Do you know how to generate triangle with variable frequency or as I asked above, please?

Connectez-vous pour commenter.

Réponses (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov le 28 Août 2019
Hi Ali,
for your problem, sawtooth() function does not work. Instead you'd need to employ triangular pulse generator function tripuls() (see the link:https://www.mathworks.com/help/signal/ref/tripuls.html)
Sub-divide the time space into 6 subsections t1 = [0, 60]; t2 = [50, 120]; t3 = [...], ..., t6 = [300, 360]; generate triangular pulse where you need (section 1, 3 and reversed ones in section 4 and 6).
Good luck
  1 commentaire
Nandhini
Nandhini le 6 Avr 2023
Can you please elabrate more about these... i am also want to generate Aperiodic traiangle wave

Connectez-vous pour commenter.

Tags

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by