Use of statecharts in the modelling of dynamic behaviour in the ATLAS DAQ prototype -1

P. Croll, P. Y. Duval, R. Jones, S. Kolos, R. F. Sari, S. Wheeler

Research output: Contribution to journalArticlepeer-review

4 Citations (Scopus)


Many applications within the ATLAS DAQ prototype-1 system have complicated dynamic behaviour which can be successfully modelled in terms of states and transitions between states. Previously, state diagrams implemented as finite-state machines have been used. Although effective, they become ungainly as system size increases. Harel statecharts address this problem by implementing additional features such as hierarchy and concurrency. The CHSM object-oriented language system is freeware which implements Harel statecharts as concurrent, hierarchical, finite-state machines (CHSMs). An evaluation of this language system by the ATLAS DAQ group has shown it to be suitable for describing the dynamic behaviour of typical DAQ applications. The language is currently being used to model the dynamic behaviour of the prototype-1 run-control system. The design is specified by means of a CHSM description file, and C++ code is obtained by running the CHSM compiler on the file. In parallel with the modelling work, a code generator has been developed which translates statecharts, drawn using the StP CASE tool, into the CHSM language. C++ code, describing the dynamic behaviour of the run-control system, has been successfully generated directly from StP statecharts using the CHSM generator and compiler. The validity of the design was tested using the simulation features of the Statemate CASE tool.

Original languageEnglish
Pages (from-to)1983-1988
Number of pages6
JournalIEEE Transactions on Nuclear Science
Issue number4 PART 1
Publication statusPublished - 1998


Dive into the research topics of 'Use of statecharts in the modelling of dynamic behaviour in the ATLAS DAQ prototype -1'. Together they form a unique fingerprint.

Cite this