Bond Graphs of The Electrical ELC Circuit
Bond Graphs of The Electrical ELC Circuit
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
The language of bond graphs aspires to express general
2.2. Bond Graph Construction
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
2.1. Description of the Model (SE:uz), a resistor R (R:R1, R:R2), an inductor I (I:L1, I:L2,)
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).
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 i2 i2 i2 i5 1
- ∑
rozvetvovací uzol pre toky
+∑ -R2
i1 -rozvetvovací uzol pre úsilia i
i1 -i 2 +i
3 4 u3
SEu =u
Z1 u2 u2 u2 u2 u u3
∑+ ∑ -3
u2 + u3
- + u23 i
u12 4
R1L 1 L2 C
i1u2 i2 u3
i1 i2 i2 i2 i51
∑
-- +∑ - R2
i +i
- rozvetvovací
i3
uzol pre úsilia 2
4 u3
u =u
Z1 u2 uu22 u2 u u3
SE ∑+ u2 +∑ - 3 u3
- + u23 i
u12 4
R1 L1 L2 C
i1 u2 i2 u3
Figure 9. The block diagram and line signal direction with ideal source the effort uZ
1
u23 ∫ Φ(t) i(t) . t
u23 u23
i
I:L I
i i 1
L
i
u12 u12
i
R:R R R u (t) R . i t
i
i u12
i
u12 u12
i
R:R R R u (t) R . i t
i
i u12
u3 i t
u3 1
u3
C:C C 1
C ∫ u (t) . Q t Q t i d
i i Q(t)
Figure 10. Bond graph expanded to a block diagram: a) with source effort voltage uz and b) with ideal source uz
i1 i2 i3 ,
1
u2 , (2) i i i , (8)
dt 2 4 5
d 2 t 1
i3 . 1 t (9)
u , (3)
dt
23 ,
L1
dQ t i2
1
. 2 t
i , (4) (10)
,
4
dt L2
where state variables Φ1(t), Φ2(t) and Q(t) are magnetic
flux and electric charge respectively. u12 R1 . i1 (11)
,
Now we rewrite variable parameters from Figure 9 and 1
i5 . u3 , (12)
Figure 10 to equations: R2
1
u3 . Q(t), 2.5. State Space Equation in Matlab/Simulink
C (13)
Solution of the non-homogenous system of differential
After substitution we get: equations of a mechanical system with two degrees of
1 freedom in Figure 11, is done in Matlab/Simulink using
d 1 t 1 t R . t u (14) State-Space. The most general state-space representation
. R . . ,
1 1 1
L2
2 1 of a linear system with u(t) inputs, y(t) outputs and n state
dt L1 variables is written in the following form:
d 2 t 1 1 1
R . . t R . t .Qt u , x t A . x t B. (25)
(15) u t ,
. 1
dt
1 1 2 1
L L C
1 2
dQ t 1 1 1 yt C. xt D. ut (26)
.
. .Qt .2 t , (16) where A, B, C, D are the respective matrices of the
dt
L
R2 C 2
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:
d t
R1 . R1 . L 0
1
1 2 t 1
dt 1
d 2 t R .
1 1 . t 1 . u (17)
1 R .
1
dt L
1
L 2 1
C
1 2 Q t 0
dQ t
1 1 1
dt
0 .
L2 C Figure 11. The block diagram in Simulink
R2