1. Field of the Invention
The present invention relates to a method for centrally setting data rate in a data transmission facility and to an associated device for centrally setting data rates in the data transmission facility.
2. Description of the Prior Art
In a known data transmission facility described in DE 299 08 608 U1, the data rate for transmission of data is set using special telegrams. In this case, all receivers are preset to a data rate in the data rate setting step and are thus ready to receive and evaluate special telegrams. The data rate for future data transmission is set with reference to the special telegram for the data rate setting. The content of the special telegram includes information regarding the data rate. This is always transmitted with a single, preset data rate for the purpose of setting the data rate. However, the setting of the data rate according to this described method has the critical disadvantage that for central data rate setting the central station must send out special telegrams. This data transmission facility does not permit compatibility with subscribers that have no data rate setting, since transmission is only assured if all subscribers are capable of evaluating the special telegram.
From DE 44 18 622 C2, a method is known for determining the transmission rate in a bus system, according to which the transmission rate corresponding to the bit length is selected from a table by bit length measurement. In this described method, a counter is started when bit edge detection is begun, and stopped again after the following bit edge. The counter value determined thereby represents a bit length that corresponds to a data rate. The counter value is compared with a standard table of reference bit lengths. If the measured bit length matches a value in the table, the data rate is set accordingly. The method presented here is highly unreliable for data transmission facilities because signal edges in data circuits may be created by, for example, electromagnetic interference. As a consequence, reliable data rate setting in an industrial environment where electromagnetic disturbances abound is not possible with this measurement method. Since the counter for bit length measurement returns a value that corresponds to a data rate even with predetermined deviations, the realization thereof involves a great deal of effort and must be clocked at a higher system speed. Otherwise, the measurement will become very inaccurate at higher data rates because of the system-conditioned sampling error.
In INTERBUS basics and practice, ISBN 3-7785-2471, 1998, a serial data transmission protocol according to the INTERBUS transmission method is described. Synchronization of the telegrams and the function of the status telegrams are described here. This description always assumes a fixed data rate, which must be preset on all subscribers. In the data transmission method described here, no provision is made to enable the data rate to be set or changed centrally for all subscribers.
The object of the present invention is to provide a data transmission facility that allows a data rate determined by the central station to be set at the subscribers. To keep the data rate setting phase as brief as possible for the entire data transmission facility, it is necessary to provide an early forwarding system for the data rate setting telegrams from one subscriber to the next subscriber in the direction of the data flow. In existing data transmission facilities, in which the data rate cannot be set centrally, subscribers must be capable of being coupled and operated with a variable data rate. The subscribers being capable of setting themselves automatically to the fixed data rate.
In the method according to the present invention, the data rate is set at the coupled subscribers in a transmission facility before the beginning of transmission, starting from a central station. The transmission facility consists of a central station, which transmits output data to the subscribers connected to the bus, and in the other direction receives input data from the subscribers. Besides an interface to the peripheral application, the subscribers contain a protocol core and devices for data rate determination and data rate setting. In the method according to the present invention, data rate detection is solved with a means for telegram detection, such that one data rate detector is provided to detect each data rate. The means for telegram detection is provided in each data rate detector, and telegram detection is triggered not by a certain bit sequence, but by a significant pattern. This pattern may represent multiple telegram types. In the present method, telegrams are regenerated to stabilize the bit length during data rate setting in each of the data rate detectors. For example, in a data transmission facility according to the INTERBUS protocol, status telegrams are identified on the basis of significant bits in the telegram and the pause lasting several bit lengths between two status telegrams. In the method according to the present invention, the data rate may be reliably determined after a single status telegram and the associated pause have been detected. The particular advantage of the present invention consists in that an existing protocol, such as that of the INTERBUS, does not need to be changed. The current telegram patterns and timed sequences at the start of the data transmission can also be used for setting the data rate. In this event, it is possible to use those status telegrams that have already been used to cancel the reset, as described in INTERBUS basics and practice, ISBN 3-7785-2471, 1998, in the setting of the data rate. It is not necessary to change the protocol or to define a new data rate telegram.
The present invention will be described in the following with reference to an exemplary embodiment and the associated figures.
FIG. 1: shows an exemplary arrangement of the central station and the subscribers connected to the bus in the application according to the present invention;
FIG. 2: is a schematic representation of the device with the individual blocks in a subscriber that are necessary for operating the bus and setting the data rate according to the present invention;
FIG. 3: shows the timed phases at the beginning of data transmission;
FIG. 4: is a schematic representation in the timing diagram of the signal sequences on the data circuits in the individual timed phases;
FIG. 5: is a schematic representation in the timing diagram of the signal sequences on the data circuits for the data rate setting phase; and
FIG. 6: is a schematic representation of a variant of a device with the individual blocks in a subscriber that are necessary for operating the bus and setting the data rate according to the present invention, wherein the data rate can be firmly preset.
When the data rate setting timed phase 42 has elapsed, a switch to protocol core phase 43 follows, in which the internal data circuit 28 is then switched out of a bypass-type routing and back to the protocol core 31. The protocol core 31 activates at a later point in time 44. After this, data transmission can begin in accordance with a protocol provided. This is a data transmission phase 45.
The other data rate detectors are also active, but since the received data rate setting telegram does not match the timed bit pattern they are expecting, they do not detect a data rate.
In this way, the data rate for the entire data transmission facility can be set at a single subscriber.
Number | Date | Country | Kind |
---|---|---|---|
101 21 912 | May 2001 | DE | national |
Number | Name | Date | Kind |
---|---|---|---|
4761800 | Lese et al. | Aug 1988 | A |
5051720 | Kittirutsunetorn | Sep 1991 | A |
5490209 | Kennedy et al. | Feb 1996 | A |
5526490 | Nishikawa | Jun 1996 | A |
5619532 | Tani et al. | Apr 1997 | A |
5671250 | Bremer et al. | Sep 1997 | A |
6069926 | Sekiya et al. | May 2000 | A |
6072827 | Krulce | Jun 2000 | A |
6076952 | Gretta et al. | Jun 2000 | A |
6163586 | Hongbin Hao et al. | Dec 2000 | A |
6198785 | Flynn | Mar 2001 | B1 |
6286071 | Iijima | Sep 2001 | B1 |
6366610 | Loyer et al. | Apr 2002 | B1 |
6434633 | Braun et al. | Aug 2002 | B1 |
6463490 | Wang et al. | Oct 2002 | B1 |
6470059 | Starr | Oct 2002 | B2 |
6609167 | Bastiani et al. | Aug 2003 | B1 |
6665810 | Sakai | Dec 2003 | B1 |
6680970 | Mejia | Jan 2004 | B1 |
6724815 | Jepsen et al. | Apr 2004 | B1 |
6775714 | Miyano | Aug 2004 | B1 |
6792041 | Kim et al. | Sep 2004 | B1 |
6795871 | Nolan et al. | Sep 2004 | B2 |
6810078 | Bradley | Oct 2004 | B2 |
Number | Date | Country |
---|---|---|
4418622 | Nov 1995 | DE |
29908608 | Aug 2000 | DE |
Number | Date | Country | |
---|---|---|---|
20020194360 A1 | Dec 2002 | US |