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

1 回表示 (過去 30 日間)
Gwendal Colin
Gwendal Colin 2018 年 6 月 13 日
回答済み: Sabin 2024 年 1 月 21 日
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

回答 (1 件)

Sabin
Sabin 2024 年 1 月 21 日
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.

カテゴリ

Help Center および File ExchangeSimscape についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by