TL;DR: This paper describes a method of design and simulation of mechatronic systems, and presents OpenMASK and OpenModelica simulators, the IEEE1516 standard HLA and work related to this distributed architecture for simulation.
Abstract: Mechatronics is the integration of different sciences and techniques of mechanical engineering, automatic control, electronics, and informatics. The rapid evolution of the market competitors requires the reduction of development time of a product while increasing the quality and performance. It is, therefore, necessary to increase the efficiency of the design process. To meet this need, simulation and, especially, virtual prototyping have become a key technology. It is difficult to find simulation tools are able to analyze multidependent systems of different areas. However, an environment that allows a simulation integrating multidisciplinary mechatronic systems is necessary. This paper describes a method of design and simulation of mechatronic systems. First, we identify the behavior model and its associated 3D geometric model. The behavior model is seen as a dynamic hybrid system of two coupled hybrid automata (operative part and control part). Then, we present OpenMASK and OpenModelica simulators, the IEEE1516 standard HLA and work related to this distributed architecture for simulation. In a top-down approach, we present our method and experiments to integrate HLA functionalities in these simulators and to distribute the modeling elements of mechatronic systems. Also, we propose extensions to integrate real-time for interactive simulations. Finally, we apply our approach on a representative example of a mechatronic system.
A mechatronic system is the combination of several components from different domains (mechanics, automatic control, electronics, and embedded control software).
Their design can be difficult and the development period of such complex systems has to be as short as possible.
Many methods are used for coupling of dynamic simulations.
The authors present a method based on the high level architecture (HLA) to make communication possible between the 3D OpenMASK (Modular Animation and Simulation Kit) virtual prototyping simulator [7] and the MULTIPHYSICS OpenModelica [8] simulator.
HLA is situated in continuation of the works on cosimulation with respect to disclosing proprietary information about the subsystem models by introducing a standardized layer to exchange data without requiring an integrator environment [1].
2 Modeling and Simulation for Mechatronics in a Distributed Architecture
It consists of electronic, automatic, and computer technologies.
Accordingly, the behavior of these systems with various technologies is difficult to model.
Behaviors of the control part and the operative part are modeled by different hybrid automata, which can be coupled jointly following the method provided in Ref. [9].
In the HLA terminology, the authors mean by the term “federate,” each elementary simulator, and by the term “federation” a group of intereffective federates.
The authors identified two federates: one federate for the animation of 3D objects and one behavioral federate, which represents the control and operative parts of the mechatronic system (Fig. 1).
3 HLA
HLA is defined under the IEEE standard 1516 for the architecture of interoperable distributed simulations.
The HLA is described by some specifications composed of: — a series of rules that specifies the responsibilities of the federates and the federation — an object model template — specifications concerning the application programming interface (API).
There are few applications to integrate HLA in commercial and academic simulators.
HLA functions are not planned to integrate nonmilitary simulators.
In the field of virtual prototyping, the authors found an approach presented in Ref. [19] to link the oRis platform with the RTI.
4 OpenMASK
OpenMASK is an open source platform for modular applications development and execution in animation, simulation, and virtual reality fields.
An OpenMASK module can also contain inputs=outputs for the exchange of data.
OpenMASK modules can exchange events directly or by means of the OpenMASK’s bus.
5 OpenModelica
Its goal is to model complex physical systems including electric, mechanical, hydraulic, and thermal components [21].
OpenModelica is a free environment of modeling, compilation, and simulation, based on a BSD (Berkeley Software Distribution) license.
The C code generated is combined with a library of useful functions, a run-time library and a digital solver differential algebraic equations.
The default integration method for OpenModelica is the DASSL code as defined by Brenan et al. [22].
In order to integrate event handling in the compiler and run-time system, the front-end must produce crossing functions and handlers for the events; the actual search for zero crossings is left to the solver [23].
6 Integration of HLA Services in Simulators
Given that the authors are only interested in the dynamic state variables, they describe every mechanical component by an HLA object.
During the simulation, the OpenModelica federate updates its HLA object attributes by calling the publish service or by sending interaction.
When a connection request is received, a connection is established and the wrapper can receive the data from the simulation under OpenModelica.
The second part catches messages and updates from RTI using callbacks functions declared in the class FederateAmbassador.
After that, the federate requests to synchronize its execution with other federates.
7 Synchronization and Real-Time Management
1 Simulators Synchronization at the Beginning of the Simulation.
Also, at each step, the federate can send interactions and receive data from other federates.
The HLA time management coordinates the advance of logical time among all federates in a federation.
In the next part, the authors present a module to make OpenModelica execution real time.
The progression of simulation time during the execution of a simulation may have or not a relationship with the progression of wallclock time.
8 Experimentation
After the integration of the HLA services in both simulators, the authors applied their global approach to a mechatronic system.
The authors chose a simple but significant example.
The linear drive is controlled by a controller module which delivers the dc motor supply voltage according to the position x of the linear drive.
The authors instantiated the RealTime module and inserted it in the global model to synchronize the time execution with the wallclock time.
Once the OpenModelica simulation starts, variables are communicated to OpenMASK via the RTI to animate the 3D objects.
9 Discussion
In the case of large models, efficiency problems can arise.
Another aspect is to make the simulation more reactive referring to events.
The authors have not yet addressed this aspect.
The second way is linked to the accuracy in the case of bidirectional communication where events from OpenMASK serve as inputs for OpenModelica.
Instead of using TIME ADVANCE REQUEST, as does a time-stepped federate, the event-driven federate uses NEXT EVENT REQUEST to request an advance of its clock.
10 Conclusion
The authors presented an open source approach for modeling and simulating mechatronic systems based on the HLA.
To make the global simulation real-time, the authors proposed an approach based on real-time techniques and HLA time management services.
All open source modules developed are available in their laboratory and will be officially registered on the Modelica site.
The authors plan to manage events taken into account by OpenMASK and benefits from its interactive feature.
TL;DR: This work focuses on the design of a new approximation algorithm that reduces the cost of functional evaluations and yet increases the attainable order higher, and the classical ERK methods.
Abstract: During the last decade, a big progress has been achieved in the analysis and numerical treatment of Initial Value Problems (IVPs) in Differential Algebraic Equations (DAEs) and Ordinary Differential Equations (ODEs). In spite of the rich variety of results available in the literature, there are still many specific problems that require special attention. Two of such, which are considered in this work, are the optimization of order of accuracy and reduction of cost of functional evaluations of Explicit Runge - Kutta (ERK) methods.
Traditionally, the maximum attainable order p of an s-stage ERK method for advancing the solution of an IVP is such that
p(s)
4
In 1999, Goeken presented an s-stage ERK Method of order p(s)=s +1,s>2.
However, this work focuses on the design of a new approximation algorithm that reduces the cost of functional evaluations and yet increases the attainable order higher
U n and Jonhson [94]; and the classical ERK methods. The order p of
the new scheme called Multiderivative Explicit Runge-Kutta (MERK) Methods is such that p(s) 2. The stability, convergence and implementation for the optimization of IVPs in DAEs and ODEs systems are also considered.
TL;DR: This work describes a framework for distributed simulation of cyber-physical systems (CPS) and leverages existing frameworks to facilitate the integration of components in a systematic, well-defined manner and demonstrates the approach on a flight control system simulation.
Abstract: This work describes a framework for distributed simulation of cyber-physical systems (CPS). Modern CPS comprise large numbers of heterogeneous components, typically designed in very different tools and languages that are not or not easily compose able. Evaluating such large systems requires tools that integrate all components in a systematic, well-defined manner. This work leverages existing frameworks to facilitate the integration offers validation by simulation. A framework for distributed simulation is the IEEE High-Level Architecture (HLA) compliant tool CERTI, which provides the infrastructure for co-simulation of models in various simulation environments as well as hardware components. We use CERTI in combination with Ptolemy II, an environment for modeling and simulating heterogeneous systems. In particular, we focus on models of a CPS, including the physical dynamics of a plant, the software that controls the plant, and the network that enables the communication between controllers. We describe the Ptolemy extensions for the interaction with HLA and demonstrate the approach on a flight control system simulation.
44 citations
Cites background from "A Contribution for Virtual Prototyp..."
...In [8], the authors encode a connection between HLA and Modelica [9] for the virtual prototyping of mechatronic systems....
TL;DR: HAL is a multi-disciplinary open access archive for the deposit and dissemination of scientific research documents, whether they are published or not, for teaching and research institutions in France or abroad, or from public or private research centers.
Abstract: HAL is a multi-disciplinary open access archive for the deposit and dissemination of scientific research documents, whether they are published or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers. L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés. Systèmes mécatroniques à paramètres variables : analyse du comportement et approche du tolérancement Manel Zerelli
TL;DR: This work develops an algorithm to get different sets defined by Aubin based on works of Raczyński on differential inclusion used as a simulation tool and Aubin who introduced impulse differential inclusion as a framework to model hybrid system.
Abstract: Dynamic systems are often modeled by differential equations. A good way to model uncertainty of components is to use differential inclusions. Parameters' variation may be small or large in depends on the nature of problem if it is tolerancing problem or sizing one. Our researches are based both on works of Raczynski on differential inclusion used as a simulation tool and Aubin who introduced impulse differential inclusion as a framework to model hybrid system. We have developed an algorithm to get different sets defined by Aubin. We proceed on an application of an impulse differential inclusion of a mechatronic system modeled by a hybrid automaton.
TL;DR: In this article, Ptolemy II and HLA/CERTI have been developed for co-simulation of cyber-physiques, and the authors propose an environnement de cosimulation permettant la cooperation of deux outils de simulation open source.
Abstract: La conception de systemes cyber-physiques (CPS) est une activite complexe qui requiert l’utilisation de plusieurs methodes et outils pendant le processus de developpement. L’objectif du travail presente est de fournir un moyen de simuler plusieurs types de modeles realises a plusieurs niveaux dans la phase de conception. Nous avons developpe un environnement de co-simulation permettant la cooperation de deux outils de simulation open source : Ptolemy II et HLA/CERTI. Ptolemy II permet la modelisation hierarchique de systemes heterogenes tandis qu’HLA/CERTI permet des simulations distribuees interoperables (parfois en integrant des elements materiels). Dans le papier, nous detaillons les points communs et differences semantiques de la gestion du temps. Trois nouveaux objets Ptolemy : un attribut HlaManager ainsi que deux acteurs, HlaPublisher et HlaSubscriber, ont ete developpes afin de realiser l’interface entre les deux outils de simulation. Une etude de cas est detaillee a la fin du papier.
TL;DR: In this article, the authors introduce the theory of DAE's and the index Linear constant coefficient, linear time varying, and nonlinear index systems, as well as a general linear multistep method.
Abstract: Preface 1. Introduction: why DAE's? Basic types of DAE's applications Overview 2. Theory of DAE's Iintroduction solvability and the index Linear constant coefficient DAE's Linear time varying DAE's Nonlinear systems 3. Multistep methods Introduction DBF convergence BDF methods, DAE's and stiff problems General linear multistep methods 4. One-step methods Introduction Linear constant coefficient systems Nonlinear index one systems Semi-Explicit Nonlinear Index Two systems Order reduction and stiffness Extrapolation Methods 5. Software and DAE's Introduction Algorithms and Strategies in Dassl Obtaining numerical solutions Solving higher index systems 6. Applications. Introduction Systems of rigid bodies Trajectory prescribed path control Electrical networks DAE's arising from the method of lines Bibliography 7. The DAE home page Introduction theoretical advances Numerical analysis advancements DAE software DASSL Supplementary bibliography Index.
TL;DR: The article gives an overview of technologies to distribute the execution of simulation programs over multiple computer systems, with particular emphasis on synchronization (also called time management) algorithms as well as data distribution techniques.
Abstract: Originating from basic research conducted in the 1970's and 1980's, the parallel and distributed simulation field has matured over the last few decades. Today, operational systems have been fielded for applications such as military training, analysis of communication networks, and air traffic control systems, to mention a few. The article gives an overview of technologies to distribute the execution of simulation programs over multiple computer systems. Particular emphasis is placed on synchronization (also called time management) algorithms as well as data distribution techniques.
1,217 citations
"A Contribution for Virtual Prototyp..." refers background or methods in this paper
...the time-stepped pattern, another typical pattern of time management is the event-driven pattern [26]....
[...]
...With the real-time simulations, a mapping function to translate wallclock time to simulation time can be used [26]....
[...]
...The simplest approach to manage logical time in a simulation is to advance time in equal steps [26]....
TL;DR: This chapter discusses Modelica, the Modelica Language, and its applications, which include Discrete Event, Hybrid, and Concurrency Modeling, and related Object-Oriented Modeling Languages.
Abstract: Part I: Introduction. Chapter 1: Introduction to Modeling and Simulation. Chapter 2: A Quick Tour of Modelica. Part II: The Modelica Language. Chapter 3: Classes, Types, and Declarations. Chapter 4: Inheritance, Modifications, and Generics. Chapter 5: Components, Connectors, and Connections. Chapter 6: Literals, Operators, and Expressions. Chapter 7: Arrays. Chapter 8: Equations. Chapter 9: Algorithms and Functions. Chapter 10: Packages. Chapter 11: Annotations, Units, and Quantities. Part III: Modeling and Applications. Chapter 12: System Modeling Methodology and Continuous Model Representation. Chapter 13: Discrete Event, Hybrid, and Concurrency Modeling. Chapter 14: Basic Laws of Nature. Chapter 15: Application Examples. Chapter 16: Modelica Library Overview. Part IV: Technology and Tools. Chapter 17: A Mathematical Representation for Modelica Models. Chapter 18: Techniques and Research. Chapter 19: Environments. Appendix A: Modelica Formal Syntax. Appendix B: Mathematica-style Modelica Syntax. Appendix C: Solutions for Exercises. Appendix D: Modelica Standard Library. Appendix E: Modelica Scripting Commands. Appendix F: Related Object-Oriented Modeling Languages. Appendix G: A Modelica XML Representation. References. Index.
TL;DR: This chapter discusses the HLA, a High Level Architecture for Modeling and Simulation, and its application in Federation Management, which automates the very labor-intensive and therefore time-heavy process of designing and implementing a Federation.
Abstract: 1. Introduction. Why a High Level Architecture for Modeling and Simulation. An HLA Federation Has Software and Data Components. The HLA As a Standard. You Can Run Your Own Federation. 2. The Story Behind the HLA. Introduction. How the HLA Got Started. The Model of Technology Transition. Technology Development. Product Development. Customer Transition. Why Does HLA Progress When Other (Equally) Good Ideas Have Not? 3. An Overview of the HLA. Introduction. The HLA Defines a Software Architecture. The HLA Offers Services in Six Areas. Summary. 4. The Sushi Restaurant Federation. Building a Federation: Beginning an Example. Federation Management: Defining the Federation. The Federation Object Model: A Common Description of the World. Overview of Sharing Data. Sharing Data: More Details. Ownership: Responsibility and Cooperation in Modeling an Entity. Summary. 5. Synchronizing the Federation. Building a Federation: More on the Example. Time Management: Everything in Order. Federation Execution Lifecycle: Coordinating Independent Federates. Requirements Creep Sets In: the Demo Returns. Summary. 6. A Sample Implementation. Introduction. Exactly What Is Implemented. Running the Sample Implementation. Types Common to All Federates. Structure of the Production Federate. The Transport Federate. The Consumption Federate. The Manager Federate. The Viewer Federate. 7. Extending the Federation for a New Purpose. Using the Federation for a New Purpose. Summary. 8. Advanced Topics. Introduction. Zero Lookahead. Approach to Time Management for Optimistic Federates. Save and Restore. Data Distribution Management (DDM). More on How to Use the MOM. Appendix References and Accompanying Website. Index.
TL;DR: This work focuses on the design of a new approximation algorithm that reduces the cost of functional evaluations and yet increases the attainable order higher, and the classical ERK methods.
Abstract: During the last decade, a big progress has been achieved in the analysis and numerical treatment of Initial Value Problems (IVPs) in Differential Algebraic Equations (DAEs) and Ordinary Differential Equations (ODEs). In spite of the rich variety of results available in the literature, there are still many specific problems that require special attention. Two of such, which are considered in this work, are the optimization of order of accuracy and reduction of cost of functional evaluations of Explicit Runge - Kutta (ERK) methods.
Traditionally, the maximum attainable order p of an s-stage ERK method for advancing the solution of an IVP is such that
p(s)
4
In 1999, Goeken presented an s-stage ERK Method of order p(s)=s +1,s>2.
However, this work focuses on the design of a new approximation algorithm that reduces the cost of functional evaluations and yet increases the attainable order higher
U n and Jonhson [94]; and the classical ERK methods. The order p of
the new scheme called Multiderivative Explicit Runge-Kutta (MERK) Methods is such that p(s) 2. The stability, convergence and implementation for the optimization of IVPs in DAEs and ODEs systems are also considered.
Q1. What contributions have the authors mentioned in the paper "A contribution for virtual prototyping of mechatronic systems based on real-time distributed high level architecture" ?
In this paper, the authors present an open source approach for modeling and simulating mechatronic systems based on the high level architecture ( HLA ).
Q2. What future works have the authors mentioned in the paper "A contribution for virtual prototyping of mechatronic systems based on real-time distributed high level architecture" ?
In the future work, the authors will treat the extension presented especially in Sec. 9. The authors plan to manage events taken into account by OpenMASK and benefits from its interactive feature.