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
……

 Réponse acceptée

Sabin
Sabin le 18 Déc 2022

0 votes

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

Plus de réponses (0)

Produits

Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by