Powergui error - invalid port dimensions

조회 수: 3 (최근 30일)
Greg Whelan
Greg Whelan 2017년 4월 10일
댓글: Joel Van Sickel 2021년 6월 30일
I was able to get an equivalent model, with a different control subsystem to simulate.
With a new control I am getting the error in the image, stating the powergui vector dimensions are now incorrect.
The model is a bidirectional DC-DC converter; before there were no PWM blocks as the control system handled that, they needed to be added here.
Taking a stab if anyone has any answers on here.

답변 (1개)

Joel Van Sickel
Joel Van Sickel 2020년 9월 17일
Hello Greg,
the gate signal has 6 pulses in it. These need to be split out and provided individually to the switches, or use the universal bridge block and set it to be an inverter.
Regards,
Joel
  댓글 수: 2
Abd Al-Rahman Al-Remal
Abd Al-Rahman Al-Remal 2021년 6월 30일
Apologies for asking on an old question however I'm getting the same error as Greg did (albeit for a different application as I'm modelling a wind turbine) however I'm not sure what you mean by splitting the 6 pulse in the gate?
Any clarification would be appreciated however no worries if not.
Best,
Abd
Joel Van Sickel
Joel Van Sickel 2021년 6월 30일
Hello Abd,
you need to create the PWM signals for each switch, and if the switches are part of a converter block, merge them with a mux block.. There are a few examples of how to do this.
Regards,
Joel

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Electrical Sensors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by