Summary of the invention
The purpose of the present invention is to provide a kind of high reliablity and effect is preferably based on the static charging pile portion divided
Arranging method.
It is provided by the invention this based on the static charging pile dispositions method divided, include the following steps:
S1. network model is established for shared motor bicycle SEB and static state charging pile SCP;
Several SEB distribution maps are divided into opposite close quarters and opposite by the network model S2. established for step S1
Sparse region, and determine that the intersection area of the opposite close quarters in several SEB distribution maps is SCP chargeable range, it is described
The definition of opposite close quarters is the region comprising most SEB, and SEB distribution map is such as divided into 2 parts, and region A includes 65
A SEB, and region B includes 34 SEB, region A includes more SEB for the B of region, then region A is relatively intensive
Region, mutually deserved, region B is opposite sparse region, that is, is defined as the region comprising less SEB;
S3. building meets the minimum SCP quantity optimization function that can cover all SEB in all target areas;
S4. based on group's partition problem, the majorized function problem of settlement steps to deal S3 building obtains the preliminary deployed position of SCP;
S5. the preliminary deployed position of the obtained SCP of step S4 is optimized, to obtain the deployment position of final SCP
It sets.
Several SEB distribution maps are divided into opposite close quarters and opposite sparse region described in step S2, specially
Several SEB distribution maps are divided by opposite close quarters and opposite sparse region using k-means algorithm.
The intersection area of opposite close quarters in several SEB distribution maps of determination described in step S2 is SCP charging model
It encloses, SCP chargeable range is specially determined using following rule:
If R1. opposite close quarters b1,b2,...,beThere is no unique intersections, then calculate SEB in all intersections
The intersection area for being higher than average value comprising SEB number is considered as SCP chargeable range P by several average valueimportant;
If R2. opposite close quarters b1,b2,...,beThe intersection area is then considered as SCP charging by the intersection of existence anduniquess
Range Pimportant;
If R3. opposite close quarters b1,b2,...,beIt mutually disjoints two-by-two, then calculates opposite close quarters b1,
b2,...,beThe average value of interior SEB number, the opposite close quarters by SEB that is included number not less than average value are considered as SCP
Chargeable range Pimportant。
Building described in step S3 meets the minimum SCP quantity optimization letter that can cover all SEB in all target areas
Number is specially constructed using step:
A. the deployment region D to be selected of SCP is calculated using following formula:
D=D∩∪Dal
D in formula∩={ D∩1,D∩2,...,D∩sIndicate SCP chargeable range PimportantThe affiliated range of all SEB in region
Intersection;Indicate the affiliated model of all SEB that intersection is all not present with any residue SEB
It encloses;
B. deployment region D to be selected is calculated using following formulajInterior SEB set Gj:
In formula | N | for SEB number;diFor the affiliated range of SEB i;
C. using if drag is as minimum SCP quantity optimization function:
Constraint condition:
I ∈ in formula { 1,2 ..., | G | }, xj∈ { 0,1 }, cij∈ { 0,1 },| D | for
Select the number of deployment region;
Based on a partition problem described in step S4, the majorized function problem of settlement steps to deal S3 building is specially used and is opened
Hairdo algorithm solves group's partition problem, thus the majorized function problem of settlement steps to deal S3 building.
The preliminary deployed position of the obtained SCP of step S4 is optimized described in step S5, specially using following rule
Then optimize:
If r1. the SEB in same group has unique public domain, the geometric center position of the public domain is then
The deployed position of SCP;
If r2. unique public domain is not present in the SEB in same group, any one SEB is successively isolated in the group
Affiliated region judges remaining SEB with the presence or absence of unique public domain: unique public domain if it exists, then only by this
The deployment position of the geometric center position of one public domain and the geometric center position of segregate SEB affiliated area as SCP
It sets;If region belonging to any one SEB is successively isolated in the group does not find unique public domain, generated
SCP is disposed in the geometric center position of intersection area.
If range belonging to 3 SEB forms 3 public domains, and 3 public domains are compared r3. in same group
At 1 point, then using the common point as the deployed position of SCP.
It is provided by the invention this based on the static charging pile dispositions method divided, by building Optimized model, to excellent
Change the process that model is solved and optimized, it is determined that the deployed position of static charging pile, therefore the method for the present invention can
Preferably it is suitable for the SEB distribution situation of dynamic change, SCP deployment quantity, and side of the present invention can be minimized as far as possible
The effect of the high reliablity of method, SCP deployment is preferable.
Specific embodiment
As shown in Figure 1 be the method for the present invention method flow diagram: it is provided by the invention it is this based on divide static state fill
Electric stake dispositions method, includes the following steps:
S1. network model is established for shared motor bicycle SEB and static state charging pile SCP;
SEB is considered as the sensor node in wireless chargeable sensor network by the present invention, and SCP is considered as static energy source;
Assuming that disposing the identical SCP of several specifications in 2 dimensional region, the presence of barrier is not considered;It is that the charging of r is covered that SCP, which has radius,
Lid range, this refers to that the SEB being present in SCP charging coverage area will be responsible for charging (as shown in Figure 2) by the SCP;
Assuming that there is the identical SEB of N number of specification (N > 1), N is usediIndicate that each SEB, SEB collection are combined into N={ N1,N2,...,
NN};The presence for not considering barrier, using one-to-one charging modes, i.e. a SEB is only capable of being charged by a SCP, because
This, each SEB has its affiliated chargeable range di;
Several SEB distribution maps are divided into opposite close quarters and opposite by the network model S2. established for step S1
Sparse region, and determine that the intersection area of the opposite close quarters in several SEB distribution maps is SCP chargeable range;Described
The definition of opposite close quarters is the region comprising most SEB, and SEB distribution map is such as divided into 2 parts, and region A includes 65
A SEB, and region B includes 34 SEB, region A includes more SEB for the B of region, then region A is relatively intensive
Region, mutually deserved, region B is opposite sparse region, that is, is defined as the region comprising less SEB;
In the specific implementation, several SEB distribution maps are divided by opposite close quarters and opposite using k-means algorithm
Sparse region;
For k SEB distribution situation figure, θ region is divided into using k-means algorithm, according to SEB quantity feelings
Condition is divided into opposite close quarters R={ b1,b2,...,beAnd opposite sparse region B={ c1,c2,...,cl, and lead to
N=R ∪ B expression is crossed, opposite close quarters and opposite sparse region contain all SEB in 2 dimensional region;
In opposite close quarters R, is found in k SEB distribution situation figure respectively, pass through Pimportant=b1∩b2∩...
∩beThe intersection of this e opposite close quarters is found as key area Pimportant, key area PimportantIndicate
A large amount of SEB is distributed in the region;
Meanwhile SCP chargeable range is determined using following rule:
If R1. opposite close quarters b1,b2,...,beThere is no unique intersections, then calculate SEB in all intersections
The intersection area for being higher than average value comprising SEB number is considered as SCP chargeable range P by several average valueimportant;
If R2. opposite close quarters b1,b2,...,beThe intersection area is then considered as SCP charging by the intersection of existence anduniquess
Range Pimportant;
If R3. opposite close quarters b1,b2,...,beIt mutually disjoints two-by-two, then calculates opposite close quarters b1,
b2,...,beThe average value of interior SEB number, the opposite close quarters by SEB that is included number not less than average value are considered as SCP
Chargeable range Pimportant
S3. building meets the minimum SCP quantity optimization function that can cover all SEB in all target areas;Specially
It is constructed using step:
A. the deployment region D to be selected of SCP is calculated using following formula:
D=D∩∪Dal
D in formula∩={ D∩1,D∩2,...,D∩sIndicate SCP chargeable range PimportantThe affiliated range of all SEB in region
Intersection;Indicate the affiliated model of all SEB that intersection is all not present with any residue SEB
It encloses;
B. deployment region D to be selected is calculated using following formulajInterior SEB set Gj:
In formula | N | for SEB number;diFor the affiliated range of SEB i;
C. using if drag is as minimum SCP quantity optimization function:
Constraint condition:
I ∈ in formula { 1,2 ..., | G | }, xj∈ { 0,1 }, cij∈ { 0,1 },| D | for
Select the number of deployment region;
S4. group's partition problem is solved using heuritic approach, the majorized function problem of settlement steps to deal S3 building obtains SCP
Preliminary deployed position;
Minimum SCP quantity optimization problem is NP-HARD problem, and the problem is similar to lower partition problem of complexity,
Group's partition problem, which refers to, finds the minimum group's number that can divide a figure, and each group is certain vertex set, a group
Interior any two vertex is all connected by side;
It is solved for former problem is converted to a partition problem, the present invention is first against final PimportantIt is all in region
SEB constructs non-directed graph G (V, E) (as shown in Figure 3), and each vertex represents final P in figureimportantEach SEB in region, if
The affiliated range intersection of two SEB, then connecting a line between the two points;It is divided using, former problem can be converted
It is lower by final P for complexityimportantOn the non-directed graph that the SEB in region is constituted, the non-directed graph can be divided most by finding
Small quantity;
There are many heuritic approaches to solve group's partition problem at present, and the present invention uses " the Tseng C of Tseng C J et al.
J,Siewiorek D P.Automated Synthesis of Data Paths in Digital Systems.IEEE
Transactions on Computer-Aided Design of Integrated Circuits and Systems,
1986,5 (3): the algorithm that 379-395. " is proposed is solved, and the core concept of the algorithm is as described below:
(1) on non-directed graph G (V, E), the node for having public neighbours most is chosen to (w1,w2), if existed in figure more
A node pair for possessing the identical public neighbours of maximum number, then the maximum node pair of selectance, if there is the degree of node pair
Also identical, then choose at random any node pair;
(2) by the node selected to (w1,w2) merge into a node w1;
(3) following 3 classes side is needed to delete:
1)w1With w2Between side;
2)w1、w2The call number in being connected with public neighbours it is smaller while;
3) and node is to (w1,w2) in the connected independent vertices of a node;
(4) first three step is repeated on new non-directed graph until not having side in figure;
S5. the preliminary deployed position of the obtained SCP of step S4 is optimized, to obtain the deployment position of final SCP
It sets;Specially optimized using following rule:
If r1. the SEB in same group has unique public domain, the geometric center position of the public domain is then
The deployed position of SCP;It is specific as shown in Figure 4;
If r2. unique public domain is not present in the SEB in same group, any one SEB is successively isolated in the group
Affiliated region judges remaining SEB with the presence or absence of unique public domain: unique public domain if it exists, then only by this
The deployment position of the geometric center position of one public domain and the geometric center position of segregate SEB affiliated area as SCP
It sets;If region belonging to any one SEB is successively isolated in the group does not find unique public domain, generated
SCP is disposed in the geometric center position of intersection area;
Specifically as shown in figure 5, the affiliated range of tetra- SEB of a, b, c, d intersects two-by-two, a, b, c possess unique public area
Domain, and SEB d does not intersect with the public domain, in this case, needs if disposing SCP still in public domain
3, but the present invention, in view of disposing SCP in public domain α and γ, the SCP is larger to the effect of SEB d, for SEB
It is not required in that for a, b, c, therefore, for this case, the present invention considers by isolating a SEB out of group, so
Observation residue SEB whether there is unique public intersection afterwards, if it is present SCP to be deployed in the geometric center of public intersection
Place and the affiliated range center the SEB isolated;As shown in Figure 5, SEB d is first isolated, finds residue a, b, c are deposited
In unique public domain β, then SCP is deployed at β geometric center position and the center of the affiliated range of SEB d, this
Former 3 SCP abbreviations in need can be 2 SCP of deployment by sample;If not finding unique public area yet after one SEB of isolation
Domain, then continuing that another SEB progress isolation processing is selected to find unique public domain again;If successively isolation is appointed in the group
Unique public domain is not found in region belonging to a SEB of anticipating, then in the geometric center position of generated intersection area
Dispose SCP;
If range belonging to 3 SEB forms 3 public domains, and 3 public domains are compared r3. in same group
At 1 point, then using the common point as the deployed position of SCP;
Specifically as shown in fig. 6, the affiliated range of 3 SEB forms 3 public domains, and this 3 public domains intersect at
1 point, if the method before continuing to continue to use, it will 2 SCP of deployment, but for such a special circumstances, it is only necessary to it will
SCP is deployed at the intersection point Q of 3 public domains, is replaced original 2 SCP with 1 SCP, is reduced required SCP quantity.
The group's of division quantity, optimization are carried out to based on the minimum static state charging pile quantity optimization dispositions method divided below
Required SCP quantity carries out experimental verification afterwards.
The affiliated range of SEB influences (referring to attached drawing 7) to number needed for SCP:
Specifically, the present invention consider SEB affiliated range fromIt arrivesVariation, with the affiliated model of SEB
The increase enclosed divides obtained group's number by and gradually decreases, and number needed for obtained SCP also gradually subtracts after optimization
Small, this illustrates that the affiliated range of SEB is affected to final required SCP number.Meanwhile it being merely able to using clique partitioning algorithm merely
SEB is divided into the stronger several groups of interdependencies, can not determine SCP required number, is needed by being found after optimization
The specific deployed position and number of SCP, because the affiliated range intersection situation of SEB in single group is complex, one
It is not only to dispose a SCP to service for the SEB in entire group in group, needs to intersect specific feelings according to the affiliated range of SEB
Condition is disposed, therefore can be found optimally, that is, is rolled into a ball interior all affiliated ranges of SEB and intersected at a public domain, this
When group's number is required SCP number, and otherwise required SCP number can be greater than group's number.
P under different SEB distribution situation figuresimportantSEB number and required SCP number (referring to attached drawing 8) in region:
Specifically, the opposite close quarters proposed by the present invention by looking for different SEB distribution situation figures are used as and are born by SCP
Blame the region of charging, it is thus evident that the P found by 10 SEB distribution situation figuresimportantRegion is in different distribution situation figures
Middle SEB covered number is more uniform, and fluctuation is smaller, this illustrates P determined by the present inventionimportantRegion can cover
It is more, the biggish SEB of density, be further illustrated in the region use SCP mode to carry out charging for SEB can be as big as possible
Raising SCP utilization rate.On the other hand, by observing required SCP quantity under different SEB distribution situation figures, it is found that required
SCP quantity changes between 53 to 65, and gap is smaller, this, which also means that work as, finds final PimportantAfter region, no matter
Which selection organize data to determine that SCP is disposed with, and gap is not too large, can better adapt to the SEB distribution situation of dynamic change.
Show that technical method of the invention is suitable for the SEB distribution situation of dynamic change by above-mentioned experiment, simultaneously
It may be implemented to minimize SCP deployment quantity, thus investment needed for reducing deployment SEB operator early period SCP, while also solving well
The SCP that determined once is disposed and is just difficult to mobile problem.