Code covered by the BSD License  

Highlights from
Bond graph add-on block library BG V.2.1

3.57143

3.6 | 7 ratings Rate this file 27 Downloads (last 30 days) File Size: 2.87 MB File ID: #11092
image thumbnail

Bond graph add-on block library BG V.2.1

by Gert-Helge Geitner

 

16 May 2006 (Updated 28 Apr 2010)

Block library enables the graphical programming of Bond Graphs using standard Simulink and editor.

| Watch this File

File Information
Description

Abstract:
A customizable add-on library with a small number of blocks for the graphical programming of Bondgraphs is provided.

Why Bondgraphs?
Energy domain independently Bondgraphs are excellent power flow diagrams for process models [see A. Bouscayrol et al 'Different energetic descriptions of electromechanical systems', Proceedings of the 2005 European Conference on Power Electronics and Applications (EPE), CD: 665]. Connections between two elements consist of a line including a half arrow which is marking the preferred power flow direction. Assigned to a connection are two power variables: effort and flow. The product of these variables must be a power value. A detailed introduction to Bondgraphs is given in http://www.bondgraph.info/about.html for instance.

Example:
'ElaWe_GM_ZuReg.mdl' demonstrates the well known DC motor (including elastic shaft and state control) and it?s Bondgraph as an example. Voltage and torque correspond to effort as current and angular velocity correspond to flow. Gyrator GY transforms power between two energy domains lossless and without delay, R elements implement losses and I elements symbolise energy storages. Short lines at one side and perpendicularly of a half arrow connection determine the computation causality and a known flow variable. Whereby an integral causality is the goal, i.e. E (effort) input for I element. Nodes of 1 or 0 type model power balances. C storages as converse of an I storage and transformers TF as complements to gyrators are not used for this example. Please compare: G.-H. Geitner 'Power Flow Diagrams Using a Bond Graph Library under Simulink', IEEE-IECON 2006, Paris, CD (SS19: Graphical description for modelling and control of power systems), 06.11.-10.11.06 or International Workshop MCES [Modelling and control of electrical systems] 2006, Lille (France) http://l2ep.univ-lille1.fr/commande/iw/presentations/lec-geitner.htm

Realization using Simulink:
Replace each half arrow connection by one visible connection drawn by the standard editor, presenting optionally a flow or an effort connection and implementation of the back connection for the complementary power variable effort or flow using software background. In addition the blocks should be defined switchable e.g. regarding causality or block function to reduce the number of library blocks. Library version 2.1 consists of 9 blocks only which realize the whole necessary functionality. These blocks may be used by means of drag & drop technique as usual in Simulink. Homepage of the Bond Graph library http://eeiwzg.et.tu-dresden.de/ae2_files/ae_8_1e.htm

Features:
Typical examples for a summarisation of the functionality are the energy storage block ? choice of I or C type resp. the node block ? choice of 0 or 1 type. Environment connection to standard Simulink blocks ensure S/D and AB blocks which have a monopoly for this task, i.e. a controller may only drive a Bondgraph by means of a S/D block. A measurement of variables of a Bondgraph may only be done by use of an AB block. All blocks are able to operate with scalar or vectorial bond connections optionally. The user may set constant parameters directly via block mask or work with variable parameters by defining an additional parameter input if allowable for the considered element like TF or GY. The applicable block masks offer different additional adjustments like number of inputs and outputs as well as operation mode for node blocks or initial values resp. additional momentum or displacement outputs regarding energy storages I and C. Each block provides a protection of its functionality, i.e. a first mask access only allows a change of the parameter value. Operation mode modifications must be unlocked in a second step. Programming a second file filename_P.m causes the allocation of determined or calculated numerical values to symbolic defined parameters of each element.

Nodes and measurements:
Since one power variable type of a node blocks power variable pairs has been defined to be constant there are two different icons per node type necessary. Icon appearance forms and underlying equations are documented. Any effort and flow variable of a Bondgraph may be measured by means of an AB block which realises the activated bond functionality whereas momentum and displacement variables are immediately disposal at storage elements.

Summary:
The Simulink add-on BG V.2.1 offers a tool for the graphical programming of power flow diagrams in terms of Bondgraphs. Nine blocks ensure all essential modes via mask input. That way e.g. causality changes, nonlinearities, initial values, vectorial operation, power outputs or protection of settings are ensured. Examples describe the different usage as for process modelling, control loops or energy efficiency (VDI/VDE 3547, Assessment of quality of motion systems and controlled sequences of motion, Düsseldorf 2001) computation. Tool, examples and short documentation are included.

Required Products Simulink
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
09 Dec 2006 awad orban  
15 Jan 2007 Qarab Raza

Good simulation tool

23 Feb 2007 moataz haron

I could not install BG V.2.0 although I have matlab7
how I must make.

16 Oct 2007 Shang-Ren Tseng

How do I set the path of BG V.2.0 for Matlab7.1?

08 Nov 2007 Eduardo F. del Peloso

BG V.2.0 is an excellent, almost perfect tool for dynamic systems modelling via Bond Graphs. Without it, it is still possible to simulate Bond Graphs using Simulink, but it is way much more difficult!

03 Feb 2008 peter mani  
21 Jan 2009 Aaron klapheck

You don't need to install this software. All you need to do is add the folder to your working directory. To set the working directory you just have to hit the "brows for folder" button near the working directory. Then select the folder BidV21 in the BG21 folder. I love the software. I just can't read it because it is not in English.

02 May 2009 marwa

i have use this tool it is easy but i have a problem dealing with it,
i applay (three phase inverter) example with this libraray after i finish i used the model advisor to get any warning or errors to be fixed before runing then during runing the file won't compile and matlab will hang ,please help

Please login to add a comment or rating.
Updates
24 May 2006

Extended documentation

10 Aug 2006

Three more examples: three-phase induction machine (ASM) with Clarke (ab) and Park (dq) coordinates, doubly-fed induction machine (DASM) with Park (dq) coordinates; each with scalar and vectorial Bond Graph.

27 Oct 2006

Examples: 16 / inclusive of variants a total of 52;
Scalar and vectorial models of three-phase machines with and without power conserving transformation as well as two-reaction theory;
Some minor enhancements;
Minor upgrading of the documentation;

27 Apr 2007

Enabling of differential causality;
Two examples including differential causality (pendulum, double pendulum);

09 May 2007

New example (29th example): two variants of Chua's Circuit (chaos generator with F-source resp. E-source);
Enhancement of TF-element for use as switch;

23 Oct 2007

New examples: buck and boost converter models; including Power Oriented Graph (POG) in parallel as well as dimension m=1 and m=3 [see chopper models: 3 and 4 resp. boost converter models: 4 and 5];Clutch model for hybrid electric vehicles;Contents.m

16 Nov 2007

New example: band-stop filter; enhanced documentation: special case of a node connection.

04 Feb 2008

Enhancements: SD (vector input), ICS (power variable: initial values), contents.m: ver.m fitted, documentation; 3 new examples: cascaded electric circuit, switched cascaded electric circuit, spring cable cylinder; asynchronous machine: 3 compact BGs

10 Mar 2008

Node block enhancement: Special case "alternative power variable input" offers a checkbox "Bidirectional negative sign for first CPP". So far a trick was used - now checkbox is available. Please compare example "BandStopFilter" (Node_0D) in circuits

22 Jul 2008

Bug fix regarding Fields (mixed causality); bug fix regarding Nodes (loopthroughing); enhancements regarding GY / TF (unified parameter input / transpose operation); new examples gimbal + traction drive (POG parallel) – two versions each + reference

24 Nov 2008

Reactivated links within block help; two new examples: sinusoidal source voltage, R resp. L, diode, RC load; "description" contains a link to the homepage now

28 Apr 2010

Bug fix regarding TF in vector / matrix mode – last(s) elements zero.

Tag Activity for this File
Tag Applied By Date/Time
simulink Gert-Helge Geitner 22 Oct 2008 08:25:36
bondgraph Gert-Helge Geitner 22 Oct 2008 08:25:37
bond graph Gert-Helge Geitner 22 Oct 2008 08:25:37
power flow Gert-Helge Geitner 22 Oct 2008 08:25:37
energy structure of systems Gert-Helge Geitner 22 Oct 2008 08:25:37
energy Gert-Helge Geitner 22 Oct 2008 08:25:37
automotive Gert-Helge Geitner 24 Nov 2008 15:41:42
demo Gert-Helge Geitner 24 Nov 2008 15:41:42
physics Gert-Helge Geitner 24 Nov 2008 15:41:42
aerospace Gert-Helge Geitner 24 Nov 2008 15:41:42
modeling Gert-Helge Geitner 24 Nov 2008 15:41:42
simulation Gert-Helge Geitner 24 Nov 2008 15:41:42
de Aaron klapheck 21 Jan 2009 23:42:46
simulink Chris Hallgren 03 Jun 2010 15:01:27
energy Chris Hallgren 03 Jun 2010 15:01:33
automotive Chris Hallgren 03 Jun 2010 15:01:36

Contact us at files@mathworks.com