Problem in PWM block

3 visualizaciones (últimos 30 días)
Abhay
Abhay el 23 de Ag. de 2014
Respondida: Sebastian Castro el 2 de Oct. de 2014
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!!

Respuestas (1)

Sebastian Castro
Sebastian Castro el 2 de Oct. de 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

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by