
==== Front
Sensors (Basel)
Sensors (Basel)
sensors
Sensors (Basel, Switzerland)
1424-8220
MDPI

10.3390/s24175462
sensors-24-05462
Article
Adaptive Finite-Time-Based Neural Optimal Control of Time-Delayed Wheeled Mobile Robotics Systems
https://orcid.org/0000-0002-5828-3010
Li Shu Conceptualization Methodology Software Validation Formal analysis Investigation Resources Data curation Writing – original draft Writing – review & editing Visualization Supervision Project administration Funding acquisition 1*
Ren Tao Writing – review & editing 1
Ding Liang Writing – review & editing Supervision 2
Liu Lei Writing – review & editing Supervision 1
Shirinzadeh Bijan Academic Editor
Klančar Gregor Academic Editor
1 The Key Laboratory of Intelligent Control Theory and Application of Liaoning Provincial, Liaoning University of Technology, Jinzhou 121001, China; rentaolab2022@163.com (T.R.); liuleill@live.cn (L.L.)
2 The State Key Laboratory of Robotics and System, Harbin Institute of Technology, Harbin 150001, China; liangding@hit.edu.cn
* Correspondence: li_shu43@lnut.edu.cn
23 8 2024
9 2024
24 17 546203 4 2024
30 7 2024
13 8 2024
© 2024 by the authors.
2024
https://creativecommons.org/licenses/by/4.0/ Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
For nonlinear systems with uncertain state time delays, an adaptive neural optimal tracking control method based on finite time is designed. With the help of the appropriate LKFs, the time-delay problem is handled. A novel nonquadratic Hamilton–Jacobi–Bellman (HJB) function is defined, where finite time is selected as the upper limit of integration. This function contains information on the state time delay, while also maintaining the basic information. To meet specific requirements, the integral reinforcement learning method is employed to solve the ideal HJB function. Then, a tracking controller is designed to ensure finite-time convergence and optimization of the controlled system. This involves the evaluation and execution of gradient descent updates of neural network weights based on a reinforcement learning architecture. The semi-global practical finite-time stability of the controlled system and the finite-time convergence of the tracking error are guaranteed.

approximate dynamic programming
wheeled mobile robotics
tracking control
state time delay
finite time
National Natural Science Foundation of China62203198 62173173 Doctoral Startup Fund of Liaoning University of TechnologyXB2021010 Liaoning Revitalization Talents ProgramXLYC1907050 XLYC2203094 “Unveiling the List and Leading the Command” in Liaoning ProvinceJBGS2022005 This work is supported in part by the National Natural Science Foundation of China under Grant 62203198 and Grant 62173173, in part by the Doctoral Startup Fund of Liaoning University of Technology under Grant XB2021010, in part by the Liaoning Revitalization Talents Program under Grant XLYC1907050/XLYC2203094 and in part by the key project of “Unveiling the List and Leading the Command” in Liaoning Province under Grant JBGS2022005.
==== Body
pmc1. Introduction

Adaptive intelligent control algorithms have developed rapidly with the advancement of intelligent approximation technology, especially in neural networks (NN) and fuzzy logic systems (FLS), and have achieved a series of excellent research results [1,2,3,4,5,6,7,8,9]. This has also significantly motivated many scholars to explore the adaptive control algorithm, laying a solid foundation for using the corresponding control theory algorithm in the field of practical engineering applications.

Considering that control and decision-making problems are essentially optimization problems, and optimal control plays a key role in engineering applications, the research on intelligent majorization control algorithms in this paper has a certain role in promoting practical engineering applications. In view of the importance of optimal control, many scholars have conducted extensive research on optimal control algorithms and have obtained certain achievements, mainly including two optimization methods [10,11], adaptive dynamic programming (ADP) methods [12] and reinforcement learning (RL) methods [13].

The ADP approach could realize the online approximation of the optimal target by the recursive numerical method without relying on the control algorithm of the model [14,15,16,17,18,19]. Using NNs, the performance function, designed control laws, and the uncertain part of the nonlinear system could be approximated, which helps solve the HJB function; then, the optimal stability is guaranteed. Similar to the learning mechanism of mammals, the reinforcement learning mechanism aims to regulate both the critic and action adaptive laws in order to control the long-term interaction cost of the environment. The action NNs could modify the action laws, while the critic NNs reduce the virtual energy of the long-term storage function. Thanks to the interoperability of the operating mechanism, refs. [20,21,22,23,24] have made outstanding contributions to online optimization control and model-free optimization control.

Although previous ADP-based methods perform well for non-linear systems without time delays, achieving the ideal control effect on time-delayed non-linear systems is often challenging. Therefore, research on this topic has generated interest among experts and scholars and has achieved preliminary results. However, the time delay in the form of nonlinear interference is a major obstacle to applications of control theory algorithms. Some scholars have paid attention to this and have achieved certain results. Regarding existing methods, there are two main forms of system delay: state and input [25].

State time delays are mainly found in intricate engineering systems, for example, wheeled mobile robot (WMR) systems and chemical engineering, which are hysteresis induced by internal propagation of signals during system motion. With assistance from the Lyapunov–Krasovskii functional (LKF) [25,26,27], the influence caused by the state time delay is overcome, and superior control algorithms are designed.

Due to the contradiction between the convergence characteristics of existing optimization algorithms in infinite time and the fast convergence requirements of actual engineering systems, it has greatly inhibited the practical application and promotion of intelligent optimization algorithms. Therefore, in recent years, some scholar award research has focused on the study of convergence speed and convergence domain equilibrium. The existing breakthrough theoretical research results on infinite convergence algorithms [28,29,30,31,32,33] have promoted the research process of finite-time convergence control algorithms to a certain extent and also reflect the necessity of studying the algorithm from the side. At the same time, they also point out the key and difficult issues faced by finite-time convergence control research.

To meet the finite-time or finite-horizon domain convergence characteristics of actual engineering requirements, some scholars have begun relevant research. For nonlinear discrete systems, researchers use the ADP-based approach to solve the finite-time domain convergence problem [34,35], which greatly stimulates the authors’ research passion for finite-time convergence optimization control algorithms.

Different from finite-horizon convergence, besides guaranteeing the time domain of system convergence, finite-time convergence also increases the speed and accuracy of system convergence. However, the existing research is not perfect and is still in its infancy, but some studies with excellent performance have been obtained [36,37,38,39,40,41,42,43,44,45]. Up to now, the finite-time optimization algorithm, considering both convergence speed and convergence precision as well as considering energy consumption, is basically absent. Therefore, based on the previous research, this paper not only considers the state delay, but also considers the input delay, and uses the ADP method to effectively resolve the finite-time optimal tracking control problem of the controlled target.

An adaptive finite-time online optimal tracking control method based on neural networks is designed for uncertain nonlinear systems with state time delays. Firstly, the initial nonlinear system is extended to an augmentation system, which contains tracking error and target expectation information, and a novel discounted performance function is presented. Secondly, a Hamiltonian function is constructed, and the appropriate LKFs are used to resolve the problem of state delay. Then, for the solution of the ideal HJB function, this paper introduces the method of integral reinforcement learning (IRL). Finally, by designing the optimal control strategy and optimizing the control adaptive law, the semi-global practical finite-time stability (SGPFS) lemma, not only is the influence of time delays eliminated, but the stability of uncertain nonlinear systems is guaranteed. The main innovative work includes:(1) The time-delay effect is incorporated into the strategy design process to address the finite-time convergence issues.

(2) The problem caused by the state time delay is solved simultaneously in the optimal control process.

(3) The optimal control policy guarantees that the target control system achieves optimal control within a finite time.

2. System Description and Preliminaries

Considering the state time-delayed nonlinear system as (1) β˙t=ptβt+hβt−t1+gtut+ωt

where the delayed dynamics hβt−t1 is one known function vector with an unknown time delay t1. For the sake of simplicity in subsequent expressions, except for the hysteresis term βt−t1, t and other variables are omitted. gt denotes the input function, pt denotes the state function, ut denotes the system control input, and ωt denotes the external perturbation function.

Considering the state and the input time delays in system (1), the appropriate LKF is introduced to deal with the state time-delay problem, respectively. And according to Remark 1 in [26], only when the delayed dynamics αt are known, one can obtain hβ1−hβ2=∂hβ/∂ββ=βκβ1−β2 with βκ=κβ1+1−κβ2 and 0<κ<1.

The following scientific assumptions are made, and corresponding lemmas are given to ensure that the subsequent design process achieves the expected control objectives.

Assumption 1. Both function pt and gt are continuously differentiable. For the time-delay function p⋅, its Jacobi matrix ∂pβ/∂β satisfies the Lipchitz condition ∂pβ/∂β≤η with η≥0.

Assumption 2. The boundedness of the unknown input transfer function gt can be obtained as g_<g≤g¯. Similarly, σmin≤σ⋅≤σmax; φmin≤φ⋅≤φmax can be used to present the boundedness of the activation functions in hidden layers of NNs φ⋅ and the functional approximation error σ⋅.

Lemma 1 ([44]). For any states yi∈R,  i=1,2,…,m , if the positive constant satisfies 0<q<1 , we have (2) ∑i=1myiq≤∑i=1myiq≤m1−q∑i=1myiq

Lemma 2 ([39]). For the nonlinear system x˙=fx, if (3) holds,(3) L˙x≤−ιLbx+σ,t≥0

where Lx is a smooth positive definite function, ι>0, 0<b<1, σ>0, one can further obtain that the nonlinear system x˙=fx is SGPFS.

In this paper, by designing an adaptive NN-based optimal controller ut such that βt, the output of the system could track βdk well in a finite time. The two main types of neural networks used in this paper include critic neural networks and action neural networks. The critic neural network is used for the estimation of the long-term utility function, while the action neural network is used to ensure the stability of the system and the solution of the optimal control inputs of the system.

3. Controller Design and Stability Analysis

This section is divided into subheadings, which provide a concise and precise description of the experimental results and their interpretation, as well as the experimental conclusions that can be drawn. Depicted in Figure 1, in this section, we design an optimal controller, which ensures the optimal control of the system and converges within a finite time. By transforming the initial system into an augmented system, which tracks errors and targets expected information, a novel discounted performance function is presented. Furthermore, a Hamiltonian function is constructed, and the time-delay problem will be solved by using the appropriate LKFs. Then, by introducing the IRL method to the Hamiltonian function, a finite-time optimal tracking controller based on neural networks is designed. Finally, the adaptive law of the appropriate evaluator and the adaptive law of the action NN are designed; the target system’s SGPFS can be ensured.

3.1. System Transformation

Considering the nonstrict nonlinear system (1), we developed a controller using a neural network to enable the system to follow the desired trajectory. Firstly, the tracking error system can be design as (4) zt=βt−βdt

Then, find the (4) derivative, and we can obtain (5) z˙=ptβt+hβt−t1+gtut+ωtt−β˙d

Assumption 3. The target-given trajectory βd with the initial state as βd0=0 is bounded, and β˙dt can be rewritten into the form of (6) by a command generator function that satisfies the Lipschitz continuity property.(6) β˙dt=lβdt

The algorithm is expected to adopt a new type of discounted performance function, which includes both tracking error terms and expected trajectories and time-delay terms. Therefore, we constructed the following widening system. (7) ψ˙t=Fψt+Hψt−t1+Gtut+Wt

where ψt=zt,βdt, Fψt=F1tz+βd−lβdlβd, Hψt−t1=H1zt−t1+βdt−t10, Gt=G1t0, Wt=D1t0.

Furthermore, the novel discounted performance function is (8) L1t=∫tt+t0e−χτ−tΓTQΓ+Uudτ

where Γ=ψt,ψt−t1T, χ is the discount factor, with χ>0 is a constant, and Q=Q100Q2, where Qi is a matrix that is positive definite, and t1 satisfies t≥t1, and the semi-global uniform convergence in (7) can be ensured with t≥t1.

Based on [46,47,48,49,50,51,52], and taking the input constraints into consideration, the nonquadratic functional is proposed as (9) Uu=2∫0uε tanh−1v/εTRdv

where ε is the saturation input, and R=diagr1,r2, Uu is a non-quadratic matrix.

3.2. Virtual Control

In this part, based on the Hamiltonian function, which is established based on the discounted performance function, the virtual optimal controller u*t will be designed.

To obtain the tracking Bellman equation, we used the Leibniz rule and (9) to obtain (10) L˙1=χL1−1−e−χt0ΓTQΓ−2∫0uε0 tanh−1v/ε0TRdv

Then, we moved the right-hand side of Equation (10) to the left-hand side of the equation and substituted it into Equation (8) to finally obtain Equation (11) (11) V=1−e−χt0ΓTQΓ+2∫0uε tanh−1v/εTRdv−χL1+∂L1∂ΓFψ+Gu+Hψt−t1+W=0

In addition, we designed the optimal cost function in (12) from (12) L1*t=minu∫tt+t0e−χτ−tΓTQΓ+Uudτ

the following conditions should be guaranteed (13) V*=1−e−χt0ΓTQΓ+2∫0u*ε tanh−1v/εTRdv−χL1+∂L1*∂ΓFψ+Gu*+Hψt−t1+W=0.

Based on (11) and [53], and the finite-time convergence theory [34], the optimal control input defined as (14) u=−ε tanhl1ψ2b−1+εr−1GT21−e−χt0∂L1∂Ψ.

According to (13) and [44,53], the ideal optimal control input is abbreviated as (15) u*=−ε tanhl1ψ2b−1+Ξ∂L1*∂Ψ

where l1=R−12ε is a constant greater than zero and Ξ=r−1GT2ε1−e−χt0.

Then, together with (14), (9) can be written as the following form (16) Uu*=2ε2l1ψ2b−1+Ξ∂L1*∂ΓT tanhl1ψ2b−1+Ξ∂L1*∂Γ+ε2R0lnE0−tanh2l1ψ2b−1+Ξ∂L1*∂Γ

where R0=R1,…,Rm and E0=1,…,1⏟m.

The Hamiltonian function can be written as the following form (17) V*=−χL1*+1−e−χt0ψTQψ+2ε21−e−χt0l1ψ2b−1 tanhl1ψ2b−1+Ξ∂L1*∂Γ+∂L1*∂ΓFψ+Hψt−t1+W+ε2R0lnE0−tanh2l1ψ2b−1+Ξ∂L1*∂Γ=0

Furthermore, (17) can be written as (18) V*=2ε21−e−χt0l1ψ2b−1 tanhl1ψ2b−1+Ξ∂L1*∂Γ+∂L1*∂ΓFψ+Hψ+W−Hψ−Hψt−t1−χL1*+1−e−χt0ΓTQΓ+ε2R0lnE0−tanh2l1ψ2b−1+Ξ∂L1*∂Γ=0

To deal with the challenges brought by online tracking control, the optimal value L1* should be solved using (17). Furthermore, the optimal control policy u(L1*) is shown in (14).

3.3. State Time Delay

Choosing the appropriate LKFs solves the problem caused by the state time delay, which laid the foundation for the application of the IRL algorithm.

According to Assumption 2 in [36] and Remark 5 in [15], the IRL method can be used to solve the L1*, only when the function Θ1t=Fψ+Hψ, Θ2t=Hψ−Hψt−t1 and G satisfy that (19) Fψ+Hψ≤b1ψ

(20) Hψ−Hψt−t1≤∑θ=1nb2,θψt−θΔt

(21) G≤b3

where b1, b2,θ, and b3 are positive constants, with 0<θ≤n and Δt=t1/n.

Considering the function Fψ and the known function Hψ satisfy the Lipchitz condition, and Assumption 2, (19) and (21) can be guaranteed. However, the state time delay t1 is uncertain, and the boundedness of (20) cannot be obtained. In addition, because of the uncertain state time delay, the uncertain function Hψt−t1 cannot be approximated using NN.

In order to better complete the controller design, the problem caused by the state time delay will be handled first. Defining the new function Θ2t as (22) Θ2t=Hψ−Hψt−t1

and (22) can be written in the following form (23) Θ2t=Hψ−Hψt−Δt+Hψt−Δt−Hψt−2Δt+Hψt−2Δt−Hψt−3Δt+…−Hψt−θΔt+Hψt−θ+1Δt−…+Hψt−n−1Δt−Hψt−t1

where Δt=t1/n, and both i and n are positive integers.

By Assumption 1, the mean-value theorem is introduced to Hψ. Therefore, one obtains (24) Δψt−Δt=Hψt−Hψt−Δt=∂Hψ∂ψψ=ψηψt−ψt−Δt

where ψη=ηψt+1−ηψt−Δt, 0<η<1.

The error function caused by Δt can be obtained as (25) Δψt−θ+1Δt=∂Hψ∂ψψ=ψηψt−θΔt−ψt−θ+1Δt

Defining the augmented system states as (26) Δψ¯=Δψt,…,Δψt−θΔt…,Δψt−t1

then, we can write system (24) as follows (27) Δψ˙¯t=ΠΔψ¯t

To guarantee that system (27) is uniformly ultimately bounded (UUB), the following lemma is proposed.

Lemma 3. If the dimension of the state vector matches that of the function ΠΔψ, where ΠΔψ0=0. (28) Δψ˙t=ΠΔψt

converges to a compact set exponentially, where the Lyapunov function satisfies(29) c1Δψt2≤L0Δψt≤c2Δψt2+c3

(30) L˙0Δψt≤−c4Δψt2+c5

where ci>0, θ=1,2,…,5. In addition, the uniformly ultimately boundedness of system (28) can be guaranteed.

Proof.  Inspired by the research in [26], the following proof process is given. Defining the initial state of (28) as Δψ˙0=Δψt, we obtain (31) Δψ˙t=ΠΔψ˙t−Δt=ΠΔψtΔψ˙t−Δt=ΠΔψ˙t−2Δt=Π2Δψt   ⋮Δψ˙t−θΔt=ΠΔψ˙t−n−θ−1Δt=Πθ+1Δψt   ⋮Δψ˙t−n−1Δt=ΠΔψ˙t−t1=ΠnΔψt

If the system exponentially converges to a compact set, then (32) ΠθΔψt≤a1a2θΔψt+a3

where positive constants satisfy a1>0, 0<a2<1, and a3≥0.

Furthermore, the Lyapunov function is (33) ΔL0=∑i=0n−1ΠθΔψtTΠθΔψt.

Submitting (32) to (33), we obtain (34) ΔL0≤2a12∑i=0n−1a22θΔψt2+2na32≤2a12∑i=0n−1Δψt2+2na32.

Considering the fact that 0<a2<1, we obtain (35) c1∑i=0n−1Δψt2≤ΔL0Δψt≤c2∑i=0n−1Δψt2+c3

where c1=1, c2=2a121−a22n1−a22, c3=2na32.

Moreover, we can obtain (36) ΔL˙0Δψt=1ΔtΔL0Δψt+Δt−ΔL0Δψt=1Δt∑i=1nΠiΔψt2−∑i=0n−1ΠiΔψt2≤1Δta1a2nΔψt+a32−Δψt2≤−1−2a12a22n1ΔtΔψt2+2a321Δt≤−c4Δψt2+c5

where c4=1−2a12a22n/Δt and c5=2a32/Δt. If a sufficiently small-time interval Δt is chosen, n will be sufficiently large to ensure that c4 is a positive constant.

Based on, (35) and (36), one has (37) ΔL˙0Δψt≤−1−2a12a22nΔψt2+2a32≤−1−2a12a22n1−a222a121−a22nL0Δψt +21−a221−2a12a22nna322a121−a22n+2a32=−b1ΔL0Δψt+b2

where (38) b1=1−2a12a22n1−a222a121−a22n

(39) b2=21−a221−2a12a22nna322a121−a22n+2a32

Furthermore, we can obtain the Lyapunov function (23), and guarantee the UUB of system (23), which is composed by n subsystems similar to (28) (40) L˙0Δψt=∑i=1nΔL˙0Δψt−θΔt

Substituting (36) for (40), one has (41) L˙0Δψt≤−c4∑i=1nΔψt−θΔt2+c5

Similarly, one has (42) L˙0Δψt≤−b1L0Δψt+b2

when n and a1 are selected large enough, the ultimate boundedness of L0Δψt can be assured for any initial condition L0Δψt−t1 within a bounded set, guaranteeing the UUB of system states are guaranteed.

The proof is competed. □

3.4. Critic NN and Value Function Approximation

In summary, the boundedness of (19)–(21) can be obtained. The IRL method will be extended to the solution of L1* in the following section.

When the IRL interval is choose as T>0, (8) can be written as the following form (43) L1t−T=1−e−χt0∫t−Tte−χτ−t−TΓTQΓ+Uudτ+e−χTL1t

Assuming that (8) is a continuous smooth function, L1 and its gradient ∂L1/∂ψ are approximated as (44) L1=ωcTφcΓ+εc

(45) ∂L1∂Γ=ωc∂φcT∂Γ+∂εc∂Γ

where ωc∈ℝlc is the constant-target online estimate parameter vector, in which lc is the quantity of neurons within the neural network, and φc and εc are the activation function of the critic NN and approximate error, respectively.

Assumption 4. The boundedness of the activation function and assessment of the error of the critic NN and their gradient can be obtained as φc≤φ¯c, and εc≤ε¯c, ∂φc/∂Ψ≤ε¯c,0 and ∂εc/∂Ψ≤ε¯c,0, respectively.

When the IRL interval is T>0, the Bellman equation induced in the critic NN estimated value, can be expressed as (46) zB=∫t−Tte−χτ−t+T1−e−χt0ΓTQΓ+Uudτ+ωcTΔφc

where (47) Δφc=e−χTφcΓt−φcΓt−T

The constraint on (46) can be derived based on Assumption 4, i.e., zB≤z¯B.

To derive the approximate tracking Bellman function, the approximation of the neural network is evaluated to obtain (48) L^1=ω^cTφcΓ

where ω^c is the estimation of the critic law ωc.

Therefore, the estimation of (46) is (49) zB=Rt+ω^cTΔφc

where the reinforcement learning reward is denoted by (50) rt=∫t−Tte−χτ−t+T1−e−χt0ΓTQΓ+U^udτ.

To reduce the approximation error, we give a function in (51) from (51) ZBt=1/2zB2t.

We can obtain the following expression using the Gradient descent method. (52) ω^˙c=αcΔφcΔφcT1+ΔφcTΔφc2zB

where αc represents the learning rate of the critic neural network.

Considering ω˜c=ωc−ω^c, (46) and (49), we have (53) zB=ω˜cTΔφc+εB

(54) ω˜˙c=−αcΔφcΔφcT1+ΔφcTΔφc2ω˜c+αcΔφcΔφcT1+ΔφcTΔφc2εB

3.5. Action NN and Controller Design

According to (45), the optimal control input, i.e., (14) is as follows (55) u=−ε tanhl1ψ2b−1+Ξωc∂φcT∂Γ+∂εc∂Γ

To solve the issue in the tracking HJB induced ∂εc∂Ψ, we obtain (56) ∫t−Tte−χv−t+Tφ˙cdv=∫t−Tte−χv−t+T∂φc∂ΓΘ1+Θ2+Gu+Wdv=Δφc+χ∫t−Tte−χv−t−Tφcdv

In addition, we obtain (57) Δφc=∫t−Tte−χv−t+T∂φc∂ΓΘ1+Θ2+Gu+W−χφcdv

Equation (16) becomes (58) Uu=ε2R0lnE0−tanh2l1ψ2b−1+ΞωcT∂φc∂Γ+∂εc∂Γ−2εl1ψ2b−1+ΞωcT∂φc∂Γ+∂εc∂Γu

Then, (46) can be rewritten as (59) ∫t−Tte−χτ−t+T1−e−χt1ΓTQΓ−χωcTφc+2ε21−e−χt1l1ψ2b−1 tanhl1ψ2b−1+Ξωc∂φcT∂Γ+εHJB+ωc∂φcT∂ΓΘ1+Θ2+W+ε2R0lnE0−tanh2l1ψ2b−1+Ξωc∂φcT∂Γdv=0

where (60) εHJB=e−χτ−t+T−ε2R0lnE0−tanh2l1ψ2b−1+Ξωc∂φcT∂Γ−2ε21−e−χt0l1ψ2b−1  ×tanhl1ψ2b−1+Ξωc∂φcT∂Γ+2ε21−e−χt0l1ψ2b−1 tanhl1ψ2b−1+Ξωc∂φcT∂Γ+∂εc∂Γ−ωcT∂εc∂ΓΘ1+Θ2+W+ε2R0lnE0−tanh2l1ψ2b−1+Ξωc∂φcT∂Γ+∂εc∂Γ

To obtain the limitation of the HJB proximity error, we can use the boundary proximity error. In addition, when NN is selected, the construction cannot be changed. We can only solve this problem by uncertain weights of NN.

Approximating the control input (55) by critic NN, we have (61) u1=−ε tanhl1ψ2b−1+Ξω^c∂φcT∂Γ

where ω^c is the estimated value of ωc.

However, the function of (61) is only to estimate the current critical NN weight, which fails to keep the system (1) stable. Hence, to guarantee the stability of the system and solve the optimal control strategy, we introduce another NN as the action NN. (62) u^1=−ε tanhl1ψ2b−1+Ξω^a∂φcT∂Γ

where ω^a represents the weight vector of the action neural network, denoting the present evaluation value of ωc.

Then, the interval IRL Bellman equation error is estimated as (63) z^B=∫t−Tte−χτ−t+TΓTQΓ+U^udτ+ω^cTΔφc

where (64) U^u=2∫0u^ε tanh−1v/εTRdv

Therefore, (52) can be rewritten as (65) ω^˙c=αcΔφcΔφcT1+ΔφcTΔφ2z^B

defining the input assessment error as (66) zu=u^1−u1=εtanhl1ψ2b−1+Ξω^a∂φaT∂Γ−tanhl1ψ2b−1+Ξω^c∂φcT∂Γ

To minimize (66), we use the following formula (67) Zut=zuTtRzut.

We can utilize the gradient descent method to derive the following equation (68) ω^˙a=−αaΞ′∂φaT∂Γsech2l1ψ2b−1+Ξ∂φaT∂Γω^azu+ηω^a

where Ξ′=RΞ, and η is a positive design variable.

3.6. Stability Analysis

According to the proposed lemmas and assumptions, the following theorem is given to analyze the effectiveness of the proposed algorithm.

Theorem 1. Based on the definition in [43], Lemma 1–4, Assumptions 1–4, and the design of the proposed control policy (62) and the control laws, (65) and (68), the proposed optimal tracking control algorithm ensures that the partially uncertain nonlinear system (1) is SGPFS.

Proof of Theorem 1. The candidate function of the Lyapunov function is designed as (69) Lk=L0k+L1k+L2k+L3k+L4k

where L˙0Δψt≤−c4∑i=1nΔψt−θΔt2+c5 and L1k is given in (8) as the optimal value function. Then, the provided expressions are applicable:(70) L2=∑i=1nΔψt−θΔtTQ3Δψt−θΔt

(71) L3=1/αcω˜cTω˜c

(72) L4=1/αaω˜aTω˜a

Based on (24) and (31), the first derivative of L2 can be given as (73) L˙2=2∑j=1nΔψt−iΔtQ3Δψ˙t−iΔt=2Δψt−nΔtTQ3Δψt+…+Δψt−ΔtTQ3Δψt−n−1Δt+ΔψtTQ3Δψt−nΔt

Using Young’s inequality ±aTb0≤μaTa/2+b0Tb0/2μ, one has (74) L˙2≤μΔψt−nΔtTQ3Δψt−nΔt+1μΔψtTQ3Δψt+…+μΔψt−ΔtT ×Q3Δψt−Δt+1μΔψt−n−1ΔtTQ3Δψt−n−1Δt +μΔψtTQ3Δψt+1μΔψt−nΔtTQ3Δψt−nΔt

(75) L˙2≤c0∑i=1nΔψt−θΔt2

where c0=μ+1/μQ3.

Based on (44), the first derivative of L3 is (76) L˙3=ω^cT∂φ∂ΓΘ1+Θ2+Gu+W

Considering (57), with the IRL interval chosen small enough, we have ρ1φc=φct−T, ρ1=1±ρ0, ρ1∈U1,ρ0, and ρ0 is a sufficiently small positive constant. (77) χ+1Tφ−φct−TTe−χT≈∂φ∂ΓΘ1+Θ2+Gu+W

Then, (76) can be written as (78) L˙3=χ+1Tω^cTφ−1Te−χTω^cTφct−T≤χ+1T2+1T2e−2χTω^cTφTω^cTφc

Based on (54) we have (79) εB=Tt1ω^cTφc+ω^cTe−χTφc−φct−T

Then, the approximate of (54) is (80) ω˜˙c=−αcΔφΔφT1+ΔφTΔφ2ω˜c+αcΔφ1+ΔφTΔφ2Tt1ω^cTφc+ω^cTe−χTφc−φct−T

And, for the first difference of (71) (81) L˙3=−ΔφcΔφcT1+ΔφcTΔφ2ω˜cTω˜c+ωcT−ω^cTΔφc1+ΔφcTΔφ2Tt1ω^cTφc+ω^cTe−χTφc−φct−T

Using Cauchy’s mean value theorem, (81) changed into (82) L˙3=11+ΔφcTΔφc2−Δφ2ω˜cTω˜cT+ωcTΔφcTωcTΔφc−12Tt1e−χT−ρ1−T2t12ω^cTφcTω^cTφc

Based on (68) and (66), we have (83) ω˜˙a=αaΞ′∂φa∂Γsech2l1ψ2b−1+ΞT∂φcT∂Γω^a×tanhΞω^a∂φaT∂Γ+l1ψ2b−1−tanhl1ψ2b−1+Ξω^c∂φcT∂Γ−ηω˜a+ηωc

Then, the first derivative of L3 is (84) L˙4=−ηω˜aTω˜a+ω˜aTJ0

where (85) J0=Ξ′∂φa∂Γsech2l1ψ2b−1+ΞT∂φaT∂Γω^atanhΞω^a∂φaT∂Γ+l1ψ2b−1−tanhl1ψ2b−1+Ξω^c∂φcT∂Γ+ηωc

By using Cauchy’s mean value theorem, we have (86) L˙4≤−η−1/2αaω˜aTω˜a+αa2J02

Above all, the first difference of (69) (87) L˙≤−c1ω^cTφTω^cTφ−c2ω˜cTω˜c−c3ω˜aTω˜a−c6∑i=1nΔψt−θΔt2+J2

where cθ>0, θ=1,2,3, c1=Tt1e−χT−ρ1−T2t1221+ΔφcTΔφc2−χ+1T2+1T2e−2χT, c2=Δφc21+ΔφcTΔφc2, c3=η−12αa, c6=c4−c0 and J2=ωcTΔφcTωcTΔφc1+ΔφcTΔφc2+c5+αa2J02.

To make the finite-time convergence, we deal with the equation and add and subtract several terms on the right side (88) L˙≤−c1ω^cTφcTω^cTφcβ+c1ω^cTφcTω^cTφcβ−c1ω^cTφcTω^cTφc−c2ω˜cTω˜cβ+c2ω˜cTω˜cβ−c2ω˜cTω˜c−c3ω˜aTω˜aβ+c3ω˜aTω˜aβ−c3ω˜aTω˜a−c6∑i=1nΔψt−θΔt2β+c6∑i=1nΔψt−θΔt2β−c6∑i=1nΔψt−θΔt2+J2

To make the system (1) stable, and the finite time, we consider Lemma 1. Therefore, the constant must be greater than zero. (89) αa>12η

and there are the following formulas:(90) 21+ΔφTΔφ2χ+1T2−1T2e−2γTt12−Te−χT−ρ1t1+T2<0

with (91) e−χT>ρ1

(92) Tχ+1>1e−χT

then (93) t1>e−χT−ρ1+e−χT−ρ12−81+ΔφcTΔφc2χ+1T2−1T2e−2χT2+1ΔφcTΔφc2χ+1T2−1T2e−2χTT.

Taking Lemma 1 to c1ω^cTφcTω^cTφc, c2ω˜cTω˜c and c3ω˜aTω˜a, as x=1, and y=c1ω^cTφcTω^cTφc, or y=c2ω˜cTω˜c, or y=c3ω˜aTω˜a, or y=c6∑i=1nΔψt−θΔt2 with μ1=b, μ2=1−b and l=1−b1−bb. Then, we have (94) c1ω^cTφcTω^cTφcb≤bl+c1ω^cTφcTω^cTφc

(95) c2ω˜cTω˜cb≤bl+c2ω˜cTω˜c

(96) c3ω˜aTω˜ab≤bl+c3ω˜aTω˜a

(97) c6∑i=1nΔψt−θΔt2b≤bl+c6∑i=1nΔψt−θΔt2.

Considering (94)–(97), (88) can be rewritten as (98) L˙≤−c1ω^cTφcTω^cTφcb−c2αc−bω˜cTαc−1ω˜cb−c6Q3−1∑i=1nΔψt−θΔtTQ3Δψt−θΔtb−c3αa−bω˜aTαa−1ω˜ab+4bl+J2.

Inspired by reference [45], we have x^˙t=−χx^t+κυt, if υt>0, ∀t>t0, x^˙>0, xt>0, ∀t>t0. (99) L˙≤−cLb+π

where (100) c=minc1,c2αc−b,−c3αa−b,c6Q3−1

(101) π=4bl+J2.

Based on (89)–(93), (99)–(101), and the lemma in [39], the boundedness of all singles in the closed loop nonstrict system is SGPFS for ∀t>t1.

Furthermore, by using (62), we obtain the optimal control strategy, which guarantees that the target nonlinear system system’s state and the stability of input delays are maintained, and that the tracking error converges to a sufficiently small neighborhood around zero.

The proof is completed. □

4. Results of Simulation Example

The WMR system [54] in Figure 2 illustrates the effectiveness of the proposed algorithm. (102) mv˙cosβw−mvβ˙wsinβw+mdwϕ˙2=FDP1+FDP2−fDP−mgsinθcosοIω˙=−FDP1d1+FDP2d1−τR

where m represent the robot mass, and I denotes the rotational inertia around the motion center. βw is the angle between the robot speed and the xm axis, and ο is the angle of inclination of the ground environment where the robot is located.

Then, rewrite (102) as a vector form (103) Mv˙+Vv+G=Bτ−TDe−FR

where, according to [55], we have M=mcosβw00I, V=−mβ˙wsinβwmd2ϕ˙00, v=vω, FR=fDPτR, τ=τ1τ2, G=mgsinθcosο0, B=1rs11−d1d2, TDe=RC01s+kRC1ss1+ARC1scosnLϑ2−ξ01sFN1RC02s+kRC2ss2+ARC2scosnLϑ2−ξ02sFN2.

Considering the symmetry of the quality matrix and incorporating the time delay in the state, the state-space form can be used to represent the dynamic system of WMR. (104) v˙t=ftvt+hvt−t1+gtu+ωt

where ft=−M−1V, gt=M−1B is an unknown function, and ωt=M−1BTDe+FR−G denotes the resistance torque with the same effect and unknown resistance.

The desired trajectories indicate the forward and steering angular velocity, are given as xd,1=1.2+0.5sin0.05t and xd,2=0.5cos0.05t.

Depending on the actual WMR system, the initial values are βw0=0,0T, rand1,4 and rand1,4, and αc=0.13, αa=0.12, λ=0.05, γ=0.10 and R=1, Q=1,0;0,1 in this simulation. Then, the following simulation results are presented.

With the state time delay handled by appropriate LKFs, the impact of delay is successfully suppressed. From Figure 3 and Figure 4, we can obtain that the tracking performance of the proposed algorithm has good tracking performance.

In addition, the adaptive update of the critic and the action can be reflected in Figure 5 and Figure 6, which ensures the boundedness of the adaptive law. Moreover, the tracking trajectory of the WMR is shown in Figure 7. According to the process, the signal in the wheeled mobile robotic system is SGPFS. Compared with previous work [56], with similar control effects, this paper additionally considers finite-time control and the final simulation results achieve finite-time convergence, reflecting the control advantages of the proposed algorithm.

5. Conclusions

A finite-time adaptive online optimization tracking control algorithm was suggested for nonlinear systems incorporating state time delays. By using appropriate LKFs, the issue arising from time delays in both state and input variables has been resolved. Then, a novel nonquadratic HJB function was defined, where finite time was selected as the upper limit of integration, which contains information of the state time delay on the premise of containing the basic information. With the premise of meeting specific requirements, the ideal HJB function was solved by using the IRL method. Furthermore, the SGPFS was guaranteed with the definition of the optimal control policy and the update of the adaptations of the critic and action NNs.

Author Contributions

Conceptualization, S.L.; methodology, S.L.; software, S.L.; validation, S.L.; formal analysis, S.L.; investigation, S.L.; resources, S.L.; data curation, S.L.; writing—original draft preparation, S.L.; writing—review and editing, S.L., T.R., L.D. and L.L.; visualization, S.L.; supervision, S.L., L.D. and L.L.; project administration, S.L.; funding acquisition, S.L. All authors have read and agreed to the published version of the manuscript.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Figure 1 Finite time convergence adaptive optimal tracking control algorithm structure drawing.

Figure 2 The structure of the wheeled mobile robot.

Figure 3 Tracking trajectories of the states.

Figure 4 Tracking errors.

Figure 5 The adaptive laws of the action NNs.

Figure 6 The adaptive laws of the critic NNs.

Figure 7 Tracking trajectories of the position.

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
==== Refs
References

1. Liu Y.J. Li J. Tong S.C. Chen C.L.P. Neural network control-based adaptive learning design for nonlinear systems with full state constraints IEEE Trans. Neural Netw. Learn. Syst. 2016 27 1562 1571 26978833
2. Wu C.W. Liu J.X. Xiong Y.Y. Wu L.G. Observer-based adaptive fault-tolerant tracking control of nonlinear nonstrict-feedback systems IEEE Trans. Neural Netw. Learn. Syst. 2018 29 3022 3033 28678721
3. Gao T.T. Liu Y.J. Liu L. Li D.P. Adaptive neural network-based control for a class of nonlinear pure-feedback systems with time-varying full state constraints IEEE/CAA J. Autom. Sin. 2018 5 923 933
4. Li D.P. Chen C.L.P. Liu Y.J. Tong S.C. Neural network controller design for a class of nonlinear delayed systems with time-varying full-state constraints IEEE Trans. Neural Netw. Learn. Syst. 2019 30 2625 2636 30624233
5. Liu L. Wang Z.S. Yao X.S. Zhang H.G. Echo state networks based data-driven adaptive fault tolerant control with its application to electromechanical system IEEE/ASME Trans. Mechatron. 2018 23 1372 1382
6. Ge S.S. Hang C.C. Zhang T. Adaptive neural network control of nonlinear systems by state and output feedback IEEE Trans. Syst. Man Cybern. Part B Cybern. 1999 29 818 828
7. Wen G.X. Ge S.S. Chen C.L.P. Tu F.W. Wang S.N. Adaptive tracking control of surface vessel using optimized backstepping technique IEEE Trans. Cybern. 2019 49 3420 3431 29994688
8. Jagannathan S. He P. Neural-network-based state feedback control of a nonlinear discrete-time system in nonstrict feedback form IEEE Trans. Neural Netw. 2008 19 2073 2087 19054732
9. Liu L. Liu Y.J. Tong S.C. Fuzzy based multi-error constraint control for switched nonlinear systems and its applications IEEE Trans. Fuzzy Syst. 2019 27 1519 1531
10. Bertsekas D.P. Tsitsiklis J.N. Neuro-dynamic programming: An overview Proceedings of the 1995 34th IEEE Conference on Decision and Control New Orleans, LA, USA 13–15 December 1995 Volume 1 560 564
11. Lewis F.L. Liu D. Reinforcement Learning and Approximate Dynamic Programming for Feedback Control John Wiley & Sons New York, NY, USA 2013
12. Zhang H.G. Liu D.R. Luo Y.H. Wang D. Adaptive Dynamic Programming for Control: Algorithms and Stability Springer London, UK 2013
13. Sutton R.S. Barto A.G. Reinforcement Learning: An introduction MIT Press Cambridge, MA, USA 2018
14. Wen G.X. Chen C.L.P. Ge S.S. Yang H.L. Liu X.G. Optimized adaptive nonlinear tracking control using actor-critic reinforcement learning strategy IEEE Trans. Ind. Inform. 2019 15 4969 4977
15. Modares H. Lewis F.L. Optimal tracking control of nonlinear partially-unknown constrained-input systems using integral reinforcement learning Automatica 2014 50 1780 1792
16. Vamvoudakis K.G. Event-triggered optimal adaptive control algorithm for continuous-time nonlinear systems IEEE/CAA J. Autom. Sin. 2014 1 282 293
17. Wang D. Liu D.R. Wei Q.L. Zhao D. Jin N. Optimal control of unknown nonaffine nonlinear discrete-time systems based on adaptive dynamic programming Automatica 2012 48 1825 1832
18. Liu D.R. Wei Q.L. Policy iteration adaptive dynamic programming algorithm for discrete-time nonlinear systems IEEE Trans. Neural Netw. Learn. Syst. 2014 25 621 634 24807455
19. Wei Q.L. Liu D.R. A novel iterative adaptive dynamic programming for discrete-time nonlinear systems IEEE Trans. Autom. Sci. Eng. 2014 11 1176 1190
20. Cao Y. Ni K. Kawaguchi T. Hashimoto S. Path following for autonomous mobile robots with deep reinforcement learning Sensors 2024 24 561 10.3390/s24020561 38257654
21. Li S. Ding L. Gao H.B. Liu Y.J. Li N. Deng Z.Q. Reinforcement learning neural network-based adaptive control for state and input time-delayed wheeled mobile robots IEEE Trans. Syst. Man Cybern. Syst. 2018 50 4171 4182
22. Luy N.T. Thanh N.T. Tri H.M. Reinforcement learning-based intelligent tracking control for wheeled mobile robot Trans. Inst. Meas. Control 2014 36 868 877
23. Li S. Ding L. Gao H.B. Liu Y.J. Huang L. Deng Z.Q. ADP-based online tracking control of partially uncertain time-delayed nonlinear system and application to wheeled mobile robots IEEE Trans. Cybern. 2020 50 3182 3194 30872249
24. Shih P. Kaul B.C. Jagannathan S. Drallmeier J.A. Reinforcement-learning-based output-feedback control of nonstrict nonlinear discrete-time systems with application to engine emission control IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 2009 39 1162 1179
25. Wei Q.L. Zhang H.G. Liu D.R. Zhao Y. An optimal control scheme for a class of discrete-time nonlinear systems with time delays using adaptive dynamic programming Acta Autom. Sin. 2010 36 121 129
26. Na J. Herrmann G. Ren X. Barber P. Adaptive discrete neural observer design for nonlinear systems with unknown time-delay Int. J. Robust Nonlinear Control 2011 21 625 647
27. Li D.P. Liu Y.J. Tong S.C. Chen C.L.P. Li D.J. Neural networks- based adaptive control for nonlinear state constrained systems with input delay IEEE Trans. Cybern. 2019 49 1249 1258 29994387
28. Chen C.L.P. Wen G.X. Liu Y.J. Wang F.Y. Adaptive consensus control for a class of nonlinear multiagent time-delay systems using neural networks IEEE Trans. Neural Netw. Learn. Syst. 2014 25 1217 1226
29. Li H. Wang L.J. Du H.P. Boulkroune A. Adaptive fuzzy backstepping tracking control for strict-feedback systems with input delay IEEE Trans. Fuzzy Syst. 2017 25 642 652
30. Wang D. Zhou D.H. Jin Y.H. Qin S.J. Adaptive generic model control for a class of nonlinear time-varying processes with input time delay J. Process Control 2004 14 517 531
31. Li D.P. Li D.J. Adaptive neural tracking control for an uncertain state constrained robotic manipulator with unknown time-varying delays IEEE Trans. Syst. Man Cybern. Syst. 2018 48 2219 2228
32. Iglehart D.L. Optimality of (s, S) policies in the infinite horizon dynamic inventory problem Manag. Sci. 1963 9 259 267
33. Sondik E.J. The optimal control of partially observable Markov processes over the infinite horizon: Discounted costs Oper. Res. 1978 26 282 304
34. Keerthi S.S. Gilbert E.G. Optimal infinite-horizon feedback laws for a general class of constrained discrete-time systems: Stability and moving-horizon approximations J. Optim. Theory Appl. 1988 57 265 293
35. Chen H. Allgöwer F. A quasi-infinite horizon nonlinear model predictive control scheme with guaranteed stability Automatica 1998 34 1205 1217
36. Vamvoudakis K.G. Lewis F.L. Online actor–critic algorithm to solve the continuous-time infinite horizon optimal control problem Automatica 2010 46 878 888
37. Wei Q.L. Liu D.R. Yang X. Infinite horizon self-learning optimal control of nonaffine discrete-time nonlinear systems IEEE Trans. Neural Netw. Learn. Syst. 2015 26 866 879 25751877
38. Wang D. Liu D.R. Wei Q.L. Finite-horizon neuro-optimal tracking control for a class of discrete-time nonlinear systems using adaptive dynamic programming approach Neurocomputing 2012 78 14 22
39. Wang F.Y. Jin N. Liu D. Wei Q.L. Adaptive dynamic programming for finite-horizon optimal control of discrete-time nonlinear systems with ε-error bound IEEE Trans. Neural Netw. 2011 22 24 36 20876014
40. Liu X. Gao Z. Robust finite-time fault estimation for stochastic nonlinear systems with Brownian motions J. Frankl. Inst. 2017 354 2500 2523
41. Liu L. Liu Y.J. Tong S.C. Neural networks-based adaptive finite-time fault-tolerant control for a class of strict-feedback switched nonlinear systems IEEE Trans. Cybern. 2019 49 2536 2545 29994017
42. Wang F. Zhang X. Chen B. Lin C. Li X. Zhang J. Adaptive finite-time tracking control of switched nonlinear systems Inf. Sci. 2017 421 126 135
43. Wang F. Chen B. Liu X. Lin C. Finite-time adaptive fuzzy tracking control design for nonlinear systems IEEE Trans. Fuzzy Syst. 2018 26 1207 1216
44. Wang F. Chen B. Lin C. Zhang J. Meng X. Adaptive neural network finite-time output feedback control of quantized nonlinear systems IEEE Trans. Cybern. 2018 48 1839 1848 28650838
45. Ren H. Ma H. Li H. Wang Z. Adaptive fixed-time control of nonlinear mass with actuator faults IEEE/CAA J. Autom. Sin. 2023 10 1252 1262
46. Wang N. Tong S.C. Li Y.M. Observer -based adaptive fuzzy control of nonlinear non-strict feedback system with input delay Int. J. Fuzzy Syst. 2018 20 236 245
47. Zhu Z. Xia Y.Q. Fu M.Y. Attitude stabilization of rigid spacecraft with finite-time convergence Int. J. Robust Nonlinear Control 2011 21 686 702
48. Hardy G.H. Littlewood J.E. Polya G. Inequalities Cambridge University Press Cambridge, UK 1952
49. Chen B. Liu X.P. Liu K.F. Lin C. Fuzzy approximation-based adaptive control of nonlinear delayed systems with unknown dead-zone IEEE Trans. Fuzzy Syst. 2014 22 237 248
50. Qian C. Lin W. Non-Lipschitz continuous stabilizers for nonlinear systems with uncontrollable unstable linearization Syst. Control Lett. 2001 42 185 200
51. Adhyaru D.M. Kar I.N. Gopal M. Bounded robust control of nonlinear systems using neural network–based HJB solution Neural Comput. Appl. 2011 20 91 103
52. Lyshevski S.E. Optimal control of nonlinear continuous-time systems: Design of bounded controllers via generalized nonquadratic functionals Proceedings of the 1998 American Control Conference. ACC (IEEE Cat. No. 98CH36207) Philadelphia, PA, USA 26 June 1998 Volume 1 205 209
53. Abu-Khalaf M. Lewis F.L. Nearly optimal control laws for nonlinear systems with saturating actuators using a neural network HJB approach Automatica 2005 41 779 791
54. Li S. Wang Q. Ding L. An X. Gao H. Hou Y. Deng Z. Adaptive NN-based finite-time tracking control for wheeled mobile robots with time-varying full state constraints Neurocomputing 2020 403 421 430
55. Ding L. Huang L. Li S. Gao H. Deng H. Li Y. Liu G. Definition and application of variable resistance coefficient for wheeled mobile robots on deformable terrain IEEE Trans. Robot. 2020 36 894 909
56. Li S. Li D.P. Liu Y.J. Adaptive neural network tracking design for a class of uncertain nonlinear discrete-time systems with unknown time-delay Neurocomputing 2015 168 152 159
