CN108810914A - Based on the WSN Node distribution optimization methods for improving weeds algorithm - Google Patents
Based on the WSN Node distribution optimization methods for improving weeds algorithm Download PDFInfo
- Publication number
- CN108810914A CN108810914A CN201810430359.0A CN201810430359A CN108810914A CN 108810914 A CN108810914 A CN 108810914A CN 201810430359 A CN201810430359 A CN 201810430359A CN 108810914 A CN108810914 A CN 108810914A
- Authority
- CN
- China
- Prior art keywords
- weeds
- algorithm
- wsn
- wsn node
- node distribution
- 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
- 241000196324 Embryophyta Species 0.000 title claims abstract description 89
- 238000009826 distribution Methods 0.000 title claims abstract description 44
- 238000005457 optimization Methods 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 title claims abstract description 20
- 230000035772 mutation Effects 0.000 claims abstract description 7
- 238000013507 mapping Methods 0.000 claims abstract description 4
- 230000006870 function Effects 0.000 claims description 15
- 238000005259 measurement Methods 0.000 claims description 12
- 238000012360 testing method Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 4
- 230000008447 perception Effects 0.000 claims description 2
- 230000006978 adaptation Effects 0.000 claims 1
- 238000009395 breeding Methods 0.000 claims 1
- 230000001488 breeding effect Effects 0.000 claims 1
- 238000007418 data mining Methods 0.000 abstract description 2
- 230000000739 chaotic effect Effects 0.000 description 9
- 238000011160 research Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000002860 competitive effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000009792 diffusion process Methods 0.000 description 2
- 230000008030 elimination Effects 0.000 description 2
- 238000003379 elimination reaction Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 108010063499 Sigma Factor Proteins 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002068 genetic effect Effects 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000002028 premature Effects 0.000 description 1
- 238000009331 sowing Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- 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
- H04W16/20—Network planning tools for indoor coverage or short range network deployment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种基于改进杂草算法的WSN节点分布优化方法,该方法基于改进杂草算法求解WSN节点最优分布,改进杂草算法引入立方映射混沌算子来提高算法的局部搜索能力,利用高斯变异算子来增强种群的多样性,具有收敛速度快、鲁棒性好、数据开采能力强的优点,能有效解决WSN节点分布优化问题。
The invention discloses a WSN node distribution optimization method based on the improved weed algorithm. The method solves the optimal distribution of WSN nodes based on the improved weed algorithm, and the improved weed algorithm introduces a cubic mapping chaos operator to improve the local search ability of the algorithm. Using the Gaussian mutation operator to enhance the diversity of the population has the advantages of fast convergence, good robustness, and strong data mining capabilities, and can effectively solve the problem of WSN node distribution optimization.
Description
技术领域technical field
本发明涉及一种WSN节点分布优化方法,具体涉及一种基于改进杂草算法的WSN节点分布优化方法。The invention relates to a WSN node distribution optimization method, in particular to a WSN node distribution optimization method based on an improved weed algorithm.
背景技术Background technique
无线传感器网络(Wireless sensor networks,简称WSN)是由一组静止或移动的传感器节点以自组织形式组成的一个多跳无线网络,其具有抗毁性强、能快速展开等优势,在民用与军用上有着广泛的应用前景,近年来一直是国内外研究的热点。研究表明合理布置传感器节点有利于提高WSN的综合性能,但也易出现信道干扰和信息冗余的现象,造成能量浪费。因此,研究如何合理部署传感器节点、优化网络性能已成为WSN关键性技术之一。Wireless sensor networks (WSN for short) is a multi-hop wireless network composed of a group of stationary or mobile sensor nodes in the form of self-organization, which has the advantages of strong invulnerability and rapid deployment. It has a wide range of application prospects, and has been a hot research topic at home and abroad in recent years. The research shows that the reasonable arrangement of sensor nodes is beneficial to improve the comprehensive performance of WSN, but it is also prone to channel interference and information redundancy, resulting in energy waste. Therefore, research on how to reasonably deploy sensor nodes and optimize network performance has become one of the key technologies of WSN.
对于WSN节点分布优化问题,国内外诸多学者借助人工智能算法来进行处理。常见的人工智能算法有:遗传算法(Genetic algorithm,简称GA)、粒子群算法(Particle swarmoptimization algorithm,简称PSO)、人工蜂群算法(Artificial bee colony algorithm,简称ABC)等。然而,几乎所有的智能算法都易陷入局部最优,出现前期收敛过早、后期收敛速度变慢的问题。For the optimization of WSN node distribution, many scholars at home and abroad use artificial intelligence algorithms to deal with it. Common AI algorithms include: Genetic algorithm (GA for short), Particle swarm optimization algorithm (PSO for short), Artificial bee colony algorithm (ABC for short), etc. However, almost all intelligent algorithms are prone to fall into local optimum, and there are problems of premature convergence in the early stage and slow convergence speed in the later stage.
发明内容Contents of the invention
为了解决上述技术问题,本发明提供了一种基于改进杂草算法的WSN节点分布优化方法。In order to solve the above technical problems, the present invention provides a WSN node distribution optimization method based on the improved weed algorithm.
为了达到上述目的,本发明所采用的技术方案是:In order to achieve the above object, the technical scheme adopted in the present invention is:
基于改进杂草算法的WSN节点分布优化方法,包括以下步骤,The WSN node distribution optimization method based on the improved weed algorithm includes the following steps,
1)构建WSN节点分布优化目标函数;1) Construct the WSN node distribution optimization objective function;
2)基于改进杂草算法求解WSN节点最优分布;2) Solve the optimal distribution of WSN nodes based on the improved weed algorithm;
具体过程如下:The specific process is as follows:
21)种群初始化:利用立方映射混沌算子随机产生杂草位置;21) Population initialization: use the cubic map chaos operator to randomly generate weed positions;
22)生长繁殖:计算每个杂草的适应度值,计算每个杂草产生的种子数;22) Growth and reproduction: calculate the fitness value of each weed, and calculate the number of seeds produced by each weed;
23)空间扩散:种子以正态分布随机分散在其父代杂草的邻域内,其中部分种子利用高斯变异算子产生新的变异杂草;23) Spatial diffusion: The seeds are randomly scattered in the neighborhood of their parent weeds with a normal distribution, and some of the seeds use the Gaussian mutation operator to generate new mutant weeds;
24)竞争淘汰:经过若干次迭代后,当种群数超过最大种群规模数Pmax时,所有杂草按照适应度值从大到小进行排序,保留前Pmax个杂草;24) Competitive elimination: After several iterations, when the population exceeds the maximum population size P max , all weeds are sorted according to their fitness values from large to small, and the top P max weeds are retained;
25)停止准则:重复步骤22~24,记录下每代种群中适应度值最好的个体,直到迭代次数达到最大迭代数,算法停止,输出迭代最优解,即为WSN节点最优分布。25) Stop criterion: Repeat steps 22 to 24, record the individual with the best fitness value in each generation population, until the number of iterations reaches the maximum number of iterations, the algorithm stops, and the optimal solution of iteration is output, which is the optimal distribution of WSN nodes.
WSN节点分布优化目标函数C,WSN node distribution optimization objective function C,
其中,定义区域A离散成s×s的网格,n为区域内WSN节点个数,m×n为网格的个数,Cj为网格点pj被WSN节点检测到的概率,Cij为WSN节点si测量模型,Among them, the definition area A is discretized into s×s grids, n is the number of WSN nodes in the area, m×n is the number of grids, C j is the probability that grid point p j is detected by WSN nodes, C ij is the measurement model of WSN node s i ,
其中,dij为网格点pj与WSN节点si的距离,λ1,λ2,ε1,ε2均为测量参数,α1=Re-R+dij,α2=Re+R-dij,Re为WSN节点的有效测量半径,R为WSN节点的感知半径。Among them, d ij is the distance between grid point p j and WSN node s i , λ 1 , λ 2 , ε 1 , ε 2 are measurement parameters, α 1 =R e -R+d ij , α 2 =R e +Rd ij , Re is the effective measurement radius of the WSN node, and R is the sensing radius of the WSN node.
利用立方映射混沌算子随机产生杂草位置公式为,Using the cubic map chaos operator to randomly generate the weed position formula is,
Xi′=[xi′1,xi′2,…,xi′D]X i′ =[ xi′1 , xi′2 ,…, xi′D ]
其中,Xi′为杂草i′的位置,D为杂草i′的维数,D∈[1,D],xi′d为杂草i′在d维的位置,xU和xL分别为xi′d取值的上下限,yi′d为利用混沌序列产生的杂草i′的第d维值。Among them, X i′ is the position of weed i′, D is the dimension of weed i′, D∈[1,D], x i′d is the position of weed i′ in dimension d, x U and x L are the upper and lower limits of x i′d values, and y i′d is the d-th dimension value of weed i′ generated by chaotic sequence.
每个杂草产生的种子数公式为,The formula for the number of seeds produced by each weed is,
其中,Ps为种子数,fmax,fmin分别为种群最大适应度值和最小适应度值,Smax,Smin分别为最大和最小种子数,f(Xi′)为杂草i′的适应度值。Among them, P s is the number of seeds, f max , f min are the maximum fitness value and minimum fitness value of the population, S max , S min are the maximum and minimum seed numbers, f(X i′ ) is the weed i′ fitness value.
变异杂草的位置Vi′为,The position V i′ of the mutated weed is,
Vi′=Xi′+e(XB-Xi′)V i' =X i' +e(X B -X i' )
其中,e为均值为0,方差为1的高斯分布,Xi′为变异杂草的父代杂草位置,即杂草i′的位置。Among them, e is a Gaussian distribution with a mean of 0 and a variance of 1, and Xi ' is the position of the parent weed of the mutant weed, that is, the position of weed i'.
当变异杂草的位置Vi′不在搜索范围内时,则变异杂草的位置Vi′为,When the position V i' of the mutated weed is not within the search range, the position V i' of the mutated weed is,
Vi′=XL+e(XU-XL)V i′ =X L +e(X U -X L )
其中,XU和XL分别为Xi′取值的上下限。Among them, X U and X L are the upper and lower limits of the value of Xi ' respectively.
本发明所达到的有益效果:本发明基于改进杂草算法求解WSN节点最优分布,改进杂草算法引入立方映射混沌算子来提高算法的局部搜索能力,利用高斯变异算子来增强种群的多样性,具有收敛速度快、鲁棒性好、数据开采能力强的优点,能有效解决WSN节点分布优化问题。The beneficial effect achieved by the present invention: the present invention is based on the improved weed algorithm to solve the optimal distribution of WSN nodes, the improved weed algorithm introduces the cubic mapping chaos operator to improve the local search ability of the algorithm, and uses the Gaussian mutation operator to enhance the diversity of the population It has the advantages of fast convergence speed, good robustness, and strong data mining ability, and can effectively solve the problem of WSN node distribution optimization.
附图说明Description of drawings
图1为本发明的流程图;Fig. 1 is a flowchart of the present invention;
图2为三种算法网络覆盖率最优解的迭代曲线;Figure 2 is the iterative curve of the optimal solution of the network coverage of the three algorithms;
图3为网络覆盖率比较图;Figure 3 is a comparison chart of network coverage;
图4为初始时的WSN节点分布图;Fig. 4 is the initial WSN node distribution diagram;
图5为优化后的WSN节点分布图。Figure 5 is the optimized WSN node distribution diagram.
具体实施方式Detailed ways
下面结合附图对本发明作进一步描述。以下实施例仅用于更加清楚地说明本发明的技术方案,而不能以此来限制本发明的保护范围。The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.
如图1所示,基于改进杂草算法的WSN节点分布优化方法,包括以下步骤:As shown in Figure 1, the WSN node distribution optimization method based on the improved weed algorithm includes the following steps:
1)构建WSN节点分布优化目标函数。1) Construct WSN node distribution optimization objective function.
定义二维平面区域A离散成s×s的网格,每个网格的面积为1,若整个区域内分布着n个WSN节点(即无线传感器节点),每个WSN节点都可以通过某种特殊方式(像GPS)来获取自身位置,并拥有相同的感知半径R。因此,区域A上的所有WSN节点集可被描述成:Define the two-dimensional plane area A to be discretized into s×s grids, and the area of each grid is 1. If there are n WSN nodes (that is, wireless sensor nodes) distributed in the whole area, each WSN node can pass some kind of A special way (like GPS) to get its own position, and have the same perception radius R. Therefore, the set of all WSN nodes in area A can be described as:
S={s1,s2,…,sn}S={s 1 ,s 2 ,…,s n }
其中,WSN节点si的坐标为(xi,yi),i∈[1,n]。Wherein, the coordinates of WSN node s i are ( xi ,y i ), i∈[1,n].
网格点pj与WSN节点si的距离为,The distance between grid point p j and WSN node s i is,
其中,j∈[1,m×n],m×n为网格的个数,网格点pj的坐标为(xj,yj)。Among them, j∈[1,m×n], m×n is the number of grids, and the coordinates of grid point p j are (x j ,y j ).
WSN节点si测量模型主要有两种,一种是二元测量模型,另一种是概率测量模型,这里采用概率测量模型,There are two main measurement models for WSN node s i , one is a binary measurement model, and the other is a probability measurement model. Here, the probability measurement model is used.
其中,Cij为WSN节点si测量模型,λ1,λ2,ε1,ε2均为测量参数,α1=Re-R+dij,α2=Re+R-dij。Among them, C ij is the measurement model of WSN node s i , λ 1 , λ 2 , ε 1 , and ε 2 are measurement parameters, α 1 =R e -R+d ij , α 2 =R e +Rd ij .
如果所有WSN节点被检测都是相互独立事件,那么网格点pj被WSN节点检测到的概率为:If all WSN nodes are detected as independent events, then the probability of grid point p j being detected by WSN nodes is:
其中,若Cj大于或等于某个特定阈值Ct,则认为网格点pj可被节点检测;反之,若Cj小于Ct,则认为网格点pj不能被检测到,本文选择Ct=0.75。Among them, if C j is greater than or equal to a certain threshold C t , it is considered that the grid point p j can be detected by the node; otherwise, if C j is less than C t , it is considered that the grid point p j cannot be detected, and this paper chooses Ct = 0.75.
通过网格点pj被检测到的概率来衡量每个网格的覆盖率,将被检测到的网格点个数占网格总数的比例作为WSN的覆盖率Cs,具体的公式为,The coverage rate of each grid is measured by the probability that the grid point p j is detected, and the ratio of the number of detected grid points to the total number of grids is taken as the coverage rate C s of the WSN. The specific formula is,
因此,WSN节点分布优化问题可描述成区域A上的n个WSN节点通过优化算法达到对整个目标区域的覆盖。也就是,该问题可转换为覆盖率最大化问题,即WSN节点分布优化目标函数为,Therefore, the WSN node distribution optimization problem can be described as n WSN nodes in area A achieve coverage of the entire target area through an optimization algorithm. That is, this problem can be transformed into a coverage maximization problem, that is, the objective function of WSN node distribution optimization is,
其中,C为WSN节点分布优化目标函数。Among them, C is the objective function of WSN node distribution optimization.
2)基于改进杂草算法(IIWO算法)求解WSN节点最优分布。2) Solve the optimal distribution of WSN nodes based on the improved weed algorithm (IIWO algorithm).
具体过程如下:The specific process is as follows:
21)种群初始化:利用立方映射混沌算子随机产生杂草位置。21) Population initialization: use the cubic map chaos operator to randomly generate weed positions.
在杂草算法(IWO算法)中,随机产生杂草的初始位置有可能会导致位置分布不均匀,考虑到混沌算子具有随机性与规律性的特点,且能在一定范围内不重复遍历所有状态,在混沌模型中,立方映射比常用的Logistic映射产生的序列更均匀,故这里采用立方映射混沌算子来改进杂草位置的初始化。In the weed algorithm (IWO algorithm), randomly generating the initial position of the weed may lead to uneven distribution of the position. Considering that the chaotic operator has the characteristics of randomness and regularity, and can not repeatedly traverse all the weeds within a certain range State, in the chaotic model, the sequence generated by the cubic map is more uniform than the commonly used Logistic map, so the cubic map chaotic operator is used here to improve the initialization of the weed position.
初始化具体过程如下:The specific process of initialization is as follows:
a)对于D维空间内的M个个体,随机产生一个D维向量Y;a) For M individuals in the D-dimensional space, randomly generate a D-dimensional vector Y;
b)利用混沌序列对Y逐维进行M-1次迭代,这就产生了其余M-1个个体;b) Use the chaotic sequence to perform M-1 iterations on Y dimension by dimension, which produces the remaining M-1 individuals;
y(k+1)=4y(k)3-3y(k)(k=0,1,…)y(k+1)=4y(k) 3 -3y(k)(k=0,1,…)
其中,k为迭代次数,y(k)为第k次迭代时的混沌序列,y(k+1)为第k+1次迭代时的混沌序列;Among them, k is the number of iterations, y(k) is the chaotic sequence at the kth iteration, and y(k+1) is the chaotic sequence at the k+1th iteration;
c)将产生的混沌变量根据下式映射到解的搜索空间内:c) Map the generated chaotic variables into the search space of the solution according to the following formula:
其中,D∈[1,D],xi′d为杂草i′在d维的位置,xU和xL分别为xi′d取值的上下限,yi′d为利用混沌序列产生的杂草i′的第d维值。Among them, D∈[1,D], x i′d is the position of weed i′ in dimension d, x U and x L are the upper and lower limits of x i′d respectively, and y i′d is the The d-th dimension value of the weed i′ produced.
初始化得到的杂草位置公式为,The weed position formula obtained by initialization is,
Xi′=[xi′1,xi′2,…,xi′D]X i′ =[ xi′1 , xi′2 ,…, xi′D ]
其中,Xi′为杂草i′的位置,D为杂草i′的维数。Among them, Xi ' is the position of weed i', and D is the dimension of weed i'.
22)生长繁殖:计算每个杂草的适应度值,计算每个杂草产生的种子数;种群越优良的杂草产生的种子数也越多,22) Growth and reproduction: calculate the fitness value of each weed, and calculate the number of seeds produced by each weed; the better the population, the more seeds the weed produces,
每个杂草产生的种子数公式为,The formula for the number of seeds produced by each weed is,
其中,Ps为种子数,fmax,fmin分别为种群最大适应度值和最小适应度值,Smax,Smin分别为最大和最小种子数,f(Xi′)为杂草i′的适应度值。Among them, P s is the number of seeds, f max , f min are the maximum fitness value and minimum fitness value of the population, S max , S min are the maximum and minimum seed numbers, f(X i′ ) is the weed i′ fitness value.
23)空间扩散:种子以正态分布随机分散在其父代杂草的邻域内,其中部分种子利用高斯变异算子产生新的变异杂草。23) Spatial Diffusion: Seed in Normal The distribution is randomly scattered in the neighborhood of its parent weeds, and some of the seeds use the Gaussian mutation operator to produce new mutant weeds.
算法迭代过程中,标准差变化的规律可描述为:During the iterative process of the algorithm, the change rule of the standard deviation can be described as:
其中,w为非线性调节因子,σI和σF分别为播撒种子的初始标准差和最终标准差,σiter为第iter代的标准差,iter为迭代次数,itermax为最大迭代次数。Among them, w is the nonlinear adjustment factor, σ I and σ F are the initial standard deviation and final standard deviation of sowing seeds respectively, σ iter is the standard deviation of the iter generation, iter is the number of iterations, and iter max is the maximum number of iterations.
为避免IWO算法陷入局部最优,随机选择部分种子,采利用高斯变异算子产生新的变异杂草,变异杂草的位置Vi′为,In order to avoid the IWO algorithm from falling into the local optimum, some seeds are randomly selected, and Gaussian mutation operators are used to generate new mutant weeds. The position V i′ of the mutant weeds is,
Vi′=Xi′+e(XB-Xi′)V i' =X i' +e(X B -X i' )
其中,e为均值为0,方差为1的高斯分布,Xi′为变异杂草的父代杂草位置,即杂草i′的位置,XB为当前种群中适应度值最高的杂草位置。Among them, e is a Gaussian distribution with a mean of 0 and a variance of 1, Xi ' is the position of the parent weed of the mutant weed, that is, the position of the weed i', and X B is the weed with the highest fitness value in the current population Location.
变异杂草在父代与当前最优杂草之间存在一个服从高斯分布的随机干扰项,这可能会导致变异杂草的位置超出算法的搜索范围。所以,当变异杂草的位置Vi′不在搜索范围(即IWO算法搜索范围)内时,则变异杂草的位置Vi′为,There is a Gaussian random interference item between the parent generation and the current optimal weed in the mutant weed, which may cause the location of the mutant weed to exceed the search range of the algorithm. Therefore, when the position V i' of the mutated weed is not within the search range (that is, the search range of the IWO algorithm), the position V i' of the mutated weed is,
Vi′=XL+e(XU-XL)V i′ =X L +e(X U -X L )
其中,XU和XL分别为Xi′取值的上下限。Among them, X U and X L are the upper and lower limits of the value of Xi ' respectively.
24)竞争淘汰:经过若干次迭代后,当种群数超过最大种群规模数Pmax时,所有杂草按照适应度值从大到小进行排序,保留前Pmax个杂草。24) Competitive elimination: After several iterations, when the population exceeds the maximum population size P max , all weeds are sorted according to the fitness value from large to small, and the top P max weeds are retained.
25)停止准则:重复步骤22~24,记录下每代种群中适应度值最好的个体,直到迭代次数达到最大迭代数,算法停止,输出迭代最优解,即为WSN节点最优分布。25) Stop criterion: Repeat steps 22 to 24, record the individual with the best fitness value in each generation population, until the number of iterations reaches the maximum number of iterations, the algorithm stops, and the optimal solution of iteration is output, which is the optimal distribution of WSN nodes.
为了测试上述改进杂草算法(IIWO算法)的性能,采用文献(Lei L,Shiru Q.PathPlanning for Unmanned Air Vehicles Using an Improved Artificial Bee ColonyAlgorithm[C]//Control Conference(CCC),2012 31st Chinese.IEEE,2012:2486-2491.)提出的4个标准测试函数进行测试,并与CPSO算法(Chaotic PSO,简称CPSO)、IWO算法进行比较。4个函数的理论全局最小值均为0,仿真环境为Windows 7操作系统、MATLAB R2016a编译软件。为了公平比较各算法的优化性能,设置各算法的种群规模为40,各测试函数的维数为30,迭代次数为500次。然后,通过各算法分别对各测试函数进行30次独立测试,表1给出了测试的统计结果,包括平均值(Mean)和标准差(SD)。In order to test the performance of the above-mentioned improved weed algorithm (IIWO algorithm), the literature (Lei L, Shiru Q. Path Planning for Unmanned Air Vehicles Using an Improved Artificial Bee Colony Algorithm[C]//Control Conference (CCC), 2012 31st Chinese.IEEE , 2012:2486-2491.) to test the four standard test functions, and compare with the CPSO algorithm (Chaotic PSO, CPSO for short) and the IWO algorithm. The theoretical global minimum values of the four functions are all 0, and the simulation environment is Windows 7 operating system and MATLAB R2016a compiled software. In order to compare the optimization performance of each algorithm fairly, the population size of each algorithm is set to 40, the dimension of each test function is 30, and the number of iterations is 500. Then, 30 independent tests are carried out on each test function by each algorithm. Table 1 shows the statistical results of the test, including the mean (Mean) and standard deviation (SD).
表1标准函数测试结果Table 1 Standard function test results
从表中可以看出,CGSO算法在Sphere、Ackley和Rastrigin函数上,无论是平均值还是标准差均优于IWO算法与CPSO算法,而且都有明显的数量级提升。IIWO算法在Sphere函数上分别比IWO算法、CPSO算法提高了40和2个数量级。虽然,IIWO算法在Griewank函数上的性能要略低于CPSO算法,但两者的平均值和标准差仍处于同一数量级上。这表明与其他两种算法相比,IIWO算法能够充分开发被搜索对象的信息,具有较高的求解质量。It can be seen from the table that the CGSO algorithm is superior to the IWO algorithm and the CPSO algorithm in terms of the Sphere, Ackley and Rastrigin functions, both in terms of average and standard deviation, and has a significant order of magnitude improvement. Compared with IWO algorithm and CPSO algorithm, IIWO algorithm improves the Sphere function by 40 and 2 orders of magnitude respectively. Although the performance of the IIWO algorithm on the Griewank function is slightly lower than that of the CPSO algorithm, the mean and standard deviation of the two are still in the same order of magnitude. This shows that compared with the other two algorithms, the IIWO algorithm can fully develop the information of the searched object and has a higher solution quality.
为了检验IIWO算法在处理WSN节点分布优化问题的有效性,本仿真设置WSN的有效监控范围为100m×100m的正方形区域,每个传感器节点的感知半径为7m,在监控范围内随机分布着100个WSN节点。通过IWO算法、CPSO算法和IIWO算法分别对这些节点的布局进行优化,都迭代500代,重复操作30次,记录下其中的最好解。另外,三种算法的种群数均设置为20,其他参数的设置如表2所示。In order to test the effectiveness of the IIWO algorithm in dealing with the WSN node distribution optimization problem, this simulation sets the effective monitoring range of the WSN to a square area of 100m×100m, the sensing radius of each sensor node is 7m, and 100 sensor nodes are randomly distributed within the monitoring range. WSN nodes. The layout of these nodes is optimized by IWO algorithm, CPSO algorithm and IIWO algorithm respectively, iterating 500 generations, repeating the operation 30 times, and recording the best solution among them. In addition, the population numbers of the three algorithms are all set to 20, and the settings of other parameters are shown in Table 2.
表2三种算法的参数设置Table 2 Parameter settings of the three algorithms
当算法运行结束后,统计各算法的最优覆盖率与平均覆盖率,结果如表3所示。从表中可以看出,经混沌算子和高斯变异算子改进后的IWO算法处理WSN分布优化的成功概率大大提升了。经IIWO算法获得的WSN平均覆盖率比其他两种算法分别高出了2.8%和13.3%。After the algorithm runs, the optimal coverage rate and average coverage rate of each algorithm are counted, and the results are shown in Table 3. It can be seen from the table that the IWO algorithm improved by the chaos operator and the Gaussian mutation operator has greatly improved the success probability of WSN distribution optimization. The average WSN coverage obtained by IIWO algorithm is 2.8% and 13.3% higher than the other two algorithms respectively.
表3三种算法结果对比Table 3 Comparison of the results of the three algorithms
三种算法处理网络节点覆盖最优解的迭代曲线如图2所示。从图中可以看出,IWO算法与CPSO算法分别到了479次和197次迭代才开始收敛,而IIWO算法到了95次迭代便开始收敛。另外,本文算法获得的最优网络覆盖率为99.39%,而CPSO算法与IWO算法获得的分别为99.08%和97.75%。这表明IIWO算法收敛速度快,全局搜索能力强,能够摆脱局部最优的束缚。The iterative curves of the three algorithms to deal with the optimal solution of network node coverage are shown in Figure 2. It can be seen from the figure that the IWO algorithm and the CPSO algorithm began to converge at 479 and 197 iterations respectively, while the IIWO algorithm began to converge at 95 iterations. In addition, the optimal network coverage obtained by the algorithm in this paper is 99.39%, while those obtained by the CPSO algorithm and the IWO algorithm are 99.08% and 97.75%, respectively. This shows that the IIWO algorithm has fast convergence speed, strong global search ability, and can get rid of the constraints of local optimum.
另外,为了验证种群规模对算法性能的影响,设置种群大小分别为10、20和30,各迭代300代,记录下个算法最终获得网络覆盖率,如表4所示。从表中可以看出,随着种群规模的扩大,IIWO算法的寻优精度要高于其他算法。这表明本文所提算法能够获取更多的搜索信息和保持种群的多样性,具有较强的鲁棒性。In addition, in order to verify the impact of the population size on the performance of the algorithm, the population size is set to 10, 20 and 30, and each iteration is 300 generations, and the next algorithm is finally recorded to obtain the network coverage, as shown in Table 4. It can be seen from the table that with the expansion of the population size, the optimization accuracy of the IIWO algorithm is higher than that of other algorithms. This shows that the algorithm proposed in this paper can obtain more search information and maintain the diversity of the population, and has strong robustness.
表4不同种群规模下各算法的优化结果比较Table 4 Comparison of optimization results of each algorithm under different population sizes
为了进一步验证IIWO算法的性能,设计了基于不同节点数目的网络覆盖率仿真。三种算法的网络覆盖率随节点密度的变化曲线如图3所示。从图中可以看出,要实现95%以上的覆盖率,CPSO算法与IWO算法各需要布置150和200个节点,而IIWO算法只需要布置125个节点。这说明与其他两种算法相比,IIWO算法对全局信息的挖掘能力强。In order to further verify the performance of the IIWO algorithm, a network coverage simulation based on different numbers of nodes is designed. The change curves of the network coverage rate of the three algorithms with the node density are shown in Figure 3. It can be seen from the figure that to achieve a coverage rate of more than 95%, the CPSO algorithm and the IWO algorithm need to deploy 150 and 200 nodes respectively, while the IIWO algorithm only needs to deploy 125 nodes. This shows that compared with the other two algorithms, the IIWO algorithm has a stronger ability to mine global information.
从图4与图5可以看出,初始状态杂乱无章的节点经IIWO算法优化布置后,分布比较均匀,重叠覆盖率相对较小。因此,本文提出的基于改进杂草算法的WSN节点分布优化方法可以合理解决网络覆盖优化问题,并能有效提高网络覆盖率。It can be seen from Figure 4 and Figure 5 that after the nodes in the initial state are disordered and arranged optimally by the IIWO algorithm, the distribution is relatively uniform, and the overlapping coverage is relatively small. Therefore, the WSN node distribution optimization method based on the improved weed algorithm proposed in this paper can reasonably solve the network coverage optimization problem, and can effectively improve the network coverage.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和变形,这些改进和变形也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the technical principle of the present invention, some improvements and modifications can also be made. It should also be regarded as the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810430359.0A CN108810914A (en) | 2018-05-08 | 2018-05-08 | Based on the WSN Node distribution optimization methods for improving weeds algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810430359.0A CN108810914A (en) | 2018-05-08 | 2018-05-08 | Based on the WSN Node distribution optimization methods for improving weeds algorithm |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108810914A true CN108810914A (en) | 2018-11-13 |
Family
ID=64092137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810430359.0A Pending CN108810914A (en) | 2018-05-08 | 2018-05-08 | Based on the WSN Node distribution optimization methods for improving weeds algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108810914A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109932644A (en) * | 2019-02-28 | 2019-06-25 | 天津大学 | Circuit breaker fault diagnosis method based on hybrid intelligent algorithm |
CN110062389A (en) * | 2019-04-19 | 2019-07-26 | 江西理工大学 | Sensor network nodes Optimization deployment method based on improved differential evolution algorithm |
CN110113815A (en) * | 2019-04-02 | 2019-08-09 | 云南师范大学 | A kind of improved wireless sensor network locating method based on IWO |
CN113554510A (en) * | 2021-08-05 | 2021-10-26 | 百维金科(上海)信息科技有限公司 | Loan user default real-time monitoring system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383736A (en) * | 2008-10-15 | 2009-03-11 | 中国科学院上海微系统与信息技术研究所 | An Optimization Method for Node Layout in Wireless Sensor Networks Oriented to Regional Monitoring |
KR20090103188A (en) * | 2008-03-27 | 2009-10-01 | 성균관대학교산학협력단 | Routing Tree Searching Method Using Multi-Objective Genetic Algorithm and Corresponding Sensor Network |
CN103606005A (en) * | 2013-09-24 | 2014-02-26 | 西安电子科技大学 | Conformal antenna array directional diagram comprehensive method based on invasive weed optimization |
CN104268077A (en) * | 2014-09-23 | 2015-01-07 | 湖州师范学院 | Chaos genetic algorithm based test case intensive simple algorithm |
CN107942312A (en) * | 2017-11-13 | 2018-04-20 | 浙江大学 | A kind of Intelligent radar sea target detection system and method based on differential evolution invasive weed optimization algorithm |
-
2018
- 2018-05-08 CN CN201810430359.0A patent/CN108810914A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090103188A (en) * | 2008-03-27 | 2009-10-01 | 성균관대학교산학협력단 | Routing Tree Searching Method Using Multi-Objective Genetic Algorithm and Corresponding Sensor Network |
CN101383736A (en) * | 2008-10-15 | 2009-03-11 | 中国科学院上海微系统与信息技术研究所 | An Optimization Method for Node Layout in Wireless Sensor Networks Oriented to Regional Monitoring |
CN103606005A (en) * | 2013-09-24 | 2014-02-26 | 西安电子科技大学 | Conformal antenna array directional diagram comprehensive method based on invasive weed optimization |
CN104268077A (en) * | 2014-09-23 | 2015-01-07 | 湖州师范学院 | Chaos genetic algorithm based test case intensive simple algorithm |
CN107942312A (en) * | 2017-11-13 | 2018-04-20 | 浙江大学 | A kind of Intelligent radar sea target detection system and method based on differential evolution invasive weed optimization algorithm |
Non-Patent Citations (3)
Title |
---|
林春生等: "《现代海军兵器技术丛书 舰艇防控反导技术》", 31 December 2015 * |
熊伟丽等: "基于差分蜂群算法的无线传感器网络节点分布优化", 《控制工程》 * |
黄霞等: "一种混沌变异的入侵杂草优化算法及性能仿真", 《系统仿真学报》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109932644A (en) * | 2019-02-28 | 2019-06-25 | 天津大学 | Circuit breaker fault diagnosis method based on hybrid intelligent algorithm |
CN110113815A (en) * | 2019-04-02 | 2019-08-09 | 云南师范大学 | A kind of improved wireless sensor network locating method based on IWO |
CN110113815B (en) * | 2019-04-02 | 2021-10-08 | 云南师范大学 | An Improved Wireless Sensor Network Location Method Based on IWO |
CN110062389A (en) * | 2019-04-19 | 2019-07-26 | 江西理工大学 | Sensor network nodes Optimization deployment method based on improved differential evolution algorithm |
CN110062389B (en) * | 2019-04-19 | 2022-08-12 | 江西理工大学 | Optimal deployment method of sensor network nodes based on improved differential evolution algorithm |
CN113554510A (en) * | 2021-08-05 | 2021-10-26 | 百维金科(上海)信息科技有限公司 | Loan user default real-time monitoring system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108810914A (en) | Based on the WSN Node distribution optimization methods for improving weeds algorithm | |
CN111065103B (en) | A multi-objective optimized wireless sensor network node deployment method | |
CN103945395B (en) | The rapid Optimum dispositions method of a kind of wireless network sensor based on population | |
CN106792750B (en) | A Node Deployment Method Based on Guided Particle Swarm Optimization | |
CN107277830A (en) | A kind of wireless sensor network node dispositions method based on particle group optimizing and mutation operator | |
CN109862573B (en) | LTE hybrid networking self-planning method based on multi-target particle swarm | |
CN108366386A (en) | A method of using neural fusion wireless network fault detect | |
CN108055685A (en) | Cluster Head and Sensor Nodes in Wireless Sensor Networks | |
CN112039687A (en) | A fault diagnosis method based on improved generative adversarial network for small sample features | |
CN106650058A (en) | Improved artificial bee colony algorithm-based task scheduling method for cooperative electronic jamming | |
CN110062389B (en) | Optimal deployment method of sensor network nodes based on improved differential evolution algorithm | |
CN106162663B (en) | A kind of sensing node covering method based on improvement ant colony algorithm | |
Liu et al. | A node deployment optimization method of WSN based on ant-lion optimization algorithm | |
CN105246097A (en) | A Lifetime Optimization Method for Wireless Sensor Networks with Mobile Sink Nodes | |
CN107071844A (en) | A kind of opportunistic network routing method divided based on spectral clustering community | |
CN109299778A (en) | A Calculation Method of RCRSS Rescue Map Partition Based on Cuckoo Search Algorithm | |
CN107146411A (en) | Quantum Behavior Particle Swarm Optimization Method Based on Square Potential Well Model | |
CN110430579A (en) | The wireless aps disposition optimization method of non-homogeneous environment based on drosophila optimization | |
Rakavi et al. | Grid based mobile sensor node deployment for improving area coverage in Wireless Sensor Networks | |
Sett et al. | Effect of optimal cluster head placement in MANET through multi objective GA | |
Rana et al. | Mobile ad-hoc clustering using inclusive particle swarm optimization algorithm | |
CN110188861A (en) | A Web Service Composition Optimization Method Based on I-PGA Algorithm | |
CN114980007A (en) | Wireless sensor node deployment method, device, equipment and readable storage medium | |
CN112055322B (en) | Underwater wireless sensor network scheduling optimization method based on interval multi-target | |
Li | PSO based wireless sensor networks coverage optimization on DEMs |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181113 |
|
RJ01 | Rejection of invention patent application after publication |