how to create variable PWM in simulink

조회 수: 24 (최근 30일)
ahmed zaki
ahmed zaki 2013년 10월 8일
답변: ahmed zaki 2014년 2월 7일
I working in type of motors with PWM and i want to control the duty of pwm in my modeling in simulink but i dont know what is the suitable function in the simulink to give me variable pwm ???
i hope help me soon
many thanks

채택된 답변

cr
cr 2013년 10월 11일
편집: cr 2013년 10월 14일
There is a built-in pwm block that varies dutycycle according to an input sine wave. See 2 and 3 level pwm generator blocks. If you need to vary dutycycle depending upon value of some signal, then the only way I can think of is by using s-functions to change the duty cycle at every step. There is a demo file in s-function demos. I have also described a simpler beginner-friendly version here: http://matlabtraining.com/blog/2013/10/how-to-write-s-functions/

추가 답변 (1개)

ahmed zaki
ahmed zaki 2014년 2월 7일
Hi, actually i have technical problem in simulink: i select permanent magnet motor block with simulation setting(normal -ode45) the simulation couldn't continue and also give me alarm

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by