Meinberg PTP270PEX Manual Download Page 11

Page 8

3 Precision Time Protocol (PTP) / IEEE1588

3.4.4 Two-Step or One-Step

The PTP protocol requires the master to periodically send SYNC messages to the slave devices. The hardware time

stamping approach of PTP requires that the master records the exact time when such a SYNC packet is going on

the network wire and needs to communicate this time stamp to the slaves. This can be achieved by either sending

this time stamp in a separate packet (a so-called FOLLOW-UP message) or by directly manipulating the outgo-

ing SYNC message, writing the hardware time stamp directly into the packet just before it leaves the network port.

At the time of delivery of this product, Meinberg devices support only the former approach, called Two-Step

(because two packets are required).

3.4.5 End-To-End (E2E) or Peer-To-Peer (P2P) Delay Measurements

In addition to receiving the SYNC/FOLLOWUP messages a PTP slave device needs to be able to measure the

network delay, i.e. the time it took the SYNC message to traverse the network path between the master and

the slave. This delay is required to correct the received time information accordingly and it is measured by the

slave in a congured interval (more about the message intervals later). A delay measurement is performed by

sending a so-called DELAY_REQUEST to the master which timestamps it and returns the timestamp in a DE-

LAY_RESPONSE message.

IEEE 1588-2008 oers two dierent mechanisms for performing the delay measurements. A slave can either

measure the delay all the way to the master, this is called End-To-End (or E2E in short) or to its direct network

neighbors (which would in almost all cases be a switch  or two in a redundant setup), using the Peer-To-Peer

delay measurement mechanism (P2P). The delay measurements of all links between the master and the slave are

then added and accumulated while a SYNC packet is traversing the network.

The advantage of this method is that it can dramatically reduce the degradation of accuracy after topology

changes. For example: in a redundant network ring topology the network delay will be aected when the ring

breaks open and network trac needs to be redirected and ows into the other direction. A PTP slave in a sync

infrastructure using E2E would in this case apply the wrong delay correction calculations until it performs the

next delay measurement (and nds out that the network path delay has changed). The same scenario in a P2P

setup would see much less time error, because the delay of all changed network links were already available.

The drawback: the P2P approach requires that all involved PTP devices and all switches support this mech-

anism. A switch/hub without P2P support would in the best case simply pass the so-called PDELAY messages

through and as a result degrade the accuracy of the delay measurements. In the worst case it would block/drop

the PDELAY messages completely, which eectively would result in no delay measurements at all.

So, E2E is the only available choice if you are running PTP trac through non-PTP-aware switches. It is a

reasonable choice if you are not using redundant network topologies or can accept that the delay measurements

are wrong for a certain amount of time.

3.4.6 Mode Recommendations

Meinberg recommends to set up your PTP infrastructure to use Layer 3, Multicast, Two-Step and End-To-

End Delay measurements if that is possible. This will provide the largest possible compatibility and reduces

interoperability problems.

3.4.7 Message Rate Settings

The decision between the dierent general mode options is mainly dictated on the network environment in which

the PTP infrastructure is installed.

In addition to the mode selection, a number of intervals for certain types of PTP network messages needs to be

dened. In most cases, the default values as dened in the standard are a safe bet, but there are applications and

scenarios where a custom message rate is required.

A possible example is a situation where the PTP infrastructure is integrated within an environment with high

network load. In this case, the PTP packets can be aected by the eect of packet delay variation (PDV). An

increase of the PTP message rate(s) can avoid synchronization problems due to packet queuing within non-PTP

compliant switches which might cause false measurements. At higher rates, these false measurements can be

detected and corrected faster as compared to lower rates at the cost of increased trac.

8

Date: 22nd November 2012

PTP270PEX

Summary of Contents for PTP270PEX

Page 1: ...MANUAL PTP270PEX IEEE 1588 Computer Clock 22nd November 2012 Meinberg Radio Clocks GmbH Co KG...

Page 2: ......

Page 3: ...7 3 4 4 Two Step or One Step 8 3 4 5 End To End E2E or Peer To Peer P2P Delay Measurements 8 3 4 6 Mode Recommendations 8 3 4 7 Message Rate Settings 8 3 4 8 ANNOUNCE Messages 9 3 4 9 SYNC FOLLOWUP M...

Page 4: ...nberg Radio Clocks GmbH Co KG Lange Wand 9 31812 Bad Pyrmont Germany Phone 49 0 52 81 93 09 0 Fax 49 0 52 81 93 09 30 Internet http www meinberg de Mail info meinberg de Date 2010 06 08 PTP270PEX Date...

Page 5: ...stalling the driver correctly 2 2 Mode of operation The on board Time Stamp Unit TSU integrated in a FPGA Field Programmable Gate Array programmable logic device monitors the data tra c on the MII int...

Page 6: ...r a continuous stream of events at a lower rate depending on the transmission speed of COM1 can be measured The format of the output string is described in the technical speci cations at the end of th...

Page 7: ...RJ45 with magnetics input signals time capture output signals signal generator PCI Express Bus register set single board computer SBC running PTP stack microcontroller reference oscillator O T CXO Tx...

Page 8: ...egrade the accuracy therefore classic layer 2 and 3 Ethernet switches with their store and forward technology are not suitable for PTP networks and should be avoided With activating the HQ Filter see...

Page 9: ...reached its nominal value the nanoseconds are reset again This procedure leads to a maximum deviation of 20 nsec of the pulse per second 1PPS of the PTP Master compared to the 1PPS of the GPS referen...

Page 10: ...hronization link 3 4 2 Network Layer 2 or Layer 3 PTP IEEE 1588 2008 o ers a number of so called mappings on di erent network communication layers For Meinberg products you can choose between running...

Page 11: ...s to be redirected and ows into the other direction A PTP slave in a sync infrastructure using E2E would in this case apply the wrong delay correction calculations until it performs the next delay mea...

Page 12: ...clock or the primary one during initialization the devices re quire to receive at least two consecutive ANNOUNCE messages Continuing our example it would take the 6 seconds to determine that the curre...

Page 13: ...the term jitter is used to describe the maximum deviation of the measured o sets around a certain mean value This time jitter of standard non PTP compliant switches can be in the range of 100 ns up to...

Page 14: ...direction Higher bandwith is implemented by using multiple lanes silmutaneously A PCI Express x16 slot for example uses sixteen lanes providing a data volume of 4 GB s For comparison when using conve...

Page 15: ...switch assigned are always available at the connector D SUB Pin Signal Signal level DIL switch 1 VCC out 5V 1 1 PPO0 out RS232 8 2 RxD in res RS232 3 TxD out res RS232 4 PPO1 out TTL 5 4 10MHz out TT...

Page 16: ...detected and the LED TX ashes whenever an outgoing PTP packet is detected by the Time Stamp Unit The 9 pin sub D connector is wired to the PTP270PEX s serial port COM0 Pin assignment can be seen in t...

Page 17: ...timecodes which are transmitted by modulating the pulse dura tion of a DC signal TTL in case of PTP270PEX see chapter IRIG standard format for details Transmission of the time code is synchronized to...

Page 18: ...7 3 IRIG Standard Format Page 15 7 3 IRIG Standard Format PTP270PEX Date 22nd November 2012 15...

Page 19: ...Page 16 7 Time codes 7 4 AFNOR Standard Format 16 Date 22nd November 2012 PTP270PEX...

Page 20: ...T Daylight Saving Time set during daylight saving time 64 Timezone O set Sign sign of TZ o set 0 1 65 TZ O set binary encoded 1 66 TZ O set binary encoded 2 O set from IRIG time to UTC time 67 TZ O se...

Page 21: ...L level ACCURACY OF PULSES depending on master oscillator TCXO OCXO LQ better than 100 nsec after synchronization and 20 minutes of operation OCXO MQ OCXO HQ better than 20 nsec after synchronization...

Page 22: ...emperature dependant dri free run 1 10 6 20 70 C 2 10 7 0 60 C Note 1 The accuracy in Hertz is based on the standard frequency of 10 MHz For example Accuracy of TCXO free run one day is 1 10 E 7 10 MH...

Page 23: ...t rungen von A1 2000 A2 2003 informationstechnischen Einrichtungen Limits and methods of measurement of radio interference characteristics of information technology equipment EN55024 1998 Grenzwerte u...

Reviews: