Skip to main content
Entropy logoLink to Entropy
. 2023 Jan 23;25(2):221. doi: 10.3390/e25020221

Integral Reinforcement-Learning-Based Optimal Containment Control for Partially Unknown Nonlinear Multiagent Systems

Qiuye Wu 1, Yongheng Wu 1, Yonghua Wang 1,*
Editors: Qiang Zhang1, Yifeng Zeng1
PMCID: PMC9955993  PMID: 36832588

Abstract

This paper focuses on the optimal containment control problem for the nonlinear multiagent systems with partially unknown dynamics via an integral reinforcement learning algorithm. By employing integral reinforcement learning, the requirement of the drift dynamics is relaxed. The integral reinforcement learning method is proved to be equivalent to the model-based policy iteration, which guarantees the convergence of the proposed control algorithm. For each follower, the Hamilton–Jacobi–Bellman equation is solved by a single critic neural network with a modified updating law which guarantees the weight error dynamic to be asymptotically stable. Through using input–output data, the approximate optimal containment control protocol of each follower is obtained by applying the critic neural network. The closed-loop containment error system is guaranteed to be stable under the proposed optimal containment control scheme. Simulation results demonstrate the effectiveness of the presented control scheme.

Keywords: adaptive dynamic programming, integral reinforcement learning, containment control, multiagent systems, neural networks

1. Introduction

Distributed coordination control of multiagent systems (MASs) has drawn expansive interest due to its potential application on agricultural irrigation [1], disaster rescue [2], microgrid scheduling [3], marine survey [4] and wireless communication [5]. The distributed coordination control aims to guarantee that all agents which exchange local information by communicating with their neighbors reach an agreement on some variables of interest [6]. Over the last decade, containment control has received increasing attention because of its remarkable performance in addressing the secure control issues, such as hazardous material treatment [7] and fire rescue [8]. The goal of containment control is to drive the followers to enter and keep within the convex hull spanned by multiple leaders. Numerous interesting and significant results of containment control have been presented. Reference [9] developed a fuzzy-observer-based backstepping control to achieve the containment of MASs. An adaptive funnel containment control was proposed in [10], where the containment errors converged to an adjustable funnel boundary. In practical applications, containment control has been developed for autonomous surface vehicles [4], unmanned aerial vehicles [11] and spacecrafts [12]. Notice that most of the aforementioned works have ignored the control performance with a minimum of energy consumption.

It is well-known that the Riccati equation or the Hamilton–Jacobi–Bellman equation (HJBE) are solved to acquire the optimal control for linear or nonlinear systems [13], respectively. In other words, the Riccati equation is a particular case of the HJBE. As a classical optimization algorithm, dynamic programming (DP) [14] is regarded as an effective way to obtain the optimal solution of the HJBE. However, as the dimension of state variables increases, the computation of the DP approach expands as a geometric series, which arouses the dilemma of the “curse of dimensionality”. With the success of AlphaGo, reinforcement learning (RL) has stimulated increasing enthusiasm from scholars to tackle the “curse of dimensionality” problem [15]. As is synonymous with RL, adaptive DP (ADP) [16] forward-in-time-solves the optimal control problem with the aid of neural network (NN)-based approximators. Moreover, ADP has been increasingly exploited for the optimal coordination control of MASs. Reference [17] established a cooperative policy iteration (PI) algorithm to solve the differential graphical games of linear MASs. In the nonlinear case, Reference [18] investigated the consensus problem via model-based PI with a generalized fuzzy hyperbolic critic structure. An event-triggered ADP-based optimal coordination control was proposed for the communication load and the commutation consumption was reduced [19]. To tackle the optimal containment control (OCC) problem, a finite-time fault-tolerant control was proposed via model-based PI [20]. In the presence of state constraints, Reference [21] presented a proper barrier function to transform the state constraint problem into an unconstrained case, thereafter the event-triggered OCC protocols were obtained. In Reference [22], distributed RL was applied to handle an OCC problem with collision avoidance of nonholonomic mobile robots. When the accurate model of the plant is not obtained, system identification is always employed. It should be pointed out that system identification is intractable for responding to dynamic changes of systems in time, which brings inevitable identification errors.

Recently, the integral RL (IRL) method was adopted to relax the accurate model requirement of the plant by constructing the integral Bellman equation [23,24]. An actor–critic architecture was adopted to execute the IRL algorithm, in which an actor NN learned the optimal control strategy and a critic NN was devoted to approximating the optimal value function. In the presence of heterogeneous linear MASs (HLMASs), the IRL method was developed to handle the robust OCC problem [25]. An adaptive output-feedback method was developed for the containment control for HLMASs via the IRL algorithm [26]. In Reference [27], the off-policy IRL-based OCC scheme was presented for unknown HLMASs with active leaders. However, the OCC problem of the nonlinear MASs with partially unknown dynamics has rarely been investigated via the IRL method. Moreover, the actor–critic architecture requires constructing the actor NN, which makes the control structure more complex. It is crucial to develop an IRL-based OCC scheme by implementing a simplified control structure. In addition, most of the aforementioned OCC approaches ensure the weight estimation error of the critic NN is uniformly ultimately bounded (UUB) only, which may degrade the control performance. All the above concerns motivated our research.

Inspired by the aforementioned works, we developed an IRL-based OCC scheme with asymptotically stable critic structure for partially unknown nonlinear MASs. The main contributions are reflected as follows.

  • (1)

    Different from existing control schemes [9,20], an IRL method is introduced to construct the integral Bellman equation without the system identification. Furthermore, IRL proves to be equivalent to model-based PI, which guarantees the convergence of the developed control algorithm.

  • (2)

    The IRL-based OCC scheme is implemented by a critic-only architecture for nonlinear MASs with unknown drift dynamics, rather than by an actor–critic architecture for linear MASs [25,26,27]. Thus, the proposed scheme simplifies the control structure.

  • (3)

    In contrast to the existing OCC schemes [20,21,22] which guarantee the weight errors to be UUB, a modified weight-updating law is presented to tune the critic NN weights, whose weight error dynamic is asymptotically stable.

This paper is organized as follows. In Section 2, graph theory and its application to the containment of MASs are outlined. In Section 3, the IRL-based OCC scheme and its convergence proof are presented for nonlinear MASs. Then, the stability of the closed-loop containment error systems is analyzed in detail. In Section 4, two simulation examples demonstrate the effectiveness of the proposed scheme. In Section 5, concluding remarks are drawn.

2. Preliminaries and Problem Description

2.1. Graph Theory

For a network with N agents, the information interactions among agents are reflected by a weighted graph G=(V,ε,A) with the nonempty finite set of nodes V={υ1,,υN}, the edge set εV×V and the nonnegative weighted adjacency matrix A=[aip]. If node υi links to node υp, the edge (υi,υp)ε is available with aip>0; otherwise, aip=0. For a node υi, the node υp is named as a neighbor of υi when (υi,υp)ε. In this way, Ni={υpV:(υp,υi)ε} represents the set of all neighbors of υi. Denote the Laplacian matrix as L=DA=[lip], where D=diag{d11,d22,,dNN}, dii=p=1Niaip and lip satisfies

lip=q=1,qiNiaiq,i=p,aip,ip.

It implies that each row sum of L equals to zero. A sequence of edges described by (υ1,υ2),(υ3,υ4), with υiV is defined as a directed path. For arbitrary (υi,υp)V, a directed graph is strongly connected, if there is a directed path from υi to υp, while the directed graph is said to contain a spanning tree if there exists a directed path from a root node to every other nodes with respect to G. This paper focuses on a strongly connected digraph with a spanning tree.

2.2. Problem Description

Consider the leader–follower nonlinear MASs in the form of the graph G with M leaders and N followers, where the node dynamic of the ith follower is modeled by

x˙i=f(xi(t))+gi(xi(t))μi(t), (1)

where xiRn is the state vector for the ith follower, μiRm is the control input vector, i=1,2,,N, and the nonlinear functions f(xi)Rn and gi(xi)Rn×m represent the unknown drift dynamic and the control input matrix, respectively. Denote the global state vector as x=[x1T,x2T,,xNT]TRN×n.

Assumption 1.

f(xi) and gi(xi) are Lipschitz continuous on the compact set Ωi with f(0)=0 and the system (1) is controllable.

Define the node dynamic of the jth leader as

r˙j=hj(rj(t)), (2)

where rjRn stands for the state vector of the jth leader, j=1,2,,M and hj(rj)Rn satisfies Lipschitz continuity.

Definition 1

(Convex hull [8]). A set CRM×n is convex if for any y1,y2C and ρ(0,1), (1ρ)y1+ρy2C. A convex hull of a finite set Y={y1,y2,,yM} is the minimal convex set, i.e., Co(Y)=j=1Mρjyj|yjY,ρjR,ρj0,j=1Mρj=1.

The containment control aims to find a set of distributed control protocols μ={μ1,μ2,,μN} such that all followers stay in the convex hull formed by the leaders, i.e., xi(t)Co(Y) with Y={r1,r2,,rM}. For the ith follower, the local neighborhood containment error ei is formulated as

ei=pNiaip(xixp)+j=1Mbij(xirj)=diixipNiaipxp+j=1Mbij(xirj), (3)

where eiRn, bij0 represents the pinning gain. Define Bj=diag[b1j,,bij,,bNj]RN×N. In fact, the connection between the ith follower and the jth leader is available if and only if bij>0. Denote the communication graph as Gx=(G,x). The global containment error vector of Gx is

e=(GIn)x+(B(IM1N))Inr¯,

where e=[e1T,e2T,,eNT]TRN×n, r¯=[r1T,r2T,,rMT]TRM×n, G=L+B(1MIN), In represents the n-dimension identity matrix, 1M stands for the M-dimensional column vector whose every element equals to 1 and B=[B1,B2,,BM]RN×NM. Considering (1), (2) and (3), for the ith follower, the local neighborhood containment error dynamic is formulated as

e˙i=Fi+cigi(xi)μi+pNiaipgp(xp)μp, (4)

where ci=dii+j=1Mbij and Fi=cif(xi)pNiaipf(xp)j=1Mbijhj(rj). For the ith follower, the local neighborhood containment error is dominated not only by local states and local control inputs, but also by the information from its neighbors and the leaders. In order to implement the synchronization of the partially unknown nonlinear MASs (i.e., ei0), an IRL-based OCC scheme is designed in the next subsection.

3. IRL-Based OCC Scheme

3.1. Optimal Containment Control

For the local neighborhood containment error dynamic (4), define the cost function as

Ji(ei(0))=0Piei(ξ),μi(ξ),μi(ξ)dξ, (5)

where Pi(ei,μi,μi)=eiTQiei+p{Ni,i}μpTRipμp is a utility function, μi={μp|pNi} represents a set of the local control protocols from the neighbors of node υi, and QiRn×n and RipRm×m are the positive definite matrices.

Definition 2

(Admissible control policies [17]). The feedback control policies μi(ei)(iI) are defined to be admissible with respect to (5) on a compact set Ωi, denoted by μi(ei)A(Ωi), if μi(ei) is continuous on Ωi with μi(0)=0, μi(ei) stabilizes (4) on Ωi and Ji(ei(0)) is finite ei(0)Ωi.

Definition 3

(Nash equilibrium [17]). An N-tuple admissible control policy μ*(e)={μ1*(e1),μ2*(e2),,μN*(eN)} is said to constitute a Nash equilibrium solution in graph Gx, if the following N inequalities are satisfied

Ji(ei,μi*,μi*)Ji(ei,μi,μi*),i=1,2,,N,

where μi*={μ1*,,μi1*,μi+1*,,μN*}.

This paper aims to find an N-tuple optimal admissible control policy μ*(e) to minimize the cost function (5) for each follower such that the Nash equilibrium solution in Gx (i.e., the OCC protocols) is obtained.

For arbitrary μi(ei)A(Ωi) of the ith follower, define the value function

Ciei(t)=tPiei(ξ),μi(ξ),μi(ξ)dξ. (6)

When (6) is finite, then the Bellman equation is

0=eiTQiei+p{Ni,i}μpTRipμp+CiT(ei)Fi+cigi(xi)μi+pNiaipgp(xp)μp, (7)

where Vi(0)=0 and Ci(ei)=Ci(ei)/ei. For the ith follower, the local Hamiltonian is

Hi(ei,μi,μi,Ci(ei))=eiTQiei+p{Ni,i}μpTRipμp+CiT(ei)Fi+cigi(xi)μi+pNiaipgp(xp)μp.

Define the optimal value function as

Ci*(ei)=minμiA(Ωi)Ci(ei). (8)

According to [13], the optimal value function Ci*(ei) satisfies the HJBE as follows

0=minμiA(Ωi)Hi(ei,μi,μi,Ci*(ei)). (9)

The local OCC protocol is

μi*(ei)=argminμiA(Ωi)Hi(ei,μi,μi,Ci*(ei))=12ciRii1giT(xi)Ci*(ei). (10)

It should be mentioned that the analytical solution of the HJBE is intractable to obtain since Ci*(ei) is unknown. According to [15], the solution of the HJBE is successively approximated through a sequence of iterations with policy evaluation

0=eiTQiei+p{Ni,i}μp(k1)TRipμp(k1)+Ci(k)T(ei)Fi+cigi(xi)μi(k1)+pNiaipgp(xp)μp(k1), (11)

and policy improvement

μi(k)=12ciRii1giT(xi)Ci(k)(ei), (12)

where (k) represents the kth iteration index with kN+.

From (11), we can see that the policy evaluation requires the accurate mathematical model of (1). However, the accurate mathematical model is always difficult to obtain in practice. To break this bottleneck, the IRL method is developed to relax the requirement of the accurate model in the policy evaluation.

3.2. Integral Reinforcement Learning

For tτ>0, (6) can be rewritten as

Ci(ei(t))=tt+tτeiT(ξ)Qiei(ξ)+p{Ni,i}μpT(ξ)Ripμp(ξ)dξ+Ci(ei(t+tτ)). (13)

Based on the integral Bellman Equation (13), Vi*(ei) and μi* satisfy

0=tt+tτeiT(ξ)Qiei(ξ)+p{Ni,i}μp*T(ξ)Ripμp*(ξ)dξ+Ci*(ei(t+tτ))Ci*(ei(t)). (14)

Compared to (7), the policy evaluation (14) is not required for the accurate system dynamics in (1).

Theorem 1.

Let Ci(k)(ei)0, Ci(k)(0)=0 and μi(k)A(Ωi). Ci(k)(ei) is the solution of the integral Bellman equation

0=tt+tτeiT(ξ)Qiei(ξ)dξ+tt+tτp{Ni,i}μp(k1)T(ξ)Ripμp(k1)(ξ)dξ+Ci(k)(ei(t+tτ))Ci(k)(ei(t)), (15)

if and only if Ci(k)(ei) is the only solution of (11).

Proof of Theorem  1.

Considering (11), the time derivative of Ci(k)(ei) corresponding to (4) is transformed as

dCi(k)(ei)dt=Ci(k)(ei)Fi+cigi(xi)μi(k1)+pNiaipgp(xp)μp(k1)=eiTQieip{Ni,i}μp(k1)TRipμp(k1). (16)

Integrate on both sides of (16) within [t,t+tτ], that is

Ci(k)(ei(t+tτ))Ci(k)(ei(t))=tt+tτeiT(ξ)Qiei(ξ)dξtt+tτp{Ni,i}μp(k1)T(ξ)Ripμp(k1)(ξ)dξ. (17)

According to the derivation of (16) and (17), if Ci(k)(ei) is the solution of (11), Ci(k)(ei) satisfies the integral Bellman Equation (15). Next, we verify the uniqueness of the solution Ci(k)(ei).

Supposing that Υi(k)(ei) is another solution of (11) with Υi(k)(0)=0. Similar to the mathematical operation of (16), we have

dΥi(k)(ei)dt=eiTQieip{Ni,i}μp(k1)TRipμp(k1). (18)

Subtracting (16) into (18) yields

ddtΥi(k)(ei)Ci(k)(ei)=0. (19)

Solving (19), we have Υi(k)(ei)Ci(k)(ei)=ςi with ςiR a real constant. For ei=0, we have ςi=Υi(k)(0)Ci(k)(0)=0. That is to say, Υi(k)(ei)=Ci(k)(ei). One can derive that Ci(k)(ei) is the unique solution. In summary, Ci(k)(ei) is the unique solution of (15) if and only if Ci(k)(ei) is the only solution of (11). □

Theorem 1 reveals that the IRL algorithm with (15) and (12) theoretically equals to the model-based PI algorithm, whose relevant convergence analysis was provided in [15]. Hence, the IRL algorithm can be guaranteed to be convergent.

Theorem 2.

Considering the nonlinear MAS with partially unknown dynamic as (1), the local neighborhood containment error dynamic as (4) and the optimal value function Ci*(ei) as (8), the closed-loop containment error system is guaranteed to be asymptotically stable under the local OCC protocol (10). Furthermore, the containment control is achieved with a set of the OCC protocols {μ1*,μ2*,,μN*} if there is a spanning tree in the directed graph.

Proof of Theorem 2.

Selecting the Lyapunov function candidate as Ci*(ei). Combining (7), (8) and (10), then

Ci*T(ei)Fi=Ci*T(ei)cigi(xi)μi*+pNiaipgp(xp)μp*eiTQieip{Ni,i}μp*TRipμp*. (20)

Substituting (20) into the time derivative of Vi*(ei), then

C˙i*(ei)=Ci*T(ei)Fi+cigi(xi)μi*+pNiaipgp(xp)μp*=eiTQieip{Ni,i}μp*TRipμp*.

Therefore, C˙i*(ei)0. One can conclude that the closed-loop containment error system (4) is asymptotically stable with the local OCC protocol (10). Since a spanning tree exists in the directed graph, the containment control of the nonlinear MAS with partially unknown dynamic can be achieved. □

3.3. Critic NN Implementation

Based on the Stone–Weierstrass approximation theorem, on the compact set Ωi, the optimal function Ci*(ei) and its partial gradient can be established by a critic NN as

Ci*(ei)=ϕi*Tσi(ei)+ωi(ei), (21)
Ci*(ei)=σiT(ei)ϕi*+ωi(ei), (22)

where ϕi*Rli represents the ideal weight, σi(·)Rli represents the activation function, li represents the number of hidden neurons and ωi(ei) stands for the reconstruction error.

Since the ideal weight vector is unknown, the approximation of Ci*(ei) and Ci*(ei) are expressed as

C^i(ei)=ϕ^iTσi(ei),C^i(ei)=σiT(ei)ϕ^i, (23)

where σi(ei)=σi(ei)/ei and ϕ^iRli represents the estimation of ϕi*. Then, the local OCC protocol (10) can be approximated by

μ^i(ei)=12ciRii1giT(xi)σiT(ei)ϕ^i. (24)

The approximate local Hamiltonian is

eci=tt+tτeiT(ξ)Qiei(ξ)+p{Ni,i}μ^pT(ξ)Rijμ^p(ξ)dξ+ϕ^iTσi(ei(t+tτ))σi(ei(t))θi. (25)

Combining (14) and (21) with (25) yields

eci=tt+tτeiT(ξ)Qiei(ξ)+p{Ni,i}μ^pT(ξ)Ripμ^p(ξ)dξtt+tτeiT(ξ)Qiei(ξ)+p{Ni,i}μp*T(ξ)Ripμp*(ξ)dξ+ϕ^iTθiϕi*Tθiωi(ei(t+tτ))+ωi(ei(t))=tt+tτp{Ni,i}μ^p(ξ)+μp*(ξ)TRipμ^p(ξ)μp*(ξ)dξϕ˜iθiωi(ei(t+tτ))+ωi(ei(t))=ϕ˜iθi+Φi, (26)

where ϕ˜i=ϕi*ϕ^i represents the weight estimation error and Φi=tt+tτp{Ni,i}μ^p(ξ)+μp*(ξ)TRipμ^p(ξ)μp*(ξ)dξωi(ei(t+tτ))+ωi(ei(t)).

Assumption 2.

Φi is bounded by ηi, i.e., Φiηi with ηi>0.

In order to tune ϕ^i, the steepest descent algorithm is employed to minimize Eci=12eci2. A modified updating law of ϕ^i is

ϕ^˙i=lciθi(1+θiTθi)2eciη^i (27)

where lci>0 and η^i, the estimation of ηi, can be updated by

η^˙i=lsiϕ˜iTθi(1+θiTθi)2, (28)

where lsi>0 is a design constant. Considering (26) and (27), the weight estimation error is updated by

ϕ˜˙i=lciθi(1+θiTθi)2ϕ˜TθiΦi+η^i. (29)

Theorem 3.

Considering the nonlinear MAS with partially unknown dynamic as (1), the local neighborhood containment error dynamic as (4) and the critic NN with the modified updating laws (27) and (28), then ϕ˜i is guaranteed to be asymptotically stable.

Proof of Theorem 3.

Define η˜i=ηiη^i. Choose the Lyapunov function candidate as

Ξci=12lciϕ˜iTϕ˜i+12lsiη˜i2. (30)

According to (28), η˜i is updated by

η˜˙i=lsiϕ˜iTθi(1+θiTθi)2. (31)

Considering (29) and (31), the time derivative of (30) is

Ξ˙ci=1lciϕ˜iTϕ˜˙i+1lsiη˜iη˜˙i=ϕ˜iTθi(1+θiTθi)2ϕ˜TθiΦi+η^iϕ˜iTθi(1+θiTθi)2η˜i=ϕ˜iTΨiϕ˜i+ϕ˜iTθi(1+θiTθi)2(Φiη^iη˜i), (32)

where Ψi=θiθiT/(1+θiTθi)2. According to Assumption 2, (32) is derived as

Ξ˙ciλmin(Ψi)ϕ˜i2+ϕ˜iTθi(1+θiTθi)2Φiηiλmin(Ψi)ϕ˜i2.

It indicates Ξ˙ci0. Therefore, one can conclude that ϕ˜i is ensured to be asymptotically stable. □

Under the framework of the critic-only architecture, the IRL-based OCC scheme is presented. For each follower, the local neighborhood containment error (3) is established by communicating with its neighbors and the leaders. The value function of each follower is approximated by the critic NN (23), whose weights are tuned by a modified weight updating law (27). Based on (1), (3) and (23), the local OCC protocol (24) is obtained. The structural diagram of the developed IRL-based OCC scheme is shown in Figure 1.

Figure 1.

Figure 1

Structural diagram of the developed IRL-based OCC scheme.

Remark 1. 

In the actor–critic architecture, the optimal value function and the optimal control policy are approximated by a critic NN and an actor NN, respectively. While for the critic-only architecture, the optimal value function is approximated by a critic NN and the optimal control policy is directly obtained by combining (10) and (22). Hence, the critic-only architecture keeps the same performance as the actor–critic one. In contrast, the critic-only architecture utilizes a single critic NN only, which implies that the control structure is simplified and the computation burden is reduced.

3.4. Stability Analysis

Assumption 3.

ϕi*, ϕ˜i, σi(·) and ωi(·) are norm-bounded, i.e.,

ϕi*ϕiM,ϕ˜iϕ¯iM,σi(·)σ¯iM,ωi(·)ω¯iM,gi(·)g¯iM,

where ϕiM, ϕ¯iM, σ¯iM, ω¯iM and g¯iM are positive constants.

Theorem 4. 

Considering the nonlinear MAS with partially unknown dynamics as (1), the local neighborhood containment error dynamic as (4), the optimal value function as (8) and the critic NN which is updated by (27) and (28), the local containment control protocol (24) can guarantee the closed-loop containment error system (4) to be UUB.

Proof of Theorem 4.

The Lyapunov function candidate is chosen as

Ξi=Ci*(ei). (33)

Considering (20), (21) and Assumption 3, the time derivative of (33) corresponding to (4) is

Ξ˙i=C˙i*(ei)=Ci*T(ei)Fi+cigi(xi)μ^i+pNiaipgp(xp)μ^p=Ci*T(ei)cigi(xi)(μ^iμi*)+pNiaipgp(xp)(μ^pμp*)eiTQieip{Ni,i}μp*TRipμp*Ci*T(ei)cigi(xi)(μ^iμi*)+pNiaipgp(xp)(μ^pμp*)λmin(Qi)ei2σ¯iMϕiM+ω¯iMcig¯iMμ^iμi*+pNiaipg¯pMμ^pμp*λmin(Qi)ei2. (34)

Notice that

μ^iμi*=12Rii1cigiT(xi)σiT(ei)ϕ^i+12Rii1cigiT(xi)σiT(ei)ϕi*+ωi(ei)=12Rii1cigiT(xi)σiT(ei)ϕ˜i+ωi(ei)cig¯iM2Riiσ¯iMϕ¯iM+ω¯iM.

Then, (34) becomes

Ξ˙iσ¯iMϕiM+ω¯iMci2g¯iM22Riiσ¯iMϕ¯iM+ω¯iM+pNicpaipg¯pM22Rppσ¯pMϕ¯pM+ω¯pMλmin(Qi)ei2. (35)

Let Πi1=ci2g¯iM22Riiσ¯iMϕ¯iM+ω¯iM+pNicpaipg¯pM22Rppσ¯pMϕ¯pM+ω¯pM. Thus, (35) turns to

Ξ˙iσ¯iMϕiM+ω¯iMΠi1Πi2λmin(Qi)ei2=Πi2λmin(Qi)ei2.

It shows L˙i2<0 if ei lies outside the compact set

Ωei=ei:eiΠi2λmin(Qi).

Therefore, the closed-loop containment error system (4) is UUB under the local containment control protocol (24). □

Remark 2.

In Assumption 1, we know that the nonlinear functions f(x) and gi(x) are Lipschitz continuous on a compact set Ωi containing the origin, f(0)=0. It indicates that the developed control scheme is effective in a compact set Ωi. If the system states are outside this compact set, this scheme might be invalid. In Theorem 4, we analyzed the system stability within such a compact set via the Lyapunov direct method, which means the closed-loop system is stable in the compact set under the developed IRL-based OCC scheme.

4. Simulation Study

This section provides two simulation examples to support the developed IRL-based OCC scheme.

4.1. Example 1

Consider a six-node graph network connected by three leader nodes. The directed topology of the graph is displayed in Figure 2.

Figure 2.

Figure 2

The directed topology of example 1.

As displayed in Figure 2, nodes 1–3 stand for the leaders 1–3 and nodes 4–6 represent the followers 1–3. In (3), the edge weights and pinning gains were set to 0.5. The node dynamic of the jth leader is described as r˙j=A¯rj, where rj=[rj1,rj2]TR2 represents the state vector, j=1,2,3 and

A¯=0.1110.1.

For the ith follower, the node dynamic is formulated as x˙i=A¯xi+B¯iμi, where xi=[xi1,xi2]TR2 and μiR with i=1,2,3, B¯1=[1.5,1]T, B¯2=[1,1]T and B¯3=[1,0.5]T. The local neighborhood containment error vector ei=[ei1,ei2]TR2 is calculated by (3).

In the simulation, Ci(ei) was reconstructed by a critic NN with a 2–5–1 structure. The activation function was described as σi(ei)=[ei12,ei1ei2,ei22,ei12ei2,ei22ei1]T. The initialization of the node dynamics were characterized as x1(0)=[0.50,1.00]T, x2(0)=[1.00,0.50]T, x3(0)=[0.80,0.30]T, r1(0)=[0.62,0.83]T, r2(0)=[0.45,0.40]T and r3(0)=[0.30,0.22]T. The related parameters were chosen as Qi=5I2, Rip=Rii=1, lci=0.1 and lsi=0.1.

The simulation results are shown in Figure 3, Figure 4 and Figure 5 using the developed IRL-based OCC protocols. The evolution procedure of the local neighborhood containment errors for triple followers is shown in Figure 3, which indicates that the local neighborhood containment errors were regulated to zero under the developed control protocols. Thus, the containment control of MAS could be reached. Figure 4 and Figure 5 depict the state curves of the leaders and the followers, where all followers moved and stayed within the region formed by the envelope curves. It implies that the satisfactory performance of the containment control was acquired. The state curves of the followers and the leaders are displayed as 2-D phase plane plot in Figure 6 and the region enveloped by the three leaders υ1,υ2 and υ3 is shown at three different instants (t=16.0s,20.3s and 25.0s). We can observe from Figure 6 that the followers converged to the convex hull.

Figure 3.

Figure 3

Local neighborhood containment errors ei.

Figure 4.

Figure 4

Performance of containment control (rj1 and xi1).

Figure 5.

Figure 5

Performance of containment control (rj2 and xi2).

Figure 6.

Figure 6

State trajectories.

4.2. Example 2

Consider the nonlinear MAS consisting of three single-link robot arms and triple leader nodes. A rigid link is attached to each robot arm via a gear train to a direct current motor [28]. In Figure 2, the directed topology among these robot arms is shown. We chose the values of all edge weights and pinning gain as 1.

The state trajectories of the leaders is given by r1=[0.6sin(t),0.6cos(t)]T, r2=[0.4sin(t+π6),0.4cos(t+π6)]T and r3=[0.2sin(tπ6),0.2cos(tπ6)]T. The single-link robot arm for each follower can be described as

Jz¨i+B¯z˙i+M¯glsin(zi)=ui, (36)

where J=9kg·m2, B¯=30.5, M¯=1kg, l=1m, g=9.8m/s2 and i=1,2,3. The notations of the model (36) are defined in Table 1.

Table 1.

Notations of the single-link robot arm.

Symbol Notation
zi Link angle
z˙i Angular velocity of the link
J Total rotational inertia of the link and motor
B¯ Overall damping coefficient
M¯ Total mass of the link
l Distant from joint axis to mass center of the link
ui Command generator

Define xi=[xi1,xi2]T=[zi,z˙i]TR2 and μi=ui. For the ith follower, the model (36) can be rewritten as

x˙i1x˙i2=xi2M¯glJsin(xi1)B¯Jxi2+01Jμi. (37)

Similar to Example Section 4.1, the local neighborhood containment error vector was given as ei=[ei1,ei2]TR2.

The critic NN structures and the related activation functions were initialized as in Example Section 4.1. The critic NN weights were initialized as the random values within (0,36) and the parameters of initialization and control were chosen as r1(0)=[0,0.6]T, r2(0)=[0.4sin(π6),0.4cos(π6)]T, r3(0)=[0.2sin(π6),0.2cos(π6)]T, x1(0)=[0.8,0.1]T, x2(0)=[0.6,0.5]T, x3(0)=[0.7,0.3]T, Qip=18In, Rip=5, tτ=0.1s, lci=0.1 and lsi=0.1.

Figure 7, Figure 8, Figure 9, Figure 10 and Figure 11 show the simulation results. The local neighborhood containment errors converged to a small region around zero as depicted in Figure 7, which shows that the containment control of the nonlinear MAS was achieved. In Figure 8 and Figure 9, it can be found that the state trajectories of single-link robot arms (36) entered and stayed within the region enveloped by the leader nodes as the time progressed, which indicated the satisfactory performance of the developed scheme. The evolution curves of all agents are illustrated as the 2-D phase plane plot in Figure 10. We can see that the convex hull formed by the leaders υ1,υ2 and υ3 contains the followers at the time instants t=5.0s,10.0s,14.5s and 26.0s, which implies that the followers converged to the convex hull. Figure 11 describes the curves of the containment control inputs, which shows the regulation process of the containment error system.

Figure 7.

Figure 7

Local neighborhood containment errors of triple followers.

Figure 8.

Figure 8

Performance of containment control (rj1 and xi1).

Figure 9.

Figure 9

Performance of containment control (rj2 and xi2).

Figure 10.

Figure 10

State trajectories.

Figure 11.

Figure 11

Containment control inputs of triple followers.

5. Conclusions

This paper investigated the OCC problem of nonlinear MASs with partially unknown dynamics via the IRL method. Based on the IRL method, the integral Bellman equation was constructed to relax the requirement of the drift dynamics. The proposed control algorithm was guaranteed to converge by analyzing the convergence of IRL. With the aid of the universal approximation capability of the NN, the solution of the HJBE was acquired by a critic NN with a modified weight-updating law which guaranteed the asymptotical stability of the weight error dynamics. By using the Lyapunov stability theorem, we showed that the closed-loop containment error system was UUB. From the simulation results of two examples, the effectiveness of the proposed IRL-based OCC scheme was illustrated. In the considered MASs, the information among all agents was transmitted by a desired communication network, which is always confronted with some security issues, such as attacks and packet dropouts. The focus of our future work is to develop a novel distributed resilient containment control for the MASs subjected to attacks and packet dropouts.

Acknowledgments

We appreciate all the authors for their contributions and the support of the foundation.

Author Contributions

Conceptualization, Q.W. and Y.W. (Yonghua Wang); methodology, Q.W.; software, Q.W.; investigation, Q.W.; writing—original draft preparation, Q.W.; writing—review and editing, Y.W. (Yongheng Wu); visualization, Y.W. (Yongheng Wu); supervision, Y.W. (Yonghua Wang); funding acquisition, Y.W. (Yonghua Wang). All authors have read and agreed to the published version of the manuscript.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data is contained within this manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

Funding Statement

This research was supported by Open Research Fund of The State Key Laboratory for Management and Control of Complex Systems under grant no. 20220118.

Footnotes

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.

References

  • 1.Jimenez A.F., Cardenas P.F., Jimenez F. Intelligent IoT-multiagent precision irrigation approach for improving water use efficiency in irrigation systems at farm and district scales. Comp. Electr. Agric. 2022;192:106635. doi: 10.1016/j.compag.2021.106635. [DOI] [Google Scholar]
  • 2.Vallejo D., Castro-Schez J., Glez-Morcillo C., Albusac J. Multi-agent architecture for information retrieval and intelligent monitoring by UAVs in known environments affected by catastrophes. Eng. Appl. Artif. Intell. 2020;87:103243. doi: 10.1016/j.engappai.2019.103243. [DOI] [Google Scholar]
  • 3.Liu Y., Wang Y., Li Y., Gooi H.B., Xin H. Multi-agent based optimal scheduling and trading for multi-microgrids integrated with urban transportation networks. IEEE Trans. Power. Syst. 2021;36:2197–2210. doi: 10.1109/TPWRS.2020.3040310. [DOI] [Google Scholar]
  • 4.Deng Q., Peng Y., Qu D., Han T., Zhan X. Neuro-adaptive containment control of unmanned surface vehicles with disturbance observer and collision-free. ISA Trans. 2022;129:150–156. doi: 10.1016/j.isatra.2022.01.004. [DOI] [PubMed] [Google Scholar]
  • 5.Hamani N., Jamont J.P., Occello M., Ben-Yelles C.B., Lagreze A., Koudil M. A multi-cooperative-based approach to manage communication in wireless instrumentation systems. IEEE Syst. J. 2018;12:2174–2185. doi: 10.1109/JSYST.2017.2721220. [DOI] [Google Scholar]
  • 6.Ren W., Beard R.W. Consensus seeking in multiagent systems under dynamically changing interaction topologies. IEEE Trans. Autom. Control. 2005;50:655–661. doi: 10.1109/TAC.2005.846556. [DOI] [Google Scholar]
  • 7.Luo K., Guan Z.H., Cai C.X., Zhang D.X., Lai Q., Xiao J.W. Coordination of nonholonomic mobile robots for diffusive threat defense. J. Frankl. Inst. 2019;356:4690–4715. doi: 10.1016/j.jfranklin.2019.03.014. [DOI] [Google Scholar]
  • 8.Yu Z., Liu Z., Zhang Y., Qu Y., Su C.Y. Distributed finite-time fault-tolerant containment control for multiple unmanned aerial vehicles. IEEE Trans. Neural Netw. Learn. Syst. 2020;31:2077–2091. doi: 10.1109/TNNLS.2019.2927887. [DOI] [PubMed] [Google Scholar]
  • 9.Li Y., Qu F., Tong S. Observer-based fuzzy adaptive finite-time containment control of nonlinear multiagent systems with input delay. IEEE Trans. Cybern. 2021;51:126–137. doi: 10.1109/TCYB.2020.2970454. [DOI] [PubMed] [Google Scholar]
  • 10.Li Z., Xue H., Pan Y., Liang H. Distributed adaptive event-triggered containment control for multi-agent systems under a funnel function. Int. J. Robust Nonlinear Control. 2022 doi: 10.1002/rnc.6344. [DOI] [Google Scholar]
  • 11.Li Y., Liu M., Lian J., Guo Y. Collaborative optimal formation control for heterogeneous multi-agent systems. Entropy. 2022;24:1440. doi: 10.3390/e24101440. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Zhao L., Yu J., Shi P. Command filtered backstepping-based attitude containment control for spacecraft formation. IEEE Trans. Syst. Man Cybern. Syst. 2021;51:1278–1287. doi: 10.1109/TSMC.2019.2896614. [DOI] [Google Scholar]
  • 13.Liu D., Wei Q., Wang D., Yang X., Li H. Adaptive Dynamic Programming with Applications in Optimal Control. Springer; Cham, Switzerland: 2017. [Google Scholar]
  • 14.Bellman R.E. Dynamic Programming. Princeton Univ. Press; Trenton, NJ, USA: 1957. [Google Scholar]
  • 15.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. doi: 10.1016/j.automatica.2004.11.034. [DOI] [Google Scholar]
  • 16.Liu D., Xue S., Zhao B., Luo B., Wei Q. Adaptive dynamic programming for control: A survey and recent advances. IEEE Trans. Syst. Man. Cybern. Syst. 2021;51:142–160. doi: 10.1109/TSMC.2020.3042876. [DOI] [Google Scholar]
  • 17.Vamvoudakis K.G., Lewis F.L., Hudas G.R. Multi-agent differential graphical games: Online adaptive learning solution for synchronization with optimality. Automatica. 2012;48:1598–1611. doi: 10.1016/j.automatica.2012.05.074. [DOI] [Google Scholar]
  • 18.Zhang H., Zhang J., Yang G., Luo Y. Leader-based optimal coordination control for the consensus problem of multiagent differential games via fuzzy adaptive dynamic programming. IEEE Trans. Fuzzy. Syst. 2015;23:152–163. doi: 10.1109/TFUZZ.2014.2310238. [DOI] [Google Scholar]
  • 19.Zhao W., Zhang H. Distributed optimal coordination control for nonlinear multi-agent systems using event-triggered adaptive dynamic programming method. ISA Trans. 2019;91:184–195. doi: 10.1016/j.isatra.2019.01.021. [DOI] [PubMed] [Google Scholar]
  • 20.Cui J., Pan Y., Xue H., Tan L. Simplified optimized finite-time containment control for a class of multi-agent systems with actuator faults. Nonlinear Dyn. 2022;109:2799–2816. doi: 10.1007/s11071-022-07586-1. [DOI] [Google Scholar]
  • 21.Xu J., Wang L., Liu Y., Xue H. Event-triggered optimal containment control for multi-agent systems subject to state constraints via reinforcement learning. Nonlinear Dyn. 2022;109:1651–1670. doi: 10.1007/s11071-022-07513-4. [DOI] [Google Scholar]
  • 22.Xiao W., Zhou Q., Liu Y., Li H., Lu R. Distributed reinforcement learning containment control for multiple nonholonomic mobile robots. IEEE Trans. Circuits Syst. I Reg. Papers. 2022;69:896–907. doi: 10.1109/TCSI.2021.3121809. [DOI] [Google Scholar]
  • 23.Chen C., Lewis F.L., Xie K., Xie S., Liu Y. Off-policy learning for adaptive optimal output synchronization of heterogeneous multi-agent systems. Automatica. 2020;119:109081. doi: 10.1016/j.automatica.2020.109081. [DOI] [Google Scholar]
  • 24.Yu D., Ge S.S., Li D., Wang P. Finite-horizon robust formation-containment control of multi-agent networks with unknown dynamics. Neurocomputing. 2021;458:403–415. doi: 10.1016/j.neucom.2021.01.063. [DOI] [Google Scholar]
  • 25.Zuo S., Song Y., Lewis F.L., Davoudi A. Optimal robust output containment of unknown heterogeneous multiagent system using off-policy reinforcement learning. IEEE Trans. Cybern. 2018;48:3197–3207. doi: 10.1109/TCYB.2017.2761878. [DOI] [PubMed] [Google Scholar]
  • 26.Mazouchi M., Naghibi-Sistani M.B., Hosseini Sani S.K., Tatari F., Modares H. Observer-based adaptive optimal output containment control problem of linear heterogeneous Multiagent systems with relative output measurements. Int. J. Adapt. Control Signal Process. 2019;33:262–284. doi: 10.1002/acs.2950. [DOI] [Google Scholar]
  • 27.Yang Y., Modares H., Wunsch D.C., Yin Y. Optimal containment control of unknown heterogeneous systems with active leaders. IEEE Trans. Control Syst. Technol. 2019;27:1228–1236. doi: 10.1109/TCST.2018.2794336. [DOI] [Google Scholar]
  • 28.Zhang H., Lewis F.L., Qu Z. Lyapunov, adaptive, and optimal design techniques for cooperative systems on directed communication graphs. IEEE Trans. Ind. Electron. 2012;59:3026–3041. doi: 10.1109/TIE.2011.2160140. [DOI] [Google Scholar]

Associated Data

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

Data Availability Statement

Data is contained within this manuscript.


Articles from Entropy are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES