how can I design a MPPT based solar charge controller using P&O algorithm by Matlab Simpower?
이전 댓글 표시
I've a model of a solar panel. Now I've to design a buck converter which is driven by PWM signals generated following the P&O algorithm for maximum power point tracking of solar panel. Please give some suggestions providing model of it at matlab simulink/simpower systems.
댓글 수: 2
Tony Castillo
2016년 6월 28일
편집: Walter Roberson
2016년 6월 28일
Hello Joyeeta,
Can you help me to check this code?
function dc = PyO( V, I, Adc, dcinit)
%#codegen
%Algoritmo P&O mi referencia es la tension de salida
% % Adc=3e-4; %Duty Cycle Variation
persistent dcold Vold Pold Iold
dataType = 'double';
if isempty(Vold)
Vold=0;
Iold=0;
Pold=0;
dcold=dcinit;
end
% dc= dcinit;
%calculation
P= V*I;
dcmax=0.7636;
dcmin=0.15;
%
if P-Pold == 0
dc=dcold;
return
else
if P-Pold>0
if V-Vold>0
dc = dcold + Adc; %incrementa V
else
dc = dcold - Adc; %reduce V
end
end
if V-Vold>0
dc = dcold - Adc; %reduce V
else
dc = dcold + Adc; %incrementa V
end
end
if dc>=dcmax || dc<=dcmin
dc=dcold;
end
dcold=dc;
Vold=V;
Iold=I;
Pold=P;
Walter Roberson
2016년 6월 28일
Tony, this topic is from more than 3 years ago. It is unlikely that the original poster or Arkadiy are watching it, and the notification system would not have notified them of your messages.
답변 (1개)
Arkadiy Turevskiy
2013년 4월 9일
0 개 추천
This might help.
댓글 수: 1
Tony Castillo
2016년 2월 18일
Hello Arkadiy i'd like to access to your answer to the question done for Joyeeta, because I like to learn to do it. Please give me the help.
커뮤니티
더 많은 답변 보기: Power Electronics Community
카테고리
도움말 센터 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!