How to generate a pwm signal with duty cycle 30%

4 Ansichten (letzte 30 Tage)
Harsha Nimje
Harsha Nimje am 18 Nov. 2019
Bearbeitet: Harsha Nimje am 19 Nov. 2019
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

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 18 Nov. 2019
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 Kommentar
Harsha Nimje
Harsha Nimje am 19 Nov. 2019
Bearbeitet: Harsha Nimje am 19 Nov. 2019
can u please elaborate? which signal to be connected to the 1st input port , 2nd input port what should be the reset condition?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by