1. Introduction
Adaptive control and parameter estimation have been hot topics in the control fields [
1,
2], since, in control engineering practice, many unknown or immeasurable parameters and dynamics exist in a wide range of control plants. In order to address this problem, adaptive control was proposed as an effective and powerful method [
3,
4,
5]. In this methodology, the unknown or immeasurable parameters and dynamics can be updated online or estimated by using control errors to ensure a closed-loop system’s stability [
5]. Nevertheless, in the past few years, standard adaptive control with a gradient-based algorithm has focused mainly on tracking a given reference trajectory rather than guaranteeing that the estimated parameters converge to their true values [
6]. However, according to the equivalence theorem [
7], accurate parameter estimation can be essential to enhancing the stability and robustness of adaptive systems for the purpose of tracking control. Hence, developing adaptive laws with guaranteed convergence is always a critical issue in adaptive control designs.
Recently, in order to solve the problems of parameter estimation, some scholars have made great efforts, and many well-recognized results have been reported; e.g., the gradient descent, least squares (LS) [
3,
4,
5], neural network [
8,
9], and projection algorithms [
10]. Moreover, a new adaptive parameter estimation framework has recently been proposed and applied in many applications [
11,
12,
13,
14], where the adaptive laws are driven by the parameter estimation error such that exponential or even finite-time convergence can be achieved. In [
6], a new adaptive law was also studied to reconstruct unknown system parameters when an intermediate matrix is positive. However, most of the existing results are suitable for linearly parameterized systems only, and cannot be directly used for nonlinearly parameterized systems.
In parameter estimation, the parameter error convergence rate is also an important issue. To address this issue, a finite-time sliding neural network observer was studied in [
8], where the observed state derivatives are used to estimate parameters, and some known nonlinear functions in the system are needed. Moreover, the inverse of these matrices should exist and be available. In a recent research work [
6], under the condition that the persistent excitation (PE) is satisfied, a novel parameter estimation was given, which allows exact reconstruction of the unknown parameters. However, this method needs to verify online the inevitability for a matrix and compute its inverse when it is appropriate. Besides this, an observer is needed to be designed for this parameter estimation method, such that the corresponding computational cost is also increased.
Nowadays, quadrotors are playing a more and more important role in daily life, since they can perform versatile maneuvers and are able to complete various missions [
15]. Therefore, a lot of attention has been paid to the modeling and control of quadrotors in the past few years [
16,
17,
18,
19]. However, some parameters in quadrotors are unknown for the controller’s design. In particular, the stability and robustness of control systems for quadrotors are always influenced by the unknown or immeasurable parameters. Hence, inspired by the above facts, in this paper, we will propose an adaptive parameter estimation technology for quadrotors with unknown parameters to enhance the stability and robustness of quadrotors. Firstly, a typical quadrotor mathematical model is given, and then an expression of the parameter estimation error is derived by introducing auxiliary filtered variables. Moreover, an augmented matrix is constructed based on the auxiliary filtered variables, which is further used to design the adaptive law to achieve convergence under the standard persistent excitation (PE) condition. Finally, simulation and experimental verification results for quadrotors are shown to illustrate the effectiveness of the proposed method.
The main contributions for this paper can be summarized as:
- (1)
A parameter estimation is developed to obtain the parameter error information by using system dynamics and the estimated parameters with simple filter operations.
- (2)
Novel parameter-error-based adaptive parameter estimation algorithms are suggested for quadrotors to guarantee fast convergence.
- (3)
A constructive method is suggested to validate the standard persistent excitation (PE) condition online.
2. Adaptive Parameter Estimation
In this section, an adaptive parameter estimation technology is proposed for quadrotors. The schematic diagram of a ground coordinate system and a body axes coordinate system is given in
Figure 1. Consider the following typical quadrotor mathematical model [
20]
where
is the displacement of the
-axis direction,
is the displacement of the
-axis direction,
is the displacement of the
-axis direction,
denotes the yaw angle,
means the rolling angle, and
defines the pitching angle.
and
denote the control actions of the vertical direction, roll direction, pitch direction, and the yaw direction, respectively,
denotes the total mass of the quadrotor,
is the moment inertia of the quadrotor, and
denotes the gravitational acceleration.
In order to facilitate the parameter estimation, Equation (1) can be rewritten as
where
,
,
,
,
,
, and
.
and
are the unknown parameters to be estimated.
The aim of this paper is to suggest a novel parameter estimation methodology and a novel adaptive law for estimating and of system (2).
In this section, we will introduce a new adaptive parameter error framework, which is driven by the estimation error as [
11,
12,
13]. In order to complete the parameter estimation, the filtered variables
of
and
can be defined as
where
is the filtered parameter.
Then, we can obtain the following equation from (2) and (3)
where
,
,
, and
.
,
,
, and
are the defined functions, and
,
,
, and
are the filtered variables of
,
,
, and
, respectively. In order to complete the parameters estimation, Equation (4) can be rewritten in a more compact form as
where
We can define an auxiliary filtered and ‘integrated’ regressor matrix
and a vector
as
where
and
,
is a design parameter, and the terms
and
can be taken as the forgetting factors, which can make
and
bounded in a compact set
[
21].
Considering that (7) is a differential equation, we can calculate the solution of (7) as
Hence, it can be verified that and are bounded for any given bounded and due to the introduced forgetting factors and in (7).
One defines an auxiliary vector
calculated based on
,
given in (8) as
where
is the estimation for the unknown parameter
, which can be updated online via the following Equation (12).
According to Equations (4) and (8), Equation (9) can be rewritten as
Then, the auxiliary matrix
can be represented as
with the estimated error
.
From Equation (11), one knows that the vector
can be applied to estimate the unknown matrix
as analyzed in [
21].
Then, the estimation algorithm of the unknown parameters can be designed as
where
is a positive learning gain.
To solve the parameter estimation convergence, the positive definiteness property of
should be firstly studied. One defines
as the maximum and minimum eigenvalues of the corresponding matrices, respectively. Then, we can obtain the following Lemmas:
Lemma 1 ([13]). The matrix defined in (8) is persistently excited (PE), then the matrix defined in (8) is positive definite, i.e., for a positive constant .
Theorem 1 ([22,23]). Consider Equation (5) with adaptation law (12), one supposes that the regressor matrix
is PE, then the estimation error exponentially converges to zero with the convergence rate .
Proof of Theorem 1. Assume that
is PE, one knows
based on Lemma 1. Choose the Lyapunov function as
, then one knows
and
according to Equations (9)–(12). Hence, we can obtain the derivative
as
where
is positive for all
From Equation (13), one knows that the exponential convergence of the error
to zero with the rate
is guaranteed, which depends on the excitation level
and learning rate
. □
Remark 1. The purpose of this paper is using the adaptive law for estimating parameters online. Therefore, the regressor defined in (6) should be known. In fact, this condition has been well-recognized in the system identification field. For those systems without a fully known regress , the adaptive algorithm may not be suitable. In this case, other artificial intelligent algorithms (e.g., particle swarm optimization (PSO), genetic algorithm (GA)) may have to be used, which should be run offline.
Remark 2. To implement the proposed parameter estimation scheme, we need to measure the attitude of the quadrotors, e.g., and , to construct the parameterized form (5). In practical quadrotors, they can be obtained by using the configured transducers.
3. Simulation
In this section, the proposed method is applied to a quadrotor model for simulations. In order to complete the simulation, some parameters should be chosen for the quadrotor model (1), which are displayed in
Table 1.
The purpose of this paper is to estimate the parameters of quadrotors to enhance the stability and robustness of quadrotors. According to Equation (2), one knows that the parameters to be estimated are:
, and
. From
Table 1, we have
,
,
,
,
,
, and
. The other parameters used in the simulations can be set as
,
, and
.
Figure 2 shows the response of the estimated matrix
with the adaptive law (12), which implies that the estimated parameter converges to the true value
. In order to further verify the effectiveness of the proposed technology, the estimation error
of
is displayed in
Figure 3, which indicates that the estimation error
converges to zero in about
seconds. The flight trajectory of the quadrotor is also given in
Figure 4.
Figure 2 and
Figure 3 show that the proposed online adaptive estimation method is very effective, and the estimated parameters converge to their true values faster, which can contribute to enhancing the system stability and robustness of quadrotors.
4. Experimental Verification
In this section, experiments are conducted to validate the proposed method. The experimental equipment is shown in
Figure 5. In this case, the wireless serial port communication module and the serial port receiving terminal of the host computer are used to collect the attitude angle data. The main hardware components of the quadrotor include: a microcontroller (flying control board), a brushless motor, electrical adjustment (ESC), a propeller, a lithium battery, an MPU6050 (an acceleration sensor, a gyroscope, and a barometer, produced by InvenSense, Sunnyvale, CA, USA) receiver, a rack, and other components. The diagram of the structure of the adopted quadrotor is given in
Figure 6.
In this experimental study, we collected 977 groups of data for the control actions of the vertical direction
, roll direction
, pitch direction
, and the yaw direction
to validate the proposed method. The test environment’s temperature is
°C, and the environment humidity is about 30%. The sampling time is 0.005 ms. The parameters that need to be estimated are the same as those shown in
Table 1.
We can obtain the vertical direction, roll direction, pitch direction, and the yaw direction data via the wireless serial port communication module and the serial port receiving terminal of the host computer. Then, the obtained data is input into the proposed estimator to conduct the parameter estimation. The response of the estimated matrix
with the adaptive law (12) is given in
Figure 7, which shows that the estimated parameter converges to the true value
. In order to further verify the effectiveness of the proposed adaptive law, the estimation error
of
is given in
Figure 8, which indicates that the estimation error
converges to zero in about 1.2 s. Nevertheless, the flight trajectory of the quadrotor is given in
Figure 9, which indicates that the quadrotor is taking-off.