University of Southampton
Formal engineering methodologies for wireless sensor network development with simulation
Abstract
dc:description.abstractIn the current practice in Wireless Sensor Network (WSN) development, the software code representing communication protocols and algorithms tends to be complex, monolithic, and close to low-level operating system and hardware platforms. The software is thus difficult to understand and maintain. This is because of the lack of software engineering (SE) and model-based techniques, tools and infrastructure in the WSN domain. Furthermore, critical design requirements must be guaranteed, as uncertain and unreliable environment circumstances may cause the failure of a WSN deployment, e.g. by node death and communication failures. Therefore, good SE methodologies and techniques including high-level abstraction, separation of concerns, powerful verification and validation (V&V) are needed for WSN development.<br/><br/>This thesis proposes a Formal Co-simulation (FoCoSim-WSN) framework to strengthen current SE practice for WSN development. This framework enables an iterative and incremental development style which combines the benefits of existing simulation and proof-based formal verification approaches and tools. The complexity of software development for the sensor node controller is reduced by separating the controller model from the simulation environment. Controller algorithms for each protocol stack layer can be formally developed and verified in a layered manner using the refinement method of the Event-B language and its RODIN toolkit. The absence of certain classes of faults in controller models which cannot be guaranteed by simulation testing techniques, can be proved by formal methods. The MiXiM simulation of physical environment provides confidence in the reliability and performance analysis through long running simulation via wireless channels.<br/><br/>Our prototype development confirms the flexibility, usability and reusability of the framework for interworking between formal, simulation and co-simulation modelling. Furthermore, the integration of our proposed FoCoSim-WSN framework with the Model-Based Trace Testing (MBTT) approach gives us confidence in the validation coverage. Test scenarios including functional, failing and recovery tests are created from the sequence of events in our co-simulation master algorithm. Long-running test scenarios generated by MiXiM co-simulation enable model debugging for absent or erroneous constraints and events in our formal controller. Finally, by investigating two case studies we identify reuse opportunities and propose reusable patterns for Event-B and master models.
Degree
thesis:*- Name dc:type.qualificationname
- Ph.D.
- Level dc:type.qualificationlevel
- doctoral
- Grantor dc:publisher.institution
- University of Southampton
- Year dc:date.issued
- 2015
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Intana, Adisak
- Advisor dc:contributor.advisor
-
- Poppleton, Michael
Rights
- Language dc:language
- English, eng