Design and Verification of Component Based Real-Time Systems

University dissertation from Uppsala : Acta Universitatis Upsaliensis

Abstract: The design of embedded real-time systems is becoming more and more challengingdue to the increasing complexity of new hardware platforms, requirements onnew system functionality, and economical constraints on system development.Component based design has been successful for the development of general-purposecomputer systems such as destop and e-business.In this thesis, a component based design technology is presentedfor embedded real-time systems, that includes a component model SaveCCMand a software tool Uppaal PORT for the formal verification of SaveCCMcomponents and systems.The main contributions of the thesis include a timed semantics ofSaveCCM and a model-checking technique for component-based timed systemsbased on partial order reduction.To develop a formal semantics for SaveCCM, a core language is presentedto describe SaveCCM components in terms of timed automata.The language is particularly designed for analysis, as it has a small numberof primitive constructs that can easily be translated to the formalismexpected by an analysis technique of interest.The core constructs also preserve the structure of the original system,which can be exploited for model-checking.To develop a scalable verification technique for SaveCCM,partial order reduction is studied as a technique to improve efficiencyfor model-checking, based on independence between parallel activities.For component based systems modelled as timed automata, time may not pass inone component unless the same amount of time passes in all other components.This global nature of time implies a dependency between delay transitions,which is a major obstacle to partial order reduction for timed systems.A known technique to resolve this dependency is to introduce local timescales, which are then synchronized when components communicate.In this thesis, it is demonstrated that the local time approach works wellfor SaveCCM when the system structure is exploited, since communication isrestricted by the structure, which also restricts the need for synchronization.The partial order reduction technique is implemented in the Uppaal PORT tool.This tool and the component model SaveCCM have been validated in twocase studies: an adaptive cruise controller and a turntable production system.Finally, to assist modelling of SaveCCM systems, two modelling extensionsare introduced. First, component execution is described in terms oftask automata, which can be used for schedulability analysis.The second extension introduces priorities for timed automata, as the conceptof priorities is much used in real-time systems.

  This dissertation MIGHT be available in PDF-format. Check this page to see if it is available for download.