square wave signal in sync with PWM generator
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Peter
el 31 de Mzo. de 2025
Respondida: Vinay
el 15 de Abr. de 2025
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.
0 comentarios
Respuesta aceptada
Vinay
el 15 de Abr. de 2025
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Spectral Measurements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!