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

1 visualizzazione (ultimi 30 giorni)
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

Risposte (1)

Sabin
Sabin il 21 Gen 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.

Categorie

Scopri di più su Simscape in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by