The invention described and claimed hereinbelow is also described in German Patent Application DE 10 2006 006 508.5 filed on Feb. 10, 2006. This German Patent Application, whose subject matter is incorporated here by reference, provides the basis for a claim of priority of invention under 35 U.S.C. 119(a)-(d).
The present invention relates to real-time communications systems and in particular to ethernet-based data networks. Real-time communications systems known from the prior art have the problem that standard ethernet participants cannot be integrated directly into the communications system, or standard ethernet participants cannot be coupled directly with a real-time communications system. The present invention is described in particular in the field of ethernet-based communications systems, for which a simple realization of a coupling unit is shown.
A real-time communications system essentially comprises many participants. In a special embodiment, which is typically employed in automation applications, the system has primary participants (so-called masters) and secondary participants (so-called slaves).
Within this real-time communications system, data are exchanged in the form of real-time telegrams. In these real- time telegrams, their precise position is decisive to enable putting together information correctly. Besides these real-time telegrams, there are also data exchange mechanisms that do not proceed in real time. These mechanisms are used for instance for startup and for display, for instance for diagnostic purposes, where time demands are low.
The term “real-time communication” is understood as communication in which the specified activities are performed virtually without any time lag, or in other words typically with a guaranteed maximum delay that is known beforehand to other systems.
In such communications systems, there is often a need to make access possible to the various participants of the communications system. For this purpose, PCs are generally used that have no direct coupling to the real-time communication. These PCs must be coupled to the system via coupling units. The coupling of PCs to the communications system is done for instance by means of network participants. It is also usual to couple PCs to the “ethernet (Office)”. The coupling function is performed by individual real-time communication participants.
The present invention thus has the object of making a method for data transmission available that permits systems or devices that cannot be integrated directly into a real-time communication to be coupled.
This is achieved by a method, a communications device, and a coupling unit in accordance with the present invention.
In the method of the invention for data transmission via data networks and in particular via ethernet-based data networks, having at least two participants, the data networks having at least one topological real-time field and one topological non-real-time field, and data telegrams sent via the data networks have at least one real-time part and at least one non-real-time part, according to the invention, by means of a coupling unit, data telegrams from the non-real-time field, which arrive within the real-time part, are delayed and transmitted to the non-real-time part.
The present invention relates in particular to data networks that at least in part are repeating data networks. Both purely repeating and mixed repeating and/or switched data networks are conceivable. Preferably, however, the repeater functionality is obligatory.
The term “topological real-time field” is understood to mean a localizable field inside the data network. The terms “real-time part” and “non-real-time part” are understood particularly, but exclusively, to mean chronological parts. The individual real-time or non-real-time parts, however, may also be defined by a position within one communications cycle.
By the chronological delay of data telegrams from the non-real-time part and their transmission to the non-real-time part, conflict situations in real-time-critical communications can be prevented. This non-real-time part is relevant particularly in the real-time field, that is, the region in which so-called real-time-critical data are transmitted.
Preferably, data telegrams are also taken from the non-real-time part (inside the real-time field) and transmitted to the non-real-time field. Proceeding in this way is the reverse transmission direction with respect to the above transmission of data telegrams from the non-real-time field to the real-time field. Preferably, this involves those data telegrams which are transmitted from the non-real-time field to the real-time field and those data telegrams that are transmitted from the real-time field to the non-real-time field are different data telegrams, which illustrates the fact that data telegrams can be transmitted bidirectionally. Preferably, data telegrams are also taken from the real-time part (within the real-time field) and transmitted to the non-real-time field. In this case as well, a transmission of data telegrams takes place from the real-time field to the non-real-time field.
The data are preferably transmitted in the form of communications cycles, and especially preferably, these communications cycles have predetermined time spans. In this case, the communication in real-time systems takes place in the communications cycles, and a communications cycle substantially comprises two parts, namely the part for real-time communication and the part for non-real-time communication. The real-time communication part, or real-time part (hereinafter also called the RT channel), is typically administered by the primary participant, and the transmission corrections are issued by this participant. The data telegram in this RT channel are preferably repeated by the participants.
There is also a so-called non-real-time part (hereinafter also called the IP channel), which involves a time range during which no transmission corrections have to be issued. In this time range, every participant can occupy the communications system. To avoid collisions in this IP channel, or to regulate it, a change can be made from the repeater function to a switched function for the period of time of the IP channel (this is called switching the data telegrams in the IP channel). Within the communications cycles, both chronological real-time parts and chronological non-real-time parts occur.
Preferably, the non-real-time part is defined variably within one communications cycle.
Preferably, the coupling unit ascertains parameters which are characteristic for the position of at least the non-real-time part within one communications cycle. More precisely, these parameters are learned. Preferably, the parameters are selected from a group of parameters which contains the starting times of the non-real-time part, the ending times of the non-real-time part, the chronological length of the non-real-time part, the chronological length of the real-time part, and the like. In particular, the values for the starting time of the non-real-time part and the ending time of the non-real-time part are needed in order to determine the position of the non-real-time part.
Advantageously, the chronological length of the non-real-time part is also determined. From these parameters, that is, from the reception time of the non-real-time telegrams and real-time telegrams, the coupling unit can find the time range of the IP channel by calculating the region for the IP channel by means of the earliest and latest reception time and the respective telegram lengths. Since the telegram recognition of the real-time telegrams (RT channel) differs from that in the IP channel, the coupling unit can distinguish the telegrams in the time range of the IP channel from those in the time range of the RT channel. In other words, the position of the non-real-time part is ascertained by evaluating the reception times of telegrams received.
From the prior art, no coupling units which function with a mixed function comprising a repeater and a switch are known. The coupling units in the prior art require parameters and must be parametrized, for instance from a primary participant, in order to know the location of the IP channel. This means that the coupling units known from the prior art must each be independent network nodes that can also be addressed from the primary station. That is, a network address for instance is needed as well as specialized management of the node and an address setting of the node. The method of the invention thus represents a drastic simplification of the methods known from the prior art.
The position of the non-real-time part is preferably also ascertained by evaluation of the reception times of received data telegrams and especially preferably of non-real-time telegrams.
The present invention is also directed to a use of a method of the type described above for ethernet-based communications systems. The present invention is moreover directed to a use of the above-described method for real-time communication systems in general. The invention is directed in particular to the use of a method of the type described above for a network that is at least also repeating, that is, a network in which not merely switching is done but at least also repeating. The invention is thus applicable to purely repeating networks as well. The processes described here proceed in particular in the lower layers of the OSI reference model.
The invention is furthermore directed to a communications device for transmitting data, in which the communications device has at least one first participant and at least one second participant as well as one coupling unit for connecting at least one further participant to the communications device. In addition, the communications device has at least one topological real-time field and one topological non-real-time field, and data telegrams transmitted by the communications device contain at least one real-time part and one non-real-time part.
According to the invention, the coupling unit has a control unit, which causes data telegrams from the non-real-time field, which arrive at the coupling unit within the real-time part, to be delayed and transmitted to the non-real-time part of a communications cycle. In this way, a problematic collision with real-time-critical data can be averted.
Preferably, the control unit causes data telegrams to be taken from a non-real-time part and transmitted to the non-real-time field. This means that here as well, data telegrams can be transmitted from the real-time field to the non-real-time field. The control unit furthermore causes data telegram parts to be taken from a real-time part and transmitted to the non-real-time field. The term “data telegrams” can be described within the context of the present invention as both individual data telegrams and various pluralities of data telegrams.
Preferably, the coupling unit automatically ascertains parameters which are characteristic for the position of the non-real-time part within the communications cycles.
The present invention is also directed to a coupling unit for a communications device for transmitting data, in particular via ethernet-based data networks, with many participants, which has at least one real-time field and at least one non-real-time field. The data telegrams transmitted by the communications device include at least one real-time part and one non-real-time part.
According to the invention, the coupling unit has a control unit, which causes data telegrams from the non-real-time field, which arrive at the coupling unit within the real-time part, to be delayed and transmitted to the non-real-time part.
The present invention is also directed to the use of a coupling unit described above for an at least also repeating network.
Further advantageous embodiments will become apparent from the accompanying drawings.
In
In the embodiment shown in
The last participant 4c shown in
Data fields (HDR/MST) for synchronization and administration are located inside the real-time part.
As shown in
In the prior art, the location of the IP channel is transmitted to the secondary participants from the primary participant explicitly as so-called parameters. The secondary participants must therefore, as noted above, have an accessible parameter memory that the primary station can describe. In contrast, in the invention the times t6 and t7 in
To avoid interference with the real-time communication, data telegrams from the non-real-time field, which is identified in
In contrast to the coupling units known from the prior art, the coupling unit of the invention is not a network participant with its own network address. Thus it is also not visible as a node in the communications network, but merely routes the data transparently from the non-real-time field (shown in
As
As
In a preferred embodiment, it is proposed that the latter hot-plug information field be occupied by the times t6 and t7. These and other data are transmitted in the field preferably in multiplexed fashion, as long as no new participant is to be taken on. Thus during this time a coupling unit can ascertain the times by evaluating the entire data telegram.
In this embodiment, information is thus preferably multiplexed within a predetermined data field.
All the characteristics disclosed in the application are claimed as essential to the invention, to the extent that they are novel either individually or in combination over the prior art.
It will be understood that each of the elements described above, or two or more together, may also find a useful application in other types of methods and constructions differing from the type described above.
While the invention has been illustrated and described as embodied method for data transmission via data networks, it is not intended to be limited to the details shown, since various modifications and structural changes may be made without departing in any way from the spirit of the present invention.
Without further analysis, the foregoing will so fully reveal the gist of the present invention that others can, be applying current knowledge, readily adapt it for various applications without omitting features that, from the standpoint of prior art, fairly constitute essential characteristics of the generic or specific aspects of this invention.
What is claimed as new and desired to be protected by Letters Patent is set forth in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10 2006 006 508.5 | Feb 2006 | DE | national |