MATLAB Answers

Varying duty cycle PWM using pulse generator

3 views (last 30 days)
savan prajapati
savan prajapati on 31 Jan 2020
Answered: Archit Dhanani on 5 May 2021
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

Answers (1)

Archit Dhanani
Archit Dhanani on 5 May 2021
Hi, you can try to use Variable pulse generator or PWM block in the Simulink/Discontinuous library.
see if this help.

Community Treasure Hunt

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

Start Hunting!

Translated by