Presentation is loading. Please wait.

Presentation is loading. Please wait.

Accurate Emulation of Wireless Sensor Networks Hejun Wu Joint work with Qiong Luo, Pei Zheng*, Bingsheng He, and Lionel M. Ni Department of Computer Science.

Similar presentations


Presentation on theme: "Accurate Emulation of Wireless Sensor Networks Hejun Wu Joint work with Qiong Luo, Pei Zheng*, Bingsheng He, and Lionel M. Ni Department of Computer Science."— Presentation transcript:

1 Accurate Emulation of Wireless Sensor Networks Hejun Wu Joint work with Qiong Luo, Pei Zheng*, Bingsheng He, and Lionel M. Ni Department of Computer Science The Hong Kong University of Science & Technology, China *Arcadia University, USA

2 Proxy Sink User Client Sensor mote Wireless Sensor Networks (WSNs)

3 Proxy Sink User Client Sensor mote Wireless Sensor Networks (WSN) Query

4 Sensor mote Proxy Sink User Client Wireless Sensor Networks (WSN) Query Result

5 Motivation of VMNet ► Substitute for sensor nodes in research  Easy to handle  Low price ► A realistic & controllable environment  Debugging  Testing  Evaluating Performance ► Parameter setting and validation for  Simulation  Modeling Applications Network protocols OS Drivers

6 VMNet architecture

7 Components in a VM Virtual mote Real mote binary code Virtual sensor board Virtual radio frequency module Virtual UART( In Virtual Sink) Virtual CPU EM (Emulation Manager) Virtual main board Virtual socket Virtual clock

8 Virtual Radio Channel Delay Module Bit error Module To VRFM Collision Module Bits From VRFM Control messages To/From Network Manager (NM) UDP packet from other VMs via LAN UDP packet to other VMs via LAN Collision signal to VRFM Queue

9 Key Features of VMNet ► Open architecture  Easy to transform to other WSN hardware emulation ► Detailed emulation  CPU instructions  Operations of the components ► CPU, Sensor and Radio ► Accurate running status logs  Accurate time emulation ► Granularity: microsecond level  power consumption evaluation

10 Open architecture design ► Conflict between generality & accuracy  Generality is desirable ► Ability to emulate various WSNs  Accuracy ► Close to the specified target WSN ► Highly modularized structure of a VM  Ensures the reusability ► Virtual socket in a VM  Uniform interface between modules

11 Virtual mote Real mote binary code Virtual sensor board Virtual radio frequency module Virtual UART( In Virtual Sink) Virtual CPU EM (Emulation Manager) Virtual main board Virtual socket Virtual clock Highly modularized structure

12 Performance Evaluation on Applications of WSNs ► Based on the fact that  Operation and time can be deduced by ► Instructions executed by the CPU in a sensor mote ► An instruction always takes constant time ► VMNet approach in performance evaluation  Logging and reporting ► Operations and time

13 Logging in VMNet ► The operations : ► VMNet logs  Running states ► the operations of each component (e.g. III)  CPU clocks ► describe the start time and end time CPUSensorRadio Compute (C) Compute (C) Acquire (A) Transmit (T) Idle (I) Receive(R) Hibernate (H) Power down (P) Control(C) Idle(I) Power down (p) Running states Time (In terms of CPU clock cycles) III1926031985 IIR1926032167 CIR1926034874 The operations of components A fraction of a VMNet log

14 Conclusion ► Detailed emulation  Useful for many areas in a WSN ► Architecture, OS, and sensor network query processing.  Provides ► parameter and validation for simulation & modeling ► Performance evaluation  Especially valuable for query processing ► Query Optimization:  choose a query plan with minimum energy and time cost ► Query processor benchmark study

15 Future Work ► Power consumption evaluation ► Work in progress  Scalability  Mobile WSN emulation  Graphical Interface for VMNet ► In the near future  Use multiple PCs to emulate a WSN


Download ppt "Accurate Emulation of Wireless Sensor Networks Hejun Wu Joint work with Qiong Luo, Pei Zheng*, Bingsheng He, and Lionel M. Ni Department of Computer Science."

Similar presentations


Ads by Google