Title: System Analysis through Bond Graph Modeling
1System Analysis through Bond Graph Modeling
- Robert McBride
- May 3, 2005
2Overview
- Modeling
- Bond Graph Basics
- Bond Graph Construction
- Simulation
- System Analysis
- Efficiency Definition and Analysis
- Optimal Control
- System Parameter Variation
- Conclusions
- References
3Modeling Bond Graph Basics
- Bond graphs provide a systematic method for
obtaining dynamic equations. - Based on the 1st law of thermodynamics.
- Map the power flow through a system.
- Especially suited for systems that cross multiple
engineering domains by using a set of generic
variables. - For an nth order system, bond-graphs naturally
produce n, 1st-order, coupled equations. - This method easily identifies structural
singularities in the model. Algebraic loops can
also be identified.
4Modeling Bond Graph Basic Elements
- The Power Bond
- The most basic bond graph element is the power
arrow or bond. - There are two generic variables associated with
every power bond, eeffort, fflow. - ef power.
5Modeling Bond Graph Basics
- effort/flow definitions in different engineering
domains
Effort e Flow f
Electrical Voltage V Current A
Translational Force N Velocity m/s
Rotational Torque Nm Angular Velocityrad/sec
Hydraulic Pressure N/m2 Volumetric Flow m3/sec
Chemical Chemical PotentialJ/mole Molar Flowmole/sec
Thermodynamic TemperatureK Entropy FlowdS/dt W/K
6Modeling Bond Graph Basic Elements
- Power Bonds Connect at Junctions.
- There are two types of junctions, 0 and 1.
7Modeling Bond Graph Basic Elements
- I for elect. inductance, or mech. Mass
- C for elect. capacitance, or mech. compliance
- R for elect. resistance, or mech. viscous
friction - TF represents a transformer
- GY represents a gyrator
- SE represents an effort source.
- SF represents a flow source.
8Modeling Bond Graph Construction
This bond graph is a-causal
9Modeling Bond Graph ConstructionCausality
- Causality determines the SIGNAL direction of both
the effort and flow on a power bond. - The causal mark is independent of the power-flow
direction.
10Modeling Bond Graph ConstructionIntegral
Causality
Integral causality is preferred when given a
choice.
11Modeling Bond Graph ConstructionNecessary
Causality
5
4
0
1
1
11
3
13
2
12
f
e
Efforts are equal
Flows are equal
e1 e3 e4 e5 e2
f11 f13 f12
12Modeling Bond Graph Construction
RR1
RR2
SE
0
1
1
SineVoltage1
CC1
IL1
This bond graph is Causal
13Modeling Bond Graph Construction From the System
Lagrangian
- Power flow through systems of complex geometry is
often difficult to visualize. - Force balancing methods may also be awkward due
to the complexity of internal reaction forces. - It is common to model these systems using an
energy balance approach, e.g. a Lagrangian
approach.
Question Is there a method for mapping the
Lagrangian of a system to a bond graph
representation?
14Modeling Lagrangian Bond Graph Construction
- Assume that the system is conservative.
- Note the flow terms in the Lagrangian. The
kinetic energy terms in the Lagrangian will have
the form ½ I f 2 where I is an inertia term
and f is a flow term. - Assign bond graph 1-junctions for each distinct
flow term in the Lagrangian found in step 2. - Note the generalized momentum terms.
- For each generalized momentum equation solve for
the generalized velocity.
15Modeling Lagrangian Bond Graph Construction
(cont.)
- Note the equations derived from the Lagrangian
show the balance of efforts around each
1-junction. - If needed, develop the Hamiltonian for the
conservative system. - Add non-conservative elements where needed on the
bond graph structure. - Add external forces where needed as bond graph
sources. - Use bond graph methods to simplify if desired.
16Modeling Lagrangian Bond Graph, Gyroscope
Example
17Modeling Lagrangian Bond Graph, Gyroscope
Example
- The system is already conservative.
- Rewrite the Lagrangian to note the flow terms.
- Form 1-junctions for ?, ?, and f.
- Generalized momentums are
.
.
.
18Modeling Lagrangian Bond Graph, Gyroscope
Example
- Solve for the generalized velocities.
19Modeling Lagrangian Bond Graph, Gyroscope
Example
- Complete Lagrange Equations
.
.
Note Pf Cross Terms
20Modeling Lagrangian Bond Graph, Gyroscope
Example
.
.
21Overview
- Modeling
- Bond Graph Basics
- Bond Graph Construction
- Simulation
- System Analysis
- Efficiency Definition and Analysis
- Optimal Control
- System Parameter Variation
- Conclusions
- References
22Common Bond Graph Simulation Flow Chart
Question Does Such a Simulation Environment
Exist?
Bond Graph Construction
Equation Formulation
Simulation Environment
Simulation Code Development
Model Analysis through Simulation
23The Dymola Simulation Environment
- Dymola/Modelica provides an object-oriented
simulation environment. - Dymola is very capable of handling algebraic
loops and structural singularities. - Dymola does not have any knowledge of bond graph
modeling. A bond graph library is needed within
the framework of Dymola.
24The Dymola Bond Graph Library
- The bond graph library consists of a Dymola model
for each of the basic bond graph elements. - These elements are used in an object-oriented
manner to create bond graphs.
25The Dymola Bond Graph Library Bonds
26The Dymola Bond Graph Library Junctions
27The Dymola Bond Graph Library Passive Elements
28The Dymola Gyroscope Bond Graph Model
29The Dymola Gyroscope Bond Graph Model
30Gyroscopically Stabilized Platform
31Gyroscopically Stabilized Platform with Mounted
Camera
32Overview
- Modeling
- Bond Graph Basics
- Bond Graph Construction
- Simulation
- System Analysis
- Efficiency Definition and Analysis
- Optimal Control
- System Parameter Variation
- Conclusions
- References
33System Analysis Servo-Positioning System
34System Analysis Motor Dynamics
35System Analysis Fin Dynamics
36System Analysis Backlash Model
37System Analysis Servo Controllers
Control Scheme 1
Control Scheme 2
38System Analysis Servo Step Response
39System AnalysisController Efficiency Definition
- By monitoring the output power and normalizing by
the input power an efficiency calculations is
defined as - Bond graph modeling naturally provides the means
for this analysis.
40System Analysis Servo Step Response Efficiency
41System AnalysisController Efficiency
- The power flow through a bond graph model of the
plant can be used to compare the effectiveness of
different control schemes regardless of the
architecture of the controller design, and
without limiting the analysis to linear systems.
Question Can the controller efficiency be used
to measure optimality of controller gain
selection?
42System Analysis Missile System
43System Analysis Missile System Bond Graph
44System Analysis Missile System 3-Loop Autopilot
45System Analysis Missile System Dymola Model
46Missile System Analysis Performance Index
Minimization
Linear Constraints
47Missile System Analysis Performance Index
Minimization
a
d
.
? q
48Sample Optimal Control Gains and Response
49Sample Optimal Gain Efficiency
50System AnalysisController Efficiency
- The efficiency signal can be used as a benchmark
when comparing efficiencies of different gain
selections. - Constraint violation is assumed when the
efficiency signal is more proficient than the
benchmark.
Question How do the efficiency signals compare
against an optimal control autopilot such as an
SDRE design?
51System Analysis Missile System Dymola Model
52System AnalysisAutopilot Response Comparison
53System Analysis Varying Mass Parameter
Efficiency
- Often a systems mass parameters change as parts
replacements are made. - The autopilot gain selection, chosen with the
original mass parameters, may no longer be valid
for the changed system. - The efficiency signal can be used to determine if
a controller gain redesign is necessary.
54System AnalysisMass Parameter Variations
55System AnalysisMass Parameter Variations
56Conclusions
- A method for creating a bond graph from the
system Lagrangian was provided. - A Dymola Bond Graph Library was constructed to
allow system analysis directly from a bond graph
model. - A controller efficiency measurement was defined.
- The controller efficiency measurement was used to
compare controllers with different control
structures and gain sets to better determine a
proper gain set/control structure. - The efficiency signal is also useful for
determining the need for gain re-optimization
when a system undergoes changes in its design.
57References
- Cellier, F. E., McBride, R. T., Object-Oriented
Modeling of Complex Physical Systems Using the
Dymola Bond-Graph Library. Proceedings,
International Conference of Bond Graph Modeling,
Orlando, Florida, 2003, pp. 157-162. - McBride, R. T., Cellier, F. E., Optimal
Controller Gain Selection Using the Power Flow
Information of Bond Graph Modeling. Proceedings,
International Conference of Bond Graph Modeling,
New Orleans, Louisiana, 2005, pp. 228-232. - McBride, R. T., Quality Metric for Controller
Design. Raytheon Missile Systems, Tucson AZ
85734, 2005. - McBride, R. T., Cellier, F. E., System Efficiency
Measurement through Bond Graph Modeling.
Proceedings, International Conference of Bond
Graph Modeling, New Orleans, Louisiana, 2005. pp.
221-227. - McBride, R. T., Cellier, F. E., Object-Oriented
Bond-Graph Modeling of a Gyroscopically
Stabilized Camera Platform. Proceedings,
International Conference of Bond Graph Modeling,
Orlando, Florida, 2003, pp. 157-223. - McBride, R. T., Cellier, F. E., A Bond Graph
Representation of a Two-Gimbal Gyroscope.
Proceedings, International Conference of Bond
Graph Modeling, Phoenix, Arizona, 2001, pp.
305-312.
58 59Modeling Lagrangian Bond Graph, Ball Joint Table
60Modeling Lagrangian Bond Graph, Ball Joint Table
61System AnalysisLinear Autopilot Power IO
62System AnalysisLinear Autopilot Energy IO
63System AnalysisLinear Autopilot Normalized
Energy and Integral (Normalized Energy)
64System AnalysisLinear Autopilot Efficiency
Comparison
65System AnalysisMissile Parameters