Problem in PWM block
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hey! i am trying to generate a PWM signal to control 3 phase inverter and I am getting the following errors

:
Error in port widths or dimensions. Output port 1 of 'autoproj/Sine Wave' is a [1x1] matrix.
Component: Simulink | Category: Block errorOpen
Error in port widths or dimensions. Input port 1 of 'autoproj/PWM Generator (2-Level)' is a one dimensional vector with 3 elements.
The image of my model is also attached. I need to generate a PWM signal to get a sinusoidal output.
Pls help!!
0 Commenti
Risposte (1)
Sebastian Castro
il 2 Ott 2014
Hi Abhay,
The PWM Generator block you placed in configured by default for three-phase systems -- therefore, it expects a 3-element vector of duty signals.
If that is what you wanted, you can specify your phases in the Sine Wave block as [0 -120 120]*(pi/180) , which will make the dimensions of the sine wave correct.
If you wanted a single-phase inverter signal (i.e. with 2 switching pulses instead of 6), then you should double-click the PWM Generator block and change the Generator Type drop-down menu to the dimension you're looking for.
- Sebastian
0 Commenti
Community
Più risposte nel Power Electronics Control
Vedere anche
Categorie
Scopri di più su Switches and Breakers in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!