How to generate a pwm signal with duty cycle 30%

조회 수: 1 (최근 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 CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by