How can I produce a repeated stairs output signal with different switching time ?

1 vue (au cours des 30 derniers jours)
Gwendal Colin
Gwendal Colin le 13 Juin 2018
Réponse apportée : Sabin le 21 Jan 2024
hello, Im trying to command an IGBT continuously (during my 0.04s simulation) with this switching:[1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,1] But I want to control the time the IGBT is closed too. So I have for each state a time: [0.684 0.114 0.171 0.114 0.171 0.114 0.114 0.171 0.228 0.228 0.114 0.057 0.114 0.285 0.342 0.057 0.114 0.057 0.627 0.456 0.171 0.513 0.057 0.057 0.456 0.285 0.513 0.057 0.285 0.228 0.171 0.057 0.228 0.114 0.057 0.114 0.114 0.684] I already tried with a stairs generator but it only run once and I want it to be always the same thing during all the simulation I hope I've explain it in a good way, English is not my first language Thanks

Réponses (1)

Sabin
Sabin le 21 Jan 2024
For this kind of requirement probably a repeating sequence can work:
In general I would look at using a PWM generator and varying the duty cycle to control the IGBT.

Catégories

En savoir plus sur Simscape 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