how to change the switch between two condition?
显示 更早的评论
hai i want to switch between two condition,i;e between normal pwm method and hysteresis pwm method. my circuit have to work 5 seconds in pwm technique and after 5 seconds it has to switch to the hysteresis pwm method automatically. mine simulation time is 30seconds. what condition i have to give and if i have to use the clock then how i want to give the control for these two conditions?
thank you
回答(1 个)
Azzi Abdelmalek
2013-6-6
编辑:Azzi Abdelmalek
2013-6-6
0 个投票
The second port of your switch block should be connected to a sine wave signal (from a sine wave block) y=sin(0.1*2*pi*t) and set the threshold u2>0. the first and third port of your switch block are connected to your pwm1 and pwm2
类别
在 帮助中心 和 File Exchange 中查找有关 Pulse width modulation (PWM) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!