Varying duty cycle PWM using pulse generator

7 visualizzazioni (ultimi 30 giorni)
savan prajapati
savan prajapati il 31 Gen 2020
Risposto: Archit Dhanani il 5 Mag 2021
Hello,
I am trying to generate PWM wave using pulse generator in simulink. But in addition to that I have couple of doubts which I want to clear.
1) Is it possible to insert variable(x) for duty cycle in pulse generator data? Here X = duty cycle which is dependent on other paprameters.
2) Is it possible to insert .m file which generates the PWM wave in any basic circuit diagram of the MATLAB?
Any leads will be appriciated.
Thank you

Risposte (1)

Archit Dhanani
Archit Dhanani il 5 Mag 2021
Hi, you can try to use Variable pulse generator or PWM block in the Simulink/Discontinuous library.
https://www.mathworks.com/help/simulink/slref/pwm.html
see if this help.
Thanks,
Archit.

Community Treasure Hunt

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

Start Hunting!

Translated by