square wave signal in sync with PWM generator

7 次查看(过去 30 天)
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