摘要 |
<p>Method for synchronization of network nodes in a LAN (10) including a central network master-node (11) and a plurality of synchronization domains (20, 30), each synchronization subnetwork (20,30) includes a synchronization submaster (21, 31) and at least one synchronization slave-node (22, 23; 32, 33), the method comprising the following steps: setting up or change a multicast group for each synchronization domain (20, 30), wherein a multicast group includes MAC addresses of all synchronization slaves (22, 23; 32, 33) of the synchronization domain (20, 30); transmitting a first synchronization message (12) at time n from the central master-node (11) to all other network nodes (21, 22, 23; 31, 32, 33); receiving the first synchronization message in all other network nodes (21, 22, 23; 31, 32, 33); capturing a local clock value A<SUB>x,y</SUB>(n) at receiving the first synchronization message (12) in each other network nodes (21, 22, 23; 31, 32, 33); multicasting a second synchronization message (13) by the synchronization master-nodes (21, 31) to the synchronization slaves-nodes (22, 23; 32, 33) at time within the associated synchronization domain (20, 30), wherein the second synchronization message (13) includes the local clock value Ax,o(n) of the associated synchronization master-node (21, 31) of the synchronization slave-nodes (22, 23; 32, 33) within the respective synchronization domain (20, 30); receiving the second synchronization message (13) in the synchronization slave-nodes (22, 23; 32, 33) including the clock value A<SUB>x,o</SUB>(n) of the associated synchronization master-node (21, 31); comparing the local clock value A<SUB>xy</SUB>(n) captured at receiving of the first synchronization message (12) with the clock value A<SUB>x,o</SUB>(n) received with the second synchronization message (13); and adjusting the local clock in the synchronization slave-node (22, 23; 32, 33) depending on the comparison result.</p> |