CN106681135A - Cable wiring route searching method based on mixed water drop algorithm - Google Patents
Cable wiring route searching method based on mixed water drop algorithm Download PDFInfo
- Publication number
- CN106681135A CN106681135A CN201710035041.8A CN201710035041A CN106681135A CN 106681135 A CN106681135 A CN 106681135A CN 201710035041 A CN201710035041 A CN 201710035041A CN 106681135 A CN106681135 A CN 106681135A
- Authority
- CN
- China
- Prior art keywords
- soil
- algorithm
- path
- water droplet
- pos
- 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
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 83
- 238000000034 method Methods 0.000 title claims abstract description 30
- 239000002245 particle Substances 0.000 claims abstract description 32
- 239000002689 soil Substances 0.000 claims description 72
- 230000004888 barrier function Effects 0.000 claims description 18
- 230000037361 pathway Effects 0.000 claims description 16
- 230000009466 transformation Effects 0.000 claims description 6
- 238000005457 optimization Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 10
- 230000008901 benefit Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000002068 genetic effect Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000007935 neutral effect Effects 0.000 description 1
- 239000003016 pheromone Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/0205—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system
- G05B13/024—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system in which a parameter or coefficient is automatically adjusted to optimise the performance
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a cable route automatic planning method based on an improved mixed water drop algorithm. The method mainly solves the problems that in the prior art, the algorithm efficiency is not high and a route is not smooth. The planning steps are as follows: modeling a cable wiring environment; optimizing parameters in an intelligent water drop algorithm by means of a particle swarm algorithm, and an orientation is provided for the movement of water drops; improving the water drop movement mode in the water drop algorithm, and conducting route optimization; according to the optimization result, outputting the cable route. The method considers the stability and robustness of the algorithm comprehensively, improves the search efficiency of the algorithm, avoids the occurrence of interference between cables and obstacles, and reduces the cable length required by cable wiring.
Description
Technical field
The present invention relates to self routing field, more particularly to a kind of cable routing pathway search based on mixing water droplet algorithm
Method.
Background technology
The search of cable routing pathway is one of the key technology for realizing cable self routing, can rapidly find out one just
Victory, collisionless, routing path that is smooth and being attached at wall not only improve the self routing efficiency of cable, while also improving
The reliability of electronic product.
At present, commonly used method for searching path has Visual Graph method, HEURISTIC ALGORITHM FOR GRAPH SEARCH, Artificial Potential Field Method etc., this
A little algorithms have respective pluses and minuses, and such as Artificial Potential Field Method has good real-time, but there is trap area, and close
The shortcomings of can not finding path between barrier, algorithm is more suitable for solving single-object problem.Between last decade, with artificial
The research of intelligent algorithm constantly makes progress, and many intelligent algorithms are also used in the path planning of mobile robot, including mould
Fuzzy logic and enhancing learning algorithm, neutral net, genetic algorithm and ant group algorithm etc..These algorithms have respective advantage,
But problems are there is also, such as algorithm the convergence speed is excessively slow, be easily absorbed in local optimum, search space is excessive etc..
Although being improved to many algorithms at this stage, preferable cable routing pathway can be found out, still be deposited
Iterationses it is more, operation time is long the problems such as, these problems cannot meet the requirement of cable self routing, and obtain
Path in, cable trails be in vacant state, this will have a strong impact on the stability of electronic product, at the same reduce electronic product work
Make reliability.
The content of the invention
For the shortcoming of prior art, the present invention provides a kind of cable routing pathway search based on mixing water droplet algorithm and calculates
Method, the method iterationses are few, operation time is short, can meet the requirement of cable self routing, do not interfere with the steady of electronic product
It is qualitative, improve electronic product functional reliability.
Realizing the technical scheme of the object of the invention is:
A kind of cable routing pathway searching method based on mixing water droplet algorithm, comprises the steps:
1) in wiring space, the wall that cable lays is chosen, wiring space is simplified to into one in the way of planar development
The routing planes of individual rectangle;
2) grating map modeling is carried out to rectangular wiring plane;
3) using particle cluster algorithm is as the coarse search stage and carries out fast path optimizing, by the multigroup sub-optimal path for obtaining
Update SOIL DISTRIBUTION;
4) using improved intelligent water drop algorithm as the fine searching stage, optimum path search is carried out;
5) using the node in path and inflection point as control point, and according to step 1) in planar development mode by two
The control point coordinate transformation of dimension is the Three dimensions control point coordinates in wiring space;
6) using three rank B-spline curves path optimizings;
By above-mentioned steps, using the parameter in particle cluster algorithm Intelligent Optimal water droplet algorithm, the mobile offer of the drop that feeds water
It is oriented to;The move mode of water droplet in water droplet algorithm is improved, and carries out optimum path search;B-spline curves path optimizing is finally adopted, it is comprehensive
Conjunction considers the stability and robustness of algorithm, can rapidly find out that one convenient, collisionless, wiring that is smooth and being attached at wall
Path.Cable wiring is completed by laying cable on the path.
Step 1) in, in wiring space, the wall that cable lays is chosen, by wiring space letter in the way of planar development
The routing planes of one rectangle of chemical conversion:
First, it is if the plane non-rectangle plane for simplifying after by planar development that plane extension is rectangular flat
Face;
Secondly, expansion is considered as barrier;
Finally, the plane is divided into into two regions:Barrier region and non-barrier region.
Step 2) in, grating map modeling is carried out to rectangular wiring plane:
First, grating map is made up of obstacle grid with non-obstacle grid;
Secondly, arbitrarily the grid containing barrier is considered as obstacle grid;
Finally, if wiring terminal is located at the same row in grating map, grating map ranks are exchanged.
Step 3) in, it is multigroup by what is obtained using particle cluster algorithm is as the coarse search stage and carries out fast path optimizing
Sub-optimal path updates SOIL DISTRIBUTION, specifically includes:
First, initial parameter (population scale N, inertia weight w, Studying factors c are set1And c2, maximum iteration time Ic, speed
Degree maximum Vmax, and speed minima Vmin);
Then, the random position vector x for generating particlei=(xi1,xi2,…,xiD) and velocity vi=(vi1,vi2,…,
viD), and initialize the locally optimal solution p of particlepAnd globally optimal solution pg;
Into iteration and the positional information and velocity information of all particles are updated according to following two formula:
I=1 in formula, 2 ..., N, d=1,2 ..., D, w are inertia weight, and c1 and c2 is Studying factors, r1 and r2 be [0,
1] relatively independent between, equally distributed random number, pp=(pp1,pp2,…,ppD) for the locally optimal solution of particle, i.e. particle exists
Optimal solution in last iteration, pg=(pg1,pg2,…,pgD) for particle globally optimal solution, i.e., particle this iteration it
Front optimal solution.
Meanwhile, calculate the fitness f (x of each particlei), if f is (xi) be minima in this iteration, then pp=xiIf,
Now f (xi)<f(pg), then pg=xi, wherein fitness function f is:
(x in formulaj,yj) for path node j coordinate, n for path point number, numjFor node j and node j-1 it
Between path touch the quantity of obstacle grid, pun causes the path for touching obstacle to give poor evaluation of estimate for penalty factor.
Finally, into next iteration recurring formula (1) (2) (3), locally optimal solution p is updatedpAnd the overall situation most solves pg, directly
Maximum is reached to iterationses or meet required precision.
Step 4) in, using improved intelligent water drop algorithm as the fine searching stage, optimum path search is carried out,
First, quantity W of water droplet, maximum iteration time Is, initial soil amount Its, to each position in grating map are set
Soil initialized, and the T groups suboptimal solution obtained using PSO algorithms updates soil, following two formula:
Soil in formulaiFor the amount of soil of a certain node i;posiFor the position of the node;pathsubFor path in D groups path
In each node position;Eup is the beeline between two adjacent cells central points;λiExpression has λ in this T group suboptimal solutioniGroup
Solution contains node i;Parameter δ, α and β are positive number.
Then, all water droplets are placed in connecting up starting point.
Path point selection, and record path nodal information are carried out using roulette method, formula is as follows:
Soil in formulaiFor the amount of soil of a certain node;posiFor the position of the node;Eup is two adjacent cells central points
Between beeline;P is the probability for selecting next node;N is the set of the optional grid of next step;Function dis (posi,
posj) for euclidean metric between node i and node j;ρ is the positive number less than 1;af, bfAnd cfIt is positive number.
When water droplet moves to another node j, the speed of water droplet is updated:
Vel in formulajFor the speed that water droplet moves to node j;soiljFor the amount of soil of node j;avFor positive number.
Meanwhile, update the soil of moved to node, and the soil that now water droplet is carried, following two formula:
Pos in formulaiFor the position of node i;Function dis (posi,posj) for Euclid between node i and node j
Tolerance;soiljFor the amount of soil of node j;ρ1And asIt is positive number.
Before all water droplets move to wiring terminal, recurring formula (6) (7) (8) (9) (10) calculates each water droplet institute
The fitness in path is formed, and updates locally optimal solution ppWith globally optimal solution pg。
After all water droplets move to wiring terminal, global amount of soil is updated:
Soil in formulaiFor the amount of soil of node i;posiFor the position of node i;To form the water of locally optimal solution
The entrained amount of soil of drop;ppFor locally optimal solution, and pgFor globally optimal solution;The quantity of grid in num grating maps;Locally
Perception factor ρ2With global knowledge factor ρ3It is positive number, and ρ3≥ρ2。
After complete office's amount of soil is updated according to formula (11), algorithm completes an iteration.Hereafter algorithm will be entered down
An iteration, all water droplets will be refitted in wiring starting point, and method described above (formula (6) to formula (11)) re-starts shifting
It is dynamic, until iterationses reach maximum or meet required precision.
Step 5) in, using the node in path and inflection point as control point, and according to step 1) in planar development
The control point coordinate transformation of two dimension is the Three dimensions control point coordinates in wiring space by mode;
Step 6) in, using three rank B-spline path optimizings:
First obtaining step 5) in, control point p0(x0,y0,z0),...,pn(xn,yn,zn), determine the exponent number of B-spline curves
K=3, defines the support Interval T=[t of SPL0,t1,...,tn+k] such as following formula:
Then the basic function N of SPL is calculatedi,k(t), following two formula:
T is the variable in SPL equation in formula;T=[t0,t1,...,tn+k] for SPL support Interval.
The equation of three rank B-spline curves, such as following formula can finally be tried to achieve:
In formula, t is the variable of curvilinear equation;Ni,kT () is the basic function in B-spline curves;
The curve exponent number that k=3 is.
Beneficial effect:
The invention provides a kind of cable routing pathway searching method based on mixing water droplet algorithm, the method:
(1) wall is laid by choosing cable, wiring space is reduced to into routing planes, after cable trails are obtained, will
The two-dimensional coordinate at cable control point is converted into the three-dimensional coordinate of wiring space in plane, so that routing path is posted on wall
On, it is to avoid cable hanging situation;
(2) using grating map modeling pattern, there is high precision, is easily achieved;
(3) particle cluster algorithm is got up with the fusion of improved intelligent water drop algorithm.The advantage of particle cluster algorithm is its phase
It is very short the time required to for intelligent water drop algorithm, it is added in before intelligent water drop algorithm and not only will not consume too many time, shadow
Overall operation speed, and the pheromone feedback that initial soil distribution can be provided for intelligent water drop algorithm are rung, intelligence can be so reduced
Can water droplet algorithm run time, can reduce search time and get back the effect of path optimizing so as to reach;
(4) using euclidean metric as a factor for affecting water droplet to select node motion, so that water droplet to the greatest extent may be used
Convergence of algorithm speed can be increased towards the preferable region movement in position;
(5) using three rank B-spline curves, so that cable trails are more smoothed, while avoid in cable trails depositing
In the inflection point that a large amount of bent angles are larger.
Description of the drawings
Fig. 1 grating map Establishing process figures;
Fig. 2 is the cable routing pathway search routine figure based on mixing water droplet algorithm;
Fig. 3 is the cable self routing completed in wiring space by the inventive method;
Fig. 4 simplifies wiring space flow chart.
Specific embodiment
Present invention is further elaborated with reference to the accompanying drawings and examples, but is not limitation of the invention.
Embodiment
A kind of cable routing pathway searching method based on mixing water droplet algorithm, comprises the steps:
1) in wiring space, the wall that cable lays is chosen, wiring space is simplified to into one in the way of planar development
The routing planes of individual rectangle;
2) grating map modeling is carried out to rectangular wiring plane;
3) using particle cluster algorithm is as the coarse search stage and carries out fast path optimizing, by the multigroup sub-optimal path for obtaining
Update SOIL DISTRIBUTION;
4) using improved intelligent water drop algorithm as the fine searching stage, optimum path search is carried out;
5) using the node in path and inflection point as control point, and according to step 1) in planar development mode by two
The control point coordinate transformation of dimension is the Three dimensions control point coordinates in wiring space;
6) using three rank B-spline curves path optimizings;
By above-mentioned steps, using the parameter in particle cluster algorithm Intelligent Optimal water droplet algorithm, the mobile offer of the drop that feeds water
It is oriented to;The move mode of water droplet in water droplet algorithm is improved, and carries out optimum path search;B-spline curves path optimizing is finally adopted, it is comprehensive
Conjunction considers the stability and robustness of algorithm, can rapidly find out that one convenient, collisionless, wiring that is smooth and being attached at wall
Path.Cable wiring is completed by laying cable on the path.
Step 1) in, in wiring space, the wall that cable lays is chosen, by wiring space letter in the way of planar development
The routing planes of one rectangle of chemical conversion:
As shown in figure 1, for the simplified way of wiring space.Wherein P1To connect up starting point, P2To connect up emphasis;So, S1And
S2It is the wall that cable lays;O1For barrier, and O2For extended area and it is considered as barrier;Finally with the region table of black
Show barrier, the non-barrier region of region representation of white.
First, it is if the plane non-rectangle plane for simplifying after by planar development that plane extension is rectangular flat
Face;
Secondly, expansion is considered as barrier;
Finally, the plane is divided into into two regions:Barrier region and non-barrier region.
Step 2) in, grating map modeling is carried out to rectangular wiring plane:
As shown in Fig. 2 being grid modeling pattern.Wherein annulus represents wiring starting point, and straight-flanked ring represents wiring terminal;In it is black
Colour grid lattice are obstacle grid;White grid is non-obstacle grid;The distance between any two grid for their central points company
Line.
First, grating map is made up of obstacle grid with non-obstacle grid;
Secondly, arbitrarily the grid containing barrier is considered as obstacle grid;
Finally, if wiring terminal is located at the same row in grating map, grating map ranks are exchanged.
Step 3) in, it is multigroup by what is obtained using particle cluster algorithm is as the coarse search stage and carries out fast path optimizing
Sub-optimal path updates SOIL DISTRIBUTION, specifically includes:
First, initial parameter (population scale N, inertia weight w, Studying factors c are set1And c2, maximum iteration time Ic, speed
Degree maximum Vmax, and speed minima Vmin);
Then, the random position vector x for generating particlei=(xi1,xi2,…,xiD) and velocity vi=(vi1,vi2,…,
viD), and initialize the locally optimal solution p of particlepAnd globally optimal solution pg;
Into iteration and the positional information and velocity information of all particles are updated according to following two formula:
I=1 in formula, 2 ..., N, d=1,2 ..., D, w are inertia weight, and c1 and c2 is Studying factors, r1 and r2 be [0,
1] relatively independent between, equally distributed random number, pp=(pp1,pp2,…,ppD) for the locally optimal solution of particle, i.e. particle exists
Optimal solution in last iteration, pg=(pg1,pg2,…,pgD) for particle globally optimal solution, i.e., particle this iteration it
Front optimal solution.
Meanwhile, calculate the fitness f (x of each particlei), if f is (xi) be minima in this iteration, then pp=xiIf,
Now f (xi)<f(pg), then pg=xi, wherein fitness function f is:
(x in formulaj,yj) for path node j coordinate, n for path point number, numjFor node j and node j-1 it
Between path touch the quantity of obstacle grid, pun causes the path for touching obstacle to give poor evaluation of estimate for penalty factor.
Finally, into next iteration recurring formula (1) (2) (3), locally optimal solution p is updatedpAnd the overall situation most solves pg, directly
Maximum is reached to iterationses or meet required precision.
Step 4) in, using improved intelligent water drop algorithm as the fine searching stage, optimum path search is carried out,
First, quantity W of water droplet, maximum iteration time Is, initial soil amount Its, to each position in grating map are set
Soil initialized, and the T groups suboptimal solution obtained using PSO algorithms updates soil, following two formula:
Soil in formulaiFor the amount of soil of a certain node i;posiFor the position of the node;pathsubFor path in D groups path
In each node position;Eup is the beeline between two adjacent cells central points;λiExpression has λ in this T group suboptimal solutioniGroup
Solution contains node i;Parameter δ, α and β are positive number.
Then, all water droplets are placed in connecting up starting point.
Path point selection, and record path nodal information are carried out using roulette method, formula is as follows:
Soil in formulaiFor the amount of soil of a certain node;posiFor the position of the node;Eup is two adjacent cells central points
Between beeline;P is the probability for selecting next node;N is the set of the optional grid of next step;Function dis (posi,
posj) for euclidean metric between node i and node j;ρ is the positive number less than 1;af, bfAnd cfIt is positive number.
When water droplet moves to another node j, the speed of water droplet is updated:
Vel in formulajFor the speed that water droplet moves to node j;soiljFor the amount of soil of node j;avFor positive number.
Meanwhile, update the soil of moved to node, and the soil that now water droplet is carried, following two formula:
Pos in formulaiFor the position of node i;Function dis (posi,posj) for Euclid between node i and node j
Tolerance;soiljFor the amount of soil of node j;ρ1And asIt is positive number.
Before all water droplets move to wiring terminal, recurring formula (6) (7) (8) (9) (10) calculates each water droplet institute
The fitness in path is formed, and updates locally optimal solution ppWith globally optimal solution pg。
After all water droplets move to wiring terminal, global amount of soil is updated:
Soil in formulaiFor the amount of soil of node i;posiFor the position of node i;To form the water of locally optimal solution
The entrained amount of soil of drop;ppFor locally optimal solution, and pgFor globally optimal solution;The quantity of grid in num grating maps;Locally
Perception factor ρ2With global knowledge factor ρ3It is positive number, and ρ3≥ρ2。
After complete office's amount of soil is updated according to formula (11), algorithm completes an iteration.Hereafter algorithm will be entered down
An iteration, all water droplets will be refitted in wiring starting point, and re-start movement to formula (11) with above-mentioned formula (6), directly
Maximum is reached to iterationses or meet required precision.
Step 5) in, using the node in path and inflection point as control point, and according to step 1) in planar development
The control point coordinate transformation of two dimension is the Three dimensions control point coordinates in wiring space by mode;
Step 6) in, using three rank B-spline path optimizings:
As shown in figure 3, as using the routing path example after the optimization of three rank B-splines.Wherein wiring space is one
The casing of 10dm × 18dm × 20dm, barrier is the object of dotted line, and the short cylinder that solid line is surrounded represents connector, can
Will become apparent from cable connecting wiring and play not-go-end, avoiding obstacles, and apply is in wall;
First obtaining step 5) in, control point p0(x0,y0,z0),...,pn(xn,yn,zn), determine the exponent number of B-spline curves
K=3, defines the support Interval T=[t of SPL0,t1,...,tn+k] such as following formula:
Then the basic function N of SPL is calculatedi,k(t), following two formula:
T is the variable in SPL equation in formula;T=[t0,t1,...,tn+k] for SPL support Interval.
The equation of three rank B-spline curves, such as following formula can finally be tried to achieve:
In formula, t is the variable of curvilinear equation;Ni,kT () is the basic function in B-spline curves;
The curve exponent number that k=3 is.
As shown in Figure 4:Solve routing path mixing water droplet algorithm flow be:
S101 starts
S102 initiation parameters
S103 adopts PSO Algorithm T group sub-optimal paths
S104 updates global amount of soil according to T groups sub-optimal path
S105 iterationses increase
S106 selects the water droplet for not yet moving
S107 water droplets select node motion
Soil at S108 more new nodes, water droplet translational speed, water droplet carries soil
S109 judges whether water droplet moves to wiring terminal
S110 judges whether all water droplets are moved to wiring terminal
S111 updates locally optimal solution and globally optimal solution
S112 updates global soil
S113 judges whether to meet iteration termination condition
S114 obtains control point coordinates
S115 adopts three rank B-spline curves path optimizings
S116 output cord routing paths
S117 terminates.
Claims (7)
1. it is a kind of based on the cable routing pathway searching method for mixing water droplet algorithm, it is characterised in that to comprise the steps:
1) in wiring space, the wall that cable lays is chosen, wiring space is simplified to into a square in the way of planar development
The routing planes of shape;
2) grating map modeling is carried out to rectangular wiring plane;
3) using particle cluster algorithm is as the coarse search stage and carries out fast path optimizing, updated by the multigroup sub-optimal path for obtaining
SOIL DISTRIBUTION;
4) using improved intelligent water drop algorithm as the fine searching stage, optimum path search is carried out;
5) using the node in path and inflection point as control point, and according to step 1) in planar development mode by two dimension
Control point coordinate transformation is the Three dimensions control point coordinates in wiring space;
6) using three rank B-spline curves path optimizings;
By above-mentioned steps, using the parameter in particle cluster algorithm Intelligent Optimal water droplet algorithm, the mobile offer guiding of the drop that feeds water;
The move mode of water droplet in water droplet algorithm is improved, and carries out optimum path search;B-spline curves path optimizing is finally adopted, is comprehensively examined
The stability and robustness of algorithm are considered, can rapidly find out that one convenient, collisionless, wiring topology that is smooth and being attached at wall
Footpath, by cable is laid on the path cable wiring is completed.
2. it is according to claim 1 based on the cable routing pathway searching method for mixing water droplet algorithm, it is characterised in that step
It is rapid 1) in, in wiring space, choose the wall that lays of cable, wiring space is simplified to into a square in the way of planar development
The routing planes of shape:
First, the plane is extended to into rectangle plane if the plane non-rectangle plane for simplifying after by planar development;
Secondly, expansion is considered as barrier;
Finally, the plane is divided into into two regions:Barrier region and non-barrier region.
3. it is according to claim 1 based on the cable routing pathway searching method for mixing water droplet algorithm, it is characterised in that step
It is rapid 2) in, grating map modeling is carried out to rectangular wiring plane:
First, grating map is made up of obstacle grid with non-obstacle grid;
Secondly, arbitrarily the grid containing barrier is considered as obstacle grid;
Finally, if wiring terminal is located at the same row in grating map, grating map ranks are exchanged.
4. it is according to claim 1 based on the cable routing pathway searching method for mixing water droplet algorithm, it is characterised in that step
It is rapid 3) in, using particle cluster algorithm is as the coarse search stage and carries out fast path optimizing, by multigroup sub-optimal path for obtaining more
New SOIL DISTRIBUTION, specifically includes:
First, initial parameter (population scale N, inertia weight w, Studying factors c are set1And c2, maximum iteration time Ic, speed is most
Big value Vmax, and speed minima Vmin);
Then, the random position vector x for generating particlei=(xi1,xi2,…,xiD) and velocity vi=(vi1,vi2,…,viD),
And initialize the locally optimal solution p of particlepAnd globally optimal solution pg;
Into iteration and the positional information and velocity information of all particles are updated according to following two formula:
Meanwhile, calculate the fitness f (x of each particlei), if f is (xi) be minima in this iteration, then pp=xiIf, now f
(xi)<f(pg), then pg=xi, wherein fitness function f is:
Finally, into next iteration recurring formula (1) (2) (3), locally optimal solution p is updatedpAnd the overall situation most solves pg, until repeatedly
Generation number reaches maximum or meets required precision.
5. it is according to claim 1 based on the cable routing pathway searching method for mixing water droplet algorithm, it is characterised in that step
It is rapid 4) in, using improved intelligent water drop algorithm as the fine searching stage, carry out optimum path search, first, arrange water droplet quantity
W, maximum iteration time Is, initial soil amount Its is initialized to the soil of each position in grating map, and is calculated using PSO
The T groups suboptimal solution that method is obtained updates soil, following two formula:
Then, all water droplets are placed in connecting up starting point.
Path point selection, and record path nodal information are carried out using roulette method, formula is as follows:
When water droplet moves to another node j, the speed of water droplet is updated:
Meanwhile, update the soil of moved to node, and the soil that now water droplet is carried:
Before all water droplets move to wiring terminal, recurring formula (6) (7) (8) (9) (10) calculates each water droplet and is formed
The fitness in path, and update locally optimal solution ppWith globally optimal solution pg;
After all water droplets move to wiring terminal, global amount of soil is updated:
After complete office's amount of soil is updated according to formula (11), algorithm completes an iteration.Hereafter algorithm will be into next time
Iteration, all water droplets will be refitted in wiring starting point, and re-start movement to formula (11) with above-mentioned formula (6), until repeatedly
Generation number reaches maximum or meets required precision.
6. it is according to claim 1 based on the cable routing pathway searching method for mixing water droplet algorithm, it is characterised in that step
It is rapid 5) in, using the node in path and inflection point as control point, and according to step 1) in planar development mode by two dimension
Control point coordinate transformation be wiring space in Three dimensions control point coordinates.
7. it is according to claim 1 based on the cable routing pathway searching method for mixing water droplet algorithm, it is characterised in that step
It is rapid 6) in, using three rank B-spline path optimizings:
First obtaining step 5) in, control point p0(x0,y0,z0),...,pn(xn,yn,zn), determine the exponent number k=of B-spline curves
3, define the support Interval T=[t of SPL0,t1,...,tn+k] such as following formula:
Then the basic function N of SPL is calculatedi,k(t), following two formula:
The equation of three rank B-spline curves, such as following formula can finally be tried to achieve:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710035041.8A CN106681135B (en) | 2017-01-17 | 2017-01-17 | Cable wiring path searching method based on mixed water drop algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710035041.8A CN106681135B (en) | 2017-01-17 | 2017-01-17 | Cable wiring path searching method based on mixed water drop algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106681135A true CN106681135A (en) | 2017-05-17 |
CN106681135B CN106681135B (en) | 2020-05-05 |
Family
ID=58860078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710035041.8A Expired - Fee Related CN106681135B (en) | 2017-01-17 | 2017-01-17 | Cable wiring path searching method based on mixed water drop algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106681135B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109033611A (en) * | 2018-07-20 | 2018-12-18 | 福州大学 | A kind of wiring method of VLSI multi-terminal obstacle |
CN110703767A (en) * | 2019-11-08 | 2020-01-17 | 江苏理工学院 | Unmanned vehicle obstacle avoidance path planning method based on improved intelligent water drop algorithm |
CN111985600A (en) * | 2020-08-21 | 2020-11-24 | 吴仉华 | Indoor wire path planning method and device based on improved particle swarm |
CN113424383A (en) * | 2018-12-21 | 2021-09-21 | 里塔尔有限责任两合公司 | Method for robot-assisted wiring of electrical components of an electrical switching device arranged on a mounting platform |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2428897A1 (en) * | 1978-06-15 | 1980-01-11 | Trt Telecom Radio Electr | Display assisted cable laying table - has displayed sequence instructions fed from punched tape |
CN101071450A (en) * | 2007-06-08 | 2007-11-14 | 桂林电子科技大学 | Electronic machine three-dimensional automatic routing system |
CN103902774A (en) * | 2014-03-31 | 2014-07-02 | 福州大学 | Overall wiring method for super-large-scale integrated circuit under X structure |
-
2017
- 2017-01-17 CN CN201710035041.8A patent/CN106681135B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2428897A1 (en) * | 1978-06-15 | 1980-01-11 | Trt Telecom Radio Electr | Display assisted cable laying table - has displayed sequence instructions fed from punched tape |
CN101071450A (en) * | 2007-06-08 | 2007-11-14 | 桂林电子科技大学 | Electronic machine three-dimensional automatic routing system |
CN103902774A (en) * | 2014-03-31 | 2014-07-02 | 福州大学 | Overall wiring method for super-large-scale integrated circuit under X structure |
Non-Patent Citations (1)
Title |
---|
李春泉 等: "轮廓扩展方法下的电气线缆布线技术研究", 《机械设计与制造》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109033611A (en) * | 2018-07-20 | 2018-12-18 | 福州大学 | A kind of wiring method of VLSI multi-terminal obstacle |
CN109033611B (en) * | 2018-07-20 | 2023-04-07 | 福州大学 | Routing method for VLSI multi-end-point wire network around obstacles |
CN113424383A (en) * | 2018-12-21 | 2021-09-21 | 里塔尔有限责任两合公司 | Method for robot-assisted wiring of electrical components of an electrical switching device arranged on a mounting platform |
CN113424383B (en) * | 2018-12-21 | 2023-09-05 | 里塔尔有限责任两合公司 | Method for robot-assisted wiring of electrical components of an electrical switching apparatus arranged on an assembly platform |
CN110703767A (en) * | 2019-11-08 | 2020-01-17 | 江苏理工学院 | Unmanned vehicle obstacle avoidance path planning method based on improved intelligent water drop algorithm |
CN111985600A (en) * | 2020-08-21 | 2020-11-24 | 吴仉华 | Indoor wire path planning method and device based on improved particle swarm |
Also Published As
Publication number | Publication date |
---|---|
CN106681135B (en) | 2020-05-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108229719B (en) | Multi-objective optimization method and device for unmanned aerial vehicle formation task allocation and flight path planning | |
CN106444755B (en) | Method for planning path for mobile robot based on improved adaptive GA-IAGA | |
CN107807665B (en) | Unmanned aerial vehicle formation detection task cooperative allocation method and device | |
CN106681135A (en) | Cable wiring route searching method based on mixed water drop algorithm | |
CN105717929B (en) | Mobile robot mixed path planing method under a kind of multiresolution obstacle environment | |
CN111562785B (en) | Path planning method and system for collaborative coverage of cluster robots | |
CN110883776B (en) | Robot path planning algorithm for improving DQN under quick search mechanism | |
CN107886201B (en) | Multi-objective optimization method and device for multi-unmanned aerial vehicle task allocation | |
CN109542106A (en) | A kind of paths planning method under mobile robot multi-constraint condition | |
CN103472828A (en) | Mobile robot path planning method based on improvement of ant colony algorithm and particle swarm optimization | |
CN105527964B (en) | A kind of robot path planning method | |
CN109945881A (en) | A kind of method for planning path for mobile robot of ant group algorithm | |
CN112462803B (en) | Unmanned aerial vehicle path planning method based on improved NSGA-II | |
CN105046363B (en) | A kind of region distribution system single-line diagram layout and optimization method | |
CN107832834A (en) | A kind of construction method of the WIFI indoor positioning fingerprint bases based on generation confrontation network | |
CN106909986A (en) | A kind of soil re-development plan method of use ant colony multiple target layout optimization model | |
CN108413963A (en) | Bar-type machine people's paths planning method based on self study ant group algorithm | |
CN110233657A (en) | A kind of multiple no-manned plane region overlay dispositions method based on population genetic algorithm | |
CN112666957A (en) | Underwater robot path planning method based on improved ant colony algorithm | |
CN108649605A (en) | A kind of grid-connected allowed capacity planing methods of DER based on the double-deck scene interval trend | |
CN109839933A (en) | A kind of multi-robot Task Allocation based on VDSOM algorithm | |
CN108287979A (en) | A kind of water discharging structure optimum design method based on VR-BIM technologies | |
CN106022510B (en) | A kind of people's vehicle mixing evacuation emulation optimization method based on multiparticle group's coevolution | |
CN108594813A (en) | Task allocation method for multiple cleaning robots in large-scale indoor environment | |
CN102521649A (en) | Network community structure detection method based on memetic computation |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200505 |