CN113630737A - Deployment method of mobile charger in wireless chargeable sensor network - Google Patents
Deployment method of mobile charger in wireless chargeable sensor network Download PDFInfo
- Publication number
- CN113630737A CN113630737A CN202110889666.7A CN202110889666A CN113630737A CN 113630737 A CN113630737 A CN 113630737A CN 202110889666 A CN202110889666 A CN 202110889666A CN 113630737 A CN113630737 A CN 113630737A
- Authority
- CN
- China
- Prior art keywords
- mobile charger
- sensor network
- probability
- individual
- path
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 230000002068 genetic effect Effects 0.000 claims description 28
- 230000008569 process Effects 0.000 claims description 18
- 238000013461 design Methods 0.000 claims description 17
- 239000011159 matrix material Substances 0.000 claims description 13
- 230000035772 mutation Effects 0.000 claims description 9
- 210000000349 chromosome Anatomy 0.000 claims description 7
- 238000013507 mapping Methods 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000001186 cumulative effect Effects 0.000 claims description 3
- 125000004122 cyclic group Chemical group 0.000 claims description 3
- 238000012938 design process Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 108090000623 proteins and genes Proteins 0.000 claims description 3
- 230000000717 retained effect Effects 0.000 claims description 3
- 238000010187 selection method Methods 0.000 claims description 3
- 239000000126 substance Substances 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 4
- 238000005265 energy consumption Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000005215 recombination Methods 0.000 description 1
- 230000006798 recombination Effects 0.000 description 1
- 238000010845 search algorithm Methods 0.000 description 1
- 238000002922 simulated annealing Methods 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 239000013598 vector Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/38—Services specially adapted for particular environments, situations or purposes for collecting sensor information
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W16/00—Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
- H04W16/18—Network planning tools
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/24—Connectivity information management, e.g. connectivity discovery or connectivity update
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention discloses a deployment method of a mobile charger in a wireless chargeable sensor network, which relates to the technical field of mobile charger deployment and comprises the following specific steps: obtaining basic data of a mobile charger and a node; constructing a weighted path graph of the sensor network nodes; searching a Hamiltonian graph with the minimum total weight; executing an optimized mobile charger number and path planning algorithm; whether the optimal solution set of the number of paths meets the balance of each path or not; the mobile charger obtains the lowest threshold allowed by the sensor; obtaining a final deployment scheme of the mobile charger; the invention has fast overall operation speed and good convergence effect; the efficiency is improved by balancing each path of each mobile charger; the charging path of the mobile charger is reasonably planned and deployed, so that the energy loss of the mobile charger on the road is effectively reduced, and the method has wide application value.
Description
Technical Field
The invention relates to the technical field of mobile charger deployment, in particular to a deployment method of a mobile charger in a wireless chargeable sensor network.
Background
The wireless sensor network is a distributed sensor network, the wireless sensor network comprises a plurality of sensors and a data center, and the novel network model is called as a wireless chargeable sensor network: the sensors collect information from the environment and send the collected information to the data center at intervals. The data center analyzes the data and returns control information, the sensor continuously consumes energy in the process, and the minimization of energy consumption has important significance on the service life and the service performance of the network; on the basis of the background that a mobile charging vehicle maintenance system in a wireless chargeable network normally works, the route planning and optimization of the mobile charging vehicle in the working process are discussed, starting from the optimal path planning, the problem is converted into a traveler problem and a multi-traveler problem to establish a mathematical model, an approximate optimal solution is planned by combining a simulated annealing algorithm, a graph theory and a genetic algorithm, and finally an equation set is listed through a numerical calculation method, and the minimum battery capacity meeting the network work is obtained according to a prediction result;
the existing method for deploying the mobile charger in the wireless rechargeable sensor network has the advantages that the charging work is completed by periodically dispatching the mobile charger, the excellent performance is realized in a non-scale network, but the energy consumption is high, a single mobile charger cannot meet the charging requirement of a large-scale network, the energy consumption is high, energy is not saved, and the charging efficiency is unstable.
Disclosure of Invention
The invention aims to solve the defects in the prior art, and provides a deployment method of a mobile charger in a wireless chargeable sensor network.
In order to achieve the purpose, the invention adopts the following technical scheme:
a deployment method of a mobile charger in a wireless chargeable sensor network comprises the following specific steps:
the method comprises the following steps: obtaining basic data of a mobile charger and a node;
step two: constructing a weighted path graph of the sensor network nodes;
step three: searching a Hamiltonian graph with the minimum total weight;
step four: executing an optimized mobile charger number and path planning algorithm;
step five: whether the optimal solution set of the number of paths meets the balance of each path or not;
step six: the mobile charger obtains the lowest threshold allowed by the sensor;
step seven: and obtaining a final deployment scheme of the mobile charger.
As a further scheme of the invention: the path planning algorithm is specifically a genetic algorithm, and the specific steps are as follows:
A. firstly, initially generating a coding individual;
B. calculating an objective function for each individual;
C. selecting N individuals as next generation variant objects by using a wheel disc method;
D. carrying out cyclic variation and cross selection on the selected individuals according to probability to generate a new generation group;
E. comparing the existing records, and if the existing records are better than the existing records, recording the optimal individuals in the group;
and D, repeating the step B, converging to an approximately optimal solution after enough generations are obtained through inheritance, and ending the algorithm.
As a further scheme of the invention: the genetic algorithm is embodied in the following aspects:
(1) coding design of genetic individuals;
(2) an objective function of a genetic algorithm;
(3) selecting a wheel disc;
(4) partial match crossover and crossover variations.
As a further scheme of the invention: the coding design of the genetic individuals in the step (1) is mainly embodied in the following two aspects: the code design of the traveler problem and the code design of the multi-traveler problem;
the code design process of the traveler problem comprises the following specific steps: in genetic algorithms, it is necessary to embody the genetic characteristics of an individual, and therefore the design codes are as follows:
n positions to be reached in each network are set as A, the shortest distance matrix of the n positions is set as A, the number of rows and columns 1,2, 3, …,29 and … corresponding to the matrix A respectively represents the n positions, and the center point 1 represents the data center of the mobile charger; second, keeping the n positions with the data center at the first position, in order, represents one result: such as 30 positions:
1,28,23,27,16,3,15,26,10,25,22,13,21,24,8,5,12,30,9,4,19,2,7,6,20,29,11,14,17,18,1;
the path is represented as: 1-28-23-27-16-3-15-26-10-25-22-13-21-24-8-5-12-30-9-4-19-2-7-6-20-29-11-14-17-18-1;
the specific process of coding design of the multi-traveler problem is as follows: if there are m routes and there are n positions to be reached, then m-1 virtual points n +1, n +2, …, n + m-1 are inserted to represent the starting point of the route and form a new code, which can be used to represent the chromosome of the multi-traveler problem:
by setting the distances between the nodes 1, n +1, n +2, … and n + m-1 to be infinite, the distances to other points are consistent with 1 node, a new shortest distance matrix is obtained, and the corresponding row number and column number respectively represent n + m-1 nodes.
As a further scheme of the invention: the objective function in step (2) is considered from the following four aspects:
a. the total route is shortest: is the sum of the distances of the m route lines, i.e. isWherein liIndicating the length of the ith line;
b. and (3) balance degree: j ═ max (l)1,l2,l3,...,lm) (ii) a Namely, the longest one of the four lines is as short as possible, and compared with the traditional definition mode, the definition mode has the following characteristics:
i) dimension problem is easy to process
For the equilibrium degree of the definition, the method is closer to the total distance on the aspect of dimension problems compared with the traditional definition mode, and the processing is simpler;
ii) compliance with all the definition requirements
In fact, as long as the longest route can be kept shortest, the difference between the lengths of the four lines is very small, and therefore the definition of the equilibrium degree is met;
iii) the definition is very simple, and the operation amount is greatly reduced
c. Comprehensively considering the target function under the total distance and the equilibrium degree:
first unify the dimensions, S is the same as mJ, and by making J' ═ mJ, the total objective function is obtained as:
Z=aS+bJ′,
a+b=1;
wherein a and b are the weights of S and J', respectively,
when a is larger than b, the weight of the total distance is large, and the total distance accounts for the main factor;
when a is less than b, the weight of the balance degree is great, and the balance degree is a main factor at the moment;
in order to make the total distance and the degree of influence of the equilibrium degree on the total target the same, the weight of the total distance and the degree of influence of the equilibrium degree on the total target can be set to be 1: 1, then the objective function is obtained:
d、lidetermination of (1):
the matrix set is obtained by encoding of genetic algorithm
Wherein the content of the first and second substances,
…,
as a further scheme of the invention: the specific process of selecting the wheel disc in the step (3) is as follows: for the selection of the next generation population, the probability of each individual to be selected is firstly calculated, N populations of each generation are assumed, and the objective function value of the ith individual is set to be ZiThe smaller the required objective function value, the greater the probability of being selected:
by introducing the definition of the fitness function, Si=1/ZiThe reciprocal of the objective function value is obtained; thereby defining the probability of the ith individual being selected as:
at this time, the process of the present invention,it is apparent that the smaller the target value, the greater the probability of being selected.
The selected probability may also be defined as:
in the defined probabilities, if the N individual selection probabilities are not very different, the number of cycles will be many, and if the selection probabilities are very different, the number of cycles will decrease and will converge rapidly, so that P is obtainedmax-PminAs large as possible, thusThe following comparisons can be made:
obviously, the value of formula (I) is greater and more preferable than that of formula (II), so that P is preferablei=Pi 1For other definition modes, the comparison analysis can be carried out;
then, the cumulative probability is calculated for each probability:
using a wheel disc selection method, generating a random number of 0-1 in each round, selecting an individual by using the random number as a pointer, and selecting an individual of the next generation;
as a further scheme of the invention: the processes of partial matching crossing and exchange variation in the step (4) are respectively as follows:
s1, partial matching crossover operator: the partial matching intersection operation requires that two intersections are randomly selected so as to determine a matching segment, and two children are generated according to a mapping relation given by a middle segment between the two intersections in two parents, which is specifically as follows:
two cross points "|" are randomly selected for the following representation of two parents:
P1:(1 2 3|4 5 6 7|8 9)
P2:(4 5 2|1 8 7 6|9 3)
first, the middle segment between two intersections is swapped, resulting in:
Q1:(x x x|1 8 7 6|x x)
Q2:(x x x|4 5 6 7|x x)
wherein, x represents a temporary undefined code, and the mapping relation of the middle section is obtained as follows:
the unselected city codes 2,3, 9 are then retained, thus yielding:
Q1:(x 2 3|1 8 7 6|x 9)
Q2:(x x 2|4 5 6 7|9 3)
and for Q1The first x in (A) can be composed ofThis is 4, others are in turn available, with the following results:
Q1:(4 2 3|1 8 7 6|5 9)
Q2:(1 8 2|4 5 6 7|9 3);
s2, exchange mutation: that is, genes at two random positions are exchanged, inversion mutation is adopted, that is, two points are randomly selected on a chromosome, and a substring between the two points is completely inverted, specifically:
1,6,5,2,4,11,7,8,3,12,9,10
and (3) carrying out reverse order on the nodes 2 to 7 to obtain a new individual:
1,7,11,4,2,5,6,8,3,12,9,10
and obtaining an algorithm of path planning.
As a further scheme of the invention: the network medium limit value calculation formula of the deployment scheme in the step seven is as follows:
compared with the prior art, the invention has the beneficial effects that:
1. the overall operation speed is high, and the convergence effect is good;
2. the efficiency is improved by balancing each path of each mobile charger;
3. the charging path of the mobile charger is reasonably planned and deployed, so that the energy loss of the mobile charger on the road is effectively reduced, and the method has wide application value.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is an overall flowchart of a deployment method of a mobile charger in a wirelessly rechargeable sensor network according to the present invention;
fig. 2 is a schematic diagram of a location-energy consumption matrix in a deployment method of a mobile charger in a wirelessly rechargeable sensor network according to the present invention;
fig. 3 is a schematic diagram of a projection coordinate table of latitude in a deployment method of a mobile charger in a wireless rechargeable sensor network according to the present invention;
fig. 4 is a diagram showing a result of an N-point algorithm in a deployment method of a mobile charger in a wirelessly rechargeable sensor network according to the present invention;
fig. 5 is a planning diagram of a limit value in a deployment method of a mobile charger in a wirelessly rechargeable sensor network according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Example 1
Referring to fig. 1 to 5, the present embodiment discloses a deployment method of a mobile charger in a wirelessly rechargeable sensor network, which includes the following specific steps:
obtaining basic data of a mobile charger and a node; constructing a weighted path graph of the sensor network nodes; searching a Hamiltonian graph with the minimum total weight; executing an optimized mobile charger number and path planning algorithm;
specifically, the path planning algorithm is a genetic algorithm, and specifically comprises the following steps:
firstly, initially generating a coding individual; calculating an objective function for each individual; selecting N individuals as next generation variant objects by using a wheel disc method; carrying out cyclic variation and cross selection on the selected individuals according to probability to generate a new generation group; comparing the existing records, and if the existing records are better than the existing records, recording the optimal individuals in the group;
repeatedly calculating the target function of each individual, converging to an approximate optimal solution after sufficient generations of inheritance, and ending the algorithm;
the present example further discloses that the genetic algorithm is embodied in the following aspects:
(1) coding design of genetic individuals;
specifically, the coding design of genetic individuals is mainly embodied by the following two aspects: the code design of the traveler problem and the code design of the multi-traveler problem;
the embodiment specifically discloses a code design process of a traveler problem as follows: in genetic algorithms, genetic characteristics of individuals need to be embodied, so that codes need to be designed:
it should be noted that there are n locations to be reached in each network, let a be the shortest distance matrix of the n locations, and the number of rows and columns 1,2, 3, …,29, … corresponding to the matrix a respectively represents the n locations, where point 1 represents the data center of the mobile charger; second, keeping the n positions with the data center at the first position, in order, represents one result: such as 30 positions: 1,28,23,27,16,3,15,26,10,25,22,13,21,24,8,5,12,30,9,4,19,2,7,6,20,29,11,14,17,18, 1;
the path is represented as: 1-28-23-27-16-3-15-26-10-25-22-13-21-24-8-5-12-30-9-4-19-2-7-6-20-29-11-14-17-18-1;
the specific process of coding design of the multi-traveler problem is as follows: if there are m routes and there are n positions to be reached, then m-1 virtual points n +1, n +2, …, n + m-1 are inserted to represent the starting point of the route and form a new code, which can be used to represent the chromosome of the multi-traveler problem:
by setting the distances among the nodes 1, n +1, n +2, … and n + m-1 to be infinite and the distances to other points to be consistent with 1 node, a new shortest distance matrix is obtained, and the corresponding row number and column number respectively represent n + m-1 nodes.
The genetic algorithm in the embodiment is a search algorithm which is based on natural selection and genetic theory and combines survival rules of fittest in the biological evolution process with a random information transformation mechanism of a same group of chromosomes, and the genetic algorithm encodes solution vectors to form an initial population, and then carries out parallel iteration by using operators such as mutation, cross recombination, natural selection and the like to obtain an optimized solution.
(2) Objective function of genetic algorithm
Specifically, the objective function is considered from the following four aspects:
a. the total route is shortest: is the sum of the distances of the m route lines, i.e. isWherein liIndicating the length of the ith line;
b. and (3) balance degree: j ═ max (l)1,l2,l3,...,lm) (ii) a Namely, the longest one of the four lines is as short as possible, and compared with the traditional definition mode, the definition mode has the following characteristics:
i) dimension problem is easy to process
For the equilibrium degree of the definition, the method is closer to the total distance on the aspect of dimension problems compared with the traditional definition mode, and the processing is simpler;
ii) compliance with all the definition requirements
In fact, as long as the longest route can be kept shortest, the difference between the lengths of the four lines is very small, and therefore the definition of the equilibrium degree is met;
iii) the definition is very simple, and the operation amount is greatly reduced;
the embodiment discloses the reason for introducing the equalization degree specifically as follows: under the condition of ensuring that the total route is shortest, the problem of multiple travelers that one route is too long and the load is too heavy, and one route is too short and even directly returns to the original point without passing any point is very likely to occur, so the multi-traveler problem has no meaning, the concept of the balance degree needs to be introduced, the meaning of the balance degree is to ensure that each route is kept balanced as much as possible, and the constraint function which can meet the condition can be defined as the balance degree.
c. Comprehensively considering the target function under the total distance and the equilibrium degree:
first unify the dimensions, S is the same as mJ, and by making J' ═ mJ, the total objective function is obtained as:
Z=aS+bJ′,
a+b=1;
wherein a and b are the weights of S and J', respectively,
when a is larger than b, the weight of the total distance is large, and the total distance accounts for the main factor;
when a is less than b, the weight of the balance degree is great, and the balance degree is a main factor at the moment;
in order to make the total distance and the degree of influence of the equilibrium degree on the total target the same, the weight of the total distance and the degree of influence of the equilibrium degree on the total target can be set to be 1: 1, and then an objective function is obtained:
d、lidetermination of (1):
the matrix set is obtained by encoding of genetic algorithm
Wherein the content of the first and second substances,
…,
whether the optimal solution set of the number of paths meets the balance of each path or not; the mobile charger obtains the lowest threshold allowed by the sensor; obtaining a final deployment scheme of the mobile charger;
specifically, the network medium limit value calculation formula of the deployment scheme is as follows:
the limit value planning can refer to fig. 5.
Example 2
Referring to fig. 1 to 4, this embodiment discloses a deployment method of a mobile charger in a wirelessly rechargeable sensor network, and the specific processes of roulette selection and partial matching intersection and exchange variation are mainly described in this embodiment except for the steps as described above:
specifically, the wheel disc selection process comprises the following steps: for the selection of the next generation population, the probability of each individual to be selected is firstly calculated, N populations of each generation are assumed, and the objective function value of the ith individual is set to be ZiThe smaller the required objective function value, the greater the probability of being selected:
by introducing the definition of the fitness function, Si=1/ZiThe reciprocal of the objective function value is obtained; thereby defining the probability of the ith individual being selected as:
at this time, the process of the present invention,it is apparent that the smaller the target value, the greater the probability of being selected.
In addition, the selection probability can be defined as:
in the defined probabilities, if the N individual selection probabilities are not very different, the number of cycles will be many, and if the selection probabilities are very different, the number of cycles will decrease and will converge rapidly, so that P is obtainedmax-PminAs large as possible, then the following can be compared:
obviously, the value of formula (I) is greater and more preferable than that of formula (II), so that P is preferablei=Pi 1For other definition modes, the comparison analysis can be carried out;
then, the cumulative probability is calculated for each probability:
by using a wheel selection method, a random number of 0-1 is generated in each round, and the random number is used as a pointer to select an individual and select an individual of the next generation.
The embodiment further discloses that the processes of partial matching crossing and exchange mutation are respectively as follows:
s1, partial matching crossover operator: the partial matching intersection operation requires that two intersections are randomly selected so as to determine a matching segment, and two children are generated according to a mapping relation given by a middle segment between the two intersections in two parents, which is specifically as follows:
two cross points "|" are randomly selected for the following representation of two parents:
P1:(1 2 3|4 5 6 7|8 9)
P2:(4 5 2|1 8 7 6|9 3)
first, the middle segment between two intersections is swapped, resulting in:
Q1:(x x x|1 8 7 6|x x)
Q2:(x x x|4 5 6 7|x x)
wherein, x represents a temporary undefined code, and the mapping relation of the middle section is obtained as follows:
the unselected city codes 2,3, 9 are then retained, thus yielding:
Q1:(x 2 3|1 8 7 6|x 9)
Q2:(x x 2|4 5 6 7|9 3)
and for Q1The first x in (A) can be composed ofThis is 4, others are in turn available, with the following results:
Q1:(4 2 3|1 8 7 6|5 9)
Q2:(1 8 2|4 5 6 7|9 3);
s2, exchange mutation: that is, genes at two random positions are exchanged, inversion mutation is adopted, that is, two points are randomly selected on a chromosome, and a substring between the two points is completely inverted, specifically:
1,6,5,2,4,11,7,8,3,12,9,10
and (3) carrying out reverse order on the nodes 2 to 7 to obtain a new individual:
1,7,11,4,2,5,6,8,3,12,9,10
and obtaining an algorithm of path planning.
In the embodiment, the path planning algorithm can be replaced by any other relatively intelligent algorithm such as an ant colony algorithm, a greedy algorithm and the like, and only an extremely short path for traversal is searched.
In conclusion, the invention has the advantages of high overall operation speed and good convergence effect; the efficiency is improved by balancing each path of each mobile charger; the charging path of the mobile charger is reasonably planned and deployed, so that the energy loss of the mobile charger on the road is effectively reduced, and the method has wide application value.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be able to cover the technical scope of the present invention and the equivalent alternatives or modifications according to the technical solution and the inventive concept of the present invention within the technical scope of the present invention.
Claims (8)
1. A deployment method of a mobile charger in a wireless chargeable sensor network is characterized by comprising the following specific steps:
the method comprises the following steps: obtaining basic data of a mobile charger and a node;
step two: constructing a weighted path graph of the sensor network nodes;
step three: searching a Hamiltonian graph with the minimum total weight;
step four: executing an optimized mobile charger number and path planning algorithm;
step five: whether the optimal solution set of the number of paths meets the balance of each path or not;
step six: the mobile charger obtains the lowest threshold allowed by the sensor;
step seven: and obtaining a final deployment scheme of the mobile charger.
2. The deployment method of the mobile charger in the wirelessly chargeable sensor network according to claim 1, wherein the path planning algorithm of step four is specifically a genetic algorithm, and the specific steps are as follows:
A. firstly, initially generating a coding individual;
B. calculating an objective function for each individual;
C. selecting N individuals as next generation variant objects by using a wheel disc method;
D. carrying out cyclic variation and cross selection on the selected individuals according to probability to generate a new generation group;
E. comparing the existing records, and if the existing records are better than the existing records, recording the optimal individuals in the group;
and D, repeating the step B, converging to an approximately optimal solution after enough generations are obtained through inheritance, and ending the algorithm.
3. The method of claim 2, wherein the genetic algorithm is embodied as:
(1) coding design of genetic individuals;
(2) an objective function of a genetic algorithm;
(3) selecting a wheel disc;
(4) partial match crossover and crossover variations.
4. The deployment method of mobile chargers in a wirelessly chargeable sensor network according to claim 3, wherein the encoding design of the genetic individuals in step (1) is mainly embodied by the following two aspects: the code design of the traveler problem and the code design of the multi-traveler problem;
the code design process of the traveler problem comprises the following specific steps: in genetic algorithms, it is necessary to embody the genetic characteristics of an individual, and therefore the design codes are as follows:
n positions to be reached in each network are set as A, the shortest distance matrix of the n positions is set as A, the number of rows and columns 1,2, 3, …,29 and … corresponding to the matrix A respectively represents the n positions, and the center point 1 represents the data center of the mobile charger; second, keeping the n positions with the data center at the first position, in order, represents one result: such as 30 positions: 1,28,23,27,16,3,15,26,10,25,22,13,21,24,8,5,12,30,9,4,19,2,7,6,20,29,11,14,17,18, 1;
the path is represented as: 1-28-23-27-16-3-15-26-10-25-22-13-21-24-8-5-12-30-9-4-19-2-7-6-20-29-11-14-17-18-1;
the specific process of coding design of the multi-traveler problem is as follows: if there are m routes and there are n positions to be reached, then m-1 virtual points n +1, n +2, …, n + m-1 are inserted to represent the starting point of the route and form a new code, which can be used to represent the chromosome of the multi-traveler problem:
by setting the distances among the nodes 1, n +1, n +2, … and n + m-1 to be infinite and the distances to other points to be consistent with 1 node, a new shortest distance matrix is obtained, and the corresponding row number and column number respectively represent n + m-1 nodes.
5. The deployment method of mobile chargers in a wirelessly rechargeable sensor network according to claim 3, wherein the objective function in step (2) is considered from the following four aspects:
a. the total route is shortest: is the sum of the distances of the m route lines, i.e. isWherein liIndicating the length of the ith line;
b. and (3) balance degree: j ═ max (l)1,l2,l3,…,lm) (ii) a Namely, the longest one of the four lines is as short as possible, and compared with the traditional definition mode, the definition mode has the following characteristics:
i) dimension problem is easy to process
For the equilibrium degree of the definition, the method is closer to the total distance on the aspect of dimension problems compared with the traditional definition mode, and the processing is simpler;
ii) compliance with all the definition requirements
In fact, as long as the longest route can be kept shortest, the difference between the lengths of the four lines is very small, and therefore the definition of the equilibrium degree is met;
iii) the definition is very simple, and the operation amount is greatly reduced
c. Comprehensively considering the target function under the total distance and the equilibrium degree:
first unify the dimensions, S is the same as mJ, and by making J' ═ mJ, the total objective function is obtained as:
Z=aS+bJ′,
a+b=1;
wherein a and b are the weights of S and J', respectively,
when a is larger than b, the weight of the total distance is large, and the total distance accounts for the main factor;
when a is less than b, the weight of the balance degree is great, and the balance degree is a main factor at the moment;
in order to make the total distance and the degree of influence of the equilibrium degree on the total target the same, the weight of the total distance and the degree of influence of the equilibrium degree on the total target can be set to be 1: 1, then the objective function is obtained:
d、lidetermination of (1):
the matrix set is obtained by encoding of genetic algorithm
Wherein the content of the first and second substances,
…,
6. the deployment method of the mobile charger in the wirelessly chargeable sensor network according to claim 3, wherein the specific procedure of the roulette selection in the step (3) is as follows: for the selection of the next generation population, the probability of each individual to be selected is firstly calculated, N populations of each generation are assumed, and the objective function value of the ith individual is set to be ZiThe smaller the required objective function value, the greater the probability of being selected:
by introducing the definition of the fitness function, Si=1/ZiThe reciprocal of the objective function value is obtained; thereby defining the probability of the ith individual being selected as:
at this time, the process of the present invention,obviously, the condition that the smaller the target value is, the greater the selection probability is satisfied;
the selected probability may also be defined as:
within the defined probabilities, if the N individuals are selected with different probabilitiesIf the number of the loops is not large, the number of the loops is large, the selection probability is very different, the number of the loops is reduced, and the loops are converged rapidly, so that P is obtainedmax-PminAs large as possible, then the following can be compared:
obviously, the value of formula (I) is greater and more preferable than that of formula (II), so that P is preferablei=Pi 1For other definition modes, the comparison analysis can be carried out;
then, the cumulative probability is calculated for each probability:
by using a wheel selection method, a random number of 0-1 is generated in each round, and the random number is used as a pointer to select an individual and select an individual of the next generation.
7. The method for deploying mobile chargers in a wirelessly chargeable sensor network according to claim 3, wherein the processes of the partial matching crossing and the exchange mutation in the step (4) are respectively as follows:
s1, partial matching crossover operator: the partial matching intersection operation requires that two intersections are randomly selected so as to determine a matching segment, and two children are generated according to a mapping relation given by a middle segment between the two intersections in two parents, which is specifically as follows:
two cross points "|" are randomly selected for the following representation of two parents:
P1:(1 2 3|4 5 6 7|8 9)
P2:(4 5 2|1 8 7 6|9 3)
first, the middle segment between two intersections is swapped, resulting in:
Q1:(x x x|1 8 7 6|x x)
Q2:(x x x|4 5 6 7|x x)
wherein, x represents a temporary undefined code, and the mapping relation of the middle section is obtained as follows:
the unselected city codes 2,3, 9 are then retained, thus yielding:
Q1:(x 2 3|1 8 7 6|x 9)
Q2:(x x 2|4 5 6 7|9 3)
and for Q1The first x in (A) can be composed ofThis is 4, others are in turn available, with the following results:
Q1:(4 2 3|1 8 7 6|5 9)
Q2:(1 8 2|4 5 6 7|9 3);
s2, exchange mutation: that is, genes at two random positions are exchanged, inversion mutation is adopted, that is, two points are randomly selected on a chromosome, and a substring between the two points is completely inverted, specifically:
1,6,5,2,4,11,7,8,3,12,9,10
and (3) carrying out reverse order on the nodes 2 to 7 to obtain a new individual:
1,7,11,4,2,5,6,8,3,12,9,10
and obtaining an algorithm of path planning.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110889666.7A CN113630737A (en) | 2021-08-04 | 2021-08-04 | Deployment method of mobile charger in wireless chargeable sensor network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110889666.7A CN113630737A (en) | 2021-08-04 | 2021-08-04 | Deployment method of mobile charger in wireless chargeable sensor network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113630737A true CN113630737A (en) | 2021-11-09 |
Family
ID=78382496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110889666.7A Pending CN113630737A (en) | 2021-08-04 | 2021-08-04 | Deployment method of mobile charger in wireless chargeable sensor network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113630737A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105704731A (en) * | 2016-04-28 | 2016-06-22 | 杭州电子科技大学 | Omnibearing charging base station deployment method of wireless rechargeable sensing network |
CN105722091A (en) * | 2016-04-28 | 2016-06-29 | 杭州电子科技大学 | Directional charging base station deployment method of wireless rechargeable sensor network |
US20170150417A1 (en) * | 2015-11-24 | 2017-05-25 | King Fahd University Of Petroleum And Minerals | Method of routing for wireless ad hoc and sensor networks |
CN110278567A (en) * | 2019-05-21 | 2019-09-24 | 杭州电子科技大学 | The building of k- fence and the charger Optimization deployment method of wireless chargeable Sensor Network |
CN110300418A (en) * | 2019-06-05 | 2019-10-01 | 云南电网有限责任公司丽江供电局 | A kind of space-time dispatching algorithm to charge on demand in wireless chargeable sensor network |
CN111163479A (en) * | 2020-01-06 | 2020-05-15 | 天津工业大学 | Node optimization deployment method suitable for wireless locatable sensor network |
CN111277951A (en) * | 2020-02-13 | 2020-06-12 | 南京邮电大学 | Greedy submodule-based wireless chargeable sensor network charger deployment method |
WO2021035911A1 (en) * | 2019-08-28 | 2021-03-04 | 青岛蓝海未来海洋科技有限责任公司 | Method and system for planning path of unmanned surface vehicle based on forward/reverse data-driven linear parameter-varying genetic algorithm |
CN112738752A (en) * | 2020-12-24 | 2021-04-30 | 昆明理工大学 | WRSN multi-mobile charger optimized scheduling method based on reinforcement learning |
-
2021
- 2021-08-04 CN CN202110889666.7A patent/CN113630737A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170150417A1 (en) * | 2015-11-24 | 2017-05-25 | King Fahd University Of Petroleum And Minerals | Method of routing for wireless ad hoc and sensor networks |
CN105704731A (en) * | 2016-04-28 | 2016-06-22 | 杭州电子科技大学 | Omnibearing charging base station deployment method of wireless rechargeable sensing network |
CN105722091A (en) * | 2016-04-28 | 2016-06-29 | 杭州电子科技大学 | Directional charging base station deployment method of wireless rechargeable sensor network |
CN110278567A (en) * | 2019-05-21 | 2019-09-24 | 杭州电子科技大学 | The building of k- fence and the charger Optimization deployment method of wireless chargeable Sensor Network |
CN110300418A (en) * | 2019-06-05 | 2019-10-01 | 云南电网有限责任公司丽江供电局 | A kind of space-time dispatching algorithm to charge on demand in wireless chargeable sensor network |
WO2021035911A1 (en) * | 2019-08-28 | 2021-03-04 | 青岛蓝海未来海洋科技有限责任公司 | Method and system for planning path of unmanned surface vehicle based on forward/reverse data-driven linear parameter-varying genetic algorithm |
CN111163479A (en) * | 2020-01-06 | 2020-05-15 | 天津工业大学 | Node optimization deployment method suitable for wireless locatable sensor network |
CN111277951A (en) * | 2020-02-13 | 2020-06-12 | 南京邮电大学 | Greedy submodule-based wireless chargeable sensor network charger deployment method |
CN112738752A (en) * | 2020-12-24 | 2021-04-30 | 昆明理工大学 | WRSN multi-mobile charger optimized scheduling method based on reinforcement learning |
Non-Patent Citations (5)
Title |
---|
PENGXIANG DONG: "Research of charging route planning model for wireless rechargeable sensor network based on simulated annealing algorithm and linear programming", 《IEEE》, 2 August 2021 (2021-08-02) * |
ZHIGUI LIN等: "A circular-density charging cluster division method in wireless rechargeable sensor networks", 《IEEE》 * |
徐新黎;崔永婷;皇甫晓洁;陈琛;: "能量受限的多移动设备无线充电路径规划方法", 小型微型计算机系统, no. 04 * |
李勇;: "无线传感器网络移动充电路径规划", 信息与电脑(理论版), no. 10, 23 May 2016 (2016-05-23) * |
王志方;郑霖;李晓记;: "无线可充电传感器网络中充电器的部署优化", 计算机工程, no. 05 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108764555B (en) | Shared bicycle parking point site selection method based on Hadoop | |
Saeidian et al. | Evaluation and comparison of Genetic Algorithm and Bees Algorithm for location–allocation of earthquake relief centers | |
Dou et al. | Genetic scheduling and reinforcement learning in multirobot systems for intelligent warehouses | |
Xiang et al. | A clustering-based surrogate-assisted multiobjective evolutionary algorithm for shelter location problem under uncertainty of road networks | |
Nandi et al. | Genetic algorithm based optimization of clustering in ad hoc networks | |
Liu et al. | An oriented spanning tree based genetic algorithm for multi-criteria shortest path problems | |
CN111337931A (en) | AUV target searching method | |
Lan et al. | Decomposition based multi-objective variable neighborhood descent algorithm for logistics dispatching | |
CN108803332A (en) | Based on the paths planning method for improving biogeography | |
CN110034596B (en) | Multi-base-station charging method based on SOM neural network in WRSNs | |
CN110118566A (en) | Robot operating path generation method and device | |
Wei et al. | City metro network expansion with reinforcement learning | |
Chen et al. | Multi-objective clustering analysis via combinatorial pigeon inspired optimization | |
Zhang et al. | Path planning of mobile robots based on genetic algorithm | |
Chiu et al. | Robot routing using clustering-based parallel genetic algorithm with migration | |
Beed et al. | A study of the genetic algorithm parameters for solving multi-objective travelling salesman problem | |
CN112381284B (en) | Improved genetic algorithm for multi-station path optimization of unmanned connection vehicle | |
CN111626493B (en) | Charging network planning method considering charging service capacity and operation efficiency | |
CN113630737A (en) | Deployment method of mobile charger in wireless chargeable sensor network | |
Abo-Alsabeh et al. | The Genetic Algorithm: A study survey. | |
CN114329783A (en) | Multi-target electric vehicle charging network planning method | |
CN113361753A (en) | Method, system, and medium for determining optimal path based on quantum genetic algorithm | |
Chong et al. | An opposition-based self-adaptive differential evolution with decomposition for solving the multiobjective multiple salesman problem | |
Xu et al. | Location Selection of Electric Vehicle Charging Station Based on Improved Immune Algorithm | |
Yoga et al. | Advanced Traveler Information Systems: Itinerary Optimisation Using Orienteering Problem Model and Genetic Algorithm |
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 |