Bond graph

From HandWiki
Short description: Graphical representation of a dynamic system
A simple mass–spring–damper system, and its equivalent bond-graph form

A bond graph is a graphical representation of a physical dynamic system. It allows the conversion of the system into a state-space representation. It is similar to a block diagram or signal-flow graph, with the major difference that the arcs in bond graphs represent bi-directional exchange of physical energy, while those in block diagrams and signal-flow graphs represent uni-directional flow of information. Bond graphs are multi-energy domain (e.g. mechanical, electrical, hydraulic, etc.) and domain neutral. This means a bond graph can incorporate multiple domains seamlessly.

The bond graph is composed of the "bonds" which link together "single-port", "double-port" and "multi-port" elements (see below for details). Each bond represents the instantaneous flow of energy (dE/dt) or power. The flow in each bond is denoted by a pair of variables called power variables, akin to conjugate variables, whose product is the instantaneous power of the bond. The power variables are broken into two parts: flow and effort. For example, for the bond of an electrical system, the flow is the current, while the effort is the voltage. By multiplying current and voltage in this example you can get the instantaneous power of the bond.

A bond has two other features described briefly here, and discussed in more detail below. One is the "half-arrow" sign convention. This defines the assumed direction of positive energy flow. As with electrical circuit diagrams and free-body diagrams, the choice of positive direction is arbitrary, with the caveat that the analyst must be consistent throughout with the chosen definition. The other feature is the "causality". This is a vertical bar placed on only one end of the bond. It is not arbitrary. As described below, there are rules for assigning the proper causality to a given port, and rules for the precedence among ports. Causality explains the mathematical relationship between effort and flow. The positions of the causalities show which of the power variables are dependent and which are independent.

If the dynamics of the physical system to be modeled operate on widely varying time scales, fast continuous-time behaviors can be modeled as instantaneous phenomena by using a hybrid bond graph. Bond graphs were invented by Henry Paynter.[1]

Systems for bond graph

Many systems can be expressed in terms used in bond graph. These terms are expressed in the table below.

Conventions for the table below:

  • P is the active power;
  • X^ is a matrix object;
  • x is a vector object;
  • x is the Hermitian of x; it is the complex conjugate of the transpose of x. If x is a scalar, then the Hermitian is the same as the complex conjugate;
  • Dtn is the Euler notation for differentiation, where: Dtnf(t)={tf(s)ds,n<0f(t),n=0nf(t)tn,n>0
  • {xα:=|x|αsgn(x)a=kbβb=(1ka)1/β
  • Vergent-factor: ϕL={Prismatic: lengthcrosssectional areaCylinder: ln(radiusoutradiusin)2πlengthSphere: 14π(radiusinradiusout)
Generalized flow Generalized displacement Generalized effort Generalized momentum Generalized power (in watt for power systems) Generalized energy (in joule for power systems)
Name f(t) q(t) e(t) p(t) P=f(t)e(t) E=q(t)e(t)
Description Time derivative of displacement A quality related to static behaviour. The energy per unit of displacement Time integral of effort Transformation of energy from one to another form Conserved quantity in closed systems
Elements
Name Hyperance H
Hyperrigitance P=H1
Compliance C
Rigitance K=C1
Resistance R Inertance I (or L) Abrahance A Magnance M
Properties Power dissipative element Charge storage element

(State variable: displacement)

(Costate variable: effort)

Power dissipative element Momentum storage element

(State variable: momentum)

(Costate variable: flow)

Power dissipative element Power dissipative element
Quantitative behaviour For 1-dimension systems (linear): P=H(Dt0q(t))2

For 1-dimension systems: e(t)=Pγ[Dt1q(t)]

Impedance: Z(s)=1s2H=1s2P

Potential energy for N-dimension systems: V=12q(t)e(t)q(t)=C^e(t)

Potential energy: V=0qe(q)dq

Potential coenergy: V=0eq(e)de

For 1-dimension systems: f(t)=Cdedt+edCdt

Impedance: Z(s)=1sC=1sk

For 1-dimension systems (linear): P=R(Dtq(t))2

Power for 1-dimension non-linear resistances (e(f) is the effort developed by the element): P=e(f)f

Rayleigh Power: =12Rf(t)2

Rayleigh Power for non-linear resistances: =0fe(f)df

Rayleigh Effort: e=ddf=e(f)

For N-dimension systems: P=f(t)e(t)e(t)=R^f(t)

For 1-dimension systems: e(t)=Rγ[Dt1q(t)]

Impedance: Z(s)=R

Kinetic energy for N-dimension systems: T=12ρ(t)f(t)ρ(t)=L^f(t)

Kinetic energy: T=0ρf(ρ)dρ

Kinetic coenergy: T=0fρ(f)df

For 1-dimension systems: e(t)=Ldfdt+fdLdt

Impedance: Z(s)=sL

For 1-dimension systems (linear): P=A(Dt2q(t))2

For 1-dimension systems: e(t)=Aγ[Dt3q(t)]

Impedance Z(s)=s2A

For 1-dimension systems (linear) P=A(Dt3q(t))2

For 1-dimension systems e(t)=Mγ[Dt5q(t)]

Impedance Z(s)=s4M

Generalized behaviour Energy from active effort sources: W=0qesourcedq

Lagrangian: 𝔏=T(VW)

Hamiltonian: =T+(VW)

Hamiltonian Effort: e=ddq

Lagrangian Effort: e𝔏=d𝔏dq

Passive Effort: e𝔏=ddtd𝔏df

Power Equation: d𝔏dt+ddt=0

Effort Equation: e𝔏+e=0

Lagrangian Equation: e+e𝔏=e𝔏

Hamiltonian Equation: e+e𝔏=e

If W is the coenergy, W is the energy, S is the state variable and S is the costate variable,

W+W=SSW=0SS(S)dSW=0SS(S)dS

For linear elements: W=W=12SS

Longitudinal mechanical power system[2]
Flow-related variables Dt6x: Pounce / Pop [m/s6] Dt5x: Flounce / Crackle [m/s5] Dt4x: Jounce / Snap [m/s4] Dt3x: Jerk [m/s3]
Dt2x: Acceleration (x2t) [m/s2] Dt1x: Velocity (xt) [m/s] (Flow) Dt0x: Displacement (x) [m] (Displacement) Dt1x: Absement [ms]
Dt2x: Absity [ms2] Dt3x: Abseleration [ms3] Dt4x: Abserk [ms4]
Effort-related variables Dt1F: Yank [N/s] Dt0F: Force (Pxt) [N] (Effort) Dt1F: Linear momentum (Px2t) [kgm/s] (Momentum)
Passive elements
Compliance (C) Resistance (R) Inertance (I) Abrahance (A) Magnance (M)
Spring Pxt=kx where k is the spring Stiffness Damper Pxt=bxt where b is the damper parameter Mass Pxt=mx2t where m is the mass Abraham–Lorentz force

Pxt=μ0q26πcx3t where

Magnetic radiation reaction force

Pqt=μ0q2R24πc3x5t where

Cantilever Pxt=3EIL3x Cyclotron radiation resistance

Pxt=σtB2cμ0xt where

Prismatic floater in a wide waterbody

Pxt=ρLgAx where

  • ρL: Liquid density
  • A: Area
  • g: Gravitational acceleration
Viscous friction Pxt=bxt where b is the viscous friction paramete
Elastic Rod Pxt=EALx

where

Inverse of kinetic mobility Pxt=1μxt where μ is the kinetic mobility
Newton's law of gravitation

Pxt=GMmx2 where

Geometry interacting with air (e.g. drag)

Pxt=12cρAxt2 where

  • A: Contact area
  • c: Aerodynamic geometry coefficient
  • ρ: Fluid density
Coulomb's law

Pxt=Qq4πε0x2 where

Absquare damper Pxt=Bxt2 where B is the Absquare damper parameter
Casimir force

Pxt=Acπ2240x4 where

Dry friction

Pxt=μFnxt0 where

  • μ: Kinetic friction coefficient
  • Fn: Normal force
Biot-Savart Law

Pxt=μ0I1I2l2πx1 where

  • μ0: Permeability
  • I1: Current in wire 1
  • I2: Current in wire 2
  • l: Length of wires
Piston pressing fluid inside an adiabatic chamber

Pxt=AP0(1+xx0)γ where

  • A: Area of piston
  • P0: Initial pressure inside
  • x0: Initial position of piston
  • γ: Poisson coefficient
Angular mechanical power system
Flow-related variables Dt3θ: Angular jerk [rad/s3] Dt2θ: Angular acceleration (θ2t) [rad/s2]
Dt1θ: Angular velocity (θt) [rad/s] (Flow) Dt0θ: Angular displacement (θ) [rad] (Displacement)
Effort-related variables Dt1τ: Rotatum [W/rad] Dt0τ: Torque (Pθt) [J/rad] (Effort)
Dt1τ: Angular momentum (Pθ2t) [Js/rad] (Momentum)
Passive elements
Compliance (C) Resistance (R) Inertance (I)
Inverse of the angular spring constant Pθt=krθ where kr is the angular spring constant Angular damping Pθt=Rθt where R is the damping constant Mass moment of inertia

Type Pθt=Iθ2t

where I is the mass moment of inertia

Rod Torsion

Pθt=GJLθ where

  • G: Shear modulus
  • J: Polar moment of area
  • L: Rod length
Governor (e.g. used in music boxes) Pθt=Rθt2 where R is the Governor constant
Bending moment (cantilever)

Pθt=EILθ where

  • E: Young modulus
  • I: Second moment of area
  • L: Beam length
Parallel force field

Pθt=Pxtsin(αθ) where

  • α: Angle (counter-clockwise positive) between the polar axis and the force field
  • θ: Current angle of the object (e.g. pendulum)
Electric power system
Flow-related variables Dt2q: Electric Inertia [A/s] Dt1q: Electric current (qt) [A] (Flow) Dt0q: Electric charge (q) [C] (Displacement)
Effort-related variables Dt1V: Distension [V/s] Dt0V: Voltage (Pqt) [V] (Effort) Dt1V: Flux linkage (Pq2t)  [Vs] or [Wbturn] (Momentum)
Elements
Hyperance (H) Compliance (C) Resistance (R) Inertance (I) Abrahance (A)
Frequency Dependent Negative Resistor (FDNR)

Pqt=1Hqt

Linear capacitor

Pqt=1εϕLq where

Linear resistor

Pqt=ρϕL(1+α(TT0))qt where

  • ρ: Resistivity
  • ϕL: Vergent-factor
  • α: Thermal coefficient
  • T: Current temperature
  • T0: Reference Temperature
Linear inductor (solenoid)

Pqt=μ0N2ALq2t where

  • μ0: Permeability
  • N: Number of turns
  • A: Area
  • L: Length
Frequency Dependent Negative Conductance (FDNC)

Type γ1V=RDt2i[Hs]

Diode

Pqt=nVTln(1+qtIs) where

  • n: Ideality factor
  • VT: Thermal voltage
  • Is: Leakage current
Toroid

Pqt=μN2A2πrq2t where

  • μ: Permeability
  • N: Number of turns
  • A: Cross-sectional area
  • r: Toroid radius to centerline
Intra-Gyrator Inter-Gyrator
Compliant Gyrator Resistive Gyrator Inertant Gyrator
Hall effect device

ex=RHBztziyey=RHBztzix where

  • RH: Hall coefficient
  • Bz: Vertical magnetic induction field
  • tz: Vertical thickness
Induction motor

er1=Mcos(θ)Dtfs1+fs1Dt[Mcos(θ)]es1=Mcos(θ)Dtfr1+fr1Dt[Mcos(θ)] where

  • θ: Electrical angle
  • er1: Voltage at rotor bar
  • es1: Voltage at stator bar
  • fs1: Flow through stator bar
  • fr1: Flow through rotor bar
DC motor

τe=kaϕa(ie)iaωe=1kaϕa(ie)ea where

  • τe: Electromagnetic torque
  • ωe: Axis angular velocity
  • ie: Field current
  • ia: Armature current
Faraday gyrator

F=BliV=1Blv where

  • F: Force
  • v: Rod velocity
  • V: Rod voltage
  • B: Magnetic induction field
  • l: Rod length
Faraday Disk

V=12Br2ωτ=12Br2i where

  • B: Magnetic induction field
  • r: Disk radius
Intra-Transformer Inter-Transformer
Electrical Transformer (Only for AC signals)

V2=N2N1V1f2=N1N2f1

Hydraulic / pneumatic power system
Flow-related variables Dt1V: Volumetric flow rate (Vt) [m3/s] (Flow) Dt0V: Volume (V) [m3] (Displacement)
Effort-related variables Dt0P: Pressure (PVt) [Pa] (Effort) Dt1P: Fluid momentum (PV2t) [Pas] (Momentum)
Elements
Compliance (C) Resistance (R) Inertance (I)
Pipe elasticity

PVt=(tWE2r0V0)V where

  • r0: Nominal pipe radius
  • V0: Pipe volume (without stress)
  • tW: Wall thickness
  • E: Young's modulus
Darcy sponge

PVt=(μkϕL)Vt where

Fluid inertia in pipes

PVt=(ρϕL)V2t where

  • ρ: Fluid density
  • ϕL: Vergent-factor
Compressible fluid (approximation)

PVt=(BV0)V=(ρ0c2V0)AcousticApproximationV where

  • V0: Pipe Volume (without stress)
  • B: Bulk Modulus
  • ρ0: Gas density at reference pressure
  • c: Speed of sound
Valve

PVt=(ρ2Cd2A02)Vt2

  • Cd: Discharge coefficient
  • ρ: Fluid density
  • A0: Smallest area for fluid passage
Tank with area A1[m]n1(h+h0)n1:

PVt=ρgh0[(1+nVA1[m]n1h0n)1/n1] where

  • h: Height with respect to the ground
  • h0: Inlet height
  • ρ: Fluid density
  • A: Curve scaling (dimension of area)
  • [m]n1: Correction of dimension
  • n: Curve parameter
  • g: Acceleration of gravity
  • Case n=1 (prismatic case): PVt=ρgAV
  • Case n=0 (current diode case): PVt=ρgh0(eVA[m]1)
Poiseuille resistance for cylinders

PVt=(8μLπR4)Vt where

  • μ: Dynamic viscosity
  • L: Pipe length
  • R: Pipe radius
Isothermal chamber

PVt=kVt1 where k is Chamber's constant

Turbulence resistance

PVt=atVt74 where at is an empirical parameter

Compressible fluid

PVt=BlnV where B is the bulk modulus

Nozzle

PVt=ρ2(Aout2Ain2)Vt2 where

  • ρ: Fluid density
  • Aout: Outlet area
  • Ain: Inlet area
Adiabatic bladder

PVt=PV,0t(1VV0)γ where

  • PV,0t: Reference pressure
  • V0: Reference volume
  • γ: Poisson coefficient
Check valve

PVt=kln(1+VtVt,0) where

  • k: Empirical constant
  • Vt,0: Reverse bias absolute flow
Gyrator-capacitor power system
Flow-related variables Dt0φ: Magnetic Flux (φ) [Wb] (Displacement)
Effort-related variables Dt0: Magnetomotive force () [Aturn] (Momentum)
Elements
Compliance (C) Resistance (R) Inertance (I)
Permeance (𝒫)

=1μϕLφ[H/turn2] where

  • μ: Permeability
  • ϕL: Vergent-factor
Magnetic Complex Impedance (ZM)

=ZMφt[turn2/Ω]

Magnetic Complex Inductance (LM)

=LMφ2t[turn2F]

Gravitational power system
Flow-related variables Dt0ig: Gravitational Current Loop (ig=2εgvorbit3) [kg/s] (Flow) Dt1ig: Gravitational Charge (M) [kg] (Displacement)
Effort-related variables Dt0Vg: Gravitational Voltage (Vg=12vorbit4c2) [m2/s2] (Effort) Dt1Vg: Gravitational Momentum (ϕg=πvorbit3rc2) [m2/s] (Momentum)
Elements
Compliance (C) Resistance (R) Inertance (I)
Gravitational Capacitance

Type γ1Mg=CVg[kg/m2]

Cg=2c2r2GM

Gravitational Orbital Resistance

Type γ1Vg=Rgig[m2/kgs]

Rg=μg4vorbit

Gravitational Inductance

Type γ1ϕg=Iig[m2/kgs2]

Lg=2π2Gc2r

Electric field volumetric power density system
Flow-related variables Dt0J: Current Density (J) [A/m2] (Flow) Dt1J: Electric Displacement Field (D) [C/m2] (Displacement)
Effort-related variables Dt0E: Electric Field (E) [V/m] (Effort) Dt1E: Magnetic Potential Vector (A) [Vs/m] (Momentum)
Elements
Compliance (C) Resistance (R) Volumetric Power Density Inertance (IV)
Electrical Permittivity

Type γ1D=ϵ0E[F/m]

Electrical Resistivity

Type γ1E=ρJ[Ωm]

Magnetic Permeability μ0 [H/m]
Magnetic field volumetric power density system
Flow-related variables Dt0B: Magnetic Flux Density (B) [T] or [Wb/m2] (Displacement)
Effort-related variables Dt0H: Magnetic Field Strength (H) [Aturn/m] (Effort)
Elements
Compliance (C) Resistance (R) Volumetric Power Density Inertance (IV)
Magnetic Permeability for Magnetic Circuits

Type γ1B=μH[H/(mturn2)]

Gravitoelectric volumetric power density system
Flow-related variables Dt0Jg: Flux of Mass (Jg) [kg/m2s] (Flow) Dt1Jg: Accumulated Flux of Mass (Dg) [kg/m2] (Displacement)
Effort-related variables Dt0g: Acceleration of Gravity (g) [m/s2] (Effort)
Elements
Compliance (C) Resistance (R) Volumetric Power Density Inertance (IV)
Gravitational Permittivity

Type γ1Dg=ϵgg[kgs2/m3]

εg=14πG

Gravitational Permeability [m/kg]IV=μg=4πGc2
Gravitomagnetic volumetric power density system
Flow-related variables Dt0Bg: Gravitomagnetic Field (Bg=ωorbit(vorbitc)2) [Hz] (Displacement)
Effort-related variables Dt0Hg: Gravitomagnetic Field Strength (Hg) [Pas] (Effort)
Elements
Compliance (C) Resistance (R) Volumetric Power Density Inertance (IV)
Gravitational Permeability

4πGc2 [m/kg]

Thermal power-temperature system
Flow-related variables Dt1Q: Heat-rate (ψt) [W] (Flow) Dt0Q: Total heat (ψ) [J] (Displacement)
Effort-related variables Dt0T: Temperature (T) [K] (Effort)
Elements
Compliance (C) Resistance (R) Inertance (I)
Isobaric heat

T=1ρVcpψ=1CPψ where

  • ρ: Object mass density
  • V: Volume of object
  • cp: Pressure specific heat capacity
Conduction Resistance

T=1kϕLψt where

  • k: Thermal conductivity
  • ϕL: Vergent-factor
Isocoric heat

T=1CVψ where CV is the constant-volume heat capacitance

Convection Resistance

T=1hAψt where

  • h: Convection coefficient
  • A: Interface area
Isothermal heat

T=1nRln(VfVi)ψ where

  • R: Universal gas constant
  • n: Number of moles
  • Vf: Final volume
  • Vi: Initial volume
Stefan-Boltzmann law

T=(1eσA)0.25ψt0.25 where

  • e: Emissivity
  • σ: Stefan-Boltzmann constant
  • A: Interface area
Continuum mechanics volumetric power density system
Flow-related variables Dt1ε: Strain-rate (ε˙) [Hz] (Flow) Dt0ε: Strain (ε) [1] (Displacement)
Effort-related variables Dt0σ: Stress (σ) [Pa] (Effort)
Elements
Compliance (C) Resistance (R) Volumetric Power Density Inertance (IV)
Inverse of Rigidity

Type γ1ε=Cσ[Pa1]

C=1K

Viscosity

Type γ1σ=Rε˙[Pas]

Power Density Inertance: Density of Material

ρ [kg/m3]

Other systems:

  • Thermodynamic power system (flow is entropy-rate and effort is temperature)
  • Electrochemical power system (flow is chemical activity and effort is chemical potential)
  • Thermochemical power system (flow is mass-rate and effort is mass specific enthalpy)
  • Macroeconomics currency-rate system (displacement is commodity and effort is price per commodity)
  • Microeconomics currency-rate system (displacement is population and effort is GDP per capita)

Tetrahedron of state

Tetrahedron of state

The tetrahedron of state is a tetrahedron that graphically shows the conversion between effort and flow. The adjacent image shows the tetrahedron in its generalized form. The tetrahedron can be modified depending on the energy domain.

Using the tetrahedron of state, one can find a mathematical relationship between any variables on the tetrahedron. This is done by following the arrows around the diagram and multiplying any constants along the way. For example, if you wanted to find the relationship between generalized flow and generalized displacement, you would start at the f(t) and then integrate it to get q(t). More examples of equations can be seen below.

Relationship between generalized displacement and generalized flow.

q(t)=f(t)dt

Relationship between generalized flow and generalized effort.

f(t)=1Re(t)

Relationship between generalized flow and generalized momentum.

f(t)=1Ip(t)

Relationship between generalized momentum and generalized effort.

p(t)=e(t)dt

Relationship between generalized flow and generalized effort, involving the constant C.

e(t)=1Cf(t)dt

All of the mathematical relationships remain the same when switching energy domains, only the symbols change. This can be seen with the following examples.

Relationship between displacement and velocity.

x(t)=v(t)dt

Relationship between current and voltage, this is also known as Ohm's law.

i(t)=1RV(t)

Relationship between force and displacement, also known as Hooke's law. The negative sign is dropped in this equation because the sign is factored into the way the arrow is pointing in the bond graph.

F(t)=kx(t)

For power systems, the formula for the frequency of resonance is as follows: ω=1LC

For power density systems, the formula for the velocity of the resonance wave is as follows: c=1LC

Components

If an engine is connected to a wheel through a shaft, the power is being transmitted in the rotational mechanical domain, meaning the effort and the flow are torque (τ) and angular velocity (ω) respectively. A word bond graph is a first step towards a bond graph, in which words define the components. As a word bond graph, this system would look like: engineωτwheel A half-arrow is used to provide a sign convention, so if the engine is doing work when τ and ω are positive, then the diagram would be drawn: engineωτwheel This system can also be represented in a more general method. This involves changing from using the words, to symbols representing the same items. These symbols are based on the generalized form, as explained above. As the engine is applying a torque to the wheel, it will be represented as a source of effort for the system. The wheel can be presented by an impedance on the system. Further, the torque and angular velocity symbols are dropped and replaced with the generalized symbols for effort and flow. While not necessary in the example, it is common to number the bonds, to keep track of in equations. The simplified diagram can be seen below.

Sef1e1I

Given that effort is always above the flow on the bond, it is also possible to drop the effort and flow symbols altogether, without losing any relevant information. However, the bond number should not be dropped. The example can be seen below.

Se1I

The bond number will be important later when converting from the bond graph to state-space equations.

Association of elements

Series association

Suppose that an element has the following behavior: e(t)=αg(q(t)) where g(x) is a generic function (it can even differentiate/integrate its input) and α is the element's constant. Then, suppose that in a 1-junction you have many of this type of element. Then the total voltage across the junction is: e(t)=(iαi)g(q(t))αeq=i=1Nαi

Parallel association

Suppose that an element has the following behavior: e(t)=g(αq(t)) where g(x) is a generic function (it can even differentiate/integrate its input) and α is the element's constant. Then, suppose that in a 0-junction you have many of this type of element. Then it is valid:

g1(e(t))=αiqi(t)1αig1(e(t))=qi(t)(i1αi)g1(e(t))=q(t)g(g1(e(t)))=g(1i1αiq(t))αeq=i=1Nαi

Single-port elements

Single-port elements are elements in a bond graph that can have only one port.

Sources and sinks

Sources are elements that represent the input for a system. They will either input effort or flow into a system. They are denoted by a capital "S" with either a lower case "e" or "f" for effort or flow respectively. Sources will always have the arrow pointing away from the element. Examples of sources include: motors (source of effort, torque), voltage sources (source of effort), and current sources (source of flow).

Se JandSf J where J indicates a junction.

Sinks are elements that represent the output for a system. They are represented the same way as sources, but have the arrow pointing into the element instead of away from it.

J SeandJ Sf

Inertia

Inertia elements are denoted by a capital "I", and always have power flowing into them. Inertia elements are elements that store energy. Most commonly these are a mass for mechanical systems, and inductors for electrical systems.

J I

Resistance

Resistance elements are denoted by a capital "R", and always have power flowing into them. Resistance elements are elements that dissipate energy. Most commonly these are a damper, for mechanical systems, and resistors for electrical systems.

J R

Compliance

Compliance elements are denoted by a capital "C", and always have power flowing into them. Compliance elements are elements that store potential energy. Most commonly these are springs for mechanical systems, and capacitors for electrical systems.

J C

Two-port elements

These elements have two ports. They are used to change the power between or within a system. When converting from one to the other, no power is lost during the transfer. The elements have a constant that will be given with it. The constant is called a transformer constant or gyrator constant depending on which element is being used. These constants will commonly be displayed as a ratio below the element.

Transformer

A transformer applies a relationship between flow in flow out, and effort in effort out. Examples include an ideal electrical transformer or a lever.

Denoted 1   TR  2 r:1 where the r denotes the modulus of the transformer. This means f1r=f2 and e2r=e1

Gyrator

A gyrator applies a relationship between flow in effort out, and effort in flow out. An example of a gyrator is a DC motor, which converts voltage (electrical effort) into angular velocity (angular mechanical flow).

1   GY  2 g:1 meaning that e2=gf1 and e1=gf2.

Multi-port elements

Junctions, unlike the other elements can have any number of ports either in or out. Junctions split power across their ports. There are two distinct junctions, the 0-junction and the 1-junction which differ only in how effort and flow are carried across. The same junction in series can be combined, but different junctions in series cannot.

0-junctions

0-junctions behave such that all effort values (and its time integral/derivative) are equal across the bonds, but the sum of the flow values in equals the sum of the flow values out, or equivalently, all flows sum to zero. In an electrical circuit, the 0-junction is a node and represents a voltage shared by all components at that node. In a mechanical circuit, the 0-junction is a joint among components, and represents a force shared by all components connected to it.

all e's are equal fin=fout

An example is shown below.

1023

Resulting equations: e1=e2=e3 f1=f2+f3

1-junctions

1-junctions behave opposite of 0-junctions. 1-junctions behave such that all flow values (and its time integral/derivative) are equal across the bonds, but the sum of the effort values in equals the sum the effort values out, or equivalently, all efforts sum to zero. In an electrical circuit, the 1 junction represents a series connection among components. In a mechanical circuit, the 1-junction represents a velocity shared by all components connected to it.

all f's are equal ein=eout

An example is shown below.

1123

Resulting equations: f1=f2=f3 e1=e2+e3

Causality

Bond graphs have a notion of causality, indicating which side of a bond determines the instantaneous effort and which determines the instantaneous flow. In formulating the dynamic equations that describe the system, causality defines, for each modeling element, which variable is dependent and which is independent. By propagating the causation graphically from one modeling element to the other, analysis of large-scale models becomes easier. Completing causal assignment in a bond graph model will allow the detection of modeling situation where an algebraic loop exists; that is the situation when a variable is defined recursively as a function of itself.

As an example of causality, consider a capacitor in series with a battery. It is not physically possible to charge a capacitor instantly, so anything connected in parallel with a capacitor will necessarily have the same voltage (effort variable) as that across the capacitor. Similarly, an inductor cannot change flux instantly and so any component in series with an inductor will necessarily have the same flow as the inductor. Because capacitors and inductors are passive devices, they cannot maintain their respective voltage and flow indefinitely—the components to which they are attached will affect their respective voltage and flow, but only indirectly by affecting their current and voltage respectively.

Note: Causality is a symmetric relationship. When one side "causes" effort, the other side "causes" flow.

In bond graph notation, a causal stroke may be added to one end of the power bond to indicate that this side is defining the flow. Consequently, the side opposite from the casual stroke controls the effort.

Sources of flow (Sf) define flow, so they host the causal stroke: Sf| Sources of effort (Se) define effort, so the other end hosts the causal stroke: Se|

Consider a constant-torque motor driving a wheel, i.e. a source of effort (Se). That would be drawn as follows: motorSe|ωτwheel

Symmetrically, the side with the causal stroke (in this case the wheel) defines the flow for the bond.

Causality results in compatibility constraints. Clearly only one end of a power bond can define the effort and so only one end of a bond can (the other end) have a causal stroke. In addition, the two passive components with time-dependent behavior, I and C, can only have one sort of causation: an I component determines flow; a C component defines effort. So from a junction, J, the preferred causal orientation is as follows: J|IandJ|C

The reason that this is the preferred method for these elements can be further analyzed if you consider the equations they would give shown by the tetrahedron of state.

f(t)=1Ie(t)dtande(t)=1Cf(t)dt

The resulting equations involve the integral of the independent power variable. This is preferred over the result of having the causality the other way, which results in derivative. The equations can be seen below.

e(t)=If˙(t)andf(t)=Ce˙(t)

It is possible for a bond graph to have a causal bar on one of these elements in the non-preferred manner. In such a case a "causal conflict" is said to have occurred at that bond. The results of a causal conflict are only seen when writing the state-space equations for the graph. It is explained in more details in that section.

A resistor has no time-dependent behavior: apply a voltage and get a flow instantly, or apply a flow and get a voltage instantly, thus a resistor can be at either end of a causal bond: J|RandJ|R

Transformers are passive, neither dissipating nor storing energy, so causality passes through them: |TF|or|TF|

A gyrator transforms flow to effort and effort to flow, so if flow is caused on one side, effort is caused on the other side and vice versa: |GY|or|GY|

Junctions

In a 0-junction, efforts are equal; in a 1-junction, flows are equal. Thus, with causal bonds, only one bond can cause the effort in a 0-junction and only one can cause the flow in a 1-junction. Thus, if the causality of one bond of a junction is known, the causality of the others is also known. That one bond is called the 'strong bond' strong bond0andstrong bond1 In a nutshell, 0-junctions must have a single causal bar, 1-junctions must have all but one causal bars.

Determining causality

In order to determine the causality of a bond graph certain steps must be followed. Those steps are:

  1. Draw Source Causal Bars
  2. Draw Preferred causality for C and I bonds
  3. Draw causal bars for 0 and 1 junctions, transformers and gyrators
  4. Draw R bond causal bars
  5. If a causal conflict occurs, change C or I bond to differentiation

A walk-through of the steps is shown below. Sf0TR0C5r:1C2R6

The first step is to draw causality for the sources, over which there is only one. This results in the graph below. Sf|0TR0C5r:1C2R6

The next step is to draw the preferred causality for the C bonds. Sf|0TR0|C5¯r:1C2R6

Next apply the causality for the 0 and 1 junctions, transformers, and gyrators. Sf|0|TR|0|C5¯r:1_C2R6

However, there is an issue with 0-junction on the left. The 0-junction has two causal bars at the junction, but the 0-junction wants one and only one at the junction. This was caused by having C2 be in the preferred causality. The only way to fix this is to flip that causal bar. This results in a causal conflict, the corrected version of the graph is below, with the representing the causal conflict.

Sf|0|TR|0|C5_r:1_C2R6

Converting from other systems

One of the main advantages of using bond graphs is that once you have a bond graph it doesn't matter the original energy domain. Below are some of the steps to apply when converting from the energy domain to a bond graph.

Electromagnetic

The steps for solving an Electromagnetic problem as a bond graph are as follows:

  1. Place an 0-junction at each node
  2. Insert Sources, R, I, C, TR, and GY bonds with 1 junctions
  3. Ground (both sides if a transformer or gyrator is present)
  4. Assign power flow direction
  5. Simplify

These steps are shown more clearly in the examples below.

Linear mechanical

The steps for solving a Linear Mechanical problem as a bond graph are as follows:

  1. Place 1-junctions for each distinct velocity (usually at a mass)
  2. Insert R and C bonds at their own 0-junctions between the 1 junctions where they act
  3. Insert Sources and I bonds on the 1 junctions where they act
  4. Assign power flow direction
  5. Simplify

These steps are shown more clearly in the examples below.

Simplifying

The simplifying step is the same regardless if the system was electromagnetic or linear mechanical. The steps are:

  1. Remove Bond of zero power (due to ground or zero velocity)
  2. Remove 0 and 1 junctions with less than three bonds
  3. Simplify parallel power
  4. Combine 0 junctions in series
  5. Combine 1 junctions in series

These steps are shown more clearly in the examples below.

Parallel power

Parallel power is when power runs in parallel in a bond graph. An example of parallel power is shown below.

Parallel power can be simplified, by recalling the relationship between effort and flow for 0 and 1-junctions. To solve parallel power you will first want to write down all of the equations for the junctions. For the example provided, the equations can be seen below. (Please make note of the number bond the effort/flow variable represents). f1=f2=f3e2=e4=e7e1=e2+e3f2=f4+f7e3=e5=e6f7=f6=f8f3=f5+f6e7+e6=e8

By manipulating these equations you can arrange them such that you can find an equivalent set of 0 and 1-junctions to describe the parallel power.

For example, because e3=e6 and e2=e7 you can replace the variables in the equation e1=e2+e3 resulting in e1=e6+e7 and since e6+e7=e8, we now know that e1=e8. This relationship of two effort variables equaling can be explained by an 0-junction. Manipulating other equations you can find that f4=f5 which describes the relationship of a 1-junction. Once you have determined the relationships that you need you can redraw the parallel power section with the new junctions. The result for the example show is seen below.

Examples

Simple electrical system

A simple electrical circuit consisting of a voltage source, resistor, and capacitor in series.

The first step is to draw 0-junctions at all of the nodes: 0000

The next step is to add all of the elements acting at their own 1-junction: R|010||Se11C||0_0

The next step is to pick a ground. The ground is simply an 0-junction that is going to be assumed to have no voltage. For this case, the ground will be chosen to be the lower left 0-junction, that is underlined above. The next step is to draw all of the arrows for the bond graph. The arrows on junctions should point towards ground (following a similar path to current). For resistance, inertance, and compliance elements, the arrows always point towards the elements. The result of drawing the arrows can be seen below, with the 0-junction marked with a star as the ground.

Now that we have the Bond graph, we can start the process of simplifying it. The first step is to remove all the ground nodes. Both of the bottom 0-junctions can be removed, because they are both grounded. The result is shown below.

Next, the junctions with less than three bonds can be removed. This is because flow and effort pass through these junctions without being modified, so they can be removed to allow us to draw less. The result can be seen below.

The final step is to apply causality to the bond graph. Applying causality was explained above. The final bond graph is shown below.

Advanced electrical system

A more advanced electrical system with a current source, resistors, capacitors, and a transformer

Following the steps with this circuit will result in the bond graph below, before it is simplified. The nodes marked with the star denote the ground.

Simplifying the bond graph will result in the image below.

Lastly, applying causality will result in the bond graph below. The bond with star denotes a causal conflict.

Simple linear mechanical

A simple linear mechanical system, consisting of a mass on a spring that is attached to a wall. The mass has some force being applied to it. An image of the system is shown below.

For a mechanical system, the first step is to place a 1-junction at each distinct velocity, in this case there are two distinct velocities, the mass and the wall. It is usually helpful to label the 1-junctions for reference. The result is below. 1mass1wall

The next step is to draw the R and C bonds at their own 0-junctions between the 1-junctions where they act. For this example there is only one of these bonds, the C bond for the spring. It acts between the 1-junction representing the mass and the 1-junction representing the wall. The result is below. 1mass|0C:1k|1wall

Next you want to add the sources and I bonds on the 1-junction where they act. There is one source, the source of effort (force) and one I bond, the mass of the mass both of which act on the 1-junction of the mass. The result is shown below. Se:F(t)|1massI:m|0C:1k|1wall

Next power flow is to be assigned. Like the electrical examples, power should flow towards ground, in this case the 1-junction of the wall. Exceptions to this are R, C, or I bond, which always point towards the element. The resulting bond graph is below.

Now that the bond graph has been generated, it can be simplified. Because the wall is grounded (has zero velocity), you can remove that junction. As such the 0-junction the C bond is on, can also be removed because it will then have less than three bonds. The simplified bond graph can be seen below.

The last step is to apply causality, the final bond graph can be seen below.

Advanced linear mechanical

A more advanced linear mechanical system can be seen below.

Just like the above example, the first step is to make 1-junctions at each of the distant velocities. In this example there are three distant velocity, Mass 1, Mass 2, and the wall. Then you connect all of the bonds and assign power flow. The bond can be seen below.

Next you start the process of simplifying the bond graph, by removing the 1-junction of the wall, and removing junctions with less than three bonds. The bond graph can be seen below.

There is parallel power in the bond graph. Solving parallel power was explained above. The result of solving it can be seen below.

Lastly, apply causality, the final bond graph can be seen below.

State equations

Once a bond graph is complete, it can be utilized to generate the state-space representation equations of the system. State-space representation is especially powerful as it allows complex multi-order differential system to be solved as a system of first-order equations instead. The general form of the state equation is 𝐱˙(t)=𝐀𝐱(t)+𝐁𝐮(t) where 𝐱(t) is a column matrix of the state variables, or the unknowns of the system. 𝐱˙(t) is the time derivative of the state variables. 𝐮(t) is a column matrix of the inputs of the system. And 𝐀 and 𝐁 are matrices of constants based on the system. The state variables of a system are q(t) and p(t) values for each C and I bond without a causal conflict. Each I bond gets a p(t) while each C bond gets a q(t).

For example, if you have the following bond graph

you would have the following 𝐱˙(t), 𝐱(t), and 𝐮(t) matrices:

𝐱˙(t)=[p˙3(t)q˙6(t)]and𝐱(t)=[p3(t)q6(t)]and𝐮(t)=[e1(t)]

The matrices of 𝐀 and 𝐁 are solved by determining the relationship of the state variables and their respective elements, as was described in the tetrahedron of state. The first step to solve the state equations is to list all of the governing equations for the bond graph. The table below shows the relationship between bonds and their governing equations.

Element type Bond Name Bond with causality Governing equation(s)
Single-port elements Source/ Sink, S Se| input=e(t)
Sf| input=f(t)
Resistance, R:

Dissipated Energy

| R f(t)=1Re(t)
| R e(t)=Rf(t)
Inertance, I:

Kinetic Energy

| I f(t)=1Ie(t)dt
| I e(t)=If˙(t)
Compliance, C:

Potential Energy

| C f(t)=Ce˙(t)
| C e(t)=1Cf(t)dt
Double-port elements Transformer, TR | TR  | r:1 f1=1rf2

e2=1re1

|  TR  |  r:1 e1=re2

f2=rf1

Gyrator, GY |  GY| g:1 e1=gf2

e2=gf1

 | GY| g:1 f1=1ge2

f2=1ge1

Multi-port elements 0 junction One and only one

causal bar at the junction

all e(t)=
f(t)in=f(t)out
1 junction one and only one causal

bar away from the junction

e(t)in=e(t)out
all f(t)=

"♦" denotes preferred causality.

For the example provided,

the governing equations are the following.

  1. e1=input
  2. e3=e1e2e4
  3. f1=f2=f4=f3
  4. e2=R2f2
  5. f3=1I3e3dt=1I3p3
  6. f5=f4r
  7. e4=e5r
  8. e5=e7=e6
  9. f6=f7f5
  10. e6=1C6f6dt=1C6q6
  11. f7=1R7e7

These equations can be manipulated to yield the state equations. For this example, you are trying to find equations that relate p˙3(t) and q˙6(t) in terms of p3(t), q6(t), and e1(t).

To start you should recall from the tetrahedron of state that p˙3(t)=e3(t)starting with equation 2, you can rearrange it so that e3=e1e2e4. e2 can be substituted for equation 4, while in equation 4, f2 can be replaced by f3due to equation 3, which can then be replaced by equation 5. e4 can likewise be replaced using equation 7, in which e5can be replaced with e6 which can then be replaced with equation 10. Following these substituted yields the first state equation which is shown below.

p˙3(t)=e3(t)=e1(t)R2I3p3(t)rC6q6(t)

The second state equation can likewise be solved, by recalling that q˙6(t)=f6(t). The second state equation is shown below.

q˙6(t)=f6(t)=rI3p3(t)1R7C6q6(t)

Both equations can further be rearranged into matrix form. The result of which is below.

[p˙3(t)q˙6(t)]=[R2I3rC6rI31R7C6][p3(t)q6(t)]+[10][e1(t)]

At this point the equations can be treated as any other state-space representation problem.

International conferences on bond graph modeling (ECMS and ICBGM)

A bibliography on bond graph modeling may be extracted from the following conferences :

See also

References

Further reading

  • Simscape Official MATLAB/Simulink add-on library for graphical bond graph programming
  • BG V.2.1 Freeware MATLAB/Simulink add-on library for graphical bond graph programming