WO1998056135A2 - Method for providing time synchronization in a network - Google Patents

Method for providing time synchronization in a network Download PDF

Info

Publication number
WO1998056135A2
WO1998056135A2 PCT/FI1998/000481 FI9800481W WO9856135A2 WO 1998056135 A2 WO1998056135 A2 WO 1998056135A2 FI 9800481 W FI9800481 W FI 9800481W WO 9856135 A2 WO9856135 A2 WO 9856135A2
Authority
WO
WIPO (PCT)
Prior art keywords
node
time
tick
network
slave
Prior art date
Application number
PCT/FI1998/000481
Other languages
French (fr)
Other versions
WO1998056135A3 (en
Inventor
Maurizio Mariani
Harald Vefling
Kimmo HÄMYNEN
Wojciech Kozlowski
Original Assignee
Abb Research Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Abb Research Ltd. filed Critical Abb Research Ltd.
Priority to DE69837431T priority Critical patent/DE69837431T2/en
Priority to AU76575/98A priority patent/AU7657598A/en
Priority to EP98924349A priority patent/EP0983658B1/en
Publication of WO1998056135A2 publication Critical patent/WO1998056135A2/en
Publication of WO1998056135A3 publication Critical patent/WO1998056135A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0664Clock or time synchronisation among packet nodes using timestamps unidirectional timestamps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/14Time supervision arrangements, e.g. real time clock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0682Clock or time synchronisation in a network by delay compensation, e.g. by compensation of propagation delay or variations thereof, by ranging

Definitions

  • the present invention relates to a method for providing time syn- chronization in a network, especially in a Local Area Network (LAN), in which the network a (selected) node comprises a Master Time Distributor designed for broadcasting clock information on demand.
  • LAN Local Area Network
  • LAN Local Area Networks
  • Absolute Time Even if one node is designated a role of Master Time Distributor and responsible for broadcasting clock information on demand, the medium access mechanism of LAN introduces an unpredictable delay to the transfer of time synchronization message. This delay can easily surpass the required precision of the Absolute Time, rendering the whole concept mean- ingless.
  • the duration of the time synchronization message and the message handling delays in the receiving nodes introduce further uncertainties.
  • US 5 440 556 (Edem et al.) relates to a method wherein two circuits on each side of a network line are synchronized to the same reference clock by sending each circuit a 125 ⁇ s pulse.
  • US 5 602 922 (Danneels) relates to a system for synchronizing data transmitted from a server to a client, by initializing the clock when the first packet has been received and furthermore comparing the clock times with the packet time. This system may be relevant in connection with video, where time distances are relevant.
  • US 5 544 324 (Edem et al.) relates to a network for transmitting isochronous data by using a frame structure having a variable number of time slots to compensate for timing variants between reference clocks and data rate.
  • An example of an isochronous data sync is a video monitor which can receive a continuous stream of video data for display, and this prior art seeks to transfer such isochronous data in a more appropriate manner.
  • WO 87/04306 (Ketzler/ETA Systems) relates to an electronic clock control system for digital data computers. The system comprises of a master oscillator distributing clock signals to a number of circuit cards for regulating the time delay to each circuit card.
  • WO 93/04544 (Wray/Motorola) relates to a method for adjusting a synchronization signal with a received data signal by using an error signal which defines the difference between the two signals.
  • WO 93/14570 (Bergstr ⁇ m/Asea Brown Boveri) relates to a method and device, used for tuning an internal generated clock pulse signal by using master and slave units in a FLL circuit.
  • the object of the present intention is to introduce a method of time distribution that will circumvent the problem of unpredictable delays, for thereby enabling a very accurate time synchronization.
  • This object is based on a defined network event called a "tick". The requirement for such a tick is only that it can be transmitted on a network, and is unique and easily recognizable.
  • the object of the invention is achieved in connection with a method as of the type stated in the preamble, which according to the solution is char- acterized by a definition of a "tick", sending such a tick from one node at regular intervals or on demand, one node being defined as the time synchronization master node, and said master node, upon detection of such a tick, sending a message containing the tick arrival time to any node requiring time synchronization.
  • a further aspect of the invention is a network, especially a Local
  • LAN Local Area Network
  • the time synchronization master node which being arranged to, upon detection of such a tick from said at least one slave node, sending a message containing the tick arrival time at the master node to any node requiring time synchronization, any node requiring time synchronization is arranged to the receive the tick and the message, and to check the tick arrival time in the message against its the node's own stored tick arrival time and update the node's local clock by the difference between the local arrival time and the arrival time at the master node.
  • the node which sends (broadcasts) the tick may be the master node or any one of the slave nodes.
  • a slave node for sending the tick instead of the master node.
  • the processing load required at the master node will be reduced since the master node with the highest processing load and with no need of precise time synchronization does not have to process all ticks and is able to dedicate its processing power to primary functions.
  • the master node will send the time message containing the arrival time of the tick at the master node and being addressed to a all slaves, to a group of slaves, or to a specific slave node requesting the synchronization.
  • a slave node which has lost the synchronization is able to restore the synchronization more rapidly.
  • a slave is reset and then booted up. If it is the master node only which sends the tick the delay between the booting up the slave node and receiving the tick and the associated time message and thereby the synchronization of the slave node may be relatively long.
  • the tick is send by the slave node after the reset, eg. In the end of the booting procedure, the synchronization is achieved as soon as possible, without need of waiting for master synchronization cycle.
  • the slave nodes may have different requirements for time accuracy and thereby different cycle times of time synchronization.
  • the ticks will be sent to all the slave nodes with the cycle time of the node(s) having the most strict timing requirements. This results in unnecessary loading of the master node particularly and also the slave nodes with a less strict timing requirements.
  • each node, or one node in a group of slave nodes having similar timing requirements is able to send the tick when required, i.e. at regular intervals or on demand, the loading will be optimized.
  • slave nodes By providing two or more different ticks it is possible to arrange the slave nodes into two or more groups having differ- ent timing requirements or loading situations, so that slave nodes in one group is not able to recognize a tick send by a slave node in another group. As a consequence, heavily loaded slave nodes having less strict timing requirements will not recognize a frequently sent tick of another group and will not waste time and processing capacity for unnecessary synchronization events.
  • one slave node in a group of slave nodes is nominated as a time submaster node which synchronizes itself cyclically with the master node by means of the method according to the invention.
  • the other slave node(s) in the group is (are) synchronized very ac- curately with the submaster node by means of the method according to the invention. This arrangement will still further decrease the loading of the master node.
  • Figure 1 is a diagram illustrating the clock distribution sequence using conventional methods.
  • Figure 2 is a diagram illustrating the time synchronization using the methods according to the present invention.
  • Figure 3 is a block diagram illustrating an embodiment wherein the present invention can find its application
  • Figure 4 is a signalling diagram illustrating the time synchronization wherein a slave node sends the tick.
  • Fig. 1 is a diagram illustrating the clock information distribution sequence using conventional methods.
  • the numeral references herein mean:
  • Time Sync Master Software reads master clock, prepares time message
  • Time Sync Master Software puts the time message in transmit queue 3 Maximum allowable difference between local clocks
  • Time Sync Master waits for transmit permission 4 Time Sync Master transmits the time message and Time Sync Slave receives the time message
  • FIG. 2 is a diagram illustrating the time synchronization using the methods according to the present invention
  • the numeral references therein mean: 1 Time Tick Master Software puts a tick in the transmit queue
  • Time Tick Slave Software notes the local tick arrival time (T lt ), Time Sync Master Software prepares time message containing the master clock tick arrival time (T mt ) and puts it in the transmit queue
  • Time Sync Master transmits the master clock time message on the network medium
  • T., " - " .,+ T mt - T, t ) .
  • the Time Sync Master node then prepares a master clock time message containing the time when the tick arrived and transmits it on the network. When this message arrives, all nodes can check the master clock time against their own stored tick arrival time and update their local clock by the difference between the local arrival time and the master clock time.
  • Basic principle The basic principle of the Very Accurate Time Synchronization system is that the time distribution procedure is changed from one-step to two- step.
  • tick A synchronization event (tick) is defined on the LAN. The only restriction on such a tick is only that it is unique and easily recognizable. The tick may also called a synchronization message. Some possible tick candidates are:
  • a synchronization event is detected in a specified position in the tick.
  • the two-step time distribution procedure is as follows: 1.
  • One node of the LAN is responsible for generating synchronization events at regular intervals or on demand.
  • the detection of a synchronization event by LAN nodes is a time-critical element of the procedure
  • One node of the LAN is assigned the role of the Master Time
  • this node Whenever this node detects a synchronization event on the LAN, it records the time when the event was detected and broadcasts a message containing the recorded time to all nodes that require time synchronization.
  • Fig. 3 shows a block diagram of a Local Area Network node. Such a node must satisfy four requirements: 1. A raw data stream from the LAN interface 2 must be available. 2. A Time Synchronization Event Detector 3 that can detect a specified synchronization event in the raw data stream, must be added.
  • the node 1 must be able to maintain local time between time synchronization messages. 4.
  • the node CPU or the local clock handling hardware must be able to react on the signal from Synchronization Event Detector 3. Very accurate time synchronization procedire If all nodes requiring time synchronization fulfill the requirements presented in the last paragraph, the procedure of very accurate time synchro- nization is as follows:
  • the Synchronization Event Detector 3 When a synchronization event is detected, the Synchronization Event Detector 3 notifies the CPU or the local clock handling hardware.
  • the recorded time is transmitted in a message to other nodes that require time synchronization.
  • the node which sends (broadcasts) the tick may be the master node or any one of the slave nodes.
  • Fig. 4 illustrates a signalling diagram, in which slave 44 sends a tick on the network (not shown), i.e. to a master node
  • All slave nodes 44-46 will receive the tick and register a local arrival time of the tick. Receiving a tick from the slave node 44, the master node 40 will send the time message containing the arrival time of the tick at the master node 40 to the slave nodes 44-46. The slave nodes 44-46 check the tick arrival time in the message against the node's own stored tick arrival time and update the node's local clock by the difference between the local arrival time and the arrival time at the master node 40.
  • one slave node in a group of slave nodes is nominated as a time submaster node 41 which synchronizes itself cyclically with the master node 40 by means of the method according to the invention, as shown in Fig 4.
  • submaster node 41 sends a tick on the network.
  • Both master node 40 and the submaster node 41 will receive the tick and register a local arrival time of the tick.
  • the master node 40 will send the time message containing the arrival time of the tick at the master node 40 to the submaster node 41.
  • the submaster node 41 checks the tick arrival time in the message against the node's own stored tick arrival time and updates the node's local clock by the difference between the local arrival time and the arrival time at the master node 40.
  • the other slave nodes 42 and 43 in the group are synchronized very accurately with the submaster node 41 by means of the method according to the invention. More particularly, in the example shown, slave 43 sends a tick on a network to a submaster node 41 and the other slave node 42. Both slave nodes 42 and 43 will receive the tick and register a local arrival time of the tick. Receiving a tick from the slave node 43, the submaster node 41 will send the time message containing the arrival time of the tick at the submaster node 41 to the slave nodes 42-43.
  • the slave nodes 42-43 check the tick arrival time in the message against the node's own stored tick arrival time and update the node's local clock by the difference between the local arrival time and the arrival time at the submaster node 41. This arrangement will still further decrease the loading of the master node due to the decreased number of ticks to be processed.
  • a slave node which has lost the synchronization is able to restore the synchronization more rapidly.
  • a slave 44 is reset and then booted up in Fig. 4. If it is the master node 40 only which sends the tick, the delay between the booting up the slave node 44 and receiving the tick and the associated time message from the master node 40 at slave node 44 and thereby the synchronization of the slave node 44 may be relatively long.
  • the tick is send by the slave node 44 immeadiately after the reset, eg. in the end of the booting procedure, the synchronization is achieved as soon as possible, without need of waiting for the cyclical master synchronization cycle.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present solution relates to a method for providing time synchronization in a network, especially in a Local Area Network (LAN), in which network, a node comprises a master time distributor designed for broadcasting clock information at regular intervals or on demand. In order to circumvent the problem of unpredictable delays, and thereby enabling a Very Accurate Time Synchronization, the present invention suggests a solution by defining one network event as a 'tick', sending from one node such a tick at regular intervals or on demand, with one node being defined as the time synchronization master node, the master node (40), upon detection of such a tick, sends a message containing the tick arrival time to any node (41, 44, 45, 46) requiring time synchronization.

Description

Method for providing time synchronization in a network
Field of the invention
The present invention relates to a method for providing time syn- chronization in a network, especially in a Local Area Network (LAN), in which the network a (selected) node comprises a Master Time Distributor designed for broadcasting clock information on demand. Background of the invention
A common problem in Local Area Networks (LAN) is the concept of Absolute Time. Even if one node is designated a role of Master Time Distributor and responsible for broadcasting clock information on demand, the medium access mechanism of LAN introduces an unpredictable delay to the transfer of time synchronization message. This delay can easily surpass the required precision of the Absolute Time, rendering the whole concept mean- ingless. In addition, the duration of the time synchronization message and the message handling delays in the receiving nodes introduce further uncertainties.
Prior art
From US 5 408 506 (Mincher et al.) there is a distributed time syn- chronization system and method, wherein some nodes will have their frequency amended in relation to a virtual master clock value.
US 5 440 556 (Edem et al.) relates to a method wherein two circuits on each side of a network line are synchronized to the same reference clock by sending each circuit a 125μs pulse. US 5 602 922 (Danneels) relates to a system for synchronizing data transmitted from a server to a client, by initializing the clock when the first packet has been received and furthermore comparing the clock times with the packet time. This system may be relevant in connection with video, where time distances are relevant. US 5 544 324 (Edem et al.) relates to a network for transmitting isochronous data by using a frame structure having a variable number of time slots to compensate for timing variants between reference clocks and data rate. An example of an isochronous data sync is a video monitor which can receive a continuous stream of video data for display, and this prior art seeks to transfer such isochronous data in a more appropriate manner. WO 87/04306 (Ketzler/ETA Systems) relates to an electronic clock control system for digital data computers. The system comprises of a master oscillator distributing clock signals to a number of circuit cards for regulating the time delay to each circuit card. WO 93/04544 (Wray/Motorola) relates to a method for adjusting a synchronization signal with a received data signal by using an error signal which defines the difference between the two signals.
WO 93/14570 (Bergstrόm/Asea Brown Boveri) relates to a method and device, used for tuning an internal generated clock pulse signal by using master and slave units in a FLL circuit.
Summary of the invention
The object of the present intention is to introduce a method of time distribution that will circumvent the problem of unpredictable delays, for thereby enabling a very accurate time synchronization. This object is based on a defined network event called a "tick". The requirement for such a tick is only that it can be transmitted on a network, and is unique and easily recognizable. Some possible tick candidates are:
- One or more legal network addresses in the packet
- One or more legal network group addresses in the packet - A legal packet with enforced code violation in the predefined part
- A predefined sequence of bits ending in a code violation
- A pulse of predefined length
The object of the invention is achieved in connection with a method as of the type stated in the preamble, which according to the solution is char- acterized by a definition of a "tick", sending such a tick from one node at regular intervals or on demand, one node being defined as the time synchronization master node, and said master node, upon detection of such a tick, sending a message containing the tick arrival time to any node requiring time synchronization. A further aspect of the invention is a network, especially a Local
Area Network (LAN), having a time synchronization arrangement in which in one node in the network is a time synchronization master node, the remaining nodes being time synchronization slave nodes synchronized with the master node, wherein at least one slave node in the network is arranged to send a synchronization tick on the network at regular intervals or on demand, the time synchronization master node which being arranged to, upon detection of such a tick from said at least one slave node, sending a message containing the tick arrival time at the master node to any node requiring time synchronization, any node requiring time synchronization is arranged to the receive the tick and the message, and to check the tick arrival time in the message against its the node's own stored tick arrival time and update the node's local clock by the difference between the local arrival time and the arrival time at the master node. The node which sends (broadcasts) the tick may be the master node or any one of the slave nodes. There are several advantages gained by the use of a slave node for sending the tick instead of the master node. Firstly, the processing load required at the master node will be reduced since the master node with the highest processing load and with no need of precise time synchronization does not have to process all ticks and is able to dedicate its processing power to primary functions. Receiving a tick from a slave node, the master node will send the time message containing the arrival time of the tick at the master node and being addressed to a all slaves, to a group of slaves, or to a specific slave node requesting the synchronization.
Secondly, a slave node which has lost the synchronization is able to restore the synchronization more rapidly. Let us assume that a slave is reset and then booted up. If it is the master node only which sends the tick the delay between the booting up the slave node and receiving the tick and the associated time message and thereby the synchronization of the slave node may be relatively long. When the tick is send by the slave node after the reset, eg. In the end of the booting procedure, the synchronization is achieved as soon as possible, without need of waiting for master synchronization cycle.
Thirdly, the slave nodes may have different requirements for time accuracy and thereby different cycle times of time synchronization. In case it is the master node which sends the ticks, the ticks will be sent to all the slave nodes with the cycle time of the node(s) having the most strict timing requirements. This results in unnecessary loading of the master node particularly and also the slave nodes with a less strict timing requirements. When each node, or one node in a group of slave nodes having similar timing requirements, is able to send the tick when required, i.e. at regular intervals or on demand, the loading will be optimized. By providing two or more different ticks it is possible to arrange the slave nodes into two or more groups having differ- ent timing requirements or loading situations, so that slave nodes in one group is not able to recognize a tick send by a slave node in another group. As a consequence, heavily loaded slave nodes having less strict timing requirements will not recognize a frequently sent tick of another group and will not waste time and processing capacity for unnecessary synchronization events.
In one embodiment of the invention one slave node in a group of slave nodes is nominated as a time submaster node which synchronizes itself cyclically with the master node by means of the method according to the invention. The other slave node(s) in the group is (are) synchronized very ac- curately with the submaster node by means of the method according to the invention. This arrangement will still further decrease the loading of the master node.
Further features and advantages of the present solution will appear from the following description of suggested embodiments, as well as from the appending patent claims.
Brief disclosure of the drawings
The invention will now be further described, with reference to the enclosed drawing.
Figure 1 is a diagram illustrating the clock distribution sequence using conventional methods.
Figure 2 is a diagram illustrating the time synchronization using the methods according to the present invention.
Figure 3 is a block diagram illustrating an embodiment wherein the present invention can find its application, Figure 4 is a signalling diagram illustrating the time synchronization wherein a slave node sends the tick.
Detailed description of the invention
Firstly, reference is made to Fig. 1 which is a diagram illustrating the clock information distribution sequence using conventional methods. In Fig. 1 the numeral references herein mean:
1 Time Sync Master Software reads master clock, prepares time message
2 Time Sync Master Software puts the time message in transmit queue 3 Maximum allowable difference between local clocks
2-4 Time Sync Master waits for transmit permission 4 Time Sync Master transmits the time message and Time Sync Slave receives the time message
5 Time Sync Slave Software finished processing the received time message 6 Difference between Time Sync Slave clock and Time Sync
Master clock.
The problem with this prior art solution lies in the time interval from
2 to 4 - the period when a clock message is ready for transmission but the node has not yet gained access to the network. The length of this time interval is very hard to predict, as it depends on the bus access mechanism and the current state of the network.
Next reference is made to Fig. 2 which is a diagram illustrating the time synchronization using the methods according to the present invention In Fig. 2 the numeral references therein mean: 1 Time Tick Master Software puts a tick in the transmit queue
2-4 Tick is queued, waiting for transmission
4 Tick is on the network medium and all Time Tick Slaves receive the tick
5 Time Tick Slave Software notes the local tick arrival time (Tlt), Time Sync Master Software prepares time message containing the master clock tick arrival time (Tmt) and puts it in the transmit queue
5-6 Message containing the absolute time (master clock tick arrival time) is queued in the Time Sync Master Node, waiting for transmission
6 Time Sync Master transmits the master clock time message on the network medium
7 Each Time Sync Slave receives the time massage (the receiving instant can be different from node to node) and updates its local time (T by the time difference between the recorded local tick arrival time and the received master clock time message (T., = "-".,+ Tmt - T,t) . If we now look at Fig. 2, the situation is quite different when compared with Fig. 1. The tick does not contain any clock information. It is intended for all nodes that need absolute time update. The only important thing about the tick is that it should arrive at all such nodes with the same delay every time. When it arrives, each node stores the local time value on its arri- val. The Time Sync Master node then prepares a master clock time message containing the time when the tick arrived and transmits it on the network. When this message arrives, all nodes can check the master clock time against their own stored tick arrival time and update their local clock by the difference between the local arrival time and the master clock time. Basic principle The basic principle of the Very Accurate Time Synchronization system is that the time distribution procedure is changed from one-step to two- step.
- A synchronization event (tick) is defined on the LAN. The only restriction on such a tick is only that it is unique and easily recognizable. The tick may also called a synchronization message. Some possible tick candidates are:
- One or more legal network addresses
- One or more legal network group addresses
- A legal packet with enforced code violation in the predefined part - A predefined sequence of bits ending in a code violation
- A pulse of predefined length
- A synchronization event is detected in a specified position in the tick.
The two-step time distribution procedure is as follows: 1. One node of the LAN is responsible for generating synchronization events at regular intervals or on demand. The detection of a synchronization event by LAN nodes is a time-critical element of the procedure
2. One node of the LAN is assigned the role of the Master Time
Distributor. Whenever this node detects a synchronization event on the LAN, it records the time when the event was detected and broadcasts a message containing the recorded time to all nodes that require time synchronization.
The transfer of this message is not time-critical.
This approach eliminates the impact of the LAN medium access delay, but one still has to cope with the delay of processing synchronization events. This can be solved if every node that requires time synchronization fulfills some basic requirements.
Requirements on LAN nodes
Fig. 3 shows a block diagram of a Local Area Network node. Such a node must satisfy four requirements: 1. A raw data stream from the LAN interface 2 must be available. 2. A Time Synchronization Event Detector 3 that can detect a specified synchronization event in the raw data stream, must be added.
3. The node 1 must be able to maintain local time between time synchronization messages. 4. The node CPU or the local clock handling hardware must be able to react on the signal from Synchronization Event Detector 3. Very accurate time synchronization procedire If all nodes requiring time synchronization fulfill the requirements presented in the last paragraph, the procedure of very accurate time synchro- nization is as follows:
1. When a synchronization event is detected, the Synchronization Event Detector 3 notifies the CPU or the local clock handling hardware.
2. The local time for that event is recorded.
3. If the node is the time synchronization master, the recorded time is transmitted in a message to other nodes that require time synchronization.
4. All other nodes wait for the time message from the Master node. When this message arrives, the local clock is adjusted of a difference between the received time and the recorded time of the synchronization event occurrence. Using this procedure the time synchronization uncertainty is reduced to four very small components:
- The transmission delay on the network medium. For almost all Local Area Networks this delay is below 10μs.
- The resolution of the local clock hardware. This is usually well be- low lμs.
- The difference in the detection of synchronization event. This can be equal to the resolution of the local clock or better.
- The difference in the reaction time on the synchronization event detection. Even if the reaction time can be at the level of 40μs or more, the difference in the reaction time will usually be below Iμs.ln this way the Very
Accurate Time Synchronization procedure approaches the theoretical limit
(light speed) of time distribution over the LAN medium.
The node which sends (broadcasts) the tick may be the master node or any one of the slave nodes. Fig. 4 illustrates a signalling diagram, in which slave 44 sends a tick on the network (not shown), i.e. to a master node
40 and other slave nodes 45 and 46. All slave nodes 44-46 will receive the tick and register a local arrival time of the tick. Receiving a tick from the slave node 44, the master node 40 will send the time message containing the arrival time of the tick at the master node 40 to the slave nodes 44-46. The slave nodes 44-46 check the tick arrival time in the message against the node's own stored tick arrival time and update the node's local clock by the difference between the local arrival time and the arrival time at the master node 40. In one embodiment of the invention one slave node in a group of slave nodes is nominated as a time submaster node 41 which synchronizes itself cyclically with the master node 40 by means of the method according to the invention, as shown in Fig 4. In other words submaster node 41 sends a tick on the network. Both master node 40 and the submaster node 41 will receive the tick and register a local arrival time of the tick. Receiving a tick from the submaster node 41 , the master node 40 will send the time message containing the arrival time of the tick at the master node 40 to the submaster node 41. The submaster node 41 checks the the tick arrival time in the message against the node's own stored tick arrival time and updates the node's local clock by the difference between the local arrival time and the arrival time at the master node 40. The other slave nodes 42 and 43 in the group are synchronized very accurately with the submaster node 41 by means of the method according to the invention. More particularly, in the example shown, slave 43 sends a tick on a network to a submaster node 41 and the other slave node 42. Both slave nodes 42 and 43 will receive the tick and register a local arrival time of the tick. Receiving a tick from the slave node 43, the submaster node 41 will send the time message containing the arrival time of the tick at the submaster node 41 to the slave nodes 42-43. The slave nodes 42-43 check the tick arrival time in the message against the node's own stored tick arrival time and update the node's local clock by the difference between the local arrival time and the arrival time at the submaster node 41. This arrangement will still further decrease the loading of the master node due to the decreased number of ticks to be processed.
When the slave initiated synchronization according to the invention is employed, a slave node which has lost the synchronization is able to restore the synchronization more rapidly. Let us assume that a slave 44 is reset and then booted up in Fig. 4. If it is the master node 40 only which sends the tick, the delay between the booting up the slave node 44 and receiving the tick and the associated time message from the master node 40 at slave node 44 and thereby the synchronization of the slave node 44 may be relatively long. When the tick is send by the slave node 44 immeadiately after the reset, eg. in the end of the booting procedure, the synchronization is achieved as soon as possible, without need of waiting for the cyclical master synchronization cycle.
The drawings and the description thereof are only intended to illustrate the idea of the invention. The invention may vary in details within the scope and spirit of the attached claims.

Claims

Claims
1. Method for providing time synchronization in a network, especially in a Local Area Network (LAN), in which network a node comprises of a master time distributor designed for broadcasting clock information at regular intervals or on demand, characterized by defining one specific network event as a "tick",
- sending such ticks on the network from one node at regular inter- vals or on demand,
- one node being defined as the time synchronization master node, and
- said master node, upon detection of such a tick, sending a message containing the tick arrival time to any node requiring time synchroniza- tion.
2. Method as claimed in claim 1, characterized in that said tick is defined at the moment when the last bit of a particular set of network addresses is detected or when a specified bit sequence in a packet is detected or when a specified signal is detected on .the Local Area Network (LAN) me- dium.
3. Method as claimed in claim 1 or2, characterized in that a local node is adapted to receive a raw data stream from said network, especial a Local Area Network (LAN) through an appropriate interface.
4. Method as claimed in any of the preceding claims, c h a r a c - t e r i z e d in that said local node is adapted to communicate with a Synchronization Time Detector for detecting a tick in the raw data stream received from the network interface.
5. Method as claimed in any of the preceding claims characterized in that said local node is adapted to keep time between synchro- nization messages.
6. Method as claimed in any of the preceding claims, c h a r a c - t e r i z e d in that any LAN node(s) is(are) adapted to receive a Time Distribution Message plus the amount of time that has passed since the tick arrived.
7. A method as claimed in any of the preceding claims, charac- t e r i z e d in that one of the slave nodes being arranged to send the ticks at regular intervals or on demand.
8. A method as claimed in any of the preceding claims, characterized in that any one of the slave nodes being arranged to send the tick after a reset of the respective slave node.
9. A method as claimed in any of the preceding claims, charac- t e r i z e d in that the slave nodes have different requirements for time accuracy, each slave node or one of a group of slave nodes sends a tick to the time synchronization master node when needed.
10. A method as claimed in any of the preceding claims, characte rized in that one slave node is a time submaster node which synchro- nizes itself with the master node, and that at least one further slave node is syncronized with the time submaster node.
11. A network, especially a Local Area Network (LAN), having a a time synchronization arrangement in which in one node in the network is a time synchronization master node, the remaining nodes being time synchroni- zation slave nodes synchronized with the master node, characterized in that at least one slave node in the network is arranged to send a synchronization tick on the network at regular intervals or on demand, the time synchronization master node being arranged to, upon de- tection of such a tick from said at least one slave node, send a message containing the tick arrival time at the master node to any node requiring time synchronization, any node requiring time synchronization is arranged to the receive the tick and the the message, and to check the tick arrival time in the mes- sage against the node's own stored tick arrival time and update the node's local clock by the difference between the local arrival time and the arrival time at the master node.
12. A network as claimed in claim 11, characterized by any one of the slave nodes being arranged to send the tick after a reset of the re- spective slave node.
13. A network as claimed in claim 11 or 12, characterized in that the slave nodes have different requirements for time accuracy, and that each slave node or one of a group of slave nodes sends a tick to the time synchronization master node when needed.
14. A network as claimed in any one of claims 11-13, characterized in that one slave node is a time submaster node which synchro- nizes itself with the master node, and that at least one further slave node is synchronized with the time submaster node.
PCT/FI1998/000481 1997-06-03 1998-06-03 Method for providing time synchronization in a network WO1998056135A2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE69837431T DE69837431T2 (en) 1997-06-03 1998-06-03 METHOD FOR PROVIDING TIME SYNCHRONIZATION IN A NETWORK
AU76575/98A AU7657598A (en) 1997-06-03 1998-06-03 Method for providing time synchronization in a network
EP98924349A EP0983658B1 (en) 1997-06-03 1998-06-03 Method for providing time synchronization in a network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
NO972519A NO307728B1 (en) 1997-06-03 1997-06-03 Steps to obtain time synchronization on a network
NO972519 1997-06-03

Publications (2)

Publication Number Publication Date
WO1998056135A2 true WO1998056135A2 (en) 1998-12-10
WO1998056135A3 WO1998056135A3 (en) 1999-03-04

Family

ID=19900778

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/NO1998/000123 WO1998056136A2 (en) 1997-06-03 1998-04-17 Method for providing time synchronization in a network
PCT/FI1998/000481 WO1998056135A2 (en) 1997-06-03 1998-06-03 Method for providing time synchronization in a network

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/NO1998/000123 WO1998056136A2 (en) 1997-06-03 1998-04-17 Method for providing time synchronization in a network

Country Status (5)

Country Link
EP (1) EP0983658B1 (en)
AU (2) AU7457598A (en)
DE (1) DE69837431T2 (en)
NO (1) NO307728B1 (en)
WO (2) WO1998056136A2 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000043857A1 (en) * 1999-01-20 2000-07-27 Fts Computertechnik Ges.Mbh Optimization of user data rate in a distributed time-controlled multicluster real-time system
US6157957A (en) * 1998-01-22 2000-12-05 Cisco Technology, Inc. Clock synchronization system and method using a continuous conversion function for a communication network
WO2001089121A2 (en) * 2000-05-18 2001-11-22 Luminous Networks, Inc. Synchronization of asynchronous networks using media access control (mac) layer synchronization symbols
US6618815B1 (en) * 2000-02-29 2003-09-09 International Business Machines Corporation Accurate distributed system time of day
WO2006097880A1 (en) * 2005-03-18 2006-09-21 Philips Intellectual Property & Standards Gmbh Method for synchronization of network nodes
WO2008015244A1 (en) * 2006-08-03 2008-02-07 Nokia Siemens Networks Gmbh & Co. Kg Method, transmitter, receiver, and time measurement generator for the chronological synchronizing of a first and a second data stream at a synchronization point of time
US9798515B1 (en) 2016-03-31 2017-10-24 Bose Corporation Clock synchronization for audio playback devices
US9807527B2 (en) 2006-08-31 2017-10-31 Bose Corporation System with speaker, transceiver and related devices
US9911433B2 (en) 2015-09-08 2018-03-06 Bose Corporation Wireless audio synchronization
US9928024B2 (en) 2015-05-28 2018-03-27 Bose Corporation Audio data buffering
US10219091B2 (en) 2016-07-18 2019-02-26 Bose Corporation Dynamically changing master audio playback device
US10241744B2 (en) 2013-03-15 2019-03-26 Bose Corporation Audio systems and related devices and methods
US10419497B2 (en) 2015-03-31 2019-09-17 Bose Corporation Establishing communication between digital media servers and audio playback devices in audio systems
US10454604B2 (en) 2015-10-02 2019-10-22 Bose Corporation Encoded audio synchronization

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI20012173A (en) 2001-11-09 2003-05-10 Nokia Corp Synchronizing local networks
GB0616029D0 (en) * 2006-08-11 2006-09-20 Answerback Interactive Interactive electronic system and method for a plurality of users
EP2073403B1 (en) * 2007-12-18 2010-09-15 Thales Alenia Space Italia S.p.A. Method of synchronising nodes of a network, system and device therefor
CN106487608B (en) * 2015-08-31 2019-06-07 华为技术服务有限公司 The method and apparatus for measuring distal end timestamp unit
US11252068B1 (en) 2018-12-27 2022-02-15 Equinix, Inc. Clock synchronization in a heterogeneous system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1987004306A1 (en) * 1985-12-30 1987-07-16 Eta Systems, Inc. Electronic clock tuning system
WO1993004544A1 (en) * 1991-08-15 1993-03-04 Motorola Limited Improvements in or relating to digital communication systems
WO1993014570A1 (en) * 1992-01-20 1993-07-22 Asea Brown Boveri Ab Method and device for tuning of an internal generated clock pulse signal
WO1995002294A1 (en) * 1993-07-09 1995-01-19 Apple Computer, Inc. Distributed time synchronization system and method
US5602922A (en) * 1993-08-19 1997-02-11 Samsung Electronics Co., Ltd. Method and apparatus for processing an audio signal by surround modes

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0697774A1 (en) * 1994-08-15 1996-02-21 Hewlett-Packard Company Clock offset estimation
US5535217A (en) * 1994-12-20 1996-07-09 International Business Machines Corporation Method and apparatus for probabilistic clock synchronization with interval arithmetic

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1987004306A1 (en) * 1985-12-30 1987-07-16 Eta Systems, Inc. Electronic clock tuning system
WO1993004544A1 (en) * 1991-08-15 1993-03-04 Motorola Limited Improvements in or relating to digital communication systems
WO1993014570A1 (en) * 1992-01-20 1993-07-22 Asea Brown Boveri Ab Method and device for tuning of an internal generated clock pulse signal
WO1995002294A1 (en) * 1993-07-09 1995-01-19 Apple Computer, Inc. Distributed time synchronization system and method
US5602922A (en) * 1993-08-19 1997-02-11 Samsung Electronics Co., Ltd. Method and apparatus for processing an audio signal by surround modes

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP0983658A2 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6157957A (en) * 1998-01-22 2000-12-05 Cisco Technology, Inc. Clock synchronization system and method using a continuous conversion function for a communication network
WO2000043857A1 (en) * 1999-01-20 2000-07-27 Fts Computertechnik Ges.Mbh Optimization of user data rate in a distributed time-controlled multicluster real-time system
US6618815B1 (en) * 2000-02-29 2003-09-09 International Business Machines Corporation Accurate distributed system time of day
WO2001089121A2 (en) * 2000-05-18 2001-11-22 Luminous Networks, Inc. Synchronization of asynchronous networks using media access control (mac) layer synchronization symbols
WO2001089121A3 (en) * 2000-05-18 2003-11-20 Luminous Networks Inc Synchronization of asynchronous networks using media access control (mac) layer synchronization symbols
WO2006097880A1 (en) * 2005-03-18 2006-09-21 Philips Intellectual Property & Standards Gmbh Method for synchronization of network nodes
WO2008015244A1 (en) * 2006-08-03 2008-02-07 Nokia Siemens Networks Gmbh & Co. Kg Method, transmitter, receiver, and time measurement generator for the chronological synchronizing of a first and a second data stream at a synchronization point of time
US9807527B2 (en) 2006-08-31 2017-10-31 Bose Corporation System with speaker, transceiver and related devices
US10241744B2 (en) 2013-03-15 2019-03-26 Bose Corporation Audio systems and related devices and methods
US10419497B2 (en) 2015-03-31 2019-09-17 Bose Corporation Establishing communication between digital media servers and audio playback devices in audio systems
US9928024B2 (en) 2015-05-28 2018-03-27 Bose Corporation Audio data buffering
US9911433B2 (en) 2015-09-08 2018-03-06 Bose Corporation Wireless audio synchronization
US10454604B2 (en) 2015-10-02 2019-10-22 Bose Corporation Encoded audio synchronization
US9798515B1 (en) 2016-03-31 2017-10-24 Bose Corporation Clock synchronization for audio playback devices
US10219091B2 (en) 2016-07-18 2019-02-26 Bose Corporation Dynamically changing master audio playback device

Also Published As

Publication number Publication date
NO972519L (en) 1998-12-04
EP0983658B1 (en) 2007-03-28
DE69837431D1 (en) 2007-05-10
DE69837431T2 (en) 2007-12-13
AU7657598A (en) 1998-12-21
NO972519D0 (en) 1997-06-03
NO307728B1 (en) 2000-05-15
WO1998056135A3 (en) 1999-03-04
EP0983658A2 (en) 2000-03-08
WO1998056136A3 (en) 1999-03-04
WO1998056136A2 (en) 1998-12-10
AU7457598A (en) 1998-12-21

Similar Documents

Publication Publication Date Title
EP0983658B1 (en) Method for providing time synchronization in a network
US5052029A (en) Self-correcting synchronization signal method and apparatus
Gergeleit et al. Implementing a distributed high-resolution real-time clock using the CAN-bus
US7340630B2 (en) Multiprocessor system with interactive synchronization of local clocks
EP1215559B1 (en) Method and system for time synchronization
US4815110A (en) Method and a system for synchronizing clocks in a bus type local network
US5602992A (en) System for synchronizing data stream transferred from server to client by initializing clock when first packet is received and comparing packet time information with clock
US6535926B1 (en) Time synchronization system for industrial control network using global reference pulses
US5918040A (en) Method for maintaining time synchronization between two processors in a network interface
EP0868697B1 (en) Interface for transferring data between two clock domains
US6975653B2 (en) Synchronizing clocks across sub-nets
US20010018720A1 (en) Method and device for the exchange of data between at least two users connected to a bus system
US20080065924A1 (en) Technique to create link determinism
JP2001024630A (en) Synchronization method and apparatus between two networks
KR20010005650A (en) Method for synchronizing network nodes
US5995570A (en) Recovering a clock signal in a multimedia network using time stamps
US6981063B1 (en) Method for time synchronization of a computer network, and computer network with time synchronization
US4769839A (en) Method and device for the transfer of data in a data loop
US4646291A (en) Synchronization apparatus in transmitting information on a simplex bus
US5504878A (en) Method and apparatus for synchronizing plural time-of-day (TOD) clocks with a central TOD reference over non-dedicated serial links using an on-time event (OTE) character
Kopetz et al. A synchronization strategy for a time-triggered multicluster real-time system
US7499444B2 (en) Method for clock synchronization of wireless 1394 buses for nodes connected via IEEE 802.11 a/b WLAN
CN100566308C (en) The time be used to provide the system node and the method for media arbitration in the tank systems
GB2241411A (en) Improved synchronization technique
US5946327A (en) Method and apparatus for converting between a multi-bit TDM bus and a single-bit TDM bus using digital logic

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AL AM AT AT AU AZ BA BB BG BR BY CA CH CN CU CZ CZ DE DE DK DK EE EE ES FI FI GB GE GH GM GW HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SK SL TJ TM TR TT UA UG US UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
AK Designated states

Kind code of ref document: A3

Designated state(s): AL AM AT AT AU AZ BA BB BG BR BY CA CH CN CU CZ CZ DE DE DK DK EE EE ES FI FI GB GE GH GM GW HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SK SL TJ TM TR TT UA UG US UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1998924349

Country of ref document: EP

NENP Non-entry into the national phase in:

Ref country code: JP

Ref document number: 1999501679

Format of ref document f/p: F

WWP Wipo information: published in national office

Ref document number: 1998924349

Country of ref document: EP

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

NENP Non-entry into the national phase in:

Ref country code: CA

WWG Wipo information: grant in national office

Ref document number: 1998924349

Country of ref document: EP