针对目前的重编程算法大多关注减少传输数据量而极少考虑节点剩余能量,采用固定传输功率造成的能量浪费,文章提出基于动态传输功率的重编程能量均衡算法,该算法可根据能量利用率公式动态地选择最佳传输功率,降低了重编程消耗的总能量,同时设置广播节点能量阈值,避免个别节点过早死亡,维持整个网络的能量均衡性。仿真结果表明,节点数量为100时,该算法消耗的总能量比MNP算法降低32%左右,节点数量越多,降低的效果越明显。
In view of energy waste of most reprogramming algorithms using fixed transmission power, which focus on reducing transmission flux instead of residual energy of nodes, an energy-balanced al- gorithm for reprogramming based on dynamic transmission power is proposed. The total energy con- sumption of reprogramming is reduced by dynamically choosing the optimal transmission power based on the equation of energy efficiency. Meanwhile, the energy threshold of broadcast nodes is set to a- void premature death and maintain energy balance of the whole network. The simulation results show that the total energy consumption of reprogramming of this algorithm decreases by 32% compared with MNP algorithm when the number of nodes is 100. The effect is more obvious as the number of nodes increases.