1. Introduction
Unmanned aerial vehicles (UAVs) are increasingly used in civil and military applications, such as structural inspection [
1], law enforcement [
2], transportation [
3], and monitoring [
4]. Reliable and accurate estimation of attitude, velocity, and position are important feedback signals for UAVs to perform an autonomous flight and ensure flight safety. For small UAVs, inertial measurement units (IMUs) based on the micro-electro-mechanical system (MEMS) sensors, which consist of three-axis accelerometers, three-axis gyroscopes, and three-axis magnetometers, are generally adopted in navigation system to provide high-frequency attitude, angular velocity, and acceleration information [
5,
6]. The Global Positioning System (GPS) or some external reference sensors need to be utilized to correct long-term drift of the IMU-based inertial navigation system (INS) [
7,
8]. However, the inherent shortcoming of GPS is that it may be invalid or even lost due to some challenging environments, such as highway tunnels and environments with harsh electromagnetic interference.
Researchers have proposed several methods to solve the state estimation problem without a GPS signal. An artificial neural network (NN)-based technology has recently been used to approximately estimate the growing INS errors during a GPS outage [
9,
10], while [
11] presents a Gaussian process regression approach to address the state estimation of GPS outages. The autoregressive integrated moving average model is applied to predict the INS-only solution [
12]. Some similar works can also be found in [
13,
14]. However, a drawback of these approaches is that a large amount of time and data is required for offline learning, and lot of memory capacity is required for storing the learning parameters. Thus, it may not be a practical solution for small UAVs.
As alternatives to these methods based on artificial NNs, approaches based on hardware redundancy (also called sensor redundancy) have been researched in recent years. Laser and stereo camera [
15] have been used to map and navigate in unknown environments. In addition, Qi et al. [
16] and Zhao et al. [
17] have put forward a vision-aided inertial navigation to estimate position, velocity, and attitude for UAVs in GPS-denied environments. However, such kinds of external sensor configurations increase the cost and complexity of the navigation system, which is not practical for small UAVs limited by the requirements of size, weight, and cost. Contrasting with hardware redundancy ideas, the inclusion of a vehicle model into the navigation system has no need for additional external sensors. The possibility of vehicle-model-aided INS is first introduced by [
18]. An attitude estimator combining aircraft kinematics and GPS is proposed for fixed-wing UAVs in [
19,
20]. However, these algorithms mainly concentrate on fixed-wing UAVs and do not take position and velocity estimation into consideration. Some works [
21,
22,
23,
24] prove that a more detailed vehicle model of a quadrotor could improve the estimation accuracy of attitude. Thus, it is necessary to design a more effective navigation algorithm for small multicopters to perform safe flight or emergency landing after GPS failure.
In this paper, a practical navigation reconstruction algorithm aided by vehicle model is proposed for small multicopters to bridge the GPS outage with a minimum number of sensors, such as an IMU and a radar. From the analysis of induced drag caused by the blade flapping, the body velocity can be calculated by the accelerometer measurement. Thus, we develop a more detailed vehicle model including propeller model and blade flapping, and these model parameters are able to be identified online as long as the GPS signal is available. During a GPS outage, nongravitational acceleration estimated from the vehicle model is used to compensate raw accelerometer measurements to obtain an accurate attitude estimation. Depending on the attitude, body velocity, magnetic heading, and radar height measurement, the navigation system based on an error-state Kalman Filter (ESKF) is reconstructed in combination with a fuzzy logic adaptive measurement covariance algorithm to provide a reliable navigation result during a GPS outage. Compared with the conventional observers, such as complementary filters [
7,
25] or traditional extended Kalman Filters [
26], the ESKF [
27] usually estimates the error states around the equilibrium point to guarantee the validity of linearization, which can often achieve a better performance. Thus, the ESKF is used for the state estimate during a GPS outage. Finally, the performance of the proposed method is verified by the real-time hardware-in-loop simulation platform.
The main contributions of this paper are as follows:
- (1)
A more detailed vehicle model including propeller model and blade flapping is developed. An efficient online parameter identification method is designed to estimate the model parameters quickly.
- (2)
The body velocity is derived from the established vehicle model and accelerometer output, and then the nongravitational acceleration is estimated and extracted from the raw accelerometer outputs to yield an accurate attitude estimation.
- (3)
Combining the attitude, body velocity, magnetic heading, and radar height measurements, the navigation system based on ESKF is reconstructed during a GPS outage. Besides this, an adaptive measurement covariance algorithm based on a fuzzy logic system is designed to reduce the impact of disturbed acceleration.
This paper’s outline is as follows: In
Section 2, the detailed vehicle model including propeller model and blade flapping is presented, and the online parameter identification method is introduced.
Section 3 formulates the measurement models, and the navigation system based on ESKF is reconstructed in combination with the fuzzy logic adaptive measurement covariance. The experimental setup and results are presented in
Section 4. Conclusions and future work are discussed in
Section 5.
2. Modeling and Parameter Identification
Figure 1 illustrates the flow diagram of the navigation reconstruction method aided by vehicle model during a GPS outage that we designed. The GPS/INS integrated navigation results are used to estimate the vehicle parameters. If GPS signal breaks down, these estimated parameters are utilized to calculate the body velocity and attitude angle. Then, fusing the attitude, body velocity, magnetic heading, and radar height measurement, the navigation system is reconstructed to provide navigation information for multicopters to perform safe flight or emergency landing after GPS failure.
This section introduces the detailed vehicle model including propeller model and blade flapping, which is helpful for the subsequent navigation reconstruction. Besides this, an efficient and lightweight parameter identification method based on a Kalman filter (KF) is developed, and we further discuss the condition of observability for the proposed parameter identification method.
2.1. Propeller Modeling
Fixed-pitch propellers are commonly used for multicopters. As shown in
Figure 2, the blade element theory of [
28,
29] are utilized to model the thrust force
(unit: N) and torque
(unit: N·m) of the propeller.
In
Figure 2, the blade section
in
is taken as an example to analyze the force of the propeller.
is the incoming flow speed and
is the flow velocity of section
.
is the propeller blade angle, which is determined by the shape of the blade. Thus, the real attack angle of the propeller is
According to the blade element theory, the blade section
can be taken as a small wing, and the lift and drag can be calculated as
where
is the air density,
and
are the lift and drag coefficient, and
is the small blade area of
. Then, the real pull force of this blade section
can be written as
where
is the flow angle. Combining the above equation, the pull force
can be rewritten as
Considering that the small multicopter usually flies at low altitude and does not make high maneuvers, the incoming flow
is small enough to be ignored compared to the high speed of blade. By defining
, we can get
The whole thrust of the propeller can be described as
As shown in Equation (6), the thrust of the propeller is proportional to the square of propeller speed. For simplifying the calculation, the thrust force
produced by the propeller is expressed as
where
is the propeller thrust coefficient related to the shape of a propeller [
30]. Since the blade shapes for a certain propeller are the same,
can be treated as a constant value.
2.2. Blade Flapping
The propeller of a multicopter is not actually fully rigid. As seen in
Figure 3, the velocity of a blade with contrary wind is higher than that of a blade with following wind due to the flying velocity of the quadrotor. The higher velocity will produce a larger thrust force, which generates an upward flapping velocity. Thus, it generates an imbalanced force between the two blades of the same propeller and causes the two blades to flap up and down (called blade flapping) when the multicopter moves [
21]. The blade flapping causes the propeller disk to be tilted, which produces an induced drag opposite to the motion of the quadrotor. According to [
22], the induced drag can be estimated by the following:
where
is a positive constant,
is the rotational velocity of the
ith motor, and
is the inertial velocity expressed in body frame. For a more intuitive understanding of the induced drag, the force schematic of a multicopter after moving can be seen in
Figure 4. As we described before, the imbalanced torque generated by the translational velocity of the multicopter causes the propeller disk to be tilted, which will also cause the thrust force of propeller to be tilted in a direction. Considering that the imbalanced torque depends on the magnitude of translational velocity, the component of the thrust force (called induce drag) is also a function of horizontal velocity. Thus, we use a linear coefficient
and the summation of propeller rotational rates to estimate this drag according to [
22,
23,
24].
2.3. Vehicle Modeling
In the mathematical model of the quadrotor, two corresponding coordinate frames (see
Figure 5) are considered.
denotes the body frame, where
is at the center of gravity,
pointing front,
pointing left, and
pointing up.
represents the navigation frame which coincides with the geographic frame (east, north, east, upwards). The translational motion equation that will be utilized in navigation reconstruction later is introduced here as
where
is the mass of the multicopter,
are the body rotational velocity expressed in body frame,
is the induced drag, and
is the sum of the squared motor speeds.
is the magnitude of the gravity vector.
is the rotation matrix from the navigation frame to the body frame, which is defined as
where
is the roll, pitch, and yaw angle of the vehicle. Equation (5) can then be rewritten as
where
are components of motion acceleration along the body-axis, and
and
are induced drag coefficients of axes
and
, respectively. We assume
and
are constants due to a fact that the summation of propeller rotational rates for multicopters are fairly stable during smooth flight. Another reason is that most small multicopters lack complex rotational speed measurement sensors, thus we can save these sensors by this simplification.
2.4. Parameter Identification and Observability Analysis
Before using the vehicle model to aid navigation reconstruction, some vehicle model parameters
need to be acquired. Considering that these parameters are affected by the characteristics of the propulsion system and the external environment such as battery voltage, air density, and so on, we design an efficient and lightweight estimator based on a KF to acquire these parameters online. It should be noted that nonlinear Coriolis terms in Equation (11) are small enough for a multicopter to be neglected. Therefore, Equation (11) can be rewritten as
where
are the accelerometer outputs in the body frame. The motor speeds
can be measured by rotating speed sensors, which are mounted on the airframe. When GPS signal is available,
can be calculated from the integrated navigation of INS and GPS. Thus, we have noticed that the model parameters are directly observable from the accelerometer outputs.
Defining the state vector as
, we get the following state propagation equation and measurement equations:
where outputs
are the accelerometer outputs, with inputs
. The Jacobian matrix
,
,
, combined with system model (13) and a common KF algorithm, can be used to estimate the vehicle model parameters.
Observability is a necessary condition for KF convergence. Thus, we analyze the condition of observability for the model parameters
based on the theory of linear observability. According to the theory of linear observability, the sufficient and necessary condition of state observability for system (13) is that
Substituting Equation (13) into (14), we can obtain the following:
It is obvious that is usually a positive value in a normal flight. If , then , which means that system (13) is unobservable when the multicopter is in hover flight. Therefore, the parameters are observable when the velocity of the multicopter is unequal to zero.
4. Simulation Results
In order to evaluate the performance of the proposed navigation reconstruction method, the real-time hardware-in-loop simulation platform based on PIXHAWK [
33] is presented in this section.
4.1. Hardware in Loop Simulation Platform
The experiment is implemented on our real-time hardware-in-loop simulation platform, as shown in
Figure 8. The simulation platform includes five parts: an embedded master control computer, a PX4 flight controller, a quadrotor, an RC transmitter, and a ground station. The master computer is the core of the whole simulation platform, which contains a high-fidelity quadrotor dynamic model generated by the online toolbox of Quan and Dai [
34], and the values are listed in
Table 3. The detailed dynamic model which includes motor dynamic, propeller model, and flight environment, is developed by S-function and Simulink. The master computer accepts the four motor commands
to produce the corresponding force, torque, and further simulated navigation information, included three-dimensional positions, velocities, attitudes, and angular rates
. The RC transmitter generates the desired attitude command
to the flight controller. The flight controller mainly accepts this command, runs the control algorithm, and generates the four motor commands
to the aircraft.
In order to simulate the observability of the model parameters and assess the performance of the proposed navigation reconstruction algorithm, we planned the trajectory shown in
Figure 9. The sensor data generated by a high-fidelity vehicle dynamic model on the master control computer comprises 180 s of continuous recording during the whole flight. From the observability analysis of
Section 2.4, we can know that the parameters
are observable as long as the velocities of the multicopter are unequal to zero. These vehicle parameters can be estimated from any flight phase except for the hovering state during the whole flight when GPS signal is valid.
During the first 20 s, the GPS signal is unobstructed, and the model parameter estimation filter is started. After 20 s, the GPS signal is assumed to be completely unavailable, which means that the absolute position and velocity measurements from GPS are invalid. Then the IMU-based navigation system is reconstructed with the aid of the vehicle model. Thus, the flight data is divided into two main flight phases, as follows: vehicle model parameter identification phase from 0 s to 20 s, and vehicle-model-aided navigation reconstruction phase from 20 s to 180 s.
4.2. Vehicle Model Parameter Identification
Figure 10,
Figure 11 and
Figure 12 depict the results of the parameter estimation and the truth parameter. The parameter estimation begins from the start of the flight, and we can see that the proposed parameter identification method is able to make sure the estimated parameters converge to the truth values within less than 2 s. The final estimation accuracy of all model parameters is within 1.5%. After the model parameters have been estimated properly, these coefficients can be used to reconstruct the navigation system during a GPS outage.
4.3. The Reconstructed Navigation System
To verify the effectiveness of the proposed navigation reconstruction method during a GPS outage, the INS-only solution (prediction mode of the INS/GPS filter) is implemented for a performance comparison. Besides this, the results of the integrated navigation of INS and GPS are regarded as the true value.
Figure 13 shows the estimated value of roll, pitch, and yaw angles during the flight. From the beginning of 20 s, the GPS signal is obstructed artificially. The reconstructed navigation system based on ESKF starts at this time. We can see that the attitude estimation results of INS-only diverge quickly during a GPS outage. At 180 s, the error of the roll and pitch angle are about 9–10°, and the error of the yaw angle is about 5°, while the results of the proposed method almost track the true value (the GPS/INS solution). The root mean square errors (RMSEs) for the attitude are summarized in
Table 4. The proposed method shows a remarkable improvement compared to the INS-only solution.
Figure 14 depicts the estimation results of velocity during the flight. The period from 20 s to 180 s is enlarged. Obviously, the velocity estimation from the reconstructed navigation system converges much better than the INS-only solution. The accuracy of east and north velocities are about 0.219 m/s and 0.15 m/s at 180 s, respectively. Since the velocity measurements are calculated from vehicle model and accelerometer outputs, the estimation errors of parameters and the time-varying biases of the accelerometer will result in an error of the velocity estimate. However, the velocity of the reconstructed navigation system still meets the requirements of flight control.
Figure 15 shows the position results of the vehicle provided by the reconstructed navigation system during the flight. The errors of east and north positions for the proposed method are about −14.6 m and 12.5 m at 180 s, respectively. Since we do not involve a horizontal position measurement in our filter, the east and north positions cannot converge to the true value due to weak observability. However, the proposed method still effectively mitigates the drift in the position estimation compared to the INS-only solution.
Figure 16 illustrates the calculated fuzzy inputs
and
, and the fuzzy output
, respectively. We can see that the fuzzy output
, which acts as the scaling factor of the attitude measurement model, adaptively increases with the variation of angle and magnitude between the estimated
and true gravitational acceleration
. The increase of scaling factor
will decrease the dependency of attitude measurement in the results of estimation, thus improving the performance of filter. The same analysis can also be used for the fuzzy input
and fuzzy output
(see
Figure 17).
5. Conclusions
This paper proposes a MEMS navigation reconstruction method aided by a vehicle model during a GPS outage. The proposed method makes an attempt to combine the vehicle model and MEMS sensors, which is distinguished from traditional methods, such as artificial NN and hardware redundancy. More specifically, a more detailed vehicle model is developed from the basis of analyzing blade flapping, and an efficient online parameter identification method is designed to estimate the model parameters quickly when GPS signal is available. The body velocity is derived from the established vehicle model and accelerometer output, and then the nongravitational acceleration is estimated and subtracted from the raw acceleration to yield an accurate attitude estimate. Combining the attitude, body velocity, magnetic heading and radar height measurements, the navigation system based on ESKF is reconstructed during a GPS outage. Besides this, we develop an adaptive measurement covariance algorithm based on a fuzzy system to reduce the impact of disturbed acceleration. Hardware-in-loop simulation results show that the proposed approach gains a remarkable estimation improvement compared to the INS-only solution, and has the potential to be a simple and robust substitution for the INS/GPS integrated navigation system for small multicopters during a GPS outage.