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 Comments

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;
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.

Sign in to comment.

Answers (1)

This might help.

1 Comment

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.

Sign in to comment.

Communities

More Answers in the  Power Electronics Control

Categories

Asked:

on 9 Apr 2013

Commented:

on 28 Jun 2016

Community Treasure Hunt

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

Start Hunting!