PWM input, Duty Cycle output

조회 수: 2 (최근 30일)
Arfiel Lorenz Herbon
Arfiel Lorenz Herbon 2014년 1월 6일
I am trying to produce a PWM waveform by using a constant, sawtooth wave generator, and a comparator via Simulink blocks. Given this PWM, is there a way to use this PWM as input and then produce a value of the Duty Cycle of the input PWM as its output?
Is there a Simulink block that does this function? It's like a Duty Cycle reader for a PWM wave input. I have been searching for this for quite some time already but I still can't find an answer. Thanks!

답변 (1개)

Walter Roberson
Walter Roberson 2014년 1월 6일
One way in which duty cycle can be defined is
integral(Waveform over time) / (time duration)
multiplied by 100 if you prefer percentage.
  댓글 수: 3
Walter Roberson
Walter Roberson 2014년 1월 6일
I am not familiar with creating Simulink block diagrams as I do not have the product. The Integrator block is http://www.mathworks.com/help/simulink/slref/integrator.html
Laurensius Christian Danuwinata
Laurensius Christian Danuwinata 2016년 8월 30일
Hi, It wasnt working, do you have other solution by any chance?

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by