Borrar filtros
Borrar filtros

MATLAB fnc to control PWM generator

10 visualizaciones (últimos 30 días)
Stephen
Stephen el 14 de Ag. de 2011
Comentada: Janani Baskaran el 10 de Nov. de 2016
How can I use a duty cycle result from a MATLAB fnc to control the duty cycle of a PWM generator, using Simulink.

Respuestas (3)

Stephen
Stephen el 14 de Ag. de 2011
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 comentarios
Hossein
Hossein el 9 de Dic. de 2011
can you do this in simscape also?with Controlled PWM Voltage ?
Janani Baskaran
Janani Baskaran el 10 de Nov. de 2016
Hi can you tell me how to control the duty cycle of PWM using the output from PID Controller in Simulink.

Iniciar sesión para comentar.


bijeta Chakraborty
bijeta Chakraborty el 11 de Mzo. de 2012
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 el 19 de Jun. de 2012
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 comentario
Walter Roberson
Walter Roberson el 19 de Jun. de 2012
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.

Iniciar sesión para comentar.

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!

Translated by