What does these two block in mppt represent?
7 次查看(过去 30 天)
显示 更早的评论
Hi everyone, from the mppt, these two blocks (1; 2 // https://imgur.com/a/jKNRoFE ) what their function according to the code.
function D=DutyRatio(V,I)
Dmax=0.95;
Dmin=0;
Dinit=0.95;
deltaD=0.0001;
persistent Vold Pold Dold;
dataType='double';
if isempty(Vold)
Vold=0;
Pold=0;
Dold=0;
end
P=V*I;
dV=V-Vold;
dP=P-Pold;
if dP ~=0
if dP<0
if dV<0
D= Dold - deltaD;
else
D= Dold+deltaD;
end
else
if dV<0
D= Dold+deltaD;
else
D=Dold-deltaD;
end
end
else D=Dold;
end
if D>=Dmax || D<=Dmin
D=Dold;
end
Dold=D;
Vold=V;
Pold=P;
0 个评论
回答(1 个)
Dr. Pemendra Kumar Pardhi
2021-12-28
Hi noble, Fist block represent to unit delay and second block is reapitive sequence generator.
The mppt block provides an appropriate duty cycle for dc-dc convert. The duty is compared with Reapitive sequence generator to provide pwm signal.
0 个评论
社区
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!