Hi all,
I've been stuck for a while with this idea and i want to ask for your opinion. I create 3 pulses in simulink, with Ts switching period, da, db, and dc the equivalent duty cycles. da+db+dc=1 if it helps at all. It is about PWM pulses i use for my switches. The duty cycles are variable in every switching cycle but Ʃd=1 all the time of course.
The thing is that what i want is when the first pulse ends, the second will start and when the second one has finished the third one will start. So my problem is that i need to delay the second pulse as long the first pulse is one and also i need to delay the third pulse as long as the durations of the first and second pulses together.
I have tried with delay blocks and at the delay length i choose input port but so far unsuccessfully. I tried with counters too but i got confused, too.
Any ideas will be highly appreciated. Thanks
I've been stuck for a while with this idea and i want to ask for your opinion. I create 3 pulses in simulink, with Ts switching period, da, db, and dc the equivalent duty cycles. da+db+dc=1 if it helps at all. It is about PWM pulses i use for my switches. The duty cycles are variable in every switching cycle but Ʃd=1 all the time of course.
The thing is that what i want is when the first pulse ends, the second will start and when the second one has finished the third one will start. So my problem is that i need to delay the second pulse as long the first pulse is one and also i need to delay the third pulse as long as the durations of the first and second pulses together.
I have tried with delay blocks and at the delay length i choose input port but so far unsuccessfully. I tried with counters too but i got confused, too.
Any ideas will be highly appreciated. Thanks