Method For Determining The Topology Of A Serial Asynchronous Databus
First Claim
Patent Images
1. A computer-implemented method for determining the topology of a serial asynchronous data bus, to which at least a first bus subscriber and a second bus subscriber are connected, which subscribers communicate via a prescribed bus access protocol that comprises defined request and response telegrams, the method including the steps of:
- transmitting request telegrams from the first bus subscriber and receiving the request telegrams at the second bus subscriber, transmitting a respective response telegram from the second bus subscriber in response to each request telegram, and receiving the response telegrams at the first bus subscriber,determining a plurality of time differences for the first bus subscriber between the transmission of a particular request telegram and the reception of a respective related response telegram at a first measurement site on the databus, which is associated with the first bus subscriber, wherein the first measurement site is located at the first bus subscriber, or, as viewed from the second bus subscriber, is located behind the first bus subscriber, andcalculating an average response time Tres1 that is associated with the first bus subscriber, from the plurality of differences determined for the first bus subscriber, calculating the difference between the average response time that is associated with the first bus subscriber Tres1, and an average response time that is associated with the second bus subscriber Tres2, and deriving a run time delay TL, and thus a distance between the first bus subscriber and the second bus subscriber.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer-implemented method for determining the topology of a serial asynchronous data bus, to which at least a first bus subscriber and a second bus subscriber are connected, which subscribers communicate via a prescribed bus access protocol.
32 Citations
19 Claims
-
1. A computer-implemented method for determining the topology of a serial asynchronous data bus, to which at least a first bus subscriber and a second bus subscriber are connected, which subscribers communicate via a prescribed bus access protocol that comprises defined request and response telegrams, the method including the steps of:
-
transmitting request telegrams from the first bus subscriber and receiving the request telegrams at the second bus subscriber, transmitting a respective response telegram from the second bus subscriber in response to each request telegram, and receiving the response telegrams at the first bus subscriber, determining a plurality of time differences for the first bus subscriber between the transmission of a particular request telegram and the reception of a respective related response telegram at a first measurement site on the databus, which is associated with the first bus subscriber, wherein the first measurement site is located at the first bus subscriber, or, as viewed from the second bus subscriber, is located behind the first bus subscriber, and calculating an average response time T res1 that is associated with the first bus subscriber, from the plurality of differences determined for the first bus subscriber, calculating the difference between the average response time that is associated with the first bus subscriberT res1, and an average response time that is associated with the second bus subscriberT res2, and deriving a run time delay TL, and thus a distance between the first bus subscriber and the second bus subscriber. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer-implemented method for determining the topology of a serial asynchronous data bus, to which at least a first bus subscriber and a second bus subscriber are connected, which subscribers communicate via a prescribed bus access protocol that comprises defined request and response telegrams, wherein the first bus subscriber comprises a master unit, and the second bus subscriber comprises a slave unit, the method including the steps of
(a) the master unit transmits a request telegram to the slave unit at a transmission point in time T0, (b) the measurement unit at the measurement site that is associated with the master unit, receives the request telegram and at the next clock pulse edge generates a first time stamp ZS, (c) the slave unit receives the request telegram after a run time TL, which is a function of the distance between the master unit and slave unit, wherein the request telegram has a length of x bit times, (d) after reception of the request telegram is complete and a waiting time of y bit times has elapsed, the slave unit transmits a response telegram, (e) after the run time TL the master unit receives the response telegram at a point in time TE, (f) the measurement unit receives the response telegram and at its next clock pulse edge generates a second time stamp ZE, and (g) from the difference between the two time stamps a response time Tres, which is associated with the master unit, is determined, and wherein the steps (a) to (g) are repeated a number of times, wherein spreading of response times which occurs as a result of variations in the waiting time of the slave unit is cancelled out by means of an average value algorithm for the calculation of an average response time T res1 that is associated with the master unit.
Specification