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.

Clock Synchronization in Distributed Systems 18-5<br />

Node clock<br />

Ordinary<br />

clock<br />

data sets<br />

Port 1<br />

Port 2<br />

Port 3<br />

Port n<br />

Protocol engine<br />

…<br />

Clock Protocol state<br />

correction engine<br />

Message Configuration<br />

assembling storage<br />

Port<br />

configuration<br />

data and<br />

foreign<br />

master data<br />

Event port<br />

Timestamped<br />

message receipt and<br />

transmission<br />

General<br />

port<br />

Message receipt and<br />

transmission w/o<br />

timestamping<br />

PTP <strong>communication</strong> path<br />

(Technology 1)<br />

(Technology 2) (Technology 3) (Technology n)<br />

FIGURE 18.4<br />

Model of a PTP boundary clock (PTPBoundaryClock.pdf).<br />

18.7 Precision Time Protocol, IEEE 1588–2008 (PTPv2)<br />

Version 1 of IEEE 1588 was kept as simple as possible, but growing <strong>industrial</strong> interest in precision clock<br />

synchronization soon made clear that an improved version of the standard was needed. By the time<br />

of writing, the second ballot on IEEE 1588v2 has started and the final publication of the standard is<br />

expected to be in the second half of 2008. The new version of the standard will have several improvements<br />

[IEEE 1588v2]:<br />

• Mappings. As the main clauses of the standard specify a <strong>communication</strong> protocol, rather then<br />

actual payload positions in packets, mappings to <strong>communication</strong> protocols such as IP have to be<br />

made. As an improvement to version 1, additional mappings such as to UDP in IPv4 and IPv6,<br />

DeviceNet, raw Ethernet, PROFINET, and ControlNet will be made.<br />

• Type length value fields. Version 1 suffered from the problem that formally, messages could<br />

not be extended with arbitrary information. Such extensions have been added via partly userdefinable<br />

type length value (TLV) fields. Nevertheless, not only proprietary fields are defined<br />

via TLVs. Also, standardized functionality, like security updates, is transported via these fields.<br />

• Transparent clocks. Under the name “on-the-fly timestamping” [Gaderer2004], version 2 supports<br />

transparent clocks, which are basic network elements that timestamp messages when entering<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!