A motion optimization method for underwater vehicle manipulator based on backbone particle swarm optimization algorithm

By using an improved particle swarm algorithm with a non-feasible solution reserve set, adaptive perturbation and mutation strategies in the underwater vehicle-manipulator movement optimization, the problem of large resistance and disturbance in the underwater vehicle-manipulator movement was solved, and the system was improved. It improves work efficiency and stability and avoids falling into local optimality.

CN116776719BActive Publication Date: 2024-09-06HARBIN ENG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310562089.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-18
Publication Date
2024-09-06
Estimated Expiration
2043-05-18

AI Technical Summary

Technical Problem

The underwater vehicle-manipulator has problems such as large resistance during movement and large disturbance to the hull caused by the operation of the manipulator. The traditional backbone particle swarm optimization algorithm is prone to losing population diversity and falling into premature convergence.

Method used

Using a non-feasible solution reserve set and a time-varying constraint violation tolerance coefficient, combined with the backbone differential particle update and adaptive mutation strategy of adaptive perturbation, the particle swarm algorithm is improved to optimize the movement distance and resistance of the underwater vehicle-manipulator and avoid local maximum Yuu fell into it.

Benefits of technology

It improves the search capability and convergence of the algorithm in infeasible areas, enhances the efficiency and stability of the underwater vehicle-manipulator system, and avoids the problem of particle swarms falling into local optimality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116776719B
    Figure CN116776719B
Patent Text Reader

Abstract

The present invention is an underwater vehicle manipulator motion optimization method based on a backbone particle swarm optimization algorithm. The present invention relates to the technical field of underwater vehicle-manipulator system operation optimization. The present invention constructs a reserve set of infeasible solutions to allow a part of infeasible solutions to participate in the evolution process, and adopts a time-varying constraint violation tolerance coefficient to improve the algorithm's searchability in infeasible areas, thereby improving the algorithm's ability to search for discrete feasible solutions in infeasible areas and improving the algorithm's convergence. The present invention adopts a backbone differential particle update based on adaptive perturbation, utilizes more particle information, avoids the problem that the particle swarm is easily trapped in the local optimum, and ensures the diversity of the population in the evolution process through adaptive perturbation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of underwater vehicle-manipulator system operation optimization, and is an underwater vehicle manipulator motion optimization method based on a backbone particle swarm optimization algorithm. Background Art

[0002] In order to meet the strategic needs of exploring and developing marine resources and developing deep-sea operation technology, and further develop the basic strategy of a strong marine nation, the Underwater Vehicle-Manipulator System (UVMS) has become a more effective means of underwater operations at this stage. It can replace frogmen to meet the needs of deep-sea operations, realize continuous operations in a large range of deep seas, and can more effectively develop marine resources and meet the needs of operations in complex environments.

[0003] At present, underwater vehicle-manipulators have the problems of large resistance during the movement of the hull and large disturbance to the hull during the operation of the manipulator. Therefore, the optimization of underwater vehicle-manipulators mainly focuses on the optimization of the operation distance, the disturbance of the hull by the manipulator operation, and the resistance of the underwater vehicle-manipulator movement process.

[0004] The motion optimization process of an underwater vehicle-manipulator is actually a constrained multi-objective function solving process. For the constrained multi-objective function solving process in the optimization process, a backbone particle swarm optimization algorithm with few parameters is often used. However, the traditional backbone particle swarm algorithm has the disadvantages of easily losing population diversity and falling into premature convergence. In this regard, the present invention proposes an improved backbone particle swarm optimization algorithm with good diversity, convergence and the ability to avoid falling into local optimality to achieve motion optimization of an underwater vehicle-manipulator. Summary of the invention

[0005] In order to overcome the shortcomings of the prior art, the present invention provides a method for motion optimization of the operating distance, the disturbance of the manipulator operation on the hull and the resistance of the underwater vehicle-manipulator movement process, and a multi-objective optimization motion optimization method that can improve the working efficiency, system stability and energy consumption of the underwater vehicle-manipulator system.

[0006] It should be noted that, in the present invention, 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.

[0007] The present invention provides a method for optimizing the motion of an underwater vehicle manipulator based on a backbone particle swarm optimization algorithm. The present invention provides the following technical solutions:

[0008] A method for optimizing the motion of an underwater vehicle manipulator based on a backbone particle swarm optimization algorithm, the method comprising the following steps:

[0009] Step 1: Conduct mathematical modeling of the underwater vehicle-manipulator;

[0010] Step 2: Establish a multi-objective optimal trajectory mathematical model for the underwater vehicle-manipulator;

[0011] Step 3: Establish safety constraints for the underwater vehicle-manipulator;

[0012] Step 4: Optimize the underwater vehicle-manipulator motion based on the particle swarm algorithm.

[0013] Preferably, the step 1 is specifically:

[0014] When the initial angles of n joints and the position and attitude angles of the underwater vehicle are known, the position and attitude of the manipulator end effector in the world coordinate system are obtained by coordinate transformation. Through the coordinate system and the Jacobian matrix of the manipulator, the differential inverse kinematics equation of the underwater vehicle-manipulator is obtained as follows:

[0015]

[0016] Among them, W -1 =diag(w1,w2,…,w n ) is a diagonal weighted matrix, is the Jacobian weighted pseudo-inverse matrix, λ is the gain coefficient, represents the gradient of the objective function h(q) under the joint configuration, It represents the conversion relationship between the position information of the underwater vehicle-manipulator system and the position information of the manipulator end effector.

[0017] Preferably, the step 2 is specifically:

[0018] Step 2.1: After the underwater vehicle-manipulator finds the target through the visual system, it reaches the target grasping point within the manipulator's workspace through the movement of the hull, and grasps the target object at the target grasping point through the movement of the manipulator. In this process, the manipulator posture q(q1,q2,q3) of the underwater vehicle-manipulator when grasping the target is set, and the coordinates of the target grasping point in the basic coordinate system are pos arrive =(p1,p2,p3), then the optimization objective function of the underwater vehicle-manipulator's hull movement distance during the mission is obtained as:

[0019]

[0020] Step 2.1: To make the disturbance of the manipulator to the hull optimal, the restoring force generated during the movement of the i-th link of the manipulator is expressed in the inertial coordinate system as follows:

[0021]

[0022] In the formula, is the buoyancy of the ith connecting rod, is the gravity of the ith connecting rod, m i and F bi are the mass and buoyancy of the i-th link of the manipulator, Represents the rotation matrix from the i-th link coordinate system to the hull coordinate system;

[0023] The expression of the restoring torque generated during the motion of the i-th connecting rod in the hull coordinate system is:

[0024]

[0025] In the formula, and are the positions of the center of gravity and center of buoyancy of the i-th link of the manipulator in the hull coordinate system, is the transformation matrix from the i-th link coordinate system to the hull coordinate system, r g and r b are the positions of the center of gravity and center of buoyancy of the i-th generalized link of the manipulator in its own reference system;

[0026] The objective function of restoring torque optimization of the manipulator during motion is:

[0027]

[0028] Step 2.3: Make the resistance of the underwater vehicle-manipulator movement process optimal. The inertial resistance of the hull during the movement is:

[0029]

[0030] in, They represent the variable speed movement along the x, y, and z directions of the hull coordinate system, respectively. Respectively represent the variable speed rotational motion along the x, y, and z directions of the hull coordinate system; λ ij It means acceleration motion in the i direction and additional mass in the j direction;

[0031] The viscous resistance of the boat during movement is:

[0032]

[0033] Where ρ is the density of water; C D is the viscous drag coefficient; R n is the Reynolds number; A is the projected cross-sectional area of ​​the hull in the direction of velocity; v i is the speed of the boat in each degree of freedom;

[0034] The total resistance encountered by the boat during its motion is:

[0035]

[0036] The inertial resistance of any connecting rod of the manipulator during movement is:

[0037]

[0038] Where ρ is the density of water; D i is the diameter of the i-th connecting rod; L i is the length of the i-th connecting rod; q i is the angle of the i-th connecting rod; C a is the inertial drag coefficient of the i-th connecting rod;

[0039] The viscous resistance of any connecting rod of the manipulator during movement is:

[0040]

[0041] Where ρ is the density of water; D i is the diameter of the i-th connecting rod; L i is the length of the i-th connecting rod; q i is the angle of the i-th connecting rod; C d is the viscous drag coefficient of the i-th connecting rod; V is the water flow velocity in the fixed coordinate system;

[0042] The total resistance encountered by the manipulator during its motion is:

[0043]

[0044] The optimization objective function of the resistance that UVMS encounters during movement is:

[0045] minf3(q1,q2,q3)=F V +F m .

[0046] Preferably, the step 3 is specifically:

[0047] According to the operation of the underwater vehicle-manipulator, safety constraints are imposed on the hull, manipulator and field of view respectively. The expressions are as follows:

[0048]

[0049] Where H(t) represents the height distance between the underwater vehicle-manipulator and the seabed, H max , H min They represent the maximum and minimum height distances between the underwater vehicle and the seabed during the grasping task of the underwater vehicle-manipulator respectively;

[0050] The manipulator of the underwater vehicle-manipulator needs to keep each joint within a well-defined range during the operation task to prevent the joint from exceeding its structural limitations during movement. The expression is as follows:

[0051]

[0052] In the formula, q imax ,q imin (i=1,2,…,n) are the upper and lower limits of the joint motion range respectively; are the upper and lower limits of the joint angular velocity, respectively; are the upper and lower limits of the joint angular acceleration respectively;

[0053] When the underwater vehicle-manipulator approaches the target object through the movement of the boat body, the three-dimensional coordinates of the target object fed back by the binocular camera are used as the navigation signal of the robot movement. In the process of approaching the target object, the target object should always be within the field of view of the binocular camera;

[0054]

[0055] Where Δx and Δy are the motion amplitudes of the hull in the x-direction and y-direction of the hull coordinate system; G(1) and G(2) are the coordinates of the target object in the x-axis and y-axis of the hull coordinate system; x max ,y max is the maximum coordinate of the image plane in the hull coordinate system, x min ,y min is the minimum coordinate of the image plane in the hull coordinate system.

[0056] Preferably, the step 4 is specifically:

[0057] Step 4.1: Adopt the time-varying update strategy of the infeasible solution reserve set, by constructing a reserve set of infeasible solutions to allow some infeasible solutions to participate in the evolution process, and adopt the time-varying constraint violation tolerance coefficient to improve the algorithm's searchability in the infeasible area, thereby improving the algorithm's ability to search for discrete feasible solutions in the infeasible area; w can be calculated by the following formula:

[0058]

[0059] Among them, t represents the current evolutionary generation of the algorithm, T max represents the total evolutionary generations;

[0060] For constrained multi-objective optimization problems, the range of constraint violation degree cv(X) generally changes with the change of constraint conditions. In order to cope with the constraints in different problems, cv(X) is normalized, and the calculation formula of cv(X) is as follows:

[0061]

[0062] C max =max(c i )i=1,2,...,N

[0063]

[0064] When the solution cv(X)>w, it is considered an infeasible solution, and when cv(X)≤w, it is considered a feasible solution; the value range of w is (0,1), and it decreases with the increase of evolutionary generations; in the early iteration of the algorithm, due to the large value of w, some infeasible solutions will participate in the evolution process, thereby improving the performance of the algorithm in searching for the optimal solution set; as the evolutionary generations increase, the value of w will tend to 0, some infeasible solutions will be eliminated from the optimal solution set, and the convergence of the algorithm will gradually increase;

[0065] Step 4.2: Backbone differential particle update based on adaptive perturbation, using the adaptive backbone differential evolution algorithm with improved mutation strategy, combined with the differential evolution algorithm, more individual particle information is used in the particle evolution process, avoiding the problem that the particle group is easily trapped in the local optimum; through adaptive perturbation, each particle has its own perturbation value in the evolution process, and the perturbation value changes adaptively according to the particle's own convergence degree and population diversity, ensuring the population diversity in the evolution process;

[0066] Step 4.3: Adaptive mutation strategy. The adaptive mutation strategy can ensure that the global leader of the particle swarm optimization algorithm will not fall into the local optimum before the particles lose diversity, thereby ensuring the global convergence of the algorithm; using the mutation probability p m To control the speed of mutation; in each iteration, check each particle, if the mutation probability is greater than the random number, the current particle mutates; p m The formula is as follows:

[0067]

[0068] Preferably, the step 5 is specifically:

[0069] The particle swarm algorithm is specifically:

[0070] Step S1: Initialize the population, set the number of iterations to i = 1, and combine the robot posture q (q1q2q3) into one particle; randomly generate a particle of size N s The particles in the swarm are assigned random values ​​from each dimension within the corresponding limit; the individual leader of each particle is set to the particle itself pb i (0) = X i (0), X i (0) is the position of the i-th particle in the particle swarm; the infeasible reserve set is set to the empty set;

[0071] Step S2: Evaluate the particles and calculate the three objective function values ​​f1(q1,q2,q3), f2(q1,q2,q3), f3(q1,q2,q3) in the optimization model corresponding to each particle; and calculate their constraint violation degree cv(X;

[0072] Step S3: Divide the particles into feasible solutions and infeasible solutions, and update the infeasible reserve set;

[0073] Step S4: Determine whether the termination criteria are met, that is, whether the termination algebra is reached. If the termination criteria are met, the algorithm stops.

[0074] Step S5: performing an update operation on each particle in the particle swarm;

[0075] Step S6: t←t+1, go to step S2.

[0076] Preferably, the step S5 is specifically:

[0077] Step S5.1: Update the individual guide and global guide of the particle using the tournament rules;

[0078] Step S5.2: Generate new particle positions by formula;

[0079] Step S5.3: Particle mutation; performing particle adaptive mutation to obtain a new population.

[0080] A backbone particle swarm optimization algorithm for underwater vehicle manipulator motion optimization system, the system comprising:

[0081] A first modeling module, which performs mathematical modeling of the underwater vehicle-manipulator;

[0082] A second modeling module, wherein the second modeling module establishes a multi-objective optimal trajectory mathematical model of the underwater vehicle-manipulator;

[0083] a safety constraint module, wherein the safety constraint module establishes safety constraints for the underwater vehicle-manipulator;

[0084] The optimization module optimizes the motion of the underwater vehicle-manipulator based on the particle swarm algorithm.

[0085] A computer-readable storage medium stores a computer program, which is executed by a processor to implement a method for optimizing the motion of an underwater vehicle manipulator using a backbone particle swarm optimization algorithm.

[0086] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, a method for optimizing the motion of an underwater vehicle manipulator using a backbone particle swarm optimization algorithm is implemented.

[0087] The present invention has the following beneficial effects:

[0088] The present invention constructs a reserve set of infeasible solutions to allow a part of infeasible solutions to participate in the evolution process, and adopts a time-varying constraint violation tolerance coefficient w to improve the algorithm's searchability in infeasible areas, thereby improving the algorithm's ability to search for discrete feasible solutions in infeasible areas and improving the algorithm's convergence.

[0089] The present invention adopts backbone differential particle update based on adaptive perturbation, utilizes more particle information, avoids the problem that particle group is easy to fall into local optimum, and ensures the diversity of population in the evolution process through adaptive perturbation.

[0090] The present invention adopts an adaptive mutation strategy to control the mutation speed, thereby preventing the global guide from being a local optimal solution before the particles lose diversity, thereby improving the convergence of the algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0091] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0092] Figure 1 It is the modeling of the underwater vehicle-manipulator and the schematic diagram of the coordinate system;

[0093] Figure 2 It is a schematic diagram of the parametric expression of the motion trajectory of the underwater vehicle-manipulator;

[0094] Figure 3 is a highly schematic diagram of the underwater vehicle-manipulator;

[0095] Figure 4 is an approach schematic diagram of the underwater vehicle-manipulator;

[0096] Figure 5 It is the algorithm flow chart;

[0097] Figure 6 This is a data comparison chart for simulating the grasping operation of the underwater vehicle-manipulator. DETAILED DESCRIPTION

[0098] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0099] The present invention is described in detail below in conjunction with specific embodiments. Specific embodiment one:

[0101] according to Figures 1 to 6 As shown, the specific optimization technical solution adopted by the present invention to solve the above technical problems is: the present invention relates to an underwater vehicle manipulator motion optimization method based on a backbone particle swarm optimization algorithm. The present invention is a method for optimizing the motion of the operating distance, the disturbance of the manipulator operation on the hull, and the resistance of the underwater vehicle-manipulator motion process, which can improve the working efficiency, system stability and energy consumption of the underwater vehicle-manipulator system. The multi-objective optimization motion optimization method.

[0102] A method for optimizing the motion of an underwater vehicle manipulator based on a backbone particle swarm optimization algorithm, the method comprising the following steps:

[0103] Step 1: Conduct mathematical modeling of the underwater vehicle-manipulator;

[0104] Step 2: Establish a multi-objective optimal trajectory mathematical model for the underwater vehicle-manipulator;

[0105] Step 3: Establish safety constraints for the underwater vehicle-manipulator;

[0106] Step 4: Optimize the underwater vehicle-manipulator motion based on the particle swarm algorithm. Specific embodiment 2:

[0108] The step 1 is specifically as follows:

[0109] When the initial angles of n joints and the position and attitude angles of the underwater vehicle are known, the position and attitude of the manipulator end effector in the world coordinate system are obtained by coordinate transformation. Through the coordinate system and the Jacobian matrix of the manipulator, the differential inverse kinematics equation of the underwater vehicle-manipulator is obtained as follows:

[0110]

[0111] Among them, W -1 =diag(w1,w2,…,w n ) is a diagonal weighted matrix, is the Jacobian weighted pseudo-inverse matrix, λ is the gain coefficient, represents the gradient of the objective function h(q) under the joint configuration, It represents the conversion relationship between the position information of the underwater vehicle-manipulator system and the position information of the manipulator end effector. Specific embodiment three:

[0113] The step 2 is specifically as follows:

[0114] Step 2.1: After the underwater vehicle-manipulator finds the target through the visual system, it reaches the target grasping point within the manipulator's workspace through the movement of the hull, and grasps the target object at the target grasping point through the movement of the manipulator. In this process, the manipulator posture q(q1,q2,q3) of the underwater vehicle-manipulator when grasping the target is set, and the coordinates of the target grasping point in the basic coordinate system are pos arrive =(p1,p2,p3), then the optimization objective function of the underwater vehicle-manipulator's hull movement distance during the mission is obtained as:

[0115]

[0116] Step 2.1: To make the disturbance of the manipulator to the hull optimal, the restoring force generated during the movement of the i-th link of the manipulator is expressed in the inertial coordinate system as follows:

[0117]

[0118] In the formula, is the buoyancy of the ith connecting rod, is the gravity of the ith connecting rod, m i and F bi are the mass and buoyancy of the i-th link of the manipulator, Represents the rotation matrix from the i-th link coordinate system to the hull coordinate system;

[0119] The expression of the restoring torque generated during the motion of the i-th connecting rod in the hull coordinate system is:

[0120]

[0121] In the formula, and are the positions of the center of gravity and center of buoyancy of the i-th link of the manipulator in the hull coordinate system, is the transformation matrix from the i-th link coordinate system to the hull coordinate system, r g and r b are the positions of the center of gravity and center of buoyancy of the i-th generalized link of the manipulator in its own reference system;

[0122] The objective function of restoring torque optimization of the manipulator during motion is:

[0123]

[0124] Step 2.3: Make the resistance of the underwater vehicle-manipulator movement process optimal. The inertial resistance of the hull during the movement is:

[0125]

[0126] in, They represent the variable speed movement along the x, y, and z directions of the hull coordinate system, respectively. Respectively represent the variable speed rotational motion along the x, y, and z directions of the hull coordinate system; λ ij It means acceleration motion in the i direction and additional mass in the j direction;

[0127] The viscous resistance of the boat during movement is:

[0128]

[0129] Where ρ is the density of water; C D is the viscous drag coefficient; R n is the Reynolds number; A is the projected cross-sectional area of ​​the hull in the direction of velocity; v i is the speed of the boat in each degree of freedom;

[0130] The total resistance encountered by the boat during its motion is:

[0131]

[0132] The inertial resistance of any connecting rod of the manipulator during movement is:

[0133]

[0134] Where ρ is the density of water; D i is the diameter of the i-th connecting rod; L i is the length of the i-th connecting rod; q i is the angle of the i-th connecting rod; C a is the inertial drag coefficient of the i-th connecting rod;

[0135] The viscous resistance of any connecting rod of the manipulator during movement is:

[0136]

[0137] Where ρ is the density of water; D i is the diameter of the i-th connecting rod; L i is the length of the i-th connecting rod; q i is the angle of the i-th connecting rod; C d is the viscous resistance coefficient of the i-th connecting rod; V is the water flow velocity in the fixed coordinate system; the total resistance encountered by the manipulator during movement is:

[0138]

[0139] The optimization objective function of the resistance that UVMS encounters during movement is:

[0140] minf3(q1,q2,q3)=F V +F m . Specific embodiment four:

[0142] The step 3 is specifically as follows:

[0143] According to the operation of the underwater vehicle-manipulator, safety constraints are imposed on the hull, manipulator and field of view respectively. The expressions are as follows:

[0144]

[0145] Where H(t) represents the height distance between the underwater vehicle-manipulator and the seabed, H max , H minThey represent the maximum and minimum height distances between the underwater vehicle and the seabed during the grasping task of the underwater vehicle-manipulator respectively;

[0146] The manipulator of the underwater vehicle-manipulator needs to keep each joint within a well-defined range during the operation task to prevent the joint from exceeding its structural limitations during movement. The expression is as follows:

[0147]

[0148] In the formula, q imax ,q imin (i=1,2,…,n) are the upper and lower limits of the joint motion range respectively; are the upper and lower limits of the joint angular velocity, respectively; are the upper and lower limits of the joint angular acceleration respectively;

[0149] When the underwater vehicle-manipulator approaches the target object through the movement of the boat body, the three-dimensional coordinates of the target object fed back by the binocular camera are used as the navigation signal of the robot movement. In the process of approaching the target object, the target object should always be within the field of view of the binocular camera;

[0150]

[0151] Where Δx and Δy are the motion amplitudes of the hull in the x-direction and y-direction of the hull coordinate system; G(1) and G(2) are the coordinates of the target object in the x-axis and y-axis of the hull coordinate system; x max ,y max is the maximum coordinate of the image plane in the hull coordinate system, x min ,y min is the minimum coordinate of the image plane in the hull coordinate system. Specific embodiment five:

[0153] The step 4 is specifically as follows:

[0154] Step 4.1: Adopt the time-varying update strategy of the infeasible solution reserve set, by constructing a reserve set of infeasible solutions to allow some infeasible solutions to participate in the evolution process, and adopt the time-varying constraint violation tolerance coefficient to improve the algorithm's searchability in the infeasible area, thereby improving the algorithm's ability to search for discrete feasible solutions in the infeasible area; w can be calculated by the following formula:

[0155]

[0156] Among them, t represents the current evolutionary generation of the algorithm, T max represents the total evolutionary generations;

[0157] For constrained multi-objective optimization problems, the range of constraint violation degree cv(X) generally changes with the change of constraint conditions. In order to cope with the constraints in different problems, cv(X) is normalized, and the calculation formula of cv(X) is as follows:

[0158]

[0159] C max =max(c i )i=1,2,...,N

[0160]

[0161] When the solution cv(X)>w, it is considered an infeasible solution, and when cv(X)≤w, it is considered a feasible solution; the value range of w is (0,1), and it decreases with the increase of evolutionary generations; in the early iteration of the algorithm, due to the large value of w, some infeasible solutions will participate in the evolution process, thereby improving the performance of the algorithm in searching for the optimal solution set; as the evolutionary generations increase, the value of w will tend to 0, some infeasible solutions will be eliminated from the optimal solution set, and the convergence of the algorithm will gradually increase;

[0162] Step 4.2: Backbone differential particle update based on adaptive perturbation, using the adaptive backbone differential evolution algorithm with improved mutation strategy, combined with the differential evolution algorithm, more individual particle information is used in the particle evolution process, avoiding the problem that the particle group is easily trapped in the local optimum; through adaptive perturbation, each particle has its own perturbation value in the evolution process, and the perturbation value changes adaptively according to the particle's own convergence degree and population diversity, ensuring the population diversity in the evolution process;

[0163] Step 4.3: Adaptive mutation strategy. The adaptive mutation strategy can ensure that the global leader of the particle swarm optimization algorithm will not fall into the local optimum before the particles lose diversity, thereby ensuring the global convergence of the algorithm; using the mutation probability p m To control the speed of mutation; in each iteration, check each particle, if the mutation probability is greater than the random number, the current particle mutates; p m The formula is as follows:

[0164] Specific embodiment six:

[0166] The particle swarm algorithm is specifically:

[0167] Step S1: Initialize the population, set the number of iterations to i = 1, and combine the robot posture q (q1q2q3) into one particle; randomly generate a particle of size N sThe particles in the swarm are assigned random values ​​from each dimension within the corresponding limit; the individual leader of each particle is set to the particle itself pb i (0) = X i (0), X i (0) is the position of the i-th particle in the particle swarm; the infeasible reserve set is set to an empty set; step S2: evaluate the particles, calculate the three objective function values ​​f1(q1,q2,q3), f2(q1,q2,q3), f3(q1,q2,q3) in the optimization model corresponding to each particle; and calculate their constraint violation degree cv(X; step S3: divide the particles into feasible solutions and infeasible solutions, and update the infeasible reserve set; step S4: determine whether the termination criterion is met, that is, whether the termination algebra is reached. If the termination condition is met, the algorithm stops; step S5: update each particle in the particle swarm; step S6: t←t+1, go to step S2. Specific embodiment seven:

[0169] The step S5 is specifically as follows:

[0170] Step S5.1: Update the individual guide and global guide of the particle using the tournament rules;

[0171] Step S5.2: Generate new particle positions by formula;

[0172] Step S5.3: Particle mutation; performing particle adaptive mutation to obtain a new population. Specific embodiment eight:

[0174] The present invention provides an underwater vehicle manipulator motion optimization system based on a backbone particle swarm optimization algorithm, the system comprising:

[0175] A first modeling module, which performs mathematical modeling of the underwater vehicle-manipulator;

[0176] A second modeling module, wherein the second modeling module establishes a multi-objective optimal trajectory mathematical model of the underwater vehicle-manipulator;

[0177] a safety constraint module, wherein the safety constraint module establishes safety constraints for the underwater vehicle-manipulator;

[0178] The optimization module optimizes the motion of the underwater vehicle-manipulator based on the particle swarm algorithm. Specific embodiment nine:

[0180] The present invention provides a computer-readable storage medium on which a computer program is stored. The program is executed by a processor to implement a method for optimizing the motion of an underwater vehicle manipulator such as a backbone particle swarm optimization algorithm.

[0181] The method is specifically as follows:

[0182] 1. Mathematical modeling of underwater vehicle-manipulator

[0183] In order to optimize the motion process of the underwater vehicle-manipulator, it is necessary to first establish a mathematical model of the underwater vehicle-manipulator.

[0184] The research of the present invention is based on an underwater vehicle-manipulator system, which is composed of an underwater vehicle body equipped with a three-joint manipulator.

[0185] The underwater vehicle body has six degrees of freedom when sailing underwater, and includes two coordinate systems: the world coordinate system and the hull coordinate system. According to the DH convention, the conversion relationship between the position and posture of the end effector and the rotation angle of each joint of the manipulator can be obtained. Let the Jacobian matrix of the three-joint manipulator be J, and J represents the linear velocity Jacobian matrix component and angular velocity comparable matrix component of the manipulator. The expression of J is as follows:

[0186]

[0187] Subsequently, the motion trajectory of the underwater vehicle-manipulator is mathematically modeled.

[0188] The direct kinematics of UVMS is the process of extrapolating the position and attitude of the manipulator end effector in the world coordinate system through coordinate transformation when the initial angles of n joints and the position and attitude angles of the underwater vehicle are known. Through the previously established coordinate system and the Jacobian matrix of the manipulator, the differential inverse kinematics equation of the underwater vehicle-manipulator can be obtained as follows:

[0189]

[0190] Among them: W -1 =diag(w1,w2,…,w n ) is a diagonal weighted matrix, is the Jacobian weighted pseudo-inverse matrix, λ is the gain coefficient, represents the gradient of the objective function h(q) under the joint configuration, It represents the conversion relationship between the position information of the underwater vehicle-manipulator system and the position information of the manipulator end effector.

[0191] At this point, the mathematical modeling of the underwater vehicle-vehicle is completed.

[0192] 2. Establishment of mathematical model of multi-objective optimal trajectory of underwater vehicle-vehicle

[0193] The motion optimization problem of underwater vehicle-manipulator is actually the problem of solving multi-objective equations with constraints. The optimization problem of underwater vehicle-manipulator's distance, resistance, and interference of manipulator on the hull during operation is transformed into the problem of solving the optimal solution of multi-objective function equations. Therefore, it is necessary to obtain the multi-objective optimal trajectory mathematical model of underwater vehicle-carrier.

[0194] The mathematical model of multi-objective optimal trajectory of underwater vehicle-vehicle includes three aspects:

[0195] 1. Optimal working distance

[0196] After the underwater vehicle-manipulator finds the target through the visual system, it first reaches the target grasping point within the manipulator's workspace through the movement of the hull, and then grasps the target object at the target grasping point through the movement of the manipulator. In this process, the manipulator posture q(q1,q2,q3) when the underwater vehicle-manipulator grasps the target is assumed, and the coordinates of the target grasping point in the basic coordinate system are pos arrive =(p1,p2,p3). Then the optimization objective function of the underwater vehicle-manipulator's hull movement distance during the mission is:

[0197]

[0198] 2. The manipulator's disturbance to the hull is optimal

[0199] The movement of the manipulator of the underwater vehicle-manipulator will cause great interference to the hull. In the process of executing the task of grasping the target, the change of the center of gravity and the center of buoyancy caused by the change of the position of each connecting rod of the manipulator during the movement will generate the restoring torque.

[0200] The expression of the restoring force generated during the movement of the i-th link of the manipulator in the inertial coordinate system is:

[0201]

[0202] In the formula, is the buoyancy of the ith connecting rod, is the gravity of the ith connecting rod, m i and F bi are the mass and buoyancy of the i-th link of the manipulator, Represents the rotation matrix from the i-th link coordinate system to the hull coordinate system.

[0203] The expression of the restoring torque generated during the motion of the i-th connecting rod in the hull coordinate system is:

[0204]

[0205] In the formula, and are the positions of the center of gravity and center of buoyancy of the i-th link of the manipulator in the hull coordinate system, is the transformation matrix from the i-th link coordinate system to the hull coordinate system, r g and r b are the positions of the center of gravity and center of buoyancy of the i-th generalized link of the manipulator in its own reference system.

[0206] The objective function of restoring torque optimization of the manipulator during motion is:

[0207]

[0208] 3. Optimal resistance during underwater vehicle-manipulator movement

[0209] When the underwater vehicle-manipulator is performing a grasping task, the movement of the hull and the manipulator will be subject to water resistance. The magnitude of the resistance can reflect the energy consumed by the underwater vehicle-manipulator during the grasping process.

[0210] The inertial resistance of the boat during movement is:

[0211]

[0212] In the formula, They represent the variable speed movement along the x, y, and z directions of the hull coordinate system, respectively. Respectively represent the variable speed rotational motion along the x, y, and z directions of the hull coordinate system; λ ij It represents the acceleration motion in the i direction and the additional mass in the j direction.

[0213] The viscous resistance of the boat during movement is:

[0214]

[0215] Where ρ is the density of water; C D is the viscous drag coefficient; R n is the Reynolds number; A is the projected cross-sectional area of ​​the hull in the direction of velocity; v i It is the speed of the hull in each degree of freedom.

[0216] The total resistance encountered by the boat during its motion is:

[0217]

[0218] The inertial resistance of any connecting rod of the manipulator during movement is:

[0219]

[0220] Where ρ is the density of water; Di is the diameter of the i-th connecting rod; L i is the length of the i-th connecting rod; q i is the angle of the i-th connecting rod; C a is the inertial drag coefficient of the i-th connecting rod.

[0221] The viscous resistance of any connecting rod of the manipulator during movement is:

[0222]

[0223] Where ρ is the density of water; D i is the diameter of the i-th connecting rod; L i is the length of the i-th connecting rod; q i is the angle of the i-th connecting rod; C d is the viscous resistance coefficient of the i-th connecting rod; V is the water flow velocity in the fixed coordinate system.

[0224] The total resistance encountered by the manipulator during its motion is:

[0225]

[0226] The optimization objective function of the resistance that UVMS encounters during movement is:

[0227] minf3(q1,q2,q3)=F V +F m

[0228] 3. Safety constraints of underwater vehicle-manipulator

[0229] According to the operation status of the underwater vehicle-manipulator, safety constraints are respectively imposed on the hull, manipulator and field of view.

[0230] When the underwater vehicle-manipulator is grabbing the target object, the hull of the underwater vehicle-manipulator needs to be maintained within a certain height range relative to the seabed to avoid damage to the underwater vehicle-manipulator structure due to collision between the underwater vehicle-manipulator and the seabed due to too low a height, and to avoid the target object being beyond the working range of the manipulator due to too high a height.

[0231] Its expression is as follows:

[0232]

[0233] Where H(t) represents the height distance between the underwater vehicle-manipulator and the seabed, H max , H min They respectively represent the maximum and minimum values ​​of the height distance between the underwater vehicle and the seabed during the underwater vehicle-manipulator grasping task.

[0234] The manipulator of the underwater vehicle-manipulator needs to keep each joint within a well-defined range during the execution of the manipulation task, so that the joints do not exceed their structural limitations during the movement.

[0235] Its expression is as follows:

[0236]

[0237] In the formula, q imax ,q imin (i=1,2,…,n) are the upper and lower limits of the joint motion range respectively; are the upper and lower limits of the joint angular velocity, respectively; are the upper and lower limits of the joint angular acceleration respectively.

[0238] When the underwater vehicle-manipulator approaches the target object through the movement of the hull, the three-dimensional coordinates of the target object fed back by the binocular camera are always used as the navigation signal of the robot movement. Therefore, the target object should always be within the field of view of the binocular camera during the process of approaching the target object.

[0239]

[0240] Where Δx and Δy are the motion amplitudes of the hull in the x-direction and y-direction of the hull coordinate system; G(1) and G(2) are the coordinates of the target object in the x-axis and y-axis of the hull coordinate system; x max ,y max is the maximum coordinate of the image plane in the hull coordinate system, x min ,y min is the minimum coordinate of the image plane in the hull coordinate system.

[0241] 4. Underwater vehicle-manipulator motion optimization method based on improved particle swarm algorithm

[0242] After mathematical modeling of the underwater vehicle-manipulator and multi-objective optimization function modeling and constraints of the underwater vehicle-manipulator, the present invention proposes the following improvement method in view of the problems that the underwater vehicle-manipulator has large resistance during the movement of the hull, large disturbance to the hull during the operation of the manipulator, and the shortcomings of the traditional backbone particle swarm algorithm that easily loses population diversity and falls into premature convergence:

[0243] 1. A time-varying update strategy for the reserve set of infeasible solutions is adopted.

[0244] The present invention allows a part of infeasible solutions to participate in the evolution process by constructing a reserve set of infeasible solutions, and adopts a time-varying constraint violation tolerance coefficient to improve the algorithm's searchability in infeasible areas, thereby improving the algorithm's ability to search for discrete feasible solutions in infeasible areas. w can be calculated by the following formula:

[0245]

[0246] Among them, t represents the current evolutionary generation of the algorithm, T max represents the total evolutionary generation.

[0247] For constrained multi-objective optimization problems, the range of constraint violation degree cv(X) generally changes with the change of constraint conditions. In order to cope with the constraints in different problems, cv(X) is normalized, and the calculation formula of cv(X) is shown as follows.

[0248]

[0249] C max =max(c i )i=1,2,...,N

[0250]

[0251] When the solution cv(X)>w, it is considered an infeasible solution. When cv(X)≤w, it is considered a feasible solution. The value range of w is (0,1), and it decreases with the increase of evolutionary generations. In the early iteration of the algorithm, due to the large value of w, some infeasible solutions will participate in the evolution process, thereby improving the performance of the algorithm in searching for the optimal solution set. As the evolutionary generations increase, the value of w will tend to 0, some infeasible solutions will be eliminated from the optimal solution set, and the convergence of the algorithm will gradually increase.

[0252] 2. Backbone differential particle update based on adaptive perturbation.

[0253] The present invention adopts an adaptive backbone differential evolution algorithm with an improved mutation strategy, combined with a differential evolution algorithm. More individual particle information is utilized in the particle evolution process, thereby avoiding the problem that the particle group is easily trapped in the local optimum. Through adaptive perturbation, each particle has its own perturbation value in the evolution process, and the perturbation value changes adaptively according to the particle's own convergence degree and population diversity, thereby ensuring the population diversity in the evolution process.

[0254] Take the i-th particle X i (t) = (x i,1 (t),x i,2 (t),...,x i,n-1 (t),x i,n (t)) as an example, the new update strategy is as follows:

[0255]

[0256] in:

[0257]

[0258]

[0259]

[0260] r1,r2,r3~U(0,1),

[0261] and is the individual guide of the particle in the particle swarm, and i1≠i2≠i.

[0262] 3. Adaptive mutation strategy.

[0263] The adaptive mutation strategy can ensure that the global leader of the particle swarm optimization algorithm will not fall into the local optimum before the particles lose diversity, thereby ensuring the global convergence of the algorithm. m To control the speed of mutation. In each iteration, check each particle, if the mutation probability is greater than the random number, the current particle mutates. m The formula is as follows

[0264]

[0265] 4. Improved algorithm steps.

[0266] Step 1. Initialize the population, set the number of iterations to i = 1, and combine the robot posture q (q1q2q3) into one particle. Randomly generate a particle of size N s The particles in the swarm are assigned random values ​​from each dimension within the corresponding limit; the individual leader of each particle is set to the particle itself pb i (0) = X i (0), X i (0) is the position of the i-th particle in the particle swarm; the infeasible reserve set is set to the empty set.

[0267] Step 2. Evaluate the particles and calculate the three objective function values ​​f1(q1,q2,q3), f2(q1,q2,q3), and f3(q1,q2,q3) in the optimization model corresponding to each particle; and calculate their constraint violation degree cv(X).

[0268] Step 3. Divide the particles into feasible solutions and infeasible solutions, and update the infeasible reserve set.

[0269] Step 4. Determine whether the termination criteria are met, that is, whether the termination algebra is reached. If the termination conditions are met, the algorithm stops.

[0270] Step 5. For each particle in the particle swarm, perform the following operations in sequence.

[0271] Step 5.1 uses the tournament rules to update the individual guides and global guides of the particles.

[0272] Step 5.2 Generate new particle positions using the formula.

[0273] Step 5.3 Particle mutation: Perform particle adaptive mutation to obtain a new population.

[0274] Step6.t←t+1, go to step 2. Specific embodiment ten:

[0276] The present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements a method for optimizing the motion of an underwater vehicle manipulator using a backbone particle swarm optimization algorithm when executing the computer program. Specific embodiment eleven:

[0278] like Figure 1 As shown, the present invention first constructs a mathematical model of the underwater vehicle-manipulator based on the modeling of the underwater vehicle-manipulator, which serves as a basis for obtaining the objective function of the multi-objective optimization problem of the underwater vehicle-manipulator.

[0279] like Figure 2 As shown, the present invention first expresses the motion path of the underwater vehicle-manipulator based on parameterization. The motion trajectory of the underwater vehicle-manipulator includes the motion trajectory of the underwater vehicle-manipulator hull and the motion trajectory of the manipulator. The underwater vehicle-manipulator hull mainly performs straight navigation, sideways movement, and diving movements, and the motion target point of the hull can be obtained through the manipulator posture q (q1, q2, q3) of the manipulator. For the motion trajectory of the hull, B-spline curves are used for parameterization. B-spline curves have the characteristics of local modification, segmented processing, and continuous derivatives, so the motion trajectory planned using B-spline curves has continuity and geometric invariance. For a given finite number of route points, a path with continuous curvature can be obtained by cubic spline interpolation. If N+1 route points p are given in a fixed coordinate system k (x k ,y k ,z k ), (k=0,1,…,N), then N segments of spline can be generated, and the N segments of spline can be represented by parameter u∈0,1,

[0280]

[0281] Since the calculation method of the spline in the three coordinate directions is the same, taking the x-axis direction as an example, the k-th segment of the spline curve can be expressed as According to the boundary conditions of each spline curve, the following equation can be obtained:

[0282]

[0283] in

[0284] because We can get

[0285]

[0286] Then the above equation can be rewritten as

[0287]

[0288] In the equation Since the second-order derivative of the spline curve is continuous, we can get

[0289]

[0290] Substituting the last two equations into the equation, we then get

[0291] D k-1 +4D k +D k+1 =3(x k+1 -x k-1 ),(k=0,1,…,N-1)

[0292] In addition, according to the natural boundary conditions We can get

[0293]

[0294] Finally, the equation can be written in matrix form as follows:

[0295]

[0296] For the motion trajectory of the manipulator, the present invention uses a quintic polynomial interpolation curve to describe and parameterize the manipulator joint angle trajectory. According to the actual situation of the underwater vehicle-manipulator performing tasks, the complete boundary conditions of the manipulator joint space motion are as follows:

[0297]

[0298] The parameterized expression of the manipulator's fifth-order polynomial interpolation curve is as follows: i(t) = a0 + a1t + a2t 2 +a3t 3 +a4t 4 +a5t 5

[0299] After the above solution steps, the motion trajectory of the underwater vehicle-manipulator can be obtained from the line point p of the hull motion. k (x k ,y k ,z k ), (k=1,…,N-1) and the robot posture q(q1,q2,q3) are used as variables for parameterized expression.

[0300] like Figure 3 As shown, the present invention constrains the height of the underwater vehicle-manipulator hull, the movement range of the manipulator, and the visual range for operational safety considerations. For specific constraint expressions, see the invention content.

[0301] like Figure 4 As shown, the present invention constrains the field of view of the underwater vehicle-manipulator in the process of approaching the target. The specific constraint expression is shown in the invention content.

[0302] In summary, after parameterized expression, combined with the multi-objective function of underwater vehicle-manipulator motion optimization and the trajectory optimization and safety constraints of underwater vehicle-manipulator in the process of grasping the target, the multi-objective optimization function of underwater vehicle-manipulator can be obtained according to the multi-objective optimal trajectory mathematical model of underwater vehicle-manipulator:

[0303]

[0304] like Figure 5 As shown in the figure, the objective function and variables of the underwater vehicle-manipulator in the operation process are optimized and calculated according to the following steps. The simulation environment is set as follows: when the grabbing target point is at the coordinate (2,2,2), the algorithm population size is set to 100, and the evolutionary generation is set to 200. On this basis, the grabbing operation of the underwater vehicle-manipulator is simulated.

[0305] like Figure 6 As shown, after simulating the grasping operation of the underwater vehicle-manipulator, a data comparison of the movement distance, movement resistance and restoring torque of the underwater vehicle-manipulator was obtained, and it was found that this method can improve the optimization problem of the underwater vehicle-manipulator during the operation process.

[0306] The above is only a preferred implementation of a method for optimizing the motion of an underwater vehicle manipulator based on a backbone particle swarm optimization algorithm. The protection scope of a method for optimizing the motion of an underwater vehicle manipulator based on a backbone particle swarm optimization algorithm is not limited to the above embodiments. All technical solutions under this idea belong to the protection scope of the present invention. It should be pointed out that for those skilled in the art, several improvements and changes without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A method for optimizing underwater vehicle manipulator motion based on a backbone particle swarm optimization algorithm. Its characteristics are: The method comprises the following steps: Step 1: Conduct mathematical modeling of the underwater vehicle-manipulator; Step 2: Establish a multi-objective optimal trajectory mathematical model for the underwater vehicle-manipulator; Step 3: Establish safety constraints for the underwater vehicle-manipulator; Step 4: Optimize the underwater vehicle-manipulator motion based on the particle swarm algorithm; The step 1 is specifically as follows: When the initial angles of n joints and the position and attitude angles of the underwater vehicle are known, the position and attitude of the manipulator end effector in the world coordinate system are obtained by coordinate transformation. Through the coordinate system and the Jacobian matrix of the manipulator, the differential inverse kinematics equation of the underwater vehicle-manipulator is obtained as follows: Among them, W -1 =diag(w 1 ,w 2 ,…,w n ) is a diagonal weighted matrix, is the Jacobian weighted pseudo-inverse matrix, λ is the gain coefficient, represents the gradient of the objective function h(q) under the joint configuration, Represents the conversion relationship between the position information of the underwater vehicle-manipulator system and the position information of the manipulator end effector; The step 2 is specifically as follows: Step 2.1: After the underwater vehicle-manipulator finds the target through the visual system, it reaches the target grasping point within the manipulator's workspace through the movement of the hull, and grasps the target object at the target grasping point through the movement of the manipulator. In this process, the manipulator posture q(q 1 ,q 2 ,q 3 ), the coordinates of the target grasping point in the base coordinate system pos arrive =(p 1 ,p 2 ,p 3 ), then the optimization objective function of the underwater vehicle-manipulator's hull movement distance during the mission is obtained as: Step 2.1: To make the disturbance of the manipulator to the hull optimal, the restoring force generated during the movement of the i-th link of the manipulator is expressed in the inertial coordinate system as follows: In the formula, is the buoyancy of the ith connecting rod, is the gravity of the ith connecting rod, Represents the rotation matrix from the i-th link coordinate system to the hull coordinate system; The expression of the restoring torque generated during the motion of the i-th connecting rod in the hull coordinate system is: In the formula, and are the positions of the center of gravity and center of buoyancy of the i-th link of the manipulator in the hull coordinate system, is the transformation matrix from the i-th link coordinate system to the hull coordinate system, r g and r b are the positions of the center of gravity and center of buoyancy of the i-th generalized link of the manipulator in its own reference system; The objective function of restoring torque optimization of the manipulator during motion is: Step 2.3: Make the resistance of the underwater vehicle-manipulator movement process optimal. The inertial resistance of the hull during the movement is: in, They represent the variable speed movement along the x, y, and z directions of the hull coordinate system, respectively. Respectively represent the variable speed rotational motion along the x, y, and z directions of the hull coordinate system; λ ij It means acceleration motion in the i direction and additional mass in the j direction; The viscous resistance of the boat during movement is: Where ρ is the density of water; C D is the viscous drag coefficient; R n is the Reynolds number; A is the projected cross-sectional area of ​​the hull in the direction of velocity; v i is the speed of the boat in each degree of freedom; The total resistance encountered by the boat during its motion is: The inertial resistance of any connecting rod of the manipulator during movement is: Where ρ is the density of water; D i is the diameter of the i-th connecting rod; L i is the length of the i-th connecting rod; q i is the angle of the i-th connecting rod; C a is the inertial drag coefficient of the i-th connecting rod; The viscous resistance of any connecting rod of the manipulator during movement is: Where ρ is the density of water; D i is the diameter of the i-th connecting rod; L i is the length of the i-th connecting rod; q i is the angle of the i-th connecting rod; C d is the viscous drag coefficient of the i-th connecting rod; V is the water flow velocity in the fixed coordinate system; The total resistance encountered by the manipulator during its motion is: The optimization objective function of the resistance that UVMS encounters during movement is: min f 3 (q 1 ,q 2 ,q 3 )=F V +F m 。 2. The method according to claim 1, Its characteristics are: The step 3 is specifically as follows: According to the operation of the underwater vehicle-manipulator, safety constraints are imposed on the hull, manipulator and field of view respectively. The expressions are as follows: Where H(t) represents the height distance between the underwater vehicle-manipulator and the seabed, H max , H min They represent the maximum and minimum height distances between the underwater vehicle and the seabed during the grasping task of the underwater vehicle-manipulator respectively; The manipulator of the underwater vehicle-manipulator needs to keep each joint within a well-defined range during the operation task to prevent the joint from exceeding its structural limitations during movement. The expression is as follows: In the formula, q imax ,q imin (i=1,2,…,n) are the upper and lower limits of the joint motion range respectively; are the upper and lower limits of the joint angular velocity, respectively; When the underwater vehicle-manipulator approaches the target object through the movement of the boat body, the three-dimensional coordinates of the target object fed back by the binocular camera are used as the navigation signal of the robot movement. In the process of approaching the target object, the target object should always be within the field of view of the binocular camera; Where Δx and Δy are the motion amplitudes of the hull in the x-direction and y-direction of the hull coordinate system; G(1) and G(2) are the coordinates of the target object in the x-axis and y-axis of the hull coordinate system; x max ,y max is the maximum coordinate of the image plane in the hull coordinate system, x min ,y min is the minimum coordinate of the image plane in the hull coordinate system.

3. The method according to claim 2, Its characteristics are: The step 4 is specifically as follows: Step 4.1: Adopt the time-varying update strategy of the infeasible solution reserve set, by constructing a reserve set of infeasible solutions to allow some infeasible solutions to participate in the evolution process, and adopt the time-varying constraint violation tolerance coefficient ω to improve the algorithm's searchability in the infeasible area, thereby improving the algorithm's ability to search for discrete feasible solutions in the infeasible area; w can be calculated by the following formula: Among them, t represents the current evolutionary generation of the algorithm, T max represents the total evolutionary generations; For constrained multi-objective optimization problems, the range of constraint violation degree cv(X) changes with the change of constraint conditions. In order to cope with the constraints in different problems, cv(X) is normalized and the calculation formula of cv(X) is as follows: C max =max(c i )i=1,2,...,N When the solution cv(X)>w, it is considered an infeasible solution, and when cv(X)≤w, it is considered a feasible solution; the value range of w is (0,1), and it decreases with the increase of evolutionary generations; in the early iteration of the algorithm, due to the large value of w, some infeasible solutions will participate in the evolution process, thereby improving the performance of the algorithm in searching for the optimal solution set; as the evolutionary generations increase, the value of w will tend to 0, some infeasible solutions will be eliminated from the optimal solution set, and the convergence of the algorithm will gradually increase; Step 4.2: Backbone differential particle update based on adaptive perturbation, using the adaptive backbone differential evolution algorithm with improved mutation strategy, combined with the differential evolution algorithm, more individual particle information is used in the particle evolution process, avoiding the problem that the particle group is easily trapped in the local optimum; through adaptive perturbation, each particle has its own perturbation value in the evolution process, and the perturbation value changes adaptively according to the particle's own convergence degree and population diversity, ensuring the population diversity in the evolution process; Step 4.3: Adaptive mutation strategy. The adaptive mutation strategy can ensure that the global leader of the particle swarm optimization algorithm will not fall into the local optimum before the particles lose diversity, thereby ensuring the global convergence of the algorithm; using the mutation probability p m To control the speed of mutation; in each iteration, check each particle, if the mutation probability is greater than the random number, the current particle mutates; p m The formula is as follows:

4. The method according to claim 3, Its characteristics are: The particle swarm algorithm is specifically: Step S1: Initialize the population, set the number of iterations to i = 1, and set the robot posture q (q 1 q 2 q 3 ) into a particle; randomly generate a particle of size N s The particles in the swarm are assigned random values ​​from each dimension within the corresponding limit; the individual leader of each particle is set to the particle itself pb i (0) = X i (0), X i (0) is the position of the i-th particle in the particle swarm; the infeasible reserve set is set to the empty set; Step S2: Evaluate particles and calculate the three objective function values ​​{f 1 (q 1 ,q 2 ,q 3 ),f 2 (q 1 ,q 2 ,q 3 ),f 3 (q 1 ,q 2 ,q 3 )}; and calculate their constraint violation degree cv(X); Step S3: Divide the particles into feasible solutions and infeasible solutions, and update the infeasible reserve set; Step S4: Determine whether the termination criteria are met, that is, whether the termination algebra is reached. If the termination criteria are met, the algorithm stops. Step S5: performing an update operation on each particle in the particle swarm; Step S6: t←t+1, go to step S2.

5. The method according to claim 4, Its characteristics are: The step S5 is specifically as follows: Step S5.1: Update the individual guide and global guide of the particle using the tournament rules; Step S5.2: Generate new particle positions by formula; Step S5.3: Particle mutation; performing particle adaptive mutation to obtain a new population.

6. A system for optimizing underwater vehicle manipulator motion based on a backbone particle swarm optimization algorithm, the system being implemented based on any one of claims 1 to 5, Its characteristics are: The system comprises: A first modeling module, which performs mathematical modeling of the underwater vehicle-manipulator; A second modeling module, wherein the second modeling module establishes a multi-objective optimal trajectory mathematical model of the underwater vehicle-manipulator; a safety constraint module, wherein the safety constraint module establishes safety constraints for the underwater vehicle-manipulator; The optimization module optimizes the motion of the underwater vehicle-manipulator based on the particle swarm algorithm.

7. A computer-readable storage medium having a computer program stored thereon, It is characterized in that The program is executed by a processor to implement the method according to claims 1 to 5.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. Its characteristics are: When the processor executes the computer program, the method of claims 1-5 is implemented.