Abstract
This paper investigates the predefined-time distributed optimal formation control problem for networked marine surface vehicles (NMSVs) with time-varying optimization objectives and external disturbances. The objective is to drive all vehicles to track the time-varying global optimal trajectory generated by the distributed estimator while maintaining prescribed formation within a predefined time. Accordingly, a hierarchical optimization–formation control framework is developed to bridge global trajectory optimization and local formation control. In the optimization layer, a predefined-time distributed optimization estimator is developed based on local time-varying cost information and neighboring information exchange, which is employed to generate the optimal reference signal. The optimal reference signal is then embedded into the formation control layer, where a tracking controller with a predefined-time segmented terminal sliding-mode surface is designed to compensate for ocean disturbances and ensure accurate trajectory tracking. Lyapunov analysis proves that both the optimization estimation errors and the formation tracking errors converge to zero within a predefined time. Simulation results, including quantitative comparisons, fleets of up to 40 NMSVs, switching and jointly connected graphs, communication impairments, heterogeneous time-varying costs, and rapid references, demonstrate the convergence accuracy, scalability, and practical limits of deadline preservation.
1. Introduction
Networked marine surface vehicles (NMSVs) play a crucial role in key scenarios such as maritime search and rescue [1,2], ocean monitoring [3], and marine exploration. The successful execution of such tasks depends heavily on coordinated control and cooperative tracking among multiple vehicles [4], for which consensus control provides a fundamental analytical framework for distributed state coordination and information exchange [5,6]. Building on this foundation, formation control further addresses the relative pose maintenance problem of vehicle clusters during reference trajectory tracking, thereby satisfying the spatial-configuration requirements of practical missions [7,8]. In recent years, greater emphasis has also been placed on the safety, connectivity, and transient performance of NMSV formation systems [9]. Meanwhile, the growing demand for global performance optimization in cooperative maritime tasks has motivated the use of distributed optimization, which enables networked agents to optimize a global objective through local computation and neighboring information exchange [10]. Owing to this advantage, distributed optimization has been extensively investigated in learning [11,12], power systems [13,14], and communication networks [15,16].
For the time-invariant distributed resource allocation problem, Zhang et al. [17] propose a dual-gradient tracking algorithm, by which the global optimal solution can be reached using only neighboring information exchange. Qu and Li [18] exploit smoothness to achieve linear convergence for time-invariant distributed optimization with static objective functions over a fixed communication graph. Although these time-invariant methods provide effective solutions for static optimization scenarios, they cannot directly satisfy the tracking requirements in dynamic environments where task parameters and objective functions vary over time. Therefore, time-varying distributed optimization and online tracking become necessary. In the field of time-varying distributed optimization research, Sun et al. [19] propose an algorithm combining sliding-mode consensus and Hessian obstacle penalty to asymptotically approach the optimizer of the time-varying objective function. Wu et al. [20] propose a fixed-time algorithm that accurately tracks the time-varying optimum with exponentially decaying tracking error. Reisizadeh et al. [21] consider distributed optimization with imperfect information exchange, and prove that the distributed first-order algorithm asymptotically converges to the global optimal solution. The above algorithms achieve optimality only in an asymptotic manner. However, asymptotic convergence may not satisfy the rapid response requirements of NMSVs operating in dynamic marine environments. Therefore, finite-time distributed optimization methods have received increasing attention. Liu et al. [22] propose a distributed algorithm that realizes finite-time consensus among agents and drives the network average toward the optimizer. Zhu and Wang [23] propose a Hessian- and gradient-derivative-free finite-time algorithm, ensuring convergence to the global minimizer in finite time. In [24], Wang et al. propose a distributed control method based on homogeneous system theory. However, under time-varying networks, the settling time of finite-time methods is highly sensitive to the initial conditions and incomplete distributed information, and it is difficult to give a globally acceptable upper bound on the convergence time. To overcome this limitation, fixed-time optimization methods have attracted increasing attention. Liang et al. [25] develop a fixed-time distributed optimal formation control strategy for interlinked marine surface vehicles subject to actuator faults and failures. In [26], Nguyen et al. propose a time-varying coefficient timed gradient dynamics method for continuous-time optimization. Chen et al. [27] propose a distributed timing optimization method for air–sea heterogeneous systems that achieves timing optimal convergence and tracking under preset performance constraints. In [28], Gong and Han design observer-based controllers that guarantee reaching the global optimum solution within a preassigned time regardless of the initial states. Given that the fixed-time convergence bound is parameter-dependent, making it difficult to adjust precisely to the demand, the predefined-time optimization has been proposed and used as an effective solution. The work in [29] proposes a multi-agent distributed optimization method with a predefined-time basis function for multi-objective optimization. For distributed non-convex optimization problems with information nonlinear coupling, a multi-agent cooperation method with predefined time is proposed [30]. In [31], a multi-objective optimization problem is formulated for multi-bus DC microgrids and a predefined-time distributed optimization approach is developed.
Liang et al. [32] developed a predefined-time distributed optimal formation framework for NMSVs by combining a distributed optimization estimator with a nonsingular segmented terminal sliding-mode controller. The present study retains the hierarchical architecture and adapts the lower-layer segmented sliding-mode construction from [32]. The technical question addressed in this paper is different: the optimizer is a continuously moving trajectory generated by time-varying local objectives, rather than a static equilibrium. Consequently, convergence of the gradient residual to zero is not sufficient unless the resulting time-varying optimal manifold is also shown to be invariant.
In the static case considered in [32], the optimality condition is an equilibrium condition because and . For a time-varying objective, however,
Thus, the temporal-gradient term is required not merely as an additional term in the estimator but to cancel the forcing generated by the moving objective and preserve the optimality condition along .
The above studies reveal distinct convergence-time characteristics. Finite-time approaches provide faster convergence than asymptotic schemes, but their settling time generally depends on the initial conditions. Fixed-time methods remove this dependence and provide a uniform upper bound; however, this bound is typically determined indirectly by controller parameters and is therefore not an explicit task-level design variable. In contrast, predefined-time methods introduce the desired convergence horizon directly into the algorithm, which is particularly attractive for coordinated marine missions with explicit temporal requirements. Nevertheless, existing predefined-time optimization or formation-control studies generally address either the distributed optimization process or the physical formation-tracking problem separately. The present work combines online time-varying optimal-reference generation and disturbance-rejecting NMSV formation tracking within a hierarchical framework in which both convergence horizons are explicitly prescribed.
Inspired by the preceding observations, this study primarily develops a predefined-time formation control strategy based on optimization for NMSVs operating under disturbance conditions. The key contributions are as follows.
- The distributed optimal formation control problem of disturbed NMSVs is formulated under time-varying convex optimization objectives. In this formulation, the formation center is not preassigned but is generated online from the time-varying global cost function, which provides a direct connection between distributed optimization and cooperative formation tracking.
- Compared with finite-time methods with initial-condition-dependent settling time and fixed-time methods whose upper bound is implicitly determined by control parameters and thus hard to tune [19,22], this paper adopts predefined-time optimization by explicitly embedding the convergence time into the distributed estimation and control design, thereby guaranteeing convergence and tracking of the global optimal trajectory within a predefined time.
- Building on the estimator architecture in [32], the optimization layer is extended to explicitly incorporate the temporal-gradient information associated with the time-varying local objectives. By analyzing the resulting time-varying aggregate optimality residual, the proposed extension establishes predefined-time tracking of a moving optimizer rather than convergence to a stationary optimal point.
The subsequent sections are organized as follows. Section 2 gives the preliminaries and formulates the considered problem. Section 3 introduces the predefined-time distributed optimal algorithm. Section 4 provides the main theoretical results. Section 5 reports the simulation studies, and Section 6 concludes this paper.
Notation. The sets of real numbers and n-dimensional real vectors are denoted by and , respectively. The n-dimensional identity matrix is denoted by . The symbols ∘ and ⊗ denote the Hadamard product and the Kronecker product, respectively. The function denotes the componentwise signum function, and denotes the column-stacking operator. For a symmetric matrix, denotes its smallest eigenvalue. For any vector and any scalar , the signed-power operator is defined as and
2. Preliminaries and Problem Formulation
2.1. Communication Model of NMSVs
The networked communication architecture of NMSVs is formalized through an undirected graph , comprising N autonomous agents. The vertex set bijectively corresponds to vehicles, while the edge set characterizes bidirectional communication links. A symmetric non-negative adjacency matrix quantitatively encodes interaction intensities: signifies active inter-vehicle data exchange, whereas indicates communication absence. The structural constraint for any enforces the absence of self-edges. The graph Laplacian is axiomatically defined with diagonal entries and off-diagonal elements, systematically capturing connectivity properties.
Assumption 1.
The undirected communication graph G is fixed and connected over the theoretical predefined-time interval. Consequently, its Laplacian matrix L is constant and satisfies .
Remark 1.
Assumption 1 describes the nominal communication condition required by the current theoretical analysis. In practical marine environments, communication links may be temporarily degraded or interrupted by limited communication range, environmental interference, or adverse sea conditions. The present theoretical framework does not explicitly incorporate an active connectivity-maintenance mechanism. In practical implementations, redundant communication links, topology reconfiguration, or connectivity-preserving coordination strategies may be introduced to reduce the influence of individual link failures. The numerical studies in Section 5 further examine connected switching graphs and temporarily disconnected but jointly connected graphs. However, these tests are intended to evaluate empirical robustness and do not extend the theoretical guarantee beyond Assumption 1.
2.2. Dynamical Model of NMSVs
To describe the motion dynamics of the vehicles in the NMSV system, the global coordinate frame and the local coordinate frame are first introduced, as shown in Figure 1. For analytical convenience, each vehicle is assumed to be symmetric with respect to the port–starboard axis. Accordingly, the dynamics of the ith MSV can be described by [33]:
where represents the inertial-frame pose of the ith MSV, and represents its velocity vector expressed in the body-fixed frame.
Figure 1.
The global coordinates and local coordinates .
Here, denotes the lumped environmental disturbance in the inertial frame, including bounded wind-, wave-, and current-induced effects. Accordingly, represents the corresponding disturbance acting on the body-fixed NMSV dynamics.
The matrices , , and denote the inertia, Coriolis-centripetal, and damping matrices, respectively, whose detailed forms can be found in [34]. In addition, is the rotation matrix from the body-fixed frame to the inertial frame, which is given by:
where and is expressed as
For analytical convenience, define the inertial-frame velocity vector of the ith MSV as
Then, the MSV model in (1) can be equivalently rewritten as
2.3. Problem Formulation
For the ith MSV, the local time-dependent optimization objective is characterized by . Accordingly, the aggregate cost of the NMSV network is formulated as . This work aims to design a distributed control input for each MSV such that the vehicle group can track the minimizer of the time-varying global cost function as the formation center while preserving the prescribed formation pattern within the predefined time . The considered problem is then formulated as follows.
Definition 1.
The predefined-time formation control problem with optimization of the NMSVs is attainable when the subsequent criteria hold:
where is the formation offset for ith MSV.
Assumption 2.
The global objective function in (5) admits a continuous minimizer, denoted by .
Assumption 3.
The global objective function is convex. Moreover, for each , the local cost function is twice continuously differentiable with respect to , has a nonsingular Hessian matrix , and is continuously differentiable with respect to time t.
Remark 2.
Assumption 3 provides sufficient conditions under which the time-varying optimizer is well defined and the Hessian-based correction term in the distributed estimator can be implemented. In particular, the nonsingularity of is required because explicitly appears in the estimator. These conditions are applicable to a broad class of formation and trajectory optimization problems with quadratic or locally convex tracking and energy-related costs. Nevertheless, general marine missions involving nonconvex collision-avoidance constraints, exclusion zones, or strongly nonlinear environmental objectives may violate the global convexity condition. Such nonconvex optimization problems are beyond the theoretical scope of the present work. Their treatment would require additional mechanisms, such as convex safe-set approximations, penalty/barrier formulations, or sequential convexification, and will be investigated in future work.
Assumption 4.
The lumped environmental disturbance acting on the ith NMSV is unknown, bounded, and piecewise continuous. Specifically, there exists a constant such that
Define
Lemma 1
([35]). For the nonlinear system assume that a continuously differentiable Lyapunov function exists and is positive definite as well as radially unbounded. If there exist positive constants satisfying where is a predefined scaling exponent, the time-scaling function is defined as:
Its weak derivative is given by
Through right-derivative calculus at the switching surface , the temporal operator satisfies the continuity condition [36]. The closed-loop system therefore guarantees predefined-time stability with parameter .
Remark 3.
Lemma 1 is stated in terms of a state-dependent Lyapunov function. In the time-varying optimization analysis below, the corresponding Lyapunov candidate may depend explicitly on time, i.e., . In this case, denotes the total derivative along the system trajectory,
If is uniformly positive definite with respect to the considered error variable and its total derivative satisfies
almost everywhere on the prescribed interval, the same comparison argument can be applied. This form is used for the time-varying optimality residual in Theorem 1; therefore, the application of Lemma 1 does not require the optimization objective itself to be time-invariant.
Lemma 2
([37]). Consider the nonlinear dynamical system given as
where . If the temporal parameter satisfies with scaling factor , the closed-loop dynamics guarantee predefined-time stability, and the convergence time bound adheres to .
3. Predefined-Time Distributed Optimal Formation Algorithm
Within this section, the hierarchical optimization–formation architecture developed in [32] is extended to the time-varying optimal formation problem considered in this paper. The overall design retains two functional layers: an optimization-estimation module and a physical tracking module. The main extension is introduced in the optimization layer to account for the temporal variation of the local objective functions and the resulting motion of the global optimizer. First, we develop a distributed predefined-time optimization estimator that achieves the global optimal state by neighborhood communication and local cost function evaluation, establishing an optimal reference signal. Subsequently, a cooperative tracking controller with predefined-time stability is designed to ensure that all MSVs track the generated optimal reference signal while maintaining the prescribed formation (see Figure 2).
Figure 2.
The hierarchical framework for the NMSVs.
Given that the optimality condition is fully governed by the architecture of local cost functionals, the estimator is designed to generate as the local optimal-reference estimate and as its auxiliary dynamic state, while the local cost function is evaluated at for distributed optimization. Following the auxiliary-state organization in [32], the estimator is extended by introducing the temporal-gradient compensation required by the time-varying objective. The resulting estimator is given below. For clarity, the distributed optimization estimator is decomposed into three functional subsystems: reference-state generation, distributed optimization correction, and average-gradient tracking.
(1) Reference-state generation:
(2) Distributed optimization correction:
(3) Average-gradient tracking:
In (9a), denotes the locally generated optimal-reference estimate, while represents its auxiliary dynamic state. In (9b), the first term reduces the disagreement among neighboring reference estimates, the Hessian-based term compensates for the time variation of the local optimality condition, and the norm-weighted sign term provides an additional correction along the consensus mismatch. In (9c), incorporates the local gradient information and coordinates neighboring information, such that provides the average-gradient information required by the distributed optimization correction. Here, and , , , , , , and are auxiliary variables, (for ), where , , , and is chosen in the same form as that in Lemma 1. , represents .
With the proposed estimators and , the predefined-time local formation controller is further designed for solving the considered formation tracking problem. Let state error , and velocity error .
For the physical tracking layer, the nonsingular segmented terminal sliding-mode structure developed in [32] is retained, since the present contribution focuses on the generation and tracking of a time-varying optimal reference rather than on redesigning the local sliding-mode surface. Accordingly, the sliding variable is adopted as
where and .
To clarify the physical meaning of the controller, the local tracking law is decomposed into the overall model-compensated input, the equivalent term associated with the segmented terminal sliding surface, and the predefined-time robust reaching term. Based on the retained segmented sliding-mode structure, the local tracking controller is employed to track the time-varying optimal reference generated by the optimization layer:
(1) Overall model-compensated control input:
(2) Equivalent term associated with the segmented terminal sliding surface:
(3) Predefined-time reaching and disturbance-rejection term:
Equation (11a) compensates for the known NMSV dynamics and introduces the reference acceleration . The equivalent term (11b) is associated with the dynamics of the segmented terminal sliding surface. The term (11c) consists of the predefined-time reaching component and the robust component for rejecting bounded external disturbances, where
, , , and is the time-scaling function defined in Lemma 1. represents a gain matrix.
4. Main Results
4.1. Analysis for the Predefined-Time Distributed Optimization Estimator
This subsection conducts principal convergence analysis on the estimator (9), with the resulting theorem stated as follows.
Theorem 1.
Suppose that Assumptions 1–3 hold. Given the estimator (9), if and , then the distributed estimates reach the global optimizer within a predefined time, i.e., for all . The associated convergence time satisfies .
Proof.
According to Definition 1, the convergence analysis is carried out in three parts. Firstly, it will be demonstrated that will converge to zero. Further, it will be demonstrated that will converge to . Finally, it will be demonstrated that will approach the optimal solution determined by the given local cost function.
Firstly, the convergence of by using the proposed prescribed-time distributed optimization estimator is analyzed. Define , , and . Then, we can obtain . In addition, according to (9), one has
which is equivalently represented in compact form by
Construct for (13). It then has
By Lemma 1, converges to the origin within a prescribed time , which implies that within .
Further, define . Construct . It then has
By Lemma 1, reaches the origin within a prescribed time , which implies that within . Thus, one has . According to and , we have . Since , one has . Then, holds.
Next, for , (9) can be reduced to
Construct for (9).
Define , . It then has
where the first inequality is obtained by using the following fact:
According to Remark 2 in [38], one has
Based on Lemma 1, is constructed within a predefined-time .
Thus, for , the consensus and average-gradient tracking stages have been completed. Define the aggregate time-varying optimality residual as
Since
the estimator dynamics in (9) reduce to
Since depends explicitly on the time-varying local objective functions, its total derivative is
Choose the Lyapunov candidate
Its total derivative along the estimator dynamics satisfies
Therefore, according to Lemma 1 and the time-varying Lyapunov interpretation stated above, reaches zero within the assigned predefined time .
Moreover, because the distributed estimates have already reached consensus, i.e.,
becomes
Under Assumption 3, this condition uniquely determines the global optimizer, and hence
Therefore,
within
It should be emphasized that the temporal-gradient term is essential in the above derivation. Without this compensation term, the aggregate residual dynamics would contain the uncompensated forcing , and the zero-optimality manifold would generally not remain invariant for a moving objective. Therefore, the above result establishes predefined-time tracking of a time-varying optimizer rather than convergence to a static equilibrium.
By Lemma 1, can reach within a predefined-time . This proof is completed. □
4.2. Analysis for the Predefined-Time Local Formation Controller
This subsection establishes corresponding theorem via the developed predefined-time distributed formation protocol.
Theorem 2.
Suppose that Assumptions 1–4 hold. Under the proposed controller (11), if , then the predefined-time optimal formation control objective is achieved within .
Proof.
Construct the Lyapunov function . Substituting the predefined-time local tracking controller (11) into (1) and differentiating the predefined-time segmented terminal sliding-mode surface (10) along (1) yield the system:
The derivative of could be calculated as:
According to Lemma 1, converges to zero within . Subsequently, for , (10) reduces to
According to Lemma 2, and could eventually converge to zero within a . □
Remark 4.
The stability results established above are derived exclusively under the fixed and connected undirected communication graph specified in Assumption 1. In particular, the estimate involving in the proof of Theorem 1 relies on a constant Laplacian matrix satisfying . It should also be noted that
which increases as the prescribed terminal time is approached. Consequently, if communication is interrupted or the graph becomes disconnected near the terminal interval, the effect of unavailable or inconsistent neighboring information may be amplified by the time-varying high-gain term, and the predefined-time guarantee established under Assumption 1 may no longer hold. Therefore, the present theoretical analysis does not establish predefined-time stability for switching, jointly connected, intermittently disconnected, or delayed communication networks. The corresponding cases considered in Section 5 are numerical stress tests only. Rigorous extensions to such communication conditions would require additional dwell-time, joint-connectivity, or switching-system stability arguments.
5. Simulation
5.1. Simulation Settings
To validate the proposed control scheme, a simulation example is carried out with four Cyber-Ships II, which constitute the considered NMSV network. The physical parameters of Cyber-Ships II are taken from [39], while the detailed expressions of , , and can be found in [34]. In addition, the communication topology used in the simulation is shown in Figure 3, and it satisfies the required connectivity assumption.
Figure 3.
The communication graph of the NMSVs.
For each MSV, the local objective function is , among which , , , , . Under this setting, the corresponding global optimal solution is obtained as .
According to the sufficient conditions derived in the stability analysis, the simulation parameters are selected as follows. For the distributed estimator (9), the parameters are set as , , , , , , , , , , , . For the local tracking controller (10) and (11), the parameters are chosen as , , , , , , , , . The environmental disturbance applied to each NMSV is selected as
It satisfies
Since , the disturbance-bound condition required in Theorem 2 is satisfied.
5.2. Simulation Results
This subsection provides numerical simulations to demonstrate the feasibility of the developed predefined-time distributed optimal formation strategy. The results are discussed from two perspectives: the convergence behavior of the distributed optimization estimator and the tracking performance of the physical-layer MSVs during formation motion.
Figure 4 provides a state-space visualization of the cost-function residuals and the sampled estimator states during the optimization process. The X- and Y-axes represent the first and second offset-compensated state coordinates, while the vertical axis represents the absolute difference between the evaluated cost and the corresponding optimal cost. The semi-transparent surfaces illustrate the residual landscape in the selected state coordinates, and the overlaid markers indicate sampled estimator states during convergence. It should be emphasized that Figure 4 is intended as a geometric state-space visualization and does not represent the time evolution of the complete global cost surface. The temporal convergence behavior of the distributed estimator is instead shown directly in Figure 5 and quantitatively evaluated in the subsequent RMS-error analysis. Figure 5 shows that the estimator states of all MSVs converge to the optimal solution before the predefined time , which verifies the optimal reference generation capability of the proposed distributed estimator. Figure 6 further shows that the auxiliary variable rapidly converges to zero, confirming the convergence of the auxiliary estimator dynamics.
Figure 4.
State-space visualization of the cost-residual landscape and estimator convergence.
Figure 5.
Convergence responses of the distributed optimization estimator.
Figure 6.
Convergence responses of the auxiliary variable .
Figure 7 shows the physical-layer tracking responses of the MSV states and their offset-compensated states. Due to different initial conditions and prescribed offsets, the actual states exhibit different transients in Figure 7a. After offset compensation, the trajectories in Figure 7b gradually coincide and track the same time-varying optimal reference, indicating that the desired formation structure is maintained while the optimal formation center is tracked. Figure 8 presents the local tracking errors of the physical-layer MSVs. The three subfigures correspond to the X-position, Y-position, and yaw-angle errors, respectively. The errors rapidly approach a small neighborhood of zero during the prescribed transient interval, confirming the tracking performance of the physical layer. Figure 9 gives the space–time formation trajectories, where the four vessels maintain the prescribed formation offsets around the optimal trajectory center. The obtained results verify that the developed control scheme enables prescribed-time optimal reference generation and formation tracking in a unified manner.
Figure 7.
Tracking responses of the physical-layer MSV states and offset-compensated states.
Figure 8.
Tracking errors of the physical-layer MSVs states.
Figure 9.
Space–time formation trajectories of the four MSVs.
To complement the transient curves in Figure 8, Table 1 reports the RMS and integral absolute error (IAE) indices of the physical-layer tracking errors. The overall RMS errors in the X-position, Y-position, and yaw angle are m, m, and rad, respectively. After the optimization-layer predefined time s, the corresponding RMS values decrease to m, m, and rad. The remaining small residual oscillations are associated with the bounded disturbance and the numerical implementation of the discontinuous robust correction.
Table 1.
Quantitative tracking-error indices of the four NMSVs.
5.3. Quantitative Comparison and Evaluation Protocol
To provide an objective and reproducible assessment, we further consider a 20-vessel sparse network under the same time-varying quadratic local objectives used above. The local weights are selected as , whose average is one; hence, the global optimizer remains . All methods use the same graph, local feedforward information, initial condition, integration interval, and step size s. To avoid claiming a line-by-line reproduction of algorithms developed under different assumptions, the following experiment is explicitly presented as a convergence-law comparison. The asymptotic, finite-time, fixed-time, and proposed feedback terms are, respectively, linear, signed-power with exponent , combined signed-power with and , and time-base-gain feedback. Their gains are , , , and . A common pairwise dynamic-input compensation term with gain and boundary layer is included in every method so that the comparison isolates the convergence law rather than the rejection of heterogeneous local-reference derivatives. These representative laws correspond to the convergence categories studied in [19,22,23,26,28].
The instantaneous optimization and formation errors are defined by
For a signal , the reported post-deadline RMS value is . The measured settling time is the first instant after which the fleet RMS error remains below , with a minimum confirmation interval of 0.25 s. Communication cost is evaluated for a sampled implementation as the number of transmitted scalar values up to the measured settling time; every directed neighbor message contains the three coordinates of one estimator state.
As shown in Figure 10 and Table 2, all four tuned implementations achieve comparable post-transient accuracy in this case. The proposed law reaches the common tolerance before the specified 4 s deadline and has the shortest measured settling time. Accordingly, it requires 39.4%, 51.2%, and 21.7% fewer scalar transmissions to settling than the asymptotic, finite-time, and fixed-time cases, respectively. Its single-run MATLAB time is lower than the two nonlinear signed-power baselines but higher than the linear asymptotic baseline. Thus, the observed advantage is not claimed as universal computational dominance; rather, it is the direct selection of a convergence deadline together with competitive accuracy and transient performance.
Figure 10.
Fleet RMS optimizer error for the four convergence laws (). The dashed line marks the user-selected deadline s.
Table 2.
Quantitative convergence-law comparison for vessels.
5.4. Large-Fleet Scalability and Resource Consumption
The original four-vessel experiment above retains the full Cyber-Ships-II plant and verifies the high-fidelity vessel dynamics. To assess network scalability without conflating it with repeated plant-model algebra, the large-fleet experiment uses the closed-loop optimization and sliding-surface error dynamics implied by the stability proof. Specifically, it propagates the optimization states together with the formation errors and sliding variables, giving a total dimension of . The communication graph is sparse: a ring and second-neighbor links are augmented by one antipodal link per vessel pair for , resulting in a maximum degree of five. The same nominal controller parameters and are used for every fleet size. Figure 11 presents the scalability and resource-consumption results for different fleet sizes.
Figure 11.
Scalability and resource consumption for fleets from 4 to 40 vessels.
Here, and denote the measured optimization and formation-error settling times. Table 3 shows that increasing the fleet from 4 to 40 vessels does not materially degrade the post-deadline accuracy, and both the 4 s optimization deadline and the 2 s local tracking bound are satisfied in every case. The runtime increases with the simulated state dimension and edge count. The per-update communication requirement is directed messages, and the cumulative scalar count also depends on settling time. These results support numerical scalability to a practically larger fleet while making the associated computational and communication growth explicit. The absolute runtime is hardware-dependent; all values were produced in MATLAB R2018b on the same workstation by the supplied script.
Table 3.
Scalability, convergence, and resource indices.
5.5. Sensitivity to Estimator and Controller Parameters
Finally, a two-factor sensitivity analysis is conducted for . For the estimator, the time-base coefficient and exponent are varied over and . For the local controller, and the multiplicative scale of is selected from . Only the tested pair is changed in each run; all initial conditions, graph, disturbance, and remaining parameters are held fixed.
Across the nine estimator combinations, the post-deadline RMS error remains between and , and all cases meet s; the measured settling time ranges from 0.246 to 4.000 s. Across the nine controller combinations, the post-deadline tracking RMS ranges from to , while the measured settling time ranges from 0.302 to 0.766 s and remains below s. Figure 12 indicates that the tested parameter variations primarily alter the transient speed and residual boundary-layer error, without violating the prescribed deadlines. It also shows the expected tradeoff: a larger time-base product accelerates convergence but increases numerical stiffness near the deadline, whereas increasing reduces the residual tracking error.
Figure 12.
Sensitivity of post-deadline RMS errors to the estimator and controller parameters.
5.6. Network Imperfections, Strong Time Variation, and Cost Diversity
The preceding experiments retain the fixed graph and sinusoidal objective used in the original manuscript. We therefore conduct an additional stress study with s and report both the post-deadline RMS criterion and the stricter pointwise criterion used above. The stress-test tolerance is . This distinction is important because switching among instantaneously disconnected graphs and delayed communication fall outside the assumptions of Theorems 1 and 2; the corresponding tests evaluate empirical degradation and do not extend the theoretical predefined-time guarantee.
First, three graph processes are considered: the fixed sparse graph, switching every 0.05 s between two connected sparse graphs, and switching every 0.05 s between two disconnected graphs whose union over each 0.10 s window is connected. The latter alternates two disjoint 10-node rings and an antipodal matching, so no instantaneous connectivity is imposed. All topology tests use the strong multisine reference
whose measured maximum acceleration norm is 44.399, compared with 1.414 for the original reference. The corresponding optimizer errors under the three graph processes are shown in Figure 13.
Figure 13.
Optimizer RMS error under a fixed sparse graph, connected switching graphs, and instantaneously disconnected but jointly connected graphs.
Second, communication imperfections are introduced under the connected switching graph and the same fast reference. The cases comprise a 5 ms timestamped delay, symmetric edge-level packet loss of 20%, zero-mean measurement noise with standard deviation 0.01, and their combination. Edge-level loss is used because the theoretical communication graph is undirected: a failed bidirectional exchange is removed as one edge, preserving the pairwise antisymmetry of the implemented feedback. For delayed data, linear timestamp extrapolation is used, and the sampled time-base gain is capped at 3 with a widened boundary layer of 0.3 to avoid high-gain amplification of stale data. This is an implementation safeguard rather than a modification of the continuous-time theorem. The corresponding optimizer errors under these communication imperfections are shown in Figure 14.
Figure 14.
Optimizer RMS error under delay, packet loss, measurement noise, and combined communication imperfections.
The quantitative results of the topology and communication-imperfection stress tests are summarized in Table 4.
Table 4.
Topology and communication-imperfection stress tests under the fast reference.
All eight cases have post-deadline RMS below 0.05. The fixed and connected-switching graphs, packet-loss case, and noise case also satisfy the stricter pointwise deadline. In contrast, joint connectivity without instantaneous connectivity, the 5 ms delay, and the combined case exhibit periodic peaks above 0.05 and therefore do not preserve the pointwise predefined-time property. This result identifies a limitation of the present design: the common-Lyapunov observation in Remark 4 supports switching among admissible connected graphs, but it should not be interpreted as a proof for instantaneous disconnection or delayed information.
Third, trajectory and objective-function difficulty are increased. Besides the fast multisine, a rapid but differentiable reference is generated by as
Its maximum acceleration norm is 443.417, more than 300 times that of the original trajectory. A second family of local objectives is also tested:
where is a positive diagonal time-varying matrix with diagonal entries , and with . Thus, the Hessians are anisotropic and time-varying, the local minimizers are biased and distinct, and the aggregate minimizer remains . The distributed implementation tracks the local numerator and Hessian diagonal as sufficient statistics; no global cost information is supplied to an individual vessel. The quantitative results for the different reference and cost-function cases are summarized in Table 5.
Table 5.
Strong time variation and local-cost-family stress tests.
Figure 15 further compares the tested reference trajectories and the corresponding optimizer errors.
Figure 15.
Nominal, fast-multisine, and rapid-transition references (top), and optimizer errors for the original and anisotropic time-varying cost families (bottom). The ideal discontinuous step is included only as an out-of-assumption stress test.
The differentiable fast and rapid-transition references meet the pointwise deadline for both tested cost families. The ideal-step result shows recovery after each jump, but it is reported only as a numerical stress test. Taken together, these tests demonstrate that the low-frequency sinusoid is not essential to the observed performance, while the network-imperfection results clarify exactly which non-ideal cases are and are not supported by the current design.
These observations also indicate possible directions for adapting the current framework to non-ideal communication conditions. For bounded communication delays, timestamped neighbor information together with a predictor or state-extrapolation mechanism may be incorporated into the distributed estimator, while the resulting delayed dynamics could be analyzed using Lyapunov–Krasovskii techniques. For intermittent packet loss or temporary link failures, sampled-data neighbor states, redundant links, and switching-topology formulations based on joint connectivity may be employed. In noisy communication environments, continuous approximations of discontinuous correction terms or local filtering may reduce noise amplification. These modifications require new stability conditions and are therefore regarded as extensions of, rather than guarantees provided by, the present framework.
6. Conclusions
This work addresses the time-varying predefined-time optimal formation control problem for NMSVs affected by external disturbances. To address the inherent nonlinearity and coupling, a hierarchical optimization–formation framework is proposed. First, a predefined-time distributed optimization estimator is developed. Utilizing solely local cost information and neighborhood interactions, this module integrates continuous coupling, gradient tracking, and time-function-based gain scheduling to drive all local estimates to the time-varying optimal trajectory within a strictly user-defined time. Subsequently, utilizing the generated optimal reference, a robust tracking controller based on a time-segmented terminal sliding mode surface is designed. This controller ensures that the NMSVs achieve precise optimal reference tracking and maintain the desired formation configuration while effectively rejecting marine disturbances. The system stability is rigorously proven. In addition to the full nonlinear four-Cyber-Ships-II simulation, quantitative comparisons, fleets of up to 40 vessels, resource measurements, parameter sensitivity, heterogeneous time-varying costs, and references with acceleration more than 300 times that of the nominal sinusoid support the claimed tunability and scalability under the stated assumptions. Connected switching graphs, 20% symmetric edge loss, and measurement noise preserve the tested pointwise deadline. The stress tests also delimit the claim: instantaneous disconnection, 5 ms delay, and combined communication defects keep the post-deadline RMS bounded below 0.05 but do not preserve the strict pointwise deadline. Future research will develop delay- and dropout-aware theoretical guarantees and validate them through hardware-in-the-loop and field experiments.
Author Contributions
K.-Z.F.: Conceptualization, writing—original draft and methodology; X.-Y.L.: Investigation and methodology; Q.C.: Software and methodology; T.-F.D.: Project administration and supervision; C.-D.L.: Writing—review and editing; M.-F.G.: Resources and supervision. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported in part by the National Natural Science Foundation of China under Grants 62473349, 62233007, and U24A20268, in part by the Shenzhen Science and Technology Program under Grant JCYJ20240813114007010.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Jiang, B.; Zhou, W.; Han, H. Storage and management of ship position based on geographic grid coding and its efficiency analysis in neighborhood search—A case study of shipwreck rescue and Google S2. Appl. Sci. 2024, 14, 1115. [Google Scholar] [CrossRef] [Scilit]
- Qin, H.D.; Zhou, N.; Han, S.L.; Xue, Y.F. An environment information-driven online bi-level path planning algorithm for underwater search and rescue AUV. Ocean Eng. 2024, 296, 116949. [Google Scholar] [CrossRef] [Scilit]
- Yuan, S.Y.; Li, Y.; Bao, F.W.; Xu, H.X.; Yang, Y.P.; Yan, Q.S.; Zhong, S.Q.; Yin, H.Y.; Xu, J.J.; Huang, Z.W.; et al. Marine environmental monitoring with unmanned vehicle platforms: Present applications and future prospects. Sci. Total Environ. 2023, 858, 159741. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, Y.; Liang, C.D.; Zhan, X.S.; Han, T.; Zhao, G.F.; Ge, M.F. A hierarchical active exploration and cooperative tracking control framework for networked marine surface vehicles with optimal path guidance. IEEE Trans. Intell. Transp. Syst. 2026, 27, 7226–7237. [Google Scholar] [CrossRef] [Scilit]
- Feng, Z.; Xu, W.; Cao, J. Alternating inertial and overrelaxed algorithms for distributed generalized Nash equilibrium seeking in multi-player games. Fractal Fract. 2021, 5, 62. [Google Scholar] [CrossRef] [Scilit]
- Zhao, D.; Lv, Y.Z.; Wen, G.H.; Gao, Z.W. Resilient consensus of high-order networks against collusive attacks. Automatica 2023, 151, 110934. [Google Scholar] [CrossRef] [Scilit]
- Zhu, C.; Huang, B.; Su, Y.M.; Zhou, B.; Zhang, E.H. Finite-time time-varying formation control for marine surface vessels. Ocean Eng. 2021, 239, 109817. [Google Scholar] [CrossRef] [Scilit]
- Wen, G.H.; Wan, Y.; Zhou, J.L.; Zheng, D.Z.; Chen, C.L.P. Distributed robust event-triggered platooning control of connected vehicles with uncertain dynamics: A neuro-adaptive approach. IEEE Trans. Ind. Inform. 2025, 21, 2570–2579. [Google Scholar] [CrossRef] [Scilit]
- Zhu, C.; Wang, W.K.; Zhang, Z.; Song, Y.Z.; Huang, B. K-connected hierarchical topology self-organization control for networked marine surface vehicles. IEEE Trans. Autom. Sci. Eng. 2026, 23, 1732–1745. [Google Scholar] [CrossRef] [Scilit]
- Xu, J.Z.; Liu, Z.W.; Ge, M.F.; Wang, Y.W.; He, D.X. Semiglobal input-delay tolerance algorithm for distributed nonconvex optimization of networked nonlinear system. IEEE Trans. Autom. Control 2026. early access. [Google Scholar] [CrossRef] [Scilit]
- Wen, G.H.; Fu, J.J.; Dai, P.C.; Zhou, J.L. DTDE: A new cooperative multi-agent reinforcement learning framework. Innovation 2021, 2, 100162. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Liu, J.C.; Ren, Y.J.; Liu, Y.; Meng, Y.; An, D.; Wei, Y.G. Achievement of fish school milling motion based on distributed multi-agent reinforcement learning. J. Bionic Eng. 2025, 22, 1683–1701. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.Q.; Liu, Z.W.; Ye, L.T.; He, D.X.; Wen, G.H. Distributed framework for dynamic coordination of thermostatically controlled loads: A resilient consensus approach. Automatica 2026, 189, 112974. [Google Scholar] [CrossRef] [Scilit]
- Hu, J.; Cao, J. Demand response optimal dispatch and control of TCL and PEV agents with renewable energies. Fractal Fract. 2021, 5, 140. [Google Scholar] [CrossRef] [Scilit]
- Xian, C.X.; Liu, Y.F.; Zhao, Y.; Wen, G.H.; Chen, G.R. Distributed constrained optimal coordination of multiple heterogeneous systems over a directed communication network. IEEE Trans. Autom. Control 2025, 70, 6577–6592. [Google Scholar] [CrossRef] [Scilit]
- Liu, J.; Ho, D.W.C.; Li, L.L. A generic algorithm framework for distributed optimization over the time-varying network with communication delays. IEEE Trans. Autom. Control 2024, 69, 371–378. [Google Scholar] [CrossRef] [Scilit]
- Zhang, J.Q.; You, K.Y.; Cai, K. Distributed dual gradient tracking for resource allocation in unbalanced networks. IEEE Trans. Signal Process. 2020, 68, 2186–2198. [Google Scholar] [CrossRef] [Scilit]
- Qu, G.N.; Li, N. Harnessing smoothness to accelerate distributed optimization. IEEE Trans. Control Netw. Syst. 2018, 5, 1245–1260. [Google Scholar] [CrossRef] [Scilit]
- Sun, S.; Xu, J.; Ren, W. Distributed continuous-time algorithms for time-varying constrained convex optimization. IEEE Trans. Autom. Control 2023, 68, 3931–3946. [Google Scholar] [CrossRef] [Scilit]
- Wu, C.; Fang, H.; Zeng, X.L.; Yang, Q.K.; Wei, Y.; Chen, J. Distributed continuous-time algorithm for time-varying optimization with affine formation constraints. IEEE Trans. Autom. Control 2023, 68, 2615–2622. [Google Scholar] [CrossRef] [Scilit]
- Reisizadeh, H.; Touri, B.; Mohajer, S. Distributed optimization over time-varying graphs with imperfect sharing of information. IEEE Trans. Autom. Control 2023, 68, 4420–4427. [Google Scholar] [CrossRef] [Scilit]
- Liu, H.Z.; Zheng, W.X.; Yu, W.W. Continuous-time algorithm based on finite-time consensus for distributed constrained convex optimization. IEEE Trans. Autom. Control 2022, 67, 2552–2559. [Google Scholar] [CrossRef] [Scilit]
- Zhu, W.B.; Wang, Q.L. Distributed finite-time optimization of multi-agent systems with time-varying cost functions under digraphs. IEEE Trans. Netw. Sci. Eng. 2024, 11, 556–565. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.Y.; Zheng, W.X.; Wang, G.D. Distributed finite-time optimization of second-order multiagent systems with unknown velocities and disturbances. IEEE Trans. Neural Netw. Learn. Syst. 2023, 34, 6042–6054. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Liang, C.D.; Huang, K.L.; Zhan, X.S.; Han, T.; Chen, Q.; Ge, M.F. Fault-tolerant formation of interlinked marine surface vehicles based on fixed-time distributed optimization. IEEE Internet Things J. 2026, 13, 3200–3210. [Google Scholar] [CrossRef] [Scilit]
- Nguyen, L.T.; Yu, X.H.; Eberhard, A.; Li, C.J. Fixed-time gradient dynamics with time-varying coefficients for continuous-time optimization. IEEE Trans. Autom. Control 2023, 68, 4383–4390. [Google Scholar] [CrossRef] [Scilit]
- Chen, C.X.; Liu, J.Y.; Li, H.Y.; Liu, J.; Zhang, T.H.; Wang, Z.Y.; Xie, S.R. Distributed fixed-time optimization for marine aerial-surface heterogeneous systems with prescribed performance. IEEE Trans. Aerosp. Electron. Syst. 2025, 61, 15794–15807. [Google Scholar] [CrossRef] [Scilit]
- Gong, P.; Han, Q.L. Distributed fixed-time optimization for second-order nonlinear multiagent systems: State and output feedback designs. IEEE Trans. Autom. Control 2024, 69, 3198–3205. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Xia, Z.C.; Gui, W.H. Multiobjective distributed optimization via a predefined-time multiagent approach. IEEE Trans. Autom. Control 2023, 68, 6998–7005. [Google Scholar] [CrossRef] [Scilit]
- Xia, Z.C.; Yu, W.W.; Ren, W. A predefined-time multiagent approach to distributed nonconvex optimization with nonlinearly coupled information. IEEE Trans. Control Netw. Syst. 2025, 12, 2128–2143. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.W.; Zhang, Y.; Liu, X.K.; Chen, X. Distributed predefined-time optimization and control for multi-bus DC microgrid. IEEE Trans. Power Syst. 2024, 39, 5769–5779. [Google Scholar] [CrossRef] [Scilit]
- Liang, C.D.; Zhang, Y.; Chen, Q.; Ding, T.F.; Ge, M.F. Predefined-time distributed optimal formation control of networked marine surface vehicles based on a nonsingular segmented terminal sliding mode method. Ocean Eng. 2025, 340, 122321. [Google Scholar] [CrossRef] [Scilit]
- Wang, N.; Karimi, H.R.; Li, H.; Su, S.F. Accurate trajectory tracking of disturbed surface vehicles: A finite-time control approach. IEEE/ASME Trans. Mechatron. 2019, 24, 1064–1074. [Google Scholar] [CrossRef] [Scilit]
- Liang, C.D.; Ge, M.F.; Liu, Z.W.; Wang, L.; Park, J.H. Model-free cluster formation control of NMSVs with bounded inputs: A predefined-time estimator-based approach. IEEE Trans. Intell. Veh. 2022, 8, 1731–1741. [Google Scholar] [CrossRef] [Scilit]
- Chen, G.; Li, Z.Y. Distributed fixed-time optimization control for multi-agent systems with set constraints. Acta Autom. Sin. 2022, 48, 2254–2264. [Google Scholar] [CrossRef]
- Wang, Y.; Song, Y.; Hill, D.J.; Krstic, M. Prescribed-time consensus and containment control of networked multiagent systems. IEEE Trans. Cybern. 2018, 49, 1138–1147. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Liang, C.D.; Ge, M.F.; Liu, Z.W.; Ling, G.; Liu, F. Predefined-time formation tracking control of networked marine surface vehicles. Control Eng. Pract. 2021, 107, 104682. [Google Scholar] [CrossRef] [Scilit]
- Chen, Q.; Ge, M.F.; Liang, C.D.; Gu, Z.W.; Liu, J. Distributed optimization of networked marine surface vehicles: A fixed-time estimator-based approach. Ocean Eng. 2023, 284, 115275. [Google Scholar] [CrossRef] [Scilit]
- Skjetne, R.; Fossen, T.I.; Kokotovi, P.V. Adaptive maneuvering, with experiments, for a model ship in a marine control laboratory. Automatica 2005, 41, 289–298. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.














