Currently in the development process of all kinds of applications in Wireless Sensor Networks(WSN), use software to simulate the entire system has very important applications and scientific value,thus simulation software has considerable value in every aspect of the system applications and alsothe difficult hot point of Wireless Sensor Network research. This paper, based on Wireless SensorNetwork simulation, deep analysis and detailed study of PowerTOSSIM simulation environment toachieve a improved simulation software research and design, which contains a set of power modelimprovement, priority queue scheduling algorithms and scene structure features.First, through improved power model of the improved simulation software, we provides supportfor modeling of multi-type power-model to meet simulation needs of a variety of different node in thehierarchical Wireless Sensor Networks; then propose a priority-based FIFO queue schedulingalgorithm, improved the hardware interrupt event simulation of simulation software to a more realisticlevel; Finally, proposed the method of known scene structure, and achieved the simple scenesimulation needs, in order to achieve the overall improved simulation software.In the process of improving, analysis, design and implementation of the software, the simulationof Wireless Sensor Networks and the shortage of PowerTOSSIM were detailed analyzed. A lot ofresearch and testing work in the software simulation of Wireless Sensor Networks was done;improved power model, the design of the experimental acquisition power model and throughimproved application model to achieve heterogeneous nodes support; design a gifted FIFO queue,enhanced the corresponding of simulation kernel scheduling algorithm incidents; finally the scenestructure proposed method, simulation software and application environment fit, to enhance the valueof the software. Ultimately this paper completed the expected system analysis, design andimplementation based on, in order to improve the software to compare the functional testing beforeand after the two, scene structure as the basis for the simulation experiments, the expected effect, toprove the practical value of simulation software. |