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

Community Treasure Hunt

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

Start Hunting!

Translated by