Skip to main content
Log in

Specification and synthesis of hybrid automata for physics-based animation

  • Published:
Automated Software Engineering Aims and scope Submit manuscript

Abstract

Physics-based animation programs can often be modeled in terms of hybrid automata. A hybrid automaton includes both discrete and continuous dynamical variables. The discrete variables define the automaton’s modes of behavior. The continuous variables are governed by mode-dependent differential equations. This paper describes a system for specifying and automatically synthesizing physics-based animation programs based on hybrid automata. The system presents a program developer with a family of parameterized specification schemata. Each schema describes a pattern of behavior as a hybrid automaton passes through a sequence of modes. The developer specifies a program by selecting one or more schemata and supplying application-specific instantiation parameters for each of them. Each schema is associated with a set of axioms in a logic of hybrid automata. The axioms serve to document the semantics of the specification schema. Each schema is also associated with a set of implementation rules. The rules synthesize program components implementing the specification in a general physics-based animation architecture. The system allows animation programs to be developed and tested in an incremental manner. The system itself can be extended to incorporate additional schemata for specifying new patterns of behavior, along with new sets of axioms and implementation rules. It has been implemented and tested on over a dozen examples. We believe this research is a significant step toward a specification and synthesis system that is flexible enough to handle a wide variety of animation programs, yet restricted enough to permit programs to be synthesized automatically.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  • Aaron, E., Ivancic, F., Sokolsky, O., Metaxas, D.: A Framework for Reasoning about Animation Systems. In: Intelligent Virtual Agents. LNCS, 2190, Springer (2001).

  • Aaron, E., Ivancic, F., Metaxas, D.: Hybrid System Models of Navigation Strategies for Games and Animations. In: Hybrid Systems: Computation and Control. LNCS, 2289, Springer (2002).

  • Akers, R., Baffes, P., Kant, E., Randall, C., Steinberg, S., Young, R.: Automatic Synthesis of Numerical Codes for Solving Partial Differential Equations. Math. Comput. Simul. 45 (1998).

  • Alur, R., Henzinger, T.: Logics and Models of Real-Time: A Survey. In: Real Time: Theory in Practice. LNCS, 600, Springer (1992).

  • Alur, R., Henzinger, T., Ho, P.: Automatic Symbolic Verification of Embedded Systems. IEEE Trans. Softw. Eng. 22 (1996).

  • Alur, R., Grosu, R., Hur, Y., Kumar, V., Lee, I.: Modular Specification of Hybrid Systems in Charon. In: Hybrid Systems: Computation and Control. LNCS, 1790, Springer (2000).

  • Asarin, E., Bournez, O., Dang, T., Maler, O., Pnueli, A.: Effective Synthesis of Switching Controllers for Linear Systems. Proc. IEEE 88, 7 (2000).

    Google Scholar 

  • Baruh, H.: Analytical Dynamics. WCB/McGraw-Hill (1999).

  • Bobrow, D. (ed.): Qualitative Reasoning about Physical Systems. MIT Press (1985).

  • Davoren, J., Nerode, A.: Logics for Hybrid Systems. Proc. IEEE 88, 7 (2000).

    Google Scholar 

  • Deshpande, A., Gollu, A., Varaiya, P. SHIFT: A Formalism and a Programming Language for Dynamic Networks of Hybrid Automata. In: Hybrid Systems IV, LNCS, 1273, Springer (1997).

  • Dwyer, M., Avrunin, G., Corbett, J.: Patterns in Property Specifications for Finite-state Verification. In: Proceedings of the 21st International Conference on Software Engineering, May 1999.

  • Ellman, T., Deak, R., Fotinatos, J.: Knowledge-Based Synthesis of Numerical Simulation Programs for Rigid-Body Systems in Physics-Based Animation. In: Proceedings of the 17th IEEE International Conference on Automated Software Engineering, 2002.

  • Ellman, T., Deak, R., Fotinatos, J.: Automated Synthesis of Numerical Programs for Simulation of Rigid Mechanical Systems in Physics-Based Animation. Autom. Softw. Eng. 10 (2003).

  • Falkenhainer, B., Forbus, K. Compositional Modeling: Finding the Right Model for the Job. Artif. Intell. 51 (1991).

  • Fischer, B., Schumann, J.: Generating Data Analysis Programs from Statistical Models. J Funct. Program. 13, 3 (2003).

    Google Scholar 

  • Gamma, E., Helm, R., Johnson, R., Vlissides, V.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley (1994).

  • Gray, A., Fischer, B., Schumann, J., Buntine, W.: Deriving Statistical Algorithms Automatically: The EM Family and Beyond. In: Proceedings of the Conference on Neural Information Processing Systems (NIPS2002), 2003.

  • Hartl, R., Sethi, S., Vickson, R., A Survey of the Maximum Principles for Optimal Control Problems with State Constraints. SIAM Rev. 37, 2 (1995).

    Google Scholar 

  • Henzinger, T.: The Theory of Hybrid Automata. In: Proceedings of the 11th Annual IEEE Symposium on Logic in Computer Science, 1996.

  • Hudak, P., Courtney, A., Nilsson, H., Peterson, J.: Arrows, Robots, and Functional Reactive Programming. In: Summer School on Advanced Functional Programming. LNCS, 2638, Springer (2003).

  • Kant, E.: Synthesis of Mathematical Modeling Software. IEEE Softw. 10, 3 (1993).

    Google Scholar 

  • Kuipers, B.: Qualitative Reasoning: Modeling and Simulation with Incomplete Knowledge. MIT Press (1994).

  • Labinaz, G., Bayoumi, M., Rudie, K.: A Survey of Modeling and Control of Hybrid Systems. Ann. Rev. Control 21, (1997).

  • Lowry, M., Philpot, A., Pressburger, T., Underwood, I.: A Formal Approach to Domain-Oriented Software Design Environments. In: Proceedings of the Ninth Knowledge-Based Software Engineering Conference, 1994.

  • Manna, Z., Pnueli, Z.: The Temporal Logic of Reactive and Concurrent Systems. Springer-Verlag (1992).

  • Nayak, P.: Causal Approximations. Artif. Intell. 70, (1994).

  • Nilsson, H., Peterson, J., Hudak, P.: Functional Hybrid Modeling. In: Proceedings of the 5th International Workshop on Practical Aspects of Declarative Languages, LNCS, 2562, Springer (2003).

  • Press, W., Vetterling, W., Teukolsky, S., Flannery, B.: Numerical Recipes. Cambridge University Press (1986).

  • Rosu, G., Whittle, J.: Towards Certifying Domain Specific Properties of Synthesized Code. In: Proceedings of the 17th IEEE International Conference on Automated Software Engineering (2002).

  • Schumann, J., Fischer, B., Whalen, M., Whittle, J.: Certification Support for Automatically Generated Programs. In: Proceedings of the 36th Hawaii International Conference on System Sciences, 2003.

  • Tomlin, C., Lygeros, J., Sastry, S.: A Game Theoretic Approach to Controller Design for Hybrid Systems. Proc. IEEE 88, 7 (2000).

    Google Scholar 

  • Van Der Schaft, A., Schumacher, H.: An Introduction to Hybrid Dynamical Systems. In: Lecture Notes in Control and Information Sciences, 251, Springer (2000).

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Thomas Ellman.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Ellman, T. Specification and synthesis of hybrid automata for physics-based animation. Autom Software Eng 13, 395–418 (2006). https://doi.org/10.1007/s10851-006-8532-4

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10851-006-8532-4

Keywords

Navigation