Abstract
A benchmark real-time problem, the generalised railroad crossing [9], serves as illustration of a fully graphical approach to the formal development of correct reactive real-time systems. We show how to formally capture requirements with the graphical language Constraint Diagrams [6] and perform graphical refinement steps towards implementable requirements. These requirements correspond directly to PLC-Automata [4], a class of real-time automata suitable to describe the behaviour of Programmable Logic Controllers (PLCs), a hardware widely used in industry in order to control processes. A compilation schema generates runnable PLC-source-code. Optionally; error states can be introduced in the automata to allow checks of correctness of assumptions. While all languages used — except for the PLC-source-code — are visual, their common semantics is formally defined employing Duration Calculus (DC) [20]. Correctness of refinement steps can thus be formally proven. Once established, graphical refinement rules can be used without knowledge of the DC inside. In that way visuality eases application of formal reasoning.
This research was partially supported by the German Ministry for Education and Research (BMBF) as part of the project UniForM under grant No. FKZ 01 IS 521 B3
Preview
Unable to display preview. Download preview PDF.
References
R. Alur and D.L. Dill. A theory of timed automata. Theoret. Comput. Sci., 126:183–235, 1994.
E. Clarke, O. Grumberg, and D. Long. Verification tools for finite-state concurrent systems. In A Decade of Concurrency — Reflections and Perspectives, volume 803 of Lecture Notes in Computer Science. Springer-Verlag, 1994.
H. Dierks. Rules and Theorems for PLC-Automata. Technical report, University of Oldenburg, November 1996.
H. Dierks. PLC-Automata: A New Class of Implementable Real-Time Automata. In M. Bertran and T. Rus, editors, ARTS'97, volume 1231 of Lecture Notes in Computer Science, pages 111–125. Springer-Verlag, May 1997.
H. Dierks. Synthesising Controllers from Real-Time Specifications. In Proceedings of ISSS'97. IEEE, 1997. to appear.
C. Dietz. Graphical Formalization of Real-Time Requirements. In B. Jonsson and J. Parrow, editors, Formal Techniques in Real-Time and Fault-Tolerant Systems, volume 1135 of Lecture Notes in Computer Science, pages 366–385, Uppsala, Sweden, September 1996. Springer-Verlag.
C. Dietz. Action Diagrams. In WRTP'97 (to appear). Elsevier Science, 1997.
Jifeng He, C.A.R. Hoare, M. Fränzle, M. Müller-Olm, E.-R. Olderog, M. Schenke, M.R. Hansen, A.P. Ravn, and H. Rischel. Provably Correct Systems. In H. Langmaack, W.-P. de Roever, and J. Vytopil, editors, Formal Techniques in Real-Time and Fault-Tolerant Systems, volume 863 of Lecture Notes in Computer Science, pages 288–335. Springer-Verlag, 1994.
C. Heitmeyer and N. Lynch. The Generalized Railroad Crossing. In IEEE RealTime Systems Symposium, 1994.
C. Heitmeyer and D. Mandrioli, editors. Formal Methods for Real-Time Computing, volume 5 of Trends in Software. Wiley, 1996.
K.-H. John and M. Tiegelkamp. SPS-Programmierung mit IEC 1131-3. SpringerVerlag, 1995. in German.
B. Krieg-Bruckner, J. Peleska, E.-R. Olderog, D. Balzer, and A. Baer. UniForM — Universal Formal Methods Workbench. In U. Grote and G. Wolf, editors, Statusseminar des BMBF Softwaretechnologie, pages 357–378. BMBF, Berlin, March 1996.
R.W. Lewis. Programming industrial control systems using IEC 1131-3. The institution of Electrical Engineers, 1995.
B. Moszkowski. A Temporal Logic for Multilevel Reasoning about Hardware. IEEE Computer, 18(2):10–19, 1985.
E.-R. Olderog, A.P. Ravn, and J.U. Skakkebwk. Refining System Requirements to Program Specifications. In Heitmeyer and Mandrioli [10], pages 107–134.
A.P. Ravn. Design of Embedded Real-Time Computing Systems. Technical Report 1995-170, Technical University of Denmark, 1995.
M. Schenke and A.P. Ravn. Refinement from a control problem to programs. In J.R. Abrial, E. Börger, and H. Langmaack, editors, Formal Methods for Industrial Applications: Specifying and Programming the Steam Boiler Control, volume 1165 of Lecture Notes in Computer Science. Springer-Verlag, 1996.
R. Schlör and W. Damm. Specification and Verification of System Level Hardware Designs using Timing Diagrams. In Proc. The European Conference on Design Automation. Paris, France, 1993.
Zhou Chaochen. Duration Calculi: An overview. In D. Bjørner, M. Broy, and I.V. Pottosin, editors, Formal Methods in Programming and Their Application, volume 735 of Lecture Notes in Computer Science, pages 256–266. Springer-Verlag, 1993.
Zhou Chaochen, C.A.R. Hoare, and A.P. Ravn. A Calculus of Durations. Inform. Proc. Letters, 40/5:269–276, 1991.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1997 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Dierks, H., Dietz, C. (1997). Graphical specification and reasoning: Case study generalised railroad crossing. In: Fitzgerald, J., Jones, C.B., Lucas, P. (eds) FME '97: Industrial Applications and Strengthened Foundations of Formal Methods. FME 1997. Lecture Notes in Computer Science, vol 1313. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-63533-5_2
Download citation
DOI: https://doi.org/10.1007/3-540-63533-5_2
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-63533-8
Online ISBN: 978-3-540-69593-6
eBook Packages: Springer Book Archive