Development of Microcontroller-Based Solar Tracking System Using LDR Sensor
Development of Microcontroller-Based Solar Tracking System Using LDR Sensor
net/publication/320441420
CITATIONS READS
3 10,173
4 authors, including:
SEE PROFILE
All content following this page was uploaded by Mohd Afifi Jusoh on 07 November 2018.
Abstract—This paper presents the design of solar tracking output and stability of solar PV. From the literature, there are
controller used in the photovoltaic (PV) generation system. A many research works that have been carried out to study the
low cost and simple single axis tracker is constructed using the optimal solar PV placement, considering the geographical
Programmable Interface Controller (PIC). The control goal for locations and weather conditions as constraints [4-6].
the controller is to ensure the position of the solar PV cell is
The efficiency and output of the solar PV also can be
continuously adjusted according to the sun’s position. In this
regard, tracking mechanism ensures that the surface of the PV increased by using high efficiency solar cell materials. The
cell is always perpendicular to the solar radiation allowing an example of the types of materials that are currently in use are
optimum power extraction from the sun. The controller utilizes crystalline silicon, thin film or multi-junction cells. However,
two Light Dependent Resistor (LDR) sensors as the input sensor the high efficiency materials of solar panels currently in the
that sense the light intensity. The difference in resistance data of market are relatively expensive [7]. There are still ongoing
LDRs is used by the stepper motor to rotate clockwise or counter researches of low cost high efficient materials currently been
clockwise to move the solar PV cell toward the side of higher done throughout the world.
intensity. From the experimental test results, the developed Some researchers are focusing on the power conversion
prototype system is able to function properly, in which the motor
systems. For example, the high efficiency solar PV charge
is able to rotate according to the input light source.
controllers that employs dc-to-dc converter used for charging
Index Terms—Photovoltaic Energy; Solar Tracker; PIC the battery storage. Such mechanism is normally found in
Microcontroller; LDR Sensor. solar PV applications for powering the telecommunication
system or supplying the energy to remote areas or islands [8].
I. INTRODUCTION Similar studies are also carried out for solar PV inverters.
This is another important part of the solar PV power
The installed capacity of solar PV in Malaysia is recently conversion system that focuses on dc-to-ac conversion.
reported to achieve about 260 MW in total which is Normally, it is found in the application of grid-connected
equivalent to 70% of the total renewable energy generation system or solar PV applications in supplying the ac loads [9].
capacity considered in Feed in Tariff (FiT) Program in The researches on power conversion system are quite
Malaysia [1]. A growing number of the solar PV installation challenging as they deal with power electronic and switching
can be seen throughout the country, particularly in the urban devices that need some knowledge of control system.
residential areas. The government incentive for the solar PV Furthermore, many aspects need to be considered when
investment has attracted many residential customers to install studying about solar PV connected to the grid as it involves
the solar PV at their rooftop and participate in FiT program. the problem of power quality. Consequently, in such study,
This mechanism will promote more penetration of renewable the hardware implementation is not easy and most of the
energy sources to the electricity grid, particularly the solar hardware components are relatively high cost.
energy and also contribute in reducing the use of conventional Other than the aforementioned methods of improving the
fuels as the source of energy. solar PV system output and efficiency, a similar goal can be
Despite the benefits in terms of clean energy, solar PV achieved by using the solar tracking system. The tracking
suffers from the low energy yield, poor conversion efficiency, system is essential in many applications, such as thermal
and in some situations, the uncontrolled generation may cause energy storage system that is mostly used in electricity
many problems to the utility in terms of access generation, generation or solar PV generations [10]. The solar tracking
power fluctuation or other power quality problems. The low system is a mechanism that utilizes the sensors, motor and
efficiency of the solar PV is an ongoing challenge to the controller in order to capture maximum sunlight over the day.
researchers and many efforts have been carried out to In this case, a low cost and high performance
improve its efficiency so as to reduce the installation and microcontrollers such as PIC microcontroller or Arduino can
maintenance costs [2]. be used. This paper presents a low-cost design and prototype
One possible way of improving the output of the solar PV development of solar tracking controller for solar PV
cell is to choose the location of installation at the area that application. The system consists of two LDR sensors that are
receives maximum sunlight throughout the year [3]. The used as input for the PIC microcontroller to control a stepper
example of such viable locations are horizontal ground, near motor in order to track the sun light. A prototype system has
the shoreline and building rooftops. Other than the location, been developed and testing has been carried out to validate
solar PV output is subjected to the seasonal and weather the proposed system.
conditions. For example, location that receives a lot of rains
and high cloud intensity will not be suitable for solar PV
installation because such conditions will affect the total
Figure 4: Solar tracking system circuit simulation IV. RESULTS AND DISCUSSION
C. Program Execution Flowchart The results are divided into two categories: The results of
The flowchart of the solar tracking system is as shown in hardware testing and the results of final hardware prototype
Figure 5. From the figure, the signal from the LDRs is testing.
converted to digital form, which is then compared to the
PIC16F877A so that the stepper motor rotates accordingly. In A. Results of Hardware Testing
principle, the resistance of the LDR that receives brighter
light decreases, which in return results in lower voltage value. The hardware testing represents the results obtained from
On the other hand, higher voltage means the LDR is in a dark the experiment carried out for LDR sensor. Figure 6 shows
situation. As can be seen from the flowchart in Figure 5, when the circuit of LDR when it is exposed to sunlight. From the
the two LDRs have equal value of intensity, the motor is kept whole day experiment, the light intensity and the changes in
idle and in static position. If LDR1 has higher intensity (lower current of the LDR has been measured. Table I shows the
voltage) than the LDR2, it means that the resistance of the relationship of the light intensity, resistance and the current
LDR1 is smaller. This condition causes the motor to rotate of the LDR sensor. It is clearly shown that when the light
the solar panel in clockwise direction. In contrast, when intensity is high, the resistance is low and the flow of current
LDR2 has higher intensity than the LDR1, the LDR1 will is high. On the other hand, in the dark or during low light
have larger resistance value causing the stepper motor to be level, no extra electron is flowing, resulting in smaller
rotated in counter clockwise direction toward the brighter current. From the values in Table I, an appropriate value of
light source. These processes will continue over the day for resistance R1 has been chosen to cater for the PIC input
19:00 hours, in which with the time set in the PIC, the panel voltage range of 0-5 volts.
will be rotated back to its initial position for the following
day’s operation.
Figure 6: Lux meter used to measure the light detection of LDR Figure 8: Hardware prototype model of a complete solar tracking system
V. CONCLUSION ACKNOWLEDGMENT
In this paper, a study on the development and The authors would like to acknowledge Universiti
implementation of a single axis solar tracking system based on Malaysia Terengganu Malaysia and Ministry of Higher
two LDR sensors has been presented. The circuit design has Education Malaysia (MOHE) for the financial support of this
been developed at a minimum cost and has been integrated research. This research is supported by MOHE under the
onto a single board for simple assembly. A simple mechanical Fundamental Research Grant Scheme (FRGS), Vot No.
structure of the controller board hopefully can fit within the 59418 (Ref: FRGS/1/2015/TK10/UMT/02/1)
base platform of the solar tracking system. The software
control for the PIC microcontroller was written in MPLAB REFERENCES
software, which was simple and easy to understand. From the
results of software testing by the simulation as well as [1]. Sustainable Energy Development Authority (SEDA) Malaysia.
Available: http://seda.gov.my. Accesed:[05 June,2016].
hardware prototype testing, it is shown that the program that
[2]. G. K. Singh, "Solar power generation by PV (photovoltaic) technology:
has been coded in the PIC works well according to the A review," Energy, vol. 53, pp. 1-13, 2013.
proposed concept of solar tracker. The movement of the motor [3]. S. Kucuksari, A. M. Khaleghi, M. Hamidi, Y. Zhang, F. Szidarovszky,
was controlled according to the changes in the light intensity G. Bayraksan, and Y.-J. Son, "An Integrated GIS, optimization and
simulation framework for optimal PV size and location in campus area
between the two sensors meaning that the surface of the solar
environments," Applied Energy, vol. 113, pp. 1601-1613, 2014.
PV panel is kept perpendicular to the sun’s radiation. This [4]. R. Al Abri, E. F. El-Saadany, and Y. M. Atwa, "Optimal placement and
mechanism ensures maximum extraction of solar energy by sizing method to improve the voltage stability margin in a distribution
the solar PV cells. system using distributed generation," IEEE Transactions on power
systems, vol. 28, pp. 326-334, 2013.
[5]. B. Vonk, M. Gibescu, E. Veldman and J. Sloothweg, “Automatic PV
FUTURE WORK productions profile generation using geographic and historical weather
data”, in 19th International Universities Power Engineering Conference
This paper only presents the concept and implementation of (UPEC), 2014, pp. 1-6
[6]. I. H. Rowlands, B. P. Kemery, and I. Beausoleil-Morrison, "Managing
the proposed solar tracking system in PIC. Successful
solar-PV variability with geographical dispersion: an Ontario (Canada)
implementation of the hardware and its working condition has case-study," Renewable Energy, vol. 68, pp. 171-180, 2014.
been presented and discussed. However, to improve the [7]. S. Sharma, K. Kumar Jain, A. Sharma, “Solar cells: In research and
reliability of the proposed method, the following points are of Applications – A review”, Materials Science and Applications, vol. 6,
pp. 1145-1155, 2015
interest and will be the subject of our future work.
[8]. O. Ellabban, H. Abu-Rub, and F. Blaabjerg, "Renewable energy
• The LDR sensor has been chosen as input because of resources: Current status, future prospects and their enabling
its wide availability and relatively low cost. In technology," Renewable and Sustainable Energy Reviews, vol. 39, pp.
improving the sensing conditions of the sensors, 748-764, 2014.
[9]. E. Romero-Cadaval, G. Spagnuolo, L. G. Franquelo, C. A. Ramos-
analysis of different types of sensors will be carried out Paja, T. Suntio, and W. M. Xiao, "Grid-connected photovoltaic
with the consideration of increasing the number of generation plants: Components and operation," IEEE Industrial
sensors used as input. Electronics Magazine, vol. 7, pp. 6-20, 2013.
• Another important point to be discussed in future work [10]. R. G. Vieira, F. K. O. M. V. Guerra, M. R. B. G. Vale, M. M. Araujo,
“ Comparative performance analysis between static solar panels and
is further analysis of the results in terms of comparison single-axis tracking system on a hot climate region near to the equator”,
with existing solution of solar tracking system. Renewable and Sustainable Energy Rerviews, vol. 64(2016), pp. 672-
Comparison criteria include the performance, 681, 2016
reliability, cost of system or materials used and [11]. R. Kansal, "PIC based automatic solar radiation tracker," Asian Journal
of Chemistry, pp. 21-28, 2009.
suitability to be used in Malaysia. [12]. R. A. Ferdaus, M. A. Mohammed, S. Rahman, S. Salehin, and M. A.
Mannan, "Energy efficient hybrid dual axis solar tracking system,"
Journal of Renewable Energy, vol. , 2014