Next Article in Journal
Opening up the Window into “Chemobrain”: A Neuroimaging Review
Previous Article in Journal
Fingerprint Identification Using SIFT-Based Minutia Descriptors and Improved All Descriptor-Pair Matching

Sensors 2013, 13(3), 3157-3168; doi:10.3390/s130303157

Design and Implementation of a Sun Tracker with a Dual-Axis Single Motor for an Optical Sensor-Based Photovoltaic System
Jing-Min Wang * and Chia-Liang Lu
Department of Electrical Engineering, St. John's University, 499, Sec. 4, Tam King Road, Tamsui District, New Taipei City 25135, Taiwan
Author to whom correspondence should be addressed; Tel.: +886-2-2801-3131 (ext. 6529); Fax: +886-2-2801-1972.
Received: 31 January 2013; in revised form: 3 March 2013 / Accepted: 4 March 2013 / Published: 6 March 2013


: The dual threats of energy depletion and global warming place the development of methods for harnessing renewable energy resources at the center of public interest. Solar energy is one of the most promising renewable energy resources. Sun trackers can substantially improve the electricity production of a photovoltaic (PV) system. This paper proposes a novel design of a dual-axis solar tracking PV system which utilizes the feedback control theory along with a four-quadrant light dependent resistor (LDR) sensor and simple electronic circuits to provide robust system performance. The proposed system uses a unique dual-axis AC motor and a stand-alone PV inverter to accomplish solar tracking. The control implementation is a technical innovation that is a simple and effective design. In addition, a scaled-down laboratory prototype is constructed to verify the feasibility of the scheme. The effectiveness of the Sun tracker is confirmed experimentally. To conclude, the results of this study may serve as valuable references for future solar energy applications.
dual-axis Sun tracker; photovoltaic panel; feedback control theory; light dependent resistor; stand-alone PV inverter; energy gain

1. Introduction

With the rapid increase in population and economic development, the problems of the energy crisis and global warming effects are today a cause for increasing concern. The utilization of renewable energy resources is the key solution to these problems. Solar energy is one of the primary sources of clean, abundant and inexhaustible energy, that not only provides alternative energy resources, but also improves environmental pollution.

The most immediate and technologically attractive use of solar energy is through photovoltaic conversion. The physics of the PV cell (also called solar cell) is very similar to the classical p-n junction diode. The PV cell converts the sunlight directly into direct current (DC) electricity by the photovoltaic effect [1,2]. A PV panel or module is a packaged interconnected assembly of PV cells. In order to maximize the power output from the PV panels, one needs to keep the panels in an optimum position perpendicular to the solar radiation during the day. As such, it is necessary to have it equipped with a Sun tracker. Compared to a fixed panel, a mobile PV panel driven by a Sun tracker may boost consistently the energy gain of the PV panel.

Solar tracking is the most appropriate technology to enhance the electricity production of a PV system. To achieve a high degree of tracking accuracy, several approaches have been widely investigated. Generally, they can be classified as either open-loop tracking types based on solar movement mathematical models or closed-loop tracking types using sensor-based feedback controllers [35]. In the open-loop tracking approach, a tracking formula or control algorithm is used. Referring to the literature [610], the azimuth and the elevation angles of the Sun were determined by solar movement models or algorithms at the given date, time and geographical information. The control algorithms were executed in a microprocessor controller [11,12]. In the closed-loop tracking approach, various active sensor devices, such as charge couple devices (CCDs) [1315] or light dependent resistors (LDRs) [12,1619] were utilized to sense the Sun's position and a feedback error signal was then generated to the control system to continuously receive the maximum solar radiation on the PV panel. This paper proposes an empirical research approach on this issue.

Solar tracking approaches can be implemented by using single-axis schemes [12,1921], and dual-axis structures for higher accuracy systems [1618,2227]. In general, the single-axis tracker with one degree of freedom follows the Sun's movement from the east to west during a day while a dual-axis tracker also follows the elevation angle of the Sun. In recent years, there has been a growing volume of research concerned with dual-axis solar tracking systems. However, in the existing research, most of them used two stepper motors [22,23] or two DC motors [16,17,24,25] to perform dual-axis solar tracking. With two tracking motors designs, two motors were mounted on perpendicular axes, and even aligned them in certain directions. In some cases, both motors could not move at the same time [5]. Furthermore, such systems always involve complex tracking strategies using microprocessor chips as a control platform. In this work, employing a dual-axis with only single tracking motor, an attempt has been made to develop and implement a simple and efficient control scheme. The two axes of the Sun tracker were allowed to move simultaneously within their respective ranges. Utilizing conventional electronic circuits, no programming or computer interface was needed. Moreover, the proposed system used a stand-alone PV inverter to drive motor and provide power supply. The system was self-contained and autonomous. Experiment results have demonstrated the feasibility of the tracking PV system and verified the advantages of the proposed control implementation.

The remainder of the article is organized in the following manner: Section 2 describes the tracking strategies of the developed closed-loop solar tracking system in which a sensor-based feedback controller is used. The detailed architecture of the Sun tracker hardware is proposed in Section 3. In Section 4, a scaled-down laboratory prototype is built and tested. Finally, the main conclusions of this work are drawn in Section 5.

2. Developed Closed-Loop Solar Tracking System

The block diagram of the developed closed-loop solar tracking system is illustrated in Figure 1, describing the composition and interconnection of the system. For the closed-loop tracking approach, the solar tracking problem is how to cause the PV panel location (output) to follow the sunlight location (input) as closely as possible. The sensor-based feedback controller consists of the LDR sensor, differential amplifier, and comparator. In the tracking operation, the LDR sensor measures the sunlight intensity as a reference input signal. The unbalance in voltages generated by the LDR sensor is amplified and then generates a feedback error voltage. The error voltage is proportional to the difference between the sunlight location and the PV panel location. At this time the comparator compares the error voltage with a specified threshold (tolerance). If the comparator output goes high state, the motor driver and a relay are activated so as to rotate the dual-axis (azimuth and elevation) tracking motor and bring the PV panel to face the Sun. Accordingly, the feedback controller performs the vital functions: PV panel and sunlight are constantly monitored and send a differential control signal to drive the PV panel until the error voltage is less than a pre-specified threshold value.

The system tracks the Sun autonomously in azimuth and elevation angles. The whole working algorithms are summed up in the flowcharts shown in Figures 2 and 3. The sunlight intensity from four different directions is measured by the LDR-based sensing circuit. The voltages vE, vW, vS and vN are defined as the sensing voltages produced by the east, west, south, and north LDRs respectively. In an attempt to draw maximum power from the PV panel, the azimuth and elevation tracking processes can simultaneously proceed until the PV panel is aligned orthogonally to the sunlight. The tracker installation is not restricted to the geographical location.

3. Sun Tracker Hardware Design

Figure 4 presents one of the hardware circuits of the proposed Sun tracker for azimuth tracking. The entire system has two hardware circuits with both of azimuth direction and elevation direction to drive the dual-axis AC motor. The developed Sun tracker is comprised of three modules, which are the LDR-based sensing circuit, comparator and a motor driver with a relay.

3.1. LDR-Based Sensing Circuit

To track the sunlight, it is necessary to sense the position of the Sun and for that an electro-optical sensor is needed. The proposed Sun tracker uses the electro-optical sensor for self-calibration. A LDR or photoresistor is a variable resistor whose electrical resistance depends on the intensity of the light falling on it. The LDR resistance decreases with incident light intensity increasing. As seen in the first part of Figure 4, the LDR sensor is a part of the voltage divider circuit in order to give an output voltage.

3.1.1. Solar Sensing Device

The paper creates a Sun tracker using LDRs with a cylindrical shade as a Sun sensor. Figure 5 shows the designed solar sensing device, which comprises a four-quadrant LDR sensor and a cylinder mounted on a wood-block. The solar sensing device is attached to the PV panel. The East/West LDR and the South/North LDR are respectively used in the detection of azimuth motion and elevation motion of the PV panel. The design of the light sensor is based on the use of the shadow. If the PV panel is not perpendicular to the sunlight, the shadow of the cylinder will cover one or two LDRs and this causes different light intensity to be received by the sensing device.

3.1.2. Creating Feedback Error Voltage

The simple electronic circuit for creating error voltage is presented in the first part of Figure 4. It can be seen that the output voltage of the voltage divider will be lower when the corresponding LDR is shadowed. If one sensor is lighted and the other is shadowed, the differential amplifier amplifies the difference voltage between them. The feedback error voltage can be expressed as:

v E W = R 2 R 1 v W + ( 1 + R 2 R 1 ) K R 2 K R 1 + K R 2 v E
which can be rearranged as follows:
v E W = R 2 R 1 ( v E v W )

If the west LDR is shaded, vE > vW and vEW > 0.

3.2. Comparator

The main function of the comparator is to act as a switch to turn on the relay and rotate the motor. A comparator is essentially an operational amplifier (op-amp) operated in an open-loop configuration, which converts a time-varying analog signal into a binary output. As depicted in the second part of Figure 4, the comparator is designed to compare the error voltage with two threshold values. The threshold value is defined as the input voltage at which the output changes states. As shown in Figure 4, there are two threshold values which are given as:

V T h 1 = R 4 R 3 + R 4 V C C
V T h 2 = R 4 R 3 + R 4 ( V C C )

The output of the comparator is a high saturated state VH or a low saturated state VL. The saturated output voltages VH and VL may be closed to the supply voltages +VCC and −VCC, respectively. The comparator outputs are then expressed as follows:

v P E = V H for v E W > V T h 1 = V L for v E W < V T h 1
v P W = V L for v E W > V T h 2 = V H for v E W < V T h 2

The voltage transfer characteristics of the comparator with ideal op-amps are shown in Figure 6. It is noted that the sensitivity for the tracking system is dominated by the threshold values, which are adjusted by the variable resistor R4 according to the tracking accuracy. As R4 decreases, the tracking accuracy increases. However, the system tracking response will become increasingly oscillatory.

3.3. Motor Driver with a Relay

As seen in the last part of Figure 4, it is observed that the designed motor driver with a relay consists of two Darlington pairs that provide increased current gain and actuate the relay. If the west LDR is shaded, a feedback error voltage vEW is generated. When vEW > VTh1 > VTh2, the comparator outputs vPE and vPW go high and low saturated voltages respectively. The transistors Q1 and Q2 will therefore conduct and Q3 and Q4 are in the cutoff state. Referring to Figure 4, transistors Q1 and Q2 operate in the forward-active mode, and the input current or the base current of Q1 is:

I B 1 = V H V B E 1 V B E 2 R
where VBE is the forward-biased base-emitter voltage of the bipolar transistor. Therefore, the output current can be written as:
I O 1 = I C 1 + I C 2 = β 1 I B 1 + β 2 ( 1 + β 1 ) I B 1 = [ β 1 ( 1 + β 2 ) + β 2 ] I B 1 β 1 β 2 I B 1

The parameters β1 and β2 are the common-emitter current gain of the bipolar transistors.

The relay is activated by the output current and normally-open contact a1 closes. In this case, the tracking motor rotates clockwise in the azimuth direction and thus the PV panel moves eastward to face the Sun. More specifically, the Sun tracker attempts to adjust the PV panel such that all the voltages produced by LDRs are nearly equal and balance. As a result, the PV panel is almost perpendicular to the sunlight and has a high energy generation.

3.4. Stand-Alone PV Power System

A stand-alone or off-grid PV power system is designed to charge DC power generated by PV panel into battery and convert the DC electricity into AC source for AC appliances. The stand-alone power system is depicted in Figure 7. The inverter changes 12 V DC input voltage to 120 V AC output voltage used to power the AC motor and provide the power supply. The motor rotates the PV panel, and the power supply provides a DC source to the entire circuit. In other words, the developed system has an autonomous energy supply.

4. Experiment Validation

To verify the performance of the Sun tracker and to illustrate the feasibility of the control scheme, a laboratory prototype of the solar tracking system was built and tested. This work was done in New Taipei City, Taiwan on 16 May 2012. It was partly cloudy day. The latitude of Taiwan is 23.5 degrees north, so that the fixed panel was faced the south at a tilt angle of 23.5 degrees with maximum average solar radiation.

4.1. Experiment Tests

Figure 8 shows the experiment tests on the polycrystalline PV panel with the Sun tracker and with a fixed angle. The physical dimensions (L × W × D) of the PV panel were 835 mm × 518 mm × 30 mm. The chosen unique motor for this work was dual-axis 117V AC motor (LILIN PIH-303) with a speed of 6°/s in pan and 3°/s in tilt. It had two degrees of freedom to move the panel in the azimuth angle and the altitude angle simultaneously. The work employed paperless recorder (YOKOGAWA FX106) to display the real-time measurement of the voltage and current generated by PV panel.

The Earth rotates 15 degrees with respect to its axis per hour, and the Sun moves slowly [26,28]. To minimize power consumption, the tracking motor was not operated continuously. The developed system thus adopted a time schedule algorithm to follow the Sun about every half an hour by varying the resistor R4.

4.2. Experiment Results

The measurement results of generating voltage and current waveforms for the fixed and tracking PV systems are shown in Figures 9 and 10, respectively. In order to give a clear explanation on the energy productivity, the generating instantaneous powers of the both systems were further calculated. Figure 11 shows the test results with promising outcome.

4.3. Performance Analysis

As shown in Figure 11, the performance of the tracking system was significantly less at noon. It could be reasoned that both of the PV panels almost faced the same direction, but a slight difference of angle. The increase in power was focused in the afternoon. The generating electrical energies for the fixed and tracking systems were 95.52 W-h and 123.06 W-h, respectively. Therefore, an extra yield of (123.06−95.52)/95.52 = 0.2883 or 28.83% energy generation was obtained. The increased solar energy was consistent with the existing literature [18,23,27].

Energy gain is the most important factor in evaluating a tracking system. The energy gain means how much the tracking system increases the energy generated compared with a fixed system. However, to calculate the net energy gain of the tracking system, energy consumption of the rotating motor should be considered. The motor energy consumption was 0.5 W-h. The energy gain of the tracking system was (123.06−95.52−0.5)/95.52 = 0.2831 or 28.31%. The partly cloudy day would affect the energy generation. Moreover, if the tracking frequency was adjusted reasonably according to actual tracking condition, the improved electricity production can be further enhanced.

5. Conclusions

The paper has presented a novel and a simple control implementation of a Sun tracker that employed a single dual-axis AC motor to follow the Sun and used a stand-alone PV inverter to power the entire system. The proposed one-motor design was simple and self-contained, and did not require programming and a computer interface. A laboratory prototype has been successfully built and tested to verify the effectiveness of the control implementation. Experiment results indicated that the developed system increased the energy gain up to 28.31% for a partly cloudy day.

The proposed methodology is an innovation so far. It achieves the following attractive features: (1) a simple and cost-effective control implementation, (2) a stand-alone PV inverter to power the entire system, (3) ability to move the two axes simultaneously within their respective ranges, (4) ability to adjust the tracking accuracy, and (5) applicable to moving platforms with the Sun tracker. The empirical findings lead us to believe that the research work may provide some contributions to the development of solar energy applications.


  1. Shen, C.L.; Tsai, C.T. Double-linear approximation algorithm to achieve maximum-power-point tracking for photovoltaic arrays. Energies 2012, 5, 1982–1997. [Google Scholar]
  2. Liu, K.H. Dynamic characteristics and graphic monitoring design of photovoltaic energy conversion system. WSEAS Trans. Syst. 2010, 10, 239–248. [Google Scholar]
  3. Nayak, S.R.; Pradhan, C.R. Solar tracking application. IOSR J. Eng. 2012, 2, 1278–1281. [Google Scholar]
  4. Lee, C.Y.; Chou, P.C.; Chiang, C.M.; Lin, C.F. Sun tracking systems: A review. Sensors 2009, 9, 3875–3890. [Google Scholar]
  5. Rubio, F.R.; Ortega, M.G.; Gordillo, F.; Lopez-Martinez, M. Application of new control strategy for sun tracking. Energ. Conv. Manage. 2007, 48, 2174–2184. [Google Scholar]
  6. Blanco-Muriel, M.; Alarcon-Padilla, D.C.; Lopez-Moratalla, T.; Lara-Coira, M. Computing the solar vector. Solar Energy 2001, 70, 431–441. [Google Scholar]
  7. Chong, K.K.; Siaw, F.L.; Wong, C.W.; Wong, G.S. Design and construction of non-imaging planar concentrator for concentrator photovoltaic system. Renewable Energy 2009, 34, 1364–1370. [Google Scholar]
  8. Grena, R. An algorithm for the computation of the solar position. Solar Energy 2008, 82, 462–470. [Google Scholar]
  9. Reda, I.; Andreas, A. Solar position algorithm for solar radiation applications. Solar Energy 2004, 76, 577–589. [Google Scholar]
  10. Sproul, A.B. Derivation of the solar geometric relationships using vector analysis. Renewable Energy 2007, 32, 1187–1205. [Google Scholar]
  11. Abdallah, S.; Nijmeh, S. Two axes sun tracking system with PLC control. Energ. Conv. Manag. 2004, 45, 1931–1939. [Google Scholar]
  12. Saravanan, C.; Panneerselvam, M.A.; Christopher, I.W. A novel low cost automatic solar tracking system. Int. J. Comput. Appl. 2011, 31, 62–67. [Google Scholar]
  13. Arbab, H.; Jazi, B.; Rezagholizadeh, M. A computer tracking system of solar dish with two-axis degree freedoms based on picture processing of bar shadow. Renewable Energy 2009, 34, 1114–1118. [Google Scholar]
  14. Arturo, M.M.; Alejandro, G.P. High-Precision Solar Tracking System. Proceedings of the World Congress on Engineering, London, UK, 30 June–2 July 2010; pp. 844–846.
  15. Berenguel, M.; Rubio, F.R.; Valverde, A.; Lara, P.J.; Arahal, M.R.; Camacho, E.F.; Lopez, M. An artificial vision-based control system for automatic heliostat positioning offset correction in a central receiver solar power plant. Solar Energy 2004, 76, 563–575. [Google Scholar]
  16. Barsoum, N. Fabrication of dual-axis solar tracking controller project. Intel. Control Autom. 2011, 2, 57–68. [Google Scholar]
  17. Barsoum, N.; Vasant, P. Simplified solar tracking prototype. Global J. Technol. Optimiz. 2010, 1, 38–45. [Google Scholar]
  18. Bajpai, P.; Kumar, S. Design, Development and Performance test of an Automatic Two-Axis Solar Tracker System. Proceedings of 2011 Annual IEEE India Conference, Hyderabad, India, 16–18 December 2011; pp. 1–6.
  19. Ponniran, A.; Hashim, A.; Joret, A. A design of low power single axis solar tracking system regardless of motor speed. Int. J. Integr. Eng. 2011, 3, 5–9. [Google Scholar]
  20. Chong, K.K.; Wong, C.W. General formula for one-axis sun tracking system and its application in improving tracking accuracy of solar collector. Solar Energy 2009, 83, 298–305. [Google Scholar]
  21. Ponniran, A.; Hashim, A.; Munir, H.A. A Design of Single Axis Sun Tracking System. Proceedings of the 5th International Power Engineering and Optimization Conference, Selangor, Malaysia, 6–7 June 2011; pp. 107–110.
  22. Dasgupta, S.; Suwandi, F.W.; Sahoo, S.K.; Panda, S.K. Dual Axis Sun Tracking with PV Cell as the Sensor, Utilizing Hybrid Electrical Characteristics of the Cell to Determine Insolation. Proceedings of 2010 IEEE International Conference on Sustainable Energy Technologies, Kandy, Sri Lanka, 6–9 December 2010; pp. 1–5.
  23. Yan, Z.; Jiaxing, Z. Application of Fuzzy Logic Control Approach in a Microcontroller-Based Sun Tracking System. Proceedings of 2010 WASE International Conference on Information Engineering, Beidaihe, China, 14–15 August 2010; pp. 161–164.
  24. Ozuna, G.; Anaya, C.; Figueroa, D.; Pitalua, N. Solar Tracker of Two Degrees of Freedom for Photovoltaic Solar Cell Using Fuzzy Logic. Proceedings of the World Congress on Engineering 2011, London, UK, 6– 8 July 2011; pp. 1410–1413.
  25. Li, G.; Shi, X.; Fu, C.; Zhou, G. Design and Implementation of a Novel MPPT Controller Based on Sun Tracking Technology. Proceedings of the 11th International Conference on Electrical Machines and Systems, Wuhan, China, 17–20 October 2008; pp. 2611–2615.
  26. Hanieh, A.A. Solar Photovoltaic Panels Tracking System. Proceedings of the 6th WSEAS International Conference on Dynamical Systems and Control, Sousse, Tunisia, 3–6 May 2010; pp. 30–37.
  27. Serhan, M.; El-Chaar, L. Two Axis Sun Tracking System: Comparison with a Fixed System. Proceedings of International Conference on Renewable Energies and Power Quality, Granada, Spain, 23–25 March 2010.
  28. Yousef, H.A. Design and Implementation of a Fuzzy Logic Computer-Controlled Sun Tracking System. Proceedings of the IEEE International Symposium on Industrial Electronics, Bled, Slovenia, 12–16 July 1999; pp. 1030–1034.
Figure 1. Block diagram of the solar tracking system.
Figure 1. Block diagram of the solar tracking system.
Sensors 13 03157f1 1024
Figure 2. Flowchart of tracking algorithm for azimuth control.
Figure 2. Flowchart of tracking algorithm for azimuth control.
Sensors 13 03157f2 1024
Figure 3. Flowchart of tracking algorithm for elevation control.
Figure 3. Flowchart of tracking algorithm for elevation control.
Sensors 13 03157f3 1024
Figure 4. Complete control circuit diagram of the Sun tracker for azimuth tracking.
Figure 4. Complete control circuit diagram of the Sun tracker for azimuth tracking.
Sensors 13 03157f4 1024
Figure 5. Solar sensing device with a four-quadrant LDR sensor.
Figure 5. Solar sensing device with a four-quadrant LDR sensor.
Sensors 13 03157f5 1024
Figure 6. Voltage transfer characteristics of the open-loop comparator.
Figure 6. Voltage transfer characteristics of the open-loop comparator.
Sensors 13 03157f6 1024
Figure 7. Stand-alone PV power system.
Figure 7. Stand-alone PV power system.
Sensors 13 03157f7 1024
Figure 8. Actual photograph of the experimental prototype.
Figure 8. Actual photograph of the experimental prototype.
Sensors 13 03157f8 1024
Figure 9. Measured time functions of output voltage and current for fixed PV system.
Figure 9. Measured time functions of output voltage and current for fixed PV system.
Sensors 13 03157f9 1024
Figure 10. Measured time functions of output voltage and current for solar tracking system.
Figure 10. Measured time functions of output voltage and current for solar tracking system.
Sensors 13 03157f10 1024
Figure 11. Comparison of the generating powers for the tracking and fixed systems.
Figure 11. Comparison of the generating powers for the tracking and fixed systems.
Sensors 13 03157f11 1024
Sensors EISSN 1424-8220 Published by MDPI AG, Basel, Switzerland RSS E-Mail Table of Contents Alert