CN102306399A - Three-dimensional space path planning method based on movement property of elastic rope - Google Patents

Three-dimensional space path planning method based on movement property of elastic rope Download PDF

Info

Publication number
CN102306399A
CN102306399A CN201110206406A CN201110206406A CN102306399A CN 102306399 A CN102306399 A CN 102306399A CN 201110206406 A CN201110206406 A CN 201110206406A CN 201110206406 A CN201110206406 A CN 201110206406A CN 102306399 A CN102306399 A CN 102306399A
Authority
CN
China
Prior art keywords
rightarrow
prime
barrier
point
elastic threads
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
Application number
CN201110206406A
Other languages
Chinese (zh)
Other versions
CN102306399B (en
Inventor
刘利强
范志超
戴运桃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Ship Navigation Technology Co., Ltd.
Original Assignee
Harbin Engineering University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN 201110206406 priority Critical patent/CN102306399B/en
Publication of CN102306399A publication Critical patent/CN102306399A/en
Application granted granted Critical
Publication of CN102306399B publication Critical patent/CN102306399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a three-dimensional space path planning method based on the movement property of an elastic rope, which comprises the steps of: initializing a retrieving environment and a parameter, computing the displacement of a point on the elastic rope due to the action of the elastic rope; computing the displacement of the point on the elastic rope due to the action of the elastic rope and a barrier; computing a position after movement; judging whether all points on the elastic rope move once, judging whether the elastic rope reaches a balance position and the like. The three-dimensional space path planning method based on the movement property of the elastic rope, provided by the invention, has the advantages of small operation quantity, high routing speed and simple environment expression relative to other path planning methods; only a normal direction that the surface of the barrier points to the outer part of the barrier is known; a space is not divided into the form of cells; and a found path has better smoothness and accuracy.

Description

A kind of three dimensions paths planning method based on the elastic threads kinetic property
Technical field
The invention belongs to the Computational intelligence technology field, moving under the obstacle environment through the virtual space elastic threads proposes a kind of three-dimensional sky footpath planing method of asking the way.
Background technology
Along with the development of air-sea cause, three-dimensional path planning more and more receives people's attention, and it plays crucial effects in effective utilization of resource and time.But mostly existing paths planning method is to propose to two-dimensional space; Existing three-dimensional sky is asked the way directly, and mostly planing method is the popularization of two-dimension method to three-dimensional method; Because three-dimensional complexity improves; In three-dimensional popularization process, must bring problems by two dimension, as adopted at present to three dimensions paths planning method Artificial Potential Field method, A* search procedure, based on the rationalistic method of case and genetic algorithm etc., wherein potential field method inevitably can be sunk into local minimum; And when adopting complicated optimization criterion, potential field method can not directly be promoted; The A* algorithm can be used in the higher-dimension problem, but along with the increase of dimension, the space and time requirement of A* algorithm will be difficult to be met; Method based on reasoning by cases is adjusted the path according to the barrier of part, can not obtain the path of global optimum sometimes; Genetic algorithms use mode at random produces initial path, utilizes the genetic operator operation constantly the path to be improved.When environmental baseline was fairly simple, algorithm can be accomplished planning, and when circumstance complication, algorithm will be difficult to the feasible path that finds one to satisfy constraint condition.These problems are the constructional of algorithm, want good solution, need the proposition of new theory and new method.
Summary of the invention
To the problem that exists in the prior art; This patent has proposed a kind of three dimensions paths planning method based on the elastic threads kinetic property; The thought of the searching space path of this method derives from the kinetic property of elastic threads in the real world, the elastic threads that two ends are fixing; Give initial position of elastic threads arbitrarily; Under the holding power and the elastic force effect of self of the damping force of air, barrier, it always can be stabilized on the shortest locus that possibly move to, and the locus when elastic threads is stablized so is a comparatively ideal space path.
The present invention proposes a kind of three-dimensional sky based on elastic threads kinetic property footpath planing method of asking the way, and specifically comprises following step (mould of following symbol
Figure BDA0000077738490000011
expression vector is long):
Step 1: environment and parameter are recovered in initialization:
If point is { A on the elastic threads i, after taking place once to move be A ' i, (i=1,2 ... n), n is the number of putting on the elastic threads, n>=3; The coordinate of starting point and terminal point is respectively A in the space 1, A n, the displacement of starting point and terminal point is always zero; The centre of sphere and the radius of barrier are respectively { O j, { R j(j=1,2 ... m), the number m of barrier>=0; Resistance coefficient k ∈ (0,1).Be used to judge whether adjacent threshold parameter ξ does for elastic threads and barrier
Figure BDA0000077738490000021
R jBe the radius of j barrier, C 1>0 is constant; The iteration stopping threshold values that judges whether balance is that ζ does
Figure BDA0000077738490000022
C 2>0 is constant, Distance for the pathfinding origin-to-destination;
Step 2: make A 1'=A 1, A n'=A nCurrent motor point A on the elastic threads iSubscript i=2, elastic threads is from second some setting in motion;
Step 3: according to formula
Figure BDA0000077738490000024
Calculate A iPoint receives the caused displacement of effect of elastic threads
Figure BDA0000077738490000025
Wherein k is a resistance coefficient, A I-1' expression A I-1Point after once moving, A iAt A I+1Graviational interaction under displacement do
Figure BDA0000077738490000026
A iAt A I-1Graviational interaction under displacement do
Figure BDA0000077738490000027
The subscript j=1 of order expression barrier calculates A iPoint and barrier O 1Effect;
Step 4: judge A iWhether some O in barrier j, if
Figure BDA0000077738490000028
Set up, then A iPoint calculates A in barrier iPoint elasticity rope and barrier O jResultant displacement under the acting in conjunction
Figure BDA0000077738490000029
For:
A i A i ′ → = S A i → + S O j A i ′ → + S O j A i ′ ′ → + S O j A i ′ ′ ′ →
= S A i → + S O j A i ′ ′ ′ →
= S A i → + O j A i → | O j A i → | * L ′
Wherein Change step 8 then over to; If
Figure BDA00000777384900000214
Be false, then A iPoint gets into step 5 not in barrier; Wherein, S O j A i &prime; &prime; &prime; &RightArrow; = O j A i &RightArrow; | O j A i &RightArrow; | * L &prime; * g ( | O j A i &RightArrow; | - R j ) , g ( x ) = 0 x &GreaterEqual; 0 1 x < 0 ;
S O j A i &prime; &prime; &RightArrow; = - O j A i &RightArrow; | O j A i &RightArrow; | 2 * ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; ) * f ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; ) * f ( R j - | O j A i &RightArrow; | ) * f ( | O j A i &RightArrow; | - R j - &xi; ) , f ( x ) = 0 x > 0 1 x &le; 0 ; S O j A i &prime; &RightArrow; = S A i &RightArrow; | S A i &RightArrow; | * ( L - | S A i &RightArrow; | - &xi; ) * g ( R j + &xi; - | O j A i &RightArrow; | ) * g ( | O j A i &RightArrow; + S A i &RightArrow; | - R j ) , g ( x ) = 0 x &GreaterEqual; 0 1 x < 0 ;
Step 5: judge A iWhether point is surperficial at barrier, if
Figure BDA0000077738490000031
Set up, then A iPoint is on the barrier surface, and this moment is if having
Figure BDA0000077738490000032
Set up, then calculate A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
A i A i &prime; &RightArrow; = S A i &RightArrow; + S O j A i &prime; &RightArrow; + S O j A i &prime; &prime; &RightArrow; + S O j A i &prime; &prime; &prime; &RightArrow;
Figure BDA0000077738490000035
Calculate A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
= S A i &RightArrow; - O j A i &RightArrow; | O j A i &RightArrow; | 2 * ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; )
Figure BDA0000077738490000037
Get into step 8 then; If
Figure BDA0000077738490000038
Be false, then directly get into step 7; If
Figure BDA0000077738490000039
Be false, then A iPoint on the barrier surface, does not get into step 6;
Step 6: judge A iPoint receives the caused displacement of effect of elastic threads
Figure BDA00000777384900000310
Whether can move to barrier O down jIn, if
Figure BDA00000777384900000311
Set up, then A iPoint can move to barrier O jIn, then calculate A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
Figure BDA00000777384900000312
A i A i &prime; &RightArrow; = S A i &RightArrow; + S O j A i &prime; &RightArrow; + S O j A i &prime; &prime; &RightArrow; + S O j A i &prime; &prime; &prime; &RightArrow;
= S A i &RightArrow; + S O j A i &prime; &RightArrow;
= S A i &RightArrow; + S A i &RightArrow; | S A i &RightArrow; | * ( L - S A i &RightArrow; - &xi; )
= S A i &RightArrow; | S A i &RightArrow; | * ( L - &xi; )
Wherein L = - S A i &RightArrow; &CenterDot; O j A i &RightArrow; | S A i &RightArrow; | - ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; | S A i &RightArrow; | ) 2 - | O j A i &RightArrow; | 2 + R j 2 , Calculate A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
Figure BDA00000777384900000318
Get into step 8;
If Be false, A then is described iPoint can not move to barrier O jIn, directly get into step 7;
Step 7: A iPut the effect that only receives the effect of elastic threads and do not receive barrier, A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
Figure BDA00000777384900000320
The subscript j of order expression barrier adds 1 then, whether judges j again greater than m, if greater than m, gets into step 8, otherwise returns step 4;
Step 8: calculate A iPosition after point moves
Figure BDA0000077738490000041
Make current motor point A iSubscript i add 1, and whether judge i, if i more than or equal to n, gets into step 9, otherwise returns step 3 more than or equal to n;
Step 9: judge whether elastic threads reaches the equilibrium position, if
Figure BDA0000077738490000042
Set up, say that then elastic threads reaches the equilibrium position, stop pathfinding, the residing position of elastic threads this moment be the path that will seek, otherwise do not reach the equilibrium position, make A i=A i' (i=1,2 ..., n), and return step 2.
The invention has the advantages that:
1, the present invention proposes a kind of three dimensions paths planning method based on the elastic threads kinetic property, has proposed a kind of new method of seeking the space optimal path, and this method has convergence, and elastic threads convergent extreme position is part or globally optimal solution;
2, the present invention proposes a kind of three dimensions paths planning method based on the elastic threads kinetic property, and little with respect to other paths planning method operand, pathfinding speed is fast;
3, the present invention proposes a kind of three dimensions paths planning method based on the elastic threads kinetic property, and environment representation is simple, points to the outer normal direction of barrier as long as know the barrier surface;
4, the present invention proposes a kind of three dimensions paths planning method based on the elastic threads kinetic property, need spatial be slit into the form of cell, the path flatness that is found, and accuracy is better.
Description of drawings
Fig. 1: when point is outside barrier on the elastic threads, receive the displacement profile figure of obstacle effect;
Fig. 2: point receives the displacement profile figure of obstacle effect on the elastic threads when obstacles borders;
Fig. 3: when point is in barrier on the elastic threads, receive the displacement profile figure of obstacle effect;
Fig. 4: the process flow diagram of the present invention proposes a kind of three dimensions paths planning method based on the elastic threads kinetic property;
Fig. 5: the convergence result that single elastic threads uses that the present invention proposes based on the three dimensions paths planning method of elastic threads kinetic property;
Fig. 6: the convergence result that five elastic threads use that the present invention proposes based on the three dimensions paths planning method of elastic threads kinetic property.
Embodiment
To combine accompanying drawing that the present invention is elaborated below:
The barrier surface is smooth, and the contraction of elastic threads is unreasonable to be thought, so establish barrier with smooth curved surface parcel, described smooth being meant: establishing on the elastic threads is A with surperficial any that contacts of barrier arbitrarily; This some place normal to a surface direction is
Figure BDA0000077738490000043
(outer by pointing to barrier in the barrier); The A point receives the A point of making a concerted effort for
Figure BDA0000077738490000051
then except that this power barrier and receives the acting force of barrier and be:
F &RightArrow; a = - a &RightArrow; | a &RightArrow; | 2 * ( F &RightArrow; &CenterDot; a &RightArrow; ) * f ( F &RightArrow; &CenterDot; a &RightArrow; ) - - - ( 1 )
Wherein:
f ( x ) = 0 x > 0 1 x &le; 0 - - - ( 2 )
Order
Figure BDA0000077738490000054
So and
Figure BDA0000077738490000056
The force is always associated with surface normal
Figure BDA0000077738490000057
orthogonal.
Barrier is represented with mutual non-conterminous smooth sphere, described non-conterminous being interpreted as: the centre of sphere of establishing any two barriers is O 1, O 2, radius is R 1, R 2Then have
| O 1 O 2 &RightArrow; | - ( R 1 + R 2 ) > 0 - - - ( 3 )
Wherein η is a constant.
According to displacement formula:
s = 1 2 a t 2 = 1 2 F m t 2 = F t 2 2 m - - - ( 4 )
Wherein, s representes displacement; A representes acceleration magnitude; The t express time; F representes the external force size; M representes quality.As time t and quality m fixedly the time, displacement s and external force F are directly proportional, i.e. the big more displacement of external force is big more, so when calculating discretize, represent to put on the elastic threads stressed size with the displacement size.
Definition elastic threads: the fixing elastic threads of forming by the individual identical point of n (n>=3) of end points; Any two consecutive point; And have only adjacent point always to attract each other; Two consecutive point A of non-end points on the elastic threads; B; A then; B has under the effect of attractive interaction and caused by movement resistance: some displacement that A did is: the displacement that B did of
Figure BDA00000777384900000510
point for wherein k ∈ (0,1) be resistance coefficient.
Can know that by elastic threads definition the big more displacement of doing of adjacent 2 distances is big more on the elastic threads, represent 2 stressed big more, this conforms to more greatly with the big more gravitation of elastic threads elongation.Point among the present invention all refers to the point in the three dimensions, and coordinate promptly all belongs to R 1 * 3
The displacement method (in the absence of barrier) of definition elastic threads: establish on the elastic threads point and be followed successively by { A 1, A 2..., A n, through next moment point after once moving be followed successively by A ' 1, A ' 2..., A ' n(so because end points is fixed A ' 1=A 1, A ' n=A n), an optional end points is a starting point, like A 1, at first move and terminal A 1Adjacent some A 2,, calculate A according to the definition of elastic threads 2At A ' 1Graviational interaction under displacement do
Figure BDA0000077738490000061
At A 3Graviational interaction under displacement do
Figure BDA0000077738490000062
And A 3The displacement of doing jointly under using of point is A 2The caused displacement of effect that receives elastic threads is:
S A 2 &RightArrow; = k * A 2 A 1 &prime; &RightArrow; + k * A 2 A 3 &RightArrow; - - - ( 5 )
A 2Next position constantly does
A 2 &prime; = A 2 + S A 2 &RightArrow; - - - ( 6 )
With identical method, move { A successively 3, A 4, A 5..., A N-1, so obtain on the elastic threads removing the every bit of end points do through the position after once moving
A i &prime; = A i + S A i &RightArrow; ( i = 2,3 . . . , n - 1 ) - - - ( 7 )
Make A i=A ' i(i=1,2 ..., n), repeat above-mentioned moving, carry out such moving repeatedly, till having a few all no longer motion on the elastic threads, promptly elastic threads reaches the equilibrium position.
Define the effect of barrier to elastic threads: the centre of sphere of establishing certain barrier is O j, radius is R j, A iFor non-end points on the elastic threads certain a bit, taking place once, position, motion back is A ' i, i ∈ 2,3 ... and n-1}, when satisfying
Figure BDA0000077738490000066
The time, A iPoint is outside barrier; When satisfying
Figure BDA0000077738490000067
The time, A iPoint contacts with barrier, when satisfying The time, A iPoint in barrier, (R wherein j>>ξ>0), A iPoint receives the caused displacement of gravitation of elastic threads to do
Figure BDA0000077738490000069
Be the threshold parameter that is used to judge that elastic threads and barrier be whether adjacent,
Figure BDA00000777384900000610
The expression barrier centre of sphere is to A iDistance.
(1) works as A iPoint is outside barrier, and is as shown in Figure 1, and in displacement After can get into barrier O jIn, promptly satisfy
Figure BDA00000777384900000612
The time, but A iPoint only moves to the barrier surface just to be stopped, and calculates the caused displacement of resistance of barrier
Figure BDA00000777384900000613
For (IN, B, OUT represent A respectively among Fig. 1 iPoint is in barrier inside, border, outside)
S O j A i &prime; &RightArrow; = S A i &RightArrow; | S A i &RightArrow; | * ( L - | S A i &RightArrow; | - &xi; ) * g ( R j + &xi; - | O j A i &RightArrow; | ) * g ( | O j A i &RightArrow; + S A i &RightArrow; | - R j ) - - - ( 8 )
Wherein g ( x ) = 0 x &GreaterEqual; 0 1 x < 0 ;
L = - S A i &RightArrow; &CenterDot; O j A i &RightArrow; | S A i &RightArrow; | - ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; | S A i &RightArrow; | ) 2 - | O j A i &RightArrow; | 2 + R j 2 (when | O j A i &RightArrow; | > R j + &xi; & | O j A i &RightArrow; + S A i &RightArrow; | < R j The time,
Figure BDA0000077738490000074
Wherein L is A iThe point edge Direction is to barrier O jThe distance on surface);
(2) work as A iPoint contacts with barrier, and
Figure BDA0000077738490000076
Figure BDA0000077738490000077
The component of (barrier surface normal direction) direction is not more than zero, promptly satisfies
Figure BDA0000077738490000078
The time, as shown in Figure 2, A receives the caused displacement of holding power of this ball
Figure BDA0000077738490000079
Be parallel to A iThe tangent plane of the place's of selecting sphere) does
S O j A i &prime; &prime; &RightArrow; = - O j A i &RightArrow; | O j A i &RightArrow; | 2 * ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; ) * f ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; ) * f ( R j - | O j A i &RightArrow; | ) * f ( | O j A i &RightArrow; | - R j - &xi; ) - - - ( 9 )
Wherein f ( x ) = 0 x > 0 1 x &le; 0 ;
(3) work as A iPoint is in certain barrier, and is as shown in Figure 3, for A iPoint is got rid of outside barrier, obstacle ball O jTo A iThe caused displacement of repulsion of point
Figure BDA00000777384900000712
For
S O j A i &prime; &prime; &prime; &RightArrow; = O j A i &RightArrow; | O j A i &RightArrow; | * L &prime; * g ( | O j A i &RightArrow; | - R j ) ( L &prime; > 0 ) - - - ( 10 )
Wherein g ( x ) = 0 x &GreaterEqual; 0 1 x < 0 ; L ' expression barrier O jTo A iThe size of the caused displacement of repulsion of point, L ' can be set to constant, also can be set to
Figure BDA00000777384900000715
Or barrier radius R jRelevant variable, L ' is set among the present invention
Figure BDA00000777384900000716
According to the mode of action of barrier to elastic threads, 1 A of non-end points on the elastic threads is established in the motion of elastic threads when barrier being arranged in can computer memory iTaking place once, position, motion back is A ' i, wherein i ∈ 2,3 ... n-1}, and postulated point A iWith barrier O jHave an effect (promptly
Figure BDA00000777384900000717
Be not equal to zero), then elastic threads and barrier O jResultant displacement under the acting in conjunction
Figure BDA00000777384900000718
For
A i A i &prime; &RightArrow; = S A i &RightArrow; + S O j A i &prime; &RightArrow; + S O j A i &prime; &prime; &RightArrow; + S O j A i &prime; &prime; &prime; &RightArrow; j &Element; { 1,2 , . . . , m } - - - ( 11 )
O wherein jBe the centre of sphere of j barrier, m representes the number of barrier, therefore can be calculated when barrier is arranged the position after the point of non-end points moves at every turn on the elastic threads by formula (11)
Figure BDA0000077738490000081
So just can carry out elastic threads and barrier O after iterative computation moves at every turn according to the iterative manner of the displacement method of elastic threads jResultant displacement under the acting in conjunction.
The definition equilibrium position: by n the elastic threads formed of point, when the displacement size of this n point in each iteration all is zero, some stress balances arbitrarily on the elastic threads, then putting residing position on the elastic threads at this moment is n point equilibrium position, the abbreviation equilibrium position.Regulation satisfies in actual computation
max 1 &le; i &le; n [ max ( A i A i &prime; &RightArrow; ) ] &le; &zeta; - - - ( 12 )
The time, elastic threads reaches the equilibrium position, iteration stopping, and wherein ζ>0 is for judging whether the iteration stopping threshold values of balance, the maximal value of scalar in max () the expression bracket; A iThe expression elastic threads on more arbitrarily, A i' expression A iPairing point takes place once to move.
Definition path: put the elastic threads form by n, have a few on it all outside barrier, and be evenly distributed; Be that adjacent 2 distances are equal arbitrarily on the elastic threads; Be referred to as even elastic threads, claim that then the broken line that the consecutive point line is formed on this elastic threads is n point path, be called for short the path; The length in path be the length of consecutive point line add with.
The present invention proposes a kind of three dimensions paths planning method based on the elastic threads kinetic property, and is as shown in Figure 4, specifically comprises following step:
Step 1: environment and parameter are recovered in initialization:
If point is { A on the elastic threads i, after taking place once to move be A ' i, (i=1,2 ... n), n>=3; The coordinate of starting point and terminal point is respectively A in the space 1, A n, the displacement of starting point and terminal point is always zero; The initial position of putting on the elastic threads can be arranged on the line of starting point and terminal point, also can be provided with at random; The thing of placing obstacles, the present invention representes barrier with non-conterminous spheroid, the centre of sphere and the radius of barrier are respectively { O j, { R j(j=1,2 ... m), the number m of barrier>=0; Resistance coefficient k ∈ (0,1) (according to Banach compression reflection principle, and the estimation of error formula of calculating fixed point, calculate and learn that the pathfinding process is a convergent when k ∈ (0,1), and work as
Figure BDA0000077738490000084
(k ∈ (0,1)) } time, the speed of convergence of elastic threads is the fastest, and wherein n is the number of putting on the elastic threads); Be used to judge whether adjacent threshold parameter ξ does for elastic threads and barrier
&xi; = R j C 1 - - - ( 13 )
R in the formula jBe the radius of j barrier, C 1>0 is constant, confirms the size of barrier adjacent area according to the size of barrier; The iteration stopping threshold values that judges whether balance is that ζ does
&zeta; = | A 1 A n &RightArrow; | C 2 * n - - - ( 14 )
Wherein n is the number of putting on the elastic threads, C 2>0 is constant, C 2Bigger judgement for the equilibrium position is accurate more, is convenient to control, and iteration stopping threshold values ξ all is suitable under different length unit,
Figure BDA0000077738490000092
The expression barrier centre of sphere is to A iDistance;
Step 2: make A 1'=A 1, A n'=A nCurrent motor point A on the elastic threads iSubscript i=2, elastic threads is from second some setting in motion;
Step 3: according to formula
S A i &RightArrow; = k * A i A i - 1 &prime; &RightArrow; + k * A i A i + 1 &RightArrow; - - - ( 15 )
Calculate A iPoint receives the caused displacement of effect of elastic threads
Figure BDA0000077738490000094
Wherein k is a resistance coefficient, A I-1' expression A I-1Point after once moving, A iAt A I+1Graviational interaction under displacement do
Figure BDA0000077738490000095
A iAt A I-1Graviational interaction under displacement do
Figure BDA0000077738490000096
The subscript j=1 of order expression barrier at first calculates A iPoint and barrier O 1Effect;
Step 4: judge A iWhether some O in barrier j, if
Figure BDA0000077738490000097
Set up, then A iPoint obtains formula (16) according to (11) formula in barrier
A i A i &prime; &RightArrow; = S A i &RightArrow; + S O j A i &prime; &RightArrow; + S O j A i &prime; &prime; &RightArrow; + S O j A i &prime; &prime; &prime; &RightArrow;
= S A i &RightArrow; + S O j A i &prime; &prime; &prime; &RightArrow; - - - ( 16 )
= S A i &RightArrow; + O j A i &RightArrow; | O j A i &RightArrow; | * L &prime;
Wherein
Figure BDA00000777384900000911
The expression barrier centre of sphere is to A iDistance,
Figure BDA00000777384900000912
Be the distance of pathfinding origin-to-destination, calculate A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
Figure BDA00000777384900000913
Change step 8 over to; If
Figure BDA00000777384900000914
Be false, then A iPoint gets into step 5 not in barrier;
Step 5: judge A iWhether point is surperficial at barrier, if
Figure BDA0000077738490000101
Set up, then A iPoint is on the barrier surface, and this moment is if having
Figure BDA0000077738490000102
Set up, some A are described iAt current resultant displacement Following meeting and barrier surface action are for making the some A of this moment iSlide on the barrier surface, calculate A according to (11) formula iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
A i A i &prime; &RightArrow; = S A i &RightArrow; + S O j A i &prime; &RightArrow; + S O j A i &prime; &prime; &RightArrow; + S O j A i &prime; &prime; &prime; &RightArrow;
= S A i &RightArrow; + S O j A i &prime; &prime; &RightArrow; - - - ( 17 )
= S A i &RightArrow; - O j A i &RightArrow; | O j A i &RightArrow; | 2 * ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; )
Calculate A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
Figure BDA0000077738490000108
Get into step 8 then; If
Figure BDA0000077738490000109
Be false, then do not calculate A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
Figure BDA00000777384900001010
Directly get into step 7; If
Figure BDA00000777384900001011
Be false, then A iPoint on the barrier surface, does not get into step 6;
Step 6: judge A iPoint is at current resultant displacement
Figure BDA00000777384900001012
Whether can move to barrier O down jIn, if
Figure BDA00000777384900001013
Set up, A then is described iPoint can move to barrier O jIn, obtain according to (11) formula:
A i A i &prime; &RightArrow; = S A i &RightArrow; + S O j A i &prime; &RightArrow; + S O j A i &prime; &prime; &RightArrow; + S O j A i &prime; &prime; &prime; &RightArrow;
= S A i &RightArrow; + S O j A i &prime; &RightArrow;
= S A i &RightArrow; + S A i &RightArrow; | S A i &RightArrow; | * ( L - S A i &RightArrow; - &xi; ) - - - ( 18 )
= S A i &RightArrow; | S A i &RightArrow; | * ( L - &xi; )
Wherein L = - S A i &RightArrow; &CenterDot; O j A i &RightArrow; | S A i &RightArrow; | - ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; | S A i &RightArrow; | ) 2 - | O j A i &RightArrow; | 2 + R j 2 , Calculate A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction Get into step 8;
If
Figure BDA00000777384900001020
Be false, A then is described iPoint can not move to barrier O jIn, do not calculate, directly get into step 7;
Step 7: A iPut the effect that only receives the effect of elastic threads and do not receive barrier, A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
Figure BDA0000077738490000111
The subscript j of order expression barrier adds 1 then, whether judges j greater than m, if explain that all barriers are to A iThe effect of point has all been considered, gets into step 8, otherwise returns step 4;
Step 8: calculate A iPosition after point moves
Figure BDA0000077738490000112
Make current motor point A iSubscript i add 1, whether judge i more than or equal to n, if institute have a few and has all taken place once to move on the explanation elastic threads, entering step 9, otherwise return step 3;
Step 9: judge whether elastic threads reaches the equilibrium position, if
Figure BDA0000077738490000113
Set up, say that then elastic threads reaches the equilibrium position, stop pathfinding (the residing position of elastic threads this moment reaches the path for we inquired for), otherwise explanation does not reach the equilibrium position, makes A i=A i' (i=1,2 ..., n), return step 2.
Embodiment:
If the number n of putting on the elastic threads=52; The coordinate of starting point and terminal point is respectively A in the space 1=(000), A n=(500 500 500); Unit is 1; The initial position of putting on the elastic threads is arranged on the line of starting point and terminal point; The number m=60 of obstacle ball carries out iteration according to the step that the three dimensions paths planning method based on the elastic threads kinetic property of the present invention's proposition is realized, can test convergence effect such as Fig. 5, and spheroid is represented barrier among Fig. 5, P 1Expression path (being the final position of elastic threads), this moment, elastic threads length did L 0 = &Sigma; i = 1 n - 1 | A i A i + 1 &RightArrow; | = 878.3917
Make the pathfinding simultaneously of five elastic threads, their initial position is provided with at random, and other condition is the same, and the pathfinding result is as shown in Figure 6, five length L that elastic threads is final 1, L 2, L 3, L 4, L 5Be respectively
{L 1,L 2,L 3,L 4,L 5}={879.9699?879.9588?878.3692?879.8403?878.3485}
Path P among Fig. 6 3By elastic threads L 3And L 5Overlapping forming, path P 2By elastic threads L 1, L 2, L 4Overlapping forming can be found out, two equilibrium positions have been found in pathfinding this time, and their length differs about 1.5, and the equilibrium position of this explanation elastic threads is not unique.L wherein 3And L 5L among institute convergent equilibrium position and Fig. 5 0Institute convergent equilibrium position is identical.When a large amount of experiments show that general selection initial position is on the line of starting point and terminal point, finally restrain the path of finding, all shorter with respect to other path.
In the experiment in the mode of motion of elastic threads and kinetic property and the reality mode of motion of elastic threads and kinetic property similar; The motion of elastic threads is convergent always, and the equilibrium position that elastic threads converges under the identical environment is not unique, and method promptly of the present invention might be absorbed in locally optimal solution; A large amount of experiments show when the obstacle ball non-conterminous, when having a few on the elastic threads all outside barrier, in iterative process, put on the elastic threads and can not get in the barrier, and this conforms to the movement effects of elastic threads in the reality; Because this method has been given up and algorithm has once been arranged with the three-dimensional mode of grid representation; The flatness in path and accuracy are decided by the number of putting on the elastic threads; Rather than by representing that three-dimensional grid number decides, this algorithm greatly reduces the computing cost in the process that improves path accuracy like this.

Claims (4)

1. three dimensions paths planning method based on the elastic threads kinetic property is characterized in that: specifically comprise following step:
Step 1: establish on the elastic threads point and be { A i, after taking place once to move be A ' i, (i=1,2 ... n), n is the number of putting on the elastic threads, n>=3; The coordinate of starting point and terminal point is respectively A in the space 1, A n, the displacement of starting point and terminal point is always zero; The centre of sphere and the radius of barrier are respectively { O j, { R j, (j=1,2 ... m), the number m of barrier>=0, k is a resistance coefficient; Judge whether adjacent threshold parameter is ξ for elastic threads and barrier, and the iteration stopping threshold values that judges whether balance is ζ;
Step 2: make A 1'=A 1, A n'=A nCurrent motor point A on the elastic threads iSubscript i=2, elastic threads is from second some setting in motion;
Step 3: according to formula
Figure FDA0000077738480000011
Calculate A iPoint receives the caused displacement of effect of elastic threads Wherein k is a resistance coefficient, A I-1' expression A I-1Point after once moving, A iAt A I+1Graviational interaction under displacement do
Figure FDA0000077738480000013
A iAt A I-1Graviational interaction under displacement do
Figure FDA0000077738480000014
The subscript j=1 of order expression barrier calculates A iPoint and barrier O 1Effect;
Step 4: judge A iWhether some O in barrier j, if Set up, then A iPoint calculates A in barrier iPoint elasticity rope and barrier O jResultant displacement under the acting in conjunction
Figure FDA0000077738480000016
For:
A i A i &prime; &RightArrow; = S A i &RightArrow; + S O j A i &prime; &RightArrow; + S O j A i &prime; &prime; &RightArrow; + S O j A i &prime; &prime; &prime; &RightArrow;
= S A i &RightArrow; + S O j A i &prime; &prime; &prime; &RightArrow;
= S A i &RightArrow; + O j A i &RightArrow; | O j A i &RightArrow; | * L &prime;
Wherein
Figure FDA00000777384800000110
Change step 8 then over to,
Figure FDA00000777384800000111
The expression barrier centre of sphere is to A iDistance,
Figure FDA00000777384800000112
Distance for the pathfinding origin-to-destination; If
Figure FDA00000777384800000113
Be false, then A iPoint gets into step 5 not in barrier; Wherein,
S O j A i &prime; &prime; &prime; &RightArrow; = O j A i &RightArrow; | O j A i &RightArrow; | * L &prime; * g ( | O j A i &RightArrow; | - R j ) , g ( x ) = 0 x &GreaterEqual; 0 1 x < 0 ;
S O j A i &prime; &prime; &RightArrow; = - O j A i &RightArrow; | O j A i &RightArrow; | 2 * ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; ) * f ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; ) * f ( R j - | O j A i &RightArrow; | ) * f ( | O j A i &RightArrow; | - R j - &xi; ) , f ( x ) = 0 x > 0 1 x &le; 0 ;
S O j A i &prime; &RightArrow; = S A i &RightArrow; | S A i &RightArrow; | * ( L - | S A i &RightArrow; | - &xi; ) * g ( R j + &xi; - | O j A i &RightArrow; | ) * g ( | O j A i &RightArrow; + S A i &RightArrow; | - R j ) , g ( x ) = 0 x &GreaterEqual; 0 1 x < 0 ;
Step 5: judge A iWhether point is surperficial at barrier, if
Figure FDA0000077738480000023
Set up, then A iPoint is on the barrier surface, and this moment is if having
Figure FDA0000077738480000024
Set up, then calculate A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction Wherein ξ is the threshold parameter that is used to judge that elastic threads and barrier be whether adjacent;
A i A i &prime; &RightArrow; = S A i &RightArrow; + S O j A i &prime; &RightArrow; + S O j A i &prime; &prime; &RightArrow; + S O j A i &prime; &prime; &prime; &RightArrow;
Figure FDA0000077738480000027
Calculate A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
= S A i &RightArrow; - O j A i &RightArrow; | O j A i &RightArrow; | 2 * ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; )
Figure FDA0000077738480000029
Get into step 8 then; If
Figure FDA00000777384800000210
Be false, then directly get into step 7; If
Figure FDA00000777384800000211
Be false, then A iPoint on the barrier surface, does not get into step 6;
Step 6: judge A iPoint receives the caused displacement of effect of elastic threads
Figure FDA00000777384800000212
Whether can move to barrier O down jIn, if
Figure FDA00000777384800000213
Set up, then A iPoint can move to barrier O jIn, then calculate A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
Figure FDA00000777384800000214
A i A i &prime; &RightArrow; = S A i &RightArrow; + S O j A i &prime; &RightArrow; + S O j A i &prime; &prime; &RightArrow; + S O j A i &prime; &prime; &prime; &RightArrow;
= S A i &RightArrow; + S O j A i &prime; &RightArrow;
= S A i &RightArrow; + S A i &RightArrow; | S A i &RightArrow; | * ( L - S A i &RightArrow; - &xi; )
= S A i &RightArrow; | S A i &RightArrow; | * ( L - &xi; )
Wherein L = - S A i &RightArrow; &CenterDot; O j A i &RightArrow; | S A i &RightArrow; | - ( S A i &RightArrow; &CenterDot; O j A i &RightArrow; | S A i &RightArrow; | ) 2 - | O j A i &RightArrow; | 2 + R j 2 , Calculate A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
Figure FDA00000777384800000220
Get into step 8;
If Be false, A then is described iPoint can not move to barrier O jIn, directly get into step 7;
Step 7: A iPut the effect that only receives the effect of elastic threads and do not receive barrier, A iPoint is at elastic threads and barrier O jResultant displacement under the acting in conjunction
Figure FDA0000077738480000031
The subscript j of order expression barrier adds 1 then, whether judges j again greater than m, if greater than m, gets into step 8, otherwise returns step 4;
Step 8: calculate A iPosition after point moves Make current motor point A iSubscript i add 1, and whether judge i, if i more than or equal to n, gets into step 9, otherwise returns step 3 more than or equal to n;
Step 9: judge whether elastic threads reaches the equilibrium position, if
Figure FDA0000077738480000033
Set up, say that then elastic threads reaches the equilibrium position, stop pathfinding, the residing position of elastic threads this moment is the path that institute will seek, and wherein ζ is the iteration stopping threshold values of judgement balance, otherwise does not reach the equilibrium position, makes A i=A i' (i=1,2 ..., n), and return step 2.
2. according to claim 1 three dimensions paths planning method based on the elastic threads kinetic property, it is characterized in that: the value of described resistance coefficient k is k ∈ (0,1).
3. according to claim 1 three dimensions paths planning method based on the elastic threads kinetic property, it is characterized in that: describedly be used to judge whether adjacent threshold parameter ξ does for elastic threads and barrier R jBe the radius of j barrier, C 1>0 is constant.
4. according to claim 1 three dimensions paths planning method based on the elastic threads kinetic property, it is characterized in that: the described iteration stopping threshold values ζ of balance that judges whether does
Figure FDA0000077738480000035
C 2>0 is constant, and n is the number of putting on the elastic threads,
Figure FDA0000077738480000036
Distance for the pathfinding origin-to-destination.
CN 201110206406 2011-07-22 2011-07-22 Three-dimensional space path planning method based on movement property of elastic rope Active CN102306399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110206406 CN102306399B (en) 2011-07-22 2011-07-22 Three-dimensional space path planning method based on movement property of elastic rope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110206406 CN102306399B (en) 2011-07-22 2011-07-22 Three-dimensional space path planning method based on movement property of elastic rope

Publications (2)

Publication Number Publication Date
CN102306399A true CN102306399A (en) 2012-01-04
CN102306399B CN102306399B (en) 2013-10-30

Family

ID=45380256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110206406 Active CN102306399B (en) 2011-07-22 2011-07-22 Three-dimensional space path planning method based on movement property of elastic rope

Country Status (1)

Country Link
CN (1) CN102306399B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722749A (en) * 2012-06-01 2012-10-10 哈尔滨工程大学 Self-adaptive three-dimensional space path planning method based on particle swarm algorithm

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430797A (en) * 2007-11-07 2009-05-13 上海兰基斯软件有限公司 Rubber band algorithm for three-dimensional virtual scene fast path planning
WO2009119944A1 (en) * 2008-03-26 2009-10-01 Thinkware Systems Corporation Apparatus and method for changing view angle in three dimesion route guidance system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430797A (en) * 2007-11-07 2009-05-13 上海兰基斯软件有限公司 Rubber band algorithm for three-dimensional virtual scene fast path planning
WO2009119944A1 (en) * 2008-03-26 2009-10-01 Thinkware Systems Corporation Apparatus and method for changing view angle in three dimesion route guidance system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YUNFENG WANG ETC.: "A new potential field method for robot path planning", 《IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION, 2000. PROCEEDINGS. ICRA "00.》, vol. 2, 31 December 2000 (2000-12-31), pages 977 - 982 *
李霞 等: "基于改进遗传算法的无人飞行器三维路径规划", 《西北工业大学学报》, vol. 28, no. 3, 30 June 2010 (2010-06-30), pages 343 - 348 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722749A (en) * 2012-06-01 2012-10-10 哈尔滨工程大学 Self-adaptive three-dimensional space path planning method based on particle swarm algorithm
CN102722749B (en) * 2012-06-01 2014-10-22 哈尔滨工程大学 Self-adaptive three-dimensional space path planning method based on particle swarm algorithm

Also Published As

Publication number Publication date
CN102306399B (en) 2013-10-30

Similar Documents

Publication Publication Date Title
CN106371445B (en) A kind of unmanned vehicle planning control method based on topological map
Tai et al. Towards cognitive exploration through deep reinforcement learning for mobile robots
Yoo et al. Path optimization for marine vehicles in ocean currents using reinforcement learning
Lee Heterogeneous-ants-based path planner for global path planning of mobile robot applications
CN104050390B (en) Mobile robot path planning method based on variable-dimension particle swarm membrane algorithm
CN102207736B (en) Robot path planning method and apparatus thereof based on Bezier curve
CN103744428B (en) A kind of unmanned surface vehicle paths planning method based on neighborhood intelligent water drop algorithm
CN104155998B (en) A kind of path planning method based on potential field method
CN102722749A (en) Self-adaptive three-dimensional space path planning method based on particle swarm algorithm
CN101739509B (en) Path navigation method for large-scale virtual crowd
CN104029203A (en) Path planning method for implementation of obstacle avoidance for space manipulators
CN104121903A (en) Rolling route planning method based on boundary value problem
CN113253733B (en) Navigation obstacle avoidance method, device and system based on learning and fusion
CN112612290B (en) Underwater vehicle three-dimensional multi-task path planning method considering ocean currents
CN114859911A (en) Four-legged robot path planning method based on DRL
Gu et al. An improved RRT algorithm based on prior AIS information and DP compression for ship path planning
CN114077256A (en) Overwater unmanned ship path planning method
CN106705975A (en) Method for planning route of unmanned surface vehicle based on universal gravitation search
Zhang et al. A-star algorithm for expanding the number of search directions in path planning
Bayer et al. Speeded up elevation map for exploration of large-scale subterranean environments
Hirakawa et al. Scene context-aware rapidly-exploring random trees for global path planning
CN112634328B (en) Method for predicting pedestrian track based on self-centering star chart and attention mechanism
CN102306399A (en) Three-dimensional space path planning method based on movement property of elastic rope
Vahid et al. Optimal path planning for unmanned surface vehicle using new modified local search ant colony optimization
CN106017494B (en) Paths planning method and device based on apprentice&#39;s study

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160920

Address after: 15 Heilongjiang, Nangang Province, Nantong street, building No. 258, building, ship, floor, No. 150001

Patentee after: Science Park Development Co., Ltd. of Harbin Engineering University

Patentee after: Zhao Yuxin

Address before: 150001 Nantong street, Nangang District, Heilongjiang, No. 145, No.

Patentee before: Harbin Engineering Univ.

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20161121

Address after: 15 Heilongjiang, Nangang Province, Nantong street, building No. 258, building, ship, floor, No. 150001

Patentee after: Science Park Development Co., Ltd. of Harbin Engineering University

Patentee after: Harbin poly flame investment enterprise (limited partnership)

Address before: 15 Heilongjiang, Nangang Province, Nantong street, building No. 258, building, ship, floor, No. 150001

Patentee before: Science Park Development Co., Ltd. of Harbin Engineering University

Patentee before: Zhao Yuxin

TR01 Transfer of patent right

Effective date of registration: 20170316

Address after: 150078 Harbin hi tech Industrial Development Zone Yingbin Road, the focus of the Russian park on the ground floor of the building 2D, No., East unit, level 2, level 22

Patentee after: Harbin Ship Navigation Technology Co., Ltd.

Address before: 15 Heilongjiang, Nangang Province, Nantong street, building No. 258, building, ship, floor, No. 150001

Patentee before: Science Park Development Co., Ltd. of Harbin Engineering University

Patentee before: Harbin poly flame investment enterprise (limited partnership)

TR01 Transfer of patent right