Design of ARM-Based Solar Tracking System
Design of ARM-Based Solar Tracking System
Abstract: This paper presents a solar tracking system based on ARM, which mainly adopts the solar trajectory tracking mode,
supplemented by the photoelectric sensor tracking mode according to the weather condition, and control the motor rotation to
achieve all-time accurate solar tracking. The experimental results show that, the system performance is reliable, and all-weather
tracking accuracy is maintained within 0.15 degrees. Therefore, the system can be widely used in solar photovoltaic power
generation and lighting devices with solar energy utilization ratio improving greatly.
Key Words: solar tracking, solar trajectory tracking, photoelectric sensor tracking
7394
CortexTM-M4 core, and it features high-speed data 3.3 Photoelectric Sensor
processing. The chip in the control system is mainly
The system uses QP50-6 four-quadrant photodetector as a
responsible for calculating the real-time solar elevation angle
photoelectric sensor. The schematic diagram is shown in
and azimuth, and outputs stepper pulse signal to control
Fig.3.
motors through receiving and analyzing photoelectric sensor
Design a closed cylinder. A four-quadrant sensor is placed
signal.
at the focal length of the lens so that sun rays pass through the
3.2 GPS lens and form a spot of a certain diameter on the
photosensitive surface of the sensor. When the light intensity
A high-performance GPS positioning module with
is greater than the setting threshold, the sum of voltages
U-BLOX NEO-6M module, is mainly used to obtain local
output by four quadrants of the sensor photosensitive surface
latitude, longitude, and time information. The solar
meets the requirements, and the system enables the
trajectory algorithm used in the system decodes the local
photoelectric sensor tracking mode. The voltages generated
time, latitude, and longitude from the GPS information to
by the four quadrants I, II, III and IV on the photosensitive
calculate the solar elevation angle and azimuth.
surface are U 1 , U 2 , U 3 and U 4 respectively. During the
tracking process, the voltages should be equal if the sunlight
vertical photosensitive surface and the center of the light spot
coincides with the center of the photosensitive surface; If not,
the light spots will deviate from the center. In the
two-dimensional plane, 'x and 'y respectively represent
the horizontal and vertical offset of the spot center, which is
relative to the center of the photosensitive surface.
7395
U1 U 4 U 2 U 3 coarse tracking and accurate tracking modes. Incremental
Ex optical encoder outputs three square wave pulses of A, B, Z
U1 U 2 U 3 U 4 phase by using photoelectric conversion principle; A, B two
(4)
U1 U 2 U 3 U 4 sets of pulses have a phase difference of 90°, which is
Ey applied to distinguish the motor rotation direction. The
U1 U 2 U 3 U 4 number of pulses per encoder revolution is fixed and
The system calculates the angle which the motor needs to determined by the grating line number on the encoder. The Z
be turned according to E x and E y , then outputs the phase produces a pulse, which indicates that the motor
rotates one circle.
corresponding pulse signal to control the motor.
Lens imaging principle is shown in Fig.4. It is known that 4 Software Design
the sun diameter D1 1.392 u10 km and the distance
6
The system uses the software MDK5 to develop and
between the Sun and the Earth R 1.5 u10 km . T is the debug the master chip, and the program written in C. The sun
8
angle between sun rays and light-sensitive surface normal. tracking system application development mainly considers
the operation mode of day and night, as well as daylight
The range of T is limited if the light passes through the lens
intensity. The system enters the standby mode at night, the
and can be imaged on the light-surface. The relationship application flow chart is shown in Fig.5.
between the above parameters is as follows:
tan D D1 2 R Power on
d 2 f tan D (5)
Light intensity: L
T arctan D 2 f
Init System threshold: S
Reset
GPS data
processing
Y
N Daytime
or not
Coarse Tracking
N
L>S or not
Y
Accurate
Tracking
7396
small angle in every iteration, so that the light spot on the standby mode) can switch automatically. The tracking
photosensitive surface gradually approaches surface center accuracy can reach 0.15° without reaching the theoretical
position and the equivalent E x , E y approaches 0. Then it value 0.1°; this may be due to ignoring solar tracker
installation errors in the theoretical analysis. The tracking
is considered that the sunlight is vertically aligned with the accuracy of the solar tracking system designed in this paper
photosensitive surface. To ensure the system tracking is more significant compared with the system in reference [4],
accuracy, set the tracking cycle time that can be adjusted to where the sun position tracking cumulative error is less than
30s. 2° per hour.
If the system judges that it is dark now according to the The tracking accuracy analysis and experimental results
calculation result of GPS information, the system enters the illustrate that the system tracking accuracy designed in this
standby mode and resets the initial position to wait for the paper is mainly related to the solar trajectory algorithm error,
daytime of the next day. the step angle of stepping motor, the sampling error of
5 Theoretical Analysis and Verification controller ADC module, the algorithm error of conversion
between the sensor electrical signal and spot displacement,
5.1 Tracking Accuracy Analysis and the solar tracker mechanical installation error.
7397
References [6] J. Yang, Solar Photovoltaic Power Generation Technology.
Beijing: Publishing House of Electronics Industry, 2013,
[1] C. Hou, Sun Tracking Device and Technology. Shenyang: chapter 2.
Liaoning Science and Technology Publishing House, 2012, [7] C. Du, P. Wang, and C. Ma, A high accuracy algorithm for
chapter 1. the calculation of solar position, Energy Engineering, (02):
[2] P. Xiang, J. Zhang, and J. Gao, Design of closed-loop control 41-44, 2010.
system for sun tracing based on ARM, Industrial [8] E. Liu, H. Wu, and P. Zou, Deviation Analysis Based on
Instrumentation & Automation, (02): 24-26, 2010. Four-Quadrant Detector for Sun-tracking, Journal of
[3] P. Yang, The research of high precision solar tracking sensor. Atmospheric and Environmental Optics, 7(02): 139-146,
Wuhan: Wuhan University of Technology, 2010, chapter 7. 2012.
[4] J. Zhao, T. Zhang, Research and design of sun-tracking [9] Y. Chen, T. Zhu, and H. Li, Analysis and improvement in
control system, Electronic Measurement Technology, (03): angle measurement algorithm of the four-quadrant detector,
1-3, 2016. Laser & Infrared, 39(06): 669-672, 2009.
[5] B. Lu, The research of high accuracy method of sun-tracking
in photovoltaic system. Xinxiang: Henan Normal University,
2012, chapter 1.
7398