필터 지우기
필터 지우기

MATLAB fnc to control PWM generator

조회 수: 10 (최근 30일)
Stephen
Stephen 2011년 8월 14일
댓글: Janani Baskaran 2016년 11월 10일
How can I use a duty cycle result from a MATLAB fnc to control the duty cycle of a PWM generator, using Simulink.

답변 (3개)

Stephen
Stephen 2011년 8월 14일
I got it working... it was a scale problem. Instead of duty cycle = 0 to 1, my MATLAB fnc was outputtng duty cycle = 0 to 100.
After fixing my problem, I simply connected the MATLAN fnc to the input of the PWM generator and success.
  댓글 수: 2
Hossein
Hossein 2011년 12월 9일
can you do this in simscape also?with Controlled PWM Voltage ?
Janani Baskaran
Janani Baskaran 2016년 11월 10일
Hi can you tell me how to control the duty cycle of PWM using the output from PID Controller in Simulink.

댓글을 달려면 로그인하십시오.


bijeta Chakraborty
bijeta Chakraborty 2012년 3월 11일
Hello Stephen,
Can you please guide me as to how you can control a Duty Ratio of PWM in Simulink by using the stored values of Duty Ratio from MATLAB.
Looks like you have already done this so please help ? Any inputs would be helpful.
regards bijeta

Shawn Chang
Shawn Chang 2012년 6월 19일
Hi Stephen,
I wish to generate pwm signal and send it to the microcontroller through the serial communication. Can you aid me on how you generated the pwm signal? Thanks. Your help is much appreciate.
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 6월 19일
Serial communications protocols use fixed bit-widths, and so are not able to convey the variable pulse widths needed for Pulse Width Modification. Not unless what you send is a _description_ of the pulses.

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Pulse width modulation (PWM)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by