How can be generated aperiodic triangle carrier signal for PWM

1 Ansicht (letzte 30 Tage)
ali al-khayyat
ali al-khayyat am 23 Aug. 2019
Kommentiert: Nandhini am 6 Apr. 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 Kommentare
ali al-khayyat
ali al-khayyat am 24 Aug. 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?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov am 28 Aug. 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 Kommentar
Nandhini
Nandhini am 6 Apr. 2023
Can you please elabrate more about these... i am also want to generate Aperiodic traiangle wave

Melden Sie sich an, um zu kommentieren.

Tags

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by