Ed Brinksma - PowerPoint PPT Presentation

About This Presentation
Title:

Ed Brinksma

Description:

data types & operations formally specified in Z. crucial control parts modelled in ... the success of verification is crucially dependent on scarce expertise ... – PowerPoint PPT presentation

Number of Views:20
Avg rating:3.0/5.0
Slides: 20
Provided by: edb77
Learn more at: https://www.cs.uic.edu
Category:

less

Transcript and Presenter's Notes

Title: Ed Brinksma


1
Verification Modelling of Embedded systems
  • Ed Brinksma
  • Dept. of CS, University of Twente, NL
  • joint work with
  • Angelika Mader
  • Monterey Workshop 2003
  • Chicago

2
ES Verification Example storm surge barrier
control
3
The control system
  • no human intervention
  • human operation too unreliable
  • responsible for closing opening
  • online meteorological hydrological data
  • very low failure rates
  • event failure rate 10-5/barrier event
  • design verification with FM
  • considered successful

4
Design validation
  • data types operations formally specified in Z
  • crucial control parts modelled in Promela model
    checked with Spin
  • implementations were hand-coded using Z specs
  • implementations were tested
  • no actual code was proved correct

5
Questions
  • How to do practical verification of ES ?
  • Is it methodologically sound?
  • How should this affect research?

6
The Setting
  • verification of ES designs is desirable
  • critical aspects are common
  • safety-critical, high replication, costly, etc.
  • verification needs formalization
  • operational model, logical theory, requirements
  • formalization is problematic
  • the (standard) combinatorial explosion
  • incorporation of (physical) environment

7
Typical Situation
the verification crisis model hacking precedes
model checking
  • verification model is constructed in an ad hoc
    and opportunistic manner
  • the success of verification is crucially
    dependent on scarce expertise
  • the relation of the verification model to the
    actual design is opaque

8
What do we need?
  • Verification models should have/be
  • limited complexity
  • must be open to computer-aided verification
  • faithful
  • must capture relevant properties
  • traceable
  • clear relation to actual design or system

9
Complexity Issues
  • models must be sufficiently small
  • limited capacity verification tools
  • limited capacity verification management
  • hybrid nature ES complicates models
  • mixed techniques, symbolic analysis
  • tool capacity growth exceeds Moores law
  • better algorithms data structures

10
Abstractions
  • Verification models are abstractions
  • inherent abstractions
  • mathematical modelling of physical aspects
  • controlled abstractions
  • simplifications reducing complexity

11
Faithfulness
  • Verification of erroneous models is useless
    (or even worse).
  • Models must obviously capture the relevant system
    properties.
  • However
  • what are relevant (formal) properties?
  • these are often part of the design problem
  • do our abstractions preserve them?
  • this can be difficult to show (begging the
    question)

verification models properties must
be validated !
12
Model validation
  • In addition to traceability verification models
    can be validated by experimental means
  • simulation of the model
  • requires constructive modelling
  • analysis of verification results
  • in practice model validation and verification are
    mixed

13
Separating the errors
verification should always include a systematic
error discussion (cf. physics)
  • a verification run may fail due to
  • an error in the implementation
  • an error in the verification model
  • an error in the formal property
  • errors must be analysed
  • to modify appropriate entity
  • requires rigourous protocol
  • for analysis documentation

14
Software Model Extraction
  • program code as model
  • reduction by abstract interpretation
  • data/predicate abstraction
  • variable slicing
  • model check abstractions
  • eliminate false negatives

does not work for non-programmable model parts
15
Verification Engineering
  • Verification modelling as a design problem
  • closely related but different from system design
  • main design criterion limited complexity tool
    support
  • Systematic approach to model construction
  • capture physical aspects
  • reduce complexity
  • formal and experimental justification
  • Tool support for verification management
  • model/property version management
  • meta-level specification of verification
    campaigns

16
Systematic Verification Model
interpret error
17
Xspin/Project - usage
  • Sandbox environment
  • Accessing PRCS
  • Saving validation results
  • Forcing version integrity

18
Challenges
  • verification methodology (MoMS project)
  • systematic model traceability
  • combining formal and non-formal aspects
  • modelling abstraction patterns
  • libraries, domain dependent solutions
  • systematic model validation
  • verification management tools
  • documentation version control
  • verification integrity control
  • verification campaign management

19
And finally
  • the company involved got very enthusiastic about
    FM
  • a 1-year technology transfer project was carried
    out
  • after 5 years they are still only using the
    (model-driven) testing tools
Write a Comment
User Comments (0)
About PowerShow.com