Skip to main content

Engineering of real-time systems with an experiment in hybrid control

  • Case Studies
  • Chapter
  • First Online:
Lectures on Embedded Systems (EEF School 1996)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1494))

Included in the following conference series:

Abstract

The core of this paper reports on development of a multi-threaded, multiprocessor program for an embedded system. It covers all phases of the development from requirements through successively refined designs with formal verification to implementation. The program controls an experimental hydraulically powered manipulator with two links. The architecture uses local control for each of the links, and has a mode switched control algorithm which detects and reacts on changes in model parameters due to variations in the forces acting on the link. The result shows that it is feasible to check a design against realistic top level requirements with specific assumptions about th control and mode detection algorithms. The design is detailed to an architecture that isolate these and other algorithms supplied by control engineers, thus providing a precise interface description with a potential for reuse. Specifications of requirements and designs are expressed in duration calculus, a real-time interval logic, which is also used in verification. The implementation is done in occam for a network of four transputer's. Low level timing constraints are checked manually by calculating path lengths.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. T. O. Andersen, F. Conrad, A. P. Ravn, T. J. Eriksen, and M. Holdgaard. Mode-switching in hydraulic actuator systems-an experiment. In Proceedings of Eigth Bath International Fluid Power Workshop. Research Studies Press, 1995. Bath, United Kingdom, September 1995.

    Google Scholar 

  2. Michael S. Branicky, Vivek S. Borkar, and Sanjoy K. Mitter. A unified framework for hybrid control. In Proceedings of the 33rd Conference on Decision and Control. Lake Buena Vista, FL, 1994.

    Google Scholar 

  3. A. Burns and A. Wellings. Advanced fixed priority scheduling. In M. Joseph, editor, Real-Time Systems: Specification, Verification and and Analysis, Prentice-Hall Internaltional series in computer science, pages 32–65. Prentice-Hall, 1996.

    Google Scholar 

  4. H. Dierks. The production cell: A verified real-time system. In B. Jonsson and J. Parrow, editors, FTRTFTS'96, volume 1135 of LNCS, pages 208–227. Springer-Verlag, 1996.

    Google Scholar 

  5. M. Engel, M. Kubica, J. Madey, D. L. Parnas, A. P. Ravn, and A. J. van Schouwen. A formal approach to computer systems requirements documentation. In R. L. Grossman, A. Nerode, A. P. Ravn, and H. Rischel, editors, Hybrid Systems, volume 736 of LNCS, pages 452–474, 1993.

    Google Scholar 

  6. T. J. Eriksen, S. Heilmann, M. Holdgaard, and A. P. Ravn. Hybrid systems: A real-time interface to control engineering. In Proceedings of 8th Euromicro Workshop on Real-Time Systems, pages 114–120. IEEE Computer Society Press, 1996.

    Google Scholar 

  7. The RAISE Language Group. The RAISE Specification Language. The BCS Practitioner Series, Prentice-Hall, 1992.

    Google Scholar 

  8. Jifeng He, C. A. R. Hoare, M. Fränzle, M. Miiller-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 Jan Vytopil, editors, Formal Techniques in Real-Time and Fault-Tolerant Systems, volume 863 of LNCS, pages 288–335. Springer-Verlag, 1994.

    Google Scholar 

  9. T. Henzinger, Z. Manna, and A. Pnueli. Temporal proof methodologies for timed transition systems. Information and Computation, 112(2):273–337, 1994.

    Google Scholar 

  10. T. A. Henzinger and P.-H. Ho. HYTECH: The cornell hybrid technology tool. In P. Antsaklis, W. Kohn, A. Nerode, and S. Sastry, editors, Hybrid Systems II, volume 999 of LNCS, pages 265–293, 1995.

    Google Scholar 

  11. T. A. Henzinger and H. Wong-Toi. Linear phase-portrait approximations for non-linear hybrid systems. In R. Alur, T. A. Henzinger, and E. D. Sontag, editors, Hybrid Systems III, volume 1066 of LNCS, pages 377–388, 1996.

    Google Scholar 

  12. C. A. R. Hoare, He, Jifeng, and J. W. Sanders. Specification in data refinement. Inf. Proc. Letters, 25:71–76, 1987.

    Google Scholar 

  13. E. J. Davison (Ed.) IFAC Theory Committee. Benchmark problems for control system design. Technical report, International Federation of Automatic Control, May 1990.

    Google Scholar 

  14. R. Inal. Modular specification of real-time systems. In Proceedings of 1994 Euromicro Workshop on Real-Time Systems. IEEE Computer Society Press, 1994.

    Google Scholar 

  15. Y. Kesten, Z. Manna, and A. Pnueli. Verifying clocked transition systems. In R. Alur, T. A. Henzinger, and E. D. Sontag, editors, Hybrid Systems III, volume 1066 of LNCS, pages 13–40, 1996.

    Google Scholar 

  16. R. Koymans. Specifying real-time properties with metric temporal logic. Real-Time Systems, 2(4):255–299, November 1990.

    Google Scholar 

  17. L. Lamport. Hybrid systems in TLA+. In R. L. Grossman, A. Nerode, A. P. Ravn, and H. Rischel, editors, Hybrid Systems, volume 736 of LNCS, pages 77–102, 1993.

    Google Scholar 

  18. Z. Liu, A. P. Ravn, and X. Li. Duration properties of timed transition systems. Technical Report 1997/12, Math. and Comp. Sc., Leicester University, GB, May 1997.

    Google Scholar 

  19. L. Ljung. System Identification. Theory for the User. Prentice-Hall Information and System Sciences Series. Prentice-Hall, 1987.

    Google Scholar 

  20. D. G. Luenberger. Introduction to Dynamic Systems. Theory, Models & Applications. Wiley, 1979.

    Google Scholar 

  21. N. Lynch. Modeling and verification of automated transit systems, using timed automata, invariants and simulations. In R. Alur, T. A. Henzinger, and E. D. Sontag, editors, Hybrid Systems III, volume 1066 of LNCS, pages 449–463, 1996.

    Google Scholar 

  22. N. Lynch, R. Segala, F. Vaandrager, and H. B. Weinberg. Hybrid i/o automata. In R. Alur, T. A. Henzinger, and E. D. Sontag, editors, Hybrid Systems III, volume 1066 of LNCS, pages 496–510, 1996.

    Google Scholar 

  23. Z. Manna and A. Pnueli. The Temporal Logic of Reactive and Concurrent Systems. Springer-Verlag, 1992.

    Google Scholar 

  24. B. Moszkowski. A temporal logic for multi-level reasoning about hardware. IEEE Computer, 18(2):10–19, 1985.

    Google Scholar 

  25. Simin Nadjm-Tehrani. Reactive Systems in Physical Environments. PhD thesis, Dept. Comp. and Inf. Science, Linköping University, Sweden, May 1994. Linköping Studies in Science and Technology, Dissertation no. 338.

    Google Scholar 

  26. Simin Nadjm-Tehrani and Jan-Erik Strömberg. Jas-95 lite: Modelling and formal analysis of dynamic properties. Technical Report LITH-IDA-R-96-41, Dept. Comp. and Inf. Science, Linköping University, Sweden, 1996.

    Google Scholar 

  27. E-R. Olderog, A. P. Ravn, and J. U. Skakkebaek. Refining system requirements to program specifications. In C. Heitmeyer and D. Mandrioli, editors, Formal Methods in Real-Time Systems, Trends in Software-Engineering, chapter 5, pages 107–134. Wiley, 1996.

    Google Scholar 

  28. A. Pnueli and E. Harel. Applications of temporal logic to the specification of real-time systems (extended abstract). In M. Joseph, editor, Proceedings of a Symposium on Formal Techniques in Real-Time and Fault-Tolerant Systems, volume 331 of LNCS, pages 84–98. Springer-Verlag, 1988.

    Google Scholar 

  29. A. P. Ravn. Design of embedded real-time computing systems. Technical Report ID-TR 1995-170, ID/DTU, Lyngby, Denmark, October 1995. dr. techn. dissertation.

    Google Scholar 

  30. A. P. Ravn and H. Rischel. Requirements capture for embedded real-time systems. In Proceedings of IMACS-MCTS'91 Symposium on Modelling and Control of Technological Systems, volume 2, pages 147–1521. IMACS, 1991. Villeneuve d'Ascq, France, May 7–10.

    Google Scholar 

  31. A. P. Ravn, H. Rischel, M. Holdgaard, T. J. Eriksen, F. Conrad, and T. O. Andersen. Hybrid control of a robot-a case study. In P. Antsaklis, W. Cohn, A. Nerode, and S. Sastry, editors, Hybrid Systems II, volume 999 of LNCS, pages 391–404. Springer-Verlag, 1995.

    Google Scholar 

  32. A. P. Ravn, H. Rischel, and H. H. Løvengreen. A design method for embedded software systems. BIT, 28:427–438, 1988.

    Google Scholar 

  33. A.P. Ravn, H. Rischel, and K. M. Hansen. Specifying and verifying requirements of real-time systems. IEEE Trans. Softw. Eng., 19(1):41–55, 1993.

    Google Scholar 

  34. H. Rischel, J. Cuellar, S. Mørk, A. P. Ravn, and I. Wildgruber. Development of safety-critical real-time systems. In M. Bartošek, J. Staudek, and J. Wiedermann, editors, SOFSEM'95: Theory and Practice of Informatics, volume 1012 of LNCS, pages 206–235. Springer-Verlag, 1995.

    Google Scholar 

  35. 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 LNCS, pages 403–427. Springer-Verlag, 1996.

    Google Scholar 

  36. S. Schneider. Specification and verification in timed CSP. In M. Joseph, editor, Real-Time Systems: Specification, Verification and and Analysis, Prentice-Hall Internaltional series in computer science, pages 147–181. Prentice-Hall, 1996.

    Google Scholar 

  37. R. L. Schwartz, P. M. Melliar-Schmith, and F. H. Vogt. An interval logic for higher-level temporal reasoning. In Proceedings of the 2nd. Annual ACM Symposium on Principles of Distributed Computing, pages 173–186, 1983.

    Google Scholar 

  38. J. U. Skakkebaek. A Verification Assistant for a Read-Time Logic. PhD thesis, Dept. Comp. Science, Technical University of Denmark, November 1994. ID-TR 1994-150.

    Google Scholar 

  39. J. U. Skakkebaek and N. Shankar. Towards a duration calculus proof assistant in PVS. In H. Langmaack, W.-P. de Roever, and J. Vytopil, editors, Formal Techniques in Real-Time and Fault-Tolerant Systems, volume 863 of LNCS, pages 660–679. Springer-Verlag, 1994.

    Google Scholar 

  40. The procurement of safety critical software in defence equipment, Part 1: Requirements. Kentigern House, 65 Brown St., Glasgow G2 8EX, April 1991.

    Google Scholar 

  41. Y. Venema. A modal logic for chopping intervals. J. Logic of Computation, 1(4):453–476, 1991.

    Google Scholar 

  42. Chaochen Zhou, C. A. R. Hoare, and A. P. Ravn. A calculus of durations. Information Proc. Letters, 40(5), Dec. 1991.

    Google Scholar 

  43. Chaochen Zhou, Wang Ji, and A. P. Ravn. A formal description of hybrid systems. In R. Alur, T. Henzinger, and E. Sontag, editors, Hybrid Systems III, volume 1066 of LNCS, pages 511–530. Springer-Verlag, 1996.

    Google Scholar 

  44. Chaochen Zhou, A. P. Ravn, and M. R. Hansen. An extended duration calculus for hybrid real-time systems. In R. L. Grossman, A. Nerode, A. P. Ravn, and H. Rischel, editors, Hybrid Systems, volume 736 of LNCS, pages 36–59, 1993.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Grzegorz Rozenberg Frits W. Vaandrager

Rights and permissions

Reprints and permissions

Copyright information

© 1998 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Ravn, A.P., Eriksen, T.J., Holdgaard, M., Rischel, H. (1998). Engineering of real-time systems with an experiment in hybrid control. In: Rozenberg, G., Vaandrager, F.W. (eds) Lectures on Embedded Systems. EEF School 1996. Lecture Notes in Computer Science, vol 1494. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-65193-4_27

Download citation

  • DOI: https://doi.org/10.1007/3-540-65193-4_27

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-65193-2

  • Online ISBN: 978-3-540-49498-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics