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-4 Industrial Communication Systems<br />

The instants at which information is delivered or received are a priori defined and known by all nodes<br />

of a cluster. Any node-local scheduling strategy that will satisfy the known deadlines is “fit for purpose.”<br />

It is the responsibility of the time-triggered <strong>communication</strong> service to transport the information from<br />

the temporal firewall of the sending node to the temporal firewall of the receiving node within the interval<br />

delimited by these a priori known fetch and delivery instants.<br />

43.4 time-Triggered Protocol (TTP)<br />

The TTP [TTA03] is a fault-tolerant protocol providing<br />

• Autonomous fault-tolerant message transport at known times and with minimal jitter between<br />

the nodes of a cluster by employing a time division multiple access (TDMA) strategy on replicated<br />

<strong>communication</strong> channels<br />

• Fault-tolerant clock synchronization that establishes a global time base without relying on a central<br />

time server<br />

• A membership service to inform every correct node about the consistency of data transmission.<br />

This service can be viewed as a distributed acknowledgment service that informs the application<br />

promptly if an error in the <strong>communication</strong> system has occurred<br />

• Clique avoidance [BP00] to detect faults outside the fault hypothesis, which cannot be tolerated<br />

at the protocol level<br />

In TTP, <strong>communication</strong> is organized into TDMA rounds as depicted in Figure 43.5. A TDMA round<br />

is divided into slots. Each node in the <strong>communication</strong> system has its sending slot and must send<br />

frames in every round. The frame size allocated to a node can vary from 2 to 240 bytes in length, each<br />

frame usually carrying several messages. The cluster cycle is a recurring sequence of TDMA rounds;<br />

in different rounds different messages can be transmitted in the frames, but in each cluster cycle the<br />

complete set of state messages is repeated. The data are protected by a 24 bit cyclic redundancy check<br />

(CRC). The schedule is stored in the message descriptor list (MEDL) within the <strong>communication</strong> controller<br />

of each node.<br />

The clock synchronization is necessary to provide all nodes with an equivalent time concept. In doing<br />

so, it makes use of the common knowledge of the send schedule. Each node measures the difference<br />

between the a priori known expected and the observed arrival time of a correct message to learn about<br />

the difference between the sender’s clock and the receiver’s clock. A fault-tolerant average algorithm<br />

needs this information to periodically calculate a correction term for the local clock, so that the clock is<br />

kept in synchrony with all other clocks of the cluster. The membership service uses a distributed agreement<br />

algorithm to determine whether, in case of a failure, the outgoing link of the sender or the incoming<br />

link of the receiver has failed.<br />

The core algorithms of TTP have been formally verified to prove their correctness. Particular controller<br />

hardware has been tested with multimillion fault injection and heavy ion radiation experiments and<br />

experiments with electromagnetic interferences have been carried out successfully.<br />

Node A<br />

Other slots Node A Other slots Node A Other slots Node A Other slots<br />

Channel A<br />

Channel B<br />

m1,m2,m3<br />

m1,m6,m8<br />

m1,m2<br />

m1,m5,m6<br />

m1,m2,m3<br />

m1,m6,m8<br />

m1,m2,m4<br />

m1,m5,m6<br />

TDMA round<br />

Time<br />

Cluster cycle<br />

FIGURE 43.5<br />

Frames, messages, slots, TDMA round, and cluster cycle in TTP <strong>communication</strong>.<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!