CN106454858B - A Method to Solve the Hot Zone Problem Existing in Multi-Hop Sensor Networks - Google Patents
A Method to Solve the Hot Zone Problem Existing in Multi-Hop Sensor Networks Download PDFInfo
- Publication number
- CN106454858B CN106454858B CN201610581562.9A CN201610581562A CN106454858B CN 106454858 B CN106454858 B CN 106454858B CN 201610581562 A CN201610581562 A CN 201610581562A CN 106454858 B CN106454858 B CN 106454858B
- Authority
- CN
- China
- Prior art keywords
- node
- energy
- coverage
- nodes
- area
- 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.)
- Expired - Fee Related
Links
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/04—Transmission power control [TPC]
- H04W52/30—Transmission power control [TPC] using constraints in the total amount of available transmission power
- H04W52/34—TPC management, i.e. sharing limited amount of power among users or channels or data types, e.g. cell loading
- H04W52/346—TPC management, i.e. sharing limited amount of power among users or channels or data types, e.g. cell loading distributing total power among users or channels
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
Description
技术领域technical field
本发明涉及无线传感器领域,特别涉及一种解决在多跳传感器网络中存在的热区问题的方法。The invention relates to the field of wireless sensors, in particular to a method for solving the problem of hot spots in multi-hop sensor networks.
背景技术Background technique
在无线传感器网络中,节点的电量通常受限很难得到补充,通讯距离不够,在庞大的节点网络中通常采用多跳的策略来把信息发送至汇聚节点,但这一策略的不足之处是离汇聚节点较近的节点不仅要发送自己的数据,而且还有作为远离汇聚节点的节点的信息路由中转节点,承担更大量的信息发送任务,则汇聚节点附近的节点比其他节点消耗能量消耗得更快,长此以往,汇聚节点附近的节点一旦比其他节点更早地失效后,网络就有大片区域无法得到监测,其他节点的信息也难以发送至汇聚节点。这种网络能耗不平衡的情况称之为热区问题。In wireless sensor networks, the power of nodes is usually limited and difficult to replenish, and the communication distance is not enough. In a huge node network, a multi-hop strategy is usually used to send information to the sink node, but the disadvantage of this strategy is Nodes closer to the sink node not only have to send their own data, but also serve as information routing transit nodes for nodes far away from the sink node, which undertake a larger amount of information sending tasks, and the nodes near the sink node consume more energy than other nodes. Faster, if things go on like this, once the nodes near the sink node fail earlier than other nodes, there will be a large area of the network that cannot be monitored, and the information of other nodes will be difficult to send to the sink node. This unbalanced network energy consumption is called the hot zone problem.
如图1,下面对热区问题进行分析与建模:设区域内节点密度为p,每一个环代表外侧一环的下一跳区域,设共有M个环,每个节点的数据产生速度相同为b,i为环序数,则环i的负载可以理解成所以数据流量与环i中节点个数的比值,则As shown in Figure 1, the following is the analysis and modeling of the hot area problem: Let the node density in the area be p, each ring represents the next hop area of the outer ring, and there are M rings in total, and the data generation speed of each node The same is b, i is the ring number, then the load of ring i can be understood as the ratio of the data flow to the number of nodes in ring i, then
环i要承担的数据流量转发量为The amount of data traffic forwarding to be undertaken by ring i is
ringfu=p*((2*M*r)2-π*(i*r)2)*bring fu =p*((2*M*r) 2 -π*(i*r) 2 )*b
环i中节点的总数为The total number of nodes in ring i is
rings=p*(π*((i+1)*r)2-π*(i*r)2)ring s = p*(π*((i+1)*r) 2 -π*(i*r) 2 )
环i的负载为The load on ring i is
可以看出i越小,Load就越大,则可以表明在多跳的无线传感器网络中越靠近汇聚节点的节点负载越大。It can be seen that the smaller i is, the larger the Load is, which can indicate that the closer to the sink node in the multi-hop wireless sensor network, the greater the load of the node.
热区问题实质上是能量分布不均匀问题,在理论上可作出如下策略:让环的宽度不同,但节点密度均匀。让各圆环的宽度随与基站的距离增大而减小,而且每一环内的节点都可以作为外围一环的节点的下一跳节点,则环内有更多的节点来承担路由中转,达到汇聚节点附近的能量更大的目的。但在实际操作上,该策略的节点密度均匀,只是通过在图纸中划大大圆环区域来增加汇聚节点附近的能量,并不现实。The hot zone problem is essentially a problem of uneven energy distribution. In theory, the following strategy can be made: let the width of the ring be different, but the node density be uniform. Let the width of each ring decrease as the distance from the base station increases, and the nodes in each ring can be used as the next hop node of the nodes in the outer ring, so there are more nodes in the ring to undertake routing transfer , to achieve the purpose of greater energy near the sink node. But in actual operation, the node density of this strategy is uniform, and it is not realistic to increase the energy near the converging node by drawing a large circular area in the drawing.
在多跳的无线传感器网络中通过拓扑设计来缓解热区问题是非常必要的,也有过很多关于这方面的研究,如文献[1]中提出的一种节点初始能量分布不均匀的策略和文献[2]中提出的一种以距离来确定节点分布数量的函数关系式,但都存在现实中难操作的缺点。It is very necessary to alleviate the hot spot problem through topology design in a multi-hop wireless sensor network, and there have been many studies on this aspect, such as a strategy for the uneven initial energy distribution of nodes proposed in literature [1] and literature [1]. [2] proposes a functional relational formula that uses distance to determine the number of node distributions, but both have the disadvantage of being difficult to operate in reality.
文献[1]为:W.R.Heinzelman,A.Chandrakasan,H.Balakrishnan.Energy-efficient communication protocol for wireless micro-sensor networks[C].InProc.of the 33rd Annual Hawaii International Conference on System Sciences,January 2000.The literature [1] is: W.R.Heinzelman, A.Chandrakasan, H.Balakrishnan. Energy-efficient communication protocol for wireless micro-sensor networks[C].InProc.of the 33rd Annual Hawaii International Conference on System Sciences,January 2000.
文献[2]为:Lian J,Naik K,Agnew G.Date Capacity Improvement of Wire-less Sensor Networks Using Non-Uniform Sensor Distribution[J].inter-nationalJournal of Distributed Sentor Networks,2006,2(2):121-1。The literature [2] is: Lian J, Naik K, Agnew G.Date Capacity Improvement of Wireless Sensor Networks Using Non-Uniform Sensor Distribution[J].inter-nationalJournal of Distributed Sentor Networks,2006,2(2):121 -1.
文献为[3]:陆克中,刘应玲.一种线型无线传感器网络的节点布置方案[J].计算机应用,2007,27(7):1566-1568The literature is [3]: Lu Kezhong, Liu Yingling. A node layout scheme for linear wireless sensor networks [J]. Computer Applications, 2007,27(7):1566-1568
发明内容Contents of the invention
本发明的目的在于克服现有技术的缺点与不足,提供一种基于节点线型拓扑的自适应采集率的数据收集方法。The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art, and provide a data collection method based on the adaptive collection rate of the node linear topology.
本发明的目的通过以下的技术方案实现:The purpose of the present invention is achieved through the following technical solutions:
一种解决在多跳传感器网络中存在的热区问题的方法,包括以下步骤:A method for solving the hot zone problem existing in a multi-hop sensor network, comprising the following steps:
S1、采用节点不均匀布置的拓扑策略模型,节点数量以等差数列的形式来分布;S1. A topological strategy model with uneven distribution of nodes is adopted, and the number of nodes is distributed in the form of an arithmetic sequence;
S2、控制区域数据产生速率:通过每一轮对节点剩余能量的采集,通过SINK就算出各区域能耗的数学期望和标准差,再判断是否触发控制命令;S2. Data generation rate in the control area: Through the collection of the remaining energy of the nodes in each round, calculate the mathematical expectation and standard deviation of energy consumption in each area through SINK, and then judge whether to trigger the control command;
S3、通过设置节点的分布形状满足要求的覆盖度。S3. Satisfy the required coverage by setting the distribution shape of the nodes.
步骤S1中,所述节点数量以等差数列的形式来分布,具体为:圆环内节点的密度随着与基站距离的增加而依次减少,依次减少满足等差数列。这样能达到汇聚节点附近的能量更大的目的,有更多的能量来承担能量中转的任务。In step S1, the number of nodes is distributed in the form of an arithmetic sequence, specifically: the density of the nodes in the ring decreases sequentially with the increase of the distance from the base station, and the sequential decrease satisfies the arithmetic sequence. In this way, the purpose of greater energy near the sink node can be achieved, and more energy can be used to undertake the task of energy transfer.
所述步骤S1,具体为:The step S1 is specifically:
S101、划分网络:把线型网络等分成n个区域,记每个区域编号为ai,设每个区域长度都为L,每个区域面积均为S,区域ai内节点密度为ρi;其中1≤i≤n;S101. Divide the network: Divide the linear network into n regions, mark each region as a i , set the length of each region as L, the area of each region as S, and the node density in region a i as ρ i ; where 1≤i≤n;
S102、计算区域ai的总能耗:S102. Calculate the total energy consumption of the area a i :
记区域内每个节点的电量e,并假定区域内的数据产生速率相同,每轮为M;在传感器发送模块的消耗能量公式中可以看出,数据发送距离对能耗影响非常大,而式中距离的次数2,4的取值具体也是与实际环境密切相关的,如果在室外传输条件好的情况下,通常都能取到2,在传输环境较差的地方例如室内或者隧道只能取4,而本来研究的是具体适用于桥梁的线性网络拓扑,桥梁属于室外传输条件较好的环境,所以本技术方案取2。Record the power e of each node in the area, and assume that the data generation rate in the area is the same, and each round is M; it can be seen from the energy consumption formula of the sensor sending module that the data sending distance has a great impact on energy consumption, and the formula The values of 2 and 4 for the middle distance are also closely related to the actual environment. If the outdoor transmission conditions are good, it can usually be taken as 2. In places with poor transmission environments such as indoors or tunnels, it can only be taken as 4. However, the original research is on the linear network topology applicable to bridges, and bridges belong to the environment with good outdoor transmission conditions, so this technical solution takes 2.
由于每个区域的数据产生速率相同,与节点数量无关,则每轮每个区域接收和发送的数据量为n*M;Since the data generation rate of each area is the same and has nothing to do with the number of nodes, the amount of data received and sent by each area in each round is n*M;
从宏观上看,区域an需要转发本区域采集以及外围区域产生的所有数据,在接收上由于是采用分簇的拓扑,数据接收量也可以近似地认为也是认为是接收本区域以及外围区域产生的数据,数据传输距离假定为区域与区域间的中心距离L;则对区域ai:From a macro point of view, the area a n needs to forward all the data collected in the area and generated in the peripheral area. Since the topology of the cluster is adopted in the reception, the amount of data received can also be regarded as receiving the data generated in the area and the peripheral area. data, the data transmission distance is assumed to be the center distance L between regions; then for region a i :
每轮接收的数据消耗能量ERx为The data consumption energy E Rx received in each round is
ERx=Eclec*n*M;E Rx =E clec *n*M;
其中Eclec为接收单位报文损耗能量;Where E clec is the energy consumed by receiving a unit message;
每轮发送数据消耗的能量ETx为The energy E Tx consumed by sending data in each round is
ETx=n*M*(Eelec+Eamp*L2);E Tx =n*M*(E elec +E amp *L 2 );
其中Eelec为发射单位报文损耗能量;Eamp为放大功率能量;Among them, E elec is the loss energy of the transmitted unit message; E amp is the amplification power energy;
每轮区域ai总耗能E为The total energy consumption E of area a i in each round is
E=ERx+ETx=n*M*(Eclec+Eelec+Eamp*L2);E=E Rx +E Tx =n*M*(E clec +E elec +E amp *L 2 );
S103、算出区域总能量和区域总能耗的比值K:S103, calculate the ratio K of the total energy of the area and the total energy consumption of the area:
要使网络整体的能量消耗均匀,则可以理解成每个节点每个区域的能量消耗达到平衡,而要使区域和每个节点的寿命接近,能耗达到平衡,即要使每个区域的节点总能量与每轮能量消耗量的比值保持一致,这样就能从网络的整体上达到各区域能耗的平衡,从而使得大体上各节点的能耗也达到平衡;To make the overall energy consumption of the network uniform, it can be understood that the energy consumption of each node and each area is balanced, and to make the life of the area and each node close, the energy consumption is balanced, that is, to make the nodes in each area The ratio of the total energy to the energy consumption of each round is consistent, so that the energy consumption of each region can be balanced from the overall network, so that the energy consumption of each node can also be balanced in general;
每个区域ai总能量为The total energy of each area a i is
ρi*S*eρ i *S*e
记区域ai总能量和区域ai每轮的总耗能比值为K:Record the ratio of the total energy of area a i to the total energy consumption of each round of area a i as K:
S104、用K里面的ρi表出节点总个数并求出ρi关于网络节点总数g的表达式,区域面积为S;则S104, use ρ i in K to show the total number of nodes and find the expression of ρ i with respect to the total number of network nodes g, the area is S; then
则网络节点总数为g为Then the total number of network nodes is g as
则but
化简:Simplification:
代入得substitute
因M、Eclec、Eelec、Eamp、L均为定值,则化简得Since M, E clec , E elec , E amp , and L are all fixed values, the simplification is
则区域ai的节点数量as为:Then the number of nodes a s in area a i is:
从该式看出离汇聚节点越近,区域ai的节点数量就越多,区域与区域之间的节点个数关系是呈等差数列关系。现有技术也提出了一些拓扑设计,但不尽完美,例如文献[2]中提出了一种节点初始能量不同的策略,但在现实中由于电池技术的限制和让节点的初始电量不相同的操作性难,这种做法并不现实。文献[3]也提出了一个可以使网络能量分布不均匀节点部署函数公式,但在实际上如果根据一个节点密度关于与汇聚节点距离的公式来布置,操作起来也是相当的困难,为了平衡能量消耗并且在现实中有一定的可操作性,本发明将网络划分成n个等分区域,区域节点密度随着与汇聚节点的距离增大而减小的节点不均匀布置的策略,这种策略在现实中可操作性强。It can be seen from this formula that the closer to the converging node, the more nodes in area a i , and the relationship between the number of nodes between areas is an arithmetic sequence relationship. The existing technology also proposes some topology designs, but they are not perfect. For example, a strategy with different initial energy of nodes is proposed in [2]. It is difficult to operate, and this approach is not realistic. Literature [3] also proposed a node deployment function formula that can make the network energy distribution uneven, but in fact, if it is arranged according to a formula of node density about the distance from the sink node, it is quite difficult to operate. In order to balance energy consumption And it has a certain operability in reality. The present invention divides the network into n equally divided areas, and the node density of the area decreases as the distance from the converging node increases. Strong operability in reality.
所述步骤S2,具体为:The step S2 is specifically:
设定一个区域内的节点集合成一簇,且成员经过n轮都不改变,即其他区域的节点无法成为本簇的成员;It is set that the nodes in an area are assembled into a cluster, and the members do not change after n rounds, that is, nodes in other areas cannot become members of this cluster;
由于簇头可以收集各个成员的能量信息,附带在传感数据一起,簇头就计算出能量分布情况,所有为了平衡簇头与簇头之间的通信能耗和区域内簇头与节点成员之间的通信能耗,本设计采用根据区域内节点能量剩余情况选举簇头的机制;Since the cluster head can collect the energy information of each member, together with the sensing data, the cluster head calculates the energy distribution, so in order to balance the communication energy consumption between the cluster heads and the cluster head and the node members in the area The energy consumption of the communication between the nodes, this design adopts the mechanism of electing the cluster head according to the remaining energy of the nodes in the area;
从第一轮开始人为地先设定每个区域的簇头,节点成员开始采集数据并与簇头通信的期间,把自身剩余的能量剩余信息一同发送至簇头节点,在轮换的前一刻,簇头根据成员的能量情况,把指定信息给剩余能量最大的成员节点,如果剩余能量最多的节点有不止一个,则在剩余能量的最大的这些成员中随机选出簇头,完成轮换。From the first round, the cluster head of each area is artificially set first. During the period when the node members start to collect data and communicate with the cluster head, they send their remaining energy remaining information to the cluster head node. At the moment before the rotation, According to the energy status of the members, the cluster head sends the designated information to the member node with the largest remaining energy. If there is more than one node with the most remaining energy, the cluster head is randomly selected from the members with the largest remaining energy to complete the rotation.
所述步骤S2,具体为:The step S2 is specifically:
每一轮簇头都可以把自身成员的能量剩余情况掌握到,簇头把信息发送至汇聚节点后,汇聚节点得到各区域整体的节点能量剩余情况后,算出各节点剩余能量ej和各区域平均剩余能量Ej,剩余能量平均值Eave,其中1≤j≤g,则Each round of the cluster head can grasp the remaining energy of its own members. After the cluster head sends the information to the sink node, the sink node obtains the remaining energy of the nodes in each area as a whole, and then calculates the remaining energy e j of each node and the The average remaining energy E j , the average value of remaining energy E ave , where 1≤j≤g, then
得出Eave后,汇聚节点通过计算各区域平均剩余能量Ej与Eave的标准差X和方差x,获知各区域剩余能量情况对Eave的偏离情况;After obtaining E ave , the sink node can know the deviation of the remaining energy of each region from E ave by calculating the standard deviation X and variance x of the average remaining energy E j and E ave in each region;
标准差X:Standard DeviationX:
方差x:Variance x:
通过预先设定阈值K,当K处于一个特定的水平时,汇聚节点就广播控制降低区域剩余节点能量低于平均值Eave并偏离得最大的区域的数据发生速率。By presetting the threshold K, when K is at a specific level, the sink node broadcasts and controls to reduce the data occurrence rate of the area where the energy of the remaining nodes in the area is lower than the average E ave and deviates the most.
由于节点能耗主要于通信距离有关,在此节点布置的策略下和簇头选举机制下路由路径的不确定性可以使网络能耗有一定的均衡性,但这种随机得来均衡性并不够好,尤其是远离汇聚节点较远的区域,节点分布的数量与离汇聚节点较近的区域的节点数量相差甚远,因此与下一跳簇头形成的路由路径的可能性相对离汇聚节点较近的区域的路由路径可能性数量差距也非常大,由于区域内节点的能量调整是通过选举剩余能量最大的节点作为簇头来调整的,这种路由路径数量上的差别使得远离汇聚节点区域的节点的能量相对来说有更小的可能性获得能耗较小的路由路劲,在多次工作轮换的情况下,远离汇聚节点的区域相对来说会有更大的可能性成为消耗能量最快的区域。为了缓解远离汇聚节点区域消耗能量的速度相对其他区域较快这个问题,本技术方案提出一种汇聚节点广播控制能耗过快的区域的数据产生速率的机制,能够进一步地平衡网络的能耗。Since the energy consumption of nodes is mainly related to the communication distance, the uncertainty of the routing path under the node arrangement strategy and the cluster head election mechanism can make the network energy consumption have a certain balance, but this random balance is not enough Well, especially in areas far away from the sink node, the number of nodes distributed is far from the number of nodes in the area closer to the sink node, so the possibility of routing paths formed with the next-hop cluster head is relatively far away from the sink node The difference in the number of possible routing paths in the near area is also very large. Since the energy adjustment of the nodes in the area is adjusted by electing the node with the largest remaining energy as the cluster head, this difference in the number of routing paths makes the area far away from the sink node The energy of the node is relatively less likely to obtain a routing path with less energy consumption. In the case of multiple work rotations, the area far away from the sink node is relatively more likely to become the most energy-consuming area. fast area. In order to alleviate the problem that energy consumption in areas far away from the sink node is faster than other areas, this technical solution proposes a mechanism for the sink node to broadcast and control the data generation rate of the area with excessive energy consumption, which can further balance the energy consumption of the network.
步骤S3,所述节点的分布形状,当节点设置在桥梁两侧时,节点的分布形状包括:对等腰三角形、对矩形。Step S3, the distribution shape of the nodes, when the nodes are set on both sides of the bridge, the distribution shape of the nodes includes: paired isosceles triangle, paired rectangle.
所述对等腰三角形,具体设置过程为:The specific setting process of the isosceles triangle is as follows:
节点O、A、B的感应半径为r,桥梁模型宽为h,J为其中的一个节点,等腰三角形的底OA等于d,假设r>h,要满足三角形OAB被无缝覆盖,且覆盖度至少为2,则需要线段长度满足OJ≥OA;在覆盖度至少为2的等腰三角形部署,必须满足:The induction radius of nodes O, A, and B is r, the width of the bridge model is h, J is one of the nodes, the base OA of the isosceles triangle is equal to d, assuming that r>h, the triangle OAB must be seamlessly covered, and the coverage degree is at least 2, the length of the line segment needs to satisfy OJ≥OA; in the deployment of an isosceles triangle with a coverage degree of at least 2, it must meet:
若需要满足覆盖度至少为3的无缝覆盖,则三角形OAB必须都在圆O、A、B的监测范围内,则必须满足:If it is necessary to meet the seamless coverage with a coverage of at least 3, the triangle OAB must all be within the monitoring range of the circles O, A, and B, and it must meet:
r≥d。r≥d.
所述对矩形,具体设置过程为:For the pair of rectangles, the specific setting process is:
节点A、B、C、D的感应半径为r,桥梁模型宽为h,等腰三角形的底AB=d,假设r>h,要达到矩形ABCD覆盖度至少2的无缝覆盖,E、F、G均为其中的一个节点,区域EFG只有被圆A覆盖的区域要被圆B或D覆盖,则需要AG+FB≥AB,即The induction radius of nodes A, B, C, and D is r, the width of the bridge model is h, the base of the isosceles triangle is AB=d, assuming that r>h, to achieve the seamless coverage of the rectangular ABCD coverage of at least 2, E, F , G are one of the nodes, and the area EFG only covers the area covered by circle A to be covered by circle B or D, then AG+FB≥AB is required, that is
同样要满足矩形ABCD覆盖度为至少3的无缝覆盖,则至少需要圆A与圆C的交点E对AC的垂直距离大于AB,即Similarly, to satisfy the seamless coverage of the rectangle ABCD coverage of at least 3, at least the vertical distance between the intersection point E of circle A and circle C to AC is greater than AB, that is
该式同时也是矩形ABCD覆盖度为至少4的无缝覆盖的满足条件。This formula is also a satisfying condition for the seamless coverage of the rectangular ABCD coverage of at least 4.
本发明与现有技术相比,具有如下优点和有益效果:Compared with the prior art, the present invention has the following advantages and beneficial effects:
本发明提出一种适用于现实桥梁的线型拓扑策略,该策略采用节点不均匀分布的策略来避免热区问题带来的网络能耗不均问题,通过数学计算计算出节点在特定区域分布的数量,策略在分簇机制上基于节点的剩余能量来选择簇头,并采用一种牺牲数据采集量来进一步平衡网络能耗的办法,在这些策略下,在仿真中得以证实其能耗平衡性,另外还对节点的分布形状进行效率研究,提高了节点的利用率。The present invention proposes a linear topology strategy suitable for real bridges. This strategy adopts the strategy of uneven distribution of nodes to avoid the problem of uneven network energy consumption caused by hot zone problems, and calculates the distribution of nodes in a specific area through mathematical calculations. Quantity, the strategy selects the cluster head based on the remaining energy of the node in the clustering mechanism, and adopts a method of sacrificing the amount of data collection to further balance the energy consumption of the network. Under these strategies, the energy balance is confirmed in the simulation In addition, the efficiency research on the distribution shape of the nodes is also carried out, which improves the utilization rate of the nodes.
附图说明Description of drawings
图1为热区问题建模示意图。Figure 1 is a schematic diagram of modeling the hot zone problem.
图2为本发明所述一种解决在多跳传感器网络中存在的热区问题的方法的流程图。FIG. 2 is a flow chart of a method for solving the hot spot problem existing in a multi-hop sensor network according to the present invention.
图3为图2所述方法的簇头选举流程图。FIG. 3 is a flow chart of cluster head election in the method shown in FIG. 2 .
图4为不均匀分布节点剩余能量的仿真图。Fig. 4 is a simulation diagram of unevenly distributed node residual energy.
图5为均匀分布节点剩余能量的仿真图。Fig. 5 is a simulation diagram of uniformly distributed residual energy of nodes.
图6为节点位置图。Figure 6 is a node location diagram.
图7为没有数据产生速率调整机制下的节点剩余能量的仿真图。FIG. 7 is a simulation diagram of the remaining energy of a node without a data generation rate adjustment mechanism.
图8为有数据产生速率调整机制下的方差走势的仿真图。FIG. 8 is a simulation diagram of the variance trend under the data generation rate adjustment mechanism.
图9为有数据产生速率调整机制下的节点剩余能量的仿真图。FIG. 9 is a simulation diagram of the remaining energy of a node under the data generation rate adjustment mechanism.
图10为覆盖度为2的矩形与等腰三角形效率比较图。Fig. 10 is a graph comparing the efficiency of a rectangle with a coverage of 2 and an isosceles triangle.
图11为覆盖度为3的矩形与等腰三角形效率比较图。Figure 11 is a comparison diagram of the efficiency of a rectangle with a coverage of 3 and an isosceles triangle.
具体实施方式Detailed ways
下面结合实施例及附图对本发明作进一步详细的描述,但本发明的实施方式不限于此。The present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings, but the embodiments of the present invention are not limited thereto.
如图2,一种解决在多跳传感器网络中存在的热区问题的方法,包括以下步骤:As shown in Figure 2, a method for solving the hot zone problem existing in a multi-hop sensor network includes the following steps:
S1、采用节点不均匀布置的拓扑策略模型,节点数量以等差数列的形式来分布;S1. A topological strategy model with uneven distribution of nodes is adopted, and the number of nodes is distributed in the form of an arithmetic sequence;
S2、控制区域数据产生速率:通过每一轮对节点剩余能量的采集,通过SINK就算出各区域能耗的数学期望和标准差,再判断是否触发控制命令;S2. Data generation rate in the control area: Through the collection of the remaining energy of the nodes in each round, calculate the mathematical expectation and standard deviation of energy consumption in each area through SINK, and then judge whether to trigger the control command;
S3、通过设置节点的分布形状满足要求的覆盖度。S3. Satisfy the required coverage by setting the distribution shape of the nodes.
步骤S1中,所述节点数量以等差数列的形式来分布,具体为:圆环内节点的密度随着与基站距离的增加而依次减少,依次减少满足等差数列。In step S1, the number of nodes is distributed in the form of an arithmetic sequence, specifically: the density of the nodes in the ring decreases sequentially with the increase of the distance from the base station, and the sequential decrease satisfies the arithmetic sequence.
所述步骤S1,具体为:The step S1 is specifically:
S101、划分网络:把线型网络等分成n个区域,记每个区域编号为ai,设每个区域长度都为L,每个区域面积均为S,区域ai内节点密度为ρi;其中1≤i≤n;S101. Divide the network: Divide the linear network into n regions, mark each region as a i , set the length of each region as L, the area of each region as S, and the node density in region a i as ρ i ; where 1≤i≤n;
S102、计算区域ai的总能耗:S102. Calculate the total energy consumption of the area a i :
记区域内每个节点的电量e,并假定区域内的数据产生速率相同,每轮为M;则每轮每个区域接收和发送的数据量为n*M;Record the power e of each node in the area, and assume that the data generation rate in the area is the same, and each round is M; then the amount of data received and sent by each area in each round is n*M;
数据传输距离假定为区域与区域间的中心距离L;则对区域ai:The data transmission distance is assumed to be the center distance L between regions; then for region a i :
每轮接收的数据消耗能量ERx为The data consumption energy E Rx received in each round is
ERx=Eclec*n*M;E Rx =E clec *n*M;
其中Eclec为接收单位报文损耗能量;Where E clec is the energy consumed by receiving a unit message;
每轮发送数据消耗的能量ETx为The energy E Tx consumed by sending data in each round is
ETx=n*M*(Eelec+Eamp*L2);E Tx =n*M*(E elec +E amp *L 2 );
其中Eelec为发射单位报文损耗能量;Eamp为放大功率能量;Among them, E elec is the loss energy of the transmitted unit message; E amp is the amplification power energy;
每轮区域ai总耗能E为The total energy consumption E of area a i in each round is
E=ERx+ETx=n*M*(Eclec+Eelec+Eamp*L2);E=E Rx +E Tx =n*M*(E clec +E elec +E amp *L 2 );
S103、算出区域总能量和区域总能耗的比值K:S103, calculate the ratio K of the total energy of the area and the total energy consumption of the area:
每个区域ai总能量为The total energy of each area a i is
ρi*S*eρ i *S*e
记区域ai总能量和区域ai每轮的总耗能比值为K:Record the ratio of the total energy of area a i to the total energy consumption of each round of area a i as K:
S104、用K里面的ρi表出节点总个数并求出ρi关于网络节点总数g的表达式,区域面积为S;则S104, use ρ i in K to show the total number of nodes and find the expression of ρ i with respect to the total number of network nodes g, the area is S; then
则网络节点总数为g为Then the total number of network nodes is g as
则but
化简:Simplification:
代入得substitute
因M、Eclec、Eelec、Eamp、L均为定值,则化简得Since M, E clec , E elec , E amp , and L are all fixed values, the simplification is
则区域ai的节点数量as为:Then the number of nodes a s in area a i is:
从该式看出离汇聚节点越近,区域ai的节点数量就越多,区域与区域之间的节点个数关系是呈等差数列关系。It can be seen from this formula that the closer to the converging node, the more nodes in area a i , and the relationship between the number of nodes between areas is an arithmetic sequence relationship.
所述步骤S2,具体为:The step S2 is specifically:
簇头把信息发送至汇聚节点后,汇聚节点得到各区域整体的节点能量剩余情况后,算出各节点剩余能量ej和各区域平均剩余能量Ej,剩余能量平均值Eave,其中1≤j≤g,则After the cluster head sends the information to the sink node, the sink node obtains the remaining energy of the nodes in each region as a whole, and then calculates the remaining energy e j of each node and the average remaining energy E j of each region, and the average value of remaining energy E ave , where 1≤j ≤g, then
得出Eave后,汇聚节点通过计算各区域平均剩余能量Ej与Eave的标准差X和方差x,获知各区域剩余能量情况对Eave的偏离情况;After obtaining E ave , the sink node can know the deviation of the remaining energy of each region from E ave by calculating the standard deviation X and variance x of the average remaining energy E j and E ave in each region;
标准差X:Standard DeviationX:
方差x:Variance x:
通过预先设定阈值K,当K处于一个特定的水平时,汇聚节点就广播控制降低区域剩余节点能量低于平均值Eave并偏离得最大的区域的数据发生速率。By presetting the threshold K, when K is at a specific level, the sink node broadcasts and controls to reduce the data occurrence rate of the area where the energy of the remaining nodes in the area is lower than the average E ave and deviates the most.
如图3,所述步骤S2,具体为:As shown in Figure 3, the step S2 is specifically:
设定一个区域内的节点集合成一簇,且成员经过n轮都不改变,即其他区域的节点无法成为本簇的成员;It is set that the nodes in an area are assembled into a cluster, and the members do not change after n rounds, that is, nodes in other areas cannot become members of this cluster;
由于簇头可以收集各个成员的能量信息,附带在传感数据一起,簇头计算出能量分布情况;Since the cluster head can collect the energy information of each member, along with the sensing data, the cluster head calculates the energy distribution;
从第一轮开始设定每个区域的簇头,节点成员开始采集数据并与簇头通信的期间,把自身剩余的能量剩余信息一同发送至簇头节点,在轮换的前一刻,簇头根据成员的能量情况,把指定信息给剩余能量最大的成员节点,如果剩余能量最多的节点有不止一个,则在剩余能量的最大的这些成员中随机选出簇头,完成轮换。From the first round, the cluster head of each area is set. During the period when the node members start to collect data and communicate with the cluster head, they send their remaining energy and remaining information to the cluster head node. At the moment before the rotation, the cluster head according to For the energy status of the members, the specified information is given to the member node with the largest remaining energy. If there is more than one node with the largest remaining energy, the cluster head is randomly selected from these members with the largest remaining energy to complete the rotation.
步骤S3,所述节点的分布形状,当节点设置在桥梁两侧时,节点的分布形状包括:对等腰三角形、对矩形。Step S3, the distribution shape of the nodes, when the nodes are set on both sides of the bridge, the distribution shape of the nodes includes: paired isosceles triangle, paired rectangle.
所述对等腰三角形,具体设置过程为:The specific setting process of the isosceles triangle is as follows:
节点O、A、B的感应半径为r,桥梁模型宽为h,J为其中的一个节点,等腰三角形的底OA等于d,假设r>h,要满足三角形OAB被无缝覆盖,且覆盖度至少为2,则需要线段长度满足OJ≥OA;在覆盖度至少为2的等腰三角形部署,必须满足:The induction radius of nodes O, A, and B is r, the width of the bridge model is h, J is one of the nodes, the base OA of the isosceles triangle is equal to d, assuming that r>h, the triangle OAB must be seamlessly covered, and the coverage degree is at least 2, the length of the line segment needs to satisfy OJ≥OA; in the deployment of an isosceles triangle with a coverage degree of at least 2, it must meet:
若需要满足覆盖度至少为3的无缝覆盖,则三角形OAB必须都在圆O、A、B的监测范围内,则必须满足:If it is necessary to meet the seamless coverage with a coverage of at least 3, the triangle OAB must all be within the monitoring range of the circles O, A, and B, and it must meet:
r≥d。r≥d.
所述对矩形,具体设置过程为:For the pair of rectangles, the specific setting process is:
节点A、B、C、D的感应半径为r,桥梁模型宽为h,等腰三角形的底AB=d,假设r>h,要达到矩形ABCD覆盖度至少2的无缝覆盖,E、F、G均为其中的一个节点,区域EFG只有被圆A覆盖的区域要被圆B或D覆盖,则需要AG+FB≥AB,即The induction radius of nodes A, B, C, and D is r, the width of the bridge model is h, the base of the isosceles triangle is AB=d, assuming that r>h, to achieve the seamless coverage of the rectangular ABCD coverage of at least 2, E, F , G are one of the nodes, and the area EFG only covers the area covered by circle A to be covered by circle B or D, then AG+FB≥AB is required, that is
同样要满足矩形ABCD覆盖度为至少3的无缝覆盖,则至少需要圆A与圆C的交点E对AC的垂直距离大于AB,即Similarly, to satisfy the seamless coverage of the rectangle ABCD coverage of at least 3, at least the vertical distance between the intersection point E of circle A and circle C to AC is greater than AB, that is
该式同时也是矩形ABCD覆盖度为至少4的无缝覆盖的满足条件。This formula is also a satisfying condition for the seamless coverage of the rectangular ABCD coverage of at least 4.
为了验证上述的节点分布策略及控制数据产生速率控制机制是否能真正达到能耗平衡和节点部署形状的效率,本小节采用Matlab进行编程仿真验证,并对结果进行分析。In order to verify whether the above node distribution strategy and control data generation rate control mechanism can really achieve energy balance and node deployment shape efficiency, this section uses Matlab for programming simulation verification and analyzes the results.
一、节点不均匀部署与均匀部署的能耗比较1. Comparison of energy consumption between uneven deployment and uniform deployment of nodes
参数设置parameter settings
表1参数设置Table 1 parameter settings
仿真结果如图4、5。Simulation results are shown in Figures 4 and 5.
实验结果表明,在上述参数的设定下,在节点不均匀分的策略中,在第549轮出现第一个节点死亡,节点剩余总能量为0.91,占初始总能量的3.3%,而节点均匀分布在第121轮出现第一个节点死亡,节点剩余总能量为13.50,占初始总能量的49.09%。从这结果可以看出,节点不均匀分布的策略确实可以提高网络能耗的均匀型,提高网络寿命。The experimental results show that, under the setting of the above parameters, in the strategy of uneven distribution of nodes, the first node dies in the 549th round, and the remaining total energy of the node is 0.91, accounting for 3.3% of the initial total energy, while the node is uniform Distribution The first node died in the 121st round, and the remaining total energy of the node was 13.50, accounting for 49.09% of the initial total energy. From this result, it can be seen that the strategy of uneven distribution of nodes can indeed improve the uniformity of network energy consumption and improve the life of the network.
二、数据产生速率调整机制的效果2. The effect of data generation rate adjustment mechanism
表2参数设置Table 2 parameter setting
实验结果见图6、7、8、9。The experimental results are shown in Figures 6, 7, 8, and 9.
实验结果分析:Analysis of results:
由于节点随机分布,采用两个机制各3次实验取平均,得出有数据产生速率调整机制的平均总剩余能量为5.35,第一个节点死亡轮数为1049,而没有数据产生速率调整机制的平均总剩余能量为9.38,第一个节点死亡轮数平均为933。实验结果表明有数据产生速率调整机制确实能一定程度上进一步延长网络的寿命。Due to the random distribution of nodes, the two mechanisms are used to take the average of 3 experiments, and the average total remaining energy with the data generation rate adjustment mechanism is 5.35, and the number of death rounds of the first node is 1049, while that without the data generation rate adjustment mechanism The average total remaining energy is 9.38, and the average number of death rounds for the first node is 933. The experimental results show that the data generation rate adjustment mechanism can indeed further extend the life of the network to a certain extent.
三、节点布置形状的效率比较3. Efficiency comparison of node layout shapes
表3参数设置Table 3 parameter setting
实验结果见图10、11。实验结果表明在覆盖度至少为2的要求下,矩形分布要比等腰三角形分布效率要高,而在覆盖度至少为3的要求下,等腰三角形分布要比矩形分布效率高。The experimental results are shown in Figures 10 and 11. The experimental results show that the rectangular distribution is more efficient than the isosceles triangular distribution when the coverage is at least 2, and the isosceles triangular distribution is more efficient than the rectangular distribution when the coverage is at least 3.
根据以上的分析,如果按1000m*8m的桥梁分为10个区域,每个区域长度为100m,那么远离SINK第一个区域可以采用5个节点来达到覆盖度为1的网络,当第一个区域布置5个节点,根据之前的工作就意味着第二个区域放10个节点,第三个区域放,15个节点,以此类推那么从第三个区域开始就是按覆盖度为2,最高效率的矩形布置。从第五个区域开始就是按覆盖度为3,最高效率的等腰三角形布置。从第七个区域开始就是按覆盖度为4,最高效率的矩形布置。从而达到不浪费节点功能,提高监测精确度的目的。According to the above analysis, if the bridge of 1000m*8m is divided into 10 areas, and the length of each area is 100m, then the first area away from SINK can use 5 nodes to achieve a network with a coverage of 1. When the first Arrange 5 nodes in the area. According to the previous work, it means that 10 nodes are placed in the second area, and 15 nodes are placed in the third area. By analogy, starting from the third area, the coverage is 2, the highest Efficient rectangular arrangement. Starting from the fifth area, it is arranged in an isosceles triangle with a coverage of 3 and the highest efficiency. Starting from the seventh area, the coverage is 4 and the most efficient rectangle is arranged. So as to achieve the purpose of not wasting node functions and improving monitoring accuracy.
上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受上述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。The above-mentioned embodiment is a preferred embodiment of the present invention, but the embodiment of the present invention is not limited by the above-mentioned embodiment, and any other changes, modifications, substitutions, combinations, Simplifications should be equivalent replacement methods, and all are included in the protection scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610581562.9A CN106454858B (en) | 2016-07-21 | 2016-07-21 | A Method to Solve the Hot Zone Problem Existing in Multi-Hop Sensor Networks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610581562.9A CN106454858B (en) | 2016-07-21 | 2016-07-21 | A Method to Solve the Hot Zone Problem Existing in Multi-Hop Sensor Networks |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106454858A CN106454858A (en) | 2017-02-22 |
CN106454858B true CN106454858B (en) | 2019-10-22 |
Family
ID=58184227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610581562.9A Expired - Fee Related CN106454858B (en) | 2016-07-21 | 2016-07-21 | A Method to Solve the Hot Zone Problem Existing in Multi-Hop Sensor Networks |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106454858B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108650696A (en) * | 2018-05-03 | 2018-10-12 | 南京邮电大学 | A kind of wireless sense network cluster head selection method of high energy efficiency |
CN109041159B (en) * | 2018-08-04 | 2021-04-02 | 浙江农林大学 | A Method to Overcome Energy Imbalance in Wireless Sensor Networks |
CN115315030A (en) * | 2022-08-08 | 2022-11-08 | 国网智能电网研究院有限公司 | Wireless sensor network and deployment method based on cluster head energy differentiation |
CN116261149B (en) * | 2023-02-12 | 2025-05-30 | 长沙理工大学 | A method and system for deploying sensor nodes in a wireless sensor network |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101394321A (en) * | 2008-09-25 | 2009-03-25 | 重庆邮电大学 | Non-uniform Clustering Method for Clustered Wireless Sensor Networks Based on "Energy Balance" |
CN101883385A (en) * | 2010-04-12 | 2010-11-10 | 北京航空航天大学 | A Proactive Predictive Method for Reliable Data Transmission in Wireless Sensor Networks |
CN104394571A (en) * | 2014-12-10 | 2015-03-04 | 河海大学常州校区 | Topology control method of wireless sensor network used for monitoring water quality of inland river |
CN104883301A (en) * | 2015-06-03 | 2015-09-02 | 中国矿业大学 | Wireless sensor network clustering routing protocol based on residual energy and communication cost |
-
2016
- 2016-07-21 CN CN201610581562.9A patent/CN106454858B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101394321A (en) * | 2008-09-25 | 2009-03-25 | 重庆邮电大学 | Non-uniform Clustering Method for Clustered Wireless Sensor Networks Based on "Energy Balance" |
CN101883385A (en) * | 2010-04-12 | 2010-11-10 | 北京航空航天大学 | A Proactive Predictive Method for Reliable Data Transmission in Wireless Sensor Networks |
CN104394571A (en) * | 2014-12-10 | 2015-03-04 | 河海大学常州校区 | Topology control method of wireless sensor network used for monitoring water quality of inland river |
CN104883301A (en) * | 2015-06-03 | 2015-09-02 | 中国矿业大学 | Wireless sensor network clustering routing protocol based on residual energy and communication cost |
Non-Patent Citations (2)
Title |
---|
"一种线型无线传感器网络的节点布置方案";陆克中等;《计算机应用》;20070701;第27卷(第7期);1566-1568 * |
"基于节点负载均衡的分布式光伏发电无线安全监控网络研究";陈孟元;《电子测量与仪器学报》;20160115;第30卷(第1期);92-100 * |
Also Published As
Publication number | Publication date |
---|---|
CN106454858A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104301864B (en) | The method for wireless communication networking of electric automobile charging pile cluster | |
CN106900025B (en) | A Clustering Routing Method for Wireless Sensor Networks Based on Dual Cluster Heads | |
CN106454858B (en) | A Method to Solve the Hot Zone Problem Existing in Multi-Hop Sensor Networks | |
CN103916942B (en) | LEACH protocol improvement method capable of lowering energy consumption | |
CN104734372B (en) | Energy adaptive charging method combined with geographical location routing in WRSNs | |
CN102497679B (en) | A Static Clustering Algorithm for Wireless Sensor Networks | |
CN104301965B (en) | A kind of wireless sensor network Uneven Cluster node scheduling method | |
CN107580355A (en) | The location-based uniformly sub-clustering hierarchical routing algorithm of wireless sensor network | |
CN104219704B (en) | Monitoring poisonous gas and method for tracing based on double layer grid model in wireless sensor network | |
CN104486715A (en) | Mobile sensor network clustering method based on geographical position information | |
CN105898764B (en) | Wireless sensor network deployment method with multi-level energy heterogeneity | |
CN104469879B (en) | A kind of dynamic k value cluster routing methods | |
CN103347288B (en) | A kind of wireless sensor network does not wait width hierarchical routing protocol method | |
CN102300281A (en) | A routing method for bridge status monitoring based on wireless sensor network | |
CN105554835B (en) | Toxic gas tracking method based on virtual node walk in wireless sensor network | |
CN102685916B (en) | Two-stage node scheduling method for wireless sensor network | |
CN104853396A (en) | Chain wireless sensor network oriented clustering routing system and methods thereof | |
CN105676820B (en) | City garden layered distribution type temperature control workload demand response control strategy | |
CN104065574A (en) | A non-uniform clustering routing method in wireless sensor network layer | |
CN103281741B (en) | A kind of wireless sensor network clustering routing divided based on hexagonal area | |
CN102595594B (en) | Wireless sensor network node positioning method based on node distribution density | |
CN103327592B (en) | A kind of wireless sensor network Poewr control method based on the node number of degrees | |
TW201410056A (en) | Method and system for hierarchical clustering of wireless sensor networks | |
CN104883725B (en) | Network energy-saving method based on website actual loading in a kind of long-term evolving network | |
CN104469910B (en) | A kind of method for reducing base station energy consumption |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191022 |