How to generate a pwm signal with duty cycle 30%

4 vues (au cours des 30 derniers jours)
Harsha Nimje
Harsha Nimje le 18 Nov 2019
Modifié(e) : Harsha Nimje le 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
  1 commentaire
KALYAN ACHARJYA
KALYAN ACHARJYA le 18 Nov 2019
May be: Do the coding then use in function block??

Connectez-vous pour commenter.

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 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 commentaire
Harsha Nimje
Harsha Nimje le 19 Nov 2019
Modifié(e) : Harsha Nimje le 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?

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by