How to turn off and turn on PWM signal?

조회 수: 5 (최근 30일)
Yaswanth
Yaswanth 2024년 3월 6일
댓글: Yaswanth 2024년 3월 7일
I could not stop and start the PWM signal in a specifed interval of time.
For instance, the pulse should run for 0.02 sec and off for next 0.02 sec and repeate the sequence where the stop time is considered as 0.006 sec.
sample description of signal is attached for refernce.

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2024년 3월 6일
  1. Generate the PWM signal that is always on. Its period or width could all change as needed.
  2. Generate another pulse signal. This is your switch signal.
  3. Do an "AND" logic on the two signals. When the pulse is high (1), the PWM signal is passed on. When the pulse is low (0), the PWM signal is turned off.

카테고리

Help CenterFile Exchange에서 Pulse and Transition Metrics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by