CN111522351A - Three-dimensional formation and obstacle avoidance method for underwater robot - Google Patents
Three-dimensional formation and obstacle avoidance method for underwater robot Download PDFInfo
- Publication number
- CN111522351A CN111522351A CN202010412640.9A CN202010412640A CN111522351A CN 111522351 A CN111522351 A CN 111522351A CN 202010412640 A CN202010412640 A CN 202010412640A CN 111522351 A CN111522351 A CN 111522351A
- Authority
- CN
- China
- Prior art keywords
- underwater robot
- formation
- underwater
- obstacle
- robot
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000015572 biosynthetic process Effects 0.000 title claims abstract description 121
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000033001 locomotion Effects 0.000 claims abstract description 79
- 239000013598 vector Substances 0.000 claims abstract description 62
- 238000013178 mathematical model Methods 0.000 claims abstract description 14
- 238000012937 correction Methods 0.000 claims description 15
- 230000004888 barrier function Effects 0.000 claims description 9
- 239000011159 matrix material Substances 0.000 claims description 6
- 238000009795 derivation Methods 0.000 claims description 5
- 230000007613 environmental effect Effects 0.000 claims description 4
- 206010048669 Terminal state Diseases 0.000 claims description 3
- 239000002245 particle Substances 0.000 claims description 3
- 238000010606 normalization Methods 0.000 claims description 2
- 238000012545 processing Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 241000282461 Canis lupus Species 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/04—Control of altitude or depth
- G05D1/06—Rate of change of altitude or depth
- G05D1/0692—Rate of change of altitude or depth specially adapted for under-water vehicles
Landscapes
- Engineering & Computer Science (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
The invention relates to a three-dimensional formation and obstacle avoidance method for underwater robots, which comprises the following steps: defining a geometric formation by adopting a virtual structure method, and constructing a three-dimensional formation system mathematical model of the underwater robot according to a reference track of the formation center; under the barrier-free environment, calculating the reference state vector of each underwater robot based on the Lyapunov stability principle; calculating the influence of a single obstacle on the movement of the underwater robots so as to correct the reference movement speed of each underwater robot; according to a zero-space strategy, considering the influence of all obstacles on the motion of the underwater robot, and obtaining reference state vectors of all underwater robots in a multi-obstacle environment; and solving the formation control problem by utilizing the nonlinear model predictive controller according to the respective reference state vector of each underwater robot to obtain the optimal control input. The method considers the influence of all obstacles on the motion of the underwater robot based on the corrected zero-space model prediction, simultaneously ensures the stable formation navigation and safe obstacle avoidance of the robot, and is suitable for complex environments.
Description
Technical Field
The invention belongs to the technical field of navigation guidance and control of underwater robots, and particularly relates to a three-dimensional formation and obstacle avoidance method of an underwater robot based on correction zero-space model predictive control.
Background
In recent years, as underwater robots are gradually applied to the fields of marine environment monitoring, submarine resource detection, search and rescue and the like, scholars at home and abroad make a great deal of research on how to improve the autonomous navigation operation capability and the environmental adaptability of the underwater robots. The formation control technology is a basic key technology for cooperatively executing specific operation tasks by underwater robots, and requires that a plurality of robots are controlled to form and maintain a certain geometric formation. Scholars at home and abroad propose a series of control structures aiming at the formation problem, mainly comprising a Changji-Liquan law, a behavior-based method and a virtual structure law, which are suitable for different environments and have advantages and disadvantages: the principle of the Changji-bureaucratic law is simple, but the problems of accumulative formation error, poor robustness and the like exist; the behavior-based method has strong environment adaptation capability, but has the defects of difficult system design and the like; the formation precision of the virtual structure method is high, but the flexibility is poor.
When the underwater robots are formed into a formation and sailing under a three-dimensional complex environment, the underwater robots often meet various sudden obstacles or threats, and the underwater robots are required to be capable of safely avoiding the obstacles and avoiding collision among the robots. The constraint greatly increases the complexity of the formation problem, and the model predictive control method can flexibly process various constraints and has high robustness, so that the combination of the model predictive control and the virtual structure method is an effective means. Since the model predictive controller can stably track the reference state vector, how to define a reasonable reference state vector according to the formation and obstacle avoidance requirements is the key point of the problem. The existing method is often only suitable for avoiding simple obstacles and cannot be applied to formation and obstacle avoidance tasks in a three-dimensional complex environment.
Therefore, there is a need to provide a method for three-dimensional formation and obstacle avoidance of underwater robots based on modified zero-space model predictive control, so as to ensure stable formation navigation and safe obstacle avoidance of the robots at the same time, and adapt to complex environments.
Disclosure of Invention
The invention provides a three-dimensional formation and obstacle avoidance method for underwater robots on the basis of the defects of a traditional underwater robot formation control method, which is based on correction zero-space model prediction control to simultaneously ensure stable formation navigation and safe obstacle avoidance of the robots and is suitable for complex environments.
In order to achieve the purpose, the invention provides a three-dimensional formation and obstacle avoidance method for underwater robots, which comprises the following steps:
(S1) constructing a three-dimensional formation system mathematical model of the underwater robot: defining a geometric formation by adopting a virtual structure method, and constructing a three-dimensional formation system mathematical model of the underwater robot according to a reference track of the formation center;
(S2) under the barrier-free environment, calculating the reference state vector of each underwater robot based on the Lyapunov stability principle;
(S3) calculating an influence of the single obstacle on the movement of the underwater robots to correct the reference movement speed of each underwater robot;
(S4) according to a zero-space strategy, considering the influence of all obstacles on the movement of the underwater robot, and obtaining reference state vectors of the underwater robots in a multi-obstacle environment;
(S5) each underwater robot utilizes the nonlinear model predictive controller to solve the formation control problem according to the respective reference state vector, and the optimal control input is obtained.
Preferably, in the step (S1), a virtual structure method is used to define the geometric formation, and a method for constructing a mathematical model of a three-dimensional formation system of the underwater robot according to a reference trajectory of the center of the formation is as follows:
not considering the influence of ocean flow field, and enabling the ith underwater robot RiThe particle motion model in the inertial coordinate system O-xyz is defined as:
wherein s isi=[xi,yi,zi,vi,ψi,γi]TAnd ui=[uxi,uyi,uzi]TRespectively representing the state and the control input vector of the ith underwater robot under an inertial coordinate system O-xyz, (x)i,yi,zi) As position coordinates of the robot, vi、ψi、γiRespectively robot velocity, heading angle, pitch angle uxi、uyi、uziRespectively representing the overload components of the underwater robot in the advancing direction, the heading direction and the trim direction; and satisfy ux,min≤uxi≤ux,max、uy,min≤uyi≤uy,max、uz,min≤uzi≤uz,max、zmin≤zi≤zmax、vmin≤vi≤vmax、γmin≤γi≤γmax;
All underwater robots are regarded as a virtual rigid body, a virtual structure legal geometric formation is adopted, and the geometric central point is OrThe expected motion trail of the robot formation is the formation center OrThe reference motion trajectory is defined as:
wherein, the ith underwater robot R under an inertial coordinate system O-xyziAnd a center point OrRespectively, are Pi=[xi,yi,zi]TAnd Pr=[xr,yr,zr]TVirtual center point OrThe desired velocity, azimuth angle and pitch angle are respectively vr、ψr、γr,ωrIs the turn angular rate;
with a virtual center point OrThe projection of the velocity vector of (a) in the horizontal plane is xrAxis, in a vertically upward direction, zrAxial direction, establishing a three-dimensional formation coordinate system Or-xryrzrThen the formation coordinate system Or-xryrzrLower ith underwater robot RiPosition P ofir=[xir,yir,zir]TExpressed as:
derivation of formula (3) yields:
determining the underwater robot R according to the expected geometric formationiIn formation coordinate system Or-xryrzrDesired position P ofdir=[xdir,ydir,zdir]TThen the queuing error is expressed as:
Pie=[xie,yie,zie]T=Pir-Pdir=[xir-xdir,yir-ydir,zir-zdir]T(5)
constructing an underwater robot R according to formulas (1) to (5)iThe three-dimensional formation system mathematical model is as follows:
wherein, the ith underwater robot RiIn formation coordinate system Or-xryrzrThe state vector ofi=[xie,yie,zie,vi,ψi,γi]T。
Preferably, in the step (S2), under the barrier-free environment, the method for calculating the reference state vector of each underwater robot based on the Lyapunov stability principle includes:
defining a Lyapunov distance function:
derivation of equation (7) yields:
wherein,β1、β2、β3a constant coefficient greater than 0; v. ofi、ψi、γiRespectively as underwater robots RiDesired velocity v ofirHeading angle psiirLongitudinal inclination angle gammairThe expected formation error is 0, and the ith underwater robot R in the free environment is obtainediIn formation coordinate system Or-xryrzrThe reference state vector at is sir=[0,0,0,vir,ψir,γir]T。
Preferably, the step (S3) of calculating the influence of the single obstacle on the motions of the underwater robots to correct the reference motion speeds of the respective underwater robots includes:
according to the formula:
calculating the k-th barrier pair underwater robot RiInfluence of movement Mk;
Wherein,surface equation representing the kth obstacle, (x)k0,yk0,zk0) Denotes the center of the obstacle, dk、ek、fkAnd ak、bk、ckThe shape coefficient and the size coefficient of the obstacle are respectively, K ∈ { 1., K } represents the number of the obstacles in the navigation space of the underwater robot, I is a third-order unit matrix,radial normal vector, p, representing the k-th obstaclekIs the barrier reaction coefficient and pk>0,nk TVirIs less than or equal to 0 and represents the underwater robot RiApproaching the k-th obstacle, nk TVir> 0 denotes the underwater robot RiThe kth obstacle has been avoided;
calculating the weight value omega of each obstacle according to the distance between the underwater robot and the obstaclekAnd weight value omega is weightedkNormalization processing is carried out to obtain a normalized weight value
According to the underwater robot R in the free environmentiReference state vector sirCalculating the reference motion velocity V of the underwater robotirAnd correcting the reference movement speed of the underwater robot under the influence of the kth obstacle to obtain a reference movement speed correction valueNamely:
Preferably, the step (S4) of obtaining the reference state vector of each underwater robot in the multi-obstacle environment by considering the influence of all obstacles on the movement of the underwater robot according to the null-space strategy includes:
consider all obstacles to underwater robot RiInfluence of movement, correcting all reference movement speed valuesSorting according to size, and determining priority sequence numbers { 1.., K };
according to the formula:
completely reserving reference movement speed correction value with highest priority based on null space strategyCorrecting the reference movement speed with the highest priorityOnly the component of the reference motion velocity is kept in the null space, and the corrected value of each reference motion velocity is fusedAnd compensating and determining the reference velocity vector of the underwater robot
According to underwater robot RiReference velocity vector ofCalculating respective reference statesDetermining underwater robot R in multi-obstacle environmentiThe reference state vector of
Preferably, the formation position error is determined according to each underwater robotDetermining the priority order of the underwater robots according to the size;
according to the priority coordination strategy, the influence of other underwater robots is not required to be considered for the underwater robot with the highest priority; for excellenceThe underwater robot with lower priority takes the underwater robot with higher priority as a virtual obstacle which can be encountered by the underwater robot, namely the underwater robot with higher priority has a radius dminAt a speed of movement ofIn which dminRepresenting a safe distance between the underwater robots.
Preferably, in the step (S5), each underwater robot uses the nonlinear model predictive controller to solve the formation control problem according to the respective reference state vector, and the method for obtaining the optimal control input includes:
each underwater robot constructs an objective function according to the state vectors, the expected formation, the reference track and the environmental information of the underwater robot and other underwater robots at the current time t:
wherein the current moment is t, the time domain length is N, and the ith underwater robot RiThe optimal control input sequence, the predicted state vector sequence and the reference state vector sequence are respectively ui(t:t+N-1)={ui(t),…,ui(t+N-1)}、si(t+1:t+N)={si(t+1),…,si(t+N)}、sir(t+1:t+N)={sir(t+1),…,sir(t + N) }; A. b, C, respectively representing state cost, terminal state cost, and weighting matrix of control input cost;
optimally calculating an optimal control input sequence:
According to the optimal control input sequence at the current time tAnd updating the actual state of the underwater robot.
Compared with the prior art, the invention has the advantages and positive effects that:
the invention provides a three-dimensional formation and obstacle avoidance method for underwater robots, which is based on correction zero space model prediction, combines a virtual structure method, calculates reference state vectors of all robots by constructing a mathematical model of a three-dimensional formation system of the underwater robots and adopting a Lyapunov stability theory, and realizes three-dimensional formation and track tracking; meanwhile, the influence of a single obstacle on the motion of the underwater robot is quantitatively calculated, and the reference motion speed of the robot is corrected, so that the safe obstacle avoidance can be realized without influencing the stability of a formation system; the method has the advantages that the influence of all barriers on the movement of the robot is comprehensively considered by adopting a zero-space strategy so as to meet the obstacle avoidance requirement, compared with the traditional weighted summation mode, the strategy is more reasonable and efficient, the stable formation navigation and safe obstacle avoidance of the robot can still be ensured simultaneously, and the method is suitable for the complex environment.
Drawings
FIG. 1 is a flow chart of a three-dimensional formation and obstacle avoidance method for underwater robots of the present invention;
FIG. 2 is a schematic diagram of three-dimensional formation of underwater robots based on a virtual structure method;
FIG. 3 is a schematic diagram of a null-space strategy in a two-dimensional space;
FIG. 4 shows the multi-robot three-dimensional formation and obstacle avoidance results;
wherein: fig. 4a shows a three-dimensional formation view of the underwater robot, fig. 4b shows a top view of the underwater robot, and fig. 4c shows a formation error curve.
Detailed Description
Hereinafter, embodiments of the present invention will be further described with reference to the accompanying drawings.
The underwater robots are often subjected to various sudden obstacles or threats when being formed and navigated in a three-dimensional complex environment, and the underwater robots are required to be capable of safely avoiding the obstacles and avoiding collision among the robots. The above constraints greatly increase the complexity of the formation problem, and the model predictive control method can flexibly process various constraints and has high robustness, so the invention considers the combination of the model predictive control and the virtual structure method. Since the model predictive controller can stably track the reference state vector, how to define a reasonable reference state vector according to the formation and obstacle avoidance requirements is the key point of the problem. Aiming at the formation requirement, the invention calculates the reference state vector based on the stability principle, the spatial position or the speed difference value and the like; on the basis, in order to meet the obstacle avoidance requirement, a zero-space strategy is adopted to comprehensively consider the influence of all obstacles on the movement of the robot.
Based on the analysis, the invention provides an underwater robot three-dimensional formation and obstacle avoidance method based on correction zero-space model predictive control. By constructing a three-dimensional formation model of the underwater robot based on a virtual structure and further determining a reference state vector of a model prediction controller by adopting a Lyapunov stability principle and a correction null-space strategy, the underwater robot can be guided to form a three-dimensional formation and accurately track an expected track, and simultaneously, obstacles are safely avoided. The method flow is shown in fig. 1, and specifically comprises the following steps:
(1) constructing a three-dimensional formation system mathematical model of the underwater robot: and defining a geometric formation by adopting a virtual structure method, and constructing a three-dimensional formation system mathematical model of the underwater robot according to a reference track of the center of the formation. The method specifically comprises the following steps:
① No consideration of ocean flow field effects, the ith underwater robot RiThe particle motion model in the inertial coordinate system O-xyz can be defined as:
wherein s isi=[xi,yi,zi,vi,ψi,γi]TAnd ui=[uxi,uyi,uzi]TRespectively representing the underwater robot state and control inputs. (x)i,yi,zi) Is the position of the robot, vi、ψi、γiRespectively the speed, heading angle and trim angle u of the robotxi、uyi、uziRespectively representing the overload components of the underwater robot in the advancing direction, the heading direction and the trim direction; in addition, the state quantity and the control quantity of the underwater robot need to meet the following motion constraint condition ux,min≤uxi≤ux,max,uy,min≤uyi≤uy,max,uz,min≤uzi≤uz,max,zmin≤zi≤zmax,vmin≤vi≤vmax,γmin≤γi≤γmax。
② As shown in FIG. 2, the virtual structure method is used to define the geometric formation, i.e. all underwater robots are treated as a virtual rigid body, and the geometric center point is OrTherefore, the expected motion track of the robot formation is the formation center OrThe reference motion trajectory of (2). No. i underwater robot R under inertial coordinate system O-xyziAnd a center point OrRespectively, are Pi=[xi,yi,zi]TAnd Pr=[xr,yr,zr]TVirtual center point OrThe desired velocity, azimuth angle and pitch angle are respectively vr、ψr、γrThen, the reference motion trajectory may be defined as:
wherein, ω isrIs the turn angular rate.
③ for more clear description of the model, with a virtual center point OrThe projection of the velocity vector of (a) in the horizontal plane is xrAxis, in a vertically upward direction, zrAxial direction, establishing a three-dimensional formation coordinate system Or-xryrzrTo obtain a formation coordinate system Or-xryrzrLower robot RiPosition P ofir=[xir,yir,zir]TComprises the following steps:
derivation of the above equation (3) yields:
determining the robot R according to the desired geometric formationiIn a three-dimensional formation coordinate system Or-xryrzrDesired position P ofdir=[xdir,ydir,zdir]T;
Then find the alignment error Pie=[xie,yie,zie]T=Pir-Pdir=[xir-xdir,yir-ydir,zir-zdir]T;
By formation error PieEquation (4) may be redefined as:
then the ith underwater robot R is constructediThe three-dimensional formation system mathematical model is as follows:
wherein, the ith underwater robot RiIn formation coordinate system Or-xryrzrThe state vector ofi=[xie,yie,zie,vi,ψi,γi]T。
(2) And under the barrier-free environment, calculating the reference state vector of each underwater robot based on the Lyapunov stability principle. The method specifically comprises the following steps:
in order to make the robots form a formation and navigate along a desired trajectorySolving the gradual trend of the formation error of each robot to 0, namely xie→0,yie→0,zie→ 0, so the Lyapunov distance function can be defined as:
derived from formula (7)
Wherein, β1、β2、β3A constant coefficient greater than 0; v. ofi、ψi、γiRespectively as the ith underwater robot RiDesired velocity v ofirHeading angle psiirLongitudinal inclination angle gammairAnd obtaining the ith underwater robot R in the free environment because the expected formation errors of the underwater robots are all 0iIn formation coordinate system Or-xryrzrThe reference state vector at is sir=[0,0,0,vir,ψir,γir]T。
(3) And calculating the influence of the single obstacle on the movement of the underwater robots so as to correct the reference movement speed of each underwater robot. The method specifically comprises the following steps:
① assume that there are K obstacles in the navigation space of the robot, and the K-th obstacle is taken as an example, K ∈ { 1., K }, and the surface equation isWherein (x)k0,yk0,zk0) Denotes the center of the obstacle, dk,ek,fkAnd ak,bk,ckBarrier shape factor and size factor, respectively.
Kth obstacle to underwater robot RiThe effects of the movement are:
wherein d isk、ek、fkAnd ak、bk、ckThe shape coefficient and the size coefficient of the kth barrier are respectively, K ∈ { 1., K }, wherein K represents the number of barriers in the navigation space of the underwater robot, I is a third-order unit matrix,radial normal vector, p, representing the k-th obstaclekIs the barrier reaction coefficient and pk>0,nk TVirIs less than or equal to 0 and represents the underwater robot RiApproaching the k-th obstacle, nk TVir> 0 denotes the underwater robot RiThe k-th obstacle has been avoided.
② calculating weight value omega of each obstacle according to the distance between the robot and the obstaclek:
Due to the fact thatTherefore, the weight value needs to be normalized to obtain a normalized weight value
③ reference state vector s according to robot in free environmentirCalculable underwater robot RiReference movement velocity V ofir=[vircosγircosψir,vircosγirsinψir,virsinγir]TAnd correcting the reference movement speed under the influence of the k-th obstacle to obtain a reference movement speed correction valueNamely:
wherein the motion speed of the k-th obstacle is Uobs,kExponential decay termTo appropriately reduce the influence of a distant obstacle.
(4) And according to a zero-space strategy, considering the influence of all obstacles on the motion of the underwater robot, and obtaining the reference state vector of each underwater robot in the multi-obstacle environment. The method specifically comprises the following steps:
because the shape, the size, the distance and the like of each obstacle are different from each other, the obstacles have different influences on the motion of the underwater robot, and the corrected reference motion speedAre different from each other and may even contradict each other. For example, to avoid an obstacle, the robot needs to move to the left, and to avoid another obstacle, the robot may need to move to the right. The traditional speed summing method can not cope with the problems, so the invention adopts a zero-space strategy to fuse each corrected reference motion speed: the priority of each reference motion velocity is determined first, then the higher priority reference motion velocity is retained, while for the lower priority reference motion velocity only its component in the null space (i.e. perpendicular to the higher priority velocity vector) is retained, while the other components are ignored. The method specifically comprises the following steps:
① correcting all reference movement speedAccording to the size from large to smallLine sorting, determining their priority sequence number { 1., K };
fusing all reference motion speed correction values according to a null space strategy:
according to the above formula, the reference movement speed correction value with the highest priority is completely reserved, and only the component of the reference movement speed correction value with the second highest priority in the null space is reserved for the reference movement speed correction value with the second highest priority, and so on, so that all the reference movement speed correction values can be fused. FIG. 3 shows a schematic diagram of a null-space strategy in two-dimensional space, whereHas a higher priority thanIs shown andverticalAnd (4) components. In addition, since the partial reference motion velocity correction value component is ignored, the rate of fusionYet further compensation is required, i.e.
③ based on the corrected reference velocity vectorCan calculate each reference state such asTherefore, the underwater robot R under the multi-obstacle environmentiThe reference state vector of
And each underwater robot calculates the respective reference state vector according to the steps, but other underwater robots are also required to be used as virtual obstacles so as to avoid collision among the robots. Specifically, first, the formation position error of each robot is determinedDetermining a priority order, wherein the smaller the error is, the higher the priority of the robot is; then, according to the priority coordination strategy, the robot with the highest priority does not need to consider the influence of other robots, and for the robot with lower priority, the robot with higher priority needs to be used as a virtual obstacle which the robot with higher priority may encounter, namely, the robot with the radius dminAt a speed of movement ofIn which dminRepresenting a safe distance between the underwater robots.
(5) And solving the formation control problem by utilizing the nonlinear model predictive controller according to the respective reference state vector of each underwater robot to obtain the optimal control input. The method specifically comprises the following steps:
① Each Underwater robot tracks the reference state using a nonlinear model predictive controller to obtain the optimal control input assuming that the current time is t, the time domain length is N, the robot RiThe optimal control input sequence, the predicted state vector sequence and the reference state vector sequence are respectively ui(t:t+N-1)={ui(t),…,ui(t+N-1)}、si(t+1:t+N)={si(t+1),…,si(t+N)}、sir(t+1:t+N)={sir(t+1),…,sir(t+N)}。
Then the underwater robot RiConstructing an objective function according to state vectors, expected formation, reference tracks, environmental information and the like of the robot and other robots:
a, B, C represents weighting matrix of state cost, terminal state cost and control input cost, which are set in advance.
③ input the optimal control sequence at the current time tThe method is used for navigation of the robot and updating the actual state of the underwater robot. And at the moment of t +1, recalculating the optimal control input sequence and updating the state value, and so on to realize the rolling optimization.
Fig. 4 shows three-dimensional formation and obstacle avoidance results of the underwater robot in a complex environment, fig. 4a shows a three-dimensional formation view of the underwater robot, fig. 4b shows a top view of the underwater robot, and fig. 4c shows a formation error curve. The 5 underwater robots R1-R5 can form a triangular formation rapidly, track the expected track FGT and avoid various static or dynamic obstacles and other robots safely. Although each robot changes the expected formation shape due to obstacle avoidance and increases the formation error, the robot quickly returns to the expected position after avoiding the obstacle and the formation error approaches to 0 again.
Therefore, in summary, the underwater robot three-dimensional formation and obstacle avoidance method provided by the invention is based on the prediction of a modified zero-space model, based on a virtual model structure, through constructing a mathematical model of an underwater robot three-dimensional formation system, and calculating the reference state vector of each robot by adopting a Lyapunov stability theory, so that three-dimensional formation and track tracking are realized; meanwhile, the influence of a single obstacle on the motion of the underwater robot is quantitatively calculated, and the reference motion speed of the robot is corrected, so that the safe obstacle avoidance can be realized without influencing the stability of a formation system; the method has the advantages that the influence of all barriers on the movement of the robot is comprehensively considered by adopting a zero-space strategy so as to meet the obstacle avoidance requirement, compared with the traditional weighted summation mode, the strategy is more reasonable and efficient, the stable formation navigation and safe obstacle avoidance of the robot can still be ensured simultaneously, and the method is suitable for the complex environment.
The above description is only a preferred embodiment of the present invention, and not intended to limit the present invention in other forms, and any person skilled in the art may apply the above modifications or changes to the equivalent embodiments with equivalent changes, without departing from the technical spirit of the present invention, and any simple modification, equivalent change and change made to the above embodiments according to the technical spirit of the present invention still belong to the protection scope of the technical spirit of the present invention.
Claims (7)
1. A three-dimensional formation and obstacle avoidance method for underwater robots is characterized by comprising the following steps:
(S1) constructing a three-dimensional formation system mathematical model of the underwater robot: defining a geometric formation by adopting a virtual structure method, and constructing a three-dimensional formation system mathematical model of the underwater robot according to a reference track of the formation center;
(S2) under the barrier-free environment, calculating the reference state vector of each underwater robot based on the Lyapunov stability principle;
(S3) calculating an influence of the single obstacle on the movement of the underwater robots to correct the reference movement speed of each underwater robot;
(S4) according to a zero-space strategy, considering the influence of all obstacles on the movement of the underwater robot, and obtaining reference state vectors of the underwater robots in a multi-obstacle environment;
(S5) each underwater robot utilizes the nonlinear model predictive controller to solve the formation control problem according to the respective reference state vector, and the optimal control input is obtained.
2. The underwater robot three-dimensional formation and obstacle avoidance method according to claim 1, wherein the step (S1) of defining a geometric formation by using a virtual structure method, and constructing a mathematical model of a three-dimensional formation system of the underwater robot based on a reference trajectory of a center of the formation comprises:
not considering the influence of ocean flow field, and enabling the ith underwater robot RiThe particle motion model in the inertial coordinate system O-xyz is defined as:
wherein s isi=[xi,yi,zi,vi,ψi,γi]TAnd ui=[uxi,uyi,uzi]TRespectively representing the state and the control input vector of the ith underwater robot under an inertial coordinate system O-xyz, (x)i,yi,zi) As position coordinates of the robot, vi、ψi、γiRespectively robot velocity, heading angle, pitch angle uxi、uyi、uziRespectively representing the overload components of the underwater robot in the advancing direction, the heading direction and the trim direction; and satisfy ux,min≤uxi≤ux,max、uy,min≤uyi≤uy,max、uz,min≤uzi≤uz,max、zmin≤zi≤zmax、vmin≤vi≤vmax、γmin≤γi≤γmax;
All underwater robots are regarded as a virtual rigid body, a virtual structure legal geometric formation is adopted, and the geometric central point is OrThe expected motion trail of the robot formation is the formation center OrThe reference motion trajectory is defined as:
wherein, the ith underwater robot R under an inertial coordinate system O-xyziAnd a center point OrRespectively, are Pi=[xi,yi,zi]TAnd Pr=[xr,yr,zr]TVirtual center point OrThe desired velocity, azimuth angle and pitch angle are respectively vr、ψr、γr,ωrIs the turn angular rate;
with a virtual center point OrThe projection of the velocity vector of (a) in the horizontal plane is xrAxis, in a vertically upward direction, zrAxial direction, establishing a three-dimensional formation coordinate system Or-xryrzrThen the formation coordinate system Or-xryrzrLower ith underwater robot RiPosition P ofir=[xir,yir,zir]TExpressed as:
derivation of formula (3) yields:
determining the underwater robot R according to the expected geometric formationiIn formation coordinate system Or-xryrzrDesired position P ofdir=[xdir,ydir,zdir]TThen the queuing error is expressed as:
Pie=[xie,yie,zie]T=Pir-Pdir=[xir-xdir,yir-ydir,zir-zdir]T(5)
constructing an underwater robot R according to formulas (1) to (5)iThe three-dimensional formation system mathematical model is as follows:
wherein, the ith underwater robot RiIn formation coordinate system Or-xryrzrThe state vector ofi=[xie,yie,zie,vi,ψi,γi]T。
3. The underwater robot three-dimensional formation and obstacle avoidance method according to claim 2, wherein in the step (S2), in an obstacle-free environment, the method for calculating the reference state vector of each underwater robot based on the Lyapunov stability principle comprises:
defining a Lyapunov distance function:
derivation of equation (7) yields:
wherein,β1、β2、β3a constant coefficient greater than 0; v. ofi、ψi、γiRespectively as underwater robots RiDesired velocity v ofirHeading angle psiirLongitudinal inclination angle gammairThe expected formation error is 0, and the ith underwater robot R in the free environment is obtainediIn formation coordinate system Or-xryrzrThe reference state vector at is sir=[0,0,0,vir,ψir,γir]T。
4. The underwater robot three-dimensional formation and obstacle avoidance method according to claim 3, wherein the step (S3) of calculating the influence of a single obstacle on the movement of the underwater robots to correct the reference movement speed of each underwater robot comprises:
according to the formula:
calculating the k-th barrier pair underwater robot RiInfluence of movement Mk;
Wherein,surface equation representing the kth obstacle, (x)k0,yk0,zk0) Denotes the center of the obstacle, dk、ek、fkAnd ak、bk、ckThe shape coefficient and the size coefficient of the obstacle are respectively, K ∈ { 1., K } represents the number of the obstacles in the navigation space of the underwater robot, I is a third-order unit matrix,radial normal vector, p, representing the k-th obstaclekIs the barrier reaction coefficient and pk>0,nk TVirIs less than or equal to 0 and represents the underwater robot RiApproaching the k-th obstacle, nk TVir> 0 denotes the underwater robot RiThe kth obstacle has been avoided;
calculating the weight value omega of each obstacle according to the distance between the underwater robot and the obstaclekAnd weight value omega is weightedkNormalization processing is carried out to obtain a normalized weight value
According to the underwater robot R in the free environmentiReference state vector sirCalculating the reference motion velocity V of the underwater robotirAnd correcting the reference movement speed of the underwater robot under the influence of the kth obstacle to obtain a reference movement speed correction valueNamely:
5. The underwater robot three-dimensional formation and obstacle avoidance method according to claim 4, wherein the step (S4) of obtaining the reference state vector of each underwater robot in the multi-obstacle environment in consideration of the influence of all obstacles on the movement of the underwater robot according to a null-space strategy is as follows:
consider all obstacles to underwater robot RiInfluence of movement, correcting all reference movement speed valuesSorting according to size, and determining priority sequence numbers { 1.., K };
according to the formula:
based on the null space strategy, the reference operation with the highest priority is completely reservedCorrection value of dynamic velocityCorrecting the reference movement speed with the highest priorityOnly the component of the reference motion velocity is kept in the null space, and the corrected value of each reference motion velocity is fusedAnd compensating and determining the reference velocity vector of the underwater robot
6. The underwater robot three-dimensional formation and obstacle avoidance method according to claim 5, wherein the formation position error of each underwater robot is determined according toDetermining the priority order of the underwater robots according to the size;
according to the priority coordination strategy, for the underwater vehicle with the highest priorityThe robot does not need to consider the influence of other underwater robots; for the underwater robot with lower priority, the underwater robot with higher priority is taken as a virtual obstacle which can be encountered by the underwater robot, namely the underwater robot with higher priority has a radius dminAt a speed of movement ofIn which dminRepresenting a safe distance between the underwater robots.
7. The underwater robot three-dimensional formation and obstacle avoidance method according to claim 5 or 6, wherein in the step (S5), each underwater robot performs formation control problem solving by using a nonlinear model predictive controller according to a respective reference state vector, and the method for obtaining the optimal control input comprises:
each underwater robot constructs an objective function according to the state vectors, the expected formation, the reference track and the environmental information of the underwater robot and other underwater robots at the current time t:
wherein the current moment is t, the time domain length is N, and the ith underwater robot RiThe optimal control input sequence, the predicted state vector sequence and the reference state vector sequence are respectively ui(t:t+N-1)={ui(t),…,ui(t+N-1)}、si(t+1:t+N)={si(t+1),…,si(t+N)}、sir(t+1:t+N)={sir(t+1),…,sir(t + N) }; A. b, C, respectively representing state cost, terminal state cost, and weighting matrix of control input cost;
optimally calculating an optimal control input sequence:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010412640.9A CN111522351B (en) | 2020-05-15 | 2020-05-15 | Three-dimensional formation and obstacle avoidance method for underwater robot |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010412640.9A CN111522351B (en) | 2020-05-15 | 2020-05-15 | Three-dimensional formation and obstacle avoidance method for underwater robot |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111522351A true CN111522351A (en) | 2020-08-11 |
CN111522351B CN111522351B (en) | 2021-05-18 |
Family
ID=71907374
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010412640.9A Active CN111522351B (en) | 2020-05-15 | 2020-05-15 | Three-dimensional formation and obstacle avoidance method for underwater robot |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111522351B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112558483A (en) * | 2020-12-29 | 2021-03-26 | 北京电子工程总体研究所 | Formation control method and system based on model predictive control |
CN113009924A (en) * | 2021-03-08 | 2021-06-22 | 哈尔滨工程大学 | Obstacle avoidance method of underwater unmanned aerial vehicle based on non-quadratic inverse optimal control |
CN113190037A (en) * | 2021-04-08 | 2021-07-30 | 上海吞山智能科技有限公司 | Unmanned aerial vehicle optimal path searching method based on improved fluid disturbance and sparrow algorithm |
CN113448338A (en) * | 2021-05-25 | 2021-09-28 | 鹏城实验室 | Robot control method, robot, computer program product, and storage medium |
CN115629613A (en) * | 2022-12-19 | 2023-01-20 | 北京卓翼智能科技有限公司 | Formation fault-tolerant control method for multiple intelligent agents |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102042835A (en) * | 2010-11-05 | 2011-05-04 | 中国海洋大学 | Autonomous underwater vehicle combined navigation system |
CN102722177A (en) * | 2012-06-27 | 2012-10-10 | 哈尔滨工程大学 | Autonomous underwater vehicle (AUV) three-dimensional straight path tracking control method with PID (Piping and Instruments Diagram) feedback gain |
CN103576693A (en) * | 2013-11-11 | 2014-02-12 | 哈尔滨工程大学 | Underwater robot three-dimensional path tracking control method based on second-order filter |
CN103781602A (en) * | 2011-09-15 | 2014-05-07 | 株式会社安川电机 | Robotic system and robot controller |
CN104918263A (en) * | 2015-06-08 | 2015-09-16 | 浙江理工大学 | Mobile auxiliary networking device based on underwater acoustic sensor network, and networking method thereof |
CN108829113A (en) * | 2018-09-01 | 2018-11-16 | 哈尔滨工程大学 | A kind of adaptive kernel action amalgamation method of multi-robot formation |
CN109062229A (en) * | 2018-08-03 | 2018-12-21 | 北京理工大学 | The navigator of underwater robot system based on binocular vision follows formation method |
CN109375646A (en) * | 2018-11-14 | 2019-02-22 | 江苏科技大学 | AUV docking recycling autonomous navigation method based on FMSRUPF algorithm |
CN110231821A (en) * | 2019-06-03 | 2019-09-13 | 哈尔滨工程大学 | The adaptive kernel action amalgamation method of the improvement of multi-robot formation |
CN110333369A (en) * | 2019-07-10 | 2019-10-15 | 哈尔滨工程大学 | The DVL velocity-measuring system and self-adaptive solution method of UUV based on water surface GPS correction |
-
2020
- 2020-05-15 CN CN202010412640.9A patent/CN111522351B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102042835A (en) * | 2010-11-05 | 2011-05-04 | 中国海洋大学 | Autonomous underwater vehicle combined navigation system |
CN103781602A (en) * | 2011-09-15 | 2014-05-07 | 株式会社安川电机 | Robotic system and robot controller |
CN102722177A (en) * | 2012-06-27 | 2012-10-10 | 哈尔滨工程大学 | Autonomous underwater vehicle (AUV) three-dimensional straight path tracking control method with PID (Piping and Instruments Diagram) feedback gain |
CN103576693A (en) * | 2013-11-11 | 2014-02-12 | 哈尔滨工程大学 | Underwater robot three-dimensional path tracking control method based on second-order filter |
CN104918263A (en) * | 2015-06-08 | 2015-09-16 | 浙江理工大学 | Mobile auxiliary networking device based on underwater acoustic sensor network, and networking method thereof |
CN109062229A (en) * | 2018-08-03 | 2018-12-21 | 北京理工大学 | The navigator of underwater robot system based on binocular vision follows formation method |
CN108829113A (en) * | 2018-09-01 | 2018-11-16 | 哈尔滨工程大学 | A kind of adaptive kernel action amalgamation method of multi-robot formation |
CN109375646A (en) * | 2018-11-14 | 2019-02-22 | 江苏科技大学 | AUV docking recycling autonomous navigation method based on FMSRUPF algorithm |
CN110231821A (en) * | 2019-06-03 | 2019-09-13 | 哈尔滨工程大学 | The adaptive kernel action amalgamation method of the improvement of multi-robot formation |
CN110333369A (en) * | 2019-07-10 | 2019-10-15 | 哈尔滨工程大学 | The DVL velocity-measuring system and self-adaptive solution method of UUV based on water surface GPS correction |
Non-Patent Citations (5)
Title |
---|
FILIPPO ARRICHIELLO等: "Formation Control of Underactuated Surface Vessels using the Null-Space-Based Behavioral Control", 《INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS》 * |
PENG YAO等: "Three-Dimensional Path Planning for AUV Based on Interfered Fluid Dynamical System Under Ocean Current", 《IEEE ACCESS》 * |
朱大奇等: "基于生物启发模型的AUV三维自主路径规划与安全避障算法", 《控制与决策》 * |
潘无为等: "人工势场和虚拟结构相结合的多水下机器人编队控制", 《兵工学报》 * |
牟春晖: "面向空间曲线路径跟踪的多UUV协调编队控制", 《 中国博士学位论文电子期刊网 工程科技Ⅱ辑》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112558483A (en) * | 2020-12-29 | 2021-03-26 | 北京电子工程总体研究所 | Formation control method and system based on model predictive control |
CN112558483B (en) * | 2020-12-29 | 2023-05-16 | 北京电子工程总体研究所 | Formation control method and system based on model predictive control |
CN113009924A (en) * | 2021-03-08 | 2021-06-22 | 哈尔滨工程大学 | Obstacle avoidance method of underwater unmanned aerial vehicle based on non-quadratic inverse optimal control |
CN113190037A (en) * | 2021-04-08 | 2021-07-30 | 上海吞山智能科技有限公司 | Unmanned aerial vehicle optimal path searching method based on improved fluid disturbance and sparrow algorithm |
CN113448338A (en) * | 2021-05-25 | 2021-09-28 | 鹏城实验室 | Robot control method, robot, computer program product, and storage medium |
CN113448338B (en) * | 2021-05-25 | 2023-11-28 | 鹏城实验室 | Robot control method, robot, computer program product, and storage medium |
CN115629613A (en) * | 2022-12-19 | 2023-01-20 | 北京卓翼智能科技有限公司 | Formation fault-tolerant control method for multiple intelligent agents |
Also Published As
Publication number | Publication date |
---|---|
CN111522351B (en) | 2021-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111522351B (en) | Three-dimensional formation and obstacle avoidance method for underwater robot | |
CN111413966B (en) | Progressive model prediction unmanned planning tracking cooperative control method | |
Zheng et al. | Planning and tracking in image space for image-based visual servoing of a quadrotor | |
CN110262492B (en) | Real-time collision avoidance and target tracking method for unmanned ship | |
CN112198901B (en) | Unmanned aerial vehicle autonomous collision avoidance decision method based on three-dimensional dynamic collision area | |
CN113093804B (en) | Unmanned ship formation control method and control system based on inversion sliding mode control | |
CN110561420B (en) | Arm profile constraint flexible robot track planning method and device | |
Shentu et al. | Motion control and trajectory planning for obstacle avoidance of the mobile parallel robot driven by three tracked vehicles | |
CN112327872A (en) | Double unmanned ship cooperative track tracking method for oil spill containment | |
CN111309002A (en) | Wheel type mobile robot obstacle avoidance method and system based on vector | |
CN112327892A (en) | Anti-interference control method with AUV (autonomous Underwater vehicle) error limited | |
CN113721639B (en) | Path planning method and control method for docking of small underwater robot | |
Ollero et al. | Integrated mechanical design and modelling of a new mobile robot | |
Ding et al. | Chat-PM: A class of composite hybrid aerial/terrestrial precise manipulator | |
CN114940164B (en) | Unmanned vehicle driving track optimization method and system for parking scene | |
CN116714780A (en) | Rotor flying mechanical arm and planning and control method for rapid aerial grabbing | |
CN114291117B (en) | Four-wheel steering unmanned vehicle track tracking control method | |
Kanjanawanishkul | Coordinated path following for mobile robots using a virtual structure strategy with model predictive control | |
McNinch et al. | Application of a coordinated trajectory planning and real-time obstacle avoidance algorithm | |
Hernandez-Martinez et al. | Marching control of unicycles based on the leader-followers scheme | |
Thanh | An effective trajectory determination for collision avoidance of unmanned vehicles | |
Bae et al. | A fuzzy compensated PID controller for formation control of mobile robots | |
Sánchez-Orta et al. | Aerial following of a non-holonomic mobile robot subject to velocity fields: A case study for autonomous vehicles surveillance | |
Tziortziotis et al. | Motion planning with energy reduction for a floating robotic platform under disturbances and measurement noise using reinforcement learning | |
Sebastian et al. | Gaussian Kernel Controller for Path Tracking in Mobile Robots |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |