What does these two block in mppt represent?

6 views (last 30 days)
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;

Answers (1)

Pemendra Kumar Pardhi
Pemendra Kumar Pardhi on 28 Dec 2021
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.

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!