You are on page 1of 12

DUAL AXIS SOLAR POWER

TRACKING SYSTEM
USING MATLAB&ARDUINO
Presented by:-
Md.Zakeer(14831A0231)
S.Pravalika(14831A0239)
Y.Nikitha(15835A0212)
SOLARENERGY
• It is the major eco-friendly & pollution less
method of producing the electricity today.
TYPES OF SOLAR TRACKERS
• SINGLE AXIS SOLAR TRACKERS.
• DUAL AXIS SOLAR TRACKERS.
1.Single Axis Solar Tracker
• Single axis solar trackers can have either
horizontal or vertical axle.The horizontal type
is used in tropical regions where the sun gets
very high at noon,but days are short.The
vertical type is used in altitudes where dun
does not get very high, but summerdays can
be very long.
2.Dual Axis Solar Tracker
• Dual axis solar trackers have both horizontal
and vertical axle and so can track the sun’s
apparent motion exactly anywhere in the
world.
Dual axis circuit digram
DUAL AXIS SOLAR TRACKING CIRCUIT DIAGRAM
MATLAB CODING
• clear all;
• clc;

• C = arduino ('COM4');

• Servo Attach(c,10);
• Servo Attach(c,9);

• Servo Status(c,10);
• Servo Status(c,9);


• servoh = 0;
• servohlimithigh = 160;
• servohlimitlow = 20;


• servov = 0;
• Servov limit high = 160;
• Servov limit low = 20;

• tic
• while toc <60

• topl = c.analog Read(0);
• topr = c.analogRead(1);
• botl = c.analogRead(2);
• botr = c.analogRead(3);

avgtop = (topl+topr)/2;
avgbot = (botl+botr)/2;
avgleft = (topl+botl)/2;
avgright = (topr+botr)/2;

if(avgtop<avgbot);
servov = servov+1;
if(servov > servovlimithigh)
servov = servovlimithigh;
lag = 10;
end
servoWrite(c,10,servov);

elseif(avgbot<avgtop)
servov = servov-1;
if(servov < servovlimitlow)
servov = servovlimitlow;
lag = 10;
end
servoWrite(c,10,servov);
end

if(avgleft>avgright)
servoh = servoh+1;
if(servoh > servohlimithigh)
servoh = servohlimithigh;
lag = 10;
end
servoWrite(c,9,servoh);
elseif(avgright>avgleft)
servoh = servoh-1;
if(servoh < servohlimitlow)
servoh = servohlimitlow;
lag = 10;
end
servoWrite(c,9,servoh);
lag = 50;
end
end

You might also like