23.03.2017 Views

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

43-6 Industrial Communication Systems<br />

43.5.1 Principles of Operation<br />

In order to allow deterministic real-time <strong>communication</strong> to coexist with competing senders communicating<br />

in a best-effort manner, TTEthernet distinguishes between two fundamentally different<br />

categories of traffic: standard event-triggered (ET) Ethernet traffic and time-triggered (TT) Ethernet<br />

traffic. In the case of TTEthernet traffic, the senders are cooperating according to a consistent message<br />

schedule in a way that no conflicts will occur between TTEthernet messages in a fault-free<br />

TTEthernet system. TTEthernet traffic provides dependable hard real-time <strong>communication</strong> traffic<br />

which coexists with standard Ethernet traffic but is guaranteed not to be disrupted by standard<br />

Ethernet messages.<br />

Since standard Ethernet traffic typically originates in an uncontrollable open world, no temporal<br />

guarantees for the standard Ethernet traffic can be given. Whenever a standard Ethernet message<br />

(which is typically uncoordinated) conflicts with a TTEthernet message, the transmission of the standard<br />

Ethernet message will be preempted in order to be able to transmit the TTEthernet message with<br />

an a priori established constant delay (i.e., this delay is the same in the case where a standard Ethernet<br />

message has to be preempted in order to resolve a conflict as it is in the case where no conflict has<br />

occurred). When the transmission of the TTEthernet message has been completed, the preempted standard<br />

Ethernet message will be automatically retransmitted.<br />

The preemption of standard Ethernet messages is performed by a dedicated TTEthernet switch<br />

[SGAK06]. The switch handles the standard Ethernet traffic according to the store-and-forward paradigm<br />

and a best-effort delay according to the standard Ethernet specification. The time-triggered<br />

traffic is handled according to the cut-through paradigm with an a priori known constant delay and<br />

minimal jitter.<br />

43.5.2 time Format<br />

A digital time format can be characterized by three parameters: the granularity, the horizon, and<br />

the epoch. The granularity determines the minimum interval between two adjacent ticks of a clock,<br />

that is, the smallest interval that can be measured with this time format. The reasonable granularity<br />

can be derived from the achieved precision of the clock synchronization [KO87]. The horizon<br />

determines the instant when the time will wrap around. The epoch determines the instant when the<br />

measuring of time starts.<br />

The time format of TTEthernet is a binary time format, which is based on the physical second represented<br />

by 64 bits. The fractions of a second are represented as 24 negative powers of 2, which results<br />

in a granularity of about 60.ns, and the full seconds are represented as 40 positive powers of 2 which<br />

results in a horizon about 30,000 years. The time format has been standardized by the OMG in the small<br />

transducer interface standard [OMG02]. The representation of the binary time format can be translated<br />

to the wall clock time by a standard Gregorian calendar function.<br />

43.5.3 Periods<br />

In TTEthernet, the period durations of time-triggered messages are restricted to the positive and negative<br />

powers of 2 of the second (1.s, 2.s, 4.s … or 1/2.s, 1/4.s, 1/8.s …). Due to this restriction, each period<br />

duration can be represented by one of the 64 bits of the binary time format. The bit representing the<br />

period duration of a time-triggered message is called the period bit. The TTEthernet implementation<br />

(version 1.9) supports 16 different durations and thus requires 4 bits to encode the period bit (see Figure<br />

43.6). The offset of the send instant of a message to the start of the period is called the phase of the message.<br />

The phase is represented by a pattern of 12 bits right to the period bit. Thus, in TTEthernet 2 bytes<br />

are required to store the period duration and the phase of a message. These 2 bytes are called the period<br />

identifier.<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!