Specification and synthesis of hybrid automata for physics-based animation

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.

[1]  Dimitris N. Metaxas,et al.  Hybrid System Models of Navigation Strategies for Games and Animations , 2002, HSCC.

[2]  Suresh P. Sethi,et al.  A Survey of the Maximum Principles for Optimal Control Problems with State Constraints , 1995, SIAM Rev..

[3]  P. Pandurang Nayak,et al.  Causal Approximations , 1992, Artif. Intell..

[4]  Thomas A. Henzinger,et al.  Logics and Models of Real Time: A Survey , 1991, REX Workshop.

[5]  Paul Hudak,et al.  Functional Hybrid Modeling , 2003, PADL.

[6]  Thomas A. Henzinger,et al.  The theory of hybrid automata , 1996, Proceedings 11th Annual IEEE Symposium on Logic in Computer Science.

[7]  Johann Schumann,et al.  Generating Data Analysis Programs from Statistical Models , 2000, SAIG.

[8]  Grigore Rosu,et al.  Towards certifying domain-specific properties of synthesized code , 2002, Proceedings 17th IEEE International Conference on Automated Software Engineering,.

[9]  Pravin Varaiya,et al.  SHIFT: A Formalism and a Programming Language for Dynamic Networks of Hybrid Automata , 1996, Hybrid Systems.

[10]  A. Pnueli,et al.  Effective synthesis of switching controllers for linear systems , 2000, Proceedings of the IEEE.

[11]  Michael R. Lowry,et al.  A formal approach to domain-oriented software design environments , 1994, Proceedings KBSE '94. Ninth Knowledge-Based Software Engineering Conference.

[12]  Johannes Schumacher,et al.  An Introduction to Hybrid Dynamical Systems, Springer Lecture Notes in Control and Information Sciences 251 , 1999 .

[13]  Paul Hudak,et al.  Arrows, Robots, and Functional Reactive Programming , 2002, Advanced Functional Programming.

[14]  William H. Press,et al.  Numerical recipes , 1990 .

[15]  George S. Avrunin,et al.  Patterns in property specifications for finite-state verification , 1999, Proceedings of the 1999 International Conference on Software Engineering (IEEE Cat. No.99CB37002).

[16]  Robert L. Young,et al.  Automatic synthesis of numerical codes for solving partial differential equations , 1998 .

[17]  Thomas A. Henzinger,et al.  Automatic symbolic verification of embedded systems , 1993, 1993 Proceedings Real-Time Systems Symposium.

[18]  J. Lygeros,et al.  A game theoretic approach to controller design for hybrid systems , 2000, Proceedings of the IEEE.

[19]  T. B. Putsyata,et al.  Analytical dynamics , 1973 .

[20]  Dimitris N. Metaxas,et al.  A Framework for Reasoning about Animation Systems , 2001, IVA.

[21]  Johann Schumann,et al.  Certification support for automatically generated programs , 2003, 36th Annual Hawaii International Conference on System Sciences, 2003. Proceedings of the.

[22]  Elaine Kant,et al.  Synthesis of mathematical-modeling software , 1993, IEEE Software.

[23]  Johann Schumann,et al.  Under Consideration for Publication in J. Functional Programming Autobayes: a System for Generating Data Analysis Programs from Statistical Models , 2022 .

[24]  Brian Falkenhainer,et al.  Compositional Modeling: Finding the Right Model for the Job , 1991, Artif. Intell..

[25]  Thomas Ellman,et al.  Automated Synthesis of Numerical Programs for Simulation of Rigid Mechanical Systems in Physics-Based Animation , 2003, Automated Software Engineering.

[26]  A. Nerode,et al.  Logics for hybrid systems , 2000, Proceedings of the IEEE.

[27]  Zohar Manna,et al.  The Temporal Logic of Reactive and Concurrent Systems , 1991, Springer New York.

[28]  Karen Rudie,et al.  A survey of modeling and control of hybrid systems , 1997 .

[29]  Vijay Kumar,et al.  Modular Specification of Hybrid Systems in CHARON , 2000, HSCC.