What does these two block in mppt represent?

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;

답변 (1개)

Dr. Pemendra Kumar Pardhi
Dr. Pemendra Kumar Pardhi 2021년 12월 28일

0 개 추천

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.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

도움말 센터File Exchange에서 Circuit Envelope Simulation에 대해 자세히 알아보기

질문:

2021년 12월 28일

답변:

2021년 12월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by