## Abstract

This paper presents the application of fractional order time-delay adaptive neural networks to the trajectory tracking for chaos synchronization between Fractional Order delayed plant, reference and fractional order time-delay adaptive neural networks. For this purpose, we obtained two control laws and laws of adaptive weights online, obtained using the fractional order Lyapunov-Krasovskii stability analysis methodology. The main methodologies, on which the approach is based, are fractional order PID the fractional order Lyapunov-Krasovskii functions methodology, although the results we obtain are applied to a wide class of non-linear systems, we will apply it in this chapter to a bipedal robot. The structure of the biped robot is designed with two degrees of freedom per leg, corresponding to the knee and hip joints. Since torso and ankle are not considered, it is obtained a 4-DOF system, and each leg, we try to force this biped robot to track a reference signal given by undamped Duffing equation. To verify the analytical results, an example of dynamical network is simulated, and two theorems are proposed to ensure the tracking of the nonlinear system. The tracking error is globally asymptotically stabilized by two control laws derived based on a Lyapunov-Krasovskii functional.

### Keywords

- biped robot
- fractional time-delay adaptive neural networks
- fractional order PID control
- fractional Lyapunov-Krasovskii functions
- trajectory tracking

## 1. Introduction

Fractional calculus is a generalization of differential and integral calculus which involves generalized functions. The first to work this new branch of mathematics was Leibniz. Due to the growing interest in the applications of fractional calculation, in this work we obtain conditions that guarantee the tracking of trajectories of nonlinear systems generated by differential equations of fractional order which we will call plants (This term is widely used in engineering), which in our case will be a mechanical arm, a helicopter, a plane or limbs of a humanoid, all of fractional order.

The problem of tracking control of trajectories is very important, since the control function allows the non-linear system to carry out a previously assigned task, work or trajectory, for example, a mechanical arm and its objective is to cut a piece with a previously generated form, or the coupling of two aircraft in space.

In this chapter we use adaptive recurrent neural networks with time delay, since its use allows us to work with systems whose mathematical model is unknown and with the presence of uncertainties, this is a well-known problem of robust control.

We include mathematical models with time delay, since the processing and transmission of information is important in this type of systems, which depending on the delay, these systems can generate undesirable oscillatory or chaotic dynamics, and cause instability in the mathematical model that describes the trajectory tracking error.

The chapter is organized as follows: first, the general mathematical model of non-linear systems is proposed, as a second part, the Neural Network is proposed that will adapt to the non-linear system and the reference signal that both must follow, as a third part obtains the dynamics of the tracking error between the non-linear system and the reference, after obtaining conditions in the laws of adaptation of weights in the Neural Network and obtaining the control law that guarantees that the tracking error converges to zero, so that the non-linear system will follow the indicated reference signal, which is what was wanted to be demonstrated. Finally simulations are presented, which illustrate the theoretical results previously demonstrated. The proposed new control scheme is applied via simulations to control of a 4-DOF Biped Robot [1].

We use the scheme of Figure 1 to indicate the procedure used in the obtaining of the laws of adaptation of weights and the laws of control that guarantee that the tracking error between the non-linear system, the neural network and the reference signal converges to zero.

## 2. Time-delay adaptive neural network and the reference

### 2.1 List of variables

There are several ways to define the fractional calculation, in this research we will use the well-known derivative of Caputo, which has the following notation:

The nonlinear system, Eq. (2), which is forced to follow a reference signal:

The differential equation will be modeled by the neural network [2]:

The tracking error between these two systems:

We use the next hypotheses.

In this research we will use

The nonlinear system is [3]:

where the

## 3. Tracking error problem

In this part, we will analyze the trajectory tracking problem generated by

are the state space vector, input vector and

To achieve our goal of trajectory tracking, we propose the error between the plant and the reference as:

Let

The time derivative of the error is:

Eq. (8), can be rewritten as follows, adding and subtracting, the next terms

The unknown plant will follow the fractional order reference signal, if:

where

Now,

If

And by replacing Eq. (13) in Eq. (12), we have:

And:

So, the result for

and Eq. (14), is simplified:

Taking into account that

Now, the problem is to find the control law

## 4. Study of trajectory tracking error

Our mathematical model of the dynamics in the tracking error is described in (17). In this equation we can see that an equilibrium state of this system is

Without loss of generality we can assume that the matrix

For the study of the stability of the tracking error we propose the following PID control law [4], widely used in science and engineering.

We will determine conditions in the parameters that guarantee that the tracking error converges to zero, and we will also use the following control law [5].

We also include the following control law,

Substituting Eq. (18) in Eq. (17):

then

If

And if

We will show, the new state

Let

The fractional order time derivative of (22) along the trajectories of Eq. (21) is:

In this part, we select the next learning law from the neural network weights as in [10, 11]:

Then Eq. (24) is reduced to

Next, let us consider the following inequality proved in [12]

Which holds for all matrices

we get

Here, we select

From the previous inequality, we need to guarantee that Eq. (29) is less than zero, for which we select,

The control law is given by Eq. (30)

**Theorem:** The control law Eq. (30) and the neuronal adaptation law given by Eq. (25) guarantee that the fractional tracking error converges to zero, by which the tracking of trajectories of the non-linear system is guaranteed Eq. (5).

**Corollary 2:** *If*

then we conclude that

## 5. Modeling of the time-delay adaptive neural network and the delayed plant

The nonlinear delayed unknown plant and the neural network are given as:

where

**Theorem:** We will show that

For this proposal, we first define the modeling error between the neural network and the plant:

Adding and subtracting, to the right hand side from (34) the terms

## 6. Identification of the unknown non-linear system by the neural network

First, it is easy to see that

We will show, the feedback system is asymptotically stable. Replacing (36) in (35)

We will show, the new state

Let

Then, (35) is reduced to

The previous inequality guarantees that the identification of the non-linear system is satisfied, that is, the approach error converges to zero asymptotically

## 7. Simulation

The mathematical model, which describes the movement dynamics of the bipedal robot, is obtained using the Euler-Lagrange equations [1, 13] ( Figure 2 ).

where

To illustrate the theoretical results obtained, we propose an example, which, as can be seen in the simulations, trajectory tracking is guaranteed.

The neural network is described by:

and the reference signal that they have to follow, both the non-linear system and the neural network is given by the Duffing equation [14].

Here, the conventional derivatives are replaced by the fractional derivatives as follows:

where

As can be seen in Figures 3 – 6 , the tracking of trajectories in the states of the system are performed with satisfaction, Figure 7 shows the phase plane of the Duffing equation, while Figure 8 shows the plane phase of the same fractional order differential equation.

Figures 9 – 12 show the torques applied to the ends of the bipedal robot.

Parameter values of the fractional order, alpha (0.001) and beta (0.0001) are included.

## 8. Conclusions

In this chapter we study the mathematical model and control of non-linear systems, which are modeled by differential equations of fractional order, where it is observed that these systems have a better performance than the systems modeled by ordinary differential equations, those of fractional order they produce responses, solutions at simulation level, softer, by varying the order of the derivative.

The magnitude of the fractional order systems are smaller than the responses of the systems of ordinary differential equations, and with smaller control signals, which implies, less energy in the control process.

In this research work, conditions have been obtained in the parameters of the adaptive recurrent neural network, as well as laws of control and laws of neuronal adaptation, which, together, guarantee that the tracking error of trajectories between the non-linear system and the reference signal converges asymptotically to zero, so that trajectory tracking is develops with satisfaction.

## Acknowledgments

Authors thank, Mexican National Science and Technology Council, (CONACyT), Mexico, to the Autonomous University of Nuevo Leon, Dynamical Systems Group of the Department of Physical and Mathematical Sciences, (FCFM-UANL), Centro de Investigación y Estudios de Posgrado, Facultad de Ingeniería, Dr. Manuel Nava #8, Zona Universitaria, C.P. 78290, San Luis Potosí, S.L.P., México The research of V. Ramírez-Rivera has been supported by CONACyT-México under the project Problemas Nacionales (2015-01-786).

## Conflict of interest

The first author of the reference manuscript, in his name and that of all authors, declares that there is no potential conflict of interest related to the article.