[go: up one dir, main page]

CN111930116B - Large-scale UUV cluster formation method based on grid method - Google Patents

Large-scale UUV cluster formation method based on grid method Download PDF

Info

Publication number
CN111930116B
CN111930116B CN202010724118.4A CN202010724118A CN111930116B CN 111930116 B CN111930116 B CN 111930116B CN 202010724118 A CN202010724118 A CN 202010724118A CN 111930116 B CN111930116 B CN 111930116B
Authority
CN
China
Prior art keywords
uuv
slave
master
formation
pso
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010724118.4A
Other languages
Chinese (zh)
Other versions
CN111930116A (en
Inventor
陈涛
范云垚
徐达
李娟�
吴迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Engineering University
Original Assignee
Harbin Engineering University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN202010724118.4A priority Critical patent/CN111930116B/en
Publication of CN111930116A publication Critical patent/CN111930116A/en
Application granted granted Critical
Publication of CN111930116B publication Critical patent/CN111930116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0223Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving speed control of the vehicle
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/60Intended control result
    • G05D1/69Coordinated control of the position or course of two or more vehicles
    • G05D1/695Coordinated control of the position or course of two or more vehicles for maintaining a fixed relative position of the vehicles, e.g. for convoy travelling or formation flight
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0214Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory in accordance with safety or protection criteria, e.g. avoiding hazardous areas
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0221Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving a learning process
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0287Control of position or course in two dimensions specially adapted to land vehicles involving a plurality of land vehicles, e.g. fleet or convoy travelling
    • G05D1/0289Control of position or course in two dimensions specially adapted to land vehicles involving a plurality of land vehicles, e.g. fleet or convoy travelling with means for avoiding collisions between vehicles
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0287Control of position or course in two dimensions specially adapted to land vehicles involving a plurality of land vehicles, e.g. fleet or convoy travelling
    • G05D1/0291Fleet control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/40Control within particular dimensions
    • G05D1/43Control of position or course in two dimensions
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/60Intended control result
    • G05D1/69Coordinated control of the position or course of two or more vehicles
    • G05D1/698Control allocation
    • G05D1/6985Control allocation using a lead vehicle, e.g. primary-secondary arrangements
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D2109/00Types of controlled vehicles
    • G05D2109/30Water vehicles
    • G05D2109/38Water vehicles operating under the water surface, e.g. submarines

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

本发明属于UUV编队控制技术领域,具体涉及一种基于栅格法的大规模UUV集群编队队形形成方法。本发明将UUV集群编队队形形成空间划分为栅格空间的行区域和列区域,可以有效的避免编队队形形成过程中UUV之间的碰撞。本发明使用粒子群优化算法对列分散、行分散、列机动和行机动四个机动过程的总路线进行统一规划,可以实现UUV集群编队队形形成过程中的有序机动协调,有利于实现大规模UUV集群的编队队形形成。本发明中,UUV集群之间的信息交互量少,计算简单,规划速度快,协调机动逻辑分明,易于工程实现。

Figure 202010724118

The invention belongs to the technical field of UUV formation control, and in particular relates to a large-scale UUV cluster formation formation method based on a grid method. The invention divides the UUV cluster formation formation space into the row area and the column area of the grid space, which can effectively avoid the collision between UUVs in the formation formation process. The invention uses the particle swarm optimization algorithm to uniformly plan the general route of the four maneuvering processes of column dispersion, row dispersion, column maneuvering and row maneuvering, which can realize the orderly maneuvering coordination in the formation process of the UUV cluster formation, which is beneficial to the realization of large-scale Formation formation of UUV clusters. In the present invention, the amount of information interaction between the UUV clusters is small, the calculation is simple, the planning speed is fast, the coordination and maneuvering logic is clear, and the engineering implementation is easy.

Figure 202010724118

Description

一种基于栅格法的大规模UUV集群编队队形形成方法A grid-based method for large-scale UUV cluster formation formation

技术领域technical field

本发明属于UUV编队控制技术领域,具体涉及一种基于栅格法的大规模UUV集群编队队形形成方法。The invention belongs to the technical field of UUV formation control, and in particular relates to a large-scale UUV cluster formation formation method based on a grid method.

背景技术Background technique

UUV在开发海洋资源,发展国民经济以及军事应用领域都有十分重要的意义。随着UUV技术的发展,越来越倾向于利用UUV集群协同作业以大幅提升作业能力和作业效率。UUV集群在执行协同探测、目标搜索等作业过程中,一般会采用以某一期望几何队形形态编队航行的方式。而编队航行首先要解决的问题就是如何实现UUV集群从初始随机分布、杂乱无序的几何队形形态,形成期望的几何队形形态,该过程就是UUV集群编队队形形成。UUV is of great significance in the development of marine resources, the development of the national economy and military applications. With the development of UUV technology, it is more and more inclined to use UUV clusters to work together to greatly improve the operation capacity and efficiency. In the process of performing cooperative detection, target search and other operations, the UUV cluster generally adopts the method of navigating in a certain desired geometric formation. The first problem to be solved in formation sailing is how to realize the initial random distribution and disordered geometric formation of UUV clusters to form the desired geometric formation. This process is the formation of UUV clusters.

队形形成属于UUV编队控制领域,常用的编队控制方法如人工势场法、领航跟随法、虚拟结构法等在解决队形形成后的队形保持方面更加适用,但是应用到队形形成方面通常会存在通信信息交互量大、规划协调逻辑复杂、存在UUV间碰撞风险等问题。特别是UUV集群采用的是通信宽带小、通信延迟大的水声通信以及UUV集群的规模大时面临的难度更大。因此,非常有必要发展一种可应用于大规模UUV集群的编队队形形成方法。Formation formation belongs to the field of UUV formation control. Common formation control methods such as artificial potential field method, pilot following method, virtual structure method, etc. are more suitable for solving formation maintenance after formation formation, but they are usually applied to formation formation. There will be problems such as a large amount of communication and information interaction, complex planning and coordination logic, and the risk of collision between UUVs. In particular, the UUV cluster adopts underwater acoustic communication with small communication bandwidth and large communication delay, and it is more difficult when the scale of the UUV cluster is large. Therefore, it is very necessary to develop a formation formation method that can be applied to large-scale UUV clusters.

申请号为201910917112.6的专利文件中公开了“一种基于圆周分层规划的UUV集群编队队形形成方法”。主要解决了针对通讯延迟有序机动的小规模UUV集群队形形成方法。首先该专利是采用扇形和圆周的空间区域划分方法,与本发明行区域与列区域相交的栅格空间区域划分方法不同。其次该专利重点提出了一种分步规划、分步机动,规划与机动交叉的小规模UUV集群的队形形成方法,与本发明重点解决了统一规划总体路径、统一机动的大规模UUV集群队形形成的方法不同。The patent document with the application number of 201910917112.6 discloses "a method for forming a UUV cluster formation based on circular hierarchical planning". It mainly solves the formation method of small-scale UUV cluster formation for orderly maneuvering of communication delay. First of all, this patent adopts the space area division method of sector and circle, which is different from the grid space area division method in which the row area and the column area intersect in the present invention. Secondly, the patent mainly proposes a formation method of small-scale UUV clusters with step-by-step planning, step-by-step maneuvering, planning and maneuvering intersecting, and the present invention focuses on solving the large-scale UUV cluster team with unified planning of the overall path and unified maneuvering. Forms are formed in different ways.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供可应用于大规模UUV集群的编队队形形成的一种基于栅格法的大规模UUV集群编队队形形成方法。The purpose of the present invention is to provide a large-scale UUV cluster formation formation method based on the grid method that can be applied to the formation formation of large-scale UUV clusters.

本发明的目的通过如下技术方案来实现:包括以下步骤:The object of the present invention is achieved through the following technical solutions: comprise the following steps:

步骤1:从UUV集群中选择主UUV,其余UUV均为从UUV;Step 1: Select the master UUV from the UUV cluster, and the rest of the UUVs are slave UUVs;

步骤2:设置行列区域宽度Lres和期望队形形成指令

Figure BDA0002601060720000011
Step 2: Set the width of the row and column area L res and the desired formation command
Figure BDA0002601060720000011

xexp_E(n)为第n个从期望点在固定坐标系下的x坐标,yexp_E(n)为第n个从期望点在固定坐标系下的y坐标,n=1,2,···,Nnum_UUV_F;Nnum_UUV_F为从UUV个数;x exp_E (n) is the x coordinate of the nth expected point in the fixed coordinate system, y exp_E (n) is the y coordinate of the nth expected point in the fixed coordinate system, n=1,2,·· ·,N num_UUV_F ; N num_UUV_F is the number of slave UUVs;

步骤3:队形形成开始,所有UUV保持定点、定艏向,并确定自己的主从身份;Step 3: The formation begins, all UUVs maintain fixed point and heading, and determine their master-slave identity;

步骤4:UUV集群进行信息交互,所有从UUV向主UUV发送自身当前位置信息

Figure BDA0002601060720000021
i表示各从UUV代号,i=1,2,···,Nnum_UUV_F;主UUV向所有从UUV发送自身当前位置信息
Figure BDA0002601060720000022
和艏向信息θH_L;Step 4: The UUV cluster conducts information exchange, and all slave UUVs send their current location information to the master UUV
Figure BDA0002601060720000021
i represents the code of each slave UUV, i=1,2,...,N num_UUV_F ; the master UUV sends its current position information to all slave UUVs
Figure BDA0002601060720000022
and heading information θ H_L ;

步骤5:以主UUV所在位置为原点建立船体直角坐标系,以间隔为Lres的直线将船体直角坐标系空间划分为由行区域和列区域叠加构成的空间栅格,并设定行区域和列区域的最大值以及最小值;Step 5: Use the position of the main UUV as the origin to establish the hull Cartesian coordinate system, divide the space of the hull Cartesian coordinate system into a space grid composed of row area and column area superimposition by a straight line with an interval of L res , and set the row area and column area. The maximum and minimum values of the column area;

第i号从UUV在主UUV船体坐标系下的坐标Pf_pos_B(i)为:The coordinate P f_pos_B (i) of the ith slave UUV in the main UUV hull coordinate system is:

Figure BDA0002601060720000023
Figure BDA0002601060720000023

Figure BDA0002601060720000024
xf_pos_B(i)为从UUV在主UUV船体坐标系下的x轴坐标,yf_pos_B(i)为从UUV在主UUV船体坐标系下的y轴坐标;
Figure BDA0002601060720000024
x f_pos_B (i) is the x-axis coordinate of the slave UUV in the main UUV hull coordinate system, y f_pos_B (i) is the y-axis coordinate of the slave UUV in the main UUV hull coordinate system;

第i号从UUV当前位置所在的行区域rowf(i)和列区域rankf(i)为:The row area row f (i) and the column area rank f (i) of the i-th from the row area where the UUV's current position is located is:

Figure BDA0002601060720000025
Figure BDA0002601060720000025

Figure BDA0002601060720000026
Figure BDA0002601060720000026

步骤6:主UUV判断是否接收到所有从UUV位置信息;若主UUV在规定的时间内接收到所有从UUV当前位置信息,则执行步骤7;否则认为队形形成失败,主UUV向所有从UUV发送队形形成失败指令,所有UUV停车后返回步骤4;Step 6: The master UUV judges whether the position information of all the slave UUVs has been received; if the master UUV receives the current position information of all the slave UUVs within the specified time, step 7 is performed; Send the formation formation failure command, and return to step 4 after all UUVs stop;

步骤7:主UUV规划出各从UUV列分散、行分散、列机动、行机动四个阶段的机动目标点;Step 7: The master UUV plans the maneuvering target points of the four stages of the UUV column dispersion, row dispersion, column maneuvering, and row maneuvering;

步骤7.1:主UUV求解出所有满足条件的从UUV行分散的行区域坐标、列分散的列区域坐标和所要到达的从期望点序号的矩阵X,并筛选出使所有从UUV总运动距离最短的矩阵X;Step 7.1: The main UUV solves the matrix X of all the row area coordinates scattered from the UUV row, the column area coordinates scattered by the column and the desired point number to be reached, and filters out all the secondary UUVs with the shortest total movement distance. matrix X;

矩阵X=(x(1),x(2),…,x(i)),

Figure BDA0002601060720000031
xM_PSO(i)为第i号从UUV行分散的行区域坐标,yM_PSO(i)为第i号从UUV列分散的列区域坐标,PID_PSO(i)为第i号从UUV分配的从期望点序号;Matrix X=(x(1),x(2),...,x(i)),
Figure BDA0002601060720000031
x M_PSO (i) is the row area coordinate of the ith scattered from the UUV row, y M_PSO (i) is the column area coordinate of the ith scattered from the UUV column, PID_PSO (i) is the ith allocated from the UUV expected point number;

矩阵X满足的条件为:The conditions that matrix X satisfies are:

1)当i≠j时,

Figure BDA0002601060720000032
1) When i≠j,
Figure BDA0002601060720000032

2)当rowf(i)=rowf(j)且i≠j时,(yM_PSO(i)-yM_PSO(j))(rankf(i)-rankf(j))>0;2) When row f (i)=row f (j) and i≠j, (y M_PSO (i)-y M_PSO (j))(rank f (i)-rank f (j))>0;

3)当yexp_E(PID_PSO(i))=yexp_E(PID_PSO(j))时,3) When y exp_E (P ID_PSO (i))=y exp_E (P ID_PSO (j)),

(xM_PSO(i)-xM_PSO(j))(yexp_E(PID_PSO(i))-yexp_E(PID_PSO(j)))>0;(x M_PSO (i)-x M_PSO (j))(y exp_E (P ID_PSO (i))-y exp_E (P ID_PSO (j)))>0;

4)|xM_PSO(i)|>1,|yM_PSO(i)|>1;4) |x M_PSO (i)|>1, |y M_PSO (i)|>1;

5)当|yexp_M(PID_PSO(i))|≤1时,(xM_PSO(i))(xexp_M(PID_PSO(i)))>0;5) When |y exp_M (P ID_PSO (i))|≤1, (x M_PSO (i))(x exp_M (P ID_PSO (i)))>0;

6)|xM_PSO(i)-<xM_PSO(i)>|+|yM_PSO(i)-<yM_PSO(i)>|+|PID_PSO(i)-<PID_PSO(i)>|=0,其中< >表示取整运算;6)|x M_PSO (i)-<x M_PSO (i)>|+|y M_PSO (i)-<y M_PSO (i)>|+|P ID_PSO (i)-<P ID_PSO (i)>|= 0, where <> represents the rounding operation;

7)当|rowf(i)|≤1时,(rankf(i))(yM_PSO(i))>0;7) When |row f (i)|≤1, (rank f (i))(y M_PSO (i))>0;

步骤7.2:计算各从UUV列分散、行分散、列机动、行机动四个阶段的机动目标点的在固定坐标系下的坐标;Step 7.2: Calculate the coordinates of the maneuvering target points in the fixed coordinate system from the four stages of UUV column dispersion, row dispersion, column maneuvering, and row maneuvering;

列分散点在固定坐标系下的坐标

Figure BDA0002601060720000033
The coordinates of the column scatter points in the fixed coordinate system
Figure BDA0002601060720000033

Figure BDA0002601060720000034
Figure BDA0002601060720000034

Figure BDA0002601060720000041
Figure BDA0002601060720000041

Figure BDA0002601060720000042
Figure BDA0002601060720000042

Figure BDA0002601060720000043
Figure BDA0002601060720000043

行分散点在固定坐标系下的坐标和

Figure BDA0002601060720000044
The coordinates of the row scatter points in the fixed coordinate system and
Figure BDA0002601060720000044

Figure BDA0002601060720000045
Figure BDA0002601060720000045

Figure BDA0002601060720000046
Figure BDA0002601060720000046

Figure BDA0002601060720000047
Figure BDA0002601060720000047

Figure BDA0002601060720000048
Figure BDA0002601060720000048

列机动目标点在固定坐标系下的坐标

Figure BDA0002601060720000049
The coordinates of the maneuvering target point in the fixed coordinate system
Figure BDA0002601060720000049

Figure BDA00026010607200000410
Figure BDA00026010607200000410

行机动目标点在固定坐标系下的坐标

Figure BDA00026010607200000411
The coordinates of the mobile target point in the fixed coordinate system
Figure BDA00026010607200000411

Figure BDA00026010607200000412
Figure BDA00026010607200000412

步骤8:主UUV向所有从UUV发送各阶段的机动目标点信息,待所有从UUV反馈已接收到四个机动目标点的信息后,执行步骤9;Step 8: The master UUV sends the maneuvering target point information of each stage to all the slave UUVs. After all the slave UUVs have received the information of the four maneuvering target points, step 9 is performed;

步骤9:主UUV向所有从UUV发送列分散指令,所有从UUV由当前位置向列分散目标点运动,每个从UUV完成列分散后向主UUV反馈信息;Step 9: The master UUV sends a column dispersion command to all the slave UUVs, all the slave UUVs move from the current position to the column dispersion target point, and each slave UUV feeds back information to the master UUV after completing the column dispersion;

步骤10:主UUV判断所有从UUV是否完成列分散;若主UUV在规定的时间内接收到所有从UUV完成列分散的反馈信息,则执行步骤11;否则认为队形形成失败,主UUV向所有从UUV发送队形形成失败指令,所有UUV停车后返回步骤4;Step 10: The master UUV judges whether all the slave UUVs have completed the column dispersion; if the master UUV receives the feedback information that all the slave UUVs have completed the column dispersion within the specified time, step 11 is executed; Send formation failure command from UUV, and return to step 4 after all UUVs stop;

步骤11:主UUV向所有从UUV发送行分散指令,所有从UUV由当前位置向行分散目标点运动,每个从UUV完成行分散后向主UUV反馈信息;Step 11: The master UUV sends a line dispersion command to all the slave UUVs, all the slave UUVs move from the current position to the line dispersion target point, and each slave UUV feeds back information to the master UUV after completing the line dispersion;

步骤12:主UUV判断所有从UUV是否完成行分散;若主UUV在规定的时间内接收到所有从UUV完成行分散的反馈信息,则执行步骤13;否则认为队形形成失败,主UUV向所有从UUV发送队形形成失败指令,所有UUV停车后返回步骤4;Step 12: The master UUV judges whether all the slave UUVs have completed row dispersion; if the master UUV receives the feedback information that all the slave UUVs have completed row dispersion within the specified time, step 13 is executed; Send formation failure command from UUV, and return to step 4 after all UUVs stop;

步骤13:主UUV向所有从UUV发送列机动指令,所有从UUV由当前位置向列机动目标点运动,每个从UUV完成列机动后向主UUV反馈信息;Step 13: The master UUV sends a column maneuver command to all the slave UUVs, all the slave UUVs move from the current position to the target point of the column maneuver, and each slave UUV feeds back information to the master UUV after completing the column maneuver;

步骤14:主UUV判断所有从UUV是否完成列机动;若主UUV在规定的时间内接收到所有从UUV完成列机动的反馈信息,则执行步骤15;否则认为队形形成失败,主UUV向所有从UUV发送队形形成失败指令,所有UUV停车后返回步骤4;Step 14: The master UUV judges whether all the slave UUVs have completed the row maneuver; if the master UUV receives the feedback information that all the slave UUVs have completed the row maneuver within the specified time, step 15 is executed; Send formation failure command from UUV, and return to step 4 after all UUVs stop;

步骤15:主UUV向所有从UUV发送行机动指令,所有从UUV由当前位置向行机动目标点运动,每个从UUV完成行机动后向主UUV反馈信息;Step 15: The master UUV sends a maneuvering instruction to all the slave UUVs, all the slave UUVs move from the current position to the target point of the maneuver, and each slave UUV feeds back information to the master UUV after completing the maneuver;

步骤16:主UUV判断所有从UUV是否完成行机动;若主UUV在规定的时间内接收到所有从UUV完成行机动的反馈信息,则执行步骤17;否则认为队形形成失败,主UUV向所有从UUV发送队形形成失败指令,所有UUV停车后返回步骤4;Step 16: The master UUV judges whether all the slave UUVs have completed the maneuver; if the master UUV receives the feedback information that all the slave UUVs have completed the maneuver within the specified time, step 17 is executed; Send formation failure command from UUV, and return to step 4 after all UUVs stop;

步骤17:主UUV向所有从UUV发送队形形成成功指令,所有UUV保持定点和定艏向,完成UUV集群编队队形。Step 17: The master UUV sends a formation formation success command to all the slave UUVs, and all UUVs maintain the fixed point and heading to complete the UUV cluster formation.

本发明的有益效果在于:The beneficial effects of the present invention are:

本发明将UUV集群编队队形形成空间划分为栅格空间的行区域和列区域,可以有效的避免编队队形形成过程中UUV之间的碰撞。本发明使用粒子群优化算法对列分散、行分散、列机动和行机动四个机动过程的总路线进行统一规划,可以实现UUV集群编队队形形成过程中的有序机动协调,有利于实现大规模UUV集群的编队队形形成。本发明中,UUV集群之间的信息交互量少,计算简单,规划速度快,协调机动逻辑分明,易于工程实现。The invention divides the UUV cluster formation formation space into the row area and the column area of the grid space, which can effectively avoid the collision between UUVs in the formation formation process. The invention uses the particle swarm optimization algorithm to uniformly plan the general route of the four maneuvering processes of column dispersion, row dispersion, column maneuvering and row maneuvering, which can realize the orderly maneuvering coordination in the formation process of the UUV cluster formation, which is beneficial to the realization of large-scale Formation formation of UUV clusters. In the present invention, the amount of information interaction between the UUV clusters is small, the calculation is simple, the planning speed is fast, the coordination and maneuvering logic is clear, and the engineering implementation is easy.

附图说明Description of drawings

图1为UUV集群编队队形形成示意图。Figure 1 is a schematic diagram of the formation of a UUV cluster formation.

图2为UUV集群编队期望队形及队形形成所在空间划分示意图。Figure 2 is a schematic diagram of the space division of the expected formation of the UUV cluster formation and the formation of the formation.

图3为基于栅格法的大规模UUV集群编队队形形成方法流程图。Fig. 3 is a flow chart of a large-scale UUV cluster formation formation method based on the grid method.

图4为UUV集群编队列分散原理示意图。FIG. 4 is a schematic diagram of the principle of UUV cluster formation and queue dispersion.

图5为UUV集群编队行分散原理示意图。Figure 5 is a schematic diagram of the principle of UUV cluster formation line dispersion.

图6为UUV集群编队列机动原理示意图。FIG. 6 is a schematic diagram of the maneuvering principle of UUV cluster formation.

图7为UUV集群编队行机动原理示意图。Figure 7 is a schematic diagram of the UUV swarm formation maneuvering principle.

具体实施方式Detailed ways

下面结合附图对本发明做进一步描述。The present invention will be further described below with reference to the accompanying drawings.

本发明的目的是为了提供一种基于栅格法的、适用于大规模UUV集群的编队队形形成方法。本发明可使大规模UUV集群从初始随机分布、杂乱无序的形态,快速、安全的形成期望的队形。The purpose of the present invention is to provide a method for forming a formation based on a grid method, which is suitable for large-scale UUV clusters. The present invention enables large-scale UUV clusters to quickly and safely form a desired formation from an initial random distribution and a disordered form.

一种基于栅格法的大规模UUV集群编队队形形成方法,包括以下步骤:A large-scale UUV cluster formation formation method based on grid method, comprising the following steps:

步骤一:初始化,设置UUV主从身份指令,设置队形形成参数,期望队形指令;Step 1: Initialize, set the UUV master-slave identity command, set the formation formation parameters, and expect the formation command;

设置队形形成参数Nnum_UUV_F和Lres,其中Nnum_UUV_F为从UUV个数,Lres为行列区域宽度。Set the formation parameters N num_UUV_F and L res , where N num_UUV_F is the number of slave UUVs, and L res is the width of the row and column area.

设置期望队形形成指令

Figure BDA0002601060720000061
其中xexp_E(n)表示每个从期望点固定坐标系下x坐标,yexp_E(n)表示每个从期望点固定坐标系下y坐标,n为各从期望点的序号,n=1,2,···,Nnum_UUV_F。Set the desired formation formation command
Figure BDA0002601060720000061
Where x exp_E (n) represents the x coordinate of each slave expected point fixed coordinate system, y exp_E (n) represents the y coordinate of each slave expected point fixed coordinate system, n is the serial number of each slave expected point, n=1, 2,...,N num_UUV_F .

步骤二:队形形成开始,所有UUV保持定点、定艏向,并确定自己的主从身份;Step 2: The formation begins, all UUVs maintain fixed point and heading, and determine their master-slave identity;

步骤三:UUV集群进行信息交互。所有从UUV向主UUV发送自身当前位置信息

Figure BDA0002601060720000062
i表示各从UUV代号,i=1,2,···,Nnum_UUV_F。主UUV向所有从UUV发送当前位置信息
Figure BDA0002601060720000063
和艏向信息θH_L;Step 3: The UUV cluster conducts information exchange. All slave UUVs send their current location information to the master UUV
Figure BDA0002601060720000062
i represents each slave UUV code, i=1, 2, ···, N num_UUV_F . The master UUV sends current location information to all slave UUVs
Figure BDA0002601060720000063
and heading information θ H_L ;

步骤四:主UUV判断是否接收到所有从UUV位置信息。若主UUV判断在120秒内收到所有从UUV当前位置信息,转步骤五,否则认为队形形成失败,转步骤(二十一);Step 4: The master UUV judges whether all slave UUV location information is received. If the master UUV judges that it has received all the current position information of the slave UUVs within 120 seconds, go to step 5, otherwise it is considered that the formation has failed, and go to step (21);

步骤五:主UUV应用粒子群优化算法规划出各从UUV列分散、行分散、列机动、行机动四个阶段的机动目标点。主UUV根据粒子群优化算法对四个阶段进行统一规划,求解出总路径最短情况下,从UUV行分散的行区域坐标、列分散的列区域坐标和所要到达的从期望点序号的矩阵X=(x(1),x(2),…,x(i)),

Figure BDA0002601060720000071
表示第i个从UUV所解得的位置信息,xM_PSO(i)为i号从UUV行分散的行区域坐标,yM_PSO(i)为i号从UUV列分散的列区域坐标,PID_PSO(i)为i号UUV分配的从期望点序号,i=1,2,...,Nnum_UUV_F,进而计算出各从UUV四个阶段的机动目标点,列分散目标点坐标
Figure BDA0002601060720000072
行分散目标点坐标
Figure BDA0002601060720000073
列机动目标点坐标
Figure BDA0002601060720000074
和行机动目标点坐标
Figure BDA0002601060720000075
Step 5: The main UUV uses the particle swarm optimization algorithm to plan the maneuvering target points of each of the four stages of column dispersion, row dispersion, column maneuvering, and row maneuvering of the UUVs. The main UUV performs unified planning for the four stages according to the particle swarm optimization algorithm, and solves the matrix X= (x(1),x(2),…,x(i)),
Figure BDA0002601060720000071
Represents the i-th position information obtained from the UUV solution, x M_PSO (i) is the row area coordinate scattered from the UUV row of the i number, y M_PSO (i) is the column area coordinate of the i number scattered from the UUV column, P ID_PSO ( i) The sequence number of the expected points assigned to the UUV of No. i, i=1,2,...,N num_UUV_F , and then calculate the maneuvering target points of each of the four stages of the UUV, and list the coordinates of the scattered target points
Figure BDA0002601060720000072
Line scatter target point coordinates
Figure BDA0002601060720000073
Column maneuver target point coordinates
Figure BDA0002601060720000074
and the coordinates of the moving target point
Figure BDA0002601060720000075

步骤五中,主UUV应用粒子群优化算法规划出各从UUV四个阶段的机动目标点具体包括:In step 5, the master UUV uses the particle swarm optimization algorithm to plan the maneuvering target points of each of the four stages of the slave UUV, including:

步骤五(A):求解各从UUV当前位置所在的行区域rowf(i)和列区域rankf(i);Step 5 (A): Solve the row area row f (i) and the column area rank f (i) where the current position of the UUV is located;

Figure BDA0002601060720000076
Figure BDA0002601060720000076

Figure BDA0002601060720000077
Figure BDA0002601060720000077

其中xf_pos_B(i)为从UUV在主UUV船体坐标系下x轴坐标,yf_pos_B(i)为从UUV在主UUV船体坐标系下y轴坐标。Where x f_pos_B (i) is the x-axis coordinate of the slave UUV in the main UUV hull coordinate system, and y f_pos_B (i) is the y-axis coordinate of the slave UUV in the main UUV hull coordinate system.

步骤五(B):应用粒子群算法求解矩阵X=(x(1),x(2),…,x(i));Step 5 (B): Apply the particle swarm algorithm to solve the matrix X=(x(1), x(2),...,x(i));

求得的粒子群矩阵应满足以下条件:The obtained particle swarm matrix should satisfy the following conditions:

(1)分散过程结束后所有从UUV在不同行区域和不同列区域,分配的从期望点不相同,有以下式子成立:(1) After the end of the dispersion process, all the slave UUVs in different row areas and different column areas have different expected points allocated, and the following formula is established:

Figure BDA0002601060720000081
Figure BDA0002601060720000081

其中i≠j,i=1,2,...,Nnum_UUV_F,j=1,2,...,Nnum_UUV_Fwhere i≠j, i=1,2,...,N num_UUV_F , j=1,2,...,N num_UUV_F .

(2)为了避免分散过程从UUV之间的相互碰撞,同一行区域中的从UUV相对位置不发生改变,应满足如下条件:(2) In order to avoid the collision between the slave UUVs in the dispersion process, the relative position of the slave UUVs in the same row area does not change, and the following conditions should be met:

若rowf(i)=rowf(j),i≠j,则有以下式子成立:If row f (i)=row f (j), i≠j, the following formula holds:

(yM_PSO(i)-yM_PSO(j))(rankf(i)-rankf(j))>0。(y M_PSO (i)-y M_PSO (j))(rank f (i)-rank f (j))>0.

(3)完成列机动过程后,可能导致同一列区域内同时存在多个从UUV,为了避免行机动过程中从UUV之间相互碰撞,行机动过程中,同一列区域中的从UUV相对位置不发生改变,应满足如下条件:(3) After the column maneuvering process is completed, there may be multiple slave UUVs in the same column area at the same time. In order to avoid collision between the slave UUVs during the row maneuvering process, during the row maneuvering process, the relative positions of the slave UUVs in the same column area are different. Changes should meet the following conditions:

若yexp_E(PID_PSO(i))=yexp_E(PID_PSO(j)),则有以下式子成立:If y exp_E (P ID_PSO (i))=y exp_E (P ID_PSO (j)), the following formula holds:

(xM_PSO(i)-xM_PSO(j))(yexp_E(PID_PSO(i))-yexp_E(PID_PSO(j)))>0。(x M_PSO (i)-x M_PSO (j))(y exp_E (P ID_PSO (i))-y exp_E (P ID_PSO (j)))>0.

(4)为了各从UUV在机动的过程中不与主UUV发生碰撞,分散过程的行区域和列区域坐标绝对值大于1,应满足如下条件:(4) In order for each slave UUV not to collide with the master UUV during the maneuvering process, the absolute value of the coordinates of the row area and column area of the dispersion process is greater than 1, and the following conditions should be met:

|xM_PSO(i)|>1,|yM_PSO(i)|>1,i=1,2,...,Nnum_UUV_F |x M_PSO (i)|>1, |y M_PSO (i)|>1, i=1,2,...,N num_UUV_F

(5)为了避免行机动过程中从UUV与主UUV发生碰撞,应满足如下条件:(5) In order to avoid the collision between the slave UUV and the master UUV during the maneuver, the following conditions should be met:

若|yexp_M(PID_PSO(i))|≤1,则有以下式子成立:If |y exp_M (P ID_PSO (i))|≤1, the following formula holds:

(xM_PSO(i))(xexp_M(PID_PSO(i)))>0,i=1,2,...,Nnum_UUV_F(x M_PSO (i))(x exp_M (P ID_PSO (i)))>0, i=1, 2, . . . , N num_UUV_F .

(6)规划各从UUV的位置的值为整数,应满足如下条件:(6) The value of the position of each slave UUV is planned to be an integer, and the following conditions should be met:

|xM_PSO(i)-<xM_PSO(i)>|+|yM_PSO(i)-<yM_PSO(i)>|+|PID_PSO(i)-<PID_PSO(i)>|=0,i=1,2,...,Nnum_UUV_F,其中< >表示对数进行取整运算。|x M_PSO (i)-<x M_PSO (i)>|+|y M_PSO (i)-<y M_PSO (i)>|+|P ID_PSO (i)-<P ID_PSO (i)>|=0, i=1,2,...,N num_UUV_F , where <> indicates that the logarithm is rounded.

(7)为了避免列分散过程中从UUV与主UUV发生碰撞,应满足如下条件:(7) In order to avoid the collision between the slave UUV and the master UUV during the column dispersion process, the following conditions should be met:

若|rowf(i)|≤1,则有以下式子成立:If |row f (i)|≤1, the following formula holds:

(rankf(i))(yM_PSO(i))>0,i=1,2,...,Nnum_UUV_F(rank f (i))(y M_PSO (i))>0, i=1, 2, . . . , N num_UUV_F .

步骤五(C):求解出各从UUV列分散目标点的行列区域坐标

Figure BDA0002601060720000082
和行分散目标点的行列区域坐标
Figure BDA0002601060720000091
并计算各从UUV列分散点和行分散点在固定坐标系下的坐标
Figure BDA0002601060720000092
Figure BDA0002601060720000093
Step 5 (C): Solve the coordinates of the row and column area of each target point scattered from the UUV column
Figure BDA0002601060720000082
and the row-column area coordinates of the row scatter target point
Figure BDA0002601060720000091
And calculate the coordinates of each from the UUV column scatter point and row scatter point in a fixed coordinate system
Figure BDA0002601060720000092
and
Figure BDA0002601060720000093

列分散运动中,从UUV只改变所在的列区域,行区域坐标不变,求解出列分散目标点的行列区域坐标

Figure BDA0002601060720000094
其中xd_rank_M(i)为列分散目标点的行区域坐标,yd_rank_M(i)为列分散目标点的列区域坐标,利用如下公式:In the column dispersion movement, only the column area where the UUV is located is changed, and the coordinates of the row area remain unchanged, and the row and column area coordinates of the column dispersion target point are solved.
Figure BDA0002601060720000094
Where x d_rank_M (i) is the row area coordinate of the column scatter target point, y d_rank_M (i) is the column area coordinate of the column scatter target point, using the following formula:

Figure BDA0002601060720000095
Figure BDA0002601060720000095

行分散运动中,从UUV只改变所在的行区域,列区域坐标不变,求解出行分散目标点的行列区域坐标

Figure BDA0002601060720000096
其中xd_row_M(i)为行分散目标点的行区域坐标,yd_row_M(i)为行分散目标点的列区域坐标,利用如下公式:In the row dispersion movement, only the row area where the UUV is located is changed, and the coordinates of the column area remain unchanged, and the row and column area coordinates of the target point of the row dispersion are solved.
Figure BDA0002601060720000096
Where x d_row_M (i) is the row area coordinate of the row dispersion target point, y d_row_M (i) is the column area coordinate of the row dispersion target point, using the following formula:

Figure BDA0002601060720000097
Figure BDA0002601060720000097

计算出从UUV列分散点在固定坐标系下的坐标

Figure BDA0002601060720000098
利用如下公式:Calculate the coordinates of the scattered points from the UUV column in a fixed coordinate system
Figure BDA0002601060720000098
Use the following formula:

Figure BDA0002601060720000099
Figure BDA0002601060720000099

Figure BDA00026010607200000910
Figure BDA00026010607200000910

Figure BDA00026010607200000911
Figure BDA00026010607200000911

计算出从UUV行分散点在固定坐标系下的坐标

Figure BDA00026010607200000912
利用如下公式:Calculate the coordinates of the scattered points from the UUV row in a fixed coordinate system
Figure BDA00026010607200000912
Use the following formula:

Figure BDA0002601060720000101
Figure BDA0002601060720000101

Figure BDA0002601060720000102
Figure BDA0002601060720000102

Figure BDA0002601060720000103
Figure BDA0002601060720000103

步骤五(D):由从期望点行列区域坐标

Figure BDA0002601060720000104
和从UUV行分散点在固定坐标系下的坐标
Figure BDA0002601060720000105
求解出列机动目标点在固定坐标系下的坐标
Figure BDA0002601060720000106
和行机动目标点在固定坐标系下的坐标
Figure BDA0002601060720000107
Step 5 (D): From the desired point row and column area coordinates
Figure BDA0002601060720000104
and scatter the coordinates of the points in the fixed coordinate system from the UUV row
Figure BDA0002601060720000105
Solve the coordinates of the dequeuing maneuver target point in a fixed coordinate system
Figure BDA0002601060720000106
and the coordinates of the mobile target point in the fixed coordinate system
Figure BDA0002601060720000107

Figure BDA0002601060720000108
Figure BDA0002601060720000108

Figure BDA0002601060720000109
Figure BDA0002601060720000109

步骤六:主UUV向所有从UUV发送各阶段的机动目标点信息;Step 6: The master UUV sends the maneuvering target point information of each stage to all the slave UUVs;

步骤七:主UUV判断所有从UUV是否接收到四个机动目标点信息。若主UUV判断在120秒内所有从UUV接收到列分散点坐标、行分散点坐标、列机动点坐标和行机动点坐标,转步骤八,否则认为有的从UUV没有接收到四个机动目标点信息,转步骤六;Step 7: The master UUV judges whether all the slave UUVs have received the information of the four maneuvering target points. If the master UUV judges that all the slave UUVs have received the coordinates of the column scatter point, the row scatter point, the column maneuver point coordinate and the row maneuver point coordinate within 120 seconds, go to step 8, otherwise it is considered that some of the slave UUVs have not received the four maneuvering targets Click information, go to step 6;

步骤八:主UUV向所有从UUV发送列分散指令;Step 8: The master UUV sends a column scatter command to all slave UUVs;

步骤九:从UUV进行列分散。所有从UUV由当前位置向列分散目标点运动,每个从UUV完成列分散后告知主UUV;Step 9: Column dispersion from UUV. All slave UUVs move from the current position to the nematic dispersion target point, and each slave UUV informs the master UUV after completing the column dispersion;

步骤十:主UUV判断所有从UUV是否完成列分散。若主UUV判断在120秒内所有从UUV完成列分散,转步骤十一,否则认为队形形成失败,转步骤(二十一);Step 10: The master UUV judges whether all the slave UUVs have completed column dispersion. If the master UUV judges that all the slave UUVs have completed the column dispersion within 120 seconds, go to step 11, otherwise it is considered that the formation has failed, and go to step (21);

步骤十一:主UUV向所有从UUV发送行分散指令;Step 11: The master UUV sends line scatter instructions to all slave UUVs;

步骤十二:从UUV进行行分散。所有从UUV由当前位置向行分散目标点运动,每个从UUV完成行分散后告知主UUV;Step twelve: Row dispersion from UUV. All slave UUVs move from the current position to the line dispersion target point, and each slave UUV informs the master UUV after the line dispersion is completed;

步骤十三:主UUV判断所有从UUV是否完成行分散。若主UUV判断在120秒内所有从UUV完成行分散,转步骤十四,否则认为队形形成失败,转步骤(二十一)。Step 13: The master UUV judges whether all the slave UUVs have completed row dispersion. If the master UUV judges that all the slave UUVs have completed line dispersion within 120 seconds, go to step 14; otherwise, it is considered that the formation has failed, and go to step (21).

步骤十四:主UUV向所有从UUV发送列机动指令;Step 14: The master UUV sends a column maneuver command to all slave UUVs;

步骤十五:从UUV进行列机动。所有从UUV由当前位置向列机动目标点运动,每个从UUV完成列机动后告知主UUV;Step fifteen: Column maneuver from UUV. All slave UUVs move from the current position to the target point of nematic maneuver, and each slave UUV informs the master UUV after completing the maneuver;

步骤十六:主UUV判断所有从UUV是否完成列机动。若主UUV判断在120秒内所有从UUV完成列机动,转步骤十七,否则认为队形形成失败,转步骤(二十一)。Step 16: The master UUV judges whether all the slave UUVs have completed the column maneuver. If the master UUV judges that all the slave UUVs have completed the column maneuver within 120 seconds, go to step 17; otherwise, it is considered that the formation has failed, and go to step (21).

步骤十七:主UUV向所有从UUV发送行机动指令;Step 17: The master UUV sends a maneuvering command to all the slave UUVs;

步骤十八:从UUV进行行机动。所有从UUV由当前位置向行机动目标点运动,每个从UUV完成行机动后告知主UUV;Step 18: Do the maneuvering from the UUV. All the slave UUVs move from the current position to the maneuvering target point, and each slave UUV informs the master UUV after completing the maneuvering;

步骤十九:主UUV判断所有从UUV是否完成行机动。若主UUV判断在120秒内所有从UUV完成行机动,转步骤二十,否则认为队形形成失败,转步骤(二十一);Step 19: The master UUV judges whether all the slave UUVs have completed the maneuver. If the master UUV judges that all the slave UUVs have completed the maneuver within 120 seconds, go to step 20, otherwise it is considered that the formation has failed, and go to step (21);

步骤二十:主UUV向所有从UUV发送队形形成成功指令,所有UUV保持定点、定艏向,转步骤二十二;Step 20: The master UUV sends a successful formation formation command to all the slave UUVs, all UUVs keep fixed point and heading, and go to step 22;

步骤二十一:主UUV向所有从UUV发送队形形成失败指令,所有UUV停车;Step 21: The master UUV sends a formation failure instruction to all slave UUVs, and all UUVs stop;

步骤二十二:UUV集群编队队形形成结束。Step 22: The formation of the UUV cluster formation is completed.

本发明的有益效果在于:The beneficial effects of the present invention are:

1.本发明将UUV集群编队队形形成空间划分为栅格空间的行区域和列区域,可以有效的避免编队队形形成过程中UUV之间的碰撞。1. The present invention divides the UUV cluster formation formation space into the row area and the column area of the grid space, which can effectively avoid the collision between UUVs in the formation formation process.

2.本发明使用粒子群优化算法对列分散、行分散、列机动和行机动四个机动过程的总路线进行统一规划,可以实现UUV集群编队队形形成过程中的有序机动协调,有利于实现大规模UUV集群的编队队形形成。2. The present invention uses the particle swarm optimization algorithm to uniformly plan the general route of the four maneuvering processes of column dispersion, row dispersion, column maneuvering and row maneuvering, which can realize the orderly maneuvering coordination in the formation of the UUV cluster formation, which is beneficial to the realization of Formation formation of large-scale UUV clusters.

3.本发明中,UUV集群之间的信息交互量少,计算简单,规划速度快,协调机动逻辑分明,易于工程实现。3. In the present invention, the amount of information interaction between UUV clusters is small, the calculation is simple, the planning speed is fast, the coordination and maneuvering logic is clear, and the engineering implementation is easy.

结合图1,介绍UUV集群编队队形形成的过程。Combined with Figure 1, the process of UUV cluster formation formation is introduced.

如图1所示,以包含5个成员的UUV集群进行介绍。初始状态,集群UUV的几何形态是随机分布且杂乱无序的,每个UUV处于待机状态,等待编队队形形成开始指令。期望形成的几何队形为图中所示的矩形队形。当队形形成开始后,所有的UUV根据自己事先被赋予的身份信息,确定自己是主UUV还是从UUV,如图中0号UUV为主UUV,其余为从UUV。主UUV保持定位、定艏向,UUV集群之间经过信息交互、自主规划、协调机动后,在保证不发生相互碰撞的前提下形成期望的矩形队形。队形形成过程中,从UUV进行机动,主UUV始终保持定点、定艏向。As shown in Figure 1, it is introduced as a UUV cluster with 5 members. In the initial state, the geometry of the cluster UUVs is randomly distributed and disordered, and each UUV is in a standby state, waiting for the formation to form a start command. The desired geometric formation is the rectangular formation shown in the figure. When the formation starts, all UUVs determine whether they are the master UUV or the slave UUV according to the identity information given to them in advance. In the picture, UUV No. 0 is the master UUV, and the rest are slave UUVs. The main UUV maintains its positioning and heading. After information exchange, autonomous planning, and coordinated maneuvering, the UUV clusters form a desired rectangular formation on the premise of ensuring that they do not collide with each other. In the process of formation formation, the slave UUV maneuvers, and the main UUV always maintains a fixed point and a fixed heading.

结合图2,介绍UUV集群编队队形形成所在空间划分及期望队形。Combined with Figure 2, the space division and expected formation of UUV cluster formation formation are introduced.

如图2,以矩形为期望的几何队形、以包含5个成员的UUV集群为例介绍期望队形。期望点0、1、2、3、4组成期望的矩形队形。在UUV集群形成矩形队形后,每个UUV位于一个期望点上,其中主UUV位于期望点0上,期望点0称为主期望点。其他4个从UUV分布于期望点1、2、3、4上,称这4个期望点为从期望点。As shown in Figure 2, the desired formation is introduced by taking a rectangle as the desired geometric formation and a UUV cluster containing 5 members as an example. The desired points 0, 1, 2, 3, and 4 form the desired rectangular formation. After the UUV clusters form a rectangular formation, each UUV is located on a desired point, where the main UUV is located on the desired point 0, and the desired point 0 is called the main desired point. The other 4 slave UUVs are distributed on desired points 1, 2, 3, and 4, and these 4 desired points are called slave desired points.

为了更好的利用栅格法和粒子群优化算法进行大规模UUV集群队形形成规划,将UUV集群所在空间区域划分为多个行区域和列区域,具体的划分过程为:In order to better utilize the grid method and particle swarm optimization algorithm to plan the formation of large-scale UUV clusters, the space area where the UUV clusters are located is divided into multiple row areas and column areas. The specific division process is as follows:

(1)行区域。如图2所示,以主UUV所在位置为原点建立的船体直角坐标系中,用相邻之间间隔为Lres的直线x=k·Lres,将x轴方向的空间划分成不同的行区域,并且规定在x轴正方向上的行区域坐标为正值,负方向上的行区域坐标为负值,并有:(1) Line area. As shown in Figure 2, in the hull Cartesian coordinate system established with the position of the main UUV as the origin, the space in the x-axis direction is divided into different lines by using a straight line x=k·L res with an interval of L res between adjacent ones. area, and specifies that the line area coordinate in the positive direction of the x-axis is a positive value, and the line area coordinate in the negative direction is a negative value, and there are:

Nl_min-Nnum_UUV_F≤k≤Nl_max+Nnum_UUV_F N l_min -N num_UUV_F ≤k≤N l_max +N num_UUV_F

(2)列区域。同样在划分列区域时,是将y轴方向的空间划分成不同的列区域,利用相邻之间间隔为Lres的直线y=m·Lres将空间分成多个列区域,并规定在y轴正方向上的行区域坐标为正值,负方向上的行区域坐标为负值,并有:(2) Column area. Similarly, when dividing the column area, the space in the y-axis direction is divided into different column areas, and the space is divided into multiple column areas by using a straight line y=m· Lres with an interval of L res between adjacent ones, and it is specified at y The coordinate of the line area in the positive direction of the axis is positive, and the coordinate of the line area in the negative direction is negative, and there are:

Nr_min-Nnum_UUV_F≤m≤Nr_max+Nnum_UUV_F N r_min -N num_UUV_F ≤m≤N r_max +N num_UUV_F

行区域和列区域叠加共同构成UUV所在水平面的空间栅格模型。其中k和m均为整数,Nl_min和Nl_max为所有从UUV和从期望点在主UUV船体直角坐标系下的所在位置的行区域的最小值和最大值;Nr_min和Nr_max为所有从UUV和从期望点在主UUV船体直角坐标系下的所在位置的列区域的最小值和最大值。The superposition of the row area and the column area together constitutes the spatial grid model of the horizontal plane where the UUV is located. Where k and m are integers, N l_min and N l_max are the minimum and maximum values of the row area where all slave UUVs and slave expected points are located in the main UUV hull Cartesian coordinate system; N r_min and N r_max are all slave UUVs The minimum and maximum values of the column area of the UUV and the position from the desired point in the main UUV hull Cartesian coordinate system.

为了更清楚的介绍本发明的具体实施方式有如下定义:In order to introduce the specific embodiments of the present invention more clearly, there are the following definitions:

(1)定义在基于栅格法建立的空间模型中,空间中任意一点固定坐标系下坐标为

Figure BDA0002601060720000131
则该点在主UUV船体坐标系下的坐标为
Figure BDA0002601060720000132
计算方法为:(1) Defined in the space model established based on the grid method, the coordinates of any point in the space in the fixed coordinate system are
Figure BDA0002601060720000131
Then the coordinates of the point in the main UUV hull coordinate system are
Figure BDA0002601060720000132
The calculation method is:

Figure BDA0002601060720000133
Figure BDA0002601060720000133

其中

Figure BDA0002601060720000134
为主UUV在固定坐标系下的坐标,θH_L为主UUV的艏向。in
Figure BDA0002601060720000134
is the coordinate of the main UUV in a fixed coordinate system, and θ H_L is the heading of the main UUV.

(2)定义在基于栅格法建立的空间模型中,根据空间中任意一点在主UUV船体坐标系下的坐标

Figure BDA0002601060720000135
可计算得到该点在空间模型中的行列区域坐标为
Figure BDA0002601060720000136
计算方法为:(2) Defined in the space model established based on the grid method, according to the coordinates of any point in the space in the main UUV hull coordinate system
Figure BDA0002601060720000135
The coordinates of the row and column area of the point in the space model can be calculated as
Figure BDA0002601060720000136
The calculation method is:

Figure BDA0002601060720000137
Figure BDA0002601060720000137

其中xM为点所在行区域坐标,yM为点所在列区域坐标。若xM=0,则规定xM=1;若yM=0,则规定yM=1。Where x M is the coordinate of the row area where the point is located, and y M is the coordinate of the column area where the point is located. If x M =0, x M =1 is specified; if y M =0, y M =1 is specified.

根据上面的定义,结合图2,则若已知空间中1号从UUV的固定坐标系下的坐标为

Figure BDA0002601060720000138
则根据公式(1)和公式(2)可计算1号从UUV在主UUV船体坐标系下的坐标
Figure BDA0002601060720000139
及1号从UUV在空间模型中的行列区域坐标
Figure BDA00026010607200001310
According to the above definition, combined with Figure 2, if the coordinates of No. 1 slave UUV in the fixed coordinate system in the known space are
Figure BDA0002601060720000138
Then according to formula (1) and formula (2), the coordinates of No. 1 slave UUV in the main UUV hull coordinate system can be calculated
Figure BDA0002601060720000139
and No. 1 from the UUV in the spatial model of the row-column area coordinates
Figure BDA00026010607200001310

Figure BDA00026010607200001311
Figure BDA00026010607200001311

Figure BDA0002601060720000141
Figure BDA0002601060720000141

Figure BDA0002601060720000142
Figure BDA0002601060720000142

其他从UUV同理。Others are the same from UUV.

(3)若已知空间中任意一点的行列区域坐标

Figure BDA0002601060720000143
则可计算该点的固定坐标系下的坐标为
Figure BDA0002601060720000144
计算方法为:(3) If the coordinates of the row and column area of any point in the space are known
Figure BDA0002601060720000143
Then the coordinates of the point in the fixed coordinate system can be calculated as
Figure BDA0002601060720000144
The calculation method is:

Figure BDA0002601060720000145
Figure BDA0002601060720000145

Figure BDA0002601060720000146
Figure BDA0002601060720000146

若已知1号从UUV在空间模型中的行列区域坐标

Figure BDA0002601060720000147
则根据公式(3)和(4)可计算出1号从UUV在主UUV船体直角坐标系下的坐标
Figure BDA0002601060720000148
和在固定坐标系下的坐标
Figure BDA0002601060720000149
If the coordinates of the row and column area of No. 1 from the UUV in the space model are known
Figure BDA0002601060720000147
Then according to formulas (3) and (4), the coordinates of No. 1 slave UUV in the rectangular coordinate system of the main UUV hull can be calculated.
Figure BDA0002601060720000148
and coordinates in a fixed coordinate system
Figure BDA0002601060720000149

Figure BDA00026010607200001410
Figure BDA00026010607200001410

Figure BDA00026010607200001411
Figure BDA00026010607200001411

Figure BDA00026010607200001412
Figure BDA00026010607200001412

其他从UUV同理。Others are the same from UUV.

同理,运用(1)、(2)、(3)和(4)公式可计算从期望点在固定坐标系下的坐标

Figure BDA0002601060720000151
在主UUV船体直角坐标系下的坐标
Figure BDA0002601060720000152
和在空间模型中的行列区域坐标
Figure BDA0002601060720000153
之间的相互变换,i=1,2,···,Nnum_UUV_F。Similarly, using the formulas (1), (2), (3) and (4), the coordinates of the desired point in the fixed coordinate system can be calculated
Figure BDA0002601060720000151
Coordinates in the main UUV hull Cartesian coordinate system
Figure BDA0002601060720000152
and the row-column region coordinates in the spatial model
Figure BDA0002601060720000153
Mutual transformation between, i=1, 2, ···, N num_UUV_F .

结合图3、图4、图5、图6和图7,介绍基于栅格法的大规模UUV集群编队队形形成方法的流程。Combined with Figure 3, Figure 4, Figure 5, Figure 6 and Figure 7, the flow of the formation method of large-scale UUV cluster formation based on the grid method is introduced.

步骤一:初始化。设置UUV主从身份指令,设置队形形成参数Nnum_UUV_F和Lres,其中Lres为每个行区域和列区域的宽度,设置期望队形形成指令

Figure BDA0002601060720000154
其中xexp_E(n)表示每个从期望点固定坐标系下x坐标,yexp_E(n)表示每个从期望点固定坐标系下y坐标,n为各从期望点的序号,n=1,2,···,Nnum_UUV_F。Step 1: Initialization. Set the UUV master-slave identity instruction, set the formation formation parameters N num_UUV_F and L res , where L res is the width of each row area and column area, and set the desired formation formation instruction
Figure BDA0002601060720000154
Where x exp_E (n) represents the x coordinate of each slave expected point fixed coordinate system, y exp_E (n) represents the y coordinate of each slave expected point fixed coordinate system, n is the serial number of each slave expected point, n=1, 2,...,N num_UUV_F .

步骤二:队形形成开始,所有UUV保持定点、定艏向,并确定自己的主从身份。Step 2: The formation begins, all UUVs maintain fixed point and heading, and determine their master-slave identity.

步骤三:UUV集群进行信息交互。所有从UUV向主UUV发送自身当前位置信息

Figure BDA0002601060720000155
i表示各从UUV代号,i=1,2,···,Nnum_UUV_F。主UUV向所有从UUV发送当前个位置信息
Figure BDA0002601060720000156
和艏向θH_L。Step 3: The UUV cluster conducts information exchange. All slave UUVs send their current location information to the master UUV
Figure BDA0002601060720000155
i represents each slave UUV code, i=1, 2, ···, N num_UUV_F . The master UUV sends the current location information to all slave UUVs
Figure BDA0002601060720000156
and heading θ H_L .

步骤四:主UUV判断是否接收到所有从UUV位置信息。若主UUV判断在120秒内收到所有从UUV当前位置信息,转步骤五,否则认为队形形成失败,转步骤(二十一)。Step 4: The master UUV judges whether all slave UUV location information is received. If the master UUV judges that it has received all the current position information of the slave UUVs within 120 seconds, go to step 5; otherwise, it is considered that the formation has failed, and go to step (21).

步骤五:主UUV应用粒子群优化算法规划出各从UUV列分散、行分散、列机动、行机动四个阶段的机动目标点。主UUV根据粒子群优化算法对四个阶段进行统一规划,求解出总路径最短情况下,从UUV行分散的行区域坐标、列分散的列区域坐标和所要到达的从期望点序号的矩阵X=(x(1),x(2),…,x(i)),进而计算出各从UUV四个阶段的机动目标点在固定坐标系下的坐标,列分散目标点坐标

Figure BDA0002601060720000157
行分散目标点坐标
Figure BDA0002601060720000158
列机动目标点坐标
Figure BDA0002601060720000159
和行机动目标点坐标
Figure BDA00026010607200001510
Step 5: The main UUV uses the particle swarm optimization algorithm to plan the maneuvering target points of each of the four stages of column dispersion, row dispersion, column maneuvering, and row maneuvering of the UUVs. The main UUV performs unified planning for the four stages according to the particle swarm optimization algorithm, and solves the matrix X= (x(1),x(2),...,x(i)), and then calculate the coordinates of the maneuvering target points from the four stages of UUV in a fixed coordinate system, and list the coordinates of the scattered target points
Figure BDA0002601060720000157
Line scatter target point coordinates
Figure BDA0002601060720000158
Column maneuver target point coordinates
Figure BDA0002601060720000159
and the coordinates of the moving target point
Figure BDA00026010607200001510

其中i=1,2,...,Nnum_UUV_F

Figure BDA0002601060720000161
表示第i个从UUV所解得的位置信息,xM_PSO(i)为i号从UUV行分散的行区域坐标,yM_PSO(i)为i号从UUV列分散的列区域坐标,PID_PSO(i)为i号从UUV分配的从期望点序号。where i=1,2,...,N num_UUV_F ,
Figure BDA0002601060720000161
Represents the i-th position information obtained from the UUV solution, x M_PSO (i) is the row area coordinate scattered from the UUV row of the i number, y M_PSO (i) is the column area coordinate of the i number scattered from the UUV column, P ID_PSO ( i) Slave expected point sequence number assigned to slave UUV of number i.

步骤五(A):求解各从UUV当前位置所在的行区域rowf(i)和列区域rankf(i)。根据主UUV和从UUV的当前位置,利用公式(1)得到各从UUV当前位置点在主UUV船体坐标系下的坐标为

Figure BDA0002601060720000162
在根据公式(2)求解出各从UUV当前位置点所在的行区域rowf(i)和列区域rankf(i):Step 5 (A): Solve the row area row f (i) and the column area rank f (i) where the current position of each slave UUV is located. According to the current positions of the master UUV and the slave UUV, the coordinates of the current position of each slave UUV in the master UUV hull coordinate system are obtained by using formula (1).
Figure BDA0002601060720000162
According to formula (2), the row area row f (i) and the column area rank f (i) where the current position point of each slave UUV is located are solved:

Figure BDA0002601060720000163
Figure BDA0002601060720000163

Figure BDA0002601060720000164
Figure BDA0002601060720000164

其中xf_pos_B(i)为从UUV在主UUV船体坐标系下x轴坐标,yf_pos_B(i)为从UUV在主UUV船体坐标系下y轴坐标。Where x f_pos_B (i) is the x-axis coordinate of the slave UUV in the main UUV hull coordinate system, and y f_pos_B (i) is the y-axis coordinate of the slave UUV in the main UUV hull coordinate system.

步骤五(B):应用粒子群算法求解矩阵X=(x(1),x(2),…,x(i)),并满足如下要求:Step 5 (B): Apply the particle swarm algorithm to solve the matrix X=(x(1),x(2),...,x(i)), and meet the following requirements:

(1)分散过程结束后所有从UUV在不同行区域和不同列区域,分配的从期望点不相同,有以下式子成立:(1) After the end of the dispersion process, all the slave UUVs in different row areas and different column areas have different expected points allocated, and the following formula is established:

Figure BDA0002601060720000165
Figure BDA0002601060720000165

其中i≠j,i=1,2,...,Nnum_UUV_F,j=1,2,...,Nnum_UUV_Fwhere i≠j, i=1,2,...,N num_UUV_F , j=1,2,...,N num_UUV_F .

(2)为了避免分散过程从UUV之间的相互碰撞,同一行区域中的从UUV相对位置不发生改变,应满足如下条件:(2) In order to avoid the collision between the slave UUVs in the dispersion process, the relative position of the slave UUVs in the same row area does not change, and the following conditions should be met:

若rowf(i)=rowf(j),i≠j,则有以下式子成立:If row f (i)=row f (j), i≠j, the following formula holds:

(yM_PSO(i)-yM_PSO(j))(rankf(i)-rankf(j))>0。(y M_PSO (i)-y M_PSO (j))(rank f (i)-rank f (j))>0.

(3)完成列机动过程后,导致同一列区域内可能同时存在多个从UUV,为了避免行机动过程中从UUV之间相互碰撞,行机动过程中,同一列区域中的从UUV相对位置不发生改变,应满足如下条件:(3) After the column maneuvering process is completed, there may be multiple slave UUVs in the same column area at the same time. In order to avoid collision between the slave UUVs during the row maneuvering process, during the row maneuvering process, the relative positions of the slave UUVs in the same column area are different. Changes should meet the following conditions:

若yexp_E(PID_PSO(i))=yexp_E(PID_PSO(j)),则有以下式子成立:If y exp_E (P ID_PSO (i))=y exp_E (P ID_PSO (j)), the following formula holds:

(xM_PSO(i)-xM_PSO(j))(yexp_E(PID_PSO(i))-yexp_E(PID_PSO(j)))>0。(x M_PSO (i)-x M_PSO (j))(y exp_E (P ID_PSO (i))-y exp_E (P ID_PSO (j)))>0.

(4)为了各从UUV在机动的过程中不与主UUV发生碰撞,分散过程的行区域和列区域坐标绝对值大于1,应满足如下条件:(4) In order for each slave UUV not to collide with the master UUV during the maneuvering process, the absolute value of the coordinates of the row area and column area of the dispersion process is greater than 1, and the following conditions should be met:

|xM_PSO(i)|>1,|yM_PSO(i)|>1,i=1,2,...,Nnum_UUV_F |x M_PSO (i)|>1, |y M_PSO (i)|>1, i=1,2,...,N num_UUV_F

(5)为了避免行机动过程中从UUV与主UUV发生碰撞,应满足如下条件:(5) In order to avoid the collision between the slave UUV and the master UUV during the maneuver, the following conditions should be met:

若|yexp_M(PID_PSO(i))|≤1,则有以下式子成立:If |y exp_M (P ID_PSO (i))|≤1, the following formula holds:

(xM_PSO(i))(xexp_M(PID_PSO(i)))>0,i=1,2,...,Nnum_UUV_F(x M_PSO (i))(x exp_M (P ID_PSO (i)))>0, i=1, 2, . . . , N num_UUV_F .

(6)规划各从UUV的位置的值为整数,应满足如下条件:(6) The value of the position of each slave UUV is planned to be an integer, and the following conditions should be met:

|xM_PSO(i)-<xM_PSO(i)>|+|yM_PSO(i)-<yM_PSO(i)>|+|PID_PSO(i)-<PID_PSO(i)>|=0,i=1,2,...,Nnum_UUV_F,其中< >表示对数进行取整运算。|x M_PSO (i)-<x M_PSO (i)>|+|y M_PSO (i)-<y M_PSO (i)>|+|P ID_PSO (i)-<P ID_PSO (i)>|=0, i=1,2,...,N num_UUV_F , where <> indicates that the logarithm is rounded.

(7)为了避免列分散过程中从UUV与主UUV发生碰撞,应满足如下条件:(7) In order to avoid the collision between the slave UUV and the master UUV during the column dispersion process, the following conditions should be met:

若|rowf(i)|≤1,则有以下式子成立:If |row f (i)|≤1, the following formula holds:

(rankf(i))(yM_PSO(i))>0,i=1,2,...,Nnum_UUV_F(rank f (i))(y M_PSO (i))>0, i=1, 2, . . . , N num_UUV_F .

步骤五(C):求解出各从UUV列分散目标点的行列区域坐标

Figure BDA0002601060720000171
和行分散目标点的行列区域坐标
Figure BDA0002601060720000172
并计算各从UUV列分散点和行分散点在固定坐标系下的坐标
Figure BDA0002601060720000173
Figure BDA0002601060720000174
Step 5 (C): Solve the coordinates of the row and column area of each target point scattered from the UUV column
Figure BDA0002601060720000171
and the row-column area coordinates of the row scatter target point
Figure BDA0002601060720000172
And calculate the coordinates of each from the UUV column scatter point and row scatter point in a fixed coordinate system
Figure BDA0002601060720000173
and
Figure BDA0002601060720000174

由于列分散运动中,从UUV只改变所在的列区域,所以行区域坐标不变,行分散运动中,从UUV只改变所在的行区域,所以列区域坐标不变。由粒子群优化算法得到的矩阵,根据公式(5)得出列分散目标点的行列区域坐标

Figure BDA0002601060720000181
Because in the column dispersion movement, the slave UUV only changes the column area, so the row area coordinates remain unchanged. During the row dispersion movement, the slave UUV only changes the row area, so the column area coordinates remain unchanged. The matrix obtained by the particle swarm optimization algorithm, according to the formula (5), the row and column area coordinates of the column scattered target points are obtained
Figure BDA0002601060720000181

Figure BDA0002601060720000182
Figure BDA0002601060720000182

根据公式(6)计算出行分散目标点的行列区域坐标

Figure BDA0002601060720000183
Calculate the row and column area coordinates of the travel dispersion target point according to formula (6)
Figure BDA0002601060720000183

Figure BDA0002601060720000184
Figure BDA0002601060720000184

Figure BDA0002601060720000185
Figure BDA0002601060720000186
代入公式(3)和(4)计算出列分散目标点和行分散目标点在固定坐标系下的坐标
Figure BDA0002601060720000187
Figure BDA0002601060720000188
Will
Figure BDA0002601060720000185
and
Figure BDA0002601060720000186
Substitute into formulas (3) and (4) to calculate the coordinates of the column scatter target point and the row scatter target point in the fixed coordinate system
Figure BDA0002601060720000187
and
Figure BDA0002601060720000188

步骤五(D):由从期望点行列区域坐标

Figure BDA0002601060720000189
和从UUV行分散点在固定坐标系下的坐标
Figure BDA00026010607200001810
求解出列机动目标点在固定坐标系下的坐标
Figure BDA00026010607200001811
和行机动目标点在固定坐标系下的坐标
Figure BDA00026010607200001812
Step 5 (D): From the desired point row and column area coordinates
Figure BDA0002601060720000189
and scatter the coordinates of the points in the fixed coordinate system from the UUV row
Figure BDA00026010607200001810
Solve the coordinates of the dequeuing maneuver target point in a fixed coordinate system
Figure BDA00026010607200001811
and the coordinates of the mobile target point in the fixed coordinate system
Figure BDA00026010607200001812

由于是先列机动再行机动,所以可由从期望点行列区域坐标

Figure BDA00026010607200001813
根据公式(7)反推出列机动目标点在固定坐标系下的坐标
Figure BDA00026010607200001814
Since it is a first maneuver and then a maneuver, the coordinates of the area can be determined from the desired point.
Figure BDA00026010607200001813
According to formula (7), the coordinates of the maneuvering target point in the fixed coordinate system can be reversed
Figure BDA00026010607200001814

Figure BDA00026010607200001815
Figure BDA00026010607200001815

再根据公式(8)得到行机动目标点在固定坐标系下的坐标

Figure BDA00026010607200001816
Then according to formula (8), the coordinates of the mobile target point in the fixed coordinate system are obtained
Figure BDA00026010607200001816

Figure BDA0002601060720000191
Figure BDA0002601060720000191

步骤六:主UUV向所有从UUV发送各阶段的机动目标点信息。Step 6: The master UUV sends the maneuvering target point information of each stage to all the slave UUVs.

步骤七:主UUV判断所有从UUV是否接收到四个机动目标点信息。若主UUV判断在120秒内所有从UUV接收到列分散点坐标、行分散点坐标、列机动点坐标和行机动点坐标,转步骤八,否则认为有的从UUV没有接收到四个机动目标点信息,转步骤六。Step 7: The master UUV judges whether all the slave UUVs have received the information of the four maneuvering target points. If the master UUV judges that all the slave UUVs have received the coordinates of the column scatter point, the row scatter point, the column maneuver point coordinate and the row maneuver point coordinate within 120 seconds, go to step 8, otherwise it is considered that some of the slave UUVs have not received the four maneuvering targets Click Information, and go to Step 6.

步骤八:主UUV向所有从UUV发送列分散指令。Step 8: The master UUV sends a column scatter command to all slave UUVs.

步骤九:从UUV进行列分散。所有从UUV由当前位置向列分散目标点运动,每个从UUV完成列分散后告知主UUV。Step 9: Column dispersion from UUV. All slave UUVs move from the current position to the nematic dispersion target point, and each slave UUV informs the master UUV after completing the dispersion.

如图4所示,4号从UUV与3号从UUV在相同的列区域,所以4号从UUV需要由当前位置点(虚线处)运动到4号从UUV的列分散目标点(实线处),使3号和4号两从UUV在不同列区域,其他从UUV保持原有位置不变。As shown in Figure 4, No. 4 Slave UUV and No. 3 Slave UUV are in the same column area, so No. 4 Slave UUV needs to move from the current position point (dotted line) to No. 4 Slave UUV's column dispersion target point (solid line) ), so that two slave UUVs No. 3 and No. 4 are in different column areas, and the other slave UUVs keep their original positions.

步骤十:主UUV判断所有从UUV是否完成列分散。若主UUV判断在120秒内所有从UUV完成列分散,转步骤十一,否则认为队形形成失败,转步骤(二十一)。Step 10: The master UUV judges whether all the slave UUVs have completed column dispersion. If the master UUV judges that all the slave UUVs have completed the column dispersion within 120 seconds, go to step 11; otherwise, it is considered that the formation has failed, and go to step (21).

步骤十一:主UUV向所有从UUV发送行分散指令。Step 11: The master UUV sends a line scatter command to all slave UUVs.

步骤十二:从UUV进行行分散。所有从UUV由当前位置向行分散目标点运动,每个从UUV完成行分散后告知主UUV。Step twelve: Row dispersion from UUV. All the slave UUVs move from the current position to the line dispersion target point, and each slave UUV informs the master UUV after the line dispersion is completed.

如图5所示,1号从UUV与2号从UUV在相同的行区域,所以1号从UUV需要由当前位置点(虚线处)运动到1号从UUV的行分散目标点(实线处),其他从UUV保持原有位置不变。As shown in Figure 5, No. 1 Slave UUV and No. 2 Slave UUV are in the same line area, so No. 1 Slave UUV needs to move from the current position point (dotted line) to No. 1 Slave UUV's line dispersion target point (solid line) ), other slave UUVs keep their original positions.

步骤十三:主UUV判断所有从UUV是否完成行分散。若主UUV判断在120秒内所有从UUV完成行分散,转步骤十四,否则认为队形形成失败,转步骤(二十一)。Step 13: The master UUV judges whether all the slave UUVs have completed row dispersion. If the master UUV judges that all the slave UUVs have completed line dispersion within 120 seconds, go to step 14; otherwise, it is considered that the formation has failed, and go to step (21).

步骤十四:主UUV向所有从UUV发送列机动指令。Step 14: The master UUV sends a column maneuver command to all slave UUVs.

步骤十五:从UUV进行列机动。所有从UUV由当前位置向列机动目标点运动,每个从UUV完成列机动后告知主UUV。Step fifteen: Column maneuver from UUV. All slave UUVs move from the current position to the target point of nematic maneuver, and each slave UUV informs the master UUV after completing the maneuver.

如图6所示,1号从UUV需要由当前位置点(虚线处)向1号从UUV的列机动目标点(实线处)运动,其他从UUV同理。As shown in Figure 6, the No. 1 slave UUV needs to move from the current position point (dotted line) to the No. 1 slave UUV's column maneuver target point (solid line), and the other slave UUVs are the same.

步骤十六:主UUV判断所有从UUV是否完成列机动。若主UUV判断在120秒内所有从UUV完成列机动,转步骤十七,否则认为队形形成失败,转步骤(二十一)。Step 16: The master UUV judges whether all the slave UUVs have completed the column maneuver. If the master UUV judges that all the slave UUVs have completed the column maneuver within 120 seconds, go to step 17; otherwise, it is considered that the formation has failed, and go to step (21).

步骤十七:主UUV向所有从UUV发送行机动指令。Step 17: The master UUV sends a movement command to all the slave UUVs.

步骤十八:从UUV进行行机动。所有从UUV由当前位置向行机动目标点运动,每个从UUV完成行机动后告知主UUV。Step 18: Do the maneuvering from the UUV. All the slave UUVs move from the current position to the maneuvering target point, and each slave UUV informs the master UUV after completing the maneuvering.

如图7所示,1号从UUV需要由当前位置点(虚线处)向1号从UUV的行机动目标点(实线处)运动,其他从UUV同理。As shown in Figure 7, the No. 1 slave UUV needs to move from the current position point (dotted line) to the No. 1 slave UUV's travel target point (solid line), and the other slave UUVs are the same.

步骤十九:主UUV判断所有从UUV是否完成行机动。若主UUV判断在120秒内所有从UUV完成行机动,转步骤二十,否则认为队形形成失败,转步骤(二十一)。Step 19: The master UUV judges whether all the slave UUVs have completed the maneuver. If the master UUV judges that all slave UUVs have completed the maneuver within 120 seconds, go to step 20; otherwise, it is considered that the formation has failed, and go to step (21).

步骤二十:主UUV向所有从UUV发送队形形成成功指令,所有UUV保持定点、定艏向,转步骤二十二。Step 20: The master UUV sends a formation formation success command to all the slave UUVs, all UUVs keep fixed point and heading, and go to step 22.

步骤二十一:主UUV向所有从UUV发送队形形成失败指令,所有UUV停车。Step 21: The master UUV sends a formation failure instruction to all slave UUVs, and all UUVs stop.

步骤二十二:UUV集群编队队形形成结束。Step 22: The formation of the UUV cluster formation is completed.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (1)

1. A method for forming formation of a large-scale UUV cluster formation queue based on a grid method is characterized by comprising the following steps:
step 1: selecting a master UUV from the UUV cluster, wherein the other UUV are slave UUV;
and 2, step: setting the width L of the row and column region res And expected formation instructions
Figure FDA0002601060710000011
x exp_E (n) is the x coordinate, y, of the nth slave desired point in the fixed coordinate system exp_E (N) is the y coordinate of the nth point in the fixed coordinate system, N =1,2, ·, N num_UUV_F ;N num_UUV_F The number of slave UUV;
and step 3: the formation of the formation begins, all UUV keep fixed point, fixed heading, and determine the master-slave identity of the UUV;
and 4, step 4: UUV cluster carries out information interaction, and all slave UUV send own current position information to master UUV
Figure FDA0002601060710000012
i denotes the respective UUV code number, i =1,2, ·, N num_UUV_F (ii) a The master UUV sends the current position information to all the slave UUV
Figure FDA0002601060710000013
And heading information theta H_L
And 5: establishing a ship body rectangular coordinate system by taking the position of the main UUV as an origin, and taking the interval as L res The ship body rectangular coordinate system space is divided into a space grid formed by overlapping a row area and a column area by the straight line, and the maximum value and the minimum value of the row area and the column area are set;
no. i slave UUV coordinate P under main UUV hull coordinate system f_pos_B (i) Comprises the following steps:
Figure FDA0002601060710000014
Figure FDA0002601060710000015
x f_pos_B (i) Is the x-axis coordinate, y, of the slave UUV in the coordinate system of the hull of the master UUV f_pos_B (i) The y-axis coordinate of the slave UUV under the ship body coordinate system of the master UUV;
no. i is from the line region row that UUV current position is located f (i) And column area rank f (i) Comprises the following steps:
Figure FDA0002601060710000016
Figure FDA0002601060710000021
step 6: the master UUV judges whether position information of all slave UUV is received; if the master UUV receives the current position information of all the slave UUV within the specified time, executing step 7; otherwise, the formation of the formation is considered to be failed, the master UUV sends formation failure instructions to all the slave UUV, and the step 4 is returned after all the UUV stops;
and 7: the master UUV plans maneuvering target points of four stages of column dispersion, row dispersion, column maneuvering and mechanical maneuvering of each slave UUV;
step 7.1: the master UUV solves all row area coordinates of the slave UUV rows, column area coordinates of the columns and a matrix X of the slave expected point sequence number to be reached, which meet the conditions, and screens out the matrix X which enables the total movement distance of all the slave UUV to be shortest;
matrix X = (X (1), X (2) \8230;, X (i)),
Figure FDA0002601060710000022
x M_PSO (i) Line zone coordinates, y, scattered from UUV line for No. i M_PSO (i) Column region coordinates, P, scattered from UUV column for No. i ID_PSO (i) A slave expected point sequence number assigned to the i-th slave UUV;
the matrix X satisfies the condition:
1) When i ≠ j,
Figure FDA0002601060710000023
2) When row f (i)=row f (j) And i ≠ j, (y) M_PSO (i)-y M_PSO (j))(rank f (i)-rank f (j))>0;
3) When y is exp_E (P ID_PSO (i))=y exp_E (P ID_PSO (j) In the case of a hot press machine),
(x M_PSO (i)-x M_PSO (j))(y exp_E (P ID_PSO (i))-y exp_E (P ID_PSO (j)))>0;
4)|x M_PSO (i)|>1,|y M_PSO (i)|>1;
5) When y exp_M (P ID_PSO (i) When (x) is less than or equal to 1 |, (x) M_PSO (i))(x exp_M (P ID_PSO (i)))>0;
6)|x M_PSO (i)-<x M_PSO (i)>|+|y M_PSO (i)-<y M_PSO (i)>|+|P ID_PSO (i)-<P ID_PSO (i)>(= 0), wherein<>Representing a rounding operation;
7) When screw f (i) When | is less than or equal to 1, (rank) f (i))(y M_PSO (i))>0;
And 7.2: calculating coordinates of maneuvering target points of the slave UUV in four stages of row dispersion, row maneuvering and mechanical maneuvering under a fixed coordinate system;
coordinates of row dispersed points in a fixed coordinate system
Figure FDA0002601060710000031
Figure FDA0002601060710000032
Figure FDA0002601060710000033
Figure FDA0002601060710000034
Figure FDA0002601060710000035
Coordinates of line scatter points in a fixed coordinate system and
Figure FDA0002601060710000036
Figure FDA0002601060710000037
Figure FDA0002601060710000038
Figure FDA0002601060710000039
Figure FDA00026010607100000310
coordinates of train maneuvering target point under fixed coordinate system
Figure FDA00026010607100000311
Figure FDA00026010607100000312
Coordinates of mobile maneuvering target point under fixed coordinate system
Figure FDA00026010607100000313
Figure FDA0002601060710000041
And 8: the master UUV sends the maneuvering target point information of each stage to all the slave UUV, and after all the slave UUV feeds back the information of the four maneuvering target points, step 9 is executed;
and step 9: the master UUV sends column dispersion instructions to all the slave UUV, all the slave UUV move from the current position to the column dispersion target point, and each slave UUV feeds back information to the master UUV after completing the column dispersion;
step 10: the master UUV judges whether all slave UUV complete the column dispersion; if the master UUV receives the feedback information that all the slave UUV complete the column dispersion within the specified time, executing step 11; otherwise, the formation of the formation is considered to be failed, the master UUV sends formation failure instructions to all the slave UUV, and the step 4 is returned after all the UUV stops;
step 11: the master UUV sends a line dispersion instruction to all the slave UUV, all the slave UUV move from the current position to a line dispersion target point, and each slave UUV feeds back information to the master UUV after completing the line dispersion;
step 12: the master UUV judges whether all slave UUV complete line dispersion; if the master UUV receives the feedback information that all the slave UUV complete the line dispersion within the specified time, executing step 13; otherwise, the formation of the formation is considered to be failed, the master UUV sends formation failure instructions to all slave UUV, and the step 4 is returned after all UUV are stopped;
step 13: the master UUV sends a train maneuvering instruction to all the slave UUV, all the slave UUV move to a train maneuvering target point from the current position, and each slave UUV feeds back information to the master UUV after finishing train maneuvering;
step 14: the master UUV judges whether all slave UUV complete the train maneuver; if the master UUV receives the feedback information that all slave UUV complete the train maneuver within the specified time, executing step 15; otherwise, the formation of the formation is considered to be failed, the master UUV sends formation failure instructions to all slave UUV, and the step 4 is returned after all UUV are stopped;
step 15: the master UUV sends a mechanical action command to all the slave UUV, all the slave UUV move to a mechanical action target point from the current position, and each slave UUV feeds back information to the master UUV after completing the mechanical action;
step 16: the master UUV judges whether all slave UUV complete the maneuver; if the master UUV receives the feedback information of all slave UUV completion row maneuvers within the specified time, executing step 17; otherwise, the formation of the formation is considered to be failed, the master UUV sends formation failure instructions to all the slave UUV, and the step 4 is returned after all the UUV stops;
and step 17: and the master UUV sends the formation to all the slave UUV to form a success instruction, and all the UUV keep a fixed point and a fixed heading to finish the formation of the UUV cluster formation.
CN202010724118.4A 2020-07-24 2020-07-24 Large-scale UUV cluster formation method based on grid method Active CN111930116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010724118.4A CN111930116B (en) 2020-07-24 2020-07-24 Large-scale UUV cluster formation method based on grid method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010724118.4A CN111930116B (en) 2020-07-24 2020-07-24 Large-scale UUV cluster formation method based on grid method

Publications (2)

Publication Number Publication Date
CN111930116A CN111930116A (en) 2020-11-13
CN111930116B true CN111930116B (en) 2022-10-14

Family

ID=73315472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010724118.4A Active CN111930116B (en) 2020-07-24 2020-07-24 Large-scale UUV cluster formation method based on grid method

Country Status (1)

Country Link
CN (1) CN111930116B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022152504A (en) * 2021-03-29 2022-10-12 クラスターダイナミクス株式会社 Mobile body control device and control method, and mobile body

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104685432A (en) * 2012-05-01 2015-06-03 5D机器人公司 Distributed Localization and Cooperative Behavior Assays
CN106950970A (en) * 2017-05-05 2017-07-14 东华大学 A kind of multirobot collaboration formation method based on client server architecture
CN107133416A (en) * 2017-05-24 2017-09-05 西北工业大学 A kind of multi-level confusion type Immune agent structure modelling methods of UUV
WO2017210365A1 (en) * 2016-05-31 2017-12-07 Lockheed Martin Corporation Magneto-optical detecting apparatus and methods
CN108663938A (en) * 2018-05-25 2018-10-16 哈尔滨工程大学 A kind of UUV cluster-coordinator control methods considering communication topological transformation
CN108663939A (en) * 2018-06-12 2018-10-16 哈尔滨工程大学 Consider the UUV level of constellation face path tracking control method of communication packet loss
CN108681321A (en) * 2018-04-10 2018-10-19 华南理工大学 An underwater detection method for cooperative formation of unmanned ships
CN108829132A (en) * 2018-06-12 2018-11-16 哈尔滨工程大学 A kind of more UUV space maneuver control methods considering large dead time
CN110580057A (en) * 2019-09-26 2019-12-17 哈尔滨工程大学 A UUV cluster formation formation method based on circular hierarchical planning
CN110609552A (en) * 2019-09-12 2019-12-24 哈尔滨工程大学 An underwater unmanned vehicle formation plane track planning method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068415A1 (en) * 2002-04-22 2004-04-08 Neal Solomon System, methods and apparatus for coordination of and targeting for mobile robotic vehicles
US9036452B2 (en) * 2011-05-06 2015-05-19 Hadal, Inc. Systems and methods for seismic survey
CN103863948B (en) * 2014-03-24 2015-09-30 合肥工业大学 A kind of crane works in coordination with the Navigation Control Unit of carrying and the method for Navigation Control
US10183732B2 (en) * 2015-04-09 2019-01-22 University of New Hamphire Pose detection and control of unmanned underwater vehicles (UUVs) utilizing an optical detector array
DE102015212932A1 (en) * 2015-07-10 2017-01-12 Kuka Roboter Gmbh Method for controlling a robot and / or an autonomous driverless transport system
KR101695557B1 (en) * 2015-07-17 2017-01-24 고려대학교 산학협력단 Automated guided vehicle system based on autonomous mobile technique and a method for controlling the same
CN111207754A (en) * 2020-02-28 2020-05-29 上海交通大学 Multi-robot formation positioning method and robot equipment based on particle filter

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104685432A (en) * 2012-05-01 2015-06-03 5D机器人公司 Distributed Localization and Cooperative Behavior Assays
WO2017210365A1 (en) * 2016-05-31 2017-12-07 Lockheed Martin Corporation Magneto-optical detecting apparatus and methods
CN106950970A (en) * 2017-05-05 2017-07-14 东华大学 A kind of multirobot collaboration formation method based on client server architecture
CN107133416A (en) * 2017-05-24 2017-09-05 西北工业大学 A kind of multi-level confusion type Immune agent structure modelling methods of UUV
CN108681321A (en) * 2018-04-10 2018-10-19 华南理工大学 An underwater detection method for cooperative formation of unmanned ships
CN108663938A (en) * 2018-05-25 2018-10-16 哈尔滨工程大学 A kind of UUV cluster-coordinator control methods considering communication topological transformation
CN108663939A (en) * 2018-06-12 2018-10-16 哈尔滨工程大学 Consider the UUV level of constellation face path tracking control method of communication packet loss
CN108829132A (en) * 2018-06-12 2018-11-16 哈尔滨工程大学 A kind of more UUV space maneuver control methods considering large dead time
CN110609552A (en) * 2019-09-12 2019-12-24 哈尔滨工程大学 An underwater unmanned vehicle formation plane track planning method
CN110580057A (en) * 2019-09-26 2019-12-17 哈尔滨工程大学 A UUV cluster formation formation method based on circular hierarchical planning

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A Formation-Constrained Cooperative Path Planning Method for Multi-Autonomous Underwater Vehicles;Shuangshuang DU,等;《2017 International Conference on Computing Intelligence and Information System》;20171231;第313-319页 *
基于人工势场法的AUV避障算法研究综述;郭银景,等;《计算机工程与应用》;20200130;第16-23页 *

Also Published As

Publication number Publication date
CN111930116A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
Tong et al. A hybrid formation path planning based on A* and multi-target improved artificial potential field algorithm in the 2D random environments
CN111813121B (en) Multi-robot formation obstacle avoidance method based on distance-angle priority
CN107491086B (en) Unmanned aerial vehicle formation obstacle avoidance method and system under time-varying network topology
CN111563188B (en) A mobile multi-agent cooperative target search method
CN104216382B (en) Spatial small aircraft formation flying control system
CN108845588B (en) Trajectory tracking control method of four-rotor aircraft based on nonlinear guidance
CN110231821B (en) Improved self-adaptive zero-space behavior fusion method for multi-robot formation
CN110580057B (en) UUV cluster formation method based on circumference layered planning
CN111930116B (en) Large-scale UUV cluster formation method based on grid method
CN112731942A (en) Multi-AUV formation control method based on improved navigator virtual structure method
CN114935943A (en) Unmanned aerial vehicle and unmanned vehicle cluster formation tracking control method and system
Wang et al. Intelligent welding robot path optimization based on discrete elite PSO
CN114115341A (en) A method and system for cooperative motion of an agent cluster
Shang et al. Collaborative path planning of multiple carrier-based aircraft based on multi-agent reinforcement learning
CN116788524B (en) A TD3 soft reinforcement learning spacecraft attitude control method and computer-readable medium
CN108958202B (en) A method for multi-robot collaborative exploration
CN117068394A (en) A three-party orbit game control method based on pulse control
CN115657686B (en) Multi-robot formation control method based on Backstepping
CN110861089A (en) Task balanced distribution cooperative work control method for multi-robot system
CN114859979B (en) Unmanned aerial vehicle cluster autonomous cooperative reconnaissance time resource distributed distribution method and system
CN114879664B (en) AUV formation method, device, computer system and readable storage medium
CN109886574B (en) Multi-robot task allocation method based on improved threshold method
CN113296509B (en) Autonomous trajectory tracking fusion control method for unmanned surface vessel
Jiang et al. Formation flight control and cooperative obstacle avoidance of multiple UAVs
CN108446497A (en) A kind of carrier-borne aircraft collective motion modeling and simulating method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant