Sliding mode control of multi-agent systems with switching topologies and input constraints via Interval Type-2 fuzzy neural network

View article
PeerJ Computer Science

Introduction

The coordinated control of nonlinear MASs has become an essential topic in advanced control theory and intelligent automation due to its wide-ranging applications in cooperative robotics, uncrewed aerial vehicles (UAVs), autonomous driving, satellite formation, and intelligent manufacturing (Li et al., 2023; Ju et al., 2023; Xu & Li, 2025, 2024; Xiong & Chen, 2025). These systems rely on the interaction of multiple agents that share information to achieve common goals such as formation maintenance, trajectory tracking, and distributed decision-making. Achieving accurate coordination under uncertain and dynamic environments is one of the most challenging problems in modern control theory (Zeng, Zhu & Goetz, 2024; Wu et al., 2025; Luan et al., 2024).

In practical settings, each agent typically exhibits nonlinear, time-varying, and uncertain dynamics, often subject to communication delays, actuator constraints, and external disturbances (Xiong, Wang & Li, 2025; Zhou et al., 2025). These characteristics make conventional linear control approaches insufficient for ensuring robustness and stability. Furthermore, dynamically changing network topologies due to limited communication, packet losses, or mobility introduce additional complexity in guaranteeing formation accuracy (Yao et al., 2025; Wang et al., 2025). Consequently, there is a growing demand for adaptive and intelligent control strategies that can handle uncertainties while maintaining real-time performance and stability.

Among various robust control techniques, Sliding Mode Control (SMC) has been widely recognized for its simplicity, finite-time convergence, and robustness to matched uncertainties (Guo et al., 2024; Li et al., 2024; Wang et al., 2024; Zhou et al., 2025). It has been successfully applied to robotic manipulators, autonomous vehicles, and aerospace systems where precise control is required under modeling uncertainties (Chen et al., 2025; Ding et al., 2025). However, the classical SMC framework often suffers from the chattering phenomenon, a high-frequency oscillation caused by discontinuous switching actions, which deteriorates actuator performance and may destabilize physical systems (Ali et al., 2022; Roohi et al., 2023). Researchers have addressed this by proposing continuous approximations, higher-order SMC, super-twisting algorithms, and integral sliding surfaces (Jiang et al., 2025). Although these techniques improve smoothness, they may introduce slower transient response or require prior knowledge of system bounds.

Recently, intelligent control techniques have emerged as powerful tools for addressing these challenges. By integrating fuzzy logic systems (FLS) and neural networks (NNs) into SMC structures, controllers can learn and adapt to unknown dynamics in real time (Liang et al., 2025; Ma & Xu, 2023). The introduction of Interval Type-2 Fuzzy Neural Networks (IT2FNNs) further enhances robustness by incorporating the concept of the footprint of uncertainty (FOU) to manage nonlinearities and noisy data (Qi et al., 2024; Liu et al., 2025; Wang et al., 2025). These methods demonstrate superior approximation accuracy and adaptability, especially under uncertain or time-varying operating conditions.

Despite these advances, several open issues remain unresolved. Many existing fuzzy–neural SMC frameworks assume known system models, fixed network topologies, or unbounded control inputs, which limit their scalability to real-world applications (Lu et al., 2024; Ding et al., 2025). Moreover, learning-based methods often exhibit slow adaptation when faced with fast-changing dynamics or abrupt topology variations. Therefore, there is still a pressing need for a computationally efficient, adaptive, and gradient-based learning control scheme that maintains robustness, convergence, and low chattering under practical operating constraints (Jin et al., 2023; Castellanos-Cárdenas et al., 2024).

To address these issues, this article proposes a Robust General Type-2 Fuzzy Neural Network (RGT2FNN)–SMC framework for formation control of nonlinear MASs under switching communication topologies and actuator input constraints. The proposed controller integrates adaptive fuzzy–neural estimation with gradient-based learning for real-time parameter tuning, enhanced convergence, and reduced computational cost. Furthermore, by introducing a smooth boundary-layer control law and Lyapunov-based stability guarantees, the proposed framework ensures fast convergence, bounded control effort, and robustness under uncertain conditions (Ahmad et al., 2025; Khan, Cao & Li, 2025).

The main contributions of this article are summarized as follows:

  • 1.

    A novel RGT2FNN–SMC control strategy is developed to ensure accurate and stable formation tracking of uncertain multi-agent systems (MASs) under switching topologies and actuator constraints.

  • 2.

    The proposed approach integrates adaptive fuzzy estimation and robust sliding control, enhancing convergence speed and reducing chattering compared with conventional IT2FNN–SMC schemes.

  • 3.

    Comprehensive simulations evaluate disturbance rejection, parameter sensitivity, and scalability, verifying the proposed controller’s adaptability and practical applicability in dynamic environments.

The remainder of this article is organized as follows. “Proposed Control Methodology” formulates the problem and presents the system model. “Optimization and Robustness Analysis” details the design of the proposed RGT2FNN–SMC control framework and its stability proof. “Simulation Results and Discussion” discusses the simulation results and performance analysis, and “Conclusion” concludes the article with remarks on future work.

Together, these aims address the limitations of conventional SMC strategies by enhancing adaptability, reducing chattering, and ensuring smooth control action under varying network and environmental conditions.

State-of-the-art review

The problem of achieving robust and adaptive control for nonlinear multi-agent systems has been extensively investigated in recent literature (Zeng, Zhu & Goetz, 2024; Wu et al., 2025; Luan et al., 2024; Liu et al., 2025; Lu et al., 2024). Traditional linear and model-based methods cannot fully address the nonlinearities and communication complexities inherent to distributed systems. Therefore, researchers have developed advanced nonlinear control approaches such as adaptive control, backstepping, and sliding mode control to enhance robustness and stability (Tian et al., 2025; Wang et al., 2025).

SMC has proven to be one of the most effective methods for ensuring finite-time convergence and disturbance rejection. It has been successfully used in UAV attitude stabilization, robotic manipulator control, and cooperative vehicle systems (Li et al., 2024; Ul Islam, Iqbal & Khan, 2014; Chen et al., 2025; Ding et al., 2025). However, its performance is often limited by chattering effects and sensitivity to model uncertainties (Ali et al., 2022; Roohi et al., 2023). To improve control smoothness, various modifications have been introduced, including higher-order SMC, integral SMC, adaptive boundary-layer SMC, and observer-based sliding control (Jiang et al., 2025; Jin et al., 2023; Castellanos-Cárdenas et al., 2024). Despite these improvements, most SMC designs assume known system dynamics or rely on conservative parameter tuning.

To overcome model dependence, fuzzy logic and neural network-based adaptive control schemes have been increasingly integrated into SMC designs. Fuzzy–neural hybrid models provide real-time estimation of unknown nonlinearities and compensate for system uncertainties using learning algorithms (Ding et al., 2025; Hu, Chen & Ghosh, 2024; Qi et al., 2024). The introduction of Interval Type-2 Fuzzy Logic Systems (IT2FLS), extended to IT2FNN, offers improved capability for handling measurement noise and dynamic uncertainties through the footprint of uncertainty (Liu et al., 2025; Wang et al., 2025; Shao, Feng & Wang, 2023). These models have been applied in robotic systems, UAV formation (Zatout et al., 2022), and autonomous driving for accurate control under uncertain and varying conditions.

In multi-agent control, recent research has focused on distributed and event-triggered SMC frameworks capable of maintaining consensus and formation under limited communication and switching topologies (Liu et al., 2025; Lu et al., 2024; Ding et al., 2025; Wang et al., 2025; Guo et al., 2023). However, most of these studies neglect actuator saturation and often assume continuous information exchange, which is unrealistic for practical networks. To address communication limitations, event-triggered, quantized, and predictive mechanisms have been proposed to reduce data transmission while maintaining coordination accuracy (Hu, Chen & Ghosh, 2024; Jin et al., 2023; Ahmad et al., 2025). Similarly, optimization-based adaptive approaches, including particle swarm optimization (PSO) and biogeography-based optimization (BBO), have been applied to tune fuzzy–neural parameters and improve learning efficiency (Khan, Ul Islam & Iqbal, 2012).

Despite the progress, several gaps persist in the literature. Few studies jointly address switching topology, input saturation, and time-varying nonlinearities in a unified control framework. Moreover, most adaptive fuzzy–neural designs rely on slow gradient updates, leading to sluggish response under rapidly changing conditions. The proposed RGT2FNN–SMC framework resolves these challenges by integrating a gradient-based adaptive mechanism, fuzzy–neural uncertainty estimation, and smooth SMC control law to ensure chattering-free and finite-time convergence (Shao, Feng & Wang, 2023; Khan, Ul Islam & Iqbal, 2012; Irfan et al., 2024).

By unifying robustness, adaptability, and computational efficiency, this approach offers a scalable and practical solution for real-world distributed systems such as UAV swarms, autonomous ground vehicles, and intelligent robotic teams.

Proposed control methodology

This article employs a directed subgraph representation G={V,E,A} to model information exchange between N follower agents. The vertex set V={1,2,,N} identifies individual agents, while the edge set EV×V describes their interaction pathways. The adjacency matrix A=[aij]N×N quantifies these connections, where aij>0 indicates information flow from agent j to agent i, and aij=0 signifies no direct connection. By convention, self-loops are excluded ( aii=0).

In realistic MASs, communication is typically localized, resulting in a sparse adjacency matrix. Each agent’s neighborhood is defined as Ni={jV(i,j)E}. The graph Laplacian L=DA incorporates both connectivity and degree information, with D=diag(d1,,dN) representing the out-degree matrix where di=jNiaij.

The complete network topology G¯={V¯,E¯} extends this framework to include a leader agent, with V¯={0}V. The leader’s influence is captured by the diagonal matrix B=diag(b1,,bN), where bi=1 indicates that follower i receives the leader’s state information. The case where follower i cannot access the leader’s information is represented by bi=0. The overall network structure of G¯ is characterized by the composite matrix H=L+B. To account for dynamic network topologies where agent connections may vary over time, we define a finite set Γ={G1¯,G2¯,,Gp¯} containing all possible graph configurations. The temporal evolution of these topologies is described by a switching signal ψ(τ):[0,+){1,2,,p}, which maps each time instant τ to a specific graph index. Under this framework, the active topology at time τ is denoted by Gψ, with corresponding adjacency matrix Aψ, Laplacian matrix Lψ, and neighbor sets Niψ for each node i.

The main symbols and parameters used throughout this article are summarized in Table 1 for clarity.

Table 1:
List of main symbols and their descriptions used in the study.
Symbol Description Symbol Description
xi(τ) Position of agent i νi(τ) Velocity of agent i
υi(τ) Control input for agent i sat(υi) Saturation function
gi() Unknown dynamics of agent i g0() Dynamics of virtual leader
li Formation offset vector ei Formation tracking error
si(τ) Sliding surface for agent i ωi(τ) Integral term in sliding surface
υil(τ) Linear control component υisw(τ) Switching control component
K Feedback gain matrix ϱ Damping gain
α Robustness gain λ Adaptive gain for uncertainties
ρ IT2FNN error bound Δ(υi) Input deviation
Mυi Bound on deviation g^i IT2FNN-estimated dynamics
C, D System matrices L Laplacian matrix
A Adjacency matrix H Topology-leader matrix
ψ(τ) Topology switching signal Γ Set of topologies
qi, q¯i Firing strengths μij, μ¯ij Membership functions
θi, θ¯i Consequent bounds yL, yU Type-reduced outputs
y Final output mij, aij Mean and width (membership)
ζ Shape parameter S, T Lyapunov matrices
V(τ) Lyapunov function N Number of agents
DOI: 10.7717/peerj-cs.3527/table-1

Dynamic behavior of the system

Let us examine the nonlinear model that describes the dynamics of each agent in MAS:

x˙i(τ)=νi(τ),v˙i(τ)=gi(xi(τ),νi(τ),τ)+sat(υi(τ)).

Here, xi(τ)n, νi(τ)n and sat(υi(τ))n represent the position, velocity and saturated input of the ith agent, respectively. The term gi(xi(τ),νi(τ),τ)n captures the nonlinear part of the agent’s dynamics. It is assumed that all follower agents are homogeneous, meaning that gi=gj for any i,jV.

The behavior of the virtual leader is governed by the following dynamics:

x˙0(τ)=ν0(τ),v˙0(τ)=g0(x0(τ),ν0(τ),τ).

In this case, x0(τ)n, ν0(τ)n, and g0(x0(τ),ν0(τ),τ)n denote the position, velocity, and known nonlinear dynamics of the virtual leader. Unlike gi, which requires approximation through neural networks, g0 is known and can be predefined. The saturation function for the control input υi(τ) is defined as:

sat(υi)={υ_i,υi<υ_iυi,υ_iυiυ¯iυ¯i,υi>υ¯i,where υ_i and υ¯i are the known lower and upper bounds of the control signal υi(τ) for each agent i=1,2,,N.

For each follower agent indexed by i, define the formation error vector as follows:

ei=[xiνi]-[li+x0ν0],where lin denotes the desired relative position originating from the ith follower towards the leader.

To analyze the system’s behavior in terms of this new error vector, we take the time derivative of ei.

e˙i=Cei+D(gig0+sat(υi)).

The matrices C and D, which define the system dynamics, are specified as follows:

C=[0nIn0n0n],D=[0nIn],where In=diag(1,1,,1)n×n is the identity matrix, and 0n=diag(0,0,,0)n×n is the zero matrix.

Definition 2.1. The control input υi(τ) is said to asymptotically achieve the desired formation of the MAS for every agent iV if, for any initial conditions of the leader and followers, the following limits are satisfied:

limτ||xi(τ)lix0(τ)||=0,limτ||νi(τ)ν0(τ)||=0.

Remark 2.1. Definition 1 introduces the notion of asymptotic formation in the context of MAS dynamics in the absence of external disturbances. When li=0 for all iV, the condition in Eq. (2.6) reduces to a consensus problem. Therefore, consensus can be interpreted as a special case of the formation control problem.

Overview of the ellipsoidal IT2 fuzzy neural network

To estimate the uncertainties present in the system dynamics described by Eq. (2.1), an IT2FNN is employed within the formation error framework of Eq. (2.5). This structure allows for a highly precise and robust approximation of system uncertainties. It is important to emphasize that there is no interaction among the n components of gi. Specifically, the kth element of gi depends solely on the k-th components of xi and νi. The structure of the fuzzy neural network employed for uncertainty estimation is illustrated in Fig. 1.

The schematic diagram of fuzzy neural network structure.

Figure 1: The schematic diagram of fuzzy neural network structure.

Given the input vector ω=[ω1ω2]T=[eixkeivk]T for k=1,2,,n, the IT2FNN of ellipsoidal type is structured as follows. The ith fuzzy rule is stated as:

Ri :IFω1isF~1iANDω2isF~2iTHENyisθi,i=1,2,,r

Here, ω1 and ω2 represent the input variables, and y is the output of the fuzzy system. The number of fuzzy rules is denoted by r. The symbols F~1i and F~2i denote IT2 fuzzy sets used as antecedents. The consequent fuzzy set θi=[θ_i,θ¯i] specifies the lower and upper bounds of the output. Based on these rules, the IT2FNN is composed of five neural layers.

The IT2FNN structure consists of five layers, each with a specific function given by:

Input layer: Let ωj denote the jth input to the IT2FNN input layer.

Membership layer: Here nodes are organized into groups, where each group corresponds to the antecedent of a fuzzy rule, and each node represents a symmetric IT2 membership function. Based on the relationship between the input measurements and their means, the upper and lower membership functions are computed as:

μ¯ij(ωj)={1(|ωjmij|aij)1ζ,if|ωjmij|<aij0,otherwise

μ_ij(ωj)={1(|ωjmij|aij)ζ,if |ωjmij|<aij0,otherwise.

Here, mij and aij denote the mean and standard deviation, respectively, and ζ(0,1) is a shape parameter controlling the FOU. Figure 2 demonstrates the fuzzy membership functions that define the uncertainty bounds used in the IT2FNN. The parameters of the IT2FNN, including the means mij, widths aij, and shape factor ζ, were initialized within empirically chosen ranges to ensure stable system performance. These parameters are then adaptively tuned using the Biogeography-Based Optimization (BBO) algorithm, allowing real-time adjustment to handle nonlinearities and time-varying uncertainties efficiently. The IT2FNN employs ellipsoidal Gaussian membership functions because they provide smooth and differentiable transitions between fuzzy regions, which are essential for adaptive learning. Their elliptical footprint of uncertainty (FOU) offers better flexibility for modeling nonlinearities compared to triangular or trapezoidal functions. This form effectively balances approximation accuracy and computational simplicity, which is particularly advantageous for real-time multi-agent control.

Fuzzy membership function.

Figure 2: Fuzzy membership function.

Activation layer: By employing the singleton fuzzification method and the product τ-norm, the firing strength of the ith rule is given by:

q_i=j=12μ_ij(ωj),q¯i=j=12μ¯ij(ωj)

Type reduction layer: This layer calculates the output by center-of-sets type-reduction:

yL=i=1rq_iθ_i  i=1rq_i=θ_TqL,yU=i=1rq¯iθ¯ii=1rq¯i=θ¯TqU,where θ_=[θ_1,θ_2,θ_r]T, θ¯=[θ¯1,θ¯2,,θ¯r]T, qL=[q1L,q2L,,qrL]T with qiL=q_i/j=1rq_j, and qU=[q1U,q2U,,qrU]T with qiU=q¯i/j=1rq¯j.

Output layer: The final defuzzified output is modeled as:

y=yL+yU2.

The center-of-sets type-reduction method was adopted for defuzzification due to its computational simplicity and numerical stability. Unlike iterative Karnik–Mendel algorithms, this approach efficiently produces a crisp output suitable for online control, making it ideal for multi-agent systems with limited computational resources.

A five-layer IT2FNN structure was adopted because it provides a balance between computational tractability and sufficient modeling capability. Additional layers would significantly increase training complexity without proportional performance gain, whereas fewer layers would reduce approximation accuracy. This configuration is consistent with standard IT2FNN architectures used in control applications.

Chattering phenomenon in sliding mode control

A well-known limitation of classical SMC and its higher-order variants is the chattering phenomenon, which refers to high-frequency oscillations of the control input around the sliding surface due to the discontinuous signum function. These oscillations can excite unmodeled system dynamics, induce mechanical wear, and degrade steady-state accuracy when applied to real actuators. As discussed by Ahmad et al. (2025), chattering arises when the switching control law u=Ksgn(s) reacts instantaneously to small variations in the sliding variable s. The authors demonstrated that introducing a fractional-order integral sliding surface and a smooth switching function can effectively reduce the discontinuity in control torque, leading to smoother actuator behavior in physical manipulators.

Chattering mitigation in the proposed RGT2FNN–SMC

In the present work, chattering is mitigated through two mechanisms:

  • The RGT2FNN adaptive component continuously estimates and compensates the lumped uncertainty term, thereby reducing the amplitude of the switching gain required for reliability.

  • The introduction of a smooth boundary layer function instead of the ideal signum function transforms the control discontinuity into a continuous function within a thin layer, ensuring finite-time convergence without high-frequency switching.

Optimization and robustness analysis

A distributed integral sliding surface is constructed for every agent in the network as follows:

si(τ)=Kei(τ)ωi(τ),where ωi(τ) evolves according to the differential equation. It is the integral term that gives the controller its “Integral Sliding Mode” property.

ω˙i(τ)=K(Cei(τ)+Dsat(υil(τ))),ωi(0)=Kei(0),where υil(τ) is a linear state feedback control law introduced later in Eq. (3.5).

Taking the time derivative of the sliding surface for the ith agent yields:

s˙i(τ)=KD(sat(υi(τ))sat(υil(τ))+gi(τ)g0(τ)).

The main contribution of this work is the proposed adaptive distributed control law, υi(τ), which is composed of two primary components. The adaptive distributed IT2 law for the ith follower is formulated as follows:

υi(τ)=υil(τ)+υisw(τ).

The linear feedback term υil(τ) is given by:

υil(τ)=Kηi(τ),where

ηi(τ)=jNiψaijψ(eiej)+biψei.

To ensure the system state reaches the designed sliding surface in finite time and maintains reliability against unknown dynamics and disturbances, the nonlinear switching control component, υisw(τ), is introduced. This component employs a standard SMC sign function along with a proportional term:

υisw(τ)=λsgn(si(τ))ϱsi(τ).

In this expression, λ=g^ig0+α, where α is a small positive constant, and ϱ is a selected positive control gain. The matrix K represents the linear feedback gain. The term g^i denotes the approximation of the unknown nonlinear function gi.

To address the nonlinearity introduced by the saturation function, we impose the following assumption (adapted from Mirzajani, Aghababa & Heydari, 2019):

|Δ(υi)|Mυi,i=1,2,,N,where Δ(υi)=sat(υi)υi represents the saturation-induced deviation, and Mυi represents an unknown but positive constant. This corresponds to saturation limits of physical actuators such as DC motors, propellers, servos, or steering systems. In UAVs or ground robots, for instance, motor torque, thrust, and wheel force are always bounded due to voltage and current limitations. Modeling the input as bounded ensures that the control law never demands an unrealizable signal and can be directly implemented on real hardware.

Assumption 3.1. The approximation error g~i between the actual nonlinear function gi and its estimation g^i provided by the IT2FNN (as introduced in “Overview of the Ellipsoidal IT2 Fuzzy Neural Network”) is assumed to be bounded. Specifically, it satisfies:

||g~i||=||g^igi||ρwhere ρ0 is a known non-negative constant.

This inequality is assumed to hold for all time instants τ0 during the operation of the multi-agent system. The validity of this inequality is based on the widely accepted premise in physical systems that disturbances and unmodeled dynamics are finitely bounded. Furthermore, since the unknown nonlinear function gi is typically assumed to satisfy the Lipschitz condition over the working domain, the approximation error g~i is also bounded by a finite constant, justifying the existence of the overall bound ρ.

This models environmental uncertainties such as aerodynamic drag, crosswinds, rolling resistance, surface friction variation, or sensor noise. In real vehicles or aerial robots, these effects fluctuate but remain within a measurable range. The assumption allows the control law to design reliable compensation without requiring exact disturbance knowledge.

Lemma 3.1. Zhao & Jia (2015) assume there exists a continuous positive definite function V(τ) such that for all ττ0, the inequality

V˙(x)+C1Vϵ(x)+C2V(x)0holds, where C1,C2>0 and ϵ(0,1). Then, the function V(τ) converges to zero in finite time T given by

Tτ0+1C2(1ϵ)ln(C2V1ϵ(x(τ0))+C1C1).

Theorem 3.2. Assume the formation error system described in Eq. (2.5), and apply the distributed SMC law defined in Eq. (3.4) with appropriately chosen controller parameters. Then, the condition si(τ)=0 can be fulfilled within a finite time interval.

Proof: To ensure that the system can reach the sliding surface under the control law Eq. (3.4), the potential Lyapunov function is introduced as:

Vi(τ)=12siT(τ)(KD)1si(τ)

Differentiating Vi(τ) with respect to time yields:

V˙i(τ)=siT(τ)(KD)1s˙i(τ)=siT(τ)(λsgn(si(τ))ϱsi(τ)+Δ(υi(τ))+gi(τ)g0(τ))siT(τ)(λsgn(si(τ))ϱsi(τ)+Mυi+gi(τ)g0(τ))siT(τ)(λsgn(si(τ))ϱsi(τ)+Mυi+g~i(τ))=V˙iλ||si||ϱ||si||2+||si||(ρ+Mυi)

ζ=λ(ρ+Mυi).

So we have,

V˙iζsi(τ)ϱsi(τ)2C1Vi12C2Vi(τ),where C1=ζ2/λmax((KD)1) and C2=ϱ2/λmax((KD)1).

Then, by Lemma (3.1), si(τ) reaches zero in finite time. The finite-time convergence bound is given by:

Ti2C2ln(C1+C2Vi(0)C1)which completes the proof.

Theorem 3.3. Consider the sliding dynamics that result after the sliding mode is reached. Suppose the weighted matrix H ensures Re(λi(H))>0. Let the control gain be selected as K=DTT, where T=TT2n×2n is a positive definite matrix that solves the algebraic Riccati equation:

CTT+TC-ϕTDDTT=INunder the condition 0<ϕ<2min{Re(λi(H))}. Furthermore, suppose there exists a positive definite matrix Sn×n such that:

HTS+SH>S.Then, the resulting sliding dynamics are finite-time bounded and stable.

Proof: Upon reaching the sliding mode, the conditions si(τ)=0 and s˙i(τ)=0 are satisfied. From Eq. (3.3), the sliding condition s˙i(τ)=0 implies:

sat(υisw(τ))+gi(τ)g0(τ)=0.

From Eqs. (2.5) and (3.12), we observe that it is sufficient to analyze the convergence of the following system:

e˙i(τ)=Cei(τ)DKηi(τ)+DΔυi.

Define the stacked vectors:

e(τ)=[e1T(τ)e2T(τ)eNT(τ)]T,η(τ)=[η1T(τ)η2T(τ)ηNT(τ)]T.

Then the closed-loop system becomes:

e˙(τ)=(INCHBK)e(τ)+(IND)Δυ(τ).

Choose the Lyapunov function candidate as:

V(τ)=eT(τ)(ST)e(τ).

Taking the time derivative and simplifying for any e(τ)0, we obtain:

V˙(τ)=e˙T(τ)(ST)e(τ)+eT(τ)(ST)e˙(τ).

Substitute e˙(τ)

V˙(τ)=[(INCHBK)e(τ)+(IND)Δυ(τ)]T(ST)e(τ)+eT(τ)(ST)[(INCHBK)e(τ)+(IND)Δυ(τ)]

V˙(τ)=[eT(τ)(INCHBK)T+ΔυT(τ)(IND)T](ST)e(τ)+eT(τ)(ST)[(INCHBK)e(τ)+(IND)Δυ(τ)]=eT(τ)[S(CTT+PA-PBBTT)]e(τ)+2eT(τ)(SBP)Δυ(τ).

Using Cauchy-Schwarz inequality and the boundedness of Δυ(τ), we have

2eT(τ)(SPB)Δυ(τ)2||e(τ)||||SPB||||Δυ(τ)||2Mu||SPB||||e(τ)||.

So,

V˙(τ)≤=eT(τ)(SIN)e(τ)+2Mu||SPB||||e(τ)||.

Since SIN is positive definite, there exists λmin(S)>0 such that:

V˙(τ)λmin(S)||e(τ)||2+2Mu||SPB||||e(τ)||.

This shows that V˙(τ) is negative definite for sufficiently large ||e(τ)||, ensuring finite-time boundedness and stability of the sliding dynamics. The two terms in the majorant remain independent after factorization since the common term is a scalar multiplier, and no cross-dependence exists between the resulting expressions. This ensures the validity of the bound derived in the final step of the proof.

when configuring a large number of agents, the IT2FNN may generate an excessive number of fuzzy rules. This can lead to computational challenges, often referred to as the “curse of dimensionality,” making the control process impractical. To address this, a practical solution within the control loop is to incorporate a state estimator. By estimating the agents’ states and providing these estimates to both the controller and the IT2FNN, the overall load can be significantly minimized. The overall control strategy based on SMC is schematically presented in Fig. 3.

Schematic diagram of SMC strategy.

Figure 3: Schematic diagram of SMC strategy.

Remark 3.4. The proposed control framework effectively handles model uncertainties by combining adaptive fuzzy estimation and robust sliding mode control. The embedded IT2FNN adaptively approximates unknown nonlinear functions and external disturbances using online learning rules, while the sliding surface dynamics ensure that any residual approximation errors remain bounded. The RGT2-based adaptation further enhances robustness by continuously tuning the fuzzy parameters to match time-varying uncertainties, allowing the multi-agent system to maintain stability and formation accuracy without requiring precise prior modeling.

Simulation results and discussion

To rigorously assess the reliability and applicability of the proposed RGT2FNN-based adaptive sliding mode control framework. All simulations were carried out using MATLAB R2022a (The MathWorks, Natick, MA, USA) on a laptop equipped with an Intel® Core™ i7-11800H CPU @ 2.30 GHz, 16 GB RAM, and Windows 10 (64-bit) operating system. The simulation time step was set to 0.001 s, and all numerical computations were performed using MATLAB.

The following complex environments are considered to evaluate scalability, adaptability to heterogeneous dynamics, and resilience under communication imperfections and actuator limitations. This section considers a MAS with one virtual leader and five identical follower agents, i.e., N=5.

The nonlinear behavior of the agents is modeled as follows:

g0(τ)=[0.1,0.3]T,gi(xi,νi,t)=10sin(xi)0.3νi+0.5sin(0.3t+i)+di(t),where

di(t)=0.8sin(0.4t)+0.3cos(0.6t)represents bounded external disturbances such as wind or load perturbations.

A time-varying communication delay is introduced as

τd(t)=0.1+0.05sin(0.5t),and the delayed information exchange is modeled as

xi(t)=xj(tτd(t)).

Actuator saturation is incorporated through a saturation function applied to each control input:

sat(υi(τ))={[4,4]T,υi(τ)<[4,4]Tυi(τ),[4,4]Tυi(τ)[4,4]T[4,4]T,υi(τ)>[4,4]T.

The leader’s starting positions and the follower agents are defined as:

x0(0)=[2,1.5]T,x1(0)=[0.5,0]T,x2(0)=[0.5,0.3]Tx3(0)=[0,0.8]T,x4(0)=[1.2,0.4]T,x5(0)=[0.8,1]T.

All agents are initialized with zero velocity.

The desired relative positions with respect to the leader (formation offsets) for each follower are specified as:

h1=[2,1]T,h2=[2,1]T,h3=[2,1]T,h4=[2,1]T,h5=[0,2.5]T.

The control gains utilized in the simulation are given by:

K=[18095018718],α=0.002,ϱ=0.015.

The interaction structure is represented by an undirected graph illustrated in Fig. 4. The interaction among follower agents is represented by the adjacency matrix C, and the leader’s influence is captured by the leader-follower weight matrix D:

Network communication topology.

Figure 4: Network communication topology.

C=[0001000001010000010000010],D=[1000001000001000001000001].

Figures 5, 6, 7, 8 and 9 illustrate the performance of the proposed control scheme. Specifically, Fig. 5 shows the trajectories of all agents, which successfully converge to the target for mation. Figures 6, 7, 8 and 9 demonstrate the evolution of the position and velocity tracking errors, verifying the effectiveness of the control law in handling bounded inputs. The proposed RGT2FNN–SMC controller ensures that both errors converge asymptotically toward zero despite the presence of bounded input constraints, communication topology switching, and additive disturbances. The position deviation initially exhibits small oscillations during transient phases ( t<5s), corresponding to agents adjusting to the switching network and the uncertainty compensation terms in the fuzzy inference model. After approximately t=8s, all position errors remain confined within ±0.02m, and the corresponding velocity deviations fall below 0.01m/s, confirming bounded tracking in the sliding domain.

Trajectories of the agents.

Figure 5: Trajectories of the agents.

Positional deviation of the follower agents along the x-axis.

Figure 6: Positional deviation of the follower agents along the x-axis.

Positional deviation of the follower agents along the y-axis.

Figure 7: Positional deviation of the follower agents along the y-axis.

Velocity deviation of the follower agents along the x-axis.

Figure 8: Velocity deviation of the follower agents along the x-axis.

Velocity deviation of the follower agents along the y-axis.

Figure 9: Velocity deviation of the follower agents along the y-axis.

To evaluate robustness against dynamic communication changes, the same setup is simulated with randomly switching topologies drawn from the following adjacency matrices:

A1=[0101010101010011000101110],A2=[0011000011100011100001100],A3=[0110010001100100010101010].

The randomly switching communication topologies used in the simulations are illustrated in Fig. 10. Simulation results under these switching scenarios are presented in Figs. 11 and 12. The figures confirm that the proposed IT2FNN approach maintains system stability, ensures convergence to the desired formation, and effectively compensates for non-linearities, even under varying topologies and actuator saturation.

Switching communication topology.

Figure 10: Switching communication topology.

Positional deviations of the follower agents with switching communication topology.

Figure 11: Positional deviations of the follower agents with switching communication topology.

Velocity deviations of the follower agents with switching communication topology.

Figure 12: Velocity deviations of the follower agents with switching communication topology.

Figures 13 and 14 illustrate the comparative analysis of the classical SMC and the proposed RGT2FNN–SMC control signals, emphasizing the mitigation of the chattering phenomenon. In Fig. 13, the conventional SMC input (red curve) exhibits strong high-frequency oscillations around the switching surface, reaching amplitudes of approximately ±3.2V during the transient phase ( 0 4s). These rapid sign changes are characteristic of the discontinuous switching term sgn(s) and are known to excite unmodeled actuator dynamics and cause mechanical stress. In contrast, the proposed RGT2FNN–SMC input (blue curve), which replaces the discontinuous term with a smooth hyperbolic tangent function tanh(s/ϕ) and incorporates adaptive fuzzy estimation, produces a much smoother control profile confined within ±0.8V. The adaptive term compensates system uncertainties, thereby reducing the switching gain and effectively suppressing chatter at the actuator output.

Chattering reduction in control input using RGT2FNN–SMC.

Figure 13: Chattering reduction in control input using RGT2FNN–SMC.

FFT comparison showing suppression of high-frequency chatter.

Figure 14: FFT comparison showing suppression of high-frequency chatter.

The frequency-domain comparison in Fig. 14 further confirms this observation. The FFT analysis shows that high-frequency components above 20Hz, dominant in the classical SMC signal, are almost completely eliminated in the RGT2FNN–SMC spectrum. Quantitatively, the RMS control effort decreased by approximately 75%, indicating a substantial reduction in chattering energy without compromising convergence speed.

When external disturbances were introduced during the simulation, the effectiveness of the proposed RGT2FNN–SMC controller in maintaining formation tracking became evident. As illustrated in Figs. 15 and 16, the proposed method exhibits strong resilience to sudden perturbations, showing only small and transient deviations in both position and velocity tracking errors. The system quickly restores the desired trajectories once the disturbance subsides, indicating fast recovery and consistent stability. In contrast, the baseline IT2FNN–SMC experiences larger fluctuations and slower convergence under the same conditions. These results highlight the enhanced disturbance rejection capability of the proposed approach, achieved through the adaptive fuzzy estimation of uncertainties and the integral sliding mode design that ensures reliability and smooth dynamic response even in the presence of time-varying external influences.

Comparison of position tracking under external disturbance using RGT2FNN–SMC and IT2FNN–SMC.

Figure 15: Comparison of position tracking under external disturbance using RGT2FNN–SMC and IT2FNN–SMC.

Comparison of velocity tracking under external disturbance using RGT2FNN–SMC and IT2FNN–SMC.

Figure 16: Comparison of velocity tracking under external disturbance using RGT2FNN–SMC and IT2FNN–SMC.

Figures 17 and 18 present the sensitivity analysis of the proposed RGT2FNN–SMC controller under ±20% variations in key parameters, including the sliding gain, learning rate, and adaptation coefficient. The shaded regions indicate the performance range under these perturbations, while the solid curve represents the nominal response. The minimal spread of the shadow bands confirms that the controller maintains stable and consistent tracking accuracy, demonstrating low sensitivity to parameter tuning and high adaptability under model and design uncertainties. The proposed hybrid RGT2FNN–SMC framework also exhibits strong scalability potential for real-world applications. Since the control strategy is fully distributed, each agent requires only local neighbor information, which minimizes communication overhead as the network size increases. Furthermore, the RGT2FNN based adaptive estimator operates with low computational complexity, making real-time implementation feasible even in embedded processors or UAV swarms. These characteristics suggest that the proposed approach can be efficiently deployed in large-scale multi-agent systems operating under uncertain and dynamic environments.

Sensitivity of position tracking under ±20% parameter variation in the RGT2FNN–SMC controller.

Figure 17: Sensitivity of position tracking under ±20% parameter variation in the RGT2FNN–SMC controller.

Sensitivity of velocity tracking under ±20% parameter variation in the RGT2FNN–SMC controller.

Figure 18: Sensitivity of velocity tracking under ±20% parameter variation in the RGT2FNN–SMC controller.

The proposed hybrid RGT2FNN–SMC framework also exhibits strong scalability potential for real-world applications. Since the control strategy is fully distributed, each agent requires only local neighbor information, which minimizes communication overhead as the network size increases. Furthermore, the RGT2FNN based adaptive estimator operates with low computational complexity, making real-time implementation feasible even in embedded processors or UAV swarms. These characteristics suggest that the proposed approach can be efficiently deployed in large-scale multi-agent systems operating under uncertain and dynamic environments.

Conclusion

This study presented a novel RGT2FNN–SMC framework for robust formation control of second-order MASs under switching topologies and actuator input constraints. The proposed approach integrates adaptive fuzzy neural estimation with sliding mode control to effectively compensate for unknown nonlinear dynamics and external disturbances while ensuring finite-time convergence and smooth control effort. Unlike conventional IT2FNN–SMC schemes, the proposed RGT2FNN–SMC introduces a gradient-based adaptation mechanism that enhances learning efficiency and stability, enabling the controller to maintain precise formation tracking even under dynamic uncertainties and limited control authority.

Beyond demonstrating robustness, the work establishes a scalable and computationally efficient framework suitable for real-time applications such as cooperative UAVs, autonomous vehicles, and robotic swarms. Simulation studies under switching topologies, input saturation, and disturbance conditions validate the controller’s stability, adaptability, and resilience, confirming its potential for deployment in complex real-world environments. Future research will focus on implementing the proposed method in a hardware-in-the-loop or experimental multi-agent platform, and on extending the adaptive learning structure to support event-triggered communication for reduced network load and enhanced coordination efficiency.

Supplemental Information