WO2001084286A2 - Method and communication control unit for multimaster clock synchronisation in a distributed real time computer system - Google Patents
Method and communication control unit for multimaster clock synchronisation in a distributed real time computer system Download PDFInfo
- Publication number
- WO2001084286A2 WO2001084286A2 PCT/AT2001/000131 AT0100131W WO0184286A2 WO 2001084286 A2 WO2001084286 A2 WO 2001084286A2 AT 0100131 W AT0100131 W AT 0100131W WO 0184286 A2 WO0184286 A2 WO 0184286A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- time
- master
- slave
- local
- synchronization
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0664—Clock or time synchronisation among packet nodes using timestamps unidirectional timestamps
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/14—Time supervision arrangements, e.g. real time clock
Definitions
- the invention relates to a method for setting up a global time base in a distributed real-time computer system consisting of a number of node computers which are connected via one or more broadcast communication channels, the local oscillator of the node computer determining the duration of a microtick of the local time of a node computer during one a priori defined time interval, an excellent node computer takes over the role of the active time master, all other node computers assume the role of a time slave, the active time master specifies the uniform macrotick length of the global time, and the ratio microtick to macrotick can be different in each node computer.
- a distributed fault-tolerant real-time computer system consisting of a number of node computers which are connected via a real-time communication system, for example via a CAN communication network ("Control Area Network")
- the node computers often have to perform time-coordinated tasks.
- CAN communication network Controller Area Network
- the node computers In order to coordinate the distributed actions over time It makes sense to build up a system-wide global time base, which should also be coordinated with the externally specified time standard, the physical second, so efficient clock synchronization with high accuracy is of great economic value.
- the active time master specifies the transmission event of a synchronization message which contains the macrotick of the global synchronization event in its data field in such a way that the time interval between the global synchronization event is observed by all correct time slaves can, and the beginning of the Macrotick, which is specified in the data field of the synchronization message, is known a priori.
- the method proposed here for clock synchronization in a distributed real-time computer system is based on US Pat. No. 4,866,606 dated September 12, 1989 with the title "Loosely Coupled Distributed Computer System with Node Synchronization for Precision in Real-Time Applications".
- the method according to the invention allows the granularity of a macrotick to be uniformly defined in the account computers even when oscillators of different frequencies are used, so that it is in a fixed relationship with the granularity of a predetermined external time standard Clock synchronization united.
- FIG. 1 shows the structure of a distributed computer system with five node computers which are connected via a bus
- FIG. 2 shows the structure of a node computer, consisting of a host computer and a communication control unit with the connection to the bus,
- Fig. 4 shows the sequence of events in the time domain in the synchronization of a slave node by the time master
- FIG. 5 shows the intervals on the time axis during which a standby master may send a synchronization message.
- the node computer 110 is the current one Time master that periodically resynchronizes the other four node computers 120, 130, 140, 150.
- One of these four node computers for example the node computer 120, can assume the role of a standby master, which takes over the central clock synchronization if the node computer 110 fails.
- 2 also shows the internal structure of a node computer, for example of node computer 110.
- a node computer consists of two subsystems, a host computer 201 and a communication controller 202, which is connected to the common bus 101 by means of a line 203.
- Each node computer must have a local time counter, which is driven by the local oscillator of the node computer and whose granularity determines the micro-tick granularity of the node computer.
- part or all of the described method can be implemented in communication controller 202 in software or hardware.
- FIG. 3 shows the relationship between the global Macroticks 310, 320, 330 and the local Microticks 301 (Sielie Kopetz, H. (1997). Real-Time Systems, Design Principles for Distributed Embedded Applications; ISBN: 0-7923 -9894-7, Tiiird p ⁇ nting 1999. Boston, Kluwer Academic Publisli rs, page 48).
- the Macroticks 310, 320, 330 build the global time base in the distributed system.
- the distance 350 from two global macroticks 310, 320; 320, 330 should, if possible, be based on the physical second. It is advantageous to choose an integer negative power of two of the physical second for the distance 350 (see Kopetz, page 51).
- the distance between the microticks 301 is determined by the properties of the local oscillator located in a node computer and changes due to physical influences (for example the temperature of the oscillator).
- the MMR relation between microticks and macroticks is not an integer. 5, for example, this relation MMR has a value between 13 and 14.
- each node computer has a different MMR, which is predetermined by the properties of the local oscillator of the node computer and can change over time.
- Timeline 400 shows the progress of time from left to right.
- the vertical lines that intersect time axis 400 represent the significant events during synchronization.
- time master 110 begins to send a synchronization message that includes abstract synchronization event 412, expressed in macroticks.
- the global synchronization event is the beginning of the Macrotick that is included in the synchronization message.
- the master node 110 which pre-minted the synchronization, must select the transmission time 410 such that the end of the synchronization message 411 arrives at the slave nodes as close as possible to the abstract synchronization time 412.
- the specific synchronization event 411 can deviate from the abstract synchronization event 412. Since in CAN systems the bit length of a message, including the synchronization message, depends on the data content, the time master must determine the global Synchronization event (expressed in global macroticks) calculate the exact length of the synchronization message, expressed in local microticks of the master, and determine the transmission time 410 taking into account the known transmission speed of the master. Event 413 corresponds to the receive interrupt of the synchronization message at the slave.
- the slave In the interrupt handling routine of event 413, the slave must save the old value of its local time counter and enter the length of the interval 421, expressed in microticks of the slave, as an initialization value in the local time counter of the slave before the local time counter is restarted at time 414.
- FIG. 5 it is shown how non-overlapping time intervals are defined on the time axis 500, which alternate between the master - the intervals ⁇ 510, 511> and ⁇ 520, 521>) - or a standby master Intervals ⁇ 512, 513> and ⁇ 522, 523>) - are assigned.
- the master sends the next synchronization message after the timeout. If the standby master has not received a synchronization message from the master within the timeout interval 532, it can send a synchronization message within the interval ⁇ 522, 523>. If a slave does not receive a synchronization message during interval 533, the slave stops any further transmission operation until it has received a new synchronization message.
- This interruption of the slave's transmission activity is necessary in order to create a free time window for the transmission of the next synchronization message from the master. If the active master cannot send the synchronization message at the selected transmission time 410, because e.g. If the bus is busy, it must cancel the send job and define a new synchronization event 412. This process must be repeated until the end of the synchronization interval assigned to the master, e.g. the end of the interval ⁇ 520, 521> has been reached. Since all slaves cancel their send requests at the end of the time interval 533, it is highly likely that a synchronization message from the master will be successful before the end of the interval 532.
- the slave calculates the difference between the master's clock and the slave's local time counter using the following formula
- Deviation [old. TC - RL - (new. GSE - old. GSE) * old.MMR]
- Deviation is the difference, expressed in local microticks of the slave, between the master's clock and the slave's local time counter in the previous round
- old.TC the value of the old local time counter of the slave before the start of the new synchronization round
- RL the value of the Receiver Latency 421 expressed in microticks of the slave
- new.GSE and old.GSE denote the Macrotick of the new and the old synchronization message.
- 2- (k + 1) is a reasonable value for l ⁇ eight.
- a multiplication of deviation by 2 ⁇ (k + 1) can be achieved by a simple shift operation in the computer.
- the precision and thus the macrotick granularity can be significantly reduced, even in the range of less than one microsecond.
- the method presented for synchronizing the clocks in a distributed computer system can be implemented both in software and in hardware. It is a simple and economical new way of building a global time.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Multi Processors (AREA)
Abstract
Description
Claims
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AU2001252016A AU2001252016A1 (en) | 2000-05-04 | 2001-04-30 | Method and communication control unit for multimaster clock synchronisation in adistributed real time computer system |
DE10191695T DE10191695B4 (en) | 2000-05-04 | 2001-04-30 | Method and communication control unit for multimaster clock synchronization in a distributed real-time computer system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
ATA785/2000 | 2000-05-04 | ||
AT0078500A AT408383B (en) | 2000-05-04 | 2000-05-04 | METHOD AND COMMUNICATION CONTROL UNIT FOR THE MULTIMASTER WATCH SYNCHRONIZATION IN A DISTRIBUTED REAL-TIME COMPUTER SYSTEM |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2001084286A2 true WO2001084286A2 (en) | 2001-11-08 |
WO2001084286A8 WO2001084286A8 (en) | 2002-07-11 |
Family
ID=3680906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/AT2001/000131 WO2001084286A2 (en) | 2000-05-04 | 2001-04-30 | Method and communication control unit for multimaster clock synchronisation in a distributed real time computer system |
Country Status (4)
Country | Link |
---|---|
AT (1) | AT408383B (en) |
AU (1) | AU2001252016A1 (en) |
DE (1) | DE10191695B4 (en) |
WO (1) | WO2001084286A2 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003058468A1 (en) * | 2002-01-07 | 2003-07-17 | Kvaser Consultant Ab | Distributed control and monitoring system |
DE10306788A1 (en) * | 2003-02-18 | 2004-08-26 | Brose Fahrzeugteile Gmbh & Co. Kommanditgesellschaft, Coburg | Control method for two or more motor vehicle control units, especially blinker or indicator light controllers, whereby the timer circuits of the two controllers are synchronized using existing control bus signals |
DE102009037156A1 (en) * | 2009-08-04 | 2011-02-17 | Lenze Automation Gmbh | Method for the synchronous recording and recording of process and / or status data and automation system |
WO2014000006A1 (en) * | 2012-06-25 | 2014-01-03 | Fts Computertechnik Gmbh | Method for constructing optimal time-controlled paths in a large computer network |
CN112235068A (en) * | 2020-10-14 | 2021-01-15 | 许继集团有限公司 | Master-slave machine synchronization method and device for distributed power system |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AT411948B (en) | 2002-06-13 | 2004-07-26 | Fts Computertechnik Gmbh | COMMUNICATION PROCESS AND APPARATUS FOR TRANSMITTING TIME-CONTROLLED AND EVENT-CONTROLLED ETHERNET MESSAGES |
AT413308B (en) * | 2003-09-10 | 2006-01-15 | Fts Computertechnik Gmbh | METHOD AND APPARATUS FOR CALIBRATING THE WATCH IN A DISTRIBUTED REAL-TIME SYSTEM |
WO2007085028A1 (en) | 2006-01-27 | 2007-08-02 | Fts Computertechnik Gmbh | Time-controlled secure communication |
US8315274B2 (en) | 2006-03-29 | 2012-11-20 | Honeywell International Inc. | System and method for supporting synchronous system communications and operations |
DE102010037906B4 (en) * | 2010-09-30 | 2014-02-27 | Schneider Electric Automation Gmbh | Method and system for recording, synchronizing and analyzing data by means of spatially distributed analysis devices in a communication network |
CN113612565B (en) * | 2021-07-09 | 2024-03-15 | 芯来智融半导体科技(上海)有限公司 | Development and debugging system, handshake method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AT382253B (en) * | 1984-06-22 | 1987-02-10 | Austria Mikrosysteme Int | LOOSE COUPLED DISTRIBUTED COMPUTER SYSTEM |
SE466123B (en) * | 1989-04-25 | 1991-12-16 | Kvaser Consultant Ab | DEVICE FOR SYNCONIZING DATA IN A COMPUTER SYSTEM INCLUDING A COMMON SERIAL DATA COMMUNICATION CHANNEL |
DE4140017C2 (en) * | 1991-12-04 | 1995-01-05 | Nec Electronics Germany | Method for operating computer units communicating with one another via a data bus by serial data exchange |
US6370159B1 (en) * | 1998-07-22 | 2002-04-09 | Agilent Technologies, Inc. | System application techniques using time synchronization |
-
2000
- 2000-05-04 AT AT0078500A patent/AT408383B/en not_active IP Right Cessation
-
2001
- 2001-04-30 AU AU2001252016A patent/AU2001252016A1/en not_active Abandoned
- 2001-04-30 DE DE10191695T patent/DE10191695B4/en not_active Expired - Lifetime
- 2001-04-30 WO PCT/AT2001/000131 patent/WO2001084286A2/en active Application Filing
Non-Patent Citations (1)
Title |
---|
Keine Recherche * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003058468A1 (en) * | 2002-01-07 | 2003-07-17 | Kvaser Consultant Ab | Distributed control and monitoring system |
US7478234B2 (en) | 2002-01-07 | 2009-01-13 | Timegalactic Ab | Distributed control and monitoring system |
DE10306788A1 (en) * | 2003-02-18 | 2004-08-26 | Brose Fahrzeugteile Gmbh & Co. Kommanditgesellschaft, Coburg | Control method for two or more motor vehicle control units, especially blinker or indicator light controllers, whereby the timer circuits of the two controllers are synchronized using existing control bus signals |
DE102009037156A1 (en) * | 2009-08-04 | 2011-02-17 | Lenze Automation Gmbh | Method for the synchronous recording and recording of process and / or status data and automation system |
WO2014000006A1 (en) * | 2012-06-25 | 2014-01-03 | Fts Computertechnik Gmbh | Method for constructing optimal time-controlled paths in a large computer network |
US9860191B2 (en) | 2012-06-25 | 2018-01-02 | Fts Computertechnik Gmbh | Method for constructing optimal time-controlled paths in a large computer network |
CN112235068A (en) * | 2020-10-14 | 2021-01-15 | 许继集团有限公司 | Master-slave machine synchronization method and device for distributed power system |
Also Published As
Publication number | Publication date |
---|---|
WO2001084286A8 (en) | 2002-07-11 |
AT408383B (en) | 2001-11-26 |
DE10191695D2 (en) | 2003-06-12 |
DE10191695B4 (en) | 2009-07-23 |
AU2001252016A1 (en) | 2001-11-12 |
ATA7852000A (en) | 2001-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0570557B1 (en) | Process for generating a common time base for a system with decentralised computing units | |
DE4320137B4 (en) | Synchronization of time of day clocks in a distributed processing network system | |
DE602005005816T2 (en) | METHOD AND SYSTEM FOR DISTRIBUTED SYNCHRONIZATION | |
EP1471433B1 (en) | Method and device for synchronizing the cycle time of a number of buses, and a corresponding bus system | |
WO2001013230A1 (en) | Method for imposing the fail-silent characteristic in a distributed computer system and distribution unit in such a system | |
DE102008000562A1 (en) | Communication system comprising a data bus and a plurality of subscriber nodes connected thereto and methods for operating such a communication system | |
WO2001084286A2 (en) | Method and communication control unit for multimaster clock synchronisation in a distributed real time computer system | |
EP2034642A1 (en) | Method for transmitting synchronisation messages in a communications network | |
WO2017198304A1 (en) | Method for fast reconfiguration of gm clocks in the tsn network by means of an explicit teardown message | |
EP3022856B1 (en) | Method for localization of a frequency deviation in a communication network and corresponding communication network | |
EP1039660A2 (en) | Wireless network with user synchronisation | |
EP1763768A2 (en) | Method and device for controlling a bus system, and corresponding bus system | |
EP1639758B1 (en) | Method and device for the exchange of data via a bus system | |
EP0023331B1 (en) | Circuit arrangement for the synchronization of a subordinate device, in particular a digital subscriber station, by a higher order device, in particular a digital switching exchange of a pcm telecommunication network | |
DE102004050416A1 (en) | Method for synchronization in a redundant communication system | |
EP3669527B1 (en) | Method for operating a sensor arrangement in a motor vehicle on the basis of a dsi protocol | |
EP2859766B1 (en) | Method and system for time synchronization in an ad-hoc network | |
EP2299614B1 (en) | Device and method for time synchronisation in a communication network | |
DE10053525B4 (en) | Method and system for the synchronization of subscribers of a communication connection | |
DE102004006398A1 (en) | Method and device for synchronizing a functional unit to a predetermined clock frequency | |
DE10249296A1 (en) | Procedure for the synchronization of participants in a network | |
DE10241429B4 (en) | Method for the synchronization of network nodes of a subnetwork | |
EP1168694A2 (en) | Synchronous network | |
DE102004061343B4 (en) | Network with multiple stations, station for such a network and method for synchronization of stations | |
DE102021207759B4 (en) | Method for forwarding synchronization information in a communication device, communication device and vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A2 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A2 Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ 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 TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
DFPE | Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101) | ||
REG | Reference to national code |
Ref country code: DE Ref legal event code: 8642 |
|
AK | Designated states |
Kind code of ref document: C1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: C1 Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ 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 TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG |
|
D17 | Declaration under article 17(2)a | ||
ENP | Entry into the national phase |
Ref document number: 2001 9089 Country of ref document: AT Date of ref document: 20011108 Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 20019089 Country of ref document: AT |
|
REF | Corresponds to |
Ref document number: 10191695 Country of ref document: DE Date of ref document: 20030612 Kind code of ref document: P |
|
WWE | Wipo information: entry into national phase |
Ref document number: 10191695 Country of ref document: DE |
|
122 | Ep: pct application non-entry in european phase | ||
NENP | Non-entry into the national phase |
Ref country code: JP |
|
REG | Reference to national code |
Ref country code: DE Ref legal event code: 8607 |
|
REG | Reference to national code |
Ref country code: DE Ref legal event code: 8607 |