Professional Documents
Culture Documents
Karnopp 1977
Karnopp 1977
Karnopp 1977
Graph Systems
The standard means of imposing causality to extract state equations for bond graph
DEAN KARNOPP models of physical systems can be inconvenient when algebraic loops and derivative
Department of Mechanical Engineering,
causality in combination with nonlinear constraints are present. This paper presents
University of California, an alternative means of writing system differential equations using energy and coenergy
Davis, Calif. state functions and Lagrange's equations. For certain types of systems, particularly
mechanical and electromechanical systems, this indirect means of finding state equa-
tions turns out to be very convenient. In this technique, causality is used in a new way
to establish generalized coordinates and generalized efforts for nonconservative elements.
Finally, it is shown that in some cases in which a Lagrangian can be written by inspec-
tion for a complex mechanism, a detailed bond graph for this component is unnecessary
and yet the equations of the mechanism can be easily coupled to the bond graph equations
for the remainder of the system.
= &oi(*o(0 - gi) - &n(gi - g»). (17) In Fig. 2(c) the basic bond graph is shown with some of the
physical variable symbols from reference [4]. In Fig. 2(d),
This determination of Ei proceeds exactly in the way one uses
the artificial flow sources have been added, and the bonds are
to write state equations for bond graphs which have causality
applied normally, [3], except one must simply neglect effort
components from elements already represented by state func-
tions.
In a similar way, E% is found. AAIL
Refe t-ence Line- 3
Ei = eiB + en = E0(t) + eM = Ea(t) + en,
M = ^<t> (21)
1 ft J. 1/ [ti°AN2~\ /a 2
, ., r I*AN* "I 2
A m?22 + Va ?i , (26)
|_ 2(g, - gift)) _
T^i - /""=• force
7 = 0, (27) Fig. 3(a) Schematic diagram
Bi = e» - e^ = U(t) - Rqi, (28)
E, = 0. (42)
Ei = 0. (43)
T* = 'A hfr + »A h(<i> cos 6 - i/02
The equations of motion are then
1
Lqi - T6y = E(t) - Rqi, (44)
/ih6* + iuh{<l> sin ey
+ V> M {(Ldy + (L • sin <M) 2 ]. (48)
J&i + Tqi + kt(6i - 6) = - b0i, (45)
V = mg(- LcoaB), (49)
mr'B + ImrrB + kt(8 - 0i) = 0, (46)
which takes care of t h e gravity force. The bond graph does aid
mf — mrB2 + k,(r — r 0 ) = 0, (47)
in writing the generalized efforts associated with friction at the
where the derivation can be simplified by recognizing t h a t the 6 and § joints. The remainder of the state functions and the
kinetic coenergy terms in equation (38) naay be reduced to generalized efforts are derived from the bond graph exactly as
Vs m(r* -f r2$2) by the use of trigonometric identities. in the previous examples. Using equations (48) and (49), the
complex nonlinear equations due to the three-dimensional rigid
E Example With Rigid Bodies. The algebraic difficulties which body motion are readily found by applying the mechanics of
arise even in plane motion of a particle as in the previous ex- Lagrange's equations.
ample are compounded when rigid bodies can move in three
dimensions. Fig. 5 shows a system in which the lower disk
can move in a complicated way. A detailed bond graph can be
V Conclusions and a Word of Caution
made for this system (see reference [3], p. 393 for a similar Lagrange's equations which were originally derived for me-
example) but when causality is applied in the normal manner, chanical systems can be usefully applied t o any system anal-
derivative causality and nonlinear algebraic loops complicate ogous t o a mechanical system. As demonstrated, bond graphs
the writing of the state equations to such a degree t h a t an easier provide a convenient way to establish generalized coordinates,
alternative method is highly desirable. generalized forces and to compute state functions for a wide
As was perhaps obvious in the previous example, it may be variety of physical systems. T h e normal techniques for writing
possible to write state functions for the mechanical part of a first-order state equations from bond graphs are occasionally
system without using the bond graph at all. Thus, in Fig. 5(6), awkward due to algebraic difficulties and t h e quite different
the mechanical part of the system has simply been represented causalities associated with Lagrange's equations often provide
by the word "Mechanism" and three ports representing inter- a more convenient alternative route to system equations. These
actions associated with the three generalized coordinates, 6, $ , equations will be n second-order equations and for some pur-
and x. The remainder of t h e system, which is hard to show in a poses will need to be converted to first-order equations.
sketch, is readily represented by normal bond graph elements. There are many possible sets of generalized coordinates, dis-
In order to write the equations of motion for such a system placements, momenta, and mixtures of displacements and mo-
it is convenient to write Lagrange's equations for the entire menta. We have only discussed the traditional displacement
system. As the bond graph of Fig. 5(6) shows, artificial sources coordinates since they will work for geometrically nonlinear
are readily added as in previous examples and Lagrange's equa- mechanical systems. The idea of representing the complicated
tions will apply without difficulty. T h e only skill required mechanical parts of a system by means of a sketch and energy
beyond t h a t exhibited in previous examples is the ability to and coenergy expressions and the rest by conventional bond
write T* and V for the mechanical system components directly graph elements as in Fig. 5 is particularly attractive. There is
from the sketch in Fig. 5(a). In this case the results are as probably no better way to derive equations of motion for such
follows: a system although one pays for this convenience by t h e lack