660 likes | 675 Views
System Analysis through Bond Graph Modeling. Robert McBride May 3, 2005. Overview. Modeling Bond Graph Basics Bond Graph Construction Simulation System Analysis Efficiency Definition and Analysis Optimal Control System Parameter Variation Conclusions References.
E N D
System Analysis through Bond Graph Modeling Robert McBride May 3, 2005
Overview • Modeling • Bond Graph Basics • Bond Graph Construction • Simulation • System Analysis • Efficiency Definition and Analysis • Optimal Control • System Parameter Variation • Conclusions • References
Modeling: 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.
e B A f Power moves from system A to system B Modeling: 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, e=effort, f=flow. • e*f = power.
Modeling: Bond Graph Basics • effort/flow definitions in different engineering domains
5 4 0 1 1 11 3 13 2 12 Efforts are equal e1 = e2 = e3 = e4 = e5 Flows are equal f11 = f12 = f13 Flows sum to zero f1+ f2 = f3 + f4 + f5 Efforts sum to zero e11+ e12 = e13 Modeling: Bond Graph Basic Elements • Power Bonds Connect at Junctions. • There are two types of junctions, 0 and 1.
I C R e1 e2 e2 = 1/m*e1 TF f1 = 1/m*f2 f1 f2 m e1 e2 f2 = 1/d*e1 GY f1 = 1/d*e2 f1 f2 d SF SE Modeling: 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.
R:R1 R:R2 SE 0 1 1 SineVoltage1 C:C1 I:L1 Modeling: Bond Graph Construction This bond graph is a-causal
e f e f Modeling: 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.
e e I f f 1 1 e sI sC e C f f Modeling: Bond Graph ConstructionIntegral Causality Integral causality is preferred when given a choice.
Modeling: 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
Modeling: Bond Graph Construction R:R1 R:R2 SE 0 1 1 SineVoltage1 C:C1 I:L1 This bond graph is Causal
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. Modeling: Bond Graph Construction From the System Lagrangian Question: Is there a method for mapping the Lagrangian of a system to a bond graph representation?
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. Modeling: Lagrangian Bond Graph Construction
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. Modeling: Lagrangian Bond Graph Construction (cont.)
Modeling: Lagrangian Bond Graph, Gyroscope Example • The system is already conservative. • Rewrite the Lagrangian to note the flow terms. • Form 1-junctions for θ, ψ, and φ. • Generalized momentums are . . .
Modeling: Lagrangian Bond Graph, Gyroscope Example • Solve for the generalized velocities.
Modeling: Lagrangian Bond Graph, Gyroscope Example • Complete Lagrange Equations . . Note P*f Cross Terms
Overview • Modeling • Bond Graph Basics • Bond Graph Construction • Simulation • System Analysis • Efficiency Definition and Analysis • Optimal Control • System Parameter Variation • Conclusions • References
Common 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
The 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.
The 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.
Overview • Modeling • Bond Graph Basics • Bond Graph Construction • Simulation • System Analysis • Efficiency Definition and Analysis • Optimal Control • System Parameter Variation • Conclusions • References
@ 6000 Hz @ 1200 Hz System Analysis: Servo Controllers Control Scheme 1 Control Scheme 2
System Analysis:Controller 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.
System Analysis:Controller 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?
1 1 1 System Analysis: Missile System 3-Loop Autopilot
0 0 Missile System Analysis: Performance Index Minimization Linear Constraints
Missile System Analysis: Performance Index Minimization δ α . θ = q
System Analysis:Controller 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?