Bond Graphs of The Electrical RLC Circuit: Keywords
Bond Graphs of The Electrical RLC Circuit: Keywords
Bond Graphs of The Electrical RLC Circuit: Keywords
7, 318-323
Available online at http://pubs.sciepub.com/ajme/1/7/33
© Science and Education Publishing
DOI:10.12691/ajme-1-7-33
Department of applied mechanics and mechatronics, Technical University of Košice / Faculty of mechanical engineering, Košice,
Slovakia
*Corresponding author: [email protected]
Received October 21, 2013; Revised November 01, 2013; Accepted November 22, 2013
Abstract The work shows the use of Bond Graph formalism for modeling dynamic systems. As an example a
electrical model is solved by this approach at the level of its physical behavior. In contrast with the classical method,
where the equations for individual components are created first and then the simulation scheme is derived on their
basis, the described method uses the reverse procedure. In this paper the method of generation of system equations is
discussed. From a bond graph diagram of the system, using a step-by-step procedure, system equations may be
generated. As a starting point a model of a simple electrical RLC circuit consisting of a resistor, an inductor, and a
capacitor is taken. The differential equations describing the dynamics of the system are obtained in terms of the
states of the system.
Keywords: mechatronics, bond graphs, energy modeling, modeling dynamic systems
Cite This Article: Darina Hroncová, and Alexander Gmiterko, “Bond Graphs of the Electrical RLC Circuit.”
American Journal of Mechanical Engineering 1, no. 7 (2013): 318-323. doi: 10.12691/ajme-1-7-33.
1. Introduction capacitor. The RLC part of the name is due to those letters
being the usual electrical symbols for resistance,
The concept of bond graphs was originated by Paynter inductance and capacitance respectively [11].
(1961). The idea was further developed by Karnopp and
Rosenberg in their textbooks (1968, 1975, 1983, 1990),
such that it could be used in practice (Thoma, 1975; Van
Dixhoorn, 1982). By means of the formulation by
Breedveld (1984, 1985) of a framework based on
thermodynamics, bond-graph model description evolved
to a systems theory [1-7].
A causal bond graph contains all information to derive
the set of state equations. The procedure to derive these
equations is covered by bond graph software like Enport
(Rosenberg, 1974), MS1 (Lorenz, 1997), CAMP (Granda,
1985), and 20-SIM (Broenink, 1990, 1995, 1997, 1999;
Broenink and Kleijn, 1999). Therefore, in practice,
generation of equation need not be done by hand.
However, we discuss the generation of equations to
indicate what exactly has to be done. Figure 1. Electrical system: a) electrical model of RLC system; b)
reference voltage uref with positive direction; c) efforts (voltages) with
unique names u1, u2, u3
2. Bond Graph of the Electrical System
2.2. Bond Graph Construction
The language of bond graphs aspires to express general
class physical systems through power interactions. The We have discussed the basic bond-graph elements and
factors of power i.e., effort and flow, have different the bond, so we can transform a domain-dependent ideal-
interpretations in different physical domains. Yet, power physical model, written in domain-dependent symbols,
can always be used as a generalized coordinate to model into a bond graph. For this transformation, there is a
coupled systems residing in several energy domains. systematic procedure, which is presented here. This
electrical system contains a voltage source effort SE
(SE:uz), a resistor R (R:R1, R:R2), an inductor I (I:L1, I:L2,)
2.1. Description of the Model and a capacitor C (C:1/C).
To demonstrate the bond graph methodology as an Step 1 – Determine which physical domains exist in the
example an electrical model of RLC system is analyzed in system and identify all basic elements like C (capacitor), I
Figure 1 a). An RLC circuit (or LCR circuit) is an (inductor), R (resistor), SE (source of the effort), SF
electrical circuit consisting of a resistor, an inductor, and a (source of the flow), TF (transformer) and GY (gyrator).
American Journal of Mechanical Engineering 319
This system contains a electrical domain part with the A junction between two bonds can be left out, if the
inductance L of the inductor (I:L), the resistance R of the bonds have a through power direction (one bond incoming,
resistor (R:R) and a capacity of the capacitor C (C:C). the other outgoing). A bond between two the same
Voltage uz is considered as an effort source (SE: uz). junctions can be left out, and the junctions can join into
Step 2 – Indicate in the ideal-physical model per one junction. Two separately constructed identical effort
domain a reference source – effort voltage uref (reference or flow differences can join into one effort or flow
voltage with positive direction) in Figure 1 b). difference.
The references are indicated in the ideal physical model: Step 9 – Determine the signal direction and causality in
the ideal velocity uref = 0. Figure 4 b). Causality establishes the cause and effect
Step 3 – Identify all other efforts (voltages) and give relationships between the factors of power.
them unique names u1, u2, u3, Figure 1 c).
Step 4 – Draw these efforts (electrical: voltages),
graphically by 0-junctions in Figure 2 a).
i1 i1 i i2 i2 i5 1
- ∑ -2 + ∑ - R2
rozvetvovací uzol i
i1 1
- i2
pre toky
i3
rozvetvovací uzol
pre úsilia + i4 u3
uZ=u1 u2 u2 u2 u2 u3 u3
SE ∑ + ∑ -
u2 + u3
- +u i4
u12 23
R1 L1 L2 C
i1 u2 i2 u3
Figure 8. The block diagram with the line signal direction
i1 i i2 i2 i5 1
- ∑ -2 + ∑ - R2
- i2
i3
rozvetvovací uzol
pre úsilia + i4 u3
uZ=u1 u2 u2 u2 u2 u3 u3
SE ∑ + ∑ -
u2 + u3
- +u i4
u12 23
R1 L1 L2 C
i1 u2 i2 u3
Figure 9. The block diagram and line signal direction with ideal source the effort uZ
The procedure to obtain a signal flow graph is nodes, as signal nodes can be distinguished from signal
completely analogous to the above procedure as all summation points by observing the signal directions
operations represented by blocks, including the signs of (signal node has only one input, summation has only one
the summations, are combined as much as possible and output).
then written next to an edge, while all summations become
American Journal of Mechanical Engineering 321
1
u 23
∫
Φ(t) i (=
t) . Φ (t )
u 23 L
u 23
I:L I t
∫ u (τ ) dτ
Φ (t ) =
i
i
i 1
L t0
i
u 12
u 12 i
R:R R R u (t ) = R . i ( t )
i
i u12
i
u 12
u 12 i
R:R R R u (t ) = R . i ( t )
i
i u12
u3
u3 i t
u3 1
C:C C 1
∫ u (t ) = . Q (t ) Q (t ) = ∫ i (τ ) dτ
i C C
i t0
Q(t)
Figure 10. Bond graph expanded to a block diagram: a) with source effort voltage uz and b) with ideal source uz
d Φ2 (t ) 1
= u23 , (3) =
i3 . Φ1 ( t ) , (9)
dt L1
d Q (t ) 1
= i4 , (4) =
i2 . Φ2 (t ) , (10)
dt L2
where state variables Φ1(t), Φ2(t) and Q(t) are magnetic u12 = R1 . i1 , (11)
flux and electric charge respectively.
1
Now we rewrite variable parameters from Figure 9 and i5 = . u3 , (12)
Figure 10 to equations: R2
322 American Journal of Mechanical Engineering
u3 =
1
. Q(t ) , (13)
2.5. State Space Equation in Matlab/Simulink
C Solution of the non-homogenous system of differential
After substitution we get: equations of a mechanical system with two degrees of
freedom in Figure 11, is done in Matlab/Simulink using
d Φ1 ( t ) 1 1
= R1 . . Φ1 ( t ) + R1 . . Φ 2 ( t ) + u1 , (14)
State-Space. The most general state-space representation
dt L1 L2 of a linear system with u(t) inputs, y(t) outputs and n state
variables is written in the following form:
d Φ2 (t ) 1 1 1
= R1 . . Φ1 ( t ) + R1 . . Φ 2 ( t ) + . Q ( t ) + u1 , (15) x ( t ) A . x( t ) + B. u( t ) ,
= (25)
dt L1 L2 C
y ( t ) C. x( t ) + D. u( t ) .
= (26)
dQ ( t ) 1 1 1
= . . Q( t ) − . Φ 2 ( t ) , (16)
dt R2 C L2 where A, B, C, D are the respective matrices of the
mechanical system defined as follows:
and in matrix form: We determine the matrix and block diagram in
1 1 Matlab/Simulink shown in Figure 11:
R1 . L R1 . 0
d Φ1 ( t ) 1 L2
dt
Φ1 ( t ) 1
d Φ2 (t ) 1
R . 1 . Φ 2 ( t ) + 1 . u1 (17)
1
=
R1 .
1 L1 C
dt
L2
Q ( t ) 0
d Q (t )
dt 1 1 1
0 − .
L2 R2 C Figure 11. The block diagram in Simulink
[2] Breedveld, P., C. Modeling and Simulation of Dynamic Systems [8] Hroncová, D., 2012. Studies of compatible software tools for
Using Bond Graphs, http://eolss.net. abstract and concrete design of mechatronic systems and linking
[3] Broenink, J., F. Introduction to Physical Systems Modelling with them for the purpose of logical and physical modeling,
Bond Graphs, http://www.ce.utwente.nl. Dissertation thesis, Košice, Slovakia.
[4] Virgala, I., Frankovský, P., Kenderová, M.: Friction Effect [9] Karban, P., 2006. Výpočty a simulace v programech Matlab a
Analysis of a DC Motor. In: American Journal of Mechanical Simulink. Computer Press, Brno, Česko.
Engineering. 2013. Vol. 1, no. 1 (2013), p. 1-5 [10] Gmiterko, A., 2004. Mechatronics, Emilenia, Košice, Slovakia.
[5] Karnopp, D., C., Margolis, D., L., Rosenberg, R., C., 2005. [11] Vittek, J., 1997. Matlab pre elektrické pohony, Nakladateľstvo
Modeling and simulation of mechatronic systems. John Willey & Žilinskej univerzity, Žilina, Slovensko, p. 35-36.
Sons, Inc., Hoboken, New Jersey. [12] Ogatha, K., 1978. System Dynamics. Prentice Hall, Inc.,
[6] Horáček, P., 1999. Systems and models, Nakladatelství ČVUT, Englewood Cliffs, New Jersey.
Praha, Česko. [13] Delyová, I., Frankovský, P., Hroncová, D., 2011. Kinematics
[7] Gmiterko, A., Šarga, P., Hroncová, D., 2012. Mechatronika I, analysis of movement of a point of a simple mechanism, In:
Technická univerzita Košice, Košice, Slovakia. Modelling of mechanical and mechatronic systems 2011, The 4th
International conference, TU Košice, Herľany, Slovakia.