Professional Documents
Culture Documents
Mechatronics Modeling With Bond Graphs by Kevin Craig PDF
Mechatronics Modeling With Bond Graphs by Kevin Craig PDF
K. Craig
What is a system?
What is the systems viewpoint?
What is a subsystem? What is a component?
What is a state-determined system?
What is a model?
Why model?
Analysis?
Identification?
Synthesis?
Hydroelectric Plant
Bond Graphs
K. Craig
Bond Graphs
K. Craig
Engineering
System
Investigation
Process
START HERE
Physical
System
System
Measurement
Parameter
Identification
Physical
Model
Mathematical
Model
The cornerstone of
modern engineering
practice !
Measurement
Analysis
Mathematical
Analysis
Comparison:
Predicted vs.
Measured
Design
Changes
YES
Is The
Comparison
Adequate ?
NO
Bond Graphs
K. Craig
Truth Model
Design Model
Hierarchy Of Models
Always Ask: Why Am I Modeling?
Bond Graphs
K. Craig
Bond Graphs
K. Craig
Electro-Pneumatic
Transducer
Bond Graphs
K. Craig
Bond Graphs
K. Craig
Temperature Feedback
Control System:
A Larger-Scale
Engineering System
Desired
Temperature
(set with RV)
RV
Bridge
Circuit
pM
eM
Amplifier
Controller
ElectroPneumatic
Transducer
xV
Valve
TC
Chemical
Process
RC
Actual
Temperature
(measured with
RC)
Bond Graphs
Thermistor
K. Craig
10
K. Craig
11
K. Craig
12
Collection
of
Engineering
Multiports
Generally, when two
subsystems or
components are joined
together physically, two
complementary variables
are simultaneously
constrained to be equal
for the two subsystems.
Bond Graphs
K. Craig
13
K. Craig
14
K. Craig
15
() ()
() ()
= e ( t ) dq ( t ) = f ( t ) dp ( t )
E ( q ) = e ( q ) dq
E ( p ) = f ( p ) dp
K. Craig
16
Tetrahedron
of
State
The only types of
variables that are
needed to model
physical systems
are represented by
the power and
energy variables e,
f, p, and q.
Bond Graphs
K. Craig
17
Bond Graphs
K. Craig
18
Bond Graphs
K. Craig
19
e1 = e2 and f1 = f2
power = e1f1 = e2f2
Bond Graphs
Power Bond
The effort and flow signals
are carried by a single
power bond. The half
arrow indicates the
direction of positive power
transport.
K. Craig
20
K. Craig
21
K. Craig
22
Separately Excited
DC Motor
Efforts are placed either above or to the left of the port lines.
Flows are placed either below or to the right of port lines.
The half arrow indicates the direction of power flow at any instant when
the effort and flow variable are both positive (or both negative).
Bond Graphs
K. Craig
23
Bond Graphs
K. Craig
24
Bond Graphs
A bond graph simply consists of subsystems linked
together by lines representing power bonds.
When major subsystems are represented by words,
then the graph is called a word bond graph.
Such a bond graph establishes multiport
subsystems, the way in which the subsystems are
bonded together, effort and flow variables at the
ports of the subsystems, and sign conventions for
power exchanges.
Ultimately, detailed bond graphs must be substituted
for the multiports designated by words in a word bond
graph. From a sufficiently detailed bond graph, state
equations may be derived.
Bond Graphs
K. Craig
25
Bond Graphs
K. Craig
26
Automotive
Drive Train
A full arrowhead
indicates an active
bond whose
influence on the
system from its
environment
occurs at
essentially zero
power flow.
Bond Graphs
K. Craig
27
Experiment to
determine
what the
motor torque
is at a given
speed.
Bond Graphs
Block Diagram
K. Craig
28
K. Craig
29
K. Craig
30
K. Craig
31
+
Vin
-
Bond Graphs
Real
Voltmeter
Input
Impedance
Rin
Ideal
Voltmeter
K. Craig
32
Input
Impedance
Real
Ammeter
Rin
Iin
Bond Graphs
VR
Ideal Ammeter
K. Craig
33
K. Craig
34
Exercise
Represent an electric drill as a multiport.
Consider the switch position influence as occurring on
an active bond.
Apply causal strokes to your bond graph, assuming
that the drill is plugged into a 100 volt outlet and that
the torque is determined by the material being drilled.
Show a block diagram for the drill corresponding to
your choice of causality at the ports.
Bond Graphs
K. Craig
35
K. Craig
36
Bond Graphs
K. Craig
37
K. Craig
38
1-Port Resistor
Bond Graphs
K. Craig
39
Colon Notation
When the component is assumed to be linear, we
indicate this on the bond graph by appending a colon
next to the component, followed by a label.
Also, because the same type of component usually
occurs more than once in a given system, the colon
: notation is used to distinguish between multiple
instances of each component type. The symbol
preceding the colon refers to the component type,
while the symbol following the colon labels the
particular instance.
R:R1 refers to a R component labeled R1.
Bond Graphs
K. Craig
40
1-Port Resistor
Bond Graphs
K. Craig
41
E ( t ) = e ( t ) f ( t ) dt + E 0
0
E ( q ) = e ( q ) dq + E 0
q0
Bond Graphs
K. Craig
42
1-Port Capacitor
Bond Graphs
K. Craig
43
1-Port Capacitor
Bond Graphs
K. Craig
44
Stored Energy
for a
1-Port Capacitor
Bond Graphs
K. Craig
45
E ( p ) = f ( p ) dp + E 0
p0
Bond Graphs
K. Craig
46
1-Port Inertia
Bond Graphs
K. Craig
47
1-Port Inertia
Bond Graphs
K. Craig
48
Stored Energy
for a
1-Port Inertia
Bond Graphs
K. Craig
49
Tetrahedron
of
State
Bond Graphs
K. Craig
50
Bond Graphs
K. Craig
51
K. Craig
52
Rout
Vs
+
-
Bond Graphs
Output
Impedance
Ideal Voltage
Source
+
Vout
-
Real Voltage
Source
K. Craig
53
Iout
Rout
Output
Impedance
Is
Real Current
Source
Ideal Current
Source
Bond Graphs
K. Craig
54
Linear Systems
Bond Graphs
R e = rf
q
C e=
q = f
c
p
I f=
p = e
m
K. Craig
55
Example
Bond Graphs
K. Craig
56
Bond Graphs
K. Craig
57
Transformers
F = AP
AV = Q
A = piston area
K. Craig
58
e1 = rf 2
rf1 = e 2
e1 ( t ) f1 ( t ) = e 2 ( t ) f 2 ( t )
K. Craig
59
Gyrators
e = TV
Ti = F
K. Craig
60
Modulated Transformer
Displacement-Modulated
Transformer
y = A sin
y = ( A cos ) or Vy = ( A cos )
( A cos ) F =
Bond Graphs
K. Craig
61
K. Craig
62
e1 = ne2
f1 = nf2
Gearbox
n = gear ratio
Bond Graphs
K. Craig
63
K. Craig
64
e2 = kf1
e1 = kf2
DC Motor
k = back emf constant = torque constant
Bond Graphs
K. Craig
65
K. Craig
66
Physical
Interpretation
of
0- and 1-junctions
in several domains
Bond Graphs
K. Craig
67
Basic 3-Ports
0-Junction
1-Junction
Bond Graphs
K. Craig
68
Bond Graphs
K. Craig
69
Examples of Systems
Involving
Basic 3-Ports
Note:
A 0-junction
has only a
single effort
and a 1junction has
only a single
flow,
independent of
the sign
convention.
Bond Graphs
K. Craig
70
0
common-effort
junction
e1 = e2 = e3
f1 f2 f3 = 0
Bond Graphs
1
common-flow
junction
f1 = f2 = f3
e1 e2 e3 = 0
K. Craig
71
Mechanical
Series & Parallel
Components
x 1, v 1
K
f, v
Series Connection
f, v
Parallel Connection
K. Craig
72
Summary
The symbols 0 and 1 are chosen to be neutral with
respect to the physical domain.
Bond Graphs
K. Craig
73
Bond Graphs
K. Craig
74
Bond Graphs
K. Craig
75
Fluid Resistor
Pure and Ideal Fluid Resistor
q=
p 2 p1
Rf
2
p 2 p1 =
q
2
2A1
A2 >> A1
Bond Graphs
K. Craig
76
Bond Graphs
K. Craig
77
dh
Conservation of Mass
dt
ghA
p=
pressure at the tank bottom
= gh
A
q=A
dh 1 dp
=
dt g dt
A dp
=
q
g dt
dp
q = Cf
dt
Bond Graphs
K. Craig
78
In this spring-loaded
accumulator, a spring rather
than gravity provides the
pressure increase. A volume
flow rate entering the bottom of
the tank causes the spring to
compress a distance x. This
increases the pressure p in the
tank.
dx
dt
kx
p=
A
q=A
Conservation of Mass
pressure in the tank
dx A dp
=
dt k dt
A 2 dp
q=
k dt
dp
q = Cf
dt
Bond Graphs
K. Craig
79
1
E = Cf p 2
2
Fluid Inductor
A mass of fluid is quite similar to a solid mass in
motion. The fluid mass has inertia and a force is
required to accelerate or decelerate the fluid.
Consider an ideal (no viscosity
and hence no friction forces)
incompressible fluid in an
unsteady (flow velocity is not a
constant) flow through a pipe.
Bond Graphs
K. Craig
80
K. Craig
81
Bond Graphs
K. Craig
82
K. Craig
83
Bond Graphs
K. Craig
84
K. Craig
85
Integral causality
Derivative causality
Bond Graphs
K. Craig
86
Derivative causality
Integral causality
Bond Graphs
K. Craig
87
K. Craig
88
Bond Graphs
K. Craig
89
Bond Graphs
K. Craig
90
K. Craig
91
Bond Graphs
K. Craig
92
Block Diagrams
for
1-Ports
Bond Graphs
K. Craig
93
Block Diagrams
for
2-Ports
Bond Graphs
K. Craig
94
Block Diagrams
for
3-Ports
Bond Graphs
K. Craig
95
System Causality
RCI System
Bond Graphs
K. Craig
96
K. Craig
97
Interconnected
Drive Train
Model:
Bond Graph
and
Block Diagram
Bond Graphs
K. Craig
98
Exercises
Draw block diagrams for the following bond graphs ,
assuming that all 1-ports are linear.
Bond Graphs
K. Craig
99
System Models
We are now ready to model the world armed with our
bond-graph arsenal of C, I, R, Se, Sf, 0, 1, TF, and GY.
However, it is not true that every system you may
encounter will be reducible to a simple bond graph. But
the number of physical systems which can be
represented by a bond graph is amazingly very large.
We initially will look at single-energy-domain systems,
i.e., systems that involve only one type of power, e.g.,
electrical, mechanical, hydraulic.
Devices involving two or more types of power have
transducer elements coupling the different energy
domains.
Bond Graphs
K. Craig
100
Electrical Systems
Any electrical circuit can be modeled by a bond graph
containing elements of the set {0, 1, C, I, R, Se, Sf}.
Notice that the elements TF and GY are not included. That
is because these elements are properly used in
representing electrical networks, a more general class than
circuits.
First we will model circuits, then networks.
So the question is how do we use the junction elements to
construct an overall bond graph model of an electrical
circuit. Sometimes for simple circuits it is easy to
recognize that some elements have the same current
(flow) and others have the same voltage (effort). For these
circuits, bond graph construction can be accomplished by
inspection.
Bond Graphs
K. Craig
101
Bond Graphs
K. Craig
102
K. Craig
103
K. Craig
104
K. Craig
105
K. Craig
106
Bond Graphs
K. Craig
107
Step 1
Step 2
Bond Graphs
K. Craig
108
Step 3
Step 4
Bond Graphs
K. Craig
109
Step 5
Bond Graphs
K. Craig
110
Exercise
Consider the Wheatstone bridge. This circuit is
typically used with strain gages as the resistive
elements, R1 through R4, and the voltage across the
load resistance, RL, is the output that is indicative of
any change in the bridge resistances.
Step 1 is completed. Construct the bond graph.
Bond Graphs
K. Craig
111
Bond Graphs
K. Craig
112
Electrical Networks
An electrical network is an extension of electrical circuits
to include transformers and gyrators.
An electrical transformer is a common electromagnetic
device used to step voltages up or down while doing the
opposite to current.
Electrical gyrators are exhibited in Hall effect transducers
where voltage across a semiconductor material is related
to a current through the material perpendicular to the
voltage drop direction.
The basic rules for bond graph construction remain
unchanged.
Bond Graphs
K. Craig
113
Bond Graphs
K. Craig
114
Bond Graphs
K. Craig
115
Bond Graphs
K. Craig
116
Bond Graphs
K. Craig
117
State-Space Equations
Bond graphs are an acausal representation. By
assigning a causal stroke to each bond, a causal
representation can be generated.
The causally complete model can be converted into
other causal representations such as state-space
equations and block diagrams.
The causal strokes on a bond graph provide sign posts
to guide the generation of state-space equations and
block diagrams. State-space equations can be
generated by hand.
Bond Graphs
K. Craig
118
Causal Assignment
Abstracting the physical system as an acausal bond
graph provides a complete description of the
corresponding model.
There are many ways of representing the system as a
set of equations. The state-space representation for
system analysis and simulation is preferred.
For proper causal completion, which will result in a
set of explicit assignment statements, it is necessary
that exactly one bond impose a flow on each 1
junction.
Similarly, exactly one bond must impose an effort on
each 0 junction.
Bond Graphs
K. Craig
119
K. Craig
120
Bond Graphs
K. Craig
121
Steps:
Identify the states
The system states are the
integrated flows q associated
with C components and the
integrated efforts p associated
with the I components, in integral
causality. Here, they are q1 and
p1.
p1
f1 =
m1
f c = f o f1
dp1
= em
dt
e m = eo e r e1
eo =
q1
p
e r = r1f1 = r1 1
c1
m1
dq1
p1
= f0
dt
m1
dp1 q1
p1
= r1
e1
dt c1
m1
e0 =
q1
c1
K. Craig
122
Bond Graphs
K. Craig
123
Bond Graphs
K. Craig
124
Bond Graphs
K. Craig
125