how to change the switch between two condition?
Show older comments
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
Answers (1)
Azzi Abdelmalek
on 6 Jun 2013
Edited: Azzi Abdelmalek
on 6 Jun 2013
0 votes
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
Categories
Find more on Pulse width modulation (PWM) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!