Is there a PWM block available in Simulink?

8 ビュー (過去 30 日間)
Daniel
Daniel 2016 年 10 月 12 日
回答済み: Archit Dhanani 2020 年 11 月 25 日
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 件のコメント
Preethi
Preethi 2016 年 10 月 13 日
hi,
search for PWM in Simulink library, few are available in Simscape
Mostafa
Mostafa 2016 年 10 月 13 日
You'll either need to buy the Simulink library or implement it yourself.

サインインしてコメントする。

採用された回答

ALBERT ALEXANDER STONIER
ALBERT ALEXANDER STONIER 2016 年 10 月 13 日
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 件のコメント
Daniel
Daniel 2016 年 10 月 14 日
Hi. What is the name of the block on the function generator?
ALBERT ALEXANDER STONIER
ALBERT ALEXANDER STONIER 2016 年 10 月 15 日
it's a pulse generator..

サインインしてコメントする。

その他の回答 (1 件)

Archit Dhanani
Archit Dhanani 2020 年 11 月 25 日
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.

コミュニティ

カテゴリ

Help Center および File ExchangeElectrical Block Libraries についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by