0% found this document useful (0 votes)
16 views5 pages

IEC 61158-4-7-2007 Cor1-2014

The document is a corrigendum to the IEC 61158-4-7 standard, detailing the topology of a multi-segment data-link subnetwork. It specifies methods for defining the topology, including global and local specifications for bridges, ensuring properties like topological connectivity and non-meshing. Additionally, it outlines the calculation of transfer matrices and minimum load matrices to facilitate efficient message routing within the network.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views5 pages

IEC 61158-4-7-2007 Cor1-2014

The document is a corrigendum to the IEC 61158-4-7 standard, detailing the topology of a multi-segment data-link subnetwork. It specifies methods for defining the topology, including global and local specifications for bridges, ensuring properties like topological connectivity and non-meshing. Additionally, it outlines the calculation of transfer matrices and minimum load matrices to facilitate efficient message routing within the network.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

IEC 61158-4-7

(First edition – 2007)

Industrial communication networks –


Fieldbus specifications –

Part 4-7: Data-link layer protocol specification – Type 7 elements

CORRIGENDUM 1

Annex C – Topology of multi-segment DL-subnetwork

Replace the existing text of the annex by the following:

Annex C
(informative)

Topology of multi-segment DL-subnetwork

C.1 Introduction

This annex describes how to specify the topology of a multi-segment DL-subnetwork. The aim
is to propose a data structure, which could be minimal while allowing correct operation of the
bridge retransmission function.

The topology of a DL-subnetwork can first be specified globally, in order to verify a certain
number of properties (topological connectivity, non-meshing, etc.); then on the basis of this
specification the local data base specific to each bridge must be calculated in order to ensure
it operates correctly.

Although this appendix proposes a method to achieve this goal, only the specifications of the
data structures, global or local to each bridge, which define the DL-subnetwork topology, as
well as the properties which it should fulfil, must be taken into account in the standard. The
suggested method shows how to obtain a solution to the problem by taking into account
certain optimization problems.

C.2 Global specification

The topology of a multi-segment DL-subnetwork can be defined by the following elements:

— the set S of its segments: S = { si i ∈ [1 , n ] }

— the set B of its bridges: B = {bk k ∈ [1 , m ] }


k
— and for each bridge of B, the data of a matrix B k of dimension n × n. whose coefficients bij
are defined by:

January 2014
k
— bij = 0 if i = j;

k
— bij = ∞ if the bridge b k does not allow transfer of messages from segment s i to
segment s j ;
k
— bij = α with α ∈ R+*, if the bridge b k allows the transfer of messages from segment s i
towards segment s j, with α as load coefficient which allows taking into account of a
different efficiency rate according to the transfers.

k
A load coefficient bij can represent the load, as a rate of occupation of the medium, of the
retransmission segment s j. In reality, either the destination is directly s j , or there are several
paths possible, passing through intermediate segments, to reach s j and in this case the
choice shall be to pass by the least loaded path.

It is of course possible to take as coefficients the same value (1 for example).

If a bridge allows two-way retransmission with the same load coefficient for the two directions,
its matrix is symmetrical.

The matrix B k of a bridge also allows knowing all the segments to which it is connected:

— either in reception, S r k = { segments whose corresponding line in the matrix includes at


least one non-null finite coefficient}; note n r k = card (S r k ),
— or in transmission, S e k = {segments whose corresponding column in the matrix includes at
least one non-null finite coefficient}; note n e k = card (S e k ).

C.3 Local specification

The information which a bridge must have locally allows it to answer the following question:
when I receive a message on a segment sr ∈ S r k destined for another segment s j , must I do
i
nothing or must I retransmit on segment se ∈ S e k ).
h

To fulfil this purpose, it is enough to allocate to each bridge b k a transfer matrix T k with
k
dimensions n r k × n, whose elements rij are defined by:

— the line index i ∈ [1, n r k ] references segments sr connected in reception (∈ S r k ),


i
— the column index j ∈ [1, n] references the segments s j of the DL-subnetwork (∈ S),
k
— rij = 0 if on reception of a message on segment sr ∈ S r k addressed to segment s j , the
i
bridge shall not do anything, either because s j cannot be reached via this bridge, or
because sr i = s j (a bridge shall not retransmit a message received from a segment
towards this same segment),
k
— rij = seh , with se ∈ S e k , if on reception of a message on segment sr ∈ S r k addressed
h i
to segment s j , the bridge must retransmit to segment se .
h
NOTE Indexes i and h correspond to channel numbers whereas sr i is the segment connected in reception to
channel i and se h is the segment connected in transmission to channel h.

January 2014
C.4 Properties

The properties which should satisfy the DL-subnetwork are topological connectivity and non-
meshing.

Topological connectivity consists in ensuring that there is always a path from any given
segment of S to any other segment of S.

Non-meshing consists in ensuring that the transmission of a message from a transmitter


located on segment s e and addressed to a receiver located on segment s r can be routed by
only one path (thus preventing the message from being received more than once).

In fact, it is the definition of the local specification of each bridge and the calculation of its
transfer matrix which ensure this property: by definition, on reception of a message on
segment sr addressed to segment s j , either the bridge does not retransmit it, in particular if
i
segment sr is equal to segment s j, or the bridge retransmits it on a single segment se ,
i h
whereas by calculation of the matrix, it is necessary to make sure that one and only one
bridge, connected in reception to segment sr , retransmits the message.
i

C.5 Methods

The method consists in calculating the matrix C of the minimum loads of the paths between
any two segments. By this way we check the topological connectivity since none of these
coefficients is infinite.

The second stage consists in calculating the transfer matrix of each bridge so that this gives
the global DL-subnetwork the property of non-meshing while preserving the property of
topological connectivity.

C.5.1 Minimum load matrix

a) Load matrix of rank P


Definition: the load matrix of rank P, C P , with dimensions n × n, is the matrix whose
P
coefficients cij give the minimum load to travel from segment i towards segment j by
passing via not more than P bridges.
We have:

— ciiP = 0 ;
P
— cij = ∞ , if there is no path from segment i to segment j by passing via not more than
P bridges;
P
— if cij is finite, the optimal corresponding path includes not more than P bridges (it can
include less than P).
Obtaining by recurrence:
1
— The coefficients cij of the load matrix of rank 1, C 1 , are given by:

cij1 = min (b )
k
ij

k ∈ [1 , m]
We have:

— cii1 = 0 ;

January 2014
1
— cij = ∞ , if there is no permanent bridge allowing transfer from segment i towards
segment j ;
1
— cij is finite, if there exists one or more bridges allowing the transfer from segment i
towards segment j.
P
— The coefficients cij , for P > 1, of the load matrix of rank P, C P , are given by:

cijP = min (c 1
ik + c kjP −1 )
k ∈ [1 , m]
In reality, the minimum load between two segments i and j passing via P bridges
corresponds to a path composed of:
— a bridge allowing the passage from segment i to segment k, with a minimum load c 1 ,
— and a path with minimum load c 2 between this segment k and segment j, passing via
P-1 bridges.
The intermediate bridge is additionally selected so that c 1 + c 2 is minimal.

b) Minimum load matrix


Definition: the minimum load matrix C, dimension n × n, is the matrix whose coefficients
cij give the minimum load to go from segment i to segment j. We thus have:
— cii = 0 ;
— cij = ∞ , if there is no path from segment i to segment j ;

— if cij is finite, there is a path of length L (s 1 , s 2 ,… , s L ) with s 1 = i and s L . = j, passing

via bridges b kh , h ∈ [1, L - 1], whose load is cij with:

h = L −1
cij = ∑ bsk s h
h h +1
h =1

By definition the topological connectivity is well ensured by the fact that all the minimum load
matrix coefficients C are finite.

Property: the minimum load matrix C is the limit of the load matrixes of rank P, when P tends
to infinity:

lim
C= CP
P→∞

In reality, the series C P is stationary, at least from rank m, where m is the number of bridges.
A path which passes via more than m bridges passes at least twice via the same bridge and
cannot thus have a minimum load.

Suppose Q the row from which the C P series is stationary (C Q+1 = C Q ).

C.5.2 Calculation of the transfer matrices

Suppose now that the DL-subnetwork is topologically connected.

January 2014
The transfer matrices T k are calculated by iteration according to the number P of bridges, from
1 to Q, requiring a minimum load path from a source segment s and a destination segment d.

At the start, T k = 0 for every k.

The transfer matrix coefficients are referenced in the same manner as in C.3, that is:

— the line index i ∈ [1, n r k ] references the sr segments connected in reception (∈ S r k ),


i
— the column index j ∈ [1, n] references the s j segments of the DL-subnetwork (∈ S).

a) Passage of a segment s to a segment d via 1 bridge

For all pairs of segments s and d such that c1sd is finite,

for one and only one k (as selected) such that c1sd = bsd
k
,

the following assignment is performed for the transfer matrix T k :


k
— for i ∈ [1, n r k ] such that sr = s and for j ∈ [1, n] such that s = d , then rij = s j .
i j

b) Passage of a segment s to a segment d via P bridges


P P −1
For every pair of segments s and d such that c sd is finite whereas c sd is infinite,

for one and only one k (as selected) such that


P
∃ s' c sd = bssk ' + c sP'd−1 ,
the following assignment is thus performed for the T k transfer matrix:
— for i ∈ [1, n r k ] such that sr = s and for j ∈ [1, n] such that s = d , then
i j
rijk = s h with s h = s’

In the last two paragraphs, the bridge k which verifies the necessary property is not
necessarily unique, but an assignment must be made for a single bridge to ensure the
property of non-meshing.

January 2014

You might also like