Multi-unmanned ship mixed strategy collision avoidance method and system based on cooperation degree estimation
By employing a cooperative conditional hybrid strategy navigation framework and Bayesian recursive Nash equilibrium, the problems of inaccurate collision avoidance response and insufficient trajectory generation caused by the uncertainty of the degree of cooperation of external vessels in multi-unmanned vessel systems are solved, achieving more efficient collision avoidance decision-making and dynamic adaptation.
Patent Information
- Application Number
- CN202611708776.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-11-02
- Publication Date
- 2026-11-27
AI Technical Summary
Existing multi-unmanned vessel collision avoidance methods struggle to accurately characterize avoidance responses under conditions of uncertainty regarding the degree of cooperation from external vessels, lack adaptability in candidate trajectory generation, and are disconnected from risk assessment and hybrid strategy updates.
A cooperative-conditional hybrid strategy navigation framework is adopted, which introduces candidate trajectory generation and trajectory cost evaluation through online cooperative estimation, and uses Bayesian recursive Nash equilibrium to update the hybrid strategy of each controlled unmanned vessel to generate a finite-time-domain collision avoidance reference trajectory.
It reduces reliance on external vessels to give way, enhances the ability to avoid less cooperative vessels in advance, balances collision avoidance, maintaining safe distances and navigation efficiency, and improves the adaptability of multi-unmanned vessel systems to dynamic interaction states and changes in the degree of cooperation.
Smart Images

Figure CN123177526A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of autonomous decision-making and motion control technology for unmanned vessels, specifically relating to a multi-unmanned vessel hybrid strategy collision avoidance method and system based on cooperation degree estimation. Background Technology
[0002] With the continuous development of unmanned surface vessel (USV) environmental perception, autonomous decision-making, and motion control technologies, research focus has gradually expanded from single-vessel autonomous collision avoidance to multi-USV cooperative navigation. Compared to single-vessel systems, multi-USV systems can perform tasks such as maritime patrol, environmental monitoring, target search, and water transport through cooperative decision-making, featuring wide task coverage, high cooperative efficiency, and strong system scalability. However, in real-world aquatic environments, multiple controlled USVs not only need to coordinate their respective trajectories but also interact with external dynamic vessels or other moving targets that are not directly controlled by the system. External vessels may actively decelerate, turn, or yield, or they may maintain their original course and speed, thus their avoidance response has significant uncertainty. How to ensure cooperative navigation among controlled USVs while safely dealing with external vessels with varying degrees of cooperation has become a crucial technical problem in multi-USV autonomous navigation and dynamic collision avoidance.
[0003] Currently, in the field of dynamic collision avoidance and trajectory planning for multiple unmanned vessels, existing research mainly focuses on the following technical approaches: One type is reactive methods based on speed barriers, reciprocal speed barriers, or optimal reciprocal collision avoidance. These methods construct collision constraints in the velocity space based on the relative positions and relative speeds between vessels, and have the advantages of fast computation speed and ease of achieving local real-time collision avoidance. However, they usually rely on the reciprocal assumption that both interacting parties share the responsibility for collision avoidance. Another type is trajectory planning methods based on model predictive control, sampling optimization, or topology trajectory search. These methods can comprehensively consider collision constraints, target progress, and path quality within a limited prediction time domain. However, the planning performance largely depends on the coverage of candidate trajectories and the rationality of the trajectory cost model. A third type is decision-making methods based on data-driven or reinforcement learning. These methods can learn the motion patterns of surrounding vessels or multimodal trajectory distributions from historical interaction data. However, they are easily limited by the behavior types and interaction patterns in the training data, and the improvement in prediction accuracy does not directly translate into safer collision avoidance decisions.
[0004] To describe the various motion outcomes that may occur in the same interaction scenario, such as going straight, yielding, passing ahead, decelerating, and lateral avoidance, hybrid policy trajectory planning methods have been increasingly applied to multi-agent navigation and collision avoidance tasks in recent years. These methods treat each deterministic candidate trajectory as a pure policy and represent the hybrid policy with the probability distribution on the candidate trajectory, thus preserving multiple possible motion modes during the planning process. Methods such as Bayesian recursive Nash equilibrium can recursively update the probability weights of different candidate trajectories based on the expected interaction costs between them, coupling the trajectory distributions of multiple controlled unmanned vessels during the planning process and selecting a reference trajectory for subsequent execution accordingly. Compared to methods that only output a single deterministic trajectory, hybrid policy planning can more fully describe the motion uncertainty under complex interaction conditions, but its final decision is still influenced by both the candidate trajectory distribution before the update and the trajectory risk assessment method.
[0005] However, existing technologies still have the following shortcomings overall:
[0006] First, existing reciprocal collision avoidance or hybrid strategy planning methods usually adopt a uniform cooperation assumption, which makes it difficult to distinguish between external vessels that actively avoid collisions, partially avoid collisions, and maintain their original motion state, and is prone to overestimating the avoidance response of low-cooperation vessels.
[0007] Secondly, existing candidate trajectory generation methods typically sample according to a fixed distribution or a uniform motion model, failing to adjust the distribution of candidate behaviors such as yielding, early passage, and lateral avoidance based on the degree of cooperation of surrounding external vessels, resulting in insufficient safe trajectories to choose from in subsequent strategy updates.
[0008] Third, existing trajectory cost models typically focus on geometric distance or collision constraints, failing to effectively distinguish between cooperative avoidance among controlled unmanned vessels and avoidance behavior that relies on the active cooperation of external vessels. This may underestimate the risk of candidate trajectories that rely on yielding from low-cooperation external vessels.
[0009] Fourth, existing cooperative perception collision avoidance methods mainly adjust collision avoidance responsibility or speed selection at the speed level, and the degree of cooperation information has not yet formed a unified decision-making mechanism with candidate behavior generation, interactive risk assessment and hybrid strategy updates at the trajectory level.
[0010] Therefore, in order to address the problems of insufficient estimation of cooperative response, weak adaptability of candidate trajectories, and inaccurate evaluation of interactive risks in existing multi-unmanned vessel collision avoidance methods under the condition of uncertainty of the degree of cooperation of external vessels, there is an urgent need to propose a multi-unmanned vessel collision avoidance method that can integrate cooperation information into the hybrid strategy trajectory planning process. Summary of the Invention
[0011] The purpose of this invention is to address the problems of existing multi-unmanned vessel collision avoidance methods, such as difficulty in accurately characterizing avoidance responses, lack of adaptability in candidate trajectory generation, and disconnect between risk assessment and hybrid strategy updates when the degree of cooperation of external vessels is uncertain. This invention provides a multi-unmanned vessel hybrid strategy collision avoidance method and system based on cooperation degree estimation. It adopts a cooperation degree conditional hybrid strategy navigation framework, simultaneously introducing online cooperation degree estimation into candidate trajectory generation and trajectory cost evaluation, and updating the hybrid strategy of each controlled unmanned vessel through Bayesian recursive Nash equilibrium, finally outputting a finite-time-domain collision avoidance reference trajectory.
[0012] To achieve the above objectives, the technical solution of the present invention is: a multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation, comprising:
[0013] The system acquires the positions, velocities, and target positions of multiple controlled unmanned vessels at the planning time t, as well as the positions and velocities of external vessels within the perception range, and constructs a set of controlled unmanned vessels, a set of external vessels, and a set of neighbors.
[0014] For each controlled unmanned vessel i and its neighboring external vessel j, based on the changes in the pairwise collision risk between the nominal and actual observed trajectories of external vessel j and the predetermined extrapolated trajectory of controlled unmanned vessel i, the corresponding orderly pairing cooperation degree estimates are updated online to obtain the cooperation degree set.
[0015] The sampling distribution of the candidate trajectories of the controlled unmanned vessel is adjusted according to the cooperation degree set to generate a candidate trajectory set including at least a few behavioral modes among near nominal motion, deceleration and yielding, early passage, lateral avoidance and return to the target. The candidate trajectory is composed of several discrete location points in the planning time domain.
[0016] The interaction risk cost of the candidate trajectories is adjusted by gain based on the cooperation degree set, and the expected cost of each candidate trajectory is calculated by combining the collision distance threshold, safety distance threshold, positive closure velocity, target progress and path efficiency.
[0017] Using the candidate trajectory set and initial probability of each controlled unmanned vessel as a priori, the selection probability of each candidate trajectory is recursively updated according to the current hybrid strategy of other controlled unmanned vessels and the predicted trajectory distribution of external vessels until the convergence condition is met or the set number of recursions is reached, thus obtaining the hybrid strategy of each controlled unmanned vessel.
[0018] Based on the converged hybrid strategy, the candidate trajectories are weighted according to the predicted step probability to generate a finite-time-domain collision avoidance reference trajectory. The reference trajectory is then input into the underlying trajectory tracking and control loop of the controlled unmanned vessel. After executing at least one control interval, the state information is reacquired and the cooperation estimation step is returned for rolling replanning.
[0019] Furthermore, the estimated degree of cooperation is updated as follows:
[0020] According to the formula Calculate the observed speed of external vessel j. Let be the speed of the external ship j at time t. The positions of external ship j at times t and t-1 are respectively. The time interval between adjacent planning points; obtain After one effective speed observation, the nominal speed of the external ship j is initialized with the average of the recent effective speeds;
[0021] Including Within the time domain of the cooperation estimation for each distance from the walk length, extrapolate the constant-velocity trajectory of the controlled unmanned vessel i. The nominal motion trajectory of external vessel j and actual observed motion trajectory ;
[0022] According to the normalized geometric risk function
[0023]
[0024] Calculate the nominal risk between the constant velocity trajectory and the nominal trajectory. Observational risks between constant velocity trajectories and observed trajectories ,in , , For any two trajectories that need to be evaluated for risk, As a forward risk discount factor, and Trajectories and In the The position of each prediction step The desired safe distance threshold;
[0025] The greater of the nominal risk and the observed risk is taken as the risk weight. ,according to
[0026]
[0027] Calculating instantaneous cooperation evidence ,in, For the amplitude limiting function, To prevent the division of zero into small positive constants;
[0028] The cooperation estimate of the previous moment is updated using the risk weights and instantaneous cooperation evidence: the cooperation estimate is increased when the actual movement of external vessels reduces the paired geometric risk, and decreased when the actual movement maintains or increases the paired geometric risk.
[0029] Furthermore, it also includes a nominal speed update mechanism:
[0030] according to Determine the maximum pairwise geometric risk between external vessel j and each controlled neighbor, when external vessel j has no controlled neighbors. ,in, For the assembly of controlled unmanned vessels, The set of controlled unmanned vessels that are neighbors of external vessel j;
[0031] After updating the cooperation estimate, according to
[0032]
[0033] Update the nominal speed of external vessel j ,in Nominal update rate, Let be the nominal speed of the external vessel j; when the external vessel's track is lost and reinitialized, its cooperation estimate is reset to 0.5 and its nominal speed is reinitialized.
[0034] Furthermore, the generation of candidate trajectories includes the construction of nominal trajectories:
[0035] make This represents the bounded velocity obtained by updating the current state through local velocity barriers, at the k-th prediction step, according to...
[0036]
[0037] Calculate target distance , and according to
[0038]
[0039] Calculate target guidance velocity ,in For maximum speed, Used to avoid division by zero. The target location of the controlled unmanned vessel i. The position of the nominal trajectory at the (k-1)th prediction step. The time interval between adjacent planning points;
[0040] according to
[0041]
[0042] Integrate local collision avoidance response and target guidance velocity, and according to The nominal trajectory is generated recursively, where The fusion coefficient is non-decreasing. Used to limit the velocity amplitude within, Let the velocity of the nominal trajectory be the velocity at the k-th prediction step. Let be the position of the nominal trajectory at the k-th prediction step.
[0043] Furthermore, it also includes generating candidate trajectories by perturbing the nominal trajectory using basis functions, and adjusting the sampling distribution using cooperation:
[0044] In the target-aligned coordinate system, define the normalized prediction time. Using local time-domain contour functions Constructing vertical basis vectors and horizontal basis vectors ,in, Let be the number of outliers included in the trajectory planning time domain, and s be the normalized prediction time. The center position of the time-domain profile function. The temporal action width of the time-domain contour function;
[0045] Candidate trajectory position by
[0046]
[0047] Generate, where The scaling factor. and These are the longitudinal and transverse deformation coefficients, respectively. Let i be the position of the controlled unmanned vessel at time t. Let be the unit vector pointing from the current position to the target position. To and Orthogonal unit direction vectors;
[0048] according to
[0049]
[0050] Calculate the pressure of cooperation ,in The sampling radius is... This is an estimate of the degree of cooperation. Let j be the position of the external vessel at time t. Let i be the set of neighbors of the controlled unmanned vessel i at time t. For external vessels; when no external vessels are within the sampling radius, it is considered... ;
[0051] according to The mean of the initial proposal distribution for cross-entropy sampling is adjusted so that the sampling distribution corresponding to external vessels with low cooperation and close proximity is biased towards the deceleration and yield components and the early lateral avoidance components. Based on the mean vector, This is the cooperative pressure bias vector.
[0052] Furthermore, the candidate trajectory sampling distribution is iteratively optimized using the cross-entropy method:
[0053] In the In the next iteration, according to Sampling trajectory parameters, where, For the first The trajectory parameter vector obtained by sampling in the next iteration. For the first The mean vector of the next iteration's proposal distribution. For the first The standard deviation vector of the next iteration's proposed distribution;
[0054] make The lowest cost in the current iteration A set of elite sample indexes, categorized by
[0055]
[0056] Update the mean, by
[0057]
[0058] Calculate the uncorrected standard deviation and follow the formula. Correcting the standard deviation to prevent distribution collapse, where, The mean of the elite samples, i.e., the updated mean of the proposal distribution. This is the uncorrected standard deviation vector calculated based on the elite sample. It is a vector of all 1s. The lower limit of the minimum standard deviation, superscript This indicates squaring by elements;
[0059] After completing the preset number of iterations, a set of candidate trajectories is obtained. And set the initial probability of each candidate trajectory to , denoted as the number of candidate trajectories for the controlled unmanned vessel i.
[0060] Furthermore, the costs of the interaction risks include:
[0061] For the m-th candidate trajectory of the controlled unmanned vessel i Predicting trajectories with neighboring intelligent agents Calculate the predicted spacing and insufficient safety margin And calculate the positive closing velocity at step h.
[0062]
[0063] in, Let be the relative position vector between the candidate trajectory and the predicted trajectory of its neighbor at step h. Let be the relative position vector between the candidate trajectory and the predicted trajectory of its neighbor at step h+1. For the desired safe distance threshold, Used to avoid division by zero. The time interval between adjacent planning points;
[0064] according to
[0065]
[0066] Combined collision term, safety margin peak term, safety margin integral term, empirical upper tail risk term, time-weighted conflict term, and closure risk term, among which the cooperation-related gain , , This represents the maximum degree of non-cooperation among the i-th neighboring controlled unmanned vessel. Paired closed risk gain Used to calculate closure risk term , , and These are the safety margin risk gain coefficient, the overall gain coefficient of closed-loop risk, and the paired closed-loop risk gain coefficient, respectively. Let i be the set of neighbors of the controlled unmanned vessel i at time t. This is an estimate of the degree of cooperation. To determine the complete interaction risk of candidate trajectory m for controlled unmanned vessel i, For collision terms, For the peak safety margin term, For the safety margin integral term, For experience-based risk items, For time-weighted conflict items, These are the weighting coefficients corresponding to each risk item;
[0067] The expected value is calculated under the neighbor hybrid strategy and combined with the progress of the objective. and path efficiency penalty ,according to
[0068]
[0069] Expected cost of obtaining candidate trajectories ,in, For interactive risk functions, For the set of cooperation degree, The joint trajectory of all agents except agent i. The weights are the target progress item weights and the path efficiency penalty item weights.
[0070] Furthermore, the recursive update of the selection probability of each candidate trajectory includes:
[0071] For the controlled unmanned vessel i, in the first In the next recursion, the expected cost of the m-th candidate trajectory is calculated based on the current mixing strategy of the neighbors. ;
[0072] Conditional Likelihood
[0073]
[0074] Calculate the conditional likelihood of the m-th candidate trajectory ,in For cost difference sensitivity coefficient;
[0075] according to
[0076]
[0077] Perform Bayesian probability normalization update, where Let m be the initial probability of the candidate trajectory. Let be the initial probability of the candidate trajectory q. For the first The update probability of candidate trajectory m after +1 recursion. For the first The conditional likelihood value of the candidate trajectory q in the next recursion. The total number of candidate trajectories for the controlled unmanned vessel i;
[0078] Each controlled unmanned vessel is updated sequentially according to a preset order. The hybrid strategy of the first updated vessel is immediately used for the cost evaluation of subsequent vessels. The update stops when the change in the probability distribution of each vessel is less than the threshold or the maximum number of recursions is reached.
[0079] Furthermore, the generation of the finite-time collision avoidance reference trajectory includes:
[0080] Based on the converged mixing strategy ,according to
[0081]
[0082] By performing probability weighting on the time-aligned candidate trajectories, the reference position of the controlled unmanned vessel i at the h-th prediction step can be obtained. The reference trajectory is formed by the reference positions of each prediction step. ,in, To plan the number of outliers included in the time domain, Let m be the position of the m-th candidate trajectory of the controlled unmanned vessel i at the h-th prediction step;
[0083] Reference trajectory The data is sent to the lower-level trajectory tracking controller to execute the next control interval, then the status information is retrieved again and the next rolling planning cycle begins.
[0084] This invention also provides a multi-unmanned vessel hybrid strategy collision avoidance system based on cooperation estimation, which executes the multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation estimation as described above, including:
[0085] The perception and acquisition module is used to acquire the position, speed, target position, and position and speed of external vessels of each controlled unmanned vessel through positioning equipment, speed measuring equipment, automatic identification system for ships, or environmental sensing equipment, and to form time-aligned status information.
[0086] The cooperation estimation module is used to update the pairwise cooperation estimates between the controlled unmanned vessel and the external vessel based on the risk reduction between the nominal motion trajectory and the actual observed motion trajectory of the external vessel, and output the cooperation set.
[0087] The candidate trajectory generation module is used to adjust the sampling distribution according to the cooperation degree set to generate a candidate trajectory set for each controlled unmanned vessel;
[0088] The cost calculation module is used to calculate the interaction risk cost, target progress, and path efficiency of each candidate trajectory to obtain the expected cost of the candidate trajectory.
[0089] The strategy update module is used to recursively update the probability of each candidate trajectory and generate a finite time-domain collision avoidance reference trajectory.
[0090] The control output module is used to convert the reference trajectory into a controllable unmanned surface vessel (USV) underlying trajectory tracking control command, drive the USV to execute the next control interval, and feed back the updated state to the cooperation estimation module for rolling replanning.
[0091] Compared with existing technologies, the present invention has the following advantages: By estimating the cooperation level of external vessels online and using it simultaneously for candidate trajectory generation and interaction risk assessment, the present invention can reduce the dependence of collision avoidance decisions on the proactive yielding of external vessels and improve the ability to avoid low-cooperation vessels in advance; by coordinating the hybrid strategies of multiple controlled unmanned vessels through Bayesian recursive Nash equilibrium, it takes into account collision avoidance, safe distance maintenance, target arrival and navigation efficiency; by updating the cooperation level, candidate trajectories and hybrid strategies in the rolling time domain, it improves the adaptability of the multi-unmanned vessel system to changes in dynamic interaction states and cooperation levels. Attached Figure Description
[0092] Figure 1 Here is a flowchart of a multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation;
[0093] Figure 2A schematic diagram of the framework for a cooperative conditional hybrid strategy collision avoidance method. Detailed Implementation
[0094] The technical solution of the present invention will now be described in detail with reference to the accompanying drawings.
[0095] This invention proposes a multi-unmanned surface vehicle (USV) hybrid strategy collision avoidance method based on cooperation degree estimation. It uses multiple USVs as controlled vessels to perform finite-time-domain trajectory planning in a water environment with external dynamic vessels exhibiting varying degrees of cooperation. The method employs a Cooperation-Conditioned Mixed-Strategy Navigation (CC-MSN) framework, simultaneously incorporating online cooperation degree estimation into candidate trajectory generation and trajectory cost evaluation. Furthermore, it updates the hybrid strategy of each controlled USV using Bayesian Recursive Nash Equilibrium (BRNE), outputting a finite-time-domain collision avoidance reference trajectory for each USV.
[0096] A flowchart of a multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation according to the present invention is provided. Figure 1 The specific steps are as follows:
[0097] Step 1: Obtain the state information of the controlled unmanned vessel and the external vessel, as well as the target position of the controlled unmanned vessel, and construct a finite time-domain hybrid strategy trajectory planning problem;
[0098] Step 2: Based on the changes in the paired collision risk caused by the nominal motion and actual observed motion of the external vessels, estimate the degree of cooperation of the external vessels relative to each controlled unmanned vessel online;
[0099] Step 3: Adjust the sampling distribution of candidate trajectories based on the cooperation degree estimate to generate a candidate trajectory set containing multiple collision avoidance behaviors for each controlled unmanned vessel;
[0100] Step 4: Calculate the interaction risk, target progress, and path efficiency of the candidate trajectories based on the cooperation degree estimate, and obtain the expected cost of each candidate trajectory;
[0101] Step 5: Perform BRNE recursive update based on the expected cost of the candidate trajectory to obtain the hybrid strategy of each controlled unmanned vessel, and generate a finite temporal collision avoidance reference trajectory based on the updated probability.
[0102] Step 6: Execute the next control interval of the reference trajectory, obtain the updated status information, and return to step 2 for rolling replanning.
[0103] CC-MSN framework such as Figure 2As shown, using current observation information and the target position of the controlled unmanned vessel as input, the system sequentially completes pairwise cooperation estimation, cooperation-conditionalized candidate trajectory generation, cooperation-conditionalized trajectory cost evaluation, and BRNE hybrid policy update. The selected reference trajectory is executed for only one control interval, and then enters the next rolling planning cycle using new observation information.
[0104] For step 1, obtaining state information and constructing a finite-time hybrid strategy trajectory planning problem, the specific contents include the following:
[0105] At the time of replanning The controlled unmanned vessel assembly is denoted as The external ship assembly is denoted as The set of all intelligent agents is denoted as .in, , and These represent the number of controlled unmanned vessels, the number of external vessels, and the total number of intelligent agents, respectively.
[0106] For any intelligent agent ,state At least include location and speed For any controlled unmanned vessel It also obtains the target location. and recent observation history The planning time domain includes H discrete step sizes, and the time interval between adjacent planning points is... The collision distance threshold is denoted as... The expected safe distance threshold is denoted as And satisfy .
[0107] For intelligent agents , No. A candidate trajectory is defined as
[0108]
[0109] in, For candidate trajectory index, For intelligent agents The number of candidate trajectories, the candidate trajectory set is Each deterministic candidate trajectory is treated as a pure policy, and the probability distribution over the candidate trajectory set is treated as a mixed policy. The nominal mixed policy before the interaction cost update is denoted as... , of which Candidate Trajectory The nominal probability, and satisfying .
[0110] Controlled unmanned ships candidate trajectories The expected cost of predicting hybrid strategies relative to other agents can be abstractly represented as:
[0111]
[0112] in, Candidate trajectories Expected cost Indicates except for intelligent agents Hybrid strategies of other intelligent agents This represents the trajectory sampled by other agents from their respective hybrid strategies. For interactive risk functions, To work with intelligent agents The relevant set of cooperation estimates. The specific candidate trajectory costs are further given in step 4.
[0113] For step 2, online estimation of the pairwise cooperation degree of external vessels relative to each controlled unmanned vessel specifically includes the following steps:
[0114] Step 2.1: Establish estimates of the cooperation degree of ordered intelligent agent pairs. For controlled unmanned vessels... and his neighbors Maintain the estimated degree of cooperation ,in For a moment intelligent agent The neighborhood group. For controlled unmanned vessels jointly involved in the planning, For external vessels Let the initial cooperation estimate be It is updated online based on position and velocity observations.
[0115] Step 2.2: Calculate the observed speed based on continuous position observations of external vessels. In obtaining After a number of effective velocity observations, at the moment when the historical length requirement is first met. Initialize external ships Nominal speed:
[0116]
[0117] Step 2.3, in the case of Within the time domain of the estimated cooperation degree of the distance between the walk distances, the controlled unmanned surface vessel is extrapolated based on the current state and nominal velocity. constant speed trajectory, external ships The nominal trajectory and the actual observed trajectory:
[0118]
[0119]
[0120]
[0121] in, superscript , and These represent constant velocity extrapolation, nominal motion extrapolation, and observed motion extrapolation, respectively.
[0122] Step 2.4: Define any two trajectories and Normalized geometric risk between:
[0123]
[0124]
[0125] in, , As a forward risk discount factor, As the normalization factor, and Trajectories and In the The position of each prediction step.
[0126] Step 2.5: Calculate the pairwise geometric risks when the external vessel maintains its nominal motion and when it adopts its actual observed motion, respectively.
[0127]
[0128]
[0129] Take the larger of the two values as the risk-based update weight:
[0130]
[0131] Step 2.6: Calculate the instantaneous evidence of cooperation based on the proportion of risk reduction caused by the actual observed motion of the external vessel relative to its nominal motion.
[0132]
[0133] in, The cooperation rate is the update rate. When both nominal and observed risks are low, the current observation has little impact on the cooperation rate estimate; when interaction risks increase, risk-reducing movements improve the cooperation rate estimate, while movements that maintain or increase conflict decrease the cooperation rate estimate.
[0134] Step 2.7: To prevent the avoidance response during the interaction from being absorbed into the nominal motion of the external vessel, define... When external ships When there are no controlled neighbors, let After updating the cooperation estimate, update the nominal velocity according to the following formula:
[0135]
[0136] in, This is the nominal update rate, composed of estimates of the cooperation levels of each neighbor. This information is used for subsequent candidate trajectory generation and trajectory cost evaluation. When an external vessel track is lost and reinitialized, its cooperation estimate is reset to 0.5.
[0137] The process for online estimation of pairwise cooperation is as follows: First, the observed speed of the external vessel is calculated based on continuous position observations, and its nominal speed is updated. Then, the nominal and observed motion trajectories of the external vessel are extrapolated, and their geometric risks relative to the constant-speed trajectory of the controlled unmanned vessel are calculated. Finally, instantaneous cooperation evidence is calculated based on the change between the nominal and observed risks, and the cooperation estimate of the corresponding ordered agent pair is updated.
[0138] For step 3, generating a candidate trajectory set based on the cooperation degree estimate includes the following steps:
[0139] Step 3.1: Optimize the candidate trajectory sampling distribution on the low-dimensional basis function trajectory representation using the Cross-Entropy Method (CEM). For controlled unmanned vessels... The candidate trajectory set is defined as
[0140]
[0141] in, A set of behavioral patterns For behavioral patterns The corresponding subset of candidate trajectories. The behavioral patterns and technical implications used in candidate trajectory generation are shown in Table 1.
[0142] Table 1. Candidate Trajectory Behavior Patterns and Their Technical Implications
[0143]
[0144] Step 3.2: Generate the nominal trajectory that fuses the local collision avoidance response and the target-oriented motion. Let... This represents the bounded velocity obtained by updating the current state through local velocity barriers. In the... In the prediction steps, the target distance and target guidance speed are respectively...
[0145]
[0146]
[0147] in, For maximum speed, This is used to avoid division by zero. The nominal locus is recursively calculated as follows:
[0148]
[0149]
[0150]
[0151] in, , This indicates that the velocity amplitude is limited to within, It is a non-decreasing fusion coefficient used to gradually transition the nominal trajectory from local collision avoidance response to target-oriented motion.
[0152] Step 3.3: Construct time-domain basis functions in the target aligned coordinate system. For Define normalized prediction time Defined by the current position Point to target location The unit vector is Its orthogonal direction is The local temporal contour function covering the early, middle, and late stages of the prediction time domain is:
[0153]
[0154] in, , This indicates the center of the corresponding deformation in the prediction time domain. Control the time range of this deformation. Use a positive longitudinal amplitude. and horizontal amplitude Construct the vertical basis vectors:
[0155]
[0156] The first longitudinal component is used to reduce early progress and recover later to indicate deceleration and yielding; the second longitudinal component is used to increase early progress and revert to the nominal trajectory to indicate early passage; and the third longitudinal component is used to adjust the longitudinal motion in the middle of the prediction time domain.
[0157] Construct the horizontal basis vectors:
[0158]
[0159] in, Used to generate a lateral movement that returns to the nominal direction after one deviation. The local contour function is used to adjust the start and recovery timing of lateral avoidance, and the sign of the lateral coefficient is used to determine the avoidance direction.
[0160] Step 3.4: Perturb the nominal trajectory using basis functions. The candidate trajectory \(m\) is determined by the nominal trajectory scaling coefficients. Longitudinal coefficient and horizontal coefficient Parameterization. Definition
[0161]
[0162] in, For scaling adjustment coefficient, and Let be the upper and lower bounds of the scale, and satisfy . .
[0163] Candidate trajectory position is
[0164]
[0165]
[0166] Project the candidate trajectory positions sequentially to satisfy the velocity constraints. The nominal fusion coefficients, temporal contour parameters, deformation amplitude, scale upper and lower bounds, and basic proposal distribution parameters are uniformly recorded as follows: .
[0167] Step 3.5: Adjust the candidate trajectory sampling distribution using the cooperation degree estimate. Define continuous cooperation pressure.
[0168]
[0169] in, Let be the sampling radius; when there are no external ships within the sampling radius, let The closer the external vessels are and the lower the estimated degree of cooperation, the better. The larger.
[0170] make The initial proposal distribution parameters are
[0171]
[0172]
[0173] in, and These are the basic mean vector and the basic standard deviation vector, respectively. The sample distribution has non-zero elements in the deceleration-yield component and the early lateral avoidance component. Therefore, the lower cooperation estimate biases the candidate trajectory sampling distribution towards stronger deceleration-yield and earlier lateral offset.
[0174] Step 3.6: Iteratively optimize the candidate trajectory sampling distribution using CEM. CEM execution. In the nth iteration, at the... In this iteration, the trajectory parameters are sampled according to the following formula:
[0175]
[0176] The candidate trajectories obtained from sampling are evaluated based on the trajectory cost defined in step 4, while keeping the predicted motion of the external vessel unchanged during CEM iterations. Let This indicates the lowest cost in the current iteration. A set of elite sample indices, the proposed distribution parameters are updated according to the following formula:
[0177]
[0178]
[0179]
[0180] Among them, the square, square root, and maximum value operations are all performed element-wise, with superscript... This indicates squaring by elements. Used to prevent the proposal distribution from collapsing. This is a vector consisting entirely of 1s. To maintain behavioral diversity, at most one vector can be used in the final iteration. Each sample is replaced with a pre-constructed behavioral pattern equilibrium trajectory; when Close the replacement step at that time. The final result is... Trajectory Composition And let the initial probability of the nominal mixing strategy be .
[0181] The cooperation-conditional candidate trajectory generation process involves first using the cooperation estimate to calculate continuous cooperation pressure and adjusting the initial CEM proposal distribution accordingly; then, a candidate trajectory set is obtained through multiple rounds of sampling, trajectory evaluation, and elite sample updates. The lower the cooperation of external vessels, the more the candidate trajectory sampling distribution favors deceleration and earlier lateral avoidance.
[0182] For step 4, calculating the candidate trajectory cost for cooperation-conditionalization specifically includes the following steps:
[0183] Step 4.1, for controlled unmanned vessels candidate trajectories and neighboring intelligent agents Predictive hybrid strategies support a single trajectory. In the Each prediction step defines the relative position, prediction interval, and safety margin shortfall:
[0184]
[0185]
[0186]
[0187] in For trajectory In the The position of each prediction step This represents the safety margin deficiency. The minimum prediction interval of the candidate trajectory and the set of all safety margin deficiencies are respectively...
[0188]
[0189]
[0190] Step 4.2: Calculate the positive closure velocity between the two predicted trajectories:
[0191]
[0192] in, , Used to avoid division by zero; only when the prediction spacing decreases. It is positive.
[0193] Step 4.3: Calculate the collision term, peak safety margin term, and integral safety margin term. The collision term is...
[0194]
[0195] in, This is an indicator function. The peak safety margin term and the integral term are respectively...
[0196]
[0197]
[0198] Among them, the positive time weights satisfy This is used to increase the weight of near-term safety margin violations in the cost.
[0199] Step 4.4: Calculate the empirical upper tail risk. Let... and order Contains collection The largest If there are 1 element, then empirically the tail risk is 1 / 2.
[0200]
[0201] in, Preset tail proportions.
[0202] Step 4.5: Calculate the time-weighted conflict term emphasizing earlier entry into the collision buffer:
[0203]
[0204] in, This is the additional collision buffer distance beyond the collision distance threshold.
[0205] Step 4.6: Construct bounded multiplicative gains using the cooperation estimate. Definition
[0206]
[0207]
[0208]
[0209] And defined as a pair of closed-loop risk gains
[0210]
[0211] in, Indicates controlled unmanned vessel The highest level of non-cooperation among neighbors, , and These are the safety margin risk gain coefficient, the overall gain coefficient of closed risk, and the paired closed risk gain coefficient, respectively.
[0212] Step 4.7: Calculate the closure risk term:
[0213]
[0214] Step 4.8: Combine collision items, safety margin risk items, and closure risk items into a complete interaction risk:
[0215]
[0216] in, , , , , and These are the weights for the collision term, peak safety margin term, integral safety margin term, upper tail risk term, time-weighted conflict term, and closure risk term, respectively. The collision term does not decrease with higher cooperation; the cooperation adjustment term only increases the cost when a corresponding geometric safety risk or closure risk exists. When empty, let and order .
[0217] The composition of candidate trajectory interaction risks and the technical role of each risk item are shown in Table 2.
[0218] Table 2. Interaction Risk Items of Candidate Trajectories and Their Technical Roles
[0219]
[0220] Step 4.9: Calculate the target progress and path efficiency of the candidate trajectories. (Controlled unmanned surface vessel) The distance from the current location to the target location and the distance from the end of the candidate trajectory to the target location are respectively...
[0221]
[0222]
[0223] The normalization objective of candidate trajectories has progressed to
[0224]
[0225] Path efficiency penalty is
[0226]
[0227] in, The allowed path length is less than the threshold.
[0228] Step 4.10: Implement the joint trajectory of neighboring agents. Calculate the risk of complete interaction And under the neighbor hybrid strategy, the expected value is calculated to obtain the candidate trajectory cost:
[0229]
[0230] in and These are the weights of the target progress term and the path efficiency penalty term, respectively. The smaller the value, the safer the candidate trajectory and the higher the task efficiency.
[0231] For step 5, updating the hybrid strategy and generating a finite-time collision avoidance reference trajectory via BRNE specifically includes the following steps:
[0232] Step 5.1: Controlled unmanned vessel candidate trajectory set and its nominal probability As a BRNE prior. In the first In the next BRNE iteration, the mixing strategy of the current neighbors is used. Calculate candidate trajectories The cost .
[0233] For controlled neighbors , Its current BRNE distribution; for external ships ,make ,in The predicted mixed trajectory distribution for external vessels, which remains unchanged within the current rolling planning period. Cooperation estimate. Keep it fixed within the current planning cycle, and apply it through the interactive risk item in step 4. .
[0234] Step 5.2: Calculate the conditional likelihood based on the expected cost of the candidate trajectory, and update the hybrid policy using Bayesian rules:
[0235]
[0236]
[0237] in, Candidate trajectories In the Conditional likelihood in the next iteration For cost difference sensitivity coefficient, The updated candidate trajectory probabilities. BRNE recursively from Initially, each controlled unmanned vessel is updated sequentially, and the updated hybrid strategy is used to evaluate subsequent controlled unmanned vessels in the same loop; recursion stops when each hybrid strategy converges or reaches the preset number of update loops.
[0238] Step 5.3: Based on the converged mixing strategy, perform probability weighting on the time-aligned candidate trajectories to generate a controlled unmanned surface vessel. Finite-time collision avoidance reference trajectory:
[0239]
[0240] in, Candidate trajectories after BRNE convergence The posterior probability, For controlled unmanned ships In the The reference position for each prediction step is used to obtain the reference trajectory. .
[0241] The BRNE hybrid policy update process is as follows: First, the expected cost of each candidate trajectory is calculated based on the predicted hybrid policy of the neighboring agents; then, the expected cost is converted into conditional likelihood, and the candidate trajectory probability is recursively updated using Bayesian rules; finally, a finite-time-domain collision avoidance reference trajectory for the controlled unmanned vessel is generated based on the converged hybrid policy.
[0242] For step 6, the reference trajectory obtained in step 5 will be... The data is sent to the low-level trajectory tracking controller of the controlled unmanned vessel, which then executes the next control interval. Upon completion, the positions, velocities, and observation histories of the controlled unmanned vessel and external vessels are reacquired, and the neighbor set is updated. The process then returns to step 2 to re-estimate cooperation, generate candidate trajectories, evaluate trajectory costs, and update the hybrid strategy, thereby forming a rolling temporal closed-loop collision avoidance process. The planning output of the method of this invention is a finite temporal collision avoidance reference trajectory for each controlled unmanned vessel; the specific form of the low-level trajectory tracking controller does not constitute a limitation of the method of this invention.
[0243] Implementation Examples
[0244] 1. Task Scenario Construction
[0245] 1.1 Environment Initialization
[0246] Constructing a two-dimensional water area The mission area can be open water, harbor basin, waterway, port entrance, or other navigable area with dynamic ship interaction.
[0247] Set within the task area 100 ships, including Controlled unmanned ships and external vessels, to meet The controlled unmanned vessel assembly is denoted as... The external ship assembly is denoted as The controlled unmanned vessel is uniformly planned by the method of this invention; external vessels move according to their own navigation intentions and are not directly controlled by the method of this invention. The method of this invention only obtains their status and predicts their possible movements.
[0248] The collision distance threshold is set based on the actual size of the ship, positioning errors, and collision detection requirements. The desired safe distance threshold is set based on the ship's speed, maneuverability, braking distance, and water safety requirements. ,in When the predicted distance between two ships is less than When the predicted distance is not less than 100 km, the corresponding candidate trajectory is determined to have a collision risk; when the predicted distance is not less than 100 km, the corresponding candidate trajectory is determined to have a collision risk. But smaller than At that time, it is determined that the corresponding candidate trajectory has insufficient safe distance. The initial position and target position of each controlled unmanned vessel are set according to the mission requirements, so that the nominal tracks of at least some vessels pass through the common interaction area, thereby forming collision avoidance scenarios such as encounter, intersection, overtaking, merging or multi-vessel convergence.
[0249] 1.2 Status Information Acquisition
[0250] Planning time , obtain the The status of the ship The state includes at least position. and speed For controlled unmanned vessels, their target positions are also obtained. .
[0251] Ship status can be provided by shipboard positioning equipment, speed measuring equipment, environmental sensing equipment, Automatic Identification System (AIS), or inter-ship communication systems. Status information from different sources is converted to a unified planar coordinate system and processed according to planned time intervals. Time alignment was performed to create the recent observation history for each vessel. .
[0252] For controlled unmanned vessels The neighbor set is determined based on preset sensing range, communication range, or interactive filtering conditions. The neighbor set is dynamically updated based on the ship's movement and observation status.
[0253] 2. Implementation parameter configuration
[0254] The main parameters and setting principles involved in this implementation method are shown in Table 3.
[0255] Table 3 Main Implementation Parameters and Setting Principles
[0256]
[0257] 3. System Initialization
[0258] During the initial planning phase, the vessels in the scenario are classified, and a controlled ensemble of unmanned vessels is established. external vessel assembly And the neighbors of each controlled unmanned vessel gathered.
[0259] For controlled unmanned vessels jointly participating in the planning, their pair cooperation degree is set to 1; for controlled unmanned vessels With external vessels The ordered ship pairs constitute the initialization of the cooperation degree estimate.
[0260] In obtaining Before obtaining sufficient effective speed observations, the initial value of the cooperation of external vessels is kept unchanged. After obtaining sufficient observations, the observed speeds of external vessels are calculated based on their continuous positions, and their nominal speeds are initialized using the average of the most recent effective speeds.
[0261] Simultaneously, a candidate trajectory sampling distribution and nominal mixing strategy are established for each controlled unmanned vessel. The basic proposal distribution of candidate trajectories, trajectory deformation amplitude, cost weight, and mixing strategy update parameters are all configured before the planning begins.
[0262] The predicted mixed trajectory distribution of external vessels is provided by the external trajectory prediction results. This predicted distribution is used to evaluate the interaction risk between the candidate trajectory of the controlled unmanned vessel and the possible motion of the external vessel, and is not used to control the external vessel.
[0263] 4. Implementation process of a single planning cycle
[0264] 4.1 Obtain and process current status information
[0265] The system reads the position, velocity, target position, and recent observation history of each controlled unmanned vessel, as well as the position, velocity, and recent motion history of external vessels. It performs coordinate unification and time alignment on the state data and updates the neighbor set of each controlled unmanned vessel based on the current interaction range.
[0266] For external vessels newly entering the sensing range, establish corresponding track records and cooperation degree estimation states; for external vessels that have left the sensing range, remove them from the current neighbor set.
[0267] 4.2 Online estimation of external vessel cooperation
[0268] First, calculate the current observed speed of the external vessel based on continuous position observations. (Including...) Within the estimated time domain of the distance walk, the constant velocity trajectory of the controlled unmanned vessel, the nominal motion trajectory of the external vessel, and the actual observed motion trajectory of the external vessel are extrapolated respectively.
[0269] Then, the geometric risk between the controlled unmanned vessel's constant-speed trajectory and the nominal motion trajectory of the external vessel, as well as the geometric risk between the controlled unmanned vessel's constant-speed trajectory and the actual observed motion trajectory of the external vessel, are calculated. The geometric risk is accumulated based on the vessel spacing, safe distance threshold, and long-term risk discount within the prediction time domain.
[0270] The larger of the nominal motion risk and the observed motion risk is taken as the risk weight, and instantaneous cooperation evidence is determined based on the proportion of risk reduction achieved by the observed motion relative to the nominal motion. The cooperation estimate from the previous time step is then updated using the risk weight and the instantaneous cooperation evidence.
[0271] When the actual motion of an external vessel reduces the predicted collision risk, the corresponding cooperation estimate is increased; when the actual motion of an external vessel maintains or increases the predicted collision risk, the corresponding cooperation estimate is decreased; when the risks corresponding to both predicted motions are relatively small, the impact of this observation on the cooperation estimate is reduced.
[0272] After completing the cooperation update, the nominal speed update magnitude is adjusted based on the maximum interaction risk between the external vessel and the controlled neighbor. When the interaction risk is low, the nominal speed gradually follows the observed speed; when the interaction risk is high, the nominal speed update magnitude is reduced to avoid directly absorbing temporary avoidance motions during the interaction into the nominal motion.
[0273] The cooperation degree vector is constructed from the estimated cooperation degree values of each neighboring vessel. They are then input into the candidate trajectory generation unit and the trajectory cost evaluation unit, respectively.
[0274] 4.3 Generating cooperative conditional candidate trajectories
[0275] First, a nominal trajectory is generated based on the current position, current velocity, target position, and local collision avoidance response of the controlled unmanned vessel. The local collision avoidance response can be obtained using the Velocity Obstacle (VO) method and fused with the target-oriented velocity, so that the nominal trajectory prioritizes the response to local collisions in the early part of the prediction time domain and gradually recovers the target-oriented motion in the later part of the prediction time domain.
[0276] Subsequently, a longitudinal axis is established along the direction from the current position to the target position, and a transverse axis is established in the direction orthogonal to it. Longitudinal and transverse time-domain basis functions are constructed within the prediction time domain, and the nominal trajectory is continuously perturbed by adjusting the trajectory scaling coefficient, longitudinal deformation coefficient, and transverse deformation coefficient.
[0277] The generated candidate trajectories cover at least six behavioral patterns: near-nominal motion, deceleration and yielding, early passage, leftward lateral avoidance, rightward lateral avoidance, and return to the target. Motion constraint processing is performed on each candidate trajectory step by step to ensure that the candidate trajectory meets the requirements of maximum speed and continuity between adjacent trajectory points.
[0278] The cooperation pressure is calculated based on the estimated distance and cooperation level of external vessels within the sensing range. When the distance to nearby external vessels is close and the cooperation level is low, the cooperation pressure is increased, causing the candidate trajectory sampling distribution to be biased towards deceleration and yielding and early lateral avoidance; when the distance to external vessels is far or the cooperation level is high, the sampling bias is decreased.
[0279] The Cross-Entropy Method (CEM) is used to optimize the candidate trajectory sampling distribution. In each iteration, trajectory parameters are sampled from the current proposal distribution to generate candidate trajectories and calculate their initial costs. Elite samples with lower costs are selected, and their mean and standard deviation are updated using these elite samples. After a predetermined number of iterations, representative behavioral patterns are retained to form a controlled unmanned surface vessel. candidate trajectory set And set initial probabilities for each candidate trajectory.
[0280] 4.4 Evaluating the Cost of Candidate Trajectories
[0281] First, calculate the relative position, prediction interval, safety margin deficit, and positive closure velocity at each prediction step, and obtain the collision risk, safety margin peak risk, safety margin cumulative risk, upper tail risk caused by large safety margin deficit, time-weighted conflict risk caused by early entry into the collision buffer zone, and closure risk accordingly.
[0282] Safety margin risk gain and closure risk gain are constructed based on the cooperation level estimate. For external vessels with low cooperation levels, the safety margin risk and closure risk associated with their geometric interactions are increased; for external vessels with high cooperation levels, the risk of collisions that have already occurred is not reduced. Cooperation level only affects the cost when there is a corresponding geometric conflict or proximity trend between the candidate trajectory and neighboring vessels.
[0283] Based on the interaction risk, the target progress achieved by the candidate trajectory in the prediction time domain and the path efficiency relative to the straight-line distance between the beginning and end positions are calculated. The interaction risk, target progress, and path efficiency are combined, and the expected cost of each candidate trajectory is obtained under the hybrid strategy of neighboring ships.
[0284] When the controlled unmanned vessel does not currently have any neighboring vessels, the interaction risk is set to zero, and the basic candidate trajectory cost without increasing the cooperation risk is adopted.
[0285] 4.5 Updated Hybrid Strategy
[0286] The candidate trajectory set and its initial probability are used as the prior input of BRNE.
[0287] In each round of BRNE recursion, each controlled unmanned vessel is updated sequentially according to a preset order. When updating the current controlled unmanned vessel, the expected cost of the current candidate trajectory is calculated based on the latest hybrid strategies of other controlled unmanned vessels and the predicted hybrid strategies of external vessels.
[0288] The conditional likelihood of a candidate trajectory is determined based on its expected cost, so that the candidate trajectory with the lower cost has a larger conditional likelihood. The conditional likelihood is then multiplied by the initial probability of the candidate trajectory and normalized to obtain the updated candidate trajectory probability.
[0289] The updated hybrid strategy of the currently controlled unmanned surface vessel (USV) is immediately used for cost evaluation of subsequent USVs, thereby coupling the candidate trajectory probabilities of multiple USVs during the recursive process. The predicted hybrid strategy of external vessels and the current cooperation estimate remain unchanged throughout the current rolling planning cycle.
[0290] When the hybrid strategy of each controlled unmanned vessel meets the preset convergence condition or reaches the maximum number of recursive loops, the hybrid strategy update stops.
[0291] 4.6 Generate and execute collision avoidance reference trajectory
[0292] Based on the converged candidate trajectory probabilities, the time-aligned candidate trajectories are weighted step-by-step to generate finite-temporal collision avoidance reference trajectories for each controlled unmanned surface vessel. .
[0293] The reference trajectory is sent to the low-level trajectory tracking controller of the controlled unmanned surface vessel (USV). In one embodiment, the low-level trajectory tracking controller employs a proportional trajectory tracking method with a forward-looking reference point to convert the planar reference trajectory into heading angular velocity and acceleration commands that satisfy the USV's maneuvering constraints. The low-level trajectory tracking controller may also employ other control methods capable of tracking the reference trajectory, and their specific forms do not constitute a limitation of this invention.
[0294] The controlled unmanned vessel only executes the next control interval corresponding to the reference trajectory. After execution, it reacquires the scene state and enters the next rolling planning cycle, so that the cooperation estimate, candidate trajectory, trajectory cost, and hybrid strategy are continuously updated with the actual movement of the vessel.
[0295] 5. Handling Abnormal States and Boundary Conditions
[0296] When the external vessel track is lost and then re-established, its cooperation estimate relative to each controlled unmanned vessel is reset to 0.5, and its nominal speed is re-initialized.
[0297] When there are no external vessels within the sampling influence range of the controlled unmanned vessel, the cooperation pressure is set to zero, and candidate trajectories are generated according to the basic proposal distribution.
[0298] When the controlled unmanned vessel has no neighboring vessels, the interaction risk is not calculated, and the candidate trajectory is evaluated only based on the goal progress, path efficiency and motion constraints.
[0299] When the number of external vessels within the mission area changes, only the corresponding neighbor set and cooperation degree vector are updated, without changing the overall process of generating candidate trajectories for controlled unmanned vessels and updating hybrid strategies.
[0300] 6. Parameter Calibration and Application Methods
[0301] The cooperation rate update rate, nominal velocity update rate, risk discount factor, candidate trajectory deformation amplitude, CEM sampling parameters, trajectory cost weight, and BRNE stopping conditions can be calibrated offline based on typical encounter, intersection, overtaking, and multi-vehicle convergence scenarios. Once the parameters are determined, they remain fixed in the same type of unmanned surface vessel and waterway mission.
[0302] The core planning process of this invention does not rely on offline policy training. Within each rolling planning cycle, the system estimates cooperation online, generates candidate trajectories, evaluates trajectory costs, and updates the hybrid policy based on current observations.
[0303] In the simulation implementation, the status of each vessel can be provided by the simulation platform; in the AIS track playback implementation, the recorded vessel is treated as an external vessel, and its track data is used to construct a dynamic traffic environment; in the actual unmanned vessel implementation, the status of each vessel is provided by onboard positioning, sensing, or communication equipment. All implementations employ the same cooperation estimation, candidate trajectory generation, trajectory cost evaluation, and hybrid strategy update process.
[0304] The current collision avoidance mission ends when all controlled unmanned vessels enter their respective target tolerance ranges, reach the preset maximum operating time, or receive a mission termination command.
[0305] The above are preferred embodiments of the present invention. Any changes made to the technical solution of the present invention that do not exceed the scope of the technical solution of the present invention shall fall within the protection scope of the present invention.
Claims
1. A multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation, characterized in that, include: The system acquires the positions, velocities, and target positions of multiple controlled unmanned vessels at the planning time t, as well as the positions and velocities of external vessels within the perception range, and constructs a set of controlled unmanned vessels, a set of external vessels, and a set of neighbors. For each controlled unmanned vessel i and its neighboring external vessel j, based on the changes in the pairwise collision risk between the nominal and actual observed trajectories of external vessel j and the predetermined extrapolated trajectory of controlled unmanned vessel i, the corresponding orderly pairing cooperation degree estimates are updated online to obtain the cooperation degree set. The sampling distribution of the candidate trajectories of the controlled unmanned vessel is adjusted according to the cooperation degree set to generate a candidate trajectory set including at least a few behavioral modes among near nominal motion, deceleration and yielding, early passage, lateral avoidance and return to the target. The candidate trajectory is composed of several discrete location points in the planning time domain. The interaction risk cost of the candidate trajectories is adjusted by gain based on the cooperation degree set, and the expected cost of each candidate trajectory is calculated by combining the collision distance threshold, safety distance threshold, positive closure velocity, target progress and path efficiency. Using the candidate trajectory set and initial probability of each controlled unmanned vessel as a priori, the selection probability of each candidate trajectory is recursively updated according to the current hybrid strategy of other controlled unmanned vessels and the predicted trajectory distribution of external vessels until the convergence condition is met or the set number of recursions is reached, thus obtaining the hybrid strategy of each controlled unmanned vessel. Based on the converged hybrid strategy, the candidate trajectories are weighted according to the predicted step probability to generate a finite-time-domain collision avoidance reference trajectory. The reference trajectory is then input into the underlying trajectory tracking and control loop of the controlled unmanned vessel. After executing at least one control interval, the state information is reacquired and the cooperation estimation step is returned for rolling replanning.
2. The multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation according to claim 1, characterized in that, The cooperation level estimate is updated as follows: According to the formula Calculate the observed speed of external vessel j. Let be the speed of the external ship j at time t. These represent the positions of external vessel j at times t and t-1, respectively. The time interval between adjacent planning points; obtain After one effective speed observation, the nominal speed of the external ship j is initialized with the average of the recent effective speeds; Including Within the time domain of the cooperation estimation for each distance from the walk length, extrapolate the constant-velocity trajectory of the controlled unmanned vessel i. The nominal motion trajectory of external vessel j and actual observed motion trajectory ; According to the normalized geometric risk function Calculate the nominal risk between the constant velocity trajectory and the nominal trajectory. Observational risks between constant velocity trajectories and observed trajectories ,in , , For any two trajectories that need to be evaluated for risk, As a forward risk discount factor, and Trajectories and In the The position of each prediction step The desired safe distance threshold; The greater of the nominal risk and the observed risk is taken as the risk weight. ,according to Calculating instantaneous cooperation evidence ,in, For the amplitude limiting function, To prevent the division of zero into small positive constants; The cooperation estimate of the previous moment is updated using the risk weights and instantaneous cooperation evidence: the cooperation estimate is increased when the actual movement of external vessels reduces the paired geometric risk, and decreased when the actual movement maintains or increases the paired geometric risk.
3. The multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation according to claim 2, characterized in that, It also includes a nominal speed update mechanism: according to Determine the maximum pairwise geometric risk between external vessel j and each controlled neighbor, when external vessel j has no controlled neighbors. ,in, For the assembly of controlled unmanned vessels, The set of controlled unmanned vessels that are neighbors of external vessel j; After updating the cooperation estimate, according to Update the nominal speed of external vessel j ,in Nominal update rate, Let be the nominal speed of the external vessel j; when the external vessel's track is lost and reinitialized, its cooperation estimate is reset to 0.5 and its nominal speed is reinitialized.
4. The multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation according to claim 1, characterized in that, The generation of candidate trajectories includes the construction of nominal trajectories: make This represents the bounded velocity obtained by updating the current state through local velocity barriers, at the k-th prediction step, according to... Calculate target distance , and according to Calculate target guidance velocity ,in For maximum speed, Used to avoid division by zero. The target location of the controlled unmanned vessel i. Let the position of the nominal trajectory be at the (k-1)th prediction step. The time interval between adjacent planning points; according to Integrate local collision avoidance response and target guidance velocity, and according to The nominal trajectory is generated recursively, where The fusion coefficient is non-decreasing. Used to limit the velocity amplitude within, Let the velocity of the nominal trajectory be the velocity at the k-th prediction step. Let be the position of the nominal trajectory at the k-th prediction step.
5. The multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation according to claim 4, characterized in that, It also includes generating candidate trajectories by perturbing the nominal trajectory using basis functions, and adjusting the sampling distribution using cooperation: In the target-aligned coordinate system, define the normalized prediction time. Using local time-domain contour functions Constructing vertical basis vectors and horizontal basis vectors ,in, Let be the number of outliers included in the trajectory planning time domain, and s be the normalized prediction time. The center position of the time-domain profile function. The temporal action width of the time-domain contour function; Candidate trajectory position by Generate, where The scaling factor. and These are the longitudinal and transverse deformation coefficients, respectively. Let i be the position of the controlled unmanned vessel at time t. Let be the unit vector pointing from the current position to the target position. To and Orthogonal unit direction vectors; according to Calculate the pressure of cooperation ,in The sampling radius is... This is an estimate of the degree of cooperation. Let j be the position of the external vessel at time t. Let i be the set of neighbors of the controlled unmanned vessel i at time t. For external vessels; when no external vessels are within the sampling radius, it is considered... ; according to The mean of the initial proposal distribution for cross-entropy sampling is adjusted so that the sampling distribution corresponding to external vessels with low cooperation and close proximity is biased towards the deceleration and yield components and the early lateral avoidance components. Based on the mean vector, This is the cooperative pressure bias vector.
6. The multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation according to claim 5, characterized in that, The candidate trajectory sampling distribution is iteratively optimized using the cross-entropy method: In the In the next iteration, according to Sampling trajectory parameters, where, For the first The trajectory parameter vector obtained by sampling in the next iteration. For the first The mean vector of the next iteration's proposal distribution. For the first The standard deviation vector of the next iteration's proposed distribution; make The lowest cost in the current iteration A set of elite sample indexes, categorized by Update the mean, by Calculate the uncorrected standard deviation and follow the formula. Correcting the standard deviation to prevent distribution collapse, where, The mean of the elite samples, i.e., the updated mean of the proposal distribution. This is the uncorrected standard deviation vector calculated based on the elite sample. It is a vector of all 1s. The lower limit of the minimum standard deviation, superscript This indicates squaring by elements; After completing the preset number of iterations, a set of candidate trajectories is obtained. And set the initial probability of each candidate trajectory to , denoted as the number of candidate trajectories for the controlled unmanned vessel i.
7. The multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation according to claim 1, characterized in that, The risks associated with the interaction include: For the m-th candidate trajectory of the controlled unmanned vessel i Trajectory prediction with neighboring intelligent agents Calculate the predicted spacing and insufficient safety margin And calculate the positive closing velocity at step h. in, Let be the relative position vector between the candidate trajectory and the predicted trajectory of its neighbor at step h. Let be the relative position vector between the candidate trajectory and the predicted trajectory of its neighbor at step h+1. For the desired safe distance threshold, Used to avoid division by zero. The time interval between adjacent planning points; according to Combined collision term, safety margin peak term, safety margin integral term, empirical upper tail risk term, time-weighted conflict term, and closure risk term, among which the cooperation-related gain , , This represents the maximum degree of non-cooperation among the i-th neighboring controlled unmanned vessel. Paired closed risk gain Used to calculate closure risk term , , and These are the safety margin risk gain coefficient, the overall gain coefficient of closed-loop risk, and the paired closed-loop risk gain coefficient, respectively. Let i be the set of neighbors of the controlled unmanned vessel i at time t. This is an estimate of the degree of cooperation. To determine the complete interaction risk of candidate trajectory m for controlled unmanned vessel i, For collision terms, For the peak safety margin term, For the safety margin integral term, For experience-based risk items, For time-weighted conflict items, These are the weighting coefficients corresponding to each risk item; The expected value is calculated under the neighbor hybrid strategy and combined with the progress of the objective. and path efficiency penalty ,according to Expected cost of obtaining candidate trajectories ,in, For interactive risk functions, For the set of cooperation degree, The joint trajectory of all agents except agent i. The weights are the target progress item weights and the path efficiency penalty item weights.
8. The multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation according to claim 1, characterized in that, The recursive update of the selection probability of each candidate trajectory includes: For the controlled unmanned vessel i, in the first In the next recursion, the expected cost of the m-th candidate trajectory is calculated based on the current mixing strategy of the neighbors. ; Conditional Likelihood Calculate the conditional likelihood of the m-th candidate trajectory ,in For cost difference sensitivity coefficient; according to Perform Bayesian probability normalization update, where Let m be the initial probability of the candidate trajectory. Let be the initial probability of the candidate trajectory q. For the first The update probability of candidate trajectory m after +1 recursion. For the first The conditional likelihood value of the candidate trajectory q in the next recursion. The total number of candidate trajectories for the controlled unmanned vessel i; Each controlled unmanned vessel is updated sequentially according to a preset order. The hybrid strategy of the first updated vessel is immediately used for the cost evaluation of subsequent vessels. The update stops when the change in the probability distribution of each vessel is less than the threshold or the maximum number of recursions is reached.
9. A multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation according to claim 8, characterized in that, The generation of the finite-time collision avoidance reference trajectory includes: Based on the converged mixing strategy ,according to By performing probability weighting on the time-aligned candidate trajectories, the reference position of the controlled unmanned vessel i at the h-th prediction step can be obtained. The reference trajectory is formed by the reference positions of each prediction step. ,in, To plan the number of outliers included in the time domain, Let m be the position of the m-th candidate trajectory of the controlled unmanned vessel i at the h-th prediction step; Reference trajectory The data is sent to the lower-level trajectory tracking controller to execute the next control interval, then the status information is retrieved again and the next rolling planning cycle begins.
10. A multi-unmanned vessel hybrid strategy collision avoidance system based on cooperation degree estimation, executing the multi-unmanned vessel hybrid strategy collision avoidance method based on cooperation degree estimation as described in any one of claims 1-9, characterized in that, include: The perception and acquisition module is used to acquire the position, speed, target position, and position and speed of external vessels of each controlled unmanned vessel through positioning equipment, speed measuring equipment, automatic identification system for ships, or environmental sensing equipment, and to form time-aligned status information. The cooperation estimation module is used to update the pairwise cooperation estimates between the controlled unmanned vessel and the external vessel based on the risk reduction between the nominal motion trajectory and the actual observed motion trajectory of the external vessel, and output the cooperation set. The candidate trajectory generation module is used to adjust the sampling distribution according to the cooperation degree set to generate a candidate trajectory set for each controlled unmanned vessel; The cost calculation module is used to calculate the interaction risk cost, target progress, and path efficiency of each candidate trajectory to obtain the expected cost of the candidate trajectory. The strategy update module is used to recursively update the probability of each candidate trajectory and generate a finite time-domain collision avoidance reference trajectory. The control output module is used to convert the reference trajectory into a controllable unmanned surface vessel (USV) underlying trajectory tracking control command, drive the USV to execute the next control interval, and feed back the updated state to the cooperation estimation module for rolling replanning.
