Abstract
This study addresses the robustness challenges in hierarchical coordination of second-order networked multi-agent systems operating under exogenous perturbations. A decentralized adaptive control framework is developed to dynamically regulate follower agents toward a time-varying convex domain spanned by leaders, with explicit compensation mechanisms for bounded yet unstructured disturbances. Unlike conventional containment strategies relying on fixed-gain feedback, the proposed algorithm integrates a nonlinear sigmoidal adaptation law (Equation 6) that autonomously scales control efforts based on real-time error metrics, ensuring asymptotic convergence without prior knowledge of disturbance bounds. Global stability of the closed-loop system is rigorously proven via a composite Lyapunov function that jointly accounts for state errors and adaptive gain dynamics. Parametric studies further reveal a tunable trade-off between convergence speed and control energy consumption. Experimental validations under heterogeneous disturbance profiles—including non-smooth square waves and stochastic noise—demonstrate superior containment accuracy and rapid settling time.
Introduction
Recent advancements in multi-agent systems (MASs) have revolutionized applications ranging from autonomous robotics to smart grids, with a growing emphasis on distributed control strategies that enhance adaptability in dynamic environments. The central objective of MAS research is to design efficient distributed control algorithms that enable individual agents to achieve desired global objectives based on local information. Among the foundational problems in MAS cooperative control, the consensus problem serves as a cornerstone, underpinning advancements in formation control and flocking behavior (Olfati-Saber et al., 2007; Su et al., 2009; Zhang et al., 2023). Consensus in MASs emphasizes decentralized coordination to align agent states through local interactions (Liang et al., 2021). Extending this paradigm, containment control introduces a hierarchical structure in which followers are driven to remain within a time-varying convex region spanned by leaders, a critical requirement for scenarios such as UAV swarm navigation under dynamic threats (Jin et al., 2025; Pang et al., 2022; Yu et al., 2023). For the problem of stochastic environmental disturbances in autonomous underwater vehicles (AUVs), a terminal sliding mode observer combined with a dual-power reaching law is designed to estimate unmeasurable velocities. An adaptive controller is proposed to compensate for stochastic disturbances, and its effectiveness in complex marine environments is validated through theoretical analysis and experiments, providing a significant reference for underwater vehicle formation control (Yan et al., 2023). Also, the processing of random disturbance of AUV further promotes the practical application of MAS in uncertain physical systems.
However, the widespread presence of external disturbances and system uncertainties in real-world environments significantly complicates MAS control problems. External disturbances not only degrade control precision but may also destabilize the system (Xiao et al., 2022). Therefore, designing robust distributed control algorithms capable of mitigating the impact of such disturbances is critical. In recent years, researchers have proposed various effective methods to address the issues of MAS consensus and containment control under disturbances, including robust and adaptive control strategies to counteract external perturbations (Li et al., 2020a; Qian et al., 2020a). For instance, addressing disturbance scenarios in single-integrator systems, Jiang et al. (2024) proposed a fully distributed preset-time containment control method. By employing a preset-time disturbance observer to regulate the convergence time of observation errors, their approach eliminates reliance on global topological information. Sui et al. (2025) extended this research to nonlinear non-strict feedback systems, integrating barrier Lyapunov functions with preset performance functions. While handling full-state constraints, their adaptive strategy ensures follower errors converge to specified boundaries, offering a new framework for robust containment control in complex dynamical systems.
To address diverse task requirements, MAS control strategies have been extensively studied, encompassing consensus control, containment control, and event-triggered control. In the realm of consensus control, a distributed event-triggered adaptive control algorithm was proposed in Qian et al. (2020b) to achieve robust consensus for linear MASs under disturbances while reducing communication and computational burdens. For specific system types, Gong et al. (2019) explored observer-based control methods for discrete-time positive systems, offering solutions for consensus in specialized networked systems. For inherent nonlinear MASs, Li et al. (2024) developed a distributed adaptive finite-time control algorithm. Utilizing a dual-power reaching law to address high- and low-order nonlinear terms, their method eliminates the need for Lipschitz continuity assumptions and significantly enhances anti-disturbance capabilities in complex dynamic systems. Regarding heterogeneous MASs, a fixed-time control approach was proposed in Duan et al. (2023) to tackle formation and containment control challenges involving time-varying outputs, while Yang et al. (2023) addressed bidirectional containment control of fractional-order MASs with input delays, introducing a delay-compensated protocol to overcome difficulties arising from fractional calculus, time delays, and dynamic switching topologies.
Despite these advancements, traditional control strategies often suffer from high communication costs. Event-triggered control mechanisms have emerged as a promising alternative (Liu et al., 2024), significantly alleviating communication burdens while improving control efficiency. For example, an event-triggered adaptive control strategy was developed in Xing et al. (2017) for uncertain nonlinear systems, which combines adaptive gain and event-triggered mechanisms to ensure stability while reducing communication overhead. Similarly, Zhou et al. (2021) introduced an observer-based event-triggered fuzzy adaptive control strategy to address bidirectional consensus under input quantization, enhancing the robustness and stability of MASs under constrained communication and computation conditions. For heterogeneous systems, Feng et al. (2024) proposed an adaptive event-triggered control strategy targeting time-varying output formation containment. By designing dual-trigger conditions to decouple triggering sequences, they effectively reduced communication costs in large-scale heterogeneous networks.
In recent years, adaptive control for stochastic MASs has also witnessed significant progress. To address the effects of stochastic disturbances and nonlinear dynamics, distributed adaptive neural control strategies have been developed, enabling each agent to rely solely on local and neighbor information to achieve control objectives (Li et al., 2020b, 2021a, 2021b; Wang et al., 2017). These studies have not only extended the applicability of MAS control methods but also provided theoretical insights into tackling dynamic challenges in complex environments.
Given the above progress, despite notable achievements in theoretical analysis and algorithm design, challenges remain in realizing adaptive containment control under disturbances while ensuring rapid convergence and high-precision control. To address these issues, the main contributions of this study are as follows:
This paper proposes a novel nonlinear adaptive control protocol for the containment control problem of second-order MASs. Unlike traditional fixed-gain strategies, the proposed dynamic gain mechanism evolves based on instantaneous tracking errors, enabling adaptive regulation of the control input. The design integrates both state error and adaptive gain dynamics, and rigorously guarantees the global asymptotic stability of the closed-loop system.
In contrast to conventional simulations under a single disturbance type, this study conducts comprehensive numerical experiments under various disturbance scenarios, including sinusoidal signals, square waves, random noise, and mixed noise. The simulation results clearly demonstrate that the proposed algorithm exhibits superior performance in terms of convergence speed and robustness against disturbances.
The subsequent sections of this paper are structured to systematically address the challenges of adaptive containment control under disturbances. Section “Preliminaries and model establishment” establishes foundational graph-theoretic concepts and notations critical for modeling multi-agent interactions. Building on this framework, section “Analysis of adaptive containment control” formulates the adaptive containment control problem and develops a distributed control law with dynamic parameter adaptation. To validate the theoretical analysis, section “Simulation example” conducts comprehensive numerical simulations under heterogeneous disturbance scenarios, including sinusoidal and discontinuous signals. Finally, section “Conclusion” summarizes the key contributions and discusses potential extensions for adaptive control strategies in networked systems with switching topologies.
Preliminaries and model establishment
Preliminary knowledge
Without loss of generality, let networks consisting of n agents, which share identical state space ℝ. To facilitate the research, the following definitions are provided: graph
The following properties hold for the submatrix
Problem description
Consider a second-order MAS consisting of both followers and leaders. In practical scenarios, where external disturbances are present in the control inputs, the dynamics of the follower agents can be expressed as follows
In this paper, we consider the case of static leaders, such that
where
Denote
The objective of the design is to develop an adaptive controller that converges more rapidly to the convex hull of the leader within a finite time, capable of efficiently handling uncertainties, external disturbances, and dynamic changes. This controller is expressed as
where
The adaptive law for
where ρ and
The Laplacian matrix L is partitioned to isolate leader–follower interactions, a configuration critical for decentralized containment in networked systems
where
The control input integrates both nonlinear and linear feedback terms
where the nonlinear terms dominate during transient phases to rapidly mitigate disturbances, while the linear terms ensure steady-state precision.
In the subsequent sections, the primary results are presented and discussed in detail based on the above framework.
Analysis of adaptive containment control
The containment error functions are defined as follows:
Step 1: Relative position state information:
Step 2: Relative velocity state information:
Furthermore
According to (5), we can get that
By combining equations (14) and (15), the control input is derived as follows
where the specific forms of
Then
It is easy to see that
Substituting (14) and (16) into (22) yields
Without loss of generality, let
Considering that
Then, the time derivative of
Above all, by (25) and (26), it follows from (17) that
Then, it follows that V is negative semi-definite, implying that V is nonincreasing. Since
Thus,
where
The time derivative of
Simulation example
This section presents numerical simulations to evaluate the proposed adaptive containment framework under various disturbance scenarios. The results demonstrate the algorithm’s superior performance in containment precision and transient response compared to existing methods.
The communication topology among the agents is illustrated in Figure 1, including three leaders (nodes 1, 2, and 3) and five followers (nodes 4–8). And all edge weights are set to 1.

The communication graph.
Consider an MAS consisting of three leaders and five followers. Assume that the initial positions and velocities of the three leaders are
The Laplacian matrices
The controller parameters are chosen as
First, when the disturbance is a sinusoidal signal, which is also one of the most common types of disturbances.
Case 1:
When it comes to this case, the parameters are chosen with an amplitude of
As shown in Figure 2, the followers (thin lines) initially exhibit oscillatory behaviors due to sinusoidal disturbances but progressively converge to the convex hull spanned by leaders (bold lines) within 10 s. Notably, the adaptive gain

Agent trajectories under sinusoidal disturbances.

Agent velocities under sinusoidal disturbances.

State trajectory control inputs.

Adaptive response curves under sinusoidal disturbances.
In practical scenarios, various types of disturbances may arise, such as exponential decay disturbances, random signal disturbances, square-wave disturbances, and mixed signal disturbances.
In the following analysis, we consider the performance of the dynamic system under these different types of disturbances to demonstrate the superior capabilities of the proposed method.
The velocity trajectories and adaptive response curves for individual agents (specifically, followers 1 and 2) under different disturbance types are shown in Figures 6 and 7.

Velocities of followers

Adaptive response curves of followers
As shown in Figures 8 and 9, under different types of disturbances, the states of the followers are effectively contained within the convex hull formed by the leader. Additionally, the adaptive response curves of the followers rapidly converge to a fixed constant value.

Velocity of agents under various disturbances (a) shows the velocity trajectories of the agents under sinusoidal disturbance; (b) shows the velocity trajectories of the agents under exponential disturbance; (c) shows the velocity trajectories of the agents under random disturbance; (d) shows the velocity trajectories of the agents under square wave disturbance; (e) shows the velocity trajectories of the agents under mixed disturbance.

Adaptive response curves under various disturbances: (a) shows the adaptive response curves of the agents under sinusoidal disturbance; (b) shows the adaptive response curves of the agents under exponential disturbance; (c) shows the adaptive response curves of the agents under random disturbance; (d) shows the adaptive response curves of the agents under square wave disturbance; (e) shows the adaptive response curves of the agents under mixed disturbance.
To facilitate a better comparison of the containment performance of the agents under different disturbances, three groups of parameters were selected for comparison.
Case 1:
The performance results are shown in Table 1. The system exhibits varying behavior under different disturbance types. Under random disturbances, the system achieves the best performance, with the shortest convergence time, smallest steady-state error (2.83), and control input remaining within a reasonable range (1.17). In contrast, under square-wave disturbances, the steady-state error reaches its maximum, indicating relatively weaker adaptability to such discontinuous signals.
Performance under different disturbance types.
Case 2:
No significant improvement is observed in convergence time across the five disturbance types. However, the control input increases substantially to 1.87—approximately a 60% increase compared to Case 1—resulting in considerably higher energy consumption. The steady-state error under random disturbance remains minimal (2.83), while it increases to 2.86 under square-wave disturbance.
Case 3:
In this case, the convergence time under sinusoidal disturbance is prolonged. The steady-state error is smallest (2.845) under both random and hybrid disturbances. However, this improvement comes at the cost of the highest energy consumption under random disturbance, with the control input reaching 2.86.
Based on the comprehensive comparison, it is observed that increasing the gain adjustment rate tends to amplify the cumulative error effect. Meanwhile, higher values of both ρ and
Nevertheless, the system demonstrates relatively stable performance across all five disturbance types. The average control input values under different disturbances remain comparable, reflecting the controller’s consistency in energy usage and robustness in the presence of various perturbations.
Conclusion
This paper studies second-order MASs subject to external disturbances by designing an adaptive control law with dynamic gain. Numerical simulations indicate that under various disturbances (sinusoidal, square-wave, and stochastic noise), the proposed method achieves faster convergence and lower steady-state error compared to conventional fixed-gain and linear-gain approaches, demonstrating strong robustness and disturbance rejection capabilities; thus, it provides a high-performance, reliable solution for containment control of second-order networked systems.
Although the proposed algorithm performs well under bounded disturbances, several issues warrant further investigation in future work: extending the algorithm to time-varying topologies to verify convergence; redesigning the control law and conducting time-delay stability analysis when delays are introduced; incorporating sliding-mode disturbance observers to handle more complex or unbounded noise; and generalizing the approach to higher-order or more complex dynamics to enhance applicability and reliability under broader dynamic network and disturbance conditions.
Footnotes
Author contributions
Conceptualization: Ronghua Chi, Ruitian Yang
Methodology: Ruitian Yang, Lei Wang
Formal Analysis: Dagao Tian
Original Draft: Ruitian Yang, Dagao Tian
Review & Editing: All authors
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by Jiangsu Province Industry University Research Cooperation Project (BY20230745); Wuxi Young Scientific and Technological Talent Support Initiative, Project Number: TJXD-2024-203, the Wuxi University research start-up fund for introduced talents (Grant No. 550223012), the Wuxi University research start-up fund for introduced talents (Grant No. 550222025).
Data availability statement
Data sharing not applicable to this article as no datasets were generated or analyzed during the current study.
