1. Introduction
With the continuous development of information-driven and intelligent warfare, unmanned aerial vehicles (UAVs) have been widely employed in reconnaissance and surveillance, target designation, fire-guidance support, and damage assessment because of their high maneuverability, flexible deployment, and low operational risk. In particular, in scenarios such as urban operations, counterterrorism operations, and localized conflicts, complex mission chains can be accomplished by multi-UAV systems through coordinated cooperation, and their operational effectiveness is largely determined by the quality of trajectory-planning results. Compared with open environments, urban environments are characterized by dense buildings, constrained airspace, severe occlusions, and frequent dynamic threats, which expose UAVs to complex three-dimensional obstacle constraints and increased flight risks during low-altitude flight. Therefore, cooperative trajectory planning for multiple UAVs in complex urban environments has become one of the key technologies in unmanned combat system research [
1,
2,
3].
Extensive research has been conducted on cooperative trajectory planning for multiple UAVs. Recent reviews have systematically summarized UAV path-planning algorithms, multi-UAV planning frameworks, and key technologies in UAV motion planning, suggesting that cooperative trajectory planning under complex constraints has emerged as an important research direction. For multi-UAV cooperative trajectory planning, Li et al. [
4] proposed an improved Ant Colony Optimization algorithm for multi-UAV route planning, thereby enhancing path-search quality and demonstrating the applicability of ACO to multi-UAV scenarios. Pehlivanoglu et al. [
5] developed an efficient path-planning approach for autonomous multi-UAV systems in target-coverage problems, highlighting the broad need for cooperative multi-agent planning in complex mission scenarios. Yi [
6] proposed a reinforcement-learning-driven continuous ACO method for multi-UAV path planning in complex environments, which further improved the adaptability of swarm-intelligence-based planning methods. Lu et al. [
7] proposed a conflict-free three-dimensional path-planning method for multiple UAVs based on jump point search and incremental updating, providing useful insights into three-dimensional cooperative planning and conflict resolution. In addition, representative studies on UAV coverage path planning, three-dimensional path optimization, and learning-based multi-UAV planning have further enriched the modeling approaches and solution strategies used for UAV path planning in urban and multi-constrained environments [
8,
9,
10].
In recent years, multi-agent reinforcement learning (MARL) has been increasingly used for UAV swarm cooperation, formation control, and collision avoidance. Regarding dynamic-obstacle avoidance and adaptation to complex environments, Chang et al. [
11] integrated an improved dynamic window approach with optimal reciprocal collision avoidance for autonomous obstacle avoidance by multiple UAVs, demonstrating the effectiveness of combining local motion planning with reciprocal collision-avoidance mechanisms. Yan et al. [
12] proposed a deep-reinforcement-learning-based real-time path-planning method for UAVs in dynamic environments, improving the adaptability of online planning under moving-obstacle constraints. Wang et al. [
13] developed a two-stage reinforcement-learning approach for multi-UAV collision avoidance under imperfect sensing, highlighting the importance of robust cooperative avoidance when perception information is incomplete or uncertain. AlMahamid and Grolinger [
14] systematically reviewed reinforcement-learning-based autonomous UAV navigation methods, providing a reference for the modeling of adaptive navigation and obstacle-avoidance strategies in complex environments. Xue and Chen [
15] proposed a multi-agent deep-reinforcement-learning method for UAV navigation in unknown complex environments, demonstrating the potential of distributed learning policies for cooperative decision-making and collision avoidance. Yan et al. [
16] further investigated fixed-wing UAV flocking in continuous spaces using deep reinforcement learning, offering useful insights into learning-based formation coordination and collision-avoidance policy design. Lin et al. [
17] proposed a sampling-based path-planning method for UAV collision avoidance, offering an additional solution for collision avoidance in dynamic airspace. Although these studies have made meaningful progress in path generation and dynamic-obstacle avoidance, these learning-based methods usually require large-scale training data, carefully designed reward functions, and additional generalization validation. In contrast, the proposed method focuses on an interpretable optimization-control framework that integrates dynamic-risk-aware global planning, local smoothing, and online replanning without offline policy training.
Moreover, the cooperative flight of multiple UAVs involves not only inter-UAV collision avoidance but also formation maintenance, formation reconfiguration, and cooperative control. Ma et al. [
18] proposed a multi-UAV formation obstacle-avoidance method by combining improved simulated annealing with an adaptive artificial potential field, demonstrating that adaptive formation adjustment can be effective in obstacle-rich environments. Liu et al. [
19] achieved flexible multi-UAV formation control by integrating deep-reinforcement-learning and affine transformations, thereby improving the adaptability of formation transformation under complex conditions. Li et al. [
20] investigated multi-UAV obstacle avoidance and formation control in unknown environments, highlighting the importance of balancing obstacle avoidance with formation maintenance. Liu et al. [
21] studied flocking navigation and obstacle avoidance for multi-UAV systems using a hierarchical weighting Vicsek model, providing useful insights into swarm coordination and distributed obstacle avoidance. Choi et al. [
22] developed a bearing-based distributed control method for UAV formation tracking and obstacle avoidance, further supporting the integration of formation-tracking and collision-avoidance capabilities. These studies indicate that formation coordination has become a critical direction for improving mission efficiency and organizational capability in multi-UAV systems. However, in highly dynamic urban environments, the balance among formation maintenance, local formation relaxation, terminal-stage formation release, and safe arrival remains insufficiently investigated.
Despite these advances, several limitations remain in cooperative multi-UAV applications in highly dynamic urban environments. First, although existing studies have investigated UAV path planning in three-dimensional environments, dynamic-obstacle avoidance, and adaptive navigation, dynamic obstacles are still often treated through local avoidance, current-state response, or limited short-term prediction. As a result, it remains difficult to fully characterize complex motion behaviors, nonlinear obstacle evolution, and dynamic occupancy in terminal regions [
23]. Second, although ACO, GWO, reinforcement-learning-based GWO, and other intelligent optimization methods have been widely applied to UAV and UCAV path planning, most existing studies mainly focus on improving global search capability, convergence performance, or path smoothness, while the coupling among dynamic-risk perception, multi-UAV cooperative constraints, and terminal-area conflict resolution remains insufficiently addressed [
24]. Third, MPC-based rolling optimization provides an effective framework for constrained online decision-making, and dynamic adaptive path-planning methods can improve the adaptability of UAVs in three-dimensional environments; however, when dynamic perception, formation reconfiguration, inter-UAV separation, and terminal safe arrival are considered simultaneously, the computational burden of online replanning may increase, making it difficult to balance real-time performance and engineering practicability [
25,
26,
27]. Therefore, it is meaningful to develop an interpretable multi-level cooperative trajectory-planning framework that integrates dynamic-aware global optimization, local online adjustment, safe terminal arrival, and reconfigurable formation coordination for small-scale dynamic urban scenarios.
To address these limitations, a three-dimensional trajectory-planning method for multiple UAVs is proposed by integrating a dynamic-aware ACO algorithm with cooperative MPC-GWO. First, a three-dimensional urban environment model is constructed, and environmental cost and dynamic-risk assessment terms are incorporated into the ACO-based global planning stage to enhance the ability of the initial trajectories to proactively avoid high-risk regions. Subsequently, a sliding-window GWO is employed to smooth and locally optimize the trajectories, thereby improving trajectory continuity and execution feasibility. Finally, during online execution, cooperative MPC-GWO, dynamic-obstacle prediction, reconfigurable formation, and goal-neighborhood safety-control mechanisms are integrated to achieve online obstacle avoidance, inter-UAV separation, formation switching, and orderly arrival in highly dynamic environments. The main contributions of this study are summarized as follows:
First, a dynamic-risk-aware ACO-based global planning strategy is developed within the proposed multi-level framework. In this strategy, urban environmental cost, obstacle risk, and trajectory length are incorporated into the path-search process to improve the safety and adaptability of initial trajectories in dynamic urban environments.
Second, a sliding-window GWO-based local optimization mechanism is employed to smooth and refine local trajectories while preserving the global trajectory structure, thereby improving trajectory continuity and UAV execution feasibility.
Third, a cooperative MPC-GWO-based online replanning strategy is designed to enhance local trajectory adjustment during execution. Dynamic-obstacle prediction, inter-UAV safety-distance constraints, and mission-synchronization requirements are embedded into a receding-horizon optimization framework to improve cooperative obstacle-avoidance capability under dynamic disturbances.
Finally, a reconfigurable formation and goal-neighborhood safety-control mechanism is introduced for constrained passage and terminal arrival. According to channel width, local risk, and goal-area congestion, the UAV team adaptively switches formation structures and terminal-arrival strategies, thereby improving passage capability in narrow spaces and reducing terminal conflicts.
The remainder of this paper is organized as follows.
Section 2 formulates the three-dimensional trajectory-planning problem for multiple UAVs, including urban environment modeling, dynamic-obstacle modeling, and multi-UAV safety constraints.
Section 3 presents the proposed trajectory-planning method based on dynamic-aware ACO and cooperative MPC-GWO.
Section 4 validates the effectiveness of the proposed method through comparative and ablation experiments.
Section 5 discusses experimental results, method applicability, and limitations.
Section 6 concludes this study and outlines future research directions.
4. Results
A 3D urban simulation scenario is constructed in MATLAB R2023b to validate the proposed multi-UAV reconfigurable-formation trajectory planning method. Overall comparisons and three ablation studies are conducted to evaluate its comprehensive performance and the contributions of dynamic-risk prediction, reconfigurable formation, and goal-neighborhood safety control.
4.1. Experimental Setup
A three-dimensional gridded urban height-field model with a planning area of (100 × 100 ×
H) m was constructed in MATLAB. The baseline scenario included 45 buildings with heights of 3–40 m and mixed geometries, three UAVs with start and goal points distributed in different quadrants, and five highly dynamic obstacles with velocity variation, random turning, and sudden maneuvers. Additional scenarios with different UAV numbers, obstacle densities, and map sizes were designed to evaluate robustness and scalability. For fair comparison, all algorithm parameters were tuned through preliminary experiments, and the final settings are listed in
Table 2.
To reduce the influence of stochastic dynamic-obstacle motions, each experiment was repeated 30 times with different random seeds. In each run, the initial states and maneuvering disturbances of dynamic obstacles were randomized, while the UAV start and goal positions were kept fixed for fair comparison. The results are reported as mean ± standard deviation. Statistical significance was tested using the Kruskal–Wallis test followed by Mann–Whitney U tests with Bonferroni correction, and the significance level was set to p < 0.05.
4.2. Overall Performance Experiment
Six comparative methods were employed to evaluate the proposed approach. A1 denotes conventional ACO, which performs static global path planning without trajectory smoothing or online replanning. A2 combines ACO with GWO-based trajectory smoothing but does not include online obstacle avoidance or cooperative replanning. A3 employs MPC-based local replanning for dynamic-obstacle avoidance while following the reference trajectories generated by ACO and GWO. A4 integrates ACO and GWO with MADDPG, where the ACO+GWO trajectories serve as global references, and MADDPG generates local action corrections for dynamic-obstacle avoidance and inter-UAV coordination. A5 adopts the same ACO+GWO-guided planning framework but uses MAPPO to generate cooperative local action corrections. A6 represents the proposed method, which integrates dynamic-aware ACO, cooperative MPC-GWO replanning, reconfigurable formation control, and goal-neighborhood safety coordination. The trajectories generated by the six methods are presented in
Figure 5.
As shown in
Figure 5, A1 and A2 generate feasible static reference trajectories but lack dynamic-obstacle perception and inter-UAV coordination. A3 improves dynamic-obstacle avoidance through MPC-based local replanning; however, inter-UAV conflicts may still occur because explicit cooperative decision-making is not incorporated. A4 follows the ACO+GWO reference trajectories and employs MADDPG-based local action correction, thereby improving dynamic avoidance and cooperative motion, although its performance remains sensitive to the learned local policy and lacks explicit global dynamic-risk modeling. Compared with A4, A5 achieves a higher mission success rate and fewer dynamic-obstacle collisions. However, its minimum inter-UAV distance is smaller, and occasional inter-UAV collisions still occur. In contrast, A6 integrates dynamic-aware ACO, cooperative MPC-GWO replanning, reconfigurable formation control, and goal-neighborhood safety coordination, producing the safest and most coordinated trajectories. The comprehensive performance comparison of the six multi-UAV cooperative planning methods is presented in
Table 3.
Table 3 summarizes the results of 30 Monte Carlo runs. A1 and A2 achieve high reached rates but low success rates because they lack online dynamic-obstacle avoidance and inter-UAV coordination. A3 improves the success rate to 86.7%. However, it primarily performs reactive local optimization and does not explicitly incorporate global dynamic-risk assessment, formation reconfiguration, or terminal coordination. A4 and A5 improve coordination through learned action correction but require extensive offline training and hyperparameter tuning. In contrast, A6 requires no policy training and achieves the highest success rate of 93.3% and composite score of 96.20, with zero dynamic and inter-UAV collisions and the largest minimum safety distances, demonstrating superior safety, coordination, reliability, and interpretability.
The overall performance experiment in the three-dimensional scenario verifies the advantages of the proposed method in multi-UAV cooperation and dynamic-obstacle avoidance in complete spatial environments. However, complex factors in three-dimensional environments, such as height variations and multi-directional obstacle distributions, may jointly affect the performance of different core modules, making it difficult to independently evaluate the contributions of dynamic-obstacle prediction, reconfigurable formation, and goal-neighborhood safety control. To more clearly reveal the mechanisms of these modules and reduce the interference of incidental environmental factors, the following ablation experiments are conducted by projecting the experimental scenario onto a two-dimensional horizontal plane. The two-dimensional scenario retains the main lateral obstacle-avoidance and formation-coordination requirements of low-altitude urban flight while simplifying the analysis dimension, making the performance differences among modules more intuitive and distinguishable.
4.3. Ablation Experiment Analysis
For low-altitude urban flights, more challenging situations arise from the continuous disturbances caused by highly dynamic obstacles and from local congestion or goal occupation near the goal region. Such scenarios may not only lead to frequent local trajectory failures but also damage the formation structure and affect safe terminal arrival. Therefore, ablation experiments were further conducted to verify the core mechanisms of the proposed method and evaluate its robustness and terminal-stage safety-control capability in highly dynamic environments.
4.3.1. Ablation of the Dynamic-Obstacle Prediction and Risk Assessment Model
To evaluate the dynamic-obstacle prediction and risk assessment model, three variants were compared, with the remaining modules unchanged. B1 uses only current obstacle positions for reactive avoidance, B2 applies constant-velocity extrapolation, and B3 adopts the proposed dynamic prediction and time-domain risk assessment.
Figure 6 compares their local trajectory adjustments in a complex environment with static buildings and high-speed dynamic obstacles.
As shown in
Figure 6, the reactive obstacle-avoidance strategy of B1 lacks spatiotemporal foresight and triggers avoidance only after the UAV approaches an obstacle. This results in several sharp turns and poor trajectory smoothness. Although B2 adopts linear extrapolation prediction, its prediction results rapidly become invalid when dynamic-obstacles perform sudden turns or nonlinear maneuvers. Consequently, the UAV is forced to perform an almost right-angle emergency turn in the central danger region, increasing attitude-control cost and potential collision risk. In contrast, B3 relies on the dynamic prediction and time-domain risk assessment mechanism to identify obstacle-crossing trends in advance, thereby achieving smoother trajectory adjustment with a smaller detour range in complex intersection regions. The dynamic-obstacle avoidance performance comparison is presented in
Table 4.
As shown in
Table 4, the proposed B3 strategy achieved the highest success rate and the lowest collision frequency under the high-density dynamic-obstacle scenario. Compared with B1 and B2, B3 increased the success rate from 66.67% to 94.44%, while reducing the average collision frequency to 0.03 per run. In addition, B3 reduced the average risk cost by 90.00% and 93.75% compared with B1 and B2, respectively. The average path length and smoothness cost were also reduced, indicating that the dynamic-aware prediction strategy not only improved safety but also generated shorter and smoother trajectories. The runtime of B3 remained comparable to the baseline methods, suggesting that the improved prediction strategy did not introduce significant additional computational burden.
4.3.2. Ablation of the Reconfigurable Formation-Coordination Mechanism
To evaluate reconfigurable formation control in narrow urban spaces, two variants were compared. C1 maintains a fixed triangular formation with rigid obstacle avoidance, whereas C2 adaptively switches among triangular, column, and free-flight modes according to local constraints and risk levels.
Figure 7 shows their cooperative obstacle-avoidance trajectories in a narrow-passage scenario.
As shown in
Figure 7a, the fixed triangular formation with rigid shifting in C1 maintains the triangular formation throughout the motion process and cannot adjust the formation structure according to the channel width. Therefore, continuous static collisions occur in the narrow-channel region. As shown in
Figure 7b, the reconfigurable formation method C2 can switch from a triangular formation to a column formation according to local spatial constraints, thereby reducing the lateral width of the formation and enabling all three UAVs to safely pass through the narrow channel.
Table 5 presents the comparison of formation-coordination performance indicators between the two methods.
As shown in
Table 5, the fixed triangular formation in C1 results in a large lateral footprint, preventing the UAV group from passing through the narrow channel and leading to a passage success rate of 0.00%. In contrast, C2 adaptively switches among triangular, column, and free-flight modes, increasing the success rate to 100.00%. It also reduces the average risk cost and passing time, with only a slight runtime increase from 0.08 s to 0.09 s. Although active reconfiguration introduces a formation error of 4.50 m, the minimum inter-UAV distance remains 5.00 m, satisfying the safety-separation requirement. These results confirm the effectiveness of the proposed reconfigurable formation strategy in constrained urban environments.
4.3.3. Ablation of the Goal-Neighborhood Safety-Control Strategy
Three variants were compared to evaluate goal-neighborhood safety control. D1 uses a direct goal approach with collision detection only, D2 applies local detouring without waiting or formation release, and D3 adopts the proposed coordinated mechanism integrating waiting, detouring, and formation release.
Figure 8 shows the corresponding UAV trajectory distributions near the goal region.
As shown in
Figure 8, D1 directly guides UAVs to the goal without goal-neighborhood coordination, making conflicts likely near the target. D2 reduces some conflicts through local detouring, but trajectory congestion remains because waiting and formation release are not included. In contrast, D3 combines waiting, detouring, and formation release, allowing UAVs to avoid conflicts temporarily and enter the goal region in an orderly manner. These results show that D3 improves safe-arrival capability in complex dynamic environments.
Table 6 further provides the statistical comparison of dynamic-obstacle avoidance and goal-region conflict handling.
As shown in
Table 6, D1 and D2 fail to achieve safe terminal arrival in the tested goal-neighborhood scenario. Although D2 introduces detouring, it lacks waiting and formation-release control, making it unable to avoid conflicts when dynamic obstacles occupy the goal region. In contrast, D3 achieves a success rate of 96.67%, reduces the collision frequency to 0.05, and decreases the terminal conflict value to 0.00. Although additional waiting and slight detours are introduced, D3 shortens the team arrival time from the maximum simulation time of 25.00 s to 12.13 s, demonstrating improved terminal safety and mission-completion efficiency.
4.4. Parameter Sensitivity Analysis
To evaluate the influence of key algorithm parameters on the proposed framework, a parameter sensitivity analysis was conducted. Three representative parameters were selected, including the dynamic-risk weight (), the prediction horizon (), and the formation-maintenance weight (). These parameters were considered because they directly affect dynamic-obstacle avoidance, global search behavior, online replanning performance, and formation consistency.
A one-factor-at-a-time strategy was adopted, in which one parameter was varied while the others were fixed at their baseline values. For each setting, 30 Monte Carlo runs were conducted, and the mean performance metrics were recorded. The tested ranges are summarized in
Table 7.
Figure 9a shows that increasing the risk weight reduces the risk cost but may increase path length because of more conservative detours.
Figure 9b indicates that a longer prediction horizon lowers the hazardous-time ratio by improving conflict prediction, although it increases replanning runtime.
Figure 9c shows that a larger formation-maintenance weight reduces formation error, but excessive weighting limits maneuvering flexibility and provides limited success-rate improvement. Overall, the final parameters were selected to balance safety, path efficiency, formation consistency, and computational feasibility.
4.5. Scalability and Real-Time Computational Performance
To evaluate the scalability of the proposed method, four mission-scale scenarios were constructed by progressively increasing the number of UAVs, the number of dynamic obstacles, the number of buildings, and the map size from the baseline 100 × 100 ×
H m scenario. The purpose of this setting is to separately examine the influence of UAV-team size, dynamic-obstacle density, and environmental scale on planning performance and computational efficiency. Each scenario was repeated 30 times with different random seeds, and the results are reported as mean ± standard deviation. The scalability settings are listed in
Table 8, the detailed numerical results are summarized in
Table 9, and the corresponding scalability and real-time computational trends are illustrated in
Figure 10.
The real-time feasibility of online replanning was evaluated by comparing the average online replanning time with the predefined replanning interval. In this study, the replanning interval was set to 0.5 s. A scenario was considered real-time feasible when , where denotes the average online replanning time, and denotes the predefined replanning interval.
As shown in
Table 8 and
Figure 10, the proposed method maintains stable scalability under the tested mission-scale scenarios. Compared with S1, S2 increases the number of UAVs from three to five while keeping the map size, building number, and dynamic-obstacle number unchanged. The increased UAV number introduces more pairwise inter-UAV separation constraints and cooperative coordination requirements, resulting in a moderate increase in online replanning time.
Compared with S2, S3 further increases the number of dynamic obstacles from five to ten. As a result, more predicted risk regions need to be evaluated within the local prediction horizon, and the probability of UAVs entering hazardous regions increases. Therefore, the hazardous-time ratio increases in S3. Nevertheless, the proposed dynamic-risk prediction and cooperative replanning mechanisms still maintain a high mission success rate and suppress dynamic-obstacle collisions.
Compared with S3, S4 increases the map size from 100 × 100 m to 200 × 200 m and the number of buildings from 45 to 80. This mainly enlarges the feasible grid-search space and increases the burden of dynamic-aware ACO global planning. Therefore, the global planning time increases more significantly than the online replanning time.
In all tested scenarios, the average online replanning time remains below the predefined replanning interval of 0.5 s, indicating that the proposed method satisfies the real-time requirement in the tested small- to medium-scale scenarios. Although the computational time increases with mission complexity, the proposed framework still maintains acceptable scalability due to the combination of global dynamic-aware search, sliding-window local refinement, and receding-horizon online replanning.
The measured computational trends are consistent with the theoretical complexity analysis in
Section 3.4. Specifically, the global planning time mainly increases with map size and building density, whereas the online replanning time is more strongly affected by the number of UAVs and dynamic obstacles. For larger UAV swarms and denser urban environments, the computation time increases noticeably, and further acceleration through parallel computation, or distributed replanning would be required.
5. Discussion
The experimental results indicate that the proposed dynamic-aware ACO and cooperative MPC-GWO framework can effectively improve trajectory safety, cooperative obstacle avoidance, and execution feasibility in the tested simulated urban scenarios. Compared with conventional ACO and ACO+GWO methods, the proposed method incorporates dynamic-obstacle prediction, inter-UAV safety constraints, and mission-synchronization requirements, thereby improving adaptability under dynamic disturbances. The dynamic-risk-awareness mechanism reduces the probability of UAVs entering high-risk regions, while the sliding-window GWO improves trajectory smoothness and provides a more stable reference for online replanning.
During execution, cooperative MPC-GWO performs receding-horizon optimization according to dynamic obstacles and inter-UAV relative states, enabling each UAV to balance individual safety and group cooperation. The reconfigurable formation mechanism improves passage capability in narrow or congested regions, and the goal-neighborhood safety-control strategy reduces terminal conflicts caused by simultaneous arrival. These results suggest that multi-UAV trajectory planning should consider not only path efficiency but also dynamic risk, formation adaptability, and orderly terminal arrival.
This study still has several limitations. The proposed method was validated mainly in MATLAB simulations rather than real-flight or hardware-in-the-loop experiments; therefore, perception uncertainty, localization error, communication delay, actuator saturation, UAV dynamic constraints, and complex meteorological disturbances were not fully considered. In addition, the experiments focused on small- to medium-scale UAV formations in simulated urban scenarios, and the applicability to larger UAV swarms and denser real urban environments requires further validation. Moreover, the framework adopts two-dimensional grid search with altitude assignment based on the building-height field, which improves efficiency but cannot fully represent all possible three-dimensional maneuvers. Future work will incorporate higher-fidelity UAV dynamics, real 3D urban maps, hardware-in-the-loop simulation, and real-flight experiments.
6. Conclusions
With the rapid development of urban low-altitude operations, autonomous trajectory planning and cooperative obstacle avoidance for multiple UAVs in complex building environments and dynamic-obstacle-dense regions have become important issues for ensuring safe low-altitude mission execution. This study proposes a three-dimensional cooperative trajectory-planning method for multiple UAVs by integrating dynamic-aware ACO and cooperative MPC-GWO. The proposed framework first uses dynamic-risk-aware ACO to generate safe initial trajectories, then applies sliding-window GWO for local trajectory smoothing, and finally combines cooperative MPC-GWO, reconfigurable formation control, and goal-neighborhood safety control to achieve online obstacle avoidance, inter-UAV separation, and orderly terminal arrival in simulated low-altitude urban scenarios.
Results show that the proposed method achieves good comprehensive performance in dynamic-risk suppression, inter-UAV safety maintenance, and mission-completion reliability. Compared with conventional ACO and ACO+GWO methods, the proposed method effectively reduces the dynamic risk cost and maintains a relatively stable safety separation during multi-UAV cooperative flights. The ablation experiments further show that the dynamic-obstacle prediction and time-domain risk assessment mechanism helps reduce dynamic-obstacle avoidance conflicts; the reconfigurable formation mechanism improves the passage capability of multiple UAVs in constrained spaces such as narrow channels; and the goal-neighborhood safety-control strategy alleviates congestion and local conflicts caused by the simultaneous arrival of multiple UAVs near the goal region. These results demonstrate that the proposed method can improve the safety, cooperation, and robustness of multi-UAV systems in highly dynamic environments while maintaining trajectory feasibility.
Overall, the proposed method integrates global dynamic-risk perception, local trajectory smoothing, online cooperative replanning, and formation reconfiguration into a unified framework, providing a feasible solution for three-dimensional multi-UAV trajectory planning in the tested simulated low-altitude urban scenarios. Compared with three-dimensional trajectory-planning methods that focus only on static obstacles or single-UAV path optimization, this study places greater emphasis on multi-UAV cooperative safety and mission-execution reliability under dynamic-obstacle disturbances. Therefore, the proposed method is more suitable for application scenarios such as urban low-altitude inspection, logistics delivery, disaster monitoring, and swarm-cooperative missions. Future research will further incorporate high-fidelity UAV dynamic models, real three-dimensional urban maps, hardware-in-the-loop simulation, and real-flight experiments to validate the real-time performance, robustness, and engineering applicability of the proposed method in large-scale low-altitude urban missions.