Solar Vector Solving Method Based On Photovoltaic
Solar Vector Solving Method Based On Photovoltaic
system
Abstract
Solar-powered unmanned aerial vehicles usually fly at high altitudes, and they are mainly powered by the photocells cov-
ering the body of unmanned aerial vehicles. Considering that the solar vector cannot be affected by the disturbing mag-
netic field and harmful acceleration, a unit solar vector solving method based on photovoltaic array is proposed in this
paper. The photocells with different installation angles are selected to form the photovoltaic array. The solar vector is
solved by the least-squares method on the basis of normalization by using the output currents of the photovoltaic array.
For eliminating the influence of faults and reflected light on the solving of the solar vector, an adaptive least-squares unit
solar vector solving method is proposed. In addition, a solar vector measuring device is designed in order to verify the
effectiveness of the proposed methods. By employing the structural advantages of the device, the current generated by
the reflected light of the sky can be solved according to the currents generated by all photocells of this device. Thus, the
solved current generated by the reflected light of the sky is more accurate. Moreover, strapdown inertial navigation sys-
tem/solar vector/global positioning system integrated navigation Kalman filtering algorithm is proposed, in which the
adaptive least-squares unit solar vector solving method is applied to the measurement update of the filter. The effective-
ness of the methods proposed in this paper is illustrated by some numerical and physical simulations.
Keywords
Photovoltaic array, photocell current, solar vector, attitude estimation, Kalman filtering, solar-powered UAV
Creative Commons CC BY: This article is distributed under the terms of the Creative Commons Attribution 4.0 License
(http://www.creativecommons.org/licenses/by/4.0/) which permits any use, reproduction and distribution of the work without
further permission provided the original work is attributed as specified on the SAGE and Open Access pages (https://us.sagepub.com/en-us/nam/
open-access-at-sage).
2 Measurement and Control
base station and the UAV. In addition, a complete generated by two rotating photocells. This method
framework for attitude estimation by exploiting three- demands a rotating device of photocells and has no
dimensional (3D) LOS vector obtained from the fault tolerance for photocell failure.
antenna array system was proposed. In order to Considering that the solar vector is free from harm-
improve the capability of resisting harmful acceleration, ful acceleration and disturbing magnetic field, a unit
an attitude estimation method which is robust for solar vector solving method based on photovoltaic
harmful accelerative environment was designed using array is proposed in this paper. The solar vector is
MARG sensors and GPS receiver in the work of No solved by the least-squares method on the basis of nor-
et al.7 The navigation system excludes accelerometer malization using the output currents of the photovoltaic
and estimates pseudo-attitude information from the array, which significantly simplifies the solving process
velocity measured by the GPS receiver. In addition, a of the solar vector. Moreover, an adaptive least-squares
magnetic-pitch angle determination method which unit solar vector solving method is also proposed,
extracts pitch angle and yaw angle information from which greatly improves the fault tolerance of the solar
magnetic vector was proposed in order to complement vector solving. In order to verify the effectiveness of the
the deviation of pseudo-attitude. The paper by Tong proposed methods, a physical device with photovoltaic
et al.8 proposed a novel adaptive extended Kalman fil- array is designed in this paper. The current generated
ter which includes a multiplicative extended Kalman fil- by the reflected light is solved according to the currents
ter (MEKF) and a hidden Markov model (HMM) generated by all photocells of this device. Thus, the
recognizer. Moreover, the HMM recognizer can obtain solved current generated by the reflected light is more
precise attitude information using MARG sensors in reliable. In simulations of the proposed strapdown iner-
the circumstance of 3D motion tracking. tial navigation systems (SINS)/solar vector/GPS inte-
For the problem of attitude estimation of UAV grated navigation algorithm, the effectiveness of the
using Kalman filter, the disturbance of harmful accel- proposed solar vector solving method and its auxiliary
eration on the gravity field measured by accelerometer effect for attitude estimation are verified.
can be reduced by constructing an adaptive observation
noise variance matrix. The adaptive adjustment of the
observation noise variance matrix requires the estima- Mathematical model of solar vector
tion of disturbance. Disturbance-observer-based con-
trol (DOBC) and related methods have been researched The relationship between two coordinate frames which
and applied in various industrial sectors in the last four refer to ‘‘B’’ and ‘‘N’’ is used to represent the attitude of
decades. An observation mechanism is employed to vehicles:
estimate the total disturbance in the DOBC method.
The paper proposed by Chen et al.9 reviews many 1. ‘‘B’’ represents the body-fixed frame which is a
widely used linear and nonlinear disturbance/uncer- sensor frame with each axis pointing along each
tainty estimation techniques and discusses various com- of the IMU axes.
pensation techniques. For enhancing the performance 2. ‘‘N’’ represents the local earth-fixed reference
of disturbance rejection, the modeling error is actively coordinate frame taken from the East-North-Up
estimated by a Kalman filter using an active-model- (ENU) reference system. The XYZ axes are pos-
based control scheme.10 itive to geographic East, North, and Up direc-
Celestial navigation system (CNS) has been widely tions, respectively.
used for attitude and position estimation in the naviga-
tion system of UAVs.11,12 In recent years, research Hence, RBN and RN B are the rotation matrixes con-
works on the solar vector measurement using atmo- structed by the quaternions of the real attitudes of the
spheric polarization modes for attitude determination UAV dynamic model in the numerical simulation.
have achieved fruitful results.13–15 Information on Correspondingly, the rotation matrixes CBN and CN B are
atmospheric polarization modes can also be obtained constructed by estimated quaternions of the filter.
in the field of views obscured by barriers. For this rea-
son, using the atmospheric polarization mode to obtain
the solar vector has become a research direction. As The model of solar vector in the ‘‘N’’ coordinate
shown in Figure 1, solar-powered UAV usually flies
frame
above clouds. With the continuous advancement of
photovoltaic technology, solar-powered UAV can The angle between the line which connects the earth
obtain more energy from the sun for flight. In addition, and the sun and the equatorial plane of the earth will
solar-powered UAVs have broad application prospects. vary when the earth rotates around the sun. The rota-
Hence, it is necessary to develop the techniques of tion of the earth causes the point of direct sunray to
acquiring the solar vector through photocells for atti- move around the surface of the earth. In order to con-
tude determination of UAVs. The paper by Yang struct the model of the solar vector in the navigation
et al.16 proposed a method of solving the angle of the coordinate frame, assume that the sun rotates around
solar ray using the alternating short-circuit currents the earth. According to the results proposed by Chong
Zhang et al. 3
The solving progress of the solar vector is significantly The expression of current generated by the sunray18
simplified. is approximately
Ii = I? cos ui ð8Þ
Design of the unit solar vector solving
method where I? is the current generated by the sunray when
the sunray is incident vertically to the photocell of a cer-
Photocell is a special semiconductor diode which can tain area. Its value is mainly related to the light inten-
convert light energy into electrical energy. In order to sity. For each photocell in the photovoltaic array, the
improve the anti-disturbance capability of attitude esti- value of I? is treated as the same.
mation, a unit solar vector solving method is proposed According to equations (6)–(8), the current output
using the structural advantages of photovoltaic array by photocell i can be expressed as
and the principle of energy conversion. The short-
circuit current output by the photovoltaic array is col- ISi = IF + I? hRi ð3Þ, sB i
lected through the corresponding circuit. Usually, ð9Þ
= fi ðIF , I? , sB (1), sB (2), sB (3)Þ
solar-powered UAVs are covered with photocells hav-
ing the same area. Each of these photocells has a fixed where constants IF and I? , and the vector sB are all
installation angle. Thus, there is a fixed and known unknown quantities, and fi () is a function with five vari-
rotation matrix Ri from the coordinate frame of photo- ables. It takes only five photocells in the photovoltaic
cell i to the ‘‘B’’ coordinate frame. In order to reduce array that the variable IF can be solved. Thus, the cur-
the influence of wing vibration on solar vector solving, rent generated by the sunray of photocell i is known,
the photocells with different installation angles at the and the value is
wing root and airframe are selected to form the photo-
voltaic array. In addition, the photocells are labeled as Ii = ISi IF ð10Þ
1 – N, and the rotation matrix Ri is calculated accord-
ing to the installation angle of photocell i. According to equations (6) and (8), the expression of
current generated by the sunray of photocell i is
Least-squares unit solar vector Ii = I? hRi ð3Þ, sB i
ð11Þ
The rotation matrix Ri from the coordinate frame of = I? ½ Ri ð1, 3Þ Ri ð2, 3Þ Ri ð3, 3Þ sB
photocell i to the ‘‘B’’ coordinate frame is known. Thus,
the normal unit vector of photocell i in the ‘‘B’’ coordi- Assume that the photocells in the photovoltaic array
nate frame can be presented as are all exposed to the sunray and generate currents nor-
mally. Thus, the current vector output by the photovol-
ni = R i z i ð5Þ taic array is
T
where zi = ½ 0 0 1 is the normal unit vector of
photocell i in the coordinate frame. IS = ½ I1 I2 IN T = I? R S sB
2 3
In the ‘‘B’’ coordinate frame, the angle between the R1 ð1, 3Þ R1 ð2, 3Þ R1 ð3, 3Þ
normal unit vector ni of photocell i and the unit solar 6 R2 ð1, 3Þ R2 ð2, 3Þ R2 ð3, 3Þ 7
6 7 ð12Þ
vector sB is defined as ui . Thus, the direction cosine of = I? 6
6 .. .. ..
7 sB
7
the vector ni and sB can be given by 4 . . . 5
where the symbol hi represents the inner product of where RS is the rotation matrix of the photovoltaic
two vectors, and Ri (3) is the third column of rotation array.
matrix Ri . There is a linear relationship between the current
The current output by photocell i contains the cur- vector IS and the unit solar vector sB . However, matrix
rents generated by the reflected light and the sunray, RS is irreversible. The unit solar vector sB cannot be
respectively. Assume that all photocells of the photo- directly solved. The installation angles of photocells in
voltaic array are exposed to the sky. Thus, define IFi the photovoltaic array are different from each other. It
and Ii as the currents generated by the reflected light of can be inferred that RS must be a matrix with full col-
the sky and the sunray, respectively. In addition, the cur- umn rank. In addition, I? cannot be directly measured.
rents generated by the reflected light of the sky can be Hence, the least-squares unit solar vector can be solved
treated as the same for different photocells. Thus, the according to RS and IS using the normalized idea. The
current18 output by photocell i can be represented as least-squares unit solar vector is
1 T 1 T
ISi = IF + Ii ð7Þ RTS RS RTS IS RS RS RS IS
sB = =
1
ð13Þ
I? RT RS
where IF is the current generated by the reflected light
S RS IS
T
of the sky.
Zhang et al. 5
According to equation (6), the direction cosine of the where sB, N = RBN sN ; nI represents the random white
normal unit vector ni (i = 1, 2, . . . , 7) and sB is given as noise drift vector with variance s2I .
8
> cos u1 = sB (2) sin a + sB (3) cos a
>
> The model of IMU sensors and GPS
>
> cos u2 = sB (1) sin a sin b sB (2) sin a cos b
>
>
>
> It is assumed that the IMU sensors have been cali-
>
> + sB (3) cos a
>
> brated. Thus, the models of gyroscope and acceler-
>
> cos u3 = sB (1) sin a sin b + sB (2) sin a cos b
>
> ometer can be established as follows
>
>
>
< + sB (3) cos a
>
vB = vt + evr + nv
cos u4 = sB (2) sin a + sB (3) cos a ð29Þ
>
> aB = RBN gN + av + ba + ear + na
>
> cos u5 = sB (1) sin a sin b + sB (2) sin a cos b
>
>
>
> where vB and aB are measuring outputs of gyroscope
> + sB (3) cos a
>
>
> and accelerometer in the ‘‘B’’ coordinate frame, respec-
>
> cos u6 = sB (1) sin a sin b sB (2) sin a cos b
>
> tively; vt is the actual angular velocity of the UAV
>
>
>
> + sB (3) cos a dynamic model; gN is the gravity field in the ‘‘N’’ coor-
>
:
cos u7 = sB (3) dinate frame; av and ba are vehicle linear acceleration
ð24Þ and bias of accelerometer obtained by the acceler-
ometer calibration, respectively; nv and na are the ran-
According to equation (24), the following equation dom white noise drift vectors of gyroscope and
can be obtained accelerometer, respectively; and evr and ear are first-
8 order Markov process drifts of the gyroscope and
< cos u1 + cos u4 = 2 cos a cos u7 accelerometer, respectively. The dynamic models of evr
cos u2 + cos u5 = 2 cos a cos u7 ð25Þ and ear are as follows
:
cos u3 + cos u6 = 2 cos a cos u7
Zhang et al. 7
8
> 1 v According to equations (33), (35), and (36), the state
> v
< e_r = e + vr
Tv r equation of UAV based on sensor models can be
ð30Þ
>
> 1 obtained as
: e_ar = ear + va
Ta
x_ = Ax + BaN ð37Þ
where Tv and Ta are the correlation time, and vr and
where
va are the random white noise drifts of the first-order
8 2 3
Markov process. > 1=2O 0433 0433
>
>
The position and velocity model in the ‘‘N’’ coordi- >
< A = 4 0334 0333 I333 5
nate frame obtained by GPS is established as follows
> 0334
0333 0333 10310 ð38Þ
( >
> 0
>
: B = 733
pG = pG
t + np I333 1033
ð31Þ
vG = vG
t + nv
where pG G
t and vt are the actual position and velocity of Observation matrix of the state
the UAV dynamic model in the ‘‘N’’ coordinate frame,
respectively, and np and nv are the random white noise The observed unit of the solar vector and gravity field is
drift vectors with variances of s2p and s2v , respectively. B
CN sN
yk = = h(q) ð39Þ
CBN gN
State equation of UAV dynamic model Expand h(q) by Taylor at the state of quaternions.
The motion states of UAV usually include attitude qua- The observation matrix of the solar vector and gravity
ternions, positions, and velocities in 3D space. Thus, field is
the solar vector of the UAV dynamic model is con-
∂h(q)
1
SINS/solar vector/GPS integrated
q_ = Oq ð33Þ navigation Kalman filtering algorithm
2
Before the measurement update of the Kalman filtering
where
algorithm, the unit solar vector needs to be solved in
2 3 real time through the output current vector of the
0 vxB vyB vzB
6 vx 0 vzB y 7
vB 7 photovoltaic array. The detailed steps of the algorithm
6
O = 4 By ð34Þ are given as follows:
vB vzB 0 vxB 5
vzB vyB vxB 0
Time update
The linear acceleration of UAV measured by the
accelerometer model in the ‘‘N’’ coordinate frame is Since the state equation (37) is a continuous time sys-
given as tem, equation (37) is discretized by fourth-order
Runge–Kutta method in order to update the state in
aN = CN
B (aB ba ) gN ð35Þ discrete time. Then the time update of the state can be
obtained
which is taken as the input of the second-order integral 8
dynamic model of UAV. The second-order integral > S1 = A^xk1 + BaN
>
>
dynamic model is given as < S = A(^ xk1 + S1 Th =2) + BaN
2
ð42Þ
>
> S3 = A(^xk1 + S2 Th =2) + BaN
p_ = v >
:
ð36Þ S4 = A(^xk1 + S3 Th ) + BaN
v_ = aN
8 Measurement and Control
dx = (S1 + 2S2 + 2S3 + S4 )Th =6
ð43Þ
x^k=k1 = x^k1 + dx
Measurement update
The measurement update is given as
8 1
< K = Pk=k1 HTk Hk Pk=k1 HTk + R
x^ = x^k=k1 + K Zk Hk x^k=k1 ð46Þ
: k
Pk = ðI KHk ÞPk=k1 Figure 6. Position estimation errors of the filter in numerical
simulation.
where K is the gain matrix of the Kalman filtering algo-
rithm and R is the measurement noise variance matrix. pffiffiffi T
In addition, the measurement information Zk is sN = ½ 1=2 0 3=2 and gN = ½ 0 0 1 T ,
T G T T respectively. The value of I? is given as 10 mA. The
Zk =½ saB T ðaB ba av ÞT pG v ð47Þ standard deviation of the random white noise of the
solar vector measuring device is given as sI = 0:03 mA.
where the motion acceleration av is solved by the mea-
The random white noise and first-order Markov pro-
sured velocity differentiation of UAV according to the
cess drift of the gyroscope are given as 0.002 and
method proposed by Hemerly et al.,5 and saB is the
0.001 rad/s, respectively, and the correlation time of the
adaptive least-squares unit solar vector in the ‘‘B’’ coor-
Markov process drift is given as Tw = 7200=s. The ran-
dinate frame.
dom white noise and first-order Markov process drift
of the accelerometer are given as 0.8mg and 2mg,
Numerical simulation and physical respectively, and the correlation time of the Markov
simulation process drift is given as Ta = 3600 s. The random white
noise drifts of position and velocity obtained by GPS
Numerical simulation are given as 2 m and 0.3 m/s. Assume that the UAV is a
The algorithms designed in this paper are simulated by multirotor, and the multirotor flies at a fixed altitude.
MATLAB. The simulation step size is given as For the convenience of simulation, suppose that the
Dt = 102 s. The simulation time is given as t = 200 s. motion accelerations in the x-direction and the y-direc-
The unit solar vector and the unit gravity field vector tion are proportional to the pitch and roll angles of
in the ‘‘N’’ coordinate frame are given as UAV, respectively. Assume that the yaw angle of UAV
Zhang et al. 9
Figure 8. Attitude estimation errors of the filter assisted by Figure 10. The collected currents of photocells through the
the gravity field and the solar vector in numerical simulation. solar vector measuring device.
is fixed; the simulation curves of pitch and roll angles Physical simulation
of UVA are given in Figure 5.
The simulation step size and simulation time are also
The position and velocity estimation errors of the fil-
given as Dt = 102 s and t = 200 s, respectively. On a
ter are shown in Figures 6 and 7; the attitude estimation
bright afternoon, the solar vector measuring device
errors of the filter assisted by the gravity field and the
shown in Figure 4 is placed horizontally on the roof.
solar vector are shown in Figure 8; and the attitude esti-
Moreover, the photocells of the device are all exposed
mation errors of the filter assisted only by the gravity
to the sky and the sunray. The collected currents of
field are shown in Figure 9. According to the results
photocells are also filtered by a digital low-pass filter,
shown in Figures 6 and7, the estimation errors of posi-
and then the currents are sent to MATLAB. The col-
tion and velocity converge to a relatively small range.
lected currents of photocells through the solar vector
As shown in Figure 8, the attitude estimation errors of
measuring device are shown in Figure 10. The current
the filter are within 0.5°. As shown in Figure 9, the atti-
generated by the reflected light of the sky is solved
tude estimation errors of the pitch and roll angles are
according to equation (27). The currents of photocells
all within 0.5°, but the estimation errors of the yaw
generated by the sunray are shown in Figure 11.
angle are divergent. Thus, according to the simulation
Figures 10 and 11 show that the seven photocells of the
results of Figures 8 and 9, we can see the assistant effect
solar vector measuring device have the same
of the solar vector on attitude estimation.
10 Measurement and Control
Funding
The author(s) disclosed receipt of the following financial
support for the research, authorship, and/or publication of this
article: This work is partially supported by the National Natural
Science Foundation of China (61703286) and the series project
Figure 19. Attitude estimation errors assisted only by the of Liaoning Province Education Department (L201711).
gravity field with IMU data coming from test 1.
ORCID iD
Huaqing Zhang https://orcid.org/0000-0002-4218-7542
References
1. Li W and Wang J. Effective adaptive Kalman filter for
MEMS-IMU/magnetometers integrated attitude and
heading reference systems. J Navig 2013; 66(1): 99–113.
2. Zhang RH, Jia HG, Chen T, et al. Attitude solution for
strapdown inertial navigation system based on quater-
nion algorithm. Optic Precis Eng 2008; 16(10): 1963–
1970 (in Chinese).
3. Grivon D, Vezzetti E and Violante MG. Development of
an innovative low-cost MARG sensors alignment and
distortion compensation methodology for 3D scanning
applications. Robot Auton Syst 2013; 61(12): 1710–1716.
4. Su Y, Liu Y, Li XK, et al. Attitude measurement and
optimization for horizontal directional drilling based on
MARG sensor. Adv Mat Res 2013; 616–618: 455–460.
5. Hemerly EM, Maciel BCO, Milhan AP, et al. Attitude
Figure 20. Attitude estimation errors assisted only by the and heading reference system with acceleration compen-
gravity field with IMU data coming from test 2. sation. Aircr Eng Aerosp Tec 2012; 84(2): 87–93.
6. Cordeiro TFK, Da Costa JPCL, de Sousa RT, et al.
Improved Kalman-based attitude estimation framework
Conclusion for UAVs via an antenna array. Digit Signal Process
2016; 59: 49–65.
MARG sensors in navigation system of UAV are vul- 7. No H, Cho A and Kee C. Attitude estimation method
nerable to disturbing magnetic field and harmful accel- for small UAV under accelerative environment. GPS
eration. Considering that the solar-powered UAVs Solut 2015; 19(3): 343–355.
usually fly at high altitudes, the unit solar vector and 8. Tong X, Li Z, Han G, et al. Adaptive EKF based on
adaptive unit solar vector solving methods are pro- HMM recognizer for attitude estimation using MEMS
posed in this paper. The unit solar vector is solved by MARG sensors. IEEE Sens J 2018; 18(8): 3299–3310.
9. Chen WH, Yang J, Guo L, et al. Disturbance—obser-
the least-squares method. Thus, the obtained unit solar
ver—based control and related methods—an overview.
vector has higher precision and fault tolerance when
IEEE Trans.Ind Electron 2016; 63(2): 1083–1095.
there exist errors in photovoltaic array and acquisition 10. Yi K, Liang X, He Y, et al. Active-model-based control
circuit of short-circuit currents. For solar-powered for the quadrotor carrying a changed slung load. Electro-
UAVs flying at high altitudes, photocells selected from nics 2019; 8(4): 461.
the surface of the body can be used to assist attitude 11. Ushaq M, Cheng FJ and Jamshaid A. A fault tolerant
estimation of the UAV. This method has an assistant SINS/GPS/CNS integrated navigation scheme realized
effect on attitude estimation without adding too much through federated Kalman filter. Appl Mech Mater 2013;
extra weight while the photocells are providing energy 332: 104–110.
Zhang et al. 13
12. Min YL, Xiong Z, Xing L, et al. An improved SINS/ 16. Yang P, Shi W, Liu S, et al. Research on measurement
GNSS/CNS federal filter based on dual quaternions. Acta method of the large range sunray incident angle. Acta
Armament 2018; 39(2): 315–324 (in Chinese). Energ Solar Sin 2011; 32(2): 216–219 (in Chinese).
13. Wang Y, Chu J, Zhang R, et al. A novel autonomous 17. Chong KK and Wong CW. General formula for on-axis
real-time position method based on polarized light and sun-tracking system and its application in improving
geomagnetic field. Sci Rep 2015; 5: 9725. tracking accuracy of solar collector. Sol Energy 2009;
14. Ren J, Jun L, Tang J, et al. Polarized skylight pattern- 83(3): 298–305.
based approach to attitude determination. IEEE Sensors 18. Santoni F and Bolotti F. Attitude determination of
J 2015; 15(9): 4917–4927. small spinning spacecraft using three axis magnetometer
15. Fan ZG, Chen ML, Wang B, et al. Three-dimensional and solar panels data. In: Proceedings of the 2000 IEEE
attitude information obtained by the skylight polariza- aerospace conference, Big Sky, MT, 25 March 2000,
tion pattern. Optic Precis Eng 2016; 24(6): 1248–1256 (in pp. 127–133. Piscataway, NJ: IEEE.
Chinese).