How to generate a pwm signal with duty cycle 30%

3 ビュー (過去 30 日間)
Harsha Nimje
Harsha Nimje 2019 年 11 月 18 日
編集済み: Harsha Nimje 2019 年 11 月 19 日
How to generate a pwm signal with duty cycle 30% without using any of the source blocks.
Want to use the simulink library but not the blocks present in the sources
  1 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 11 月 18 日
May be: Do the coding then use in function block??

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

採用された回答

Fangjun Jiang
Fangjun Jiang 2019 年 11 月 18 日
Use a resetable integrator to generate a sawtooth wave, compare it with a constant value, you'll get a PWM wave. The value of the constant determines the duty cycle.
  1 件のコメント
Harsha Nimje
Harsha Nimje 2019 年 11 月 19 日
編集済み: Harsha Nimje 2019 年 11 月 19 日
can u please elaborate? which signal to be connected to the 1st input port , 2nd input port what should be the reset condition?

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by