An underwater formation control method, system and medium based on artificial potential field method

By introducing virtual target points and rotation factors into underwater formation control, and using the improved repulsive potential field method, local minima and oscillation problems are solved, the stability and rapidity of the formation are improved, and control in complex environments is achieved. Effective obstacle avoidance and formation maintenance.

CN114859945BActive Publication Date: 2024-09-13XIAMEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210581854.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-26
Publication Date
2024-09-13
Estimated Expiration
2042-05-26

AI Technical Summary

Technical Problem

In the existing technology, the artificial potential field method is difficult to avoid local minima and local oscillation problems in underwater formation control, resulting in increased AUV energy consumption and formation instability.

Method used

By introducing virtual target points and rotation factors, using the leader-follower mode and the improved repulsive potential field method, escape forces and rotation factors are provided to avoid local minima and oscillations, ensuring the stability and rapidity of the formation.

Benefits of technology

It improves the flexibility and speed of the formation, reduces the energy consumption of AUVs, and ensures that the formation can effectively avoid obstacles and maintain formation in complex underwater environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114859945B
    Figure CN114859945B
Patent Text Reader

Abstract

The present application proposes an underwater formation control method, system and medium based on the artificial potential field method, including: S1, determining the formation information of the underwater AUV formation; S2, calculating each virtual target point corresponding to the formation according to the position of the leader AUV and the formation information, and sending motion state information to the follower AUV, so that the follower AUV follows the leader AUV to move to the corresponding virtual target point; S3, each AUV in the underwater AUV formation determines whether it encounters an obstacle, if it encounters an obstacle and falls into a local minimum situation, execute step S4; if it encounters an obstacle and falls into a local oscillation situation, execute step S5; S4, provide an escape force perpendicular to the direction of the resultant force received by the current AUV; S5, introduce a rotation factor in the repulsive force received by the current AUV from the obstacle. The present application uses an improved artificial potential field method, so that the AUV can get rid of the local minimum and local oscillation when encountering an obstacle, and achieve the task of formation formation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of cluster formation, and in particular to an underwater formation control method, system and medium based on an artificial potential field method. Background Art

[0002] An autonomous underwater vehicle (AUV) is an intelligent robot that can complete underwater tasks without an operator. In recent years, it has been widely used in military and civilian fields. However, with the deepening of ocean exploration, it is often difficult for a single AUV to complete tasks in large-scale, high-efficiency ocean tasks. In this demand context, the research on multi-AUV collaborative operation systems has been included in the research plans of scientific research institutions in various countries. The formation collaboration technology of the multi-AUV system enables the AUVs in the cluster to collaborate with each other and complete tasks together.

[0003] At present, there are a lot of researches on AUV clusters in path tracking, formation control and collaborative roundup. Formation control is a key issue in formation control. Its purpose is to enable cluster AUVs to form and maintain a specific geometric formation to adapt to or meet the work tasks in a specific environment. The existing formation control methods mainly include: virtual structure method, behavior-based method, leader-follower method and artificial potential field method. However, formation control problems are often accompanied by obstacle avoidance and collision problems. At the same time, cluster AUVs must maintain formation after avoiding obstacles.

[0004] In the complex and unknown underwater environment of the ocean, AUVs are unable to grasp the global obstacle information in most cases. AUVs need to detect obstacles in time within the target detection range and make corresponding obstacle avoidance actions. As a reactive formation control algorithm for obstacle avoidance, the artificial potential field method is particularly suitable for real-time systems in large-scale, unknown environments and dynamic areas. The basic idea of ​​the artificial potential field method is to assume that the motion space of the AUV is in an artificial potential field, which consists of the gravitational potential field provided by the target point and the repulsive potential field provided by the obstacle. When the AUV is moving, it will move in the direction of the negative gradient of the potential field, so as to ensure that no collision between aircraft and obstacle collisions are caused during the formation of the formation, and to complete effective collision avoidance formation control. However, the artificial potential field method is difficult to design in the definition of the potential field function, and it is necessary to consider the local minimum, that is, the AUV reaches a stable state at the position of the non-target point. When there are many potential fields, it is easy to cause the AUV to reciprocate in a small range, increase the energy consumption of the AUV, that is, the local oscillation problem. Summary of the invention

[0005] In order to solve the technical problem of local minima and local oscillation in the prior art when using the artificial potential field method to control underwater formations, the present application proposes an underwater formation control method, system and medium based on the artificial potential field method.

[0006] According to the first aspect of the present application, a method for controlling an underwater formation based on an artificial potential field method is proposed, comprising the following steps:

[0007] S1. Determine formation information of an underwater AUV formation, wherein the formation information includes a desired formation shape and a leader-follower formation mode;

[0008] S2. Calculate each virtual target point corresponding to the formation according to the position of the leader AUV and the formation information, and send motion state information to the follower AUV, so that the follower AUV follows the leader AUV to move to the corresponding virtual target point, thereby reaching the desired position of the formation and maintaining the formation;

[0009] S3, each AUV in the underwater AUV formation determines whether it encounters an obstacle, and if it encounters an obstacle and falls into a local minimum situation, executes step S4; if it encounters an obstacle and falls into a local oscillation situation, executes step S5;

[0010] S4, providing an escape force perpendicular to the direction of the resultant force on the current AUV, so that the current AUV escapes from the local minimum state;

[0011] S5. Introduce a rotation factor into the repulsive force from the obstacle on the current AUV, so that the current AUV moves in a circle around the obstacle and escapes from the local oscillation.

[0012] Preferably, the step S4 specifically includes: defining the gravitational potential field generated by the virtual target point on the AUV, wherein the negative gradient of the gravitational potential field is the gravitational force F generated by the virtual target point on the AUV. att , the gravitational equation F att (q,t) is defined as follows:

[0013] F att (q,t)=ξ||ρ(q,t)||·n t +F ex (q)·κ

[0014]

[0015] Among them, ξ is the gravitational potential field scale factor, ||ρ(q,t)|| is the distance between the target point and the AUV, is the unit vector from the target point to the AUV, F ex (q) is the instantaneous vertical escape force;

[0016] If the current AUV falls into the local minimum, κ takes 1, thereby applying the escape force F ex (q).

[0017] Preferably, the process of introducing the rotation factor in step S5 specifically includes: defining a repulsive potential field generated by the obstacle on the AUV, wherein the negative gradient of the repulsive potential field is the repulsive force F of the obstacle on the AUV. reps , repulsion equation F reps (q,o) is defined as follows:

[0018]

[0019] Among them, U reps (q) is the repulsive potential field equation, ||ρ(q,o)|| is the distance between the obstacle and the AUV, η represents the scale factor of the repulsive potential field, ρ max is the maximum distance that the AUV can detect obstacles, is the unit vector from the obstacle to the AUV;

[0020] In the repulsive force F reps Introduce the rotation factor:

[0021]

[0022] e iθ =cosθ+isinθ

[0023]

[0024] in, is the repulsive force after the rotation factor is introduced, e iθ is the rotation factor, θ is the repulsive force F reps The rotation angle, ψ is the repulsive force F reps and gravity F att The angle of α∈[-π,π], β∈[-π,π].

[0025] Preferably, the motion state information in step S2 specifically includes: the position of the virtual target point and the own speed of the pilot AUV.

[0026] Preferably, the leader AUV broadcasts the status information to the follower AUV via hydroacoustic communication.

[0027] Preferably, the formation is constructed using a virtual structure method.

[0028] According to the second aspect of the present application, an underwater formation control system based on an artificial potential field method is proposed, comprising:

[0029] a formation information determination module configured to determine formation information of an underwater AUV formation, the formation information including a desired formation shape and a leader-follower formation mode;

[0030] A formation control module is configured to calculate each virtual target point corresponding to the formation according to the position of the leader AUV and the formation information, and send motion state information to the follower AUV, so that the follower AUV follows the leader AUV to move to the corresponding virtual target point, thereby reaching the desired position of the formation and maintaining the formation;

[0031] The obstacle avoidance module is configured to respond to whether each AUV in the underwater AUV formation encounters an obstacle. If the AUV encounters an obstacle and falls into a local minimum, an escape force perpendicular to the direction of the resultant force received by the current AUV is provided to enable the current AUV to escape from the local minimum. If the AUV encounters an obstacle and falls into a local oscillation, a rotation factor is introduced into the repulsive force received by the current AUV from the obstacle to enable the current AUV to move in a circle around the obstacle and escape from the local oscillation.

[0032] According to a third aspect of the present application, a computer-readable storage medium is proposed, which stores a computer program. When the computer program is executed by a processor, it implements the underwater formation control method based on the artificial potential field method as described in the first aspect of the present application.

[0033] The present application proposes an underwater formation control method, system and medium based on the artificial potential field method. First, through the leader-follower mode, the leader AUV broadcasts status information and provides the follower AUV with the coordinates and speed information of the virtual target point, so as to facilitate the follower AUV to perform underwater tracking. Secondly, by using the improved artificial potential field method, when encountering complex underwater obstacles, the improved repulsive potential field is applied, so that the AUV can successfully avoid obstacles when encountering local oscillations and local minima in an obstacle environment, thereby achieving the task of formation formation. Compared with the traditional formation control method, the present application improves the flexibility of the formation and increases the rapidity of formation formation. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings are included to provide a further understanding of the embodiments and are incorporated into and constitute a part of this specification. The accompanying drawings illustrate the embodiments and are used together with the description to explain the principles of the present application. It will be easy to recognize other embodiments and many expected advantages of the embodiments because they become better understood by reference to the following detailed description. The elements of the drawings are not necessarily to scale with each other. The same reference numerals refer to corresponding similar parts.

[0035] Figure 1 is a flow chart of an underwater formation control method based on an artificial potential field method according to an embodiment of the present application;

[0036] Figure 2is a schematic diagram of a situation where multiple AUVs encounter obstacles and fall into a local minimum according to a specific embodiment of the present application;

[0037] Figure 3 is a schematic diagram of a situation where multiple AUVs encounter obstacles and fall into local oscillation according to a specific embodiment of the present application;

[0038] Figure 4 This is a force analysis diagram of an AUV after introducing a repulsive potential field rotation factor according to a specific embodiment of the present application;

[0039] Figure 5 is a trajectory diagram of an underwater AUV formation in an obstacle environment according to a specific embodiment of the present application;

[0040] Figure 6 is an error curve diagram of an underwater AUV formation in an obstacle environment according to a specific embodiment of the present application;

[0041] Figure 7 It is a block diagram of an underwater formation control system based on the artificial potential field method according to an embodiment of the present application.

[0042] Explanation of the accompanying drawings: 1. Formation information determination module; 2. Formation formation control module; 3. Obstacle avoidance module. DETAILED DESCRIPTION

[0043] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present application and are not configured to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0044] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0045] According to the first aspect of the present application, a method for underwater formation control based on an artificial potential field method is proposed. Figure 1 FIG. 4 shows a flow chart of an underwater formation control method based on an artificial potential field method according to an embodiment of the present application. Figure 1 As shown, the control method includes the following steps:

[0046] S1. Determine formation information of the underwater AUV formation, where the formation information includes a desired formation shape and a leader-follower formation mode;

[0047] S2. Calculate each virtual target point corresponding to the formation according to the position of the leader AUV and the formation information, and send motion state information to the follower AUV, so that the follower AUV follows the leader AUV to move to the corresponding virtual target point, thereby reaching the desired position of the formation and maintaining the formation;

[0048] S3, each AUV in the underwater AUV formation determines whether it encounters an obstacle. If it encounters an obstacle and falls into a local minimum, it executes step S4; if it encounters an obstacle and falls into a local oscillation, it executes step S5; if it does not encounter an obstacle, it executes step S6;

[0049] S4, providing an escape force perpendicular to the direction of the resultant force on the current AUV, so that the current AUV escapes from the local minimum, and executing step S6;

[0050] S5, introducing a rotation factor into the repulsive force from the obstacle on the current AUV, so that the current AUV moves in a circle around the obstacle and escapes from the local oscillation, and executing step S6;

[0051] S6. Each AUV in the underwater AUV formation moves toward the virtual target point under the action of the combined force.

[0052] In a specific embodiment, in the leader-follower formation mode, the underwater AUV formation includes a leader AUV and one, two, or more follower AUVs. The leader AUV acts as a decision-making center, issues instructions such as tracking, formation, and formation change according to mission requirements, and performs cruise missions along the specified trajectory route. The formation of the underwater AUV formation is constructed by the virtual structure method.

[0053] In a specific embodiment, the leader AUV calculates each virtual target point corresponding to the formation according to its own position and the desired formation. The leader AUV and the follower AUV have their own corresponding virtual target points. The leader AUV periodically broadcasts motion state information to the follower AUV through underwater acoustic communication to facilitate tracking by the follower AUV. The motion state information includes information such as the position of the virtual target point, the speed of the leader AUV, and the task decision of the underwater AUV formation. Broadcasting the position information of the virtual target points corresponding to each follower AUV is conducive to the formation of the underwater formation; broadcasting the speed information of the leader AUV is conducive to maintaining the consistency of the underwater formation information.

[0054] In order to introduce the content of this application in detail, some concepts will be explained or specified below:

[0055] Definition 1: Leader-Follower Model

[0056] The leader AUV acts as the decision-making center in this structure, issuing instructions such as tracking, formation, and formation change according to mission requirements, and performing cruise missions along the specified trajectory route. Based on the leader-follower mode, the use of the virtual structure method is more conducive to the construction of the formation. First, the leader AUV calculates the virtual target points corresponding to itself and each follower AUV according to the desired formation, and periodically broadcasts the status information corresponding to each virtual target point to the follower AUV through underwater acoustic communication. The status information includes the position and speed information of the virtual target point, as well as the mission decision of the underwater AUV formation. The follower AUV adjusts the speed and direction according to the received status information to reach the expected position of the formation, thereby maintaining the desired formation. It can be specifically expressed by the formula:

[0057] v i =v l +u i

[0058] Among them, v i represents the speed of the follower AUV, v l Indicates the speed of the leader AUV. i Represents the control input of the follower AUV in the formation.

[0059] Definition 2: Artificial Potential Field Method

[0060] The key to the artificial potential field method is to design the potential energy function. Different potential energy functions will result in different anti-collision effects between AUVs. The potential energy function must satisfy the properties of being differentiable and differentiable in order to prove that the control system satisfies Lyapunov stability. The potential energy function design equation is defined as follows:

[0061] U(q)=U att (q)+U reps (q)

[0062] Among them, U att (q) represents the gravitational potential field generated by the virtual target point on the AUV, U reps (q) represents the repulsive potential field generated by the obstacle on the AUV. The gravitational potential field is defined as follows:

[0063]

[0064] Among them, ξ is the gravitational potential field scale factor, and ||ρ(q,t)|| is the distance between the target point and the AUV.

[0065] The negative gradient of the gravitational potential field is the gravitational force F of the virtual target point on the AUV. att , the gravitational equation F att (q,t) is defined as follows:

[0066] F att (q,t)=ξ||ρ(q,t)||·n t +F ex (q)·κ

[0067]

[0068] Among them, F ex (q) is the instantaneous vertical escape force, is the unit vector from the target point to the AUV. When the AUV falls into a local minimum, κ takes 1 and the escape force F is activated. ex (q).

[0069] The repulsive potential field in the potential energy function can realize collisions between AUVs and obstacles. reps (q) is defined as follows:

[0070]

[0071] Among them, η represents the scale factor of the repulsive potential field, ρ max The maximum distance at which the AUV can detect obstacles.

[0072] The negative gradient of the repulsive potential field is the repulsive force F on the AUV. reps , repulsion equation F reps (q,o) is defined as follows:

[0073]

[0074] Where ||ρ(q,o)|| is the distance between the obstacle and the AUV, is the unit vector from the obstacle to the AUV.

[0075] The repulsive force currently applied to the AUV is the combined repulsive force generated by multiple obstacles (including other AUVs). Therefore, the combined force F applied to the AUV in the potential energy field is:

[0076]

[0077] To solve the problem of unreachable target, we introduce the repulsive potential field rotation factor e iθ , to eliminate the oscillation of AUV, the specific expression is as follows:

[0078]

[0079] in, is the repulsive force after the rotation factor is introduced, e iθ is the rotation factor, e iθ =cosθ+isinθ. θ is the repulsive force F reps The rotation angle, θ, is defined as follows:

[0080]

[0081] Where ψ is the repulsive force F reps and gravity F att The angle of α∈[-π,π], β∈[-π,π].

[0082] In order to make the purpose, scheme and advantages of the present application more clearly understood, the present application is further described below in combination with specific embodiments and with reference to the accompanying drawings.

[0083] Figure 2 A schematic diagram showing a situation where multiple AUVs encounter obstacles and fall into a local minimum according to a specific embodiment of the present application is shown. Figure 3 FIG. 1 shows a schematic diagram of a situation in which multiple AUVs encounter obstacles and fall into local oscillation according to a specific embodiment of the present application. Figure 2 , Figure 3 As shown in the figure, taking the formation of 1 leader AUV and 4 follower AUVs as an example, if the leader AUV falls into a local minimum, the entire underwater AUV formation will be trapped by obstacles and the formation mission will fail; if the follower AUV falls into local oscillation, it will cause a lot of unnecessary mechanical losses and energy consumption, and may even be trapped in obstacles.

[0084] Figure 4 FIG. 4 shows a force analysis diagram of an AUV after introducing a repulsive potential field rotation factor according to a specific embodiment of the present application, as shown in FIG. Figure 4 As shown in the figure, F is the resultant force that the AUV is expected to receive, and F reps For repulsion, is the repulsive force of the rotation factor, Fatt is the gravitational force, and α is the direction of the gravitational force in the xOy coordinate. Similarly, β is the direction of the repulsive force in the xOy coordinate. When the AUV encounters an obstacle and causes local oscillation, it can move in a circle around the obstacle, so the direction of the resultant force on the AUV must intersect with the repulsive force. To this end, without changing the original gravitational force, a rotation factor is added to the repulsive force so that the resultant force on the AUV intersects with the original repulsive force in the opposite direction. If the direction and magnitude of the resultant force F are to be uniquely determined, the following conditions must be met:

[0085] F rebs ≥F att ·sinα

[0086] From the cause of AUV motion oscillation, we can know that F rebs >F att , so the constraint is satisfied.

[0087] Figure 5 FIG. 1 shows a trajectory diagram of an underwater AUV formation in an obstacle environment according to a specific embodiment of the present application. Figure 6 FIG. 4 shows an error curve diagram of an underwater AUV formation in an obstacle environment according to a specific embodiment of the present application, as shown in FIG. Figure 5 , Figure 6 As shown in the figure, taking the formation of 1 leader AUV and 4 follower AUVs as an example, first, when the leader AUV encounters the first obstacle, it can smoothly bypass the obstacle, verifying the effectiveness of providing an escape force perpendicular to the direction of the resultant force on the AUV in solving the problem of being trapped in a local minimum. Secondly, from the trajectory of follower AUV-3, it can be seen that when follower AUV-3 encounters an obstacle, it can move in a circle around the obstacle until it escapes from the obstacle, verifying the effectiveness of introducing a rotation factor in the repulsive force on the AUV in solving the problem of being trapped in a local oscillation. Finally, follower AUV-3 and follower AUV-4 encountered obstacles at 25s and 28s respectively, and the position error between themselves and the virtual target point gradually increased, and gradually converged to 0 after 35s, proving the effectiveness of this formation method.

[0088] The beneficial effects of the embodiments of the present application are: based on the artificial potential field method underwater formation control technology, using the leader-follower formation mode, the underwater AUV formation can efficiently process formation information and maintain the consistency of the formation. On this basis, the improved artificial potential field method is applied to solve the local oscillation and local minimum value problems caused by complex obstacles encountered during the formation task, improve the flexibility of the formation, and increase the rapidity of formation formation.

[0089] According to the second aspect of the present application, an underwater formation control system based on an artificial potential field method is proposed, and the control system is built based on the above-mentioned control method. Figure 7 FIG. 4 shows a block diagram of an underwater formation control system based on an artificial potential field method according to an embodiment of the present application. Figure 7 As shown, the control system includes:

[0090] A formation information determination module 1 is configured to determine formation information of an underwater AUV formation, the formation information including a desired formation formation and a leader-follower formation mode;

[0091] The formation control module 2 is configured to calculate each virtual target point corresponding to the formation according to the position of the leader AUV and the formation information, and send motion state information to the follower AUV, so that the follower AUV follows the leader AUV to move to the corresponding virtual target point, thereby reaching the desired position of the formation and maintaining the formation;

[0092] The obstacle avoidance module 3 is configured to respond to whether each AUV in the underwater AUV formation encounters an obstacle. If an obstacle is encountered and the AUV falls into a local minimum, an escape force perpendicular to the direction of the resultant force received by the current AUV is provided to enable the current AUV to escape from the local minimum. If an obstacle is encountered and the AUV falls into a local oscillation, a rotation factor is introduced into the repulsive force received by the current AUV from the obstacle to enable the current AUV to move in a circle around the obstacle and escape from the local oscillation.

[0093] According to a third aspect of the present application, a computer-readable storage medium is proposed, which stores a computer program. When the computer program is executed by a processor, it implements the underwater formation control method based on the artificial potential field method as described in the first aspect of the present application.

[0094] The present application proposes an underwater formation control method, system and medium based on the artificial potential field method. First, through the leader-follower formation mode, the leader AUV broadcasts motion status information, provides the follower AUV with the coordinate information of the virtual target point and the leader AUV's own speed information, and facilitates the follower AUV to perform underwater tracking. Secondly, the artificial potential field method is used to control the follower AUV to move to their respective virtual target points to complete the formation formation control task. Since complex underwater obstacles will be encountered in the process of forming a formation, the application of an improved repulsive potential field can enable the follower AUV to successfully avoid obstacles when encountering local oscillations and local minima in an obstacle environment, thereby achieving the task of formation formation. Compared with traditional formation control methods, the control method of the present application improves the flexibility of the formation and increases the rapidity of formation formation.

[0095] In the embodiments of the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device / system / method embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0096] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0097] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0098] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0099] Obviously, those skilled in the art can make various modifications and changes to the embodiments of the present application without departing from the spirit and scope of the present application. In this way, if these modifications and changes are within the scope of the claims of the present application and their equivalents, the present application is also intended to cover these modifications and changes. The word "comprising" does not exclude the presence of other elements or steps not listed in the claims. The simple fact that certain measures are recorded in mutually different dependent claims does not indicate that the combination of these measures cannot be used to profit. Any figure mark in the claims should not be considered to limit the scope.

Claims

1. An underwater formation control method based on artificial potential field method, characterized in that: The following steps are involved: S1. Determine formation information of an underwater AUV formation, wherein the formation information includes a desired formation shape and a leader-follower formation mode; S2. Calculate each virtual target point corresponding to the formation according to the position of the leader AUV and the formation information, and send motion state information to the follower AUV, so that the follower AUV follows the leader AUV to move to the corresponding virtual target point, thereby reaching the desired position of the formation and maintaining the formation; S3, each AUV in the underwater AUV formation determines whether it encounters an obstacle, and if it encounters an obstacle and falls into a local minimum situation, executes step S4; if it encounters an obstacle and falls into a local oscillation situation, executes step S5; S4, providing an escape force perpendicular to the direction of the resultant force on the current AUV, so that the current AUV escapes from the local minimum state; S5. At the current moment, the AUV is subject to the repulsive force F from the obstacle. reps Introduce the rotation factor e iθ : in, is the repulsive force after the rotation factor is introduced, e iθ is the rotation factor, θ is the repulsive force F reps The rotation angle, ψ is the repulsive force F reps and gravity F att The angles α∈[-π,π] and β∈[-π,π] are set so that the current AUV can make a circular motion around the obstacle and escape from the local oscillation.

2. The underwater formation control method based on the artificial potential field method according to claim 1 is characterized in that: The step S4 specifically includes: defining the gravitational potential field generated by the virtual target point on the AUV, wherein the negative gradient of the gravitational potential field is the gravitational force F generated by the virtual target point on the AUV. att , the gravitational equation F att (q,t) is defined as follows: F att (q,t)=ξ||ρ(q,t)||·n t +F ex (q)·κ Where ξ is the gravitational potential field scale factor, ‖ρ(q,t)‖ is the distance between the target point and the AUV, and n t is the unit vector from the target point to the AUV, F ex (q) is the instantaneous vertical escape force; If the current AUV falls into the local minimum, κ takes 1, thereby applying the escape force F ex (q).

3. The underwater formation control method based on artificial potential field method according to claim 1 is characterized in that: Define the repulsive potential field generated by the obstacle on the AUV, the negative gradient of the repulsive potential field is the repulsive force F exerted on the AUV by the obstacle reps , repulsion equation F reps (q,o) is defined as follows: Among them, U reps (q) is the repulsive potential field equation, η represents the scale factor of the repulsive potential field, ρ max is the maximum distance that the AUV can detect obstacles, is the unit vector from the obstacle to the AUV.

4. The underwater formation control method based on artificial potential field method according to claim 1 is characterized in that: The motion state information in step S2 specifically includes: the position of the virtual target point and the speed of the pilot AUV.

5. The underwater formation control method based on artificial potential field method according to claim 1, characterized in that: The leader AUV broadcasts the status information to the follower AUV via hydroacoustic communication.

6. The underwater formation control method based on artificial potential field method according to claim 1, characterized in that: The formation is constructed by using a virtual structure method.

7. An underwater formation control system based on artificial potential field method, characterized in that: include: a formation information determination module configured to determine formation information of an underwater AUV formation, the formation information including a desired formation shape and a leader-follower formation mode; A formation control module is configured to calculate each virtual target point corresponding to the formation according to the position of the leader AUV and the formation information, and send motion state information to the follower AUV, so that the follower AUV follows the leader AUV to move to the corresponding virtual target point, thereby reaching the desired position of the formation and maintaining the formation; The obstacle avoidance module is configured to respond to whether each AUV in the underwater AUV formation encounters an obstacle. If the AUV encounters an obstacle and falls into a local minimum, an escape force perpendicular to the direction of the resultant force received by the current AUV is provided to enable the current AUV to escape from the local minimum. If the AUV encounters an obstacle and falls into a local oscillation, a rotation factor e is introduced into the repulsive force received by the current AUV from the obstacle. iθ : e iθ =cosθ+isinθ, in, is the repulsive force after the rotation factor is introduced, e iθ is the rotation factor, θ is the repulsive force F reps The rotation angle, ψ is the repulsive force F reps and gravity F att The angles α∈[-π,π] and β∈[-π,π] are set so that the current AUV can make a circular motion around the obstacle and escape from the local oscillation.

8. A computer-readable storage medium storing a computer program, wherein the computer program implements the method according to any one of claims 1 to 6 when executed by a processor.