23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

43-10 Industrial Communication Systems<br />

Configuration and Planning Interface<br />

During the integration phase, the configuration and planning (CP) interface is used to generate the<br />

“glue” between the nearly autonomous components, that is, the time-triggered schedule and <strong>communication</strong><br />

endpoints. The CP interface is not time-critical.<br />

43.6.3 Principles of Operation<br />

TTP/A is a TTP supporting two types of <strong>communication</strong>: (1) master–slave <strong>communication</strong> between<br />

an active master and a selected transducer node and (2) multipartner <strong>communication</strong> among several<br />

smart transducer nodes. The master is required for both <strong>communication</strong> modes in order to establish a<br />

common time base among the nodes. In case of a crash failure of the master, a shadow master can take<br />

control. Every node in this cluster has a unique alias, an 8 bit (1 byte) integer, which can be assigned to<br />

the node a priori or set via the configuration interface.<br />

The bus allocation is done by a TDMA scheme. Communication is organized into rounds consisting<br />

of several TDMA slots. A slot is the unit for transmission of one byte of data. Data bytes are transmitted<br />

in a standard UART format. Each <strong>communication</strong> round is started by the master with a so-called<br />

fireworks byte. The fireworks byte defines the type (e.g., multipartner or master–slave) of the round and<br />

is a reference signal for clock synchronization. Followed by the fireworks byte are a number of data<br />

bytes. The <strong>communication</strong> pattern for each round is predefined via the RODL, which is distributively<br />

stored in all nodes.<br />

There are eight different firework bytes encoded by a redundant bit code supporting error detection.<br />

One fireworks byte is a regular bit pattern, which is also used by slave nodes with an imprecise on-chip<br />

oscillator for startup synchronization (see Figure 43.9). Between 2 data bytes, there is an extra Inter-Byte<br />

Gap (IBG) in order to account for a switching time between different senders. The IRG defines a time of<br />

silence between two consecutive rounds.<br />

UART−Frame 11−bit<br />

IRG<br />

0 1 2 3 4 5 6 7<br />

Odd<br />

IBG<br />

Start<br />

LSB<br />

Synchronize pattern<br />

MSB<br />

Partity<br />

Stop<br />

TTP/A Slot−13 bit<br />

FIGURE 43.9<br />

Synchronization pattern.<br />

Multipartner round<br />

Slot 0<br />

Slot 1 Slot 2<br />

Slot n<br />

Slot 0<br />

FB (Master)<br />

DataByte<br />

DataByte DataByte FB (Master)<br />

FB.................. Fireworks Byte, sent by master<br />

DataByte...... sent either by master or slave<br />

Last slot of round<br />

t<br />

FIGURE 43.10<br />

Example for a TTP/A multipartner round.<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!