Is there a PWM block available in Simulink?

11 vues (au cours des 30 derniers jours)
Daniel
Daniel le 12 Oct 2016
Hello.
I wonder if there is a PWM block avaible in Simulink?
It needs to be a 10-bit PWM.
I want to transform a signal between 0 and 1023 to 1 and 0.
The time period needs be avaible to change if needed so. For example 1 second or 1 milli second.
  2 commentaires
Preethi
Preethi le 13 Oct 2016
hi,
search for PWM in Simulink library, few are available in Simscape
Mostafa
Mostafa le 13 Oct 2016
You'll either need to buy the Simulink library or implement it yourself.

Connectez-vous pour commenter.

Réponse acceptée

ALBERT ALEXANDER STONIER
ALBERT ALEXANDER STONIER le 13 Oct 2016
There are so many options for the generation of PWM in MATLAB. Some are listed as below: 1. You can use a function generator and specify your time period. 2. You can generate a PWM signal by comparing a modulating and carrier signals 3. You can write a simple .m file code for PWM and can send the coding to the simulink using PWM generator There are so many PWM generation options available in MATLAB/Simulink 2016 b like SVPWM generator, 2 level/3 level/multi level PWM generators
  2 commentaires
Daniel
Daniel le 14 Oct 2016
Hi. What is the name of the block on the function generator?
ALBERT ALEXANDER STONIER
ALBERT ALEXANDER STONIER le 15 Oct 2016
it's a pulse generator..

Connectez-vous pour commenter.

Plus de réponses (1)

Archit Dhanani
Archit Dhanani le 25 Nov 2020
We shipped a new PWM block in the Simulink library in R2020b. It is placed under Discontinuities library. Please check it out.
Also, we have introduced a new variable pulse generator block in R2020b as well.
Regards,
Archit.

Communautés

Plus de réponses dans  Power Electronics Control

Catégories

En savoir plus sur Electrical Block Libraries dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by