square wave signal in sync with PWM generator

조회 수: 5 (최근 30일)
Peter
Peter 2025년 3월 31일
답변: Vinay 2025년 4월 15일
Hello All,
I'd need to generate a square wave signal which is in sync with PWM carrier as depicted.
I use the PWM generator module (simscape) - I wonder how to sync the required sqaurewave pulse with PWM carrier?
Vdh (squarewave) is applied in deferrent referance (sync rotating frame) frame as 3-phase PWM operates (stationary frame).
Is it a way to sync PWM carrier and squarewave signal?
Thank you for advice.

채택된 답변

Vinay
Vinay 2025년 4월 15일
Hi @Peter,
I understand that you want to generate a square wave with a duty cycle of 0.5 and in sync with the PWM generator.
The diagram shared by you shows a square wave trigeering at 2*Tper , 4*Tper and so on where Tper is the time period of the PWM generator.
The square wave can be generated by using a PWM generator with time period 4 times the original PWM generator and carrier counter as "Up". This ensures a square pulse with time period of 4*Tper in sync with the PWM generator .
Kindly refer to the below documentation of PWM generator for more details
I hope this helps!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by