Solar Tracking System For Maximum Power PDF
Solar Tracking System For Maximum Power PDF
A Project Report
Submitted by
1. Milliyon Yohannes RDEG/124/05
2. Hailay Kahsay RDEG/196/05
ADVISOR: ATO. WONDWOSSEN DESTA
(Instrumentation Engineering)
At
This is to certify that the thesis project entitled “Solar Tracking System for Maximum Power
Generation” is the work carried out by MILLIYON YOHANNES AND HAILAY KAHSAY
student of B.Tech, Defence University College of Engineering, Bishoftu, during the year 2017.
In partial fulfillment of the requirement for the award of the Degree of Bachelor of
Instrumentation Engineering and that the project has not formed the basis for the award
previously of any degree, associate ship, fellowship or any other similar rule.
Examiners Signature
1.
2.
3.
ACKNOWLEDGMENTS
At first we greatly praise to almighty God for successful completion of our undergraduate
project. We would like to thank Minstry of National Defense (MoND) for establishing a
wonderful college which made us achieve our dream of learning. Next, we would like to thank
our department head Capt.Girma Adam, who coordinates our department through achieving our
college’s vision. In addition we would like to appreciate the advices and the support we received
from our honorable Advisor AtoWondwossen Desta and Capt. Dessie Fentaw, we are deeply
thankful for their dedication and commitment in realizing our project finalization. We are also
grateful for all members of Electronics Engineering department staff members who taught and
helped us reach our final target. Finally, we would like to thank our family for their support in
helping us to learn and live in order to fulfill our dreams.
CERTIFICATE ............................................................................................................................... i
ACKNOWLEDGMENTS ............................................................................................................. ii
TABLE OF CONTENTS………………………………………………………………………...iv
ACRONYMS ................................................................................................................................. ix
1.4 Methodology……………………………………………………………………………………………1
1.5 literature review ........................................................................................................................2
CHAPTER FOUR..........................................................................................................................18
Bibliography ..................................................................................................................................29
Appendix........................................................................................................................................30
PV Photovoltaic
DC Direct current
Acc Accumulator
RD Read
WR Write
RS Register select
EN Enable
RS Resister selector
ƟZ solar altitude
ƟA solar azimuth
OS Operating system
Horizontal single
CHAPTER ONE
1. INTRODUCTION
Nowadays green energy (regeneration energy) has gained much importance because of the energy
resource as fossil fuel price is fluctuating. Solar energy affords great potential for conversion into
electric power, able to ensure an important part of the electrical energy needs of the planet. The
conversion principle of solar light into Electricity, called Photo-Voltaic (PV) conversion, is not
very new, but the efficiency improvement of the PV conversion equipment is still one of top
priorities for many academic and/or industrial research groups all over the world. Solutions for
improving the efficiency of PV conversion can be achieved by improving the solar cell
configuration of a solar tracking system and its technologies. The solar tracking system that
automatically adjusts the PV panel position based on the illumination with respect to the natural
position of the Sun at different times of the day can be realized by a means of a DC Motor. A DC
motor (stepper motor or servo motor ) controlled by micro controller that is equipped with an
algorithm to provide the tracking position, the proposed tracking system generates efficient energy
compared to that of fixed system.
1.2 General objective
Design and implementation of solar tracking system for maximum power
generation using microcontroller.
1.3 Specific objective
Design circuit model for solar tracking system.
Interfacing components with microcontroller.
Simulation of the designed circuit using proteus.
1.4 Methodology
The methodology to be used to design and simulate the control circuit will be used
Proteus software for simulation.
Programming C language development using micro C compiler
Figure 1.1: Block diagram of Solar tracking system using LDR, OPAmp and a microcontroller
Single Axis Automatic Solar Tracking System Using Microcontroller
Nitai Pal [2], in this document solar power generation had been employed as a renewable energy
for years. Residents that use solar power as their alternative power supply will bring benefits to
them. The main objective of this paper is to develop a microcontroller-based solar panel tracking
system which will keep the solar panels aligned with the Sun in order to maximize in harvesting
solar power. When the intensity of light is decreasing, this system automatically changes its
direction to get maximum intensity of light. Light dependent photo resistors are used as the
sensors of the solar tracker. For rotating the appropriate position of the panel, a stepper motor is
used. This design is covered for a single axis and is designed for residential use.
Most photovoltaic panels currently in use (e.g. DEC) are fixed at one position. So our need is to
design an automatic solar tracking system which is able to change the panel position based on the
illuminant from sun and to increase the power generated.
Realizing this project will be a step forward to opening the way how to develop a solar tracking
system that will be highly important to the present life of our people in building a strong economic
way with modern technology, and energy used trend, to enhance the prevailing industrial vibration
in the country. Moreover, it will serve as a means of technology transfer regarding application of
solar (tracking) technology for designing solar tracking system and it will also serve as an
Educational Aid in High-schools, Colleges, and Higher Education Institutions about the
application of solar tracking system.
DEFENCE UNIVERSITY COLLEGE OF ENGINEERING 4
x
SOLAR TRACKING SYSTEM FOR MAXIMUM POWER GENERATION 2017
We are confident that our system works correctly, but we have to solve tolerance values to get
more accurate servo rotation.
CHAPTER TWO
2. HARDWARE AND SOFTWARE DESCRIPTION
2.1Hardware
Introduction
The design of this solar tracking system is as cost effective as possible while not compromising its
performance. After a couple of possible design investigation, one which is most convenient design
is developed. The first deal is whereby the design of the automatic solar tracking system to generate
maximum power. Solar tracker has to be controlled by microcontroller.
The main board of this Solar tracker has four direction (wheel) each being controlled by two DC
motors (servo motor), one for up and down (N,S),one for left and right(E,W) . This design is
chosen in order to facilitate the motion of the (Solar) tracker controlled solar through any direction;
the design being quite adequate for this project though it has its own limitations if it is to be used
for real world application.
The solar, for its full development and implementation, and effective functionality purpose, has
required a lot of electronic components and equipment that have to be chosen carefully. Thus,
before choosing the necessary electronic system components and equipment types to be used in the
design and development of this solar tracking system, system specification and feasibility study is
conducted so as to obtain the best possible system components from various previously done
related projects as well as by reading variety of forms in the internet. For possible cost effective
development and implementation of this project, the available products in the market, limitations
and constraints of these products are studied; and prices of components is compared. Finally the
best suited system components are selected.
List of components used
LDR
Servomotor
Resistor
Bread board
LCD display
2.1.3 Servomotor
A servomotor is a rotary actuator that allows for precise control of angular position. It uses a
feedback mechanism to maintain its shaft position with minimum error. The servo motor has three
wires. Among those 3 wires, 2 wires provide power supply to the motor and one is used to send
signals to the motor for required shaft positions. These signals are PWM signal of varying duty
cycle. Servo shaft is rotated by an angle depending on the ON-Time and off time of the pulse.
Servo motors are used to rotate the solar panel by sending an electrical pulse of variable width, or
pulse width modulation (PWM) through the control wire. The servomotor is represented in Figure
2.1
2.1.4 Sensor
A sensor is a device that measures a physical quantity and converts it into a signal which can be
read by an observer using an instrument.
A Light Dependent Resistor is a resistor that changes in value according to the light falling on it.
A commonly used device, the ORP-12, has a high resistance in the dark, and a low resistance in
the light. Connecting the LDR to the microcontroller is very straight forward, but some software
calibrating is required. It should be remembered that the LDR response is not linear, and so the
readings will not change inexactly the same way as with a potentiometer. In general there is a
larger resistance change at brighter light levels. This can be compensated for in the software by
using a smaller range at darker light levels.
We are using Four Light Dependent Resistor’s as a sensor. They sense the higher density area of
sun light. The solar panel moves to the high light density area through servo motors.
hence we will use potential divider circuit to obtain corresponding voltage value from the
resistance of LDR. LDRs resistance is inversely proportional to the intensity of light falling on it
i.e. Higher the intensity or brightness of light the Lower the resistance and vice versa.
2.1.5 Interfaces:
Input (ADC):
Arduino has an inbuilt 10-bit Analog to Digital converter (ADC), hence it can provide Digital
values from 0-1023.(since 2^10=1024). We can also set the ADC reference voltage in arduino, but
here we’ll let it use default value. LDR’s has two pins, and to get voltage value from it we use
potential divider circuit. In potential divider we get Vout corresponding to resistance of LDR
which in turn is a function of light falling on LDR. The higher the intensity of light, lower the
LDR resistance and hence lower the Output voltage (Vout) and lower the light intensity, higher
the LDR resistance and hence higher the Vout.
Output (PWM):
Arduino has a 8-bit PWM generator, so we can get up to 256 distinct PWM signal. To drive a
servo we need to get a PWM signal from the board, this is usually accomplished using timer
function of the microcontroller but arduino makes it very easy. Arduino provides a servo library in
which we have to only assign servo angle (0-1800) and the servo rotates by that angle, all the
PWM calculations are handled by the servo library and we get a neat PWM signal according to the
desired angle.
2.1.6 Arduino Uno Microcontroller:
A microcontroller is a small computer on a single integrated circuit containing a processor core,
memory, and programmable input/output peripherals. Microcontrollers are designed for embedded
applications, in contrast to the microprocessors used in personal computers or other general
purpose applications. A microcontroller is a compact microcomputer designed to govern the
operation of embedded systems in motor vehicles, robots, office
machines, automated sun trackers, and various other devices. A typical microcontroller includes a
processor, memory, and peripherals. Arduino UNO R3 is a microcontroller board based on the
ATmega328 will be used. It has 14 digital input/output pins (of which 6 can be used as Pulse
Width Modulation [PWM] outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB
connection, a power jack, an In-Circuit Serial Programming (ICSP)
header, and a reset button. The UNO differs from all preceding boards because it does not use the
FTDI USB-to-serial driver chip. This is what justifies the choice of UNO. The microcontroller is
represented in Figure 2.4
A liquid crystal display (LCD) is an electronic, thin, flat panel used for electronically displaying
information such as text, images, and moving pictures. Its uses include monitors for computers,
televisions, instrument panels, and other devices ranging from aircraft cockpit displays, to every-
day consumer devices such as video players, gaming devices, clocks, watches, calculators, and
telephones. Among its major features are its lightweight construction, its portability, and its ability
to be produced in much larger screen sizes than are practical for the construction of cathode ray
tube (CRT) display technology. There are two main types of LCD display that is:
2. Alphanumeric text displays (often used in devices such as photocopiers and mobile telephones).
1 VSS -- Ground
6 EN I/O Enable
Vcc, Vss and Vee: While VCC and VSS provide +5V and ground respectively, VEE is used for
controlling LCD contrast.
RS (register select):
There are two important registers inside the LCD. When RS is low (0), the data is to be treated as
a command or special instruction (such as clear screen, position cursor, etc.). When RS is high (1),
the data that is sent is a text data which should be displayed on the screen. For example, to display
the letter "T" on the screen you would set RS high.
RW (read/write):
The RW line is the "read/write" control line. When RW is low (0), the information on the data bus
is being written to the LCD. When RW is high (1), the program is effectively querying (or
reading) the LCD.
EN (enable):
The EN line is called "enable". This control line is used to tell the LCD that you are sending it
data. To send data to the LCD, your program should first set this line high (1) and then set the
other two control lines and/or put data on the data bus.
The 8-bit data pins, D0-D7 are used to send information to the LCD or read the content of the
LCD’s internal registers. To display letters and numbers, we send ASCII codes for the letters A-Z,
a-z and numbers 0-9 to these pins while making RS=1. There are also instruction command codes
that can be sent to the LCD to clear the display or force the cursor to the home position or blink
the cursor.
2 Return home
The Arduino Integrated Development Environment - or Arduino Software (IDE) – contains a text
editor for writing code, a message area, a text console, a toolbar with buttons for common
functions and a series of menus. It connects to the Arduino hardware to upload programs and
communicate with them. The open-source Arduino Software (IDE) makes it easy to write code
and upload it to the board. It runs on Windows, Mac OS X, and Linux. The environment is written
in Java and based on Processing and other open-source software. This software can be used with
any Arduino board.
Proteus is best simulation software for various designs with microcontroller. It is mainly popular
because of availability of almost all microcontrollers in it. So it is a handy tool to test programs
and embedded designs. Proteus (Virtual System Modeling) VSM uses our proven Schematic
Capture software to provide the environment for design entry and development. Proteus capture is
a long established product and combines ease of use with powerful editing tools. It is capable of
supporting schematic capture for both simulation and PCB design. For the simulation, Proteus 8
Simulation Software is used.
CHAPTER THREE
3. SOLAR TRACKER
INTRODUCTION
Solar Tracker is a Device which follows the movement of the sun as it rotates from the east to the
west every day. The main function of all tracking systems is to provide one or two degrees of
freedom in movement. Trackers are used to keep solar collectors/solar panels oriented directly
towards the sun as it moves through the sky every day. Using solar trackers increases the amount
of solar energy which is received by the solar energy collector and improves the energy output of
the heat/electricity which is generated. Solar trackers can increase the output of solar panels by 20-
30% which improves the economics of the solar panel project.
The energy contributed by the direct beam drops off with the cosine of the angle between the
incoming light and the panel. The table no.3.1 shows the Direct power lost (%) due to
misalignment (angle i).
Table no.3.1 Direct power lost (%) due to misalignment (angle i)
Misalignment (angle i ) Direct power lost
(%)=1- cos(i)
0o 0
o
1 0.015
3o 0.14
8o 1
23.4o 8.3
30o 13.4
45o 30
o
75 >75
The sun travels through 360 degrees east-west a day, but from the perspective of any fixed
location the visible portion is 180 degrees during a 1/2 day period. Local horizon effects reduce
this somewhat, making the effective motion about 150 degrees. A solar panel in a fixed orientation
between the dawn and sunset extremes will see a motion of 75 degrees on either side, and thus,
according to the table above, will lose 75% of the energy in the morning and evening. Rotating the
panels to the east and west can help recapture these losses. A tracker rotating in the east-west
direction is known as a single-axis tracker.
The sun also moves through 46 degrees north-south over the period of a year. The same set of
panels set at the midpoint between the two local extremes will thus see the sun move 23 degrees
on either side, causing losses of 8.3% A tracker that accounts for both the daily and seasonal
motions is known as a dual-axis tracker.
The single axis tracking systems realizes the movement of either elevation or azimuth for a solar
power system. Which one of these movements is desired, depends on the technology used on the
tracker as well as the space that it is mounted on. For example the parabolic through systems
utilize the azimuthally tracking whereas the many rooftop PV-systems utilize elevation tracking
because of the lack of space. A single-axis tracker can only pivot in one plane – either horizontally
or vertically. This makes it less complicated and generally cheaper than a two-axis tracker, but
also less effective at harvesting the total solar energy available at a site. Trackers use motors and
gear trains to direct the tracker as commanded by a controller responding to the solar direction.
Since the motors consume energy, one wants to use them only as necessary.
Single axis trackers have one degree of freedom that acts as an axis of rotation. There are several
common implementations of single axis trackers. These include horizontal single axis trackers
(HSAT) and vertical single axis trackers (VSAT).
A horizontal-axis tracker consists of a long horizontal tube to which solar modules are attached.
The tube is aligned in a north-south direction, is supported on bearings mounted on pylons or
frames, and rotates slowly on its axis to follow the sun's motion across the sky. This kind of
tracker is most effective at equatorial latitudes where the sun is more or less overhead at noon. In
general, it is effective wherever the solar path is high in the sky for substantial parts of the year,
but for this very reason, does not perform well at higher latitudes. For higher latitude, a vertical-
axis tracker is better suited. This works well wherever t he sun is typically lower in the sky and, at
least in the summer months, the days are long.
A solar cell (also called photovoltaic cell or photoelectric cell) is a solid state electrical device that
converts the energy of light directly into electricity by the photovoltaic effect. Crystalline silicon
PV cells are the most common photovoltaic cells in use today.
A number of solar cells electrically connected to each other and mounted in a support structure or
frame are called a photovoltaic module. Modules are designed to supply electricity at a certain
voltage, such as a common 12 volts system. The current produced is directly dependent on how
much light strikes the module. Multiple modules can be wired together to form an array. In
general, the larger the area of a module or array, the more electricity will be produced.
Photovoltaic modules and arrays produce direct-current (DC) electricity. They can be connected in
both series and parallel electrical arrangements to produce any required voltage and current
combination.
CHAPTER FOUR
4. TRACKER DESIGN
INTRODUCTION
A solar tracker is a device that orient photovoltaic array toward the sun. In flat-panel photovoltaic
(PV) applications trackers are used to minimize the angle of incidence between the incoming light
and a photovoltaic panel. This increases the amount of energy produced by the photovoltaic array.
Here we can use azimuth-altitude dual axis trackers (AADAT). Dual axis trackers extract the
maximum solar energy levels due to their ability to follow the sun vertically and horizontally. No
matter where the sun is in the sky, dual axis trackers are able to angle themselves to be in direction
toward the sun.
The Fig.4.1 shows a setup of a squared solar panel with two degrees of freedom. Here Two DC
motors are used to drive the two rotational degrees of freedom. The motors can mounted directly
on the rotation pins of the rotational joints to reduce losses caused by linkages and joints and to
avoid using more linkages and mechanisms.
The purpose of a solar tracker is to accurately determine the position of the sun. This enables solar
panels to interface to the tracker to obtain the maximum solar radiation.
With this particular solar tracker a closed loop system was made.
Liquid Crystal
LDR1 Display (LCD)
Arduino UNO
LDR3
LDR2 Microcontroller Servo 1
Servo 2
LDR4
Virtual Terminal
(VT)
Figure 4.2 Block Diagram of overall system
This micro controller processes the sensor input and provides two PWM signals for the movement
of servo motors.
This servo motor moves the solar panel towards the higher density of solar light. The entire
electrical system is powered by a 5 volt source power supply.
Initially four different analog values are obtained from LDR’s, and then they are fed to micro
controller. Micro controller gives two different PWM signal for the movement of solar panel
through servo motor.
4.2 Algorithm
Table 4.1Algorithm for 2 Axis solar tracking system
No Working Principle
From Table 4.1, LDR 1, LDR 2, LDR 3, and LDR 4 represents the four LDRs situated the four
coordinates at north, south, east and west. Servo1 and Servo2 represent the servo motors for the
control of east-west and north-south movement of the solar panel.
There is no "ELSE" in the rules – all of the rules are evaluated, because the Sensor 1 might be
receiving higher, lower or equal intensity of light with sensor 2 and sensor 3 might be receiving
higher, lower or equal intensity of light with sensor 4.
4.3. Flowchart
For identifying accurate and efficient mechanical configurations suitable for tracking systems, a
structural simulation model was designed using Proteus professional software version 7.8. 1. The
components were picked from the library and connected appropriately as represented in Figure
4.4. The resistors represent the sensors connected to pins A0, A1, A2, and A3 of the
microcontroller respectively for providing input into the system. The actuators represent the servo
motors connected to pin 9 and 10 of the microcontroller for receiving output from the system. The
liquid crystal display (LCD) and the virtual terminal (VT) are connected to pins 0,1,2,3,4,5,6 and 7
of the microcontroller for displaying output from the system. The compiled program was written
in Arduino IDE and transferred into the microcontroller after the design completion by double
clicking the microcontroller and uploading the hexfile.
The simulation was designed using Proteus Professional 7.8 software and the microcontroller
program was written using Arduino IDE 5.0.2. The simulation was shown in figure 4.5.
In this simulation, the process started as sensors read input parameters (light intensity) induced by
the sun and passed same into the microcontroller. For Arduino, the analog-to-digital converter
(ADC) already exists on the input pins. Therefore, the sensors can be directly connected into it.
Inside microcontroller a comparison between the signal values from each LDR is made in order to
send control signals to the appropriate motor to move. There are 6 cases involved in the process.
Servo motor movement will follow the condition specified by the microcontroller after signal
comparison from each of the LDRs.
In dual axis solar tracking system, there are two servo motors. One motor is used to control
elevation axis and another motor is used to control azimuth axis.
The Servo Motor movement is fixed between -900 to +900 since it can move for 1800. This is set
because the angle of inclination of the sun is -900 after sun rise and +900 before sun set.
The circuit was connected and the simulation has worked correctly and gave all required results.
The workings of the 2 actuators representing the servo motors are all indicated as follows.
Due to the daily motion of the sun from east to west every day, the east west motor has three cases
as follows:
CASE 1. Motor 1 is in initial position; if LDR1 (E) is higher than LDR2 (W),that means the light
intensity affecting LDR1 is higher than that affecting LDR2 and this is the first motivation of the
day. In the morning Servo1 start to rotate anticlockwise (from east to west) until the two sensors
are receiving the same value (LDR1=LDR2). This is represented in figure 4.6.
CASE 2. After case 1, if (LDR1 =LDR2) the sensors measured the same value. The motor will not
rotate. That means the solar panel is now facing the sun correctly.
CASE 3. After case 2, Servo1 will stop rotating and then the sun continues moving towards east
and the eastern sensor, LDR2 begins to have higher value than LDR1, so Servo1 will rotate
clockwise until the 2 sensors reads the same value (LDR1=LDR2).This is represented in figure
4.7.
The seasonal variation makes the sun path dynamic all the year round. The sun trajectory at the
summer and winter periods differs. This necessitates the second axial issue.
CASE1. The northern sensor (LDR3) is higher than the southern sensor (LDR4). Here servo 2
start to rotate anticlockwise. So value of LDR4 increases until the two sensors are having the same
value (LDR3=LDR4). This is represented in Figure 4.8 below:
CASE 2. These case happens when the two sensors reads the same value (LDR3=LDR4). The
motor will not rotate, that means the solar panel is now in the correct position facing sun.
CASE 3. The southern sensor (LDR4) is higher than the northern sensor (LDR3). Here servo 2
starts to rotate clockwise. So value of LDR3 increases until the two sensors are having the same
value (LDR3=LDR4). This is represented in Figure 4.9.
CHAPTER FIVE
5. CONCLUSION AND FUTURE WORK
5.1 Conclusion
This project has presented a means of controlling a sun tracking array. Specifically it demonstrates
a working software solution for maximizing power output of the solar cell by positioning the
system at the point of maximum light intensity. For energy reasons, as the main objective of this
strategy is the generation of energy using sun as a source, the tracker is commanded to follow the
sun at all times because this will cause continuous movement of the motors. Thus, the tracker
waits for the sun. This process is identical and independent for each axis. However the two motors
never move at the same time. Before ordering the movement of one axis, a check is made to
ensure that the other axis is not moving. The two axes are not allowed to move simultaneously. As
the sun moves along its trajectory throughout the day, signals from the light dependent resistors
are sent so that appropriate motor moves appropriately, thus generating the electrical energy is
designed to provide. The current sensor is used to confirm that the PV cell is tracking the sun
correctly since it is measuring the power generated, so a decrease in the power generated (under
normal external conditions, i.e. without taking into account an extended cloudy period, for
example) indicates a tracking problem. It is known that the greater the error is in either of the two
coordinates (azimuth and elevation), the less power is generated. As a result, if the motor is on
either of the coordinates (while the other is fixed) it can be assumed that the real position of the
sun for that coordinates corresponds to the point where the maximum power was produced during
the movement. This is why both motors cannot move simultaneously.
2. Inverter should be design by constructing its circuits and control algorithm to make the model a
complete power system. By doing this, the system will be a complete system so that adequate
power backups can be achieved that can last for some time.
3. Overall physical implementation of the system will remain for the future work. This is necessary
because the model needs to be constructed as hardware so that its physical usage can be seen.
BIBLIORGAPHY
Book’s
[1] Abdallah, S., & Salem N. (2004). Two axes sun tracking system with PLC control.
Energy Conversion and Management, 45(11-12), 99-103.
[2]Bari, S., (2000). Optimum slope angle and orientation of solar collectors for
different Periods of possible utilization. Energy Conversion and Management,
41(8), 855- 860.
[4] Sara vanan C.,Dr.M.A Panncer selvam ,I.William Christopher ,”A Novel low
cost Automatic solar tracking system “.international Journal of computer.
Applications (0975-8887) Volume 30-NO 9, October 2011.
#include <LiquidCrystal.h>
#include <Servo.h>
LiquidCrystallcd(2,3,4,5,6,7);
Servo x;
Servo y;
intpostx = 0;
setup() { lcd.begin(16,2);
Serial.begin(9600);
lcd.setCursor(0,0);
lcd.print("Sun Tracking");
lcd.setCursor(0,1);
lcd.print("System");
angleX();
angleY();
voidCell_Read() {
Cell_Sensor1 = analogRead(A0);
voidangleX()
{
Postx = 0;