LXI, IEEE1588 and TTP

May 30, 2005 2 Replies

Does anyone on here have any experiences to relate about implementing any of the above protocols. How much effort did it take, how much processor and memory resource and how accurate a timing correlation can be achieved across nodes on the network. I would also be interested in knowing if some of the schemes used other timing synchronisation distribution schemes in addition to these protocols.



I am looking at a situation with approximately 50,000 sensors, some time critical control requirements and and a need to ensure that all the data is on a closely relateable timebase.


******************************************************************** Paul E. Bennett .................... Forth based HIDECS Consultancy ..... Mob: +44 (0)7811-639972 Tel: +44 (0)1235-811095 Going Forth Safely ....EBA. http://www.electric-boat-association.org.uk/********************************************************************

For an accurate time synchronisation, the method I have used on party line protocols was based on measuring the time with the following procedure:

A sends a synchronisation frame to B and starts a timer (1) when a specific character is sent B reads the time at wich it receives the character and starts a timer (2) B sends a reply frame, reads the timer (2) when the equivalent character is sent and writes its value in the frame as it goes. A reads the timer (1) when it receives the reply, substracts the time value (2) in the frame and divides the result by two in order to compute the time it takes to send a frame.

The timers should be started in an ISR upon transmit interrupt

When you send a time synchronisation frame you add the time it takes to send a frame to your local time. You read the time when you send the specific character, in the ISR.

I could achieve 80us accuracy on a fieldbus with this method and 1ms accuracy on long distances at 1200bds

I am familiar with the implementation. You can achieve 20ns time accuracy at the best with IEEE 1588 with significant hardware efforts. For details please send a email to:

DigitalSignal999[at]yahoo.com

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required