A solar tracking system is a device that orients a payload toward the Sun. Paylo
ID: 2083465 • Letter: A
Question
A solar tracking system is a device that orients a payload toward the Sun. Payloads are usually solar panels, parabolic troughs, fresnel reflectors, etc. For flat-panel photovoltaic system, a solar tracker is used to minimize the angle of incidence between the incoming sunlight and the photovoltaic panel. The system is tracking for maximum intensity of light; it automatically changes its direction in order to get the maximum intensity of light. The purpose of this project is to design a solar tracking system and to simulate in Proteus the control of this system using a microcontroller to get maximum sunlight automatically.Explanation / Answer
Here we will take input voltages at 4 points. One in each direction i.e. east west north south. Lets call them Ve, Vw, Vn, Vs and move the panel till Ve - Vw is less than the threshold and same with Vn - Vs.
// These input voltages can be measured by using LDR as each point. As light fall on LDR, the resistance decreases.
//Also a , b are used to give I/p to the stepper motor for clockwise, anticlockwise or no rartion at all.
//Now, if voltage at east LDR is more as compared to voltage at west, the panel will move towards east and/or otherwise.
// same happens in case of north-south case.
#include <stdio.h>
void main()
{
int ve,vw,vn,vs,a,b;
printf("enter iput voltages");
scanf("%d %d %d %d" , &ve, &vw, &vn, &vs);
while ((ve-vw) <= 0.1 && (vn-vs) <= 0.1)
if (ve - vw) >= 0.1
a = 1;
else if (vw - ve) >= 0.1
a = -1;
else
a = 0;
if (vn - vs) >= 0.1
b = 1;
else if (vn - vs) >= 0.1
b = -1;
else
b = 0;
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.