Adding value to WSN simulation through formal modelling and analysis

Reliable verification and validation techniques are essential to the development of wireless sensor networks (WSNs) in safety-critical domains. This paper proposes a hybrid verification and validation approach integrating formal methods and simulation to increase the quality of WSN development. Simulation, like model checking, can demonstrate the presence of faults but not guarantee their absence. Some classes of faults such as safety property breaches and certain liveness breaches can be proved absent by the use of formal models and theorem provers. Our case study work which combines simulation with formal modelling and verification in Event-B demonstrates this in an environmental application from the SensorScope project. MintRoute, together with S-MAC protocol, is simulated with connectivity failure scenarios using the MiXiM simulation tool. The work indicates the iterative interworking between the formal and simulation methods that we seek.

[1]  Cinzia Bernardeschi,et al.  Early Prototyping of Wireless Sensor Network Algorithms in PVS , 2008, SAFECOMP.

[2]  David E. Culler,et al.  Taming the underlying challenges of reliable multihop routing in sensor networks , 2003, SenSys '03.

[3]  Rachel Cardell-Oliver,et al.  Formal specification and analysis of performance variation in sensor network diffusion protocols , 2004, MSWiM '04.

[4]  Deborah Estrin,et al.  An energy-efficient MAC protocol for wireless sensor networks , 2002, Proceedings.Twenty-First Annual Joint Conference of the IEEE Computer and Communications Societies.

[5]  François Ingelrest,et al.  SensorScope: Out-of-the-Box Environmental Monitoring , 2008, 2008 International Conference on Information Processing in Sensor Networks (ipsn 2008).

[6]  Jan Beutel,et al.  Deployment Techniques for Sensor Networks , 2010 .

[7]  Dominique Cansell,et al.  Time Constraint Patterns for Event B Development , 2007, B.

[8]  Peter Csaba Ölveczky,et al.  Formal Modeling and Analysis of the OGDC Wireless Sensor Network Algorithm in Real-Time Maude , 2007, FMOODS.

[9]  Dominique Méry,et al.  Analysis of DSR Protocol in Event-B , 2011, SSS.

[10]  Jean-Raymond Abrial,et al.  Formal Methods: Theory Becoming Practice , 2007, J. Univers. Comput. Sci..

[11]  Ahmed Bouridane,et al.  Formal modelling of a robust Wireless Sensor Network routing protocol , 2010, 2010 NASA/ESA Conference on Adaptive Hardware and Systems.

[12]  Michael J. Butler,et al.  Modelling and Proof of a Tree-Structured File System in Event-B and Rodin , 2008, ICFEM.

[13]  Prithwish Basu,et al.  Declarative Network Verification , 2009, PADL.

[14]  Ondrej Rysavý,et al.  Combination of simulation and formal methods to analyse network survivability , 2010, SimuTools.

[15]  Geoff V. Merrett,et al.  Towards a principled and evolvable approach to software development for future wireless sensor networks , 2012, 2012 Third International Workshop on Software Engineering for Sensor Network Applications (SESENA).

[16]  Michael J. Butler,et al.  An Open Extensible Tool Environment for Event-B , 2006, ICFEM.

[17]  Jean-Raymond Abrial,et al.  Modeling in event-b - system and software engineering by Jean-Raymond Abrial , 2010, SOEN.

[18]  Amin Vahdat,et al.  Life, death, and the critical transition: finding liveness bugs in systems code , 2007 .