how can I design a MPPT based solar charge controller using P&O algorithm by Matlab Simpower?
Afficher commentaires plus anciens
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 commentaires
Tony Castillo
le 28 Juin 2016
Modifié(e) : Walter Roberson
le 28 Juin 2016
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
le 28 Juin 2016
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.
Réponses (1)
Arkadiy Turevskiy
le 9 Avr 2013
0 votes
This might help.
1 commentaire
Tony Castillo
le 18 Fév 2016
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.
Communautés
Plus de réponses dans Power Electronics Control
Catégories
En savoir plus sur Solar Power dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!