DE19710971A1 - Propagation timing method for sending telegram between two subscribers in bus system - Google Patents

Propagation timing method for sending telegram between two subscribers in bus system

Info

Publication number
DE19710971A1
DE19710971A1 DE1997110971 DE19710971A DE19710971A1 DE 19710971 A1 DE19710971 A1 DE 19710971A1 DE 1997110971 DE1997110971 DE 1997110971 DE 19710971 A DE19710971 A DE 19710971A DE 19710971 A1 DE19710971 A1 DE 19710971A1
Authority
DE
Germany
Prior art keywords
telegram
time
participant
participants
measuring device
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
DE1997110971
Other languages
German (de)
Inventor
Rolf Dipl Ing Breithaupt
Udo Doebrich
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Siemens AG
Original Assignee
Siemens AG
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 Siemens AG filed Critical Siemens AG
Priority to DE1997110971 priority Critical patent/DE19710971A1/en
Publication of DE19710971A1 publication Critical patent/DE19710971A1/en
Ceased legal-status Critical Current

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/0682Clock or time synchronisation in a network by delay compensation, e.g. by compensation of propagation delay or variations thereof, by ranging

Abstract

The method times the travel of a message from one subscriber (T2) to another (T1). The sender starts (L2) a timing clock or counter (Z) into which a preset value can be loaded (L1) by a controller (ST). The current time or count can be read out (L4) by the controller which is programmed to enable subscribers to collaborate in the timing. The recipient returns an immediate reply to the sender, who stops the clock or counter and performs a readout. For corroboration, the recipient also starts a clock at the instant of reply, and reads out the time of reception of an acknowledgment from the sender.

Description

Die Erfindung betrifft ein Verfahren zur Bestimmung der Lauf­ zeit eines Telegramms zwischen zwei Teilnehmern in einem Bus­ system sowie einen Teilnehmer zur Durchführung eines der­ artigen Verfahrens.The invention relates to a method for determining the run time of a telegram between two participants in a bus system and a participant to carry out one of the like procedure.

Aus der DE 39 06 467 A1 ist bekannt, daß für zeitkritische Anwendungen, beispielsweise für zeitgleiche Meßwerterfassung bei Regelvorgängen, in einem verteilten System eine Synchro­ nisation vorgenommen werden muß. Ein verteiltes System be­ steht aus einer Mehrzahl von Teilnehmern, beispielsweise Sensoren und Aktuatoren, die über einen Bus zur Datenüber­ tragung miteinander verbunden sind. Die zur Datenübertragung in den Teilnehmern erforderlichen Einrichtungen und der Bus selbst werden zusammenfassend als Bussystem bezeichnet. Zur Synchronisation der Teilnehmer im Bussystem wird durch einen zentralen Teilnehmer eine Synchronisiernachricht an die wei­ teren Teilnehmer gesendet, die beispielsweise dazu benutzt werden kann, eine gleichzeitige Erfassung von Meßwerten durch bestimmte Teilnehmer zu veranlassen. Dabei wird nicht berück­ sichtigt, daß bei der Übertragung von Telegrammen zwischen Sender und Empfänger Laufzeiten durch das Übertragungsmedium entstehen, die insbesondere durch die Entfernung und die physikalische Übertragungsgeschwindigkeit der Signale auf dem Übertragungsmedium bestimmt werden. Je nach geforderter Syn­ chronisationsgenauigkeit kann dies bei Bussystemen von ge­ ringer räumlicher Ausdehnung und einfacher Topologie zulässig sein.From DE 39 06 467 A1 it is known that for time-critical Applications, for example for simultaneous data acquisition for control processes, in a distributed system a synchro nization must be made. A distributed system consists of a plurality of participants, for example Sensors and actuators that use a bus to transmit data are connected to each other. The for data transmission facilities required in the participants and the bus themselves are referred to collectively as the bus system. For Synchronization of the participants in the bus system is carried out by a central subscriber a synchronization message to the Wei ter participants sent, for example, used can be a simultaneous acquisition of measured values by to induce certain participants. It is not considered understands that in the transmission of telegrams between Transmitter and receiver transit times through the transmission medium arise, in particular by the distance and the physical transmission speed of the signals on the Transmission medium can be determined. Depending on the syn Chronization accuracy can do this with bus systems from ge  small spatial extent and simple topology permitted be.

Der Erfindung liegt die Aufgabe zugrunde, ein Verfahren zur Bestimmung der Laufzeit eines Telegramms zwischen zwei Teil­ nehmern in einem Bussystem zu finden, damit bei zeitkriti­ schen Telegrammen eine Korrektur vorgenommen und auch bei komplexeren Bussystemen höhere Anforderungen an die Synchro­ nisationsgenauigkeit von Teilnehmern erfüllt werden können. Zudem ist ein zur Durchführung des Verfahrens geeigneter Teilnehmer für ein Bussystem zu schaffen.The invention has for its object a method for Determination of the runtime of a telegram between two parts to find participants in a bus system, corrected telegrams and also at more complex bus systems, higher demands on the synchro nization accuracy can be met by participants. In addition, one is suitable for carrying out the method To create participants for a bus system.

Zur Lösung dieser Aufgabe weist das neue Verfahren die im kennzeichnenden Teil des Anspruchs 1 angegebenen Merkmale auf. In den abhängigen Ansprüchen sind vorteilhafte Weiter­ bildungen des Verfahrens beschrieben. Ein neuer, für die Durchführung des Verfahrens geeigneter Teilnehmer ist ent­ sprechend den im kennzeichnenden Teil des Anspruchs 7 an­ gegebenen Merkmalen ausgestaltet.To solve this problem, the new method has the in characterizing part of claim 1 specified features on. Advantageous further are in the dependent claims formations of the method described. A new one for those Implementation of the procedure of suitable participants is ent speaking to in the characterizing part of claim 7 given given features.

Die Erfindung hat den Vorteil, daß eine größere Synchronisa­ tionsgenauigkeit zwischen Teilnehmern erreicht werden kann, als die Laufzeitdifferenzen von Telegrammen zu verschiedenen Teilnehmern betragen. Wird beispielsweise eine Genauigkeit von 1 µs gefordert, so dürfte die räumliche Ausdehnung des Bussystems höchstens 200 m betragen, da je Kilometer Kabel etwa mit 5 µs Laufzeit gerechnet werden muß. Dies entspricht etwa 2/3 der Lichtgeschwindigkeit. Die Laufzeit wird zudem bei komplexeren Bussystemen, die sich über größere räumliche Entfernungen erstrecken oder in verschiedene Bussegmente unterteilt sind, beispielsweise durch Verstärker oder Repeater vergrößert. Insbesondere bei Bussystemen, bei denen die Topologie und die räumliche Ausdehnung veränderlich ist, bringt eine automatische Bestimmung der Telegrammlaufzeit Vorteile. Veränderungen können beispielsweise auftreten, wenn Teilnehmer nur temporär oder an verschiedenen Orten ange­ schlossen werden. Dabei wirkt sich auch vorteilhaft aus, daß die Bestimmung der Laufzeit zu jedem beliebigen Zeitpunkt durchgeführt werden kann. Verändert sich die Topologie des Bussystems ständig, so werden Laufzeittests unmittelbar vor Synchronisiervorgängen durchgeführt.The invention has the advantage that a larger Synchronisa accuracy between participants can be achieved, than the runtime differences from telegrams to different ones Participants. For example, an accuracy of 1 µs, the spatial extension of the Bus system should not exceed 200 m, since there are cables per kilometer approximately 5 µs runtime must be expected. This matches with about 2/3 the speed of light. The term will also for more complex bus systems that span larger spatial Extend distances or in different bus segments  are divided, for example by amplifiers or Repeater enlarged. Especially with bus systems where the topology and the spatial extent is changeable, brings an automatic determination of the telegram runtime Advantages. Changes can occur, for example, when Participants only temporarily or at different locations be closed. It also has an advantageous effect that the determination of the term at any time can be carried out. Does the topology of the Bus systems constantly, so runtime tests are carried out immediately Synchronization operations carried out.

Synchronisiervorgänge können beispielsweise darin bestehen, daß in einem Telegramm von einem zentralen Teilnehmer die aktuelle Uhrzeit an die übrigen Teilnehmer im Bussystem über­ tragen wird und diese ihre Uhren auf den empfangenen Wert einstellen. Zur exakten Synchronisierung müssen die Einstell­ vorgänge in den Teilnehmern mit geringerer Telegrammlaufzeit verzögert werden, bis auch der Teilnehmer, der zuletzt das Telegramm empfängt, seine Uhr einstellen kann. Die einge­ stellte Uhrzeit wird gegenüber der beim zentralen Teilnehmer zum Sendezeitpunkt herrschenden Uhrzeit um die maximale Lauf­ zeit korrigiert.Synchronization processes can consist, for example, of that in a telegram from a central participant current time to the other participants in the bus system will wear and this their watches to the received value to adjust. For exact synchronization, the settings processes in the participants with a shorter telegram runtime be delayed until the participant who last did the Receives telegram, can set its clock. The turned The time is compared to that of the central participant at the time of transmission at the maximum run corrected time.

Eine weitere Möglichkeit besteht darin, die vom zentralen Teilnehmer empfangene Uhrzeit jeweils um die Laufzeit des Synchronisiertelegramms in den übrigen Teilnehmern zur Er­ mittlung der aktuellen Uhrzeit zu korrigieren.Another possibility is that of the central Participant received time at the duration of the Synchronized telegram in the other participants to Er correct the current time.

Ein ähnlicher Synchronisiervorgang ist auch erforderlich, wenn in verschiedenen Teilnehmern gleichzeitige Aktionen, beispielsweise das Erfassen von Meßwerten, vorgenommen werden sollen.A similar synchronization process is also required if simultaneous actions in different participants,  for example, the acquisition of measured values should.

Eine Kenntnis der Telegrammlaufzeit ist auch in dem Fall von Vorteil, wenn ein Telegramm zu einem vorbestimmten Zeitpunkt bei einem Teilnehmer vorliegen muß. Der Sender kann dann diese Laufzeitinformation berücksichtigen und das Telegramm entsprechend früher aussenden.Knowledge of the telegram runtime is also in the case of Advantage if a telegram at a predetermined time must be with a participant. The transmitter can then take this runtime information into account and the telegram send accordingly earlier.

In dem Verfahren zur Bestimmung der Laufzeit können durch den jeweiligen Empfangsteilnehmer verursachte Verzögerungszeiten zwischen dem Empfang des letzten Zeichens eines Telegramms und Aussenden des ersten Zeichens des Antworttelegramms, falls sie aufgrund der geforderten Synchronisationsgenauig­ keit nicht mehr vernachlässigbar sind, ohne weiteres durch eine Korrektur der gemessenen Laufzeit um einen entsprechen­ den Betrag berücksichtigt werden, da diese Verzögerungszeiten teilnehmerspezifisch und unabhängig von der jeweiligen Topo­ logie des Bussystems konstant sind. Von Vorteil ist auch, daß eine Verzögerung beim sendenden Teilnehmer, z. B. beim Er­ greifen der Sendeberechtigung, das Verfahren nicht beein­ flußt, da erst nach dem Senden des Telegramms, beispielsweise wenn das letzte Bit den sendenden Teilnehmer verläßt, die Zeitmessung gestartet wird.In the procedure for determining the term, the respective reception participants caused delay times between the receipt of the last character of a telegram and sending out the first character of the response telegram, if it is accurate due to the required synchronization are no longer negligible, without further ado a correction of the measured transit time by one the amount to be taken into account as these delay times participant-specific and independent of the respective topo logic of the bus system are constant. It is also advantageous that a delay in the sending participant, e.g. B. He seize the send authorization, does not affect the procedure flows, because only after sending the telegram, for example if the last bit leaves the sending subscriber, the Time measurement is started.

Werden in einem Bussystem die Laufzeiten für alle Verbindun­ gen zwischen beliebigen Teilnehmern ermittelt und in einem der Teilnehmer zusammengetragen, so kann durch diesen die tatsächliche Netztopologie bestimmt werden. Aus diesen In­ formationen sind auch die tatsächlichen Entfernungen zwischen den Teilnehmern errechenbar. Wird bei veränderlicher Topo­ logie des Bussystems die Laufzeitmessung in Abständen wieder­ holt durchgeführt und werden die neuen Werte mit den Werten früherer Messungen verglichen, so sind auch Veränderungen der Topologie erkennbar. Mit Hilfe von zyklisch automatisch ab­ laufenden Laufzeitmessungen können Zeitparameter für das Bus­ system ermittelt werden, die für statistische Auswertungen verwendbar sind.Are the running times for all connections in a bus system determined between any participants and in one the participant gathered, so this can actual network topology can be determined. From these In Formations are also the actual distances between  calculable by the participants. If the topo changes logic of the bus system the runtime measurement again at intervals gets carried out and the new values with the values Previous measurements compared, so are changes in Recognizable topology. With the help of cyclically automatically Running runtime measurements can time parameters for the bus system can be determined for statistical evaluations are usable.

Anhand der Zeichnungen, in denen Ausführungsbeispiele der Erfindung dargestellt sind, werden im folgenden die Erfindung sowie Ausgestaltungen und Vorteile näher erläutert.Using the drawings, in which embodiments of the Invention are shown below, the invention as well as configurations and advantages explained in more detail.

Es zeigen:Show it:

Fig. 1 ein Bussystem, Fig. 1 shows a bus system,

Fig. 2 einen Teilnehmer, Fig. 2 is a subscriber,

Fig. 3 ein Zeitdiagramm der Laufzeitmessung und Fig. 3 is a timing diagram of the delay time measurement and

Fig. 4 ein Zeitdiagramm einer Laufzeitmessung, bei dem die Telegrammlänge groß gegenüber der Laufzeit ist. Fig. 4 is a timing diagram of a transit time measurement in which the telegram length is large compared to the transit time.

In Fig. 1 ist ein Bussystem dargestellt, das aus zwei Seg­ menten S1 und S2 besteht. An dem Segment S1 sind Teilnehmer T1 und T2 angeschlossen, an dem Segment S2 ein Teilnehmer T3. Die beiden Segmente S1 und S2 sind durch einen Repeater R miteinander verbunden. In einem technischen Anwendungsfall eines derartigen Bussystems können beispielsweise die Teil­ nehmer T1 und T3 Meßumformer zur Erfassung der Temperatur bzw. des Drucks in einem Chemiereaktor und der Teilnehmer T2 eine Heizeinrichtung zur Wärmezufuhr an den Reaktor sein. Durch den Teilnehmer T2 werden zeitgleich die Meßwerte von den Teilnehmern T1 und T3 abgefragt und entsprechend einem Regelalgorithmus Stellgrößen für die Wärmezufuhr ermittelt. Damit die Meßwerte zeitgleich erfaßt werden können, müssen die Teilnehmer T1 und T3 zueinander synchronisiert werden. Dabei ist zu berücksichtigen, daß die Laufzeiten eines Auf­ ruftelegramms vom Teilnehmer T2 an die Teilnehmer T1 und T3 unterschiedlich sind.In Fig. 1, a bus system is shown, which consists of two segments S1 and S2. Participants T1 and T2 are connected to segment S1 and a participant T3 to segment S2. The two segments S1 and S2 are connected to one another by a repeater R. In a technical application of such a bus system, for example, the participants T1 and T3 transmitters for detecting the temperature or the pressure in a chemical reactor and the participants T2 can be a heating device for supplying heat to the reactor. The participant T2 simultaneously polls the measured values from the participants T1 and T3 and determines manipulated variables for the heat supply in accordance with a control algorithm. So that the measured values can be recorded simultaneously, the subscribers T1 and T3 must be synchronized with one another. It should be noted that the runtimes of a call telegram from subscriber T2 to subscribers T1 and T3 are different.

Fig. 2 zeigt ein Beispiel für den internen Aufbau eines Teilnehmers, beispielsweise des Teilnehmers T2 in Fig. 1, der im wesentlichen eine Zeitmeßeinrichtung Z und eine Steuereinheit ST aufweist. Als Zeitmeßeinrichtung kann bei­ spielsweise eine Uhr oder ein getakteter Zähler verwendet werden. Durch die Steuereinheit ST kann in die Zeitmeß­ einrichtung Z über eine Leitung L1 ein Voreinstellwert ge­ laden werden. Gestartet wird die Zeitmeßeinrichtung über eine Leitung L2, gestoppt über eine Leitung L3. Mit einer Leitung L4 ist die aktuelle Uhrzeit bzw. der Zählerstand durch die Steuereinheit ST aus der Zeitmeßeinrichtung Z auslesbar. Durch geeignete Programmierung der Steuereinheit ST wird durch zwei Teilnehmer, beispielsweise die Teilnehmer T1 und T2 in Fig. 1, ein anhand der Fig. 3 und 4 im folgenden erläutertes Verfahren zur Bestimmung der Telegrammlaufzeit durchgeführt. FIG. 2 shows an example of the internal structure of a subscriber, for example subscriber T2 in FIG. 1, which essentially has a time measuring device Z and a control unit ST. A clock or a clocked counter can be used as the time measuring device, for example. By the control unit ST, a preset value can be loaded into the time measuring device Z via a line L1. The time measuring device is started via a line L2, stopped via a line L3. With a line L4, the current time or the counter reading can be read out from the time measuring device Z by the control unit ST. By suitably programming the control unit ST, two participants, for example participants T1 and T2 in FIG. 1, perform a method for determining the telegram runtime which is explained below with reference to FIGS. 3 and 4.

Entsprechend Fig. 3, in welcher der Lauf von Telegrammen, deren Sende- bzw. Empfangszeit klein gegenüber der Laufzeit ist, über der Zeitachse dargestellt ist, sendet der Teil­ nehmer T2 zunächst ein Telegramm 1 zum Zeitpunkt t1 an den Teilnehmer T1 ab und startet nach dem Senden seine Zeitmeß­ einrichtung. Der Teilnehmer T1 empfängt das Telegramm 1 und sendet unmittelbar nach dem Empfang zum Zeitpunkt t2 ein Antworttelegramm 2 an den Teilnehmer T2. Dieser stoppt bei Ankunft des Antworttelegramms 2 seine Zeitmeßeinrichtung zum Zeitpunkt t3. Der Teilnehmer T2 kann nun die Laufzeit eines Telegramms berechnen, da diese die Hälfte des Zeitintervalls t3-t1 beträgt. Damit auch der Teilnehmer T1 unabhängig vom Ergebnis des Teilnehmers T2 die Laufzeit berechnen kann, startet auch der Teilnehmer T1 nach dem Senden des Tele­ gramms 2 zum Zeitpunkt t2 eine Zeitmeßeinrichtung und der Teilnehmer T2 sendet unmittelbar nach Empfang des Tele­ gramms 2 zum Zeitpunkt t3 ein weiteres Antworttelegramm 3 an den Teilnehmer T1 zurück. Dieser stoppt bei Ankunft des Ant­ worttelegramms 3 zum Zeitpunkt t4 seine Zeitmeßeinrichtung und berechnen nun ebenfalls die Telegrammlaufzeit, die als die Hälfte des Zeitintervalls t4-t2 bestimmt wird.According to Fig. 3, in which the running of messages whose transmission and reception time is small compared to the period, is shown over the time axis, the part transmits timer T2 initially a telegram 1 at the time t1 to the subscriber T1 and starts to sending its timing device. The subscriber T1 receives the telegram 1 and sends a response telegram 2 to the subscriber T2 immediately after receipt at the time t2. When the response telegram 2 arrives, it stops its time measuring device at time t3. The participant T2 can now calculate the runtime of a telegram, since this is half the time interval t3-t1. So that the subscriber T1 can calculate the runtime regardless of the result of the subscriber T2, the subscriber T1 also starts a time measuring device after sending the telegram 2 at time t2 and the subscriber T2 sends another immediately after receiving the telegram 2 at time t3 Reply telegram 3 back to subscriber T1. This stops when the response telegram 3 arrives at time t4, its time measuring device and now also calculate the telegram runtime, which is determined as half of the time interval t4-t2.

Für den Fall, daß die Sende- oder Empfangszeit eines Tele­ gramms gegenüber der Laufzeit groß ist, wird das Verfahren anhand Fig. 4 veranschaulicht. Der Teilnehmer T2 beginnt zum Zeitpunkt t5 mit dem Senden eines Telegramms 4 durch Ausgabe eines ersten Bits oder Zeichens 5, das den Teilnehmer T2 zum Zeitpunkt t6 erreicht. Die Ausgabe des letzten Bits 6 des Telegramms 4 erfolgt zum Zeitpunkt t7. Dieses erreicht den Teilnehmer T1 zum Zeitpunkt t8, zu welchem das Telegramm 4 vollständig als empfangenes Telegramm 4' beim Teilnehmer T1 vorliegt. Mit dem Aussenden des letzten Bits 6 startet der Teilnehmer T2 eine Zeitmeßeinrichtung. Unmittelbar nach Er­ halt des letzten Bits 6 sendet der Teilnehmer T1 ein erstes Bit 7 eines Antworttelegramms 8 an den Teilnehmer T2, das dieser zum Zeitpunkt t9 empfängt. Das letzte Bit 9 des Telegramms 8 wird zum Zeitpunkt t10 gesendet und zum Zeit­ punkt t11 vom Teilnehmer T2 empfangen, zu welchem das Ant­ worttelegramm 8 diesen als Telegramm 8' vollständig erreicht hat. Mit Empfang des ersten Bits 7 stoppt der Teilnehmer T2 zum Zeitpunkt t9 seine Zeitmeßeinrichtung und ermittelt die Telegrammlaufzeit als die Hälfte des Zeitintervalls t9-t7. Gegebenenfalls kann ein weiteres Antworttelegramm des Teil­ nehmers T2 an den Teilnehmer T1 folgen, damit auch der Teil­ nehmer T1 entsprechend dem anhand Fig. 3 beschriebenen Ver­ fahren die Laufzeit berechnen kann. Die Laufzeit kann diesem aber auch in einem Datentelegramm mitgeteilt werden.In the event that the transmission or reception time of a telegram is large compared to the runtime, the method is illustrated with reference to FIG. 4. At the time t5, the subscriber T2 begins to send a telegram 4 by outputting a first bit or character 5 , which reaches the subscriber T2 at the time t6. The last bit 6 of telegram 4 is output at time t7. This reaches the subscriber T1 at the time t8, at which the telegram 4 is completely present as a received telegram 4 'at the subscriber T1. With the transmission of the last bit 6 , the subscriber T2 starts a time measuring device. Immediately after receiving the last bit 6 , the subscriber T1 sends a first bit 7 of a response telegram 8 to the subscriber T2, which the latter receives at time t9. The last bit of the message 9 8 is sent to the time t10 and the timing t11 T2 received from the subscriber, to which the word telegram Ant 8 this has fully achieved as a telegram 8 '. Upon receipt of the first bit 7 , the subscriber T2 stops his time measuring device at the time t9 and determines the telegram runtime as half of the time interval t9-t7. If necessary, a further response telegram from the subscriber T2 to the subscriber T1 can follow, so that the subscriber T1 can also calculate the transit time in accordance with the method described with reference to FIG. 3. The runtime can also be communicated to this in a data telegram.

In analoger Vorgehensweise können auch Telegrammlaufzeiten zwischen den Teilnehmern T2 und T3 sowie den Teilnehmern T1 und T3 im Bussystem nach Fig. 1 gemessen werden.Telegram runtimes can also be measured in an analogous manner between the subscribers T2 and T3 and the subscribers T1 and T3 in the bus system according to FIG. 1.

Die Art, in der die gemessenen Laufzeiten zur Korrektur bei zeitkritischen Telegrammen verwendet werden, ergibt sich aus den Anforderungen, die von der jeweiligen Anwendung gestellt werden:
The way in which the measured transit times are used to correct time-critical telegrams results from the requirements made by the respective application:

  • - Wenn beispielsweise ein Telegramm zu einem bestimmten Zeit­ punkt bei einem Empfänger sein muß, damit in dem Empfänger eine Aktion ausgelöst wird, muß der Sendezeitpunkt um die Laufzeit korrigiert werden. Der Sender kennt den Zeitpunkt, zu welchem die Daten beim Empfänger sein müssen. Die Lauf­ zeit ist bereits berechnet und die Sendezeit aufgrund der festen Datenrate des Bussystems bekannt. Der Sender kann die Laufzeit in einfacher Weise berücksichtigen, indem das Telegramm entsprechend früher an den Empfänger gesendet wird.- If, for example, a telegram at a certain time point must be with a recipient so that in the recipient an action is triggered, the time of transmission must be around Runtime to be corrected. The sender knows the time for which the data must be at the recipient. The run time is already calculated and the airtime is due to the fixed data rate of the bus system known. The transmitter can take the term into account in a simple manner by using the  Telegram correspondingly sent to the recipient earlier becomes.
  • - Muß in einem anderen Fall eine Nachricht bei zwei Emp­ fängern zeitgleiche Aktionen auslösen, so bietet sich ein anderes Korrekturverfahren an. Das Telegramm wird vom Sender an beide Empfänger, beispielsweise durch eine Multi­ cast-Nachricht in einem seriellen Bussystem, gesendet. In dem Empfänger, welchen das Telegramm aufgrund einer kürze­ ren Laufzeit früher erreicht, wird die Weitergabe oder die Einleitung der Aktion verzögert. Die benötigte Verzöge­ rungszeit ergibt sich aus der Differenz zwischen der maxi­ malen Laufzeit des Telegramms im Bussystem und der Tele­ grammlaufzeit zum jeweiligen Empfänger. Dieses Verfahren kann auch mit mehr als zwei empfangenden Teilnehmern durch­ geführt werden. Es ist beispielsweise auch anwendbar, um in mehreren Teilnehmern vorhandene Uhren zu synchronisieren.- In another case, a message must be sent to two emp trigger simultaneous actions, so it is a good idea other correction procedure. The telegram is from Senders to both receivers, for example through a multi cast message in a serial bus system. In the recipient who received the telegram due to a short If their term is reached earlier, the transfer or the Initiation of the action delayed. The delays required time is the difference between the maxi paint the duration of the telegram in the bus system and the tele to the respective recipient. This method can also go through with more than two receiving participants be performed. For example, it is also applicable to to synchronize existing clocks to several participants.

Auch eine zeitliche Staffelung von Aktionen verschiedener Teilnehmer in einem Bussystem mit genauen Zeitabständen der Aktionen ist aufgrund der hohen Synchronisiergenauigkeit mit geringen relativen Zeitschwankungen möglich. Die genannten Korrekturverfahren können auch in Kombination angewendet werden.Also a chronological staggering of different actions Participants in a bus system with exact intervals of time Actions is due to the high synchronization accuracy small relative time fluctuations possible. The above Correction procedures can also be applied in combination will.

Claims (7)

1. Verfahren zur Bestimmung der Laufzeit eines Telegramms zwischen zwei Teilnehmern in einem Bussystem, dadurch gekennzeichnet,
  • - daß ein erster Teilnehmer (T2) ein Telegramm (1) an einen zweiten Teilnehmer (T1) sendet und nach dem Senden des Telegramms (1) eine Zeitmeßeinrichtung (Z) startet,
  • - daß der zweite Teilnehmer (T1) unmittelbar nach Empfang des Telegramms (1) ein Antworttelegramm (2) an den ersten Teil­ nehmer (T2) sendet und
  • - daß der erste Teilnehmer (T2) bei Ankunft des Antwort­ telegramms (2) die Zeitmeßeinrichtung (Z) stoppt und aus der gemessenen Zeit (t3-t1) die Laufzeit eines Telegramms berechnet.
1. A method for determining the duration of a telegram between two participants in a bus system, characterized in that
  • - that a first subscriber (T2) sends a telegram ( 1 ) to a second subscriber (T1) and starts a time measuring device (Z) after sending the telegram ( 1 ),
  • - That the second participant (T1) immediately after receipt of the telegram ( 1 ) sends a response telegram ( 2 ) to the first participant (T2) and
  • - That the first subscriber (T2) stops the time measuring device (Z) upon arrival of the response telegram ( 2 ) and calculates the running time of a telegram from the measured time (t3-t1).
2. Verfahren nach Anspruch 1, dadurch gekennzeichnet,
  • - daß der zweite Teilnehmer (T1) nach dem Senden des Antwort­ telegramms (2) eine Zeitmeßeinrichtung startet,
  • - daß der erste Teilnehmer (T2) unmittelbar nach Empfang des Antworttelegramms (2) ein zweites Antworttelegramm (3) an den zweiten Teilnehmer (T1) sendet und
  • - daß der zweite Teilnehmer (T1) bei Ankunft des zweiten Antworttelegramms (3) seine Zeitmeßeinrichtung stoppt und aus der gemessenen Zeit (t4-t2) die Laufzeit eines Tele­ gramms berechnet.
2. The method according to claim 1, characterized in that
  • - That the second participant (T1) starts a time measuring device after sending the response telegram ( 2 ),
  • - That the first participant (T2) immediately after receiving the response telegram ( 2 ) sends a second response telegram ( 3 ) to the second participant (T1) and
  • - That the second participant (T1) on arrival of the second response telegram ( 3 ) stops its time measuring device and calculates the duration of a telegram from the measured time (t4-t2).
3. Verfahren nach Anspruch 1 oder 2, dadurch gekenn­ zeichnet,
  • - daß die Zeitmeßeinrichtung (Z) jeweils nach dem Senden des letzten Zeichens oder Bits (6) eines Telegramms (4) ge­ startet und nach dem Empfang des ersten Zeichens oder Bits (7) des zugehörigen Antworttelegramms (8) gestoppt wird.
3. The method according to claim 1 or 2, characterized in that
  • - That the time measuring device (Z) starts after the transmission of the last character or bit ( 6 ) of a telegram ( 4 ) ge and after receipt of the first character or bit ( 7 ) of the associated response telegram ( 8 ) is stopped.
4. Verfahren nach einem der vorhergehenden Ansprüche, da­ durch gekennzeichnet,
  • - daß der erste Teilnehmer (T2) nacheinander für die Teil­ nehmer (T1, T3) im Bussystem, an die er zeitkritische Tele­ gramme sendet, die jeweilige Telegrammlaufzeit bestimmt.
4. The method according to any one of the preceding claims, characterized in that
  • - That the first participant (T2) successively for the participants (T1, T3) in the bus system, to which it sends time-critical telegrams, determines the respective telegram runtime.
5. Verfahren nach Anspruch 4, dadurch gekennzeichnet,
  • - daß der erste Teilnehmer (T2), bevor er an mehrere Teil­ nehmer (T1, T3) gleichzeitig ein zeitkritisches Telegramm sendet, an diese jeweils einen Korrekturwert überträgt, um den das zeitkritische Telegramm in den empfangenden Teil­ nehmern (T1, T3) verzögert werden muß, damit es bei allen empfangenden Teilnehmern (T1, T3) gleichzeitig verarbeitet wird, wobei der jeweilige Korrekturwert der aus der größten Laufzeit und der Laufzeit für den jeweiligen Teilnehmer ge­ bildeten Differenz entspricht.
5. The method according to claim 4, characterized in
  • - That the first participant (T2), before he sends a time-critical telegram to several participants (T1, T3), transmits a correction value to each of them, by which the time-critical telegram in the receiving participants (T1, T3) are delayed must, so that it is processed at the same time for all receiving participants (T1, T3), the respective correction value corresponding to the difference formed from the greatest running time and the running time for the respective participant.
6. Verfahren nach einem der vorhergehenden Ansprüche, da­ durch gekennzeichnet,
  • - daß der erste Teilnehmer (T2) ein Telegramm, das zu einem vorbestimmten Zeitpunkt bei anderen Teilnehmern (T1, T3) ankommen muß, um die jeweilige Laufzeit früher sendet.
6. The method according to any one of the preceding claims, characterized in that
  • - That the first participant (T2) sends a telegram that must arrive at a predetermined point in time to other participants (T1, T3) at the respective transit time earlier.
7. Teilnehmer zur Durchführung des Verfahrens nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet,
  • - daß eine Zeitmeßeinrichtung (Z) und eine Steuereinheit (ST) vorhanden sind, derart, daß die Zeitmeßeinrichtung (Z) nach dem Senden eines Telegramms (1) gestartet und bei Ankunft eines Antworttelegramms (2) gestoppt wird, und
  • - daß durch die Steuereinheit (ST) aus der gemessenen Zeit (t3-t1) die Laufzeit eines Telegramms berechenbar ist.
7. Participant for performing the method according to one of the preceding claims, characterized in that
  • - That a time measuring device (Z) and a control unit (ST) are present, such that the time measuring device (Z) is started after the transmission of a telegram ( 1 ) and stopped when a response telegram ( 2 ) arrives, and
  • - That the duration of a telegram can be calculated by the control unit (ST) from the measured time (t3-t1).
DE1997110971 1997-03-17 1997-03-17 Propagation timing method for sending telegram between two subscribers in bus system Ceased DE19710971A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE1997110971 DE19710971A1 (en) 1997-03-17 1997-03-17 Propagation timing method for sending telegram between two subscribers in bus system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE1997110971 DE19710971A1 (en) 1997-03-17 1997-03-17 Propagation timing method for sending telegram between two subscribers in bus system

Publications (1)

Publication Number Publication Date
DE19710971A1 true DE19710971A1 (en) 1998-09-24

Family

ID=7823611

Family Applications (1)

Application Number Title Priority Date Filing Date
DE1997110971 Ceased DE19710971A1 (en) 1997-03-17 1997-03-17 Propagation timing method for sending telegram between two subscribers in bus system

Country Status (1)

Country Link
DE (1) DE19710971A1 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10004433A1 (en) * 2000-02-02 2001-08-09 Siemens Ag Determining signal transition times over data communications path enables accurate measurement of transition time or path length without great cost - involves evaluating period or frequency of oscillations arising from transmitting signal in both directions with inversion in one communications device
WO2001058067A1 (en) * 2000-02-02 2001-08-09 Siemens Aktiengesellschaft Clock synchronisation in a network and network users, in particular a field device for said network
WO2001058092A1 (en) * 2000-02-02 2001-08-09 Siemens Aktiengesellschaft Network user, in particular field device with telegram path guidance between ports and a microprocessor interface and a network therewith
DE10048745C1 (en) * 2000-09-29 2002-02-21 Siemens Ag Bus system network topology determination method uses diagnosis repeater measuring interval between measuring signal and response signal for measuring distance to each bus subscriber
WO2002028004A2 (en) * 2000-09-29 2002-04-04 Siemens Aktiengesellschaft Method for the measurement of delay times between a clock generator and a communication user in a communication network with catenation
DE10048744A1 (en) * 2000-09-29 2002-04-18 Siemens Ag Method and device for determining the bus topology of a bus system
DE10131548A1 (en) * 2001-06-21 2003-01-02 Ahead Software Ag Method and device for determining the maximum speeds before writing data of at least one computer to an optical data memory by a peripheral device
DE10131307A1 (en) * 2001-06-28 2003-01-16 Infineon Technologies Ag Synchronization of data transfer on a bus system whereby signal transfer times and signal time delays are calculated by data sources themselves, not the controller, so that such information does not have to be sent over the bus
WO2003036832A2 (en) * 2001-10-17 2003-05-01 Siemens Aktiengesellschaft Method for operating an end-user of an isochronous cyclical communication system
DE10245905A1 (en) * 2002-10-01 2004-05-06 Dr. Johannes Heidenhain Gmbh Method and device for data transmission between a processing unit and several position measuring devices
EP1473864A1 (en) * 2003-04-28 2004-11-03 Siemens Aktiengesellschaft Collision-free transmission of datagrams via at least one repeater
US7463643B2 (en) 2001-03-16 2008-12-09 Siemens Aktiengesellschaft Applications of a switched data network for real-time and non-real time communication
DE102012101881A1 (en) * 2012-03-06 2013-09-12 Softing Ag Method for determining the topology of a serial asynchronous data bus
DE102020215086A1 (en) 2020-12-01 2022-06-02 Continental Automotive Gmbh Method for determining components of a sensor network within an on-board Ethernet network in a motor vehicle

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3453592A (en) * 1962-11-13 1969-07-01 Nippon Electric Co Delay time control system for signal check or correction
EP0389754A2 (en) * 1989-02-28 1990-10-03 Hewlett-Packard Company Broadcast station locator for a local area network
US5095444A (en) * 1989-12-21 1992-03-10 Legent Corporation System and method for measuring inter-nodal transmission delays in a communications network
US5226036A (en) * 1989-02-08 1993-07-06 Hewlett Packard Company Network diagnostic tool
US5477531A (en) * 1991-06-12 1995-12-19 Hewlett-Packard Company Method and apparatus for testing a packet-based network
US5521907A (en) * 1995-04-25 1996-05-28 Visual Networks, Inc. Method and apparatus for non-intrusive measurement of round trip delay in communications networks
DE19527061A1 (en) * 1995-07-25 1997-01-30 Deutsche Telekom Ag Method and device for measuring cell delay in ATM networks

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3453592A (en) * 1962-11-13 1969-07-01 Nippon Electric Co Delay time control system for signal check or correction
US5226036A (en) * 1989-02-08 1993-07-06 Hewlett Packard Company Network diagnostic tool
EP0389754A2 (en) * 1989-02-28 1990-10-03 Hewlett-Packard Company Broadcast station locator for a local area network
US5095444A (en) * 1989-12-21 1992-03-10 Legent Corporation System and method for measuring inter-nodal transmission delays in a communications network
US5477531A (en) * 1991-06-12 1995-12-19 Hewlett-Packard Company Method and apparatus for testing a packet-based network
US5521907A (en) * 1995-04-25 1996-05-28 Visual Networks, Inc. Method and apparatus for non-intrusive measurement of round trip delay in communications networks
DE19527061A1 (en) * 1995-07-25 1997-01-30 Deutsche Telekom Ag Method and device for measuring cell delay in ATM networks

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP 64-64433 A.,In: Patent Abstracts of Japan *

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001058067A1 (en) * 2000-02-02 2001-08-09 Siemens Aktiengesellschaft Clock synchronisation in a network and network users, in particular a field device for said network
WO2001058092A1 (en) * 2000-02-02 2001-08-09 Siemens Aktiengesellschaft Network user, in particular field device with telegram path guidance between ports and a microprocessor interface and a network therewith
DE10004433A1 (en) * 2000-02-02 2001-08-09 Siemens Ag Determining signal transition times over data communications path enables accurate measurement of transition time or path length without great cost - involves evaluating period or frequency of oscillations arising from transmitting signal in both directions with inversion in one communications device
WO2002028004A3 (en) * 2000-09-29 2003-04-10 Siemens Ag Method for the measurement of delay times between a clock generator and a communication user in a communication network with catenation
DE10048745C1 (en) * 2000-09-29 2002-02-21 Siemens Ag Bus system network topology determination method uses diagnosis repeater measuring interval between measuring signal and response signal for measuring distance to each bus subscriber
WO2002028004A2 (en) * 2000-09-29 2002-04-04 Siemens Aktiengesellschaft Method for the measurement of delay times between a clock generator and a communication user in a communication network with catenation
DE10048744A1 (en) * 2000-09-29 2002-04-18 Siemens Ag Method and device for determining the bus topology of a bus system
DE10048744B4 (en) * 2000-09-29 2004-11-18 Siemens Ag Method and device for determining the bus topology of a bus system
US7463643B2 (en) 2001-03-16 2008-12-09 Siemens Aktiengesellschaft Applications of a switched data network for real-time and non-real time communication
DE10131548A1 (en) * 2001-06-21 2003-01-02 Ahead Software Ag Method and device for determining the maximum speeds before writing data of at least one computer to an optical data memory by a peripheral device
DE10131548B4 (en) * 2001-06-21 2004-03-11 Ahead Software Ag Method and device for determining the maximum speeds before writing data of at least one computer to an optical data memory by a peripheral device
DE10131307A1 (en) * 2001-06-28 2003-01-16 Infineon Technologies Ag Synchronization of data transfer on a bus system whereby signal transfer times and signal time delays are calculated by data sources themselves, not the controller, so that such information does not have to be sent over the bus
DE10131307B4 (en) * 2001-06-28 2006-06-14 Infineon Technologies Ag Method and bus system for synchronizing a data exchange between a data source and a control device
US7017067B2 (en) 2001-06-28 2006-03-21 Infineon Technologies Ag Method and bus system for synchronizing a data exchange between a data source and a control device
US7460560B2 (en) 2001-10-17 2008-12-02 Siemens Aktiengesellschaft Method for operating an end-user of an isochronous cyclical communication system
WO2003036832A3 (en) * 2001-10-17 2003-08-21 Siemens Ag Method for operating an end-user of an isochronous cyclical communication system
WO2003036832A2 (en) * 2001-10-17 2003-05-01 Siemens Aktiengesellschaft Method for operating an end-user of an isochronous cyclical communication system
US7031876B2 (en) 2002-10-01 2006-04-18 Dr. Johannes Heidenhain Gmbh Procedure and device for data transmission between a processing unit and several position measuring instruments
DE10245905A1 (en) * 2002-10-01 2004-05-06 Dr. Johannes Heidenhain Gmbh Method and device for data transmission between a processing unit and several position measuring devices
EP1473864A1 (en) * 2003-04-28 2004-11-03 Siemens Aktiengesellschaft Collision-free transmission of datagrams via at least one repeater
DE102012101881A1 (en) * 2012-03-06 2013-09-12 Softing Ag Method for determining the topology of a serial asynchronous data bus
DE102012101881B4 (en) * 2012-03-06 2013-11-21 Softing Ag Method for determining the topology of a serial asynchronous data bus
US9442880B2 (en) 2012-03-06 2016-09-13 Softing Ag Method for determining the topology of a serial asynchronous databus
DE102020215086A1 (en) 2020-12-01 2022-06-02 Continental Automotive Gmbh Method for determining components of a sensor network within an on-board Ethernet network in a motor vehicle
WO2022117168A1 (en) 2020-12-01 2022-06-09 Continental Automotive Gmbh Method for determining components of a sensor network within an in-vehicle ethernet network in a motor vehicle

Similar Documents

Publication Publication Date Title
EP1115219B1 (en) Method and device for data exchange between at least two subscribers connected by a bus system
EP1430627B1 (en) Method for synchronising nodes of a communications system
DE19710971A1 (en) Propagation timing method for sending telegram between two subscribers in bus system
DE60316758T2 (en) System for the synchronization of commands, as well as a method, a control device and a target device for the same system
DE102012101881A1 (en) Method for determining the topology of a serial asynchronous data bus
EP3170285B1 (en) Method for determining a propagation time of a telegram in a communication network, and corresponding network components
DE10208650A1 (en) Synchronization of at least one subscriber of bus system involves adapting division factor to synchronize local clock period to system clock period by adding or subtracting matching value
DE4215380A1 (en) Synchronisation system for local clocks with automation modules - performs synchronisation operation when difference between local unit and central unit is less than transmission and processing time of central unit
EP3363165B1 (en) Method and computer system for quickly transmitting time-controlled real-time messages
DE10004425A1 (en) Network with subscriber device, esp. field device, enables transmitter, receiver transmission, reception time delays to be taken into account for time synchronisation
CH650886A5 (en) Circuit for synchronizing a digital subscriber station by a digital switching post of pcm telecommunications network.
EP1181790B1 (en) Network and coupling device for connecting two segments in such a network and network nodes
EP3725042B1 (en) Subscriber in a bus system, method for operation and a bus system
DE602004001196T2 (en) Method and apparatus for data transmission for hybrid isochronous / asynchronous networks
DE10241429B4 (en) Method for the synchronization of network nodes of a subnetwork
DE3346806A1 (en) Method and circuit arrangement for transmitting data signals
DE10216920A1 (en) Checking monitoring function of bus system involves providing second time section after communications cycle in which no messages can be transmitted and in which monitoring function is checked
DE3131406C2 (en) Circuit for the synchronization of a transmitting / receiving point on the data network of a digital communication system
AT512449B1 (en) METHOD FOR TRANSMITTING MESSAGES IN A BUS SYSTEM, BUS DEVICE AND BUS SYSTEM
DE19935437C1 (en) Time compensation for an inverse multiplexer
DE10206904A1 (en) Communications in distributed control system with suppression of cyclical communications following equidistance problem involves suppressing all further messages in first subsequent cycle
DE10048335A1 (en) Method for measuring delay times between a clock generator and a communication subscriber in a communication network with chaining topology, delay time compensation based thereon and corresponding communication network
EP0014330B1 (en) Method and circuit arrangement for synchronizing data by means of synchronizing bits
DE2451794A1 (en) Testing system for TDMA communications network - uses random binary character series and has input and output shift registers
DE3035759A1 (en) Continuous wave radio transmission with automatic balancing - emits measuring signals from centre at critical frequency to establish transit time differences

Legal Events

Date Code Title Description
OM8 Search report available as to paragraph 43 lit. 1 sentence 1 patent law
8110 Request for examination paragraph 44
8131 Rejection