Annals of DAAAM for 2011 & Proceedings of the 22nd International DAAAM Symposium, Volume 22, No. 1, ISSN 1726-9679 ISBN 978-3-901509-83-4, Editor B. Katalinic, Published by DAAAM International, Vienna, Austria, EU, 2011 Make Harmony between Technology and Nature, and Your Mind will Fly Free as a Bird Annals & Proceedings of DAAAM International 2011 PHYSICAL MODELING AND SIMULATION OF MECHATRONICS SYSTEMS BY ACAUSAL BOND GRAPHS DAMIC, V[jekoslav]; COHODAR, M[aida] & KULENOVIC, M[alik] Abstract: Modeling of complex mechatronics systems consisting of subsystems from different physical domains and interacting by power exchange requires a systematic multidisciplinary approach. This paper presents how model of such complex real systems can be effectively developed using acausal bond graphs. The focus is devoted to describing a systematic procedure for building model based on component model approach. The bond graph models can be developed as a tree of component models. The mathematical model is generated in the form of a system of differential-algebraic equations (DAEs) and solved using a suitable solver. Proposed approach is realized using integrated modeling and simulation environment of software BondSim. Two numerical examples are considered to confirm the efficiency of the described approach. Key words: mathematical modeling, object-oriented approach, differential-algebraic equations, bond graphs 1. INTRODUCTION Modeling and simulation becomes a powerful tool in the product design. Today’s trends in mechatronics lead to integration of electronics and computer control with mechanical subsystems. Engineering systems typically consist of components involving power interaction. In such contexts the bond graphs play important role, providing a sound basis for developing multi-domain models. They graphically represent the power flow through the system. Painter’s idea of the bond graphs were developed and applied by many researchers (Karnopp et al., 2000; Cohodar et al., 2009). This paper presents general methodology of modeling and simulation of complex engineering systems using bond graphs in acausal form (Damic & Montgomery, 2003). An alternative approach could be based on Modelica language (Fritzson, 2004). 2. COMPONENT MODEL APPROACH The essence of approach to modeling described in this paper is system decomposition and the concept of the component models. A component word model represents a component graphically by its name and ports (power and control). Ports are places at the component boundary where components interact with other components or environment. Components are joined by bond lines. The bond graphs enable systematic development of a model in form of a tree of the component models. The leaves of the tree are elementary components that model basic physical processes in a unique way in the system. There are nine elementary components: Inertial (I), Capacitive (C) and Resistive (R) components, Source Effort (SE) and Source Flow (SF), Transformers (TF) and Gyrators (GY), Efforts (1) and Flow junctions (0). The elementary components are used to model basic physical processes based on suitable physical analogy. Each process is described by pairs of effort and flow variables, commonly termed the power variables, because their product is power delivered. The modeling methodology is implemented as computer visual modeling environment BondSim (developed by the first author). It supports systematically model development and mathematical model is automatically generated using symbolic manipulation routines. 3. GENERATION OF MATHEMATICAL MODEL In contrary to the common praxis in bond graphs, in the approach described here the causalities are not considered, following the praxis in other modeling languages such as Modelica, VHDL and others. The bond graph method is based on velocity formulation resulting in the mathematical models in the form of differential-algebraic equations (DAEs) of index two or less, which are solved using a backward differentiation formula (BDF) method. The implementation of BDF in BondSim program is similar to DASSL, but there are some differences. Unlike DASSL that uses a fixed coefficient version of BDF, the BondSim is based on the variable coefficient form. In this way more stabile and robust DAEs solver was achieved, but at expense of more frequent re-evaluation of the partial-derivative matrices. It can deal also with discontinuous models found in many applications. More details on the methods used can be founded in (Damic & Montgomery, 2003). 4. NUMERICAL EXAMPLES 4.1 Driven rotating beam To clearly demonstrate physical modeling with bond graphs and applied component model approach, the torque driven rotating beam, shown in Fig.1, is taken as the first example. Bond graph model of the rotating beam is depicted in the middle bottom of Fig. 2. The driving torque is represented by source effort SE on the left bottom in the figure, and model of the tip mass is shown on the bottom right. The rotation beam is discretized by ten finite elements (Damic, 2003) as shown in two pictures on the top of the Figure. Material and geometrical parameter are taken from (Cai at al., 2003). The length is L=1.8 m, the cross sectional area is A=2.5e-4 m 2 , the mass density is =2766 kg/m 3 , the second moment of inerta is I=1.3021e-10 m 4 , the modulus of elasticity is E=6.9e10 N/m 2 . The radius of the hub is 0.05 m and its rotary inertia is 0.30 kgm 2 . The tip mass is 0.085 kg. Two simulations were carried out, with T 0 =1Nm and T 0 =7 Nm, respectively. Fig. 1. The rotating beam with driving torque 0247