Skip to main content
Philosophical transactions. Series A, Mathematical, physical, and engineering sciences logoLink to Philosophical transactions. Series A, Mathematical, physical, and engineering sciences
. 2018 Jul 9;376(2126):20170248. doi: 10.1098/rsta.2017.0248

A wavelet neural control scheme for a quadrotor unmanned aerial vehicle

F Jurado 1,, S Lopez 1
PMCID: PMC6048581  PMID: 29986917

Abstract

Wavelets are designed to have compact support in both time and frequency, giving them the ability to represent a signal in the two-dimensional time–frequency plane. The Gaussian, the Mexican hat and the Morlet wavelets are crude wavelets that can be used only in continuous decomposition. The Morlet wavelet is complex-valued and suitable for feature extraction using the continuous wavelet transform. Continuous wavelets are favoured when high temporal and spectral resolution is required at all scales. In this paper, considering the properties from the Morlet wavelet and based on the structure of a recurrent high-order neural network model, a novel wavelet neural network structure, here called a recurrent Morlet wavelet neural network, is proposed in order to achieve a better identification of the behaviour of dynamic systems. The effectiveness of our proposal is explored through the design of a decentralized neural backstepping control scheme for a quadrotor unmanned aerial vehicle. The performance of the overall neural identification and control scheme is verified via simulation and real-time results.

This article is part of the theme issue ‘Redundancy rules: the continuous wavelet transform comes of age’.

Keywords: backstepping control, Morlet wavelet, quadrotor, recurrent wavelet neural network

1. Introduction

Wavelet analysis decomposes a general function or signal into a series of basis functions called wavelets, which have different frequency and time location. Wavelets have the ability to decompose a signal or a time series across different levels. As a result, this decomposition brings out the structure of the underlying signal, including periodicities, singularities, trends or jumps that cannot be observed in the original time series.

Wavelets are designed to have compact support in both time and frequency, giving them the ability to represent a signal in the two-dimensional time–frequency plane. The Haar wavelet, which has a discontinuity, was among the first ones to be conceived. The Morlet wavelet, also known as the Gabor wavelet, is complex-valued and suitable for feature extraction using the continuous wavelet transform (CWT), while Daubechies wavelets, which are discrete, real-valued and have compact support, are widely used in signal denoising and compression using the discrete wavelet transform. In general, the choice of a particular wavelet is usually driven by the application [1,2]. The Gaussian, the Mexican hat and the Morlet wavelets are crude wavelets that can be used only in continuous decomposition. The Morlet wavelet does not have compact support, meaning that it does not decay in finite time and therefore does not satisfy the admissibility condition. Thus, it is not a wavelet in the strictest sense [3]. The Morlet wavelet is simply a complex wave within a Gaussian envelope. Other types of wavelets that do not have Gaussian envelopes cannot be expected to improve on the time–frequency localization of the Morlet wavelet [4]. The Fourier transform of the Morlet wavelet is a Gaussian function centred at the frequency of oscillation of a mother wavelet. The Morlet wavelet has an additional parameter that enables us to control the width of the Gaussian envelope and hence the number of periods, a feature that is useful experimentally because this can be performed independently of the oscillation frequency. An important feature of the CWT is the ability to choose a wavelet that best suits the problem at hand [4]. Wavelet transform analysis has now been applied in the investigation of a multitude of diverse physical phenomena, from video image compression to the compression of medical signal records, from heart monitoring to the condition monitoring of rotating machinery, from seismic signal denoising to the denoising of astronomical signals and images, from climate analysis to the analysis of financial indices, from surface characterization to the characterization of turbulent intermittency, and so on [5]. The applications of wavelet transforms to a variety of pertinent problems in engineering include the analysis of fundamental dynamical behaviour and chaotic motions, machining processes, non-destructive testing of structural elements and the condition monitoring of machinery, and the characterization of surfaces and fibrous materials. The choice of the most appropriate wavelet for use in the analysis of a particular engineering problem depends on the nature of the data itself. Continuous wavelets are favoured when high temporal resolution is required at all scales [5]. A number of studies have been carried out over recent years concerning the application of wavelet-based analytical techniques to the investigation and modelling of dynamical systems. Applications include the evaluation of dynamic properties and system characteristics, the modelling and control of dynamical behaviour, and the partitioning or decoupling of multiple responses [6]. Additional details about theoretical aspects of CWTs, state-of-the-art examples of wavelet applications in modelling and control, and future directions on this branch are provided in [6,7].

Robotic arms are basically positioning systems; therefore, the trajectory tracking control problem for that kind of robot manipulator has been a challenging problem to be solved in recent years. In this regard, the field of artificial neural networks (ANNs) has been playing an interesting role and a great challenge in its implementation in real time. Neural control schemes in continuous time have been proposed using the filtered error (FE) algorithm as training law for a recurrent high-order neural network (RHONN) [8,9]. In these works, identification and control were carried out online at the same time. The wavelet neural networks (WNNs) structure arises from combining the wavelet concept with the ANNs approach in order to achieve a better identification performance [1017]. WNNs are a class of networks that combine the classical sigmoid neural networks and wavelet analysis. WNNs simultaneously possess the advantages of ANN learning ability and wavelet decomposition ability. Their applications and growth have come from many areas, including statistics, computer science, pattern recognition, communication and finance [18]. WNN-based control systems have been adopted widely for control of complex dynamical systems owing to their fast learning properties and good generalization capability. Moreover, recurrent wavelet neural networks (RWNNs), which combine properties such as dynamic response of recurrent neural networks and the fast convergence of WNNs, have been proposed to identify and control nonlinear systems [1926]. An intelligent control system using a recurrent wavelet-based Elman neural network for position control of a permanent magnet synchronous motor servo drive was proposed in [27]. In [28], a self-recurrent WNN structure was proposed in order to identify a synchronous generator and the nonlinearities introduced in the system due to actuator saturation. Some research has been carried out in real time with interesting results, such as in [29], where an adaptive RWNN uncertainty observer was proposed to estimate the required lumped uncertainty and a backstepping approach was used to control the motion of a linear synchronous motor drive system. In [30], an intelligent control system based on a four-layer RWNN comprising Gaussian wavelet functions was proposed to solve the trajectory tracking problem for an unmanned aerial vehicle (UAV). Adaptive tuning laws for the RWNN, trained via a gradient descent method, were derived using a sliding-mode approach. The performance of the intelligent controller was validated through simulation results.

The use of WNNs and RWNNs is not new in the literature [3135]; however, the implementation of these structures involves the use of multiple layers with multiple neurons. The use of offline training algorithms and some early applications in real time have generated a major motivation in the development of our proposal. The Gaussian and Mexican hat wavelets, together with classical sigmoid activation functions, are commonly used in the structure of WNNs and RWNNs. There is a lack of works about the use of the Morlet wavelet in the structure of WNNs. There are a few works about the use of WNNs and RWNNs in control theory. Most of the works about the use of WNNs and RWNNs are focused on estimation and time-series prediction [18]. For all of the above, here we explore the performance of the Morlet wavelet in the identification process of the dynamics of nonlinear systems. In this work, we propose a continuous-time wavelet neural identification scheme based on the structure of a RHONN model where classical activation functions are replaced by Morlet wavelet activation functions, i.e. classical sigmoid functions are excluded. The resulting structure has been called a recurrent Morlet wavelet neural network (RMWNN), also known as a recurrent wavelet first-order neural network, from which the design of a decentralized controller in order to solve the trajectory tracking problem for a quadrotor UAV is carried out using the backstepping approach. The training for the RMWNN is performed online in a series–parallel configuration using the FE algorithm, shaping a new neural structure of a single layer with a single neuron, where its capacity for identification of more complex dynamics increases with the implementation of the Morlet wavelet. The performance of the proposed scheme is validated via numerical simulation and experimental results. Besides, in this work also a decentralized RHONN controller for a quadrotor UAV is designed and taken as baseline controller. The backstepping controller derived from the RMWNN model is used because the structure for the RHONN model is considered as given in the same form as that for the RMWNN, namely in the form of a strict feedback system, but with sigmoid activation functions and high-order connections between them.

This paper is organized as follows: properties and applications of the CWT and the state of the art of WNNs have been provided above in this section; the fundamentals are described in §2; §3 provides the mathematical model for a quadrotor UAV and describes the design of the neural control scheme proposed via a backstepping approach; simulation and real-time results are provided in §4 in order to evaluate the viability of the wavelet neural control scheme proposed; and finally the conclusion is given in §5.

2. Fundamentals

(a). Recurrent Morlet wavelet neural network

Consider the RHONN model [36], where the state of each neuron is governed by a differential equation of the form

(a). 2.1

where xij is the state of the ith neuron, aij and bij are positive real constants, wijk is the kth adjustable synaptic weight connecting the jth state to the ith neuron, L represents the total number of weights used to identify the plant behaviour, and yj is the activation function for each one of the connections. Each yj is either an external input or the state of a neuron through a sigmoidal function, i.e. yj = s(xij), where s( · ) is a sigmoidal nonlinearity. In a recurrent second-order neural network, the total input to the neuron is not only a linear combination of the components yj; it may also be the product of two or more elements represented by triplets y1y2y3, quadruplets, etc. {I1, I2, …, IL} is a collection of L not-ordered subsets of {1, 2, …, i + j} and dj(k) are non-negative integers. This class of neural network forms a RHONN.

The input vector for each neuron is given by

(a). 2.2

where u = [u1 u2 · s uj] → p is the vector of external control inputs to the network; the superscript → p denotes the transposed vector.

Introducing an L-dimensional vector z, defined as

(a). 2.3

the RHONN model (2.1) can be rewritten as

(a). 2.4

Replacing now the vector z by a wavelet vector ψ and considering that higher-order terms will not be used, the RHONN model (2.1) can be rewritten as

(a). 2.5

Defining the adjustable parameter vector as wijk = bij[wij1 wij2 · s wijL] → p, so (2.5) becomes

(a). 2.6

where the vectors wijk represent the adjustable weights of the network, while the coefficients aij for i = 1, 2, …, n are part of the underlying network architecture and are fixed during training. The structure in the form (2.6) here is called a RMWNN.

To guarantee that each neuron xij is bounded-input bounded-output (BIBO) stable, we assume that aij > 0. The dynamic behaviour of the overall network is described by expressing (2.6) in vector notation as

(a). 2.7

where Inline graphic, Inline graphic and Inline graphic is a diagonal matrix. As aij > 0, ∀ i = 1, 2, …, n, A is Hurwitz.

This RMWNN, i.e. a neuron with a single connection of first order, is the most simple structure for a RHONN and is an expansion of the first-order Hopfield [37] and Cohen–Grossberg [38] models. The sigmoidal activation function s( · ) is replaced by the real version of the modified Morlet wavelet [39,40] of the form ψ(x) = ex2/βcos(λx), with parameters β and λ representing expansion and dilation, respectively. Properties of this wavelet function are described in [5,6].

(b). Approximation properties of the recurrent Morlet wavelet neural network

In the following, the problem of approximating a general nonlinear dynamical system by a RMWNN is described. The input–output behaviour of the system to be approximated is given by

(b). 2.8

where Inline graphic is the input to the system, Inline graphic is the state of the system and Inline graphic is a smooth vector field defined on a compact set Inline graphic, where i and j are constants. The approximation problem consists of determining, using the wavelet activation function for continuous time, if there exist weights wijk such that (2.6) approximates the input–output behaviour of an arbitrary dynamical system of the form (2.8). Assume that F( · ) is continuous and satisfies a local Lipschitz condition such that (2.8) has a unique solution and Inline graphic for all t in some time interval JT = {t:0≤tT}, where JT represents the time period over which the approximation is performed. From (2.1) and (2.2), it is clear that z(x, u) is in the standard polynomial expansion with the exception that each component of the vector x is preprocessed by a sigmoid function s( · ). As shown in [41], preprocessing of an input via a continuous invertible function does not affect the ability of a neural network to approximate continuous functions. Based on the above assumptions, the next theorem, which is strictly an existence result and does not provide any constructive method in order to obtain the optimal weights w*ijk, proves that if a sufficiently large number of weights are allowed in (2.6), then it is possible to approximate any dynamical system to any degree of accuracy.

Theorem 2.1

Suppose that the system (2.8) and the RMWNN model (2.6) are initially at the same state χij(0) = xij(0). Then, for any ε > 0 and any finite T > 0 there exists an integer L and a vector Inline graphic such that the state xij(t) of the RMWNN model (2.6), with L number of weights whose values wijk = w*ijk, satisfies:

Theorem 2.1

Proof. —

See [42]. ▪

(c). Filtered error training algorithm

Under the assumption that the unknown system is exactly modelled by a RMWNN architecture of the form (2.6), the weight adjustment law and the FE training algorithm for this RMWNN are next summarized. Based on the assumptions of no modelling error, there exist unknown weight vectors w*ijk such that each state χij of the unknown dynamical system (2.8) satisfies

(c). 2.9

where χij0 is the initial state of the system. As is standard in systems identification procedures, in this paper it is assumed that the input ui(t) and the state χij(t) remain bounded for all t≥0. Based on the definition for ψijk(χij, ui) given by (2.3), this implies that ψijk(χij, ui) is also bounded. In the sequel, unless there exists confusion, the arguments of the vector field ψ will be omitted. Next, the approach for estimating the unknown parameters w*ijk of the RMWNN model (2.9) is described.

Considering (2.9) as the differential equation describing the dynamics of the unknown system, the identifier structure is chosen with the same form as in (2.6), where wijk is the estimate of the unknown weight vector w*ijk. From (2.6) and (2.9), the identification error ξij = xij − χij satisfies

(c). 2.10
(c). 2.11

which can be rewritten as

(c). 2.12

where Inline graphic denotes the parametric error [43]. The weights wijk are adjusted according to the learning law

(c). 2.13

where the adaptive gain Inline graphic is a positive definite matrix. Stability and convergence properties for the weight adjustment law given above are analysed in [44]. The following theorem establishes that this identification scheme has convergence properties with the gradient method for adjusting the weights.

Theorem 2.2 —

Consider the filtered error RMWNN model given by (2.12), whose weights are adjusted according to (2.13). Then

  • (i) ξij, Inline graphic (i.e. ξij and Inline graphic are uniformly bounded);

  • (ii) Inline graphic.

Proof. —

See [45]. ▪

3. Neural backstepping controller design

In this work, a miniature four-rotor helicopter is considered, having two of these rotors rotating clockwise, and two rotating anticlockwise. Each rotor consists of a direct current brushless motor with propeller. Forward motion is accomplished by increasing the speed of the rear rotor while simultaneously reducing the forward rotor by the same amount. Backward, leftward and rightward motion can be accomplished in the same way. Finally, yaw motion can be performed by accelerating the two clockwise-turning rotors, while decelerating the anticlockwise ones.

The equations describing the attitude and position of a quadrotor are those of a rotating rigid body with six degrees of freedom [46]. They can be separated into kinematic and dynamic equations [47]. The dynamic equations can be obtained around the centre of mass

3. 3.1

and

3. 3.2

where mq denotes the quadrotor mass, Vb is the velocity in the body frame, ω is the angular rate of the quadrotor, J = diag{Jx, Jy, Jz} is the inertia matrix, the external force Inline graphic takes into account the quadrotor weight, the total thrust and the aerodynamic force, whereas the external torque Inline graphic considers the difference of thrust and torque exerted by the two pairs of rotors as well as the aerodynamic moment vector.

The equations of motion for a quadrotor, assuming low speeds, are given by Bouabdallah et al. [48] as

3. 3.3
3. 3.4
3. 3.5
3. 3.6
3. 3.7
3. 3.8

Here x, y and z are the coordinates of the centre of mass in the inertial frame; θ, ϕ and ψ are Euler angles representing pitch, roll and yaw, respectively; s( · ) and c( · ) denote the sin( · ) and cos( · ) functions; Jx, Jy and Jz are moments of inertia in the directions of the three-dimensional Cartesian coordinates; l represents the distance between the rotors with respect to the centre of mass (centre of gravity) of the quadrotor; ϖr = − ϖ1 + ϖ2 − ϖ3 + ϖ4 is the sum of angular velocity of the rotors; and Jr represents the inertia of the rotating rotors, which is considered the same parameter for all four motors.

Consider that the system (3.3)–(3.8) can be divided into N subsystems of the form [49]

3. 3.9

where i = 1, 2, …, N, Inline graphic only depends on local variables, Inline graphic represents interconnection effects, χi1, Inline graphic represents the position and velocity from the ith subsystem, respectively, Inline graphic is the input for each subsystem, Inline graphic is the state vector of the system and Inline graphic is the input vector of the system. For this purpose, the governing equations can be expressed in the state equation through the selection of a set of state variables given by

3. 3.10

Then, the system dynamics can be divided in a decentralized way as

3. 3.11
3. 3.12
3. 3.13
3. 3.14
3. 3.15
3. 3.16

Thus, the neural identification problem for the whole system can be simplified through the use of six second-order subsystems, namely one second-order subsystem for each coordinate.

In this work, as a continuation of [43], a decentralized RMWNN trained via FE algorithm (2.12) with weights adjustment law (2.13) is proposed for identification and control of a quadrotor UAV. From (2.6), the decentralized RMWNN model is given as follows:

3. 3.17

with k = 1 for the wijkψijk( · ) term, where j = 1, 2 is for the number of states of the ith RMWNN model; χi1 represents the measurable local translational (angular) position and χi2 is for the calculated local translational (angular) velocity; ui is the control input. It must be noted that this decentralized neural scheme is in the form of a strict feedback system; then, the use of the backstepping approach is suitable for the design of the neural controller. For each ith subsystem, the identification error between the neural identifier and the coordinate is defined as ξi1 = xi1 − χi1 for the translational (angular) position and ξi2 = xi2 − χi2 for the translational (angular) velocity. To update online the synaptic weights, the adaptive learning laws are given by

3.

and

3.

with Γijk > 0 as the adaptive gain and

3.

and

3.

with β1 = β2 = 20 and λ1 = λ2 = 0.01.

Next, our objective is to design a feedback control law ui to force the system output to follow a desired trajectory. The decentralized neural control scheme is based on the following.

Denoting ξi = |χi − xi| as the identification error and the trajectory tracking error between the states of the neural network for position and the desired trajectory as ϵi = |xi − χid|, the output tracking error is rewritten as

3. 3.18

Consequently, the error dynamics is given as

3. 3.19

Proposing the Lyapunov-like function

3.

that stabilizes ξi, then the time derivative Inline graphic of Vi( · ) is given by

3.

which evaluated along the trajectories (2.12) and (2.13) becomes

3. 3.20

Now, from the neural structure (3.17) proposed, we proceed with the design of the controller that stabilizes ϵi. To this end, defining the trajectory tracking errors of the RMWNN as

3. 3.21

the error dynamics are given by

3. 3.22

and

3. 3.23

From (3.22), considering ϵi2 as virtual control input, we proceed with the design of a control ϵi2 = αi2 in order to stabilize the origin ϵi1 = 0.

Therefore, choosing

3. 3.24

the nonlinear terms are cancelled. Consequently,

3. 3.25

Now, proposing the augmented Lyapunov-like function

3. 3.26

the time derivative of (3.26) is given by

3. 3.27

From (3.25), (3.27) can be written as

3. 3.28

or equivalently

3. 3.29

Thus, the origin of Inline graphic is globally exponentially stable.

From the backstepping approach, applying the variable change

3. 3.30

then

3. 3.31

Substituting (3.31) in (3.22) yields

3. 3.32

Continuing with the backstepping approach, the time derivative of (3.24) results in

3. 3.33

From (3.32), (3.33) can be written as

3. 3.34

The time derivative of (3.30) gives

3. 3.35

From (3.23) and (3.34), (3.35) is written as

3. 3.36

Thus, from (3.32) and (3.36), the system takes the form

3. 3.37

and

3. 3.38

Proposing the augmented Lyapunov-like function

3.

its time derivative, along the trajectories (3.37)–(3.38), is then given by

3.

Expanding and rearranging terms yields

3.

Thus, selecting the control law as

3. 3.39

it yields

3.

Hence, the control law (3.39) asymptotically stabilizes the system.

The block diagram for the decentralized Morlet wavelet neural controller, proposed here, is shown in figure 1. Figure 2 shows the block diagram for the RMWNN controller.

Figure 1.

Figure 1.

Decentralized Morlet wavelet neural control scheme. (Online version in colour.)

Figure 2.

Figure 2.

RMWNN controller. (Online version in colour.)

4. Results

In this work, the Unmanned Vehicle Systems (UVS) Laboratory from Quanser is used as experimental set-up [50]. The QBall 2 is a quadrotor helicopter enclosed in a carbon fibre cage to protect the vehicle, ensuring safe operation in an indoor laboratory environment (figure 3). To measure on-board sensors and drive motors, the QBall 2 uses Quanser's on-board avionics data acquisition card and a wireless embedded computer. The QBall 2 operates using a host–target structure. The controllers are developed on the ground station computer (host) using Matlab/Simulink. The QUARC control software downloads real-time code from the host to the QBall 2 embedded computer (target), and allows users to run, modify and monitor the code remotely from the host. The controllers on-board the QBall 2 are open architecture and fully modifiable. The position of the QBall 2 in the workspace is tracked and accurately measured using an infrared camera localization system, fully integrated with QUARC. The parameters of the QBall 2 are given as Jx = Jy = 0.03 kg m2, Jz = 0.04 kg m2, l = 0.2 m and mq = 1.79 kg [51].

Figure 3.

Figure 3.

The Unmanned Vehicle Systems (UVS) Laboratory from Quanser provides a turn-key, integrated environment for exploring a wide range of advanced research applications. Integrating the Quanser QBall 2 system with additional QBall and QBot ground robot units allows researchers to build a flexible, open architecture, multi-agent platform for research. Image used with permission from Quanser.

First, the performance of the decentralized RMWNN control scheme is evaluated through numerical simulation. To compare the performance of the RMWNN control scheme, a decentralized RHONN control scheme is also proposed here. Figure 4 shows the trajectory tracking task performed by the quadrotor UAV under both decentralized neural control schemes. The reference trajectory is defined by χx1d = 0.5cos(0.251t) and χy1d = 0.5sin(0.251t). Table 1 exhibits the mean squared errors (MSEs) from the online identification of the quadrotor's dynamics during the performance of the circular trajectory tracking task. It can be seen from table 1 that the decentralized control based on RMWNNs exhibits the smallest values for the MSEs. From table 2, it can be seen that the performance for trajectory tracking is better under the decentralized control scheme using RMWNNs in contrast with that using RHONNs. Figure 5 shows the tracking task performed by the quadrotor UAV under both decentralized neural control schemes but for a square-shaped trajectory. For this latter task, a second-order low-pass filter, with damping ratio of 0.9 and natural frequency of 0.55, is used to the reference trajectories χx1d and χy1d in order to minimize the effect of its derivatives. Table 3 exhibits the MSEs from the online identification of the quadrotor's dynamics during the performance of the square-shaped trajectory tracking task. It can be seen from table 3 that the decentralized RMWNNs controller exhibits the smallest values for the MSEs with the exception of the z- and ψ-coordinates. From table 4, it can be seen that the performance for the tracking task when describing a square-shaped trajectory is also better under the decentralized control scheme when using RMWNNs. From figure 6, it can be seen that the decentralized RMWNN control scheme performs well in spite of the presence of a disturbance occurring at 10 s for the roll angle, measurement noise from 20 to 30 s for the pitch angle and parametric variation of 15% for Jz, from its nominal value, occurring at 35 s and beyond.

Figure 4.

Figure 4.

(a) Circular trajectory tracking performed by the decentralized neural controllers and (b) dynamics of the attitude angles.

Table 1.

MSEs from the identification of the quadrotor's dynamics during the performance of circular trajectory tracking.

subsystem
control scheme x y z θ ϕ ψ
via RMWNNs 0.000213 0.000171 0.001289 0.000112 0.000085 0.000097
via RHONNs 0.003908 0.003906 0.008341 0.003905 0.003892 0.008178

Table 2.

MSEs from the circular trajectory tracking.

subsystem
control scheme x y z θ ϕ ψ
via RMWNNs 0.075974 0.004960 0.111253 0.003503 0.002553 0.000274
via RHONNs 0.068455 0.022092 0.111574 0.006181 0.004629 0.007953

Figure 5.

Figure 5.

(a) Square-shaped trajectory tracking performed by the decentralized neural controllers and (b) dynamics of the attitude angles.

Table 3.

MSEs from the identification of the quadrotor's dynamics during the performance of square-shaped trajectory tracking.

subsystem
control scheme x y z θ ϕ ψ
via RMWNNs 0.000155 0.000155 0.001001 0.000038 0.000033 0.000101
via RHONNs 0.003025 0.003021 0.001001 0.003015 0.003012 0.000101

Table 4.

MSEs from the square-shaped trajectory tracking.

subsystem
control scheme x y z θ ϕ ψ
via RMWNNs 0.002440 0.002872 0.086096 0.002018 0.002119 0.000223
via RHONNs 0.005785 0.004694 0.086096 0.003100 0.003013 0.000223

Figure 6.

Figure 6.

(a) Square-shaped trajectory tracking performed by the decentralized RMWNN controller when considering the presence of disturbance, measurement noise and uncertainty and (b) dynamics of the attitude angles.

Second, the performance in real time of the decentralized neural controller based on RMWNNs for the case in which the quadrotor UAV must describe an upward vertical displacement until it reaches a reference value for hover condition, maintain a constant height for a while, and then go back to the starting point is shown in figures 711. Figure 7 shows the dynamics described by the quadrotor UAV when pursuing the task of interest. From figure 8, it can be seen that there is no significant deviation from the x-coordinate. However, a deviation of about 20 cm from the y-coordinate is present when reaching the desired height. Figure 9 shows the error signal for the x- and y-coordinates. Figure 10 shows the error signal for the z-coordinate. It can be seen that the decentralized RMWNN controller reaches the desired height for hover condition, maintaining the flight during 6 s. Also, from figure 10, it can be seen that the control signal is proportional to the weight of the QBall 2, i.e. uz is the required thrust to maintain the quadrotor UAV in flight and it is obtained from the control law related to the neural subsystem for the z-coordinate. Figure 11 shows that the error signal for the yaw angle exhibits a slight deviation from zero. Figures 12 and 13 show the error signal for the pitch and roll angle, respectively. It should be noted that regulation of the θ- and ϕ-coordinates could not be achieved through their respective RMWNN controllers; instead sliding-mode controllers, where the angular velocity from the yaw angle is taken into account in one of its terms, are used for these subsystems. In spite of the error signal for the yaw angle showing a slight deviation from zero (figure 11), its amplitude is almost the same in comparison with that for the roll angle. Table 5 shows the MSEs from performing the tracking task in real time.

Figure 7.

Figure 7.

Real-time trajectory tracking performed by the decentralized RMWNN controller.

Figure 11.

Figure 11.

(a) Error signal for the angular coordinate ψ and (b) control signal for the yaw movement.

Figure 8.

Figure 8.

(a) Real-time translational displacement by the decentralized RMWNN controller in the (x, z)-plane; (b) real-time translational displacement by the decentralized RMWNN controller in the (y, z)-plane.

Figure 9.

Figure 9.

(a) Error signal for the x-coordinate and (b) error signal for the y-coordinate.

Figure 10.

Figure 10.

(a) Error signal for the z-coordinate and (b) control signal for the vertical thrust.

Figure 12.

Figure 12.

(a) Error signal for the angular coordinate θ and (b) control signal for the pitch movement.

Figure 13.

Figure 13.

(a) Error signal for the angular coordinate ϕ and (b) control signal for the roll movement.

Table 5.

MSEs from the real-time trajectory tracking.

subsystem
x y z ψ
0.018176 0.130199 0.156589 0.038071

5. Conclusion

From the simulation results presented here, it is shown that our proposed method achieves an improved identification of the quadrotor's dynamics in contrast with one based on RHONNs, i.e. our method exhibits a faster response and smaller identification errors. Also, it requires small adaptation gain values in contrast to those for the RHONN scheme. The real-time results indicate that the decentralized RMWNN controller exhibits good performance for the z- and x-coordinates. However, an offset for the y-coordinate was present when reaching the desired height. This offset could not be cancelled, so the performance of our controller does not seem so good. The decentralized RMWNN controller shows a slight deviation from the ψ-coordinate. It should be noted that the θ- and ϕ-coordinates could not be controlled by the decentralized RMWNN controller; sliding-mode controllers were used for these subsystems. As is common, in practice, in this work the control for three translational coordinates and one rotational coordinate is achieved in contrast to those where the control for three rotational coordinates and one translational coordinate is reported. Hence, the real-time results validate the viability of the proposed continuous-time decentralized wavelet neural control scheme reported here.

Acknowledgments

The authors thank R. Falcón for his assistance with the Unmanned Vehicle Systems Lab operation from Quanser.

Data accessibility

This article has no additional data.

Author's contributions

S.L. designed the study, carried out the experiments and performed the data analysis. F.J. conceived of and designed the study, performed the data analysis and drafted the manuscript. Both authors read and approved the manuscript.

Competing interests

The authors declare that they have no competing interests.

Funding

This work was supported by CONACYT, Mxico, and by TecNM Projects.

References

  • 1.Gao R, Yan R. 2010. Wavelets: theory and applications for manufacturing. New York, NY: Springer. [Google Scholar]
  • 2.Mallat S. 1999. A wavelet tour of signal processing, 2nd edn San Diego, CA: Academic Press. [Google Scholar]
  • 3.Tangirala AK. 2015. Principles of system identification: theory and practice. Boca Raton, FL: CRC Press. [Google Scholar]
  • 4.Watkins LR. 2015. Continuous wavelet transforms. In Phase estimation in optical interferometry (eds P Rastogi, E Hack), pp. 69–120. Boca Raton, FL: CRC Press. [Google Scholar]
  • 5.Addison PS. 2002. The illustrated wavelet transform handbook: introductory theory and applications in science, engineering, medicine and finance. New York, NY: Taylor & Francis. [Google Scholar]
  • 6.Addison PS. 2017. The illustrated wavelet transform handbook: introductory theory and applications in science, engineering, medicine and finance, 2nd edn Boca Raton, FL: CRC Press. [Google Scholar]
  • 7.Tangirala AK, Mukhopadhyay S, Tiwari AP. 2013. Wavelets applications in modeling and control. In Control and optimisation of process systems (ed. S Pushpavanam), Advances in Chemical Engineering, vol. 43, pp. 107–204. Amsterdam, The Netherlands: Academic Press ( 10.1016/B978-0-12-396524-0.00003-9) [DOI] [Google Scholar]
  • 8.Alvarez RS, Castañeda CE, Jurado F, Morfín O, Esquivel P. 2015. Real-time results for high order neural identification and block control transformation form using high order sliding modes. Asian J. Control 18, 1–17. ( 10.1002/asjc.1139) [DOI] [Google Scholar]
  • 9.Vázquez LA, Jurado F, Castañeda CE, Santibáñez V. 2018. Real–time decentralized neural control via backstepping for a robotic arm powered by industrial servomotors. IEEE Trans. Neural Netw. Learning Syst. 29, 419–426. ( 10.1109/TNNLS.2016.2628038) [DOI] [PubMed] [Google Scholar]
  • 10.Lin CM, Lin MH, Yeh RG. 2013. Synchronization of unified chaotic system via adaptive wavelet cerebellar model articulation controller. Neural Comput. Appl. 23, 965–973. ( 10.1007/s00521-012-1021-3) [DOI] [Google Scholar]
  • 11.Masoumi HRF, Basri M, Kassim A, Abdullah DK, Abdollahi Y, Gani SSA. 2014. Comparison of estimation capabilities of the artificial neural network with the wavelet neural network in lipase-catalyzed synthesis of triethanolamine-based esterquats cationic surfactant. J. Surfactants Detergents 17, 287–294. ( 10.1007/s11743-013-1539-0) [DOI] [Google Scholar]
  • 12.Darajeh N, Masoumi HRF, Kalantari K, Ahmad MB, Shameli K, Basri M, Khandanlou R. 2015. Optimization of process parameters for rapid adsorption of Pb(II), Ni(II), and Cu(II) by magnetic/talc nanocomposite using wavelet neural network. Res. Chem. Intermediates 42, 1977–1987. ( 10.1007/s11164-015-2129-8) [DOI] [Google Scholar]
  • 13.Solhmirzaei A, Azadi S, Kazemi R. 2012. Road profile estimation using wavelet neural network and 7-DOF vehicle dynamic systems. J. Mech. Sci. Technol. 26, 3029–3036. ( 10.1007/s12206-012-0812-x) [DOI] [Google Scholar]
  • 14.Cordova J, Yu W. 2012. Two types of Haar wavelet neural networks for nonlinear system identification. Neural Process. Lett. 35, 283–300. ( 10.1007/s11063-012-9218-0) [DOI] [Google Scholar]
  • 15.Capizzi G, Napoli C, Bonanno F. 2012. Innovative second-generation wavelets construction with recurrent neural networks for solar radiation forecasting. IEEE Trans. Neural Netw. Learning Syst. 23, 1805–1815. ( 10.1109/TNNLS.2012.2216546) [DOI] [PubMed] [Google Scholar]
  • 16.Banakar A, Azeem MF. 2012. Local recurrent sigmoidal-wavelet neurons in feed-forward neural network for forecasting of dynamic systems: theory. Appl. Soft Comput. 12, 1187–1200. ( 10.1016/j.asoc.2011.10.019) [DOI] [Google Scholar]
  • 17.Tofighi M, Alizadeh M, Ganjefar S, Alizadeh M. 2015. Direct adaptive power system stabilizer design using fuzzy wavelet neural network with self-recurrent consequent part. Appl. Soft Comput. 28, 514–526. ( 10.1016/j.asoc.2014.12.013) [DOI] [Google Scholar]
  • 18.Alexandridis AK, Zapranis AD. 2014. Wavelet neural networks with applications in financial engineering, chaos, and classification. Hoboken, NJ: John Wiley & Sons, Inc. [Google Scholar]
  • 19.Lin CH. 2014. Hybrid recurrent wavelet neural network control of PMSM servo-drive system for electric scooter. Int. J. Control, Autom. Syst. 12, 177–187. ( 10.1007/s12555-012-0190-2) [DOI] [Google Scholar]
  • 20.Lee CH, Chang HH. 2014. Output recurrent wavelet neural network-based adaptive backstepping controller for a class of MIMO nonlinear non-affine uncertain systems. Neural Comput. Appl. 24, 1035–1045. ( 10.1007/s00521-012-1326-2) [DOI] [Google Scholar]
  • 21.Ganjefar S, Rezaei S, Pourseifi M. 2015. Self-adaptive vibration control of simply supported beam under a moving mass using self-recurrent wavelet neural networks via adaptive learning rates. Meccanica 50, 2879–2898. ( 10.1007/s11012-015-0174-4) [DOI] [Google Scholar]
  • 22.Malekzadeh M, Sadati J, Alizadeh M. 2015. Adaptive PID controller design for wing rock suppression using self-recurrent wavelet neural network identifier. Evolving Syst. 7, 267–275. ( 10.1007/s12530-015-9143-3) [DOI] [Google Scholar]
  • 23.Ganjefar S, Tofighi M. 2015. Single-hidden-layer fuzzy recurrent wavelet neural network: applications to function approximation and system identification. Inform. Sci. 294, 269–285. ( 10.1016/j.ins.2014.09.054) [DOI] [Google Scholar]
  • 24.Chen SY, Hung YC, Hung YH, Wu CH. 2015. Application of a recurrent wavelet fuzzy-neural network in the positioning control of a magnetic-bearing mechanism. Comput. Electr. Eng. 2015, 1–12. ( 10.1155/2015/902591) [DOI] [Google Scholar]
  • 25.Chao W, Qiang G, Yuanlong H, Runmin H, Hao M. 2016. Adaptive complementary fuzzy self-recurrent wavelet neural network controller for the electric load simulator system. Adv. Mech. Eng. 8, 1–12. ( 10.1177/1687814016639250) [DOI] [Google Scholar]
  • 26.Lin CJ, Peng CC, Chen CH, Lin HY. 2015. A self-organizing recurrent wavelet neural network for nonlinear dynamic system identification. Appl. Math. 9, 125–132. ( 10.12785/amis/091L16) [DOI] [Google Scholar]
  • 27.Fayez F, El-Sousy M. 2013. Intelligent optimal recurrent wavelet Elman neural network control system for permanent-magnet synchronous motor servo drive. IEEE Trans. Ind. Inform. 9, 1986–2003. ( 10.1109/TII.2012.2230638) [DOI] [Google Scholar]
  • 28.Sharma M, Verna A. 2010. Adaptive tracking control for a class of uncertain non-affine delayed systems subjected to input constraints using self recurrent wavelet neural networks. In Proc. 2010 Int. Conf. on Advances in Recent Technologies in Communication and Computing (ARTCom), Kottayam, India, 16–17 October, pp. 60–65. Washington, DC: IEEE Computer Society ( 10.1109/ARTCom.2010.47) [DOI] [Google Scholar]
  • 29.Lin CH, Wong WJ. 2013. Robust backstepping RWNN control for a linear synchronous motor drive. In Proc. 2013 IEEE 10th Int. Conf. on Power Electronics and Drive Systems (PEDS), Kitakyushu, Japan, 22–25 April, pp. 695–700. New York, NY: IEEE ( 10.1109/PEDS.2013.6527107) [DOI] [Google Scholar]
  • 30.Chih ML, Ching F, Chang C. 2014. Intelligent control system design for a UAV using a recurrent wavelet neural network. Neural Comput. Appl. 24, 487–496. ( 10.1007/s00521-012-1242-5) [DOI] [Google Scholar]
  • 31.Zhang Q, Benveniste A. 1992. Wavelet networks. IEEE Trans. Neural Netw. 3, 889–898. ( 10.1109/72.165591) [DOI] [PubMed] [Google Scholar]
  • 32.Coca D, Billings SA. 1997. Continuous-time system identification for linear and nonlinear systems using wavelet decompositions. Int. J. Bifurc. Chaos 7, 87–96. ( 10.1142/S0218127497000066) [DOI] [Google Scholar]
  • 33.Liu GP, Billings SA, Kadirkamanathan V. 1998. Nonlinear system identification using wavelet networks. In UKACC Int. Conf. on Control (Control '98), Swansea, UK, 1–4 September, IET Conf. Publ. No. 455, pp. 1248–1253. Stevenage, UK: Institution of Engineering and Technology ( 10.1049/cp:19980406) [DOI] [Google Scholar]
  • 34.Liu GP, Billings SA, Kadirkamanathan V. 2000. Identification of nonlinear dynamical systems using wavelet networks. Int. J. Syst. Sci. 31, 1531–1541. ( 10.1080/00207720050217304) [DOI] [Google Scholar]
  • 35.Iyengar SS, Cho EC, Phoha VV. 2002. Foundations of wavelet networks and applications. Boca Raton, FL: CRC Press. [Google Scholar]
  • 36.Rovithakis GA, Christodoulou MA. 2000. Adaptive control with recurrent high–order neural networks. London, UK: Springer. [Google Scholar]
  • 37.Hopfield JJ. 1984. Neurons with graded response have collective computational properties like those of two-state neurons. Proc. Natl Acad. Sci. USA 81, 3088–3092. ( 10.1073/pnas.81.10.3088) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Cohen MA, Grossberg S. 1983. Absolute stability of global pattern formation and parallel memory storage by competitive neural networks. IEEE Trans. Syst. Man Cybern. SMC-13, 815–826. ( 10.1109/TSMC.1983.6313075) [DOI] [Google Scholar]
  • 39.Addison PS, Watson JN, Feng T. 2002. Low oscillation complex wavelets. J. Sound Vib. 254, 733–762. ( 10.1006/jsvi.2001.4119) [DOI] [Google Scholar]
  • 40.Mi X, Ren H, Ouyang Z, Wei W, Ma K. 2005. The use of the Mexican hat and the Morlet wavelets for detection of ecological patterns. Plant Ecol. 179, 1–19. ( 10.1007/s11258-004-5089-4) [DOI] [Google Scholar]
  • 41.Cotter NE. 1990. The Stone–Weierstrass theorem and its application to neural networks. IEEE Trans. Neural Netw. 1, 290–295. ( 10.1109/72.80265) [DOI] [PubMed] [Google Scholar]
  • 42.Vázquez LA, Jurado F, Alanís AY. 2015. Decentralized identification and control in real-time of a robot manipulator via recurrent wavelet first-order neural network. Math. Probl. Eng. 2015, 451049 ( 10.1155/2015/451049) [DOI] [Google Scholar]
  • 43.Vázquez LA, Jurado F. 2014. Continuous-time decentralized wavelet neural control for a 2 DOF robot manipulator. In Proc. 2014 11th Int. Conf. on Electrical Engineering, Computing Science and Automatic Control (CCE), Campeche, Mexico, 29 September–3 October, 6pp. New York, NY: IEEE ( 10.1109/ICEEE.2014.6978295) [DOI] [Google Scholar]
  • 44.Ioannou PA, Datta AM. 1995. Robust adaptive control: a unified approach. Proc. IEEE 79, 1736–1768. ( 10.1109/5.119551) [DOI] [Google Scholar]
  • 45.Kosmatopoulos EB, Polycarpou MM, Christodoulou MA, Ioannou PA. 1995. High-order neural network structures for identification of dynamical systems. IEEE Trans. Neural Netw. 6, 422–431. ( 10.1109/72.363477) [DOI] [PubMed] [Google Scholar]
  • 46.Etkin B, Reid LD. 1996. Dynamics of flight: stability and control, 3rd edn New York, NY: John Wiley & Sons. [Google Scholar]
  • 47.Neijmeijer H, van der Schaft A. 1990. Nonlinear dynamical control systems. New York, NY: Springer. [Google Scholar]
  • 48.Bouabdallah S, Murrieri P, Siegwart R. 2004. Design and control of an indoor micro quadrotor. In Proc. IEEE Int. Conf. on Robotics and Automation, 2004 (ICRA '04), New Orleans, USA, 26 April–1 May 2004, pp. 4393–4398. New York, NY: IEEE ( 10.1109/ROBOT.2004.1302409) [DOI] [Google Scholar]
  • 49.Sanchez EN, Gaytan A, Saad M. 2006. Decentralized neural identification and control for robotics manipulators. In Proc. 2006 IEEE Conf. on Computer Aided Control System Design, 2006 IEEE Int. Conf. on Control Applications, 2006 IEEE Int. Symp. on Intelligent Control, Munich, Germany, 4–6 October, pp. 1614–1619. New York, NY: IEEE ( 10.1109/CACSD-CCA-ISIC.2006.4776882) [DOI] [Google Scholar]
  • 50.Quanser, Inc. 2016. QBALL 2. See https://www.quanser.com/wp-content/uploads/2017/03/QBall-2-Datasheet-v1.2.pdf. [Google Scholar]
  • 51.Quanser, Inc. 2014. User Manual QBall 2 for QUARC. Quanser, Inc., Markham, Ontario, Canada. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

This article has no additional data.


Articles from Philosophical transactions. Series A, Mathematical, physical, and engineering sciences are provided here courtesy of The Royal Society

RESOURCES