In the ee_vienna_rectifier demo (matlab2019a), there is a matlab funciton in the Control/PWM Generator(Vienna Rectifier) block. It is hard to understand the algorithm of that function. I can't find any help documents about the Vienna Rectifier PWM Generator. I need some help documents or reference.
Please help
Thanks.
function [TgabcON,TgabcOFF,SmallHexNum] = switchingTime(Vabc,Iabc,vdc,vneutral,fsw)
% Vienna rectifier PWM switching time calculation
Tsw = 1/fsw; % switching period
Tswh = 0.5*Tsw; % half switching period
% choose the small hexagon and calculate new ref. vector
if Iabc(1)*Iabc(2)*Iabc(3) > 0
if Iabc(1) > 0
SmallHexNum = 1;
a = 2;
b = -1;
elseif Iabc(2) > 0
SmallHexNum = 3;
a = -1;
b = 2;
else
SmallHexNum = 5;
a = -1;
b = -1;
end
……

 채택된 답변

Sabin
Sabin 2022년 12월 18일

0 개 추천

PWM Generator (Vienna Rectifier) has been added to Simscape Electrical/Control. You can check the doc page and the 2 references for more info.

추가 답변 (0개)

제품

릴리스

R2019a

질문:

2019년 6월 21일

답변:

2022년 12월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by