Method, system and gateway for time-sensitive fieldbus networking

Time domain synchronization is achieved between different time-sensitive fieldbuses through the gateway, which solves the problem of incompatible fieldbus networking, reduces configuration costs, and ensures the predictability and seamlessness of real-time communication.

CN114731311BActive Publication Date: 2024-10-22WAGO VERW GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080080210.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-11-20
Filing Date
2020-11-20
Publication Date
2024-10-22
Estimated Expiration
2040-11-20

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively network time-sensitive fieldbuses that are not fully compatible with each other, resulting in the need to reconfigure the communication cycle of machines and factory components when equipment is added, replaced or modified, which increases economic and time costs.

Method used

Communication between time-sensitive fieldbuses is realized through gateways. The gateway supports the synchronization of their respective time domains, avoiding the need to balance time domains between fieldbuses, thereby allowing different time-sensitive fieldbuses to operate without damaging existing process operations. Frequency synchronization ensures constant time offset, enabling networking without reconfiguration.

Benefits of technology

It achieves seamless communication between different time-sensitive fieldbuses, reduces configuration costs during equipment replacement and modification, ensures real-time and predictability of communication, and meets the transmission needs of time-sensitive data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114731311B_ABST
    Figure CN114731311B_ABST
Patent Text Reader

Abstract

Method for networking a time-sensitive first fieldbus (10) with a time-sensitive second fieldbus (20), wherein the time-sensitive first fieldbus (10) comprises a first user device (14a) and has its own first time domain (16), and wherein the time-sensitive second fieldbus (20) comprises a second user device (22) and has its own second time domain (26), wherein the first time domain (16) and the second time domain (26) are frequency-synchronized, wherein the first fieldbus (10) and the second fieldbus (20) are connected to each other by means of a gateway (30), wherein the method comprises the following steps: storing a first user device identifier (ID) in a memory of the gateway (30); 14'a), wherein a first user device identifier (ID14'a) identifies a virtual mapping (14'a) of an assigned first user device (14a) of a first field bus (10); a second user device identifier (ID22') is stored in a memory of a gateway (30), wherein the second user device identifier (ID22') identifies a virtual mapping 22' of an assigned second user device (22) of a second field bus (20); a first cycle duration TC1 of the first field bus (10) and a second cycle duration TC2 of the second field bus (20) are determined by the gateway (30) at a reference time point TRef; and a time offset (58) between a first time domain (16) and a second time domain (26) is determined by the gateway (30) at the reference time point TRef. In addition, a corresponding system (1) and a corresponding gateway (30) are used.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a time-sensitive fieldbus system, in particular an industrial fieldbus system for controlling an industrial system. In particular, the present invention relates to a method, a system and a gateway for networking at least two time-sensitive fieldbuses. Background Art

[0002] The fieldbus is used to connect various user devices (e.g., field devices such as sensors, actuators, detectors, actuators, and controllers such as control or automation devices, programmable storage controllers (PLCs), etc.) in a factory (e.g., an industrial production plant, a vehicle, a building, etc.) for mutual communication. In this case, communication occurs in particular (but not exclusively) between different field devices and a fieldbus controller, which controls and monitors the processes running in the device. The user device can be a field device or a controller and in particular has an interface to the fieldbus.

[0003] The information to be transmitted via the fieldbus (e.g. data blocks, data streams) is at least partially time-sensitive, i.e. it has real-time requirements for the transmission latency. For such time-sensitive data, it is necessary, for example, that the fieldbus controller or another field device connected to the fieldbus reliably receives the information sent by the user device within predictable time intervals.

[0004] The data to be transmitted between the users of the fieldbus include not only the communication of values, such as measured values, control values ​​or commands, but also the communication of events for the time coordination of machine and plant components. For example, the coordination and synchronization of the movements of machine components is increasingly no longer carried out via mechanical devices (e.g. metal presses, camshafts, transmissions, etc. with mechanically rigid coupling of insertion and ejection devices in the machine cycle), but via digital messages, which are transmitted with real-time requirements via the fieldbus.

[0005] A fieldbus is assigned to a time domain, in which all user devices have a timer (e.g., clock). The timers of the user devices are synchronized with each other in the time domain and therefore have a common understanding of time. Therefore, all user devices of the fieldbus can follow a fixed fieldbus communication cycle and coordinate with each other to perform corresponding actions at the right time point. A user device of the fieldbus is used as the master device of the time domain, wherein the timer of the master device provides a time reference for other user devices of the time domain. The latter user device that derives its time from the master device in the time domain is also referred to as a slave device. The role of the time master device in the fieldbus can be assumed by the fieldbus controller, but can also be assumed by another user device connected to the fieldbus. The time master device of the fieldbus can synchronize its time base with another time base, for example, with the time master device of another fieldbus or with a higher-level time base. By synchronizing the respective fieldbus times with each other through the master devices of multiple fieldbuses, a time domain can also include multiple fieldbuses. Balance the "clock" by synchronizing the time base. However, this does not necessarily mean that two fieldbuses have the same communication cycle in a time domain.

[0006] The first fieldbus generations were developed to replace the previously common parallel wiring of machine components with cable harnesses with digital transmission technology. For this purpose, various, partly proprietary fieldbus protocols were developed. Subsequent fieldbus generations were mainly based on the IEEE 802.3 Ethernet standard, in which the Ethernet protocol was modified or expanded to implement time-sensitive networks (TSN).

[0007] For example, the IEEE 802.1Q task group for TSN networks has developed a standard for the real-time Ethernet protocol. A real-time supported scheduler (time-aware scheduler) is defined, for example, by the IEEE802.1QBv standard. The scheduler can divide the communication in the network into fixed, periodically repeated communication cycles and define, reserve or negotiate fixed time slots within the cycle to transmit time-critical data. This enables clock-driven end-to-end transmission between two user devices.

[0008] Outside the time slots set aside for real-time transmission, non-time-sensitive data (Best-Effort data) can be transmitted, using known packet-switched transmission protocols (e.g. Ethernet) for this purpose. A real-time-capable scheduler can set up guard bands to prevent the transmission of non-time-sensitive data packets from overlapping the time slots reserved for real-time transmission.

[0009] Furthermore, in a TSN network, it is possible to interrupt the transmission of non-time-sensitive data packets during the real-time interval and continue afterwards. In this way, time-sensitive and non-time-sensitive communications can coexist in a TSN-enabled network.

[0010] In the process of increasing digitalization and networking of factories (e.g., entire production sites), it is necessary to enable communication between fieldbuses and between fieldbuses and devices at the higher level control level, process control level, operation control level, and / or company level. Networking involves both non-time-sensitive data and time-sensitive data.

[0011] Although most of the fieldbus real-time protocols currently in use are based on Ethernet, despite this commonality, there are still technical differences, so that different fieldbus types are not compatible with each other or not fully compatible. It may also happen that different generations of fieldbuses are used, for example when adding, replacing or modifying parts of a device, where the different generations of fieldbuses are not necessarily fully compatible. Efforts are currently being made to specify universal real-time protocols that should replace the multiple proprietary and mutually incompatible protocols for time-sensitive fieldbuses. However, their use presupposes the replacement or modification of existing fieldbus systems, which is usually not economically justified.

[0012] The starting point of known solutions for time-sensitive communication between two or more fieldbuses is that all fieldbuses to be coupled not only have a uniform understanding of time, but that all time offsets and durations and / or start times of fieldbus communication cycles are synchronized. However, fieldbuses are usually configured in a complex manner at the start of production so that machines and / or plant components controlled by the fieldbuses are optimally coordinated with one another. However, balancing the cycle times of existing fieldbuses with other fieldbuses at additional plant components requires reconfiguration of existing processes controlled by the fieldbuses.

[0013] Therefore, there is a need to network time-sensitive fieldbuses that are not fully compatible with each other. Summary of the invention

[0014] The object is achieved in particular by a method according to the invention for networking a first time-sensitive fieldbus with a second time-sensitive fieldbus, by a system according to the invention for networking at least two time-sensitive fieldbuses, and by a gateway according to the invention for time synchronization and for networking at least two time-sensitive fieldbuses.

[0015] In order to solve this problem, a gateway is used in particular, which facilitates communication between time-sensitive fieldbuses. Since the gateway supports the corresponding time domains of all fieldbuses connected to it, the fieldbuses can communicate with each other without having to match the time domains, in particular the times of communication cycles defined within the fieldbuses. This applies both to time-sensitive data and to non-time-sensitive data.

[0016] One aspect of the present invention relates to a method for networking a time-sensitive first fieldbus with a time-sensitive second fieldbus, wherein the time-sensitive first fieldbus includes a first user device and has its own first time domain. The time-sensitive second fieldbus includes a second user device and has its own second time domain. The first time domain and the second time domain are frequency synchronized. The first and second fieldbuses are interconnected by means of a gateway. The method includes storing a first user device identifier in a memory of the gateway, wherein the first user device identifier identifies a virtual mapping of an assigned first user device of the first fieldbus. The method also includes storing a second user device identifier in a memory of the gateway, wherein the second user device identifier identifies a virtual mapping of an assigned second user device of the second fieldbus. In addition, the method includes determining a first cycle duration of the first fieldbus and a second cycle duration of the second fieldbus at a reference time point by the gateway and determining a time offset between the first time domain and the second time domain by the gateway at a reference time point.

[0017] Frequency synchronization can be performed by synchronizing the clock frequencies in the time domain of the first fieldbus and the second fieldbus. Through this frequency synchronization, although the first fieldbus and the second fieldbus or the first time domain and the second time domain can have differently defined times, the time offset is time-invariant, that is, time-constant. Through frequency synchronization only in the first time domain and the second time domain, the time range in the fieldbus (that is, the effective time in the time domain) can be kept unchanged to a large extent. In particular, it avoids the severe time gap that may otherwise occur in one or two fieldbuses when balancing the first fieldbus time and the second fieldbus time. Here, the frequency balancing can be performed within a period of time that does not impair the operation of the process carried out in the first fieldbus.

[0018] The connection of the first fieldbus and the second fieldbus through the gateway can be carried out in the following manner, that is, the gateway is connected to the first fieldbus or the second fieldbus as a user device respectively. For this reason, for example, a network connection with a corresponding interface to the corresponding fieldbus can be provided. For the communication of one or more user devices of a fieldbus and another fieldbus, the gateway can provide a virtual mapping of the user device. Here, the virtual mapping of the user device of other fieldbuses can be established as a user device of its own fieldbus. For example, the virtual mapping of the first user device in the first fieldbus can be established as a user device in the second fieldbus, and the virtual mapping of the second user device in the second fieldbus can be established as a user device in the first fieldbus.

[0019] Here, the virtual mapping can be identified by the user device identifier respectively. For example, the first user device in the first field bus can send a message to the virtual mapping of the second user device, wherein it uses the user device identifier of the virtual mapping of the second user device. In the structural scheme of the present invention, the user device identifier can be constructed as a network address, for example, as a media access control (MAC) address or an Internet Protocol (IP) address or as an address of another network protocol or as an address or identifier in the network protocol layer. The gateway can also be set up to forward the message received by the virtual mapping of the user device to the assigned user device. For this purpose, it can use the identifier of the assigned user device, for example. In addition, the gateway can receive the response message of the assigned user device through the virtual mapping and forward it to the user device in other field buses.

[0020] By the gateway determining a first cycle duration of the first fieldbus and a second cycle duration of the second fieldbus at a reference time and determining a time offset between the first time domain and the second time domain at the reference time, the gateway can act as a mediator or "translator" between the time domains of the fieldbuses.

[0021] For example, the gateway can receive a message from a user device in the second field bus through the virtual mapping of the first user device. The message can be, for example, non-time-sensitive data (so-called Best-Effort data), which should be sent by the user device in the second field bus to the first user device in the first field bus. Because the virtual mapping of the first user device is the same as that of the user device in the second field bus, the cycle duration of the second field bus can be considered when receiving the message. In addition, time slots for transmitting time-sensitive data can be reserved in the second field bus. These reserved time slots can be considered in this way so that non-time-sensitive data is received outside these time slots. Now the gateway can convey messages for transmitting time-sensitive data in the first field bus while considering the cycle duration of the first field bus and while considering the reserved time slots. It is also possible for the gateway to temporarily store non-time-sensitive data for conveying outside the reserved time slots in the first field bus.

[0022] In the opposite direction, the first user equipment in the first fieldbus can send a response to the received message to the user equipment in the second fieldbus through the virtual mapping distributed in the gateway. Here, optionally, the cycle duration and the reserved time slot in the first fieldbus and the second fieldbus are considered again by caching the data in the gateway. If the measured value, control command but also software update or other operating data are to be transmitted in a non-time-critical manner between fieldbuses with different time domains, this replacement may be meaningful. However, for example, in order to reserve the corresponding time slot across the fieldbus for transmitting time-sensitive data, the data for configuration can also be transmitted as non-time-sensitive communication. The virtual mapping assigned to the user equipment in a fieldbus is formed in another fieldbus as the termination point for the communication protocol, and for the user equipment in another fieldbus, the situation is the same as the user equipment of this another fieldbus.

[0023] The gateway can also assist in supporting the transmission of time-sensitive data by means of a virtual mapping of at least a portion of the user devices of the field bus. To this end, the gateway can determine, for example, the temporal overlap of a first time slot set by the first field bus for transmitting time-sensitive data in the first field bus and a second time slot set by the second field bus for transmitting time-sensitive data in the second field bus. In some embodiments, the determination can be made by a corresponding query of the user devices of the first field bus or the second field bus, or also by the gateway facilitating the negotiation of such time slots and storing the negotiated time slots and other communication parameters.

[0024] In other embodiments, the method further comprises the step of receiving, by the gateway, a request from the second fieldbus for a time slot to transmit sensitive data from a first user device of the first fieldbus to a second user device of the second fieldbus. The method may further comprise forwarding the request to the first fieldbus. In addition, the gateway may receive a confirmation message from the first fieldbus and forward the confirmation message to the second fieldbus.

[0025] In this case, the request can be issued by any user device of the second field bus and addressed to another user device of the first field bus.

[0026] For example, a user device having a scheduler function in the second field bus can send a request to the first field bus. In the first field bus and the second field bus, at least one scheduler is responsible for defining the transmission cycle and / or for allocating, negotiating, configuring, setting and / or managing the time slots for transmitting time-sensitive data. Such a user device can be constructed as a real-time supported scheduler (time-aware scheduler), and for this purpose, executes corresponding protocols and functions, for example according to IEEE802.1Q or 802.1Qbv standards. The request can be made to a user device of the first field bus having a real-time supported scheduler function, which can negotiate and allocate time slots for the first user device in the first field bus for transmitting time-sensitive data. Because the gateway is also a user device of the first field bus, the implementation method can be such that the function of the real-time supported scheduler for the first field bus is also assumed by the gateway. In this case, communication with the first field bus can be carried out inside the gateway. In a similar manner, the gateway is also a user device of the second field bus, and the implementation method can be designed so that the gateway assumes the function of the real-time supported scheduler for the second field bus. In some embodiments, the communication of the described request and confirmation can therefore be performed only within the gateway, because the gateway is not only a user device of the first field bus but also a user device of the second field bus. In such a case, for example, it is not necessary to transmit the request of the second field bus to the first field bus and it is not necessary to transmit the confirmation message from the first field bus to the second field bus via the physical layer of the field bus.

[0027] In some embodiments, the gateway may receive a request from the second field bus. In order to identify the user device to exchange time-sensitive data, the request may include an identifier of the data source and the data destination. For example, it may include a first user device identifier or another identifier that can be used to identify the first user device in the second field bus. In addition, the request may include a second user device identifier or another identifier that identifies the second user device or its virtual mapping.

[0028] In the opposite direction, the gateway receives a confirmation message from the first field bus. In some embodiments, the confirmation message may be issued by a real-time supported scheduler for the first field bus. The gateway then forwards the confirmation message to the second field bus, for example, to a user device with a scheduler function, which sets a time slot for the second user device to transmit time-sensitive data.

[0029] The communication of the described request and confirmation can be carried out by means of a virtual mapping of the user device in the first fieldbus, in particular a virtual mapping of the real-time support scheduler in the first fieldbus. The virtual mapping in the gateway can first be identified by means of a corresponding user device identifier in the second fieldbus. The virtual mapping then has a proxy function for the actual real-time support scheduler in the first fieldbus.

[0030] In some embodiments, the request received (via the gateway) includes a time specification of at least one time point and / or at least one time interval. The time specification is related to the time domain of the second fieldbus. The method also includes determining the time specification via the gateway based on the received request related to the time domain of the first fieldbus, taking into account a time offset related to a reference time point. The request conveyed to the first fieldbus via the gateway includes a time specification related to the time domain of the first fieldbus.

[0031] Such a time specification allows a more precise specification of the request. For example, time points and intervals can be transmitted which should be used in the second field bus for time-sensitive communication or which should be excluded. The request can have a "command" feature, in which a time slot is set by the second field bus for time-sensitive communication according to the time specification, or a "negotiation basis" feature, in which the second field bus can further specify the time specification.

[0032] In this case, the time information can be transmitted by the users of the second fieldbus to the gateway with reference to the time domain of the second fieldbus, wherein the gateway can convert the time information with reference to the first fieldbus.

[0033] The method may also include setting a first time slot for communication of time-sensitive data in the first fieldbus based on a time description from a request related to a first time domain of the first fieldbus and setting a second time slot for communication of time-sensitive data in the second fieldbus based on a time description related to a second time domain of the second fieldbus via the first fieldbus. Here, the setting of the first time slot via the first fieldbus and the setting of the second time slot via the second fieldbus are respectively carried out in such a way that the first time slot of the first fieldbus and the second time slot of the second fieldbus overlap in time. Since the corresponding time descriptions in the first fieldbus and the second fieldbus are respectively related to the respective time ranges, it is not necessary to consider the conversion of the time descriptions by the user equipment of the first fieldbus or the second fieldbus. Nevertheless, the time description can specify the first time slot and the second time slot in such a way that the time slots overlap in time. The setting of the time slots in the first fieldbus or the second fieldbus can be carried out by a corresponding user equipment, for example, with a corresponding function as a real-time support scheduler. If the functionality is carried out in a gateway, which in some embodiments can also be a user equipment of the first fieldbus or the second fieldbus, the communication related to the setting of the time slots can be carried out at least partially within the gateway.

[0034] In other embodiments, the confirmation message received from the first fieldbus includes another time description of at least one time point and / or at least one time interval, wherein the mentioned another time description is related to the time domain of the first fieldbus. The method also includes determining the other time description by the gateway based on the received confirmation message related to the time domain of the second fieldbus, taking into account the time offset related to the reference time point. The confirmation message conveyed to the second fieldbus includes the other time description related to the time domain of the second fieldbus, wherein the setting of the first time slot is based on the mentioned other time description by the first fieldbus, and wherein the setting of the second time slot is based on the mentioned other time description by the second fieldbus. In this way, not only the request message may contain a time description, but also the confirmation message may contain another time description. In the time description, for example, a time description different from the time description of the request can be proposed from the first fieldbus, or the previous time description can be specifically described. Here, the gateway converts the other time description with respect to the time range of the corresponding fieldbus, so that there is no need to perform a conversion related to this in the fieldbus. The described request to the first field bus and the described confirmation with exchange time information can also be part of a wider protocol for setting time slots for time-sensitive data communication, wherein further messages with time information are exchanged between the field buses.

[0035] In other embodiments, the method further includes receiving time-sensitive data from a first user device of the first field bus by a gateway, wherein the time-sensitive data includes a second user device indicator during an overlap period between the first time slot and the second time slot. The method further includes determining, by the gateway, an identifier of the second user device based on the second user device identifier during an overlap period between the first time slot and the second time slot. During an overlap period between the first time slot and the second time slot, the received time-sensitive data is further conveyed to the second user device by the gateway.

[0036] In such an embodiment, the second user device indicator is used to identify the second user device for the first field bus. Here, the first user device of the first field bus can address time-sensitive data to a virtual mapping of the second user device, whereby the second user device can be addressed as a user device of the first field bus. The gateway then forwards the data to the assigned second user device of the second field bus, where it uses its identifier. For example, the identifier can represent a network address (MAC address or IP address), where the gateway exchanges the destination address of the physical data unit (MAC PDU, IP data packet).

[0037] During the time overlap of the first time slot and the second time slot, the time-sensitive data is received, determined, and forwarded by the gateway. This conduction of time-sensitive data can also be carried out in the following manner, that is, the gateway provides a termination point for the physical layer from the second field bus. Then, the gateway can receive, demodulate and decode (for example, with respect to channel coding) the physical signal when necessary, so that the time-sensitive data is available as data bits at the top edge of the physical layer. In one embodiment, the data can be conveyed in the so-called media access (MAC) protocol layer through a so-called MAC bridge (for example, according to the IEE 802.1D standard). Thus, for example, the MAC protocol data header can be read to convey to other field buses and modified with the identifier of the second user device. The conduction of data can also be carried out in a protocol layer higher than the MAC layer, wherein the gateway provides a corresponding protocol stack. Small delays may be caused by signal processing and data processing in the gateway. However, since the first time slot or the second time slot is reserved for transmitting time-sensitive data and there is an overlapping area in the two time slots, buffering in the queue can be avoided to a large extent. Therefore, the delay that occurs can remain predictable and controllable, thereby meeting real-time requests for transmission.

[0038] In practice, in addition to the time offset between the first time domain and the second time domain, further time differences may exist for the transmission of time-sensitive data, for example with regard to different durations of the first time slot and the second time slot and the time positions of the first time slot and the second time slot. In the region where the first time slot and the second time slot overlap, time-sensitive data can be conducted between the fieldbuses via the gateway. Outside the overlapping region, time slots for the transmission of time-sensitive data can still be reserved in the first fieldbus or the second fieldbus, wherein these time slots can be used independently of one another, for example, for the transmission of time-sensitive data within the fieldbus.

[0039] In order to perform the frequency synchronization of the first time domain and the second time domain, the gateway may have a first timer and a second timer. For the frequency synchronization of the two fieldbuses, for example, the first timer of the gateway may be synchronized with the first time domain of the first fieldbus as a slave device. In addition, the second timer of the gateway may be synchronized with the second time domain of the second fieldbus as a slave device. Then, firstly, only the frequency of the first timer as a slave device is synchronized with the frequency of the second time domain of the second timer, and then the first timer is set as a master device for the first fieldbus so that the frequency of the first fieldbus is set according to the frequency of the first timer.

[0040] Since the gateways have their own timers, which are synchronized with one another (e.g. only) in terms of frequency, the gateways know the times defined in the first and second time domains, respectively, and can, for example, coordinate the transmission of non-time-sensitive data in such a way that time slots for the transmission of time-sensitive data are not encountered. Furthermore, after the frequency synchronization has taken place, it is ensured that the time differences between the fieldbuses still exist, but are time-invariant and therefore do not "run out of control". In the described approach, the first fieldbus derives its time base from the second fieldbus, wherein the setting of the first timer as a master for the first fieldbus represents only a slight intervention in the time range of the first fieldbus. For example, the frequency of the first timer can be set within a period that avoids severe time gaps. Thus, the first fieldbus can be synchronized during "load" operation.

[0041] Another aspect of the present invention relates to a system for networking at least two time-sensitive fieldbuses. The system has a time-sensitive first fieldbus, the time-sensitive first fieldbus includes a first user device and has its own first time domain. The system also has a time-sensitive second fieldbus, the time-sensitive second fieldbus includes a second user device and has its own second time domain, wherein the first time domain and the second time domain are frequency synchronized. In addition, the system also has a gateway, which connects the first fieldbus and the second fieldbus to each other. The gateway has a device for storing a first user device identifier in a memory of the gateway, wherein the first user device identifier identifies a virtual mapping of a first user device assigned to the first fieldbus. The gateway has a device for storing a second user device identifier in a memory of the gateway, wherein the second user device identifier identifies a virtual mapping of a second user device assigned to the second fieldbus. In addition, the gateway has a device for determining a first cycle duration of the first fieldbus and a second cycle duration of the second fieldbus at a reference time point by the gateway, and a device for determining a time offset between the first time domain and the second time domain by the gateway at a reference time point. In other embodiments, the system is set up to perform the steps (e.g., all steps) of the above method.

[0042] Another aspect of the invention relates to a gateway for networking a time-sensitive first fieldbus with a time-sensitive second fieldbus, wherein the time-sensitive first fieldbus includes a first user device and has its own first time domain, and wherein the time-sensitive second fieldbus includes a second user device and has its own second time domain, wherein the first time domain and the second time domain are frequency synchronized. The gateway includes means for connecting the time-sensitive first fieldbus and the time-sensitive second fieldbus to the gateway, respectively, means for storing a first user device identifier in a memory of the gateway, wherein the first user device identifier identifies a virtual mapping of an assigned first user device of the first fieldbus; and means for storing a second user device identifier in a memory of the gateway, wherein the second user device identifier identifies a virtual mapping of an assigned second user device of the second fieldbus. In addition, the gateway includes means for determining a first cycle duration of the first fieldbus and a second cycle duration of the second fieldbus at a reference time point and means for determining a time offset between the first time domain and the second time domain at a reference time point.

[0043] In other embodiments, the gateway further comprises means for receiving a request from the second fieldbus for a time slot to transmit sensitive data from a first user device of the first fieldbus to a second user device of the second fieldbus. The gateway further comprises means for forwarding the request to the first fieldbus, means for receiving a confirmation message from the first fieldbus, and means for forwarding the confirmation message to the second fieldbus.

[0044] In other embodiments, the received request includes a time specification of at least one time point and / or at least one time interval, wherein the time specification is related to the time domain of the second fieldbus. The gateway has means for determining the time specification from the received request related to the time domain of the first fieldbus while taking into account a time offset related to a reference time point. The request forwarded to the first fieldbus includes a time specification related to the time domain of the first fieldbus.

[0045] In other embodiments, the gateway includes means for determining a time overlap between a first time slot set by the first field bus for transmitting time-sensitive data in the first field bus and a second time slot set by the second field bus for transmitting time-sensitive data in the second field bus. The gateway also includes means for receiving time-sensitive data from a first user device of the first field bus, wherein the time-sensitive data includes a second user device indicator during the overlap of the first time slot and the second time slot, means for determining an identifier of the second user device based on the second user device identifier during the overlap of the first time slot and the second time slot, and means for conveying the received time-sensitive data to the second user device during the overlap of the first time slot and the second time slot.

[0046] Therefore, specific embodiments of the gateway have means for carrying out the method steps in the above-described method, which are carried out by the gateway mentioned there. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In the following detailed description, various aspects of the invention are described with reference to the accompanying drawings, in which:

[0048] Figure 1 A block diagram showing a system having a first fieldbus that is time sensitive and having a second fieldbus that is time sensitive;

[0049] Figure 2 schematically showing a time diagram of a first fieldbus and a second fieldbus and the transmission of non-time-sensitive data via a gateway;

[0050] Figure 3 A detailed time diagram schematically showing cycle times defined for a first fieldbus and a second fieldbus;

[0051] Figure 4 schematically illustrates an example of a request protocol for a time slot for transmitting time-sensitive data between a first fieldbus and a second fieldbus and a protocol for transmitting time-sensitive data between a first fieldbus and a second fieldbus; and

[0052] Figure 5 The timing diagram of a first fieldbus and a second fieldbus and the transmission of time-sensitive data via a gateway are schematically shown. DETAILED DESCRIPTION

[0053] The following detailed description explains the embodiments of the present invention with reference to the above-mentioned drawings. In this case, the same reference numerals in different drawings respectively represent the same device, the same method step or the same time unit, etc.

[0054] Figure 1 A block diagram of an exemplary system 1 having a time-sensitive first fieldbus 10 and a time-sensitive second fieldbus 20 is shown. The first fieldbus 10 and the second fieldbus 20 exemplarily include user devices 12, 14a-c or 22, 24a-c, wherein the user devices 12, 22 are controllers of the fieldbus, such as automation devices, programmable storage controllers PLC, nodes or another industrial controller, and the user devices 14a-c or 24a-c are field devices, such as I / O modules for sensors and / or actuators, which can measure or influence variables of a process automated by the fieldbus. The user devices 12, 14a-c or 22, 24a-c are connected to each other in the respective fieldbuses 10, 20 and can communicate via an interface, wherein the definition of the interface includes an interface protocol.

[0055] The users 12, 14a-c of the first fieldbus 10 belong to a first time domain 16, wherein all users 12, 14a-c have the same understanding of absolute time. To this end, each user device 12, 14a-c has a timer, which is set at Figure 1 2 is schematically represented by the dial of a clock. In a corresponding manner, the user devices 22, 24a-c of the second fieldbus 20 belong to the second time domain 26. In the fieldbuses 10 and 20, the fieldbus lines start from the controllers 12, 22 and are connected to the field devices in a star shape. In general, the fieldbus can also be composed of other topologies, such as tree topology, bus topology, ring topology, etc. The user devices 12, 24a-c or 22, 24a-c of the fieldbuses 10 and 20 can also be connected to each other at least partially via a wireless network.

[0056] Each user device 12, 24a-c or 22, 24a-c reserves time for the corresponding field bus 10 or 20 and is therefore called a master device. For example, in the first field bus 10, the controller 12 is currently the master device, which Figure 1 2 is shown with a scale with a solid line. For example, in the second fieldbus 20, the user device 24a is the fieldbus master. Here, the clock of the master device 12 or 24a respectively predetermines the time in the fieldbus, wherein the other users of the fieldbus, that is, the users 14a-c or the users 22, 24b-c in the first fieldbus respectively obtain their time from the master. This occurs, for example, in the following way, that is, the users within the fieldbus exchange messages at regular or irregular intervals according to the precision time protocol based on the IEEE 1588 standard, and thus achieve and maintain a common understanding of time in this way.

[0057] Both non-time-sensitive data and time-sensitive data can be transmitted within the first fieldbus 10 and the second fieldbus 20, as will be described in more detail below. For example, the data transmission in the two fieldbuses can be divided into transmission cycles according to the IEEE 802.1Q standard. Here, different cycle durations can be defined for the first fieldbus 10 and the second fieldbus 20. Since the first fieldbus 10 and the second fieldbus 20 are respectively assigned different time domains 16 or 26, in this case, the cycle time can also be regarded as being assigned to the time domain.

[0058] In addition, a first time slot can be defined in the first field bus 10 and a second time slot can be defined in the second field bus 20, in which time slots real-time data can be transmitted between two user devices of the same field bus. The transmission of real-time data can be a clock-driven end-to-end transmission between the two user devices, or a transmission with a small delay, which meets the real-time requirements as long as the delay is known, deterministic or causally controllable.

[0059] In order to define the transmission cycle and the time slot for transmitting time-sensitive data, one or more user devices of the corresponding field bus can have a scheduler function respectively. The scheduler is responsible for defining the cycle duration in the first field bus or the second field bus and transmitting the cycle duration to other user devices of the corresponding field bus. In addition, the scheduler can be set up to receive a request for transmitting time-sensitive data in the first field bus or the second field bus, manage the allocated time slots, communicate with the requested user device to negotiate the time slot for time-sensitive transmission, and confirm or reject the request accordingly. In addition, the scheduler can be set up to transmit the allocated time slot for transmitting time-sensitive data to other user devices. It should be assumed that at least one of the user devices 12, 24a-c in the first field bus 10 can be set up as a scheduler and execute the corresponding protocol (for example, according to the IEEE 802.1Q standard or a standard derived therefrom). It is also assumed that in the second field bus 20, at least one of the user devices 22, 24a-c assumes the scheduler function.

[0060] The system 1 further comprises a gateway 30 through which the two field buses 10, 20 are communicatively connected to each other. Figure 1 The fieldbuses 10 and 20 are shown to be connected to one another via their controllers 12 and 22, but this is not mandatory. More precisely, the gateway 30 has an interface to each fieldbus 10 and 20, so that the gateway appears as a user device for the respective fieldbus 10, 20. In this case, the gateway 30 supports at least two time domains 32 and 34, which are adjusted as part of the respective time domain when coupled to the time domain of the fieldbus 16 or 26. Depending on the number of fieldbuses to be coupled, further time domains can be supported. In particular, the gateway includes timers 36 and 38, which can be configured for the first time domain 16 and the second time domain 26, respectively.

[0061] Fieldbus users can be addressed via identifiers. Figure 1 For this purpose, the identifier ID14a of the first user device 14a in the first fieldbus and the identifier ID22 of the second user device 22 in the second fieldbus are described as examples. Here, only as an example, the second user device 22 is also a controller in the second fieldbus. As mentioned above, the identifier can be, for example, a MAC address, an IP address or other identifiers.

[0062] In addition, the gateway may maintain in its memory a virtual mapping of some fieldbus user devices. Figure 1Virtual mappings 12', 14'a, 14'b and virtual mappings 22', 24'c are illustrated as examples, which are addressable by their user device identifiers ID12', ID14'a, ID14'b and user device identifiers ID22', ID24'c, respectively. The virtual mappings of the user devices correspond to each other, that is, the user device 14a in the first fieldbus 10 corresponds to its virtual mapping 14'a and vice versa, the user device 14b corresponds to its virtual mapping 14'b and vice versa, the user device 12 corresponds to its virtual mapping 12' and vice versa, and the user device 22 in the second fieldbus 20 corresponds to its virtual mapping 22' and vice versa. In this way, a virtual mapping can be made to correspond to one or more user devices in the first fieldbus or the second fieldbus, respectively.

[0063] The virtual mapping can appear as a user device in each other fieldbus. For example, the virtual mapping 12', 14'a and the virtual mapping 14'b can appear as a user device of the second fieldbus 20, although the real devices corresponding to them are user devices of the first fieldbus 10. Figure 1 In the example, the virtual mapping 22' can appear as a user device in the first fieldbus 10, although the corresponding user device 22 is connected in the second fieldbus 20. Here, the virtual mapping is addressable by the user device identifier to which it corresponds. For example, for other user devices in the second fieldbus 20, the virtual mappings 12', 14'a, 14'b can be identified and addressed by their corresponding user device identifiers ID12', ID14'a, ID14'b, respectively. Similarly, for other user devices of the first fieldbus 10, the virtual mappings 22', 24'c can be identified and addressed by the corresponding user device identifiers ID22', ID24'c.

[0064] In this way, it is possible to integrate the user devices of other fieldbuses into one fieldbus. Here, the corresponding virtual mappings have corresponding interfaces related to the fieldbus communication protocol (e.g. based on Ethernet). For example, the virtual mappings 12', 14'a, 14'b can participate in the communication protocol of the second fieldbus 20. For the second fieldbus 20, these virtual mappings form the termination point of the fieldbus communication protocol in the same way as the "real" user devices of the second fieldbus 20. Similarly, the virtual mappings 22', 24'c appear as the termination point of the fieldbus communication protocol as an interface to the first fieldbus 10.

[0065] Figure 21 shows an exemplary time diagram of a first fieldbus 10 and a second fieldbus 20. In this case, the first fieldbus 10 has a communication or transmission cycle with regularly repeated cycle intervals TC1, which are arranged according to the position and duration in Figure 2 Accordingly, the second fieldbus 20 has a communication cycle comprising a regularly repeated cycle interval TC2, which is based on the position and duration according to the Figure 2 The timeline definition below. Figure 2 In the diagram, the inverse of the clock frequency 1 / f1 or 1 / f2, i.e. the clock cycle duration, is shown by a black bar in each case. Even if the two clock frequencies f1 and f2 nominally (i.e. according to the specification) have the same frequency, the clocks of the time domains 16 or 26 of the two fieldbuses run at different speeds if the actual values ​​of the clock frequencies f1 and f2 are slightly different.

[0066] In the fieldbuses 10, 20, a first time slot 50 or a second time slot 52 for transmitting time-sensitive data within the respective fieldbuses 10, 20 can be defined, negotiated or determined. To this end, for example, one of the user devices 12, 14a-c in the first fieldbus 10 and one of the user devices 22, 24a-c in the second fieldbus 20 can be configured as a scheduler (time-aware scheduler) with real-time support defined in accordance with the IEEE 802.1QBv standard. The first time slot 50 and the second time slot 52 coincide with the start of the respective communication cycle only by way of example. In general, the time slots 50, 52 for time-sensitive transmission can be located at any position within the transmission cycle. It is also possible that, for each transmission cycle, a plurality of separate time slots 50, 52 are defined for time-sensitive communication.

[0067] Figure 2 Also shown are time intervals 54 and 56 belonging to the respective transmission cycles, which lie outside the time slots 50 and 52 reserved for the transmission of time-sensitive data. In these intervals 54, 56, non-time-sensitive data can be transmitted within the field bus 10, 20, for example, according to the Ethernet protocol, for which the CSMA / CD (Carrier Sense Multiple Access with Collision Detection) access method is suitable.

[0068] In order to establish a relationship with the gateway 30, in one embodiment, the timers 36 and 38 of the gateway 30 are first synchronized as a slave based on the time domains 16, 26 of the fieldbuses 10 and 20. The gateway thus has a synchronization interface as a user device both for the first fieldbus 10 and for the second fieldbus 20. Thus, for example, the time offset between the time domain 16 of the first fieldbus 10 and the time domain 26 of the second fieldbus 20 can be observed from the perspective of the gateway 30. In addition, the corresponding cycle durations TC1 and TC2, the time positions of the communication cycles and the time slots 50 and 52 in the corresponding fieldbuses 10, 20 for time-sensitive communication are also known from the perspective of the gateway 30.

[0069] Thus, it is also possible to exchange non-time-sensitive data between the fieldbuses first. This transmission can be carried out, for example, by transmitting the non-time-sensitive data 60 from the first fieldbus 10 to the gateway 30 during the non-time-sensitive first interval 54, such as Figure 2 As indicated by arrow 60 in FIG. 6 . These data 60 can be temporarily stored in the temporary memory 35 of the gateway 30 (refer to Figure 1 ), such as by step 62 ( Figure 2 Finally, the temporarily stored data can be transmitted from the gateway 30 to the second fieldbus 20 during the interval 56 outside the second time slot 52, as indicated by the arrow 64. For example, in order to send the data 64 to the second fieldbus by means of the CSMA / CD method or another application method, the gateway 30 must ensure that the second fieldbus 20 is free for transmission during the time slot 56.

[0070] The exchange of non-time-sensitive data 60, 64 between the fieldbuses can be used, for example, to support the frequency synchronization of the first time domain 16 and the second time domain 26. The time offset between the times of the two time domains 16, 26 is kept stable by this synchronization of the timer clock frequency, which can simplify the determination of the time point in the gateway 30 or in the user device 12, 14a-c or 22, 24a-c of the first fieldbus and the second fieldbus relative to each other time domain 16, 26. For this purpose, the following method for synchronizing the clock frequencies f1 and f2 of the timer 36 and the timer 38 is described as an example. In one embodiment, the timers 36, 38 of the gateway 30 are first synchronized as slaves of the first time domain 16 or the second time domain 26 and have the same nominal frequency. Now the frequency synchronization can be performed in the following way, that is, the first timer 36 of the gateway 30 is determined as the master device of the first fieldbus 10, so that the gateway 30 can control the time setting in the first fieldbus. In addition, the frequency f1 of the first timer 36 of the gateway 30 can be synchronized to the frequency f2 of the second time domain 26. Synchronizing only the frequencies f1 and f2 in time domain 16, 26 can avoid time gaps in the users in first fieldbus 10. The frequencies can be synchronized during continuous operation of first fieldbus 10 within a sufficiently long adaptation period selected so that processes of first fieldbus 10 can run without interruption.

[0071] Figure 3 The detailed time diagram of cycle time defined for the first fieldbus 10 and the second fieldbus 20 according to some aspects of the present invention is schematically shown. In one example, according to the method described above, the clock generators in the user devices of the fieldbuses 10 and 20 may have the same clock frequency f1=f2. Figure 3 In FIG. 1 , the inverse of the clock frequency 1 / f1 or 1 / f2, ie the clock cycle duration, is respectively indicated by a black bar.

[0072] In this example, only the clock frequency between the first fieldbus 10 and the second fieldbus 20 is synchronized now. Therefore, a time offset 58 may occur between the starting time points of the communication cycle. This time offset 58 is due to the different time definitions in the two fieldbuses 10, 20 on the one hand, and also due to the difference between the starting time points of the communication cycles of the first fieldbus 10 and the second fieldbus 20 on the other hand, even if the two fieldbuses have the same understanding of time. In addition, the communication cycle can have different durations TC1 and TC2. Therefore, in general, the time offset 58 can only be defined based on the (absolute) reference time point TRef. In this case, the absolute reference time point TRef can be represented accordingly not only in the time of the first fieldbus 10 but also in the time of the second fieldbus 20. If the durations TC1 and TC2 are in a reasonable ratio to each other, a specific time offset 58 is reproduced after the predictable number of cycles of the first fieldbus or the second fieldbus. In this case, the reference time point TRef can be selected arbitrarily within the repetition interval. For example, if the cycle duration TC1 in the first fieldbus is 50 ms and the cycle duration TC2 in the second fieldbus is 25 ms, the time offset 58 can be, for example, zero after the first cycle in the second fieldbus, 25 ms after the second cycle in the second fieldbus compared to the first fieldbus, and then zero again, etc. However, if the time offset 58 is known at the point in time TRef, it is possible to determine the time offset 58 in advance for all communication cycles of the first fieldbus and the second fieldbus, even if the cycle duration TC1 and the cycle duration TC2 are not in a reasonable ratio to one another.

[0073] Furthermore, different durations TS1 and TS2 of the first time slot 50 and the second time slot 52 for time-sensitive communication can occur on the fieldbuses 10 and 20, since these durations can be agreed upon independently of one another for both the fieldbus 10 and the fieldbus 20. Furthermore, the first time slot 50 and the second time slot 52 can have a time difference TD in the start time. In general, these time differences can only be determined predictably based on the absolute reference time TRef, since the start times of the time slots 50 and the time slots 52 for time-sensitive communication can vary with the cycle time in the respective fieldbus.

[0074] After frequency synchronization, the gateway 30 can determine the cycle duration TC1 and the cycle duration TC2 in the first fieldbus 10 and the second fieldbus 20 at the reference time point TRef. In addition, the gateway 30 can determine the time offset 58 between the first time domain 16 and the second time domain 26 at the reference time point TRef. The gateway 30 can also transmit the cycle duration TC1 of the first fieldbus 10 to the second fieldbus 20 and the cycle duration TC2 of the second fieldbus 20 to the first fieldbus 10. This can be done based on the reference time point TRef. In this way, for example, the user equipment of the first fieldbus 10 or the second fieldbus 20 can predictably determine the communication cycle of each other fieldbus 20, 10.

[0075] In addition, the virtual mapping of the user equipment of the fieldbus can be instantiated as part of the other fieldbus in the memory of the gateway 30. Thus, for example, the virtual mapping is initialized with the user equipment identifier corresponding to the virtual mapping and the allocation relationship of the real fieldbus user equipment of the virtual mapping. Figure 1 In the example, the virtual mappings 12', 14'a, 14'b of the user devices 12, 14a, 14b of the first fieldbus 10 are instantiated, wherein, for example, the corresponding user device identifiers ID12', ID14'a, ID14' are assigned to the corresponding user devices 12, 14a, 14b. This can be done, for example, by a corresponding allocation table, which is stored in the gateway 30 and / or the assigned user devices. In a corresponding manner, the virtual mappings 22', 24'c of the user devices 22 or user devices 24c of the second fieldbus 20 are instantiated.

[0076] In order for the virtual mapping to act as a user device of the other fieldbuses respectively, the gateway 30 knows the corresponding time of the time domains. In particular, the gateway 30 knows the time offset 58 between the first time domain 16 and the second time domain 26 at the reference time point TRef. In addition, the gateway 30 knows the cycle duration TC1 of the first fieldbus 10 and the cycle duration TC2 of the second fieldbus 20 and the time of the first time slot 50 and the second time slot 52 defined in the first fieldbus and the second fieldbus for time-sensitive communication. For example, the virtual mapping can read the memory of the gateway 30 for this purpose.

[0077] In this way, the gateway 30 can convert time specifications, i.e., specifications of at least one time point and / or at least one time interval, which are presented in the time domain with respect to one fieldbus, into time specifications of another fieldbus. This can be used by the respective virtual mappings in such a way that, for example, the virtual mapping 14'a can receive messages with time specifications associated with the second fieldbus 20 from the second fieldbus 20 and convert them into corresponding time specifications associated with the first fieldbus 10 when forwarding them to the corresponding user device 14a in the first fieldbus 10. Conversely, the virtual mapping 14'a of the corresponding user device 14a can receive messages with time specifications associated with the first fieldbus 10, convert them into time specifications associated with the second fieldbus 20, and send them out in converted form as a (virtual) user device of the second fieldbus 20.

[0078] For example, the functionality may be particularly useful when a user device of the second fieldbus 20 wants to make a request for a time slot to the first fieldbus 10 to transmit time-sensitive data. An example of such a request protocol is exemplarily described below.

[0079] Figure 4 An example of a request protocol for time slots for transmitting time-sensitive data between first fieldbus 10 and second fieldbus 20 is shown. The transmission of time-sensitive data from user device 14a in first fieldbus 10 to user device 22 in second fieldbus 20 is to be provided.

[0080] Here, the request itself can be issued by a user device in the second fieldbus. For example, the request can be issued by a user device 24c in the second fieldbus, wherein the user device 24c can have a scheduler function in the second fieldbus, whereby it can set a time slot 52 for transmitting time-sensitive data in the second fieldbus 20. The gateway 30 is already integrated into the virtual mapping 12', 14'a, 14'b as a user device in the second fieldbus 20. The request can therefore be made to the virtual mapping of the user device of the first fieldbus. In the present case, the virtual mapping 12' is to be addressed, because the corresponding user device 12 exemplarily has a scheduler function in the first fieldbus 10, whereby it can set a time slot 50 for transmitting time-sensitive data in the first fieldbus 10.

[0081] In order to request a time slot for transmitting time-sensitive data, the user device 24c sends a request 42 to the virtual mapping 12' of the user device 12 in the gateway 30. The request 42 contains, for example, a user device identifier ID14'a. The user device is known as a virtual mapping of a time-sensitive data source in the second field bus. In addition, the request 42 may contain a data destination identifier for time-sensitive data, such as a second user device identifier ID22' or an identifier ID22 of a real user device. In addition, the request 42 may contain a time description TA20, that is, a description of at least one time point and / or at least one time interval. The time description may, for example, define a plurality of possible time slots that can be set in the second field bus 20 for transmitting time-sensitive data. Here, the time description may be related to a time range in the second field bus 20, that is, to the second time domain 26.

[0082] The gateway 30 can receive a request 42 addressed to the virtual mapping 12', whereupon the gateway 30 forwards the request 43 to the user device 12, i.e., to the scheduler in the first fieldbus 10. Optionally, the gateway 30 can use the identifier ID14a of the real user device instead of the user device identifier ID14'a. In addition, the gateway 30 can use the user device identifier ID22' here, since the virtual mapping assigned in the first fieldbus 10 can be regarded as a data destination identifier for time-sensitive data. If the received request 42 contains a time specification TA20, the gateway 30 converts it into a time specification TA10, which is used for the forwarded request 43 associated with the first fieldbus 10, wherein the time offset 58 at the reference time point TRef is taken into account.

[0083] The user device 12 in the first fieldbus 10 can determine the appropriate time slot 50 when or after receiving the request 43 and send a confirmation message 45 to the gateway 30 for forwarding to the second fieldbus 10. The confirmation message 45 can contain a time description TB10 associated with the first fieldbus 10. For example, the time description TB10 can define the time slot 50. Upon receipt, the gateway 30 converts the time description TB10 into a time description TB20 associated with the second fieldbus 20 and forwards it to the user device 24c in the second fieldbus 20 in a confirmation message 46. For this purpose, the gateway 30 can use a virtual mapping 12', which is set up as a user device in the second fieldbus 20 for this purpose.

[0084] Based on the described request protocol, the user device 12 can set 49 a time slot 50 in the first fieldbus 10 and the user device 24c can set 48 a time slot 52 in the second fieldbus 20, wherein the time slot 50 and the time slot 52 overlap.

[0085] Figure 5 A time diagram of a first fieldbus 10 and a second fieldbus 20 during a time-sensitive data transmission is schematically shown. In this case, for example, according to the above-mentioned protocol or a similar protocol, a time slot 50 in the first fieldbus 10 and a time slot 52 in the second fieldbus 20 have been agreed upon for transmitting time-sensitive data from a user device 14c to a user device 24b, the time slots at least partially overlapping. In particular, the respective users of the first fieldbus and the second fieldbus have agreed upon common overlapping areas OL1 and OL2 in the time slots 50 and 52 and exchanged this information via the gateway 30, so that the gateway 30 also knows this information.

[0086] In one embodiment, it is not necessary to create an overlap area OL1, OL2 for time-sensitive communication in every cycle TC1 or TC2 of the first fieldbus 10 or the second fieldbus 20. For example, it may be sufficient to define an overlap area during every second, third, etc. cycle of the first fieldbus 10 or the second fieldbus 20.

[0087] If the first time slot 50 and the second time slot 52 reserved for time-sensitive communication within the fieldbus during the communication cycle of the first fieldbus 10 and the second fieldbus 20 are known, the overlapping area OL1 and the overlapping area OL2 for time-sensitive communication between the fieldbuses can be determined or calculated based on rules. It is then sufficient to determine a unique pair of overlapping time slots 50 and time slots 52 at the reference time point TRef. The reservation of time slots 50 or time slots 52 can be implemented by the request protocol in the first fieldbus or the second fieldbus as described above. In one embodiment, the gateway 30 can provide a time description of the first time slot 50 and the second time slot 52, respectively, with respect to the fieldbus' own time domain. Therefore, the determination of the overlapping area OL1 and the overlapping area OL2 can also be carried out with respect to the fieldbus' own time domain.

[0088] If the cycle durations TC1 and TC2 are in a reasonable ratio to one another, regularly repeating overlapping areas OL1 and OL2 result. In this case, the negotiation and / or determination of the time slots 50 and 52 is simplified, so that in these cases the overlapping areas OL1, OL2 repeat regularly and therefore do not have to be negotiated or determined separately. Here, the reference point in time TRef can also be selected arbitrarily within the regularly repeating cycle. If the cycle durations TC1 and TC2 are identical, the time offset applies independently of the arbitrarily selectable reference point in time TRef.

[0089] In one embodiment, the gateway 30 is also configured to transmit time-critical data 70, 72 during temporally overlapping time slots, for example OL1 or OL2. In one specific embodiment, this is done by the gateway 30 determining the time slots for time-sensitive transmissions 50 and 52 defined between the first fieldbus 10 and the second fieldbus 20, and in particular the corresponding overlapping intervals OL1, OL2, and conducting signals between the first fieldbus 10 and the second fieldbus 20 during these time intervals.

[0090] Figure 4 A protocol for transmitting time-sensitive data between a first fieldbus and a second fieldbus is also shown. For this purpose, it is assumed that, for example, the aforementioned procedure for setting temporally overlapping time slots 50, 52 in the first fieldbus and the second fieldbus is executed. In order to send time-sensitive data from a user device 14a in the first fieldbus to a user device 22, the user device 14a first sends the data 70a to the gateway 30 during the overlapping interval OL1, wherein the data 70a includes a user device indicator ID22' for identifying the virtual mapping 22'. The gateway 30 receives the time-sensitive data 70a during the overlapping interval OL1. For the purpose of conveying, the gateway determines the assigned identifier ID22 of the user device 22 in the second fieldbus during the overlapping interval OL1 and also sends the data 70b to the user device 22 in the second fieldbus 20 during the overlapping interval OL1.

[0091] The described method, system 1 and gateway 30 allow time-sensitive fieldbuses 10, 20 to be networked with one another without having to balance the fieldbus times and the communication cycles of the fieldbuses. As a result, in particular existing and partly mutually incompatible fieldbuses can be set up not only for the exchange of non-time-sensitive data but also for the exchange of time-sensitive data.

Claims

1. A method for networking a time-sensitive first fieldbus (10) with a time-sensitive second fieldbus (20), in, A first time-sensitive fieldbus (10) comprises a first user device (14a) and has its own first time domain (16), and a second time-sensitive fieldbus (20) comprises a second user device (22) and has its own second time domain (26), wherein the first time domain (16) and the second time domain (26) are frequency-synchronized, wherein the first and second fieldbuses (10, 20) are connected to one another by means of a gateway (30), wherein the method comprises the following steps: - storing a first user device identifier (ID14'a) in a memory of the gateway (30), wherein the first user device identifier (ID14'a) identifies a virtual mapping (14'a) of an assigned first user device (14a) of the first fieldbus (10); - storing a second user device identifier (ID22') in a memory of the gateway (30), wherein the second user device identifier (ID22') identifies a virtual mapping (22') of an assigned second user device (22) of the second fieldbus (20); - determining, by means of the gateway (30), a first cycle duration (TC1) of the first fieldbus (10) and a second cycle duration (TC2) of the second fieldbus (20) at a reference time point (TRef); and - determining, by the gateway (30), a time offset (58) between the first time domain (16) and the second time domain (26) at a reference time point (TRef).

2. The method according to claim 1 further comprises the following steps: - receiving, by the gateway (30), a first request (42) from the second fieldbus (20) for a first time slot (50) for transmitting time-sensitive data from a first user device (14a) of the first fieldbus (10) to a second user device (22) of the second fieldbus (20); - forwarding the second request (43) to the first field bus (10) via the gateway (30); - receiving a first confirmation message (45) from the first field bus (10) via the gateway (30); - forwarding the second confirmation message (46) to the second field bus (20) via the gateway (30).

3. The method according to claim 2, - in, The received first request (42) comprises a first time specification (TA20) of at least one time point and / or at least one time interval, wherein the first time specification (TA20) is related to the second time domain; - wherein the method further comprises determining, by the gateway (30), a second time specification (TA10) associated with the first time domain in accordance with the received first request (42) taking into account a time offset (58) associated with a reference time point (TRef); - wherein the second request (43) forwarded to the first field bus (10) comprises a second time specification (TA10) associated with the first time domain; The method further comprises the following steps: - setting a first time slot (50) for communication of time-sensitive data in the first field bus (10) based on the second time specification (TA10) via the first field bus (10); and - setting a second time slot (52) for communication of time-sensitive data in the second field bus (20) based on the first time description (TA20) via the second field bus (20); and - wherein the first time slot (50) is set via the first field bus (10) and the second time slot (52) is set via the second field bus (20) in such a way that the first time slot (50) of the first field bus (10) and the second time slot (52) of the second field bus (20) overlap in time (OL1, OL2).

4. The method according to claim 3, in: - the first confirmation message (45) received from the first field bus (10) comprises a third time specification (TB10) of at least one time point and / or at least one time interval, wherein the third time specification (TB10) is related to the first time domain; - wherein the method further comprises determining, by the gateway (30), a fourth time specification (TB20) associated with the second time domain based on the received first confirmation message (45) taking into account a time offset (58) associated with a reference time point (TRef); - wherein the second confirmation message (46) forwarded to the second field bus (20) comprises a fourth time specification (TB20) associated with the second time domain; - wherein the setting of the first time slot (50) via the first field bus (10) is based on a third time specification (TB10); and - wherein the second time slot (52) is set via the second field bus (20) based on a fourth time specification (TB20).

5. The method according to claim 3 or 4, in, The method further comprises the following steps: - receiving time-sensitive data from a first user device (14a) of a first fieldbus (10) via a gateway (30), wherein the time-sensitive data comprises a second user device identifier (ID22') during an overlap (OL1, OL2) of a first time slot (50) and a second time slot (52); - determining, by the gateway (30), an identifier (ID22) of the second user equipment (22) based on the second user equipment identifier (ID22') during the overlap (OL1, OL2) of the first time slot (50) and the second time slot (52); - During the overlap (OL1, OL2) of the first time slot (50) and the second time slot (52), the received time-sensitive data is forwarded to the second user equipment (22) by the gateway (30).

6. The method according to any one of claims 1 to 4, in, Between the first fieldbus (10) and the second fieldbus (20) is given: - different durations (TS1, TS2) of the first time slot (50) and the second time slot (52) for time-sensitive data; and / or - The time difference (TD) between the first time slot (50) and the second time slot (52) of the time-sensitive data.

7. The method according to any one of claims 1 to 4, in, The gateway (30) has a first timer (36) and a second timer (38), wherein the method further comprises the following steps: Synchronizing a first timer (36) as a slave device with a first time domain (16) of a first field bus (10); synchronizing a second timer (38) as a slave device with a second time domain (26) of a second field bus (20); Firstly, only the frequency of the first timer (36) as a slave device is synchronized with the frequency of the second time domain (26) of the second timer (38); and then The first timer (36) is set as a master device for the first field bus (10) so that the frequency of the first field bus (10) is set according to the frequency of the first timer (36).

8. A system for networking at least two time-sensitive field buses, comprising: - a time-sensitive first field bus (10) having a first user device (14a) and its own first time domain (16); - a time-sensitive second field bus (20) having a second user device (22) and its own second time domain (26), in, The first time domain (16) and the second time domain (26) are frequency synchronized; and - a gateway (30) which connects the first and second field buses (10, 20) to each other; wherein the gateway (30) has means for storing a first user device identifier (ID 14'a) in a memory of the gateway (30), wherein the first user device identifier (ID 14'a) identifies a virtual mapping (14'a) of an assigned first user device (14a) of the first field bus (10); wherein the gateway (30) has means for storing a second user device identifier (ID22') in a memory of the gateway (30), wherein the second user device identifier (ID22') identifies a virtual mapping (22') of an assigned second user device (22) of the second field bus (20); The gateway (30) has means for determining a first cycle duration (TC1) of the first field bus (10) and a second cycle duration (TC2) of the second field bus (20) at a reference time point (TRef) via the gateway (30); and The gateway (30) has means for determining a time offset (58) between a first time domain (16) and a second time domain (26) at a reference time (TRef) by the gateway (30).

9. The system according to claim 8, in, The gateway (30) has means for receiving a first request (42) from a second fieldbus for a first time slot (50) to transmit time-sensitive data from a first user device (14a) of the first fieldbus (10) to a second user device (22) of the second fieldbus (20); The gateway (30) has means for forwarding the second request (43) to the first field bus (10); The gateway (30) has means for receiving a first confirmation message (45) from the first field bus (10); The gateway (30) has means for forwarding a second confirmation message (46) to the second field bus (20).

10. The system according to claim 9, - in , The received first request (42) comprises a first time specification (TA20) of at least one time point and / or at least one time interval, wherein the first time specification (TA20) is related to the second time domain; - wherein the gateway (30) has means for determining a second time specification (TA10) related to the first time domain according to the received first request (42) taking into account a time offset (58) related to a reference time point (TRef); - wherein the second request (43) forwarded to the first field bus (10) comprises a second time specification (TA10) associated with the first time domain; - wherein the first field bus (10) has means for setting a first time slot (50) for communication of time-sensitive data in the first field bus (10) based on the second time specification (TA10); - wherein the second field bus (20) has means for setting a second time slot (52) for communication of time-sensitive data in the second field bus (20) based on the first time specification (TA20); - wherein the first time slot (50) is set via the first field bus (10) and the second time slot (52) is set via the second field bus (20) in such a way that the first time slot (50) of the first field bus (10) and the second time slot (52) of the second field bus (20) overlap in time (OL1, OL2).

11. The system according to claim 10, - in , A first confirmation message (45) received from the first field bus (10) via the gateway (30) comprises a third time specification (TB10) of at least one time point and / or at least one time interval, wherein the third time specification (TB10) is related to the first time domain; - wherein the gateway (30) has means for determining a fourth time specification (TB20) related to the second time domain based on the received first confirmation message (45) taking into account a time offset (58) related to a reference time point (TRef); - wherein the second confirmation message (46) forwarded to the second field bus (20) comprises a fourth time specification (TB20) associated with the second time domain; - wherein the setting of the first time slot (50) via the first field bus (10) is based on a third time specification (TB10); and - wherein the second time slot (52) is set via the second field bus (20) based on a fourth time specification (TB20).

12. The system according to claim 10 or 11, - in, The gateway (30) has means for receiving time-sensitive data from a first user device (14a) of a first field bus (10), wherein the time-sensitive data comprises a second user device identifier (ID22') during an overlap (OL1, OL2) of a first time slot (50) and a second time slot (52); - wherein the gateway (30) has means for determining an identifier (ID22) of the second user equipment (22) based on the second user equipment identifier (ID22') during an overlap (OL1, OL2) of the first time slot (50) and the second time slot (52); and - wherein the gateway (30) has means for forwarding received time-sensitive data to the second user equipment (22) during the overlap (OL1, OL2) of the first time slot (50) and the second time slot (52).

13. A gateway (30) for networking a time-sensitive first fieldbus (10) with a time-sensitive second fieldbus (20), in, A time-sensitive first fieldbus (10) comprises a first user device (14a) and has its own first time domain (16), and a time-sensitive second fieldbus (20) comprises a second user device (22) and has its own second time domain (26), wherein the first time domain (16) and the second time domain (26) are frequency synchronized, and wherein a gateway (30) comprises: - a device for connecting a time-sensitive first field bus (10) and a time-sensitive second field bus (20) to a gateway (30) respectively; - means for storing a first user device identifier (ID 14'a) in a memory of the gateway (30), wherein the first user device identifier (ID 14'a) identifies a virtual mapping (14'a) of an assigned first user device (14a) of the first field bus (10); - means for storing a second user device identifier (ID22') in a memory of the gateway (30), wherein the second user device identifier (ID22') identifies a virtual mapping (22') of an assigned second user device (22) of the second field bus (20); - means for determining a first cycle duration (TC1) of a first fieldbus (10) and a second cycle duration (TC2) of a second fieldbus (20) at a reference time point (TRef); and - means for determining a time offset (58) between a first time domain (16) and a second time domain (26) at a reference time point (TRef).

14. The gateway according to claim 13, further comprising: - means for receiving a first request (42) from a second field bus for a first time slot (50) for transmitting time-sensitive data from a first user device (14a) of the first field bus (10) to a second user device (22) of the second field bus (20); - means for forwarding the second request (43) to the first field bus (10); - means for receiving a first confirmation message (45) from a first field bus (10); - means for forwarding a second confirmation message (46) to the second field bus (20).

15. The gateway according to claim 14, - in , The received first request (42) comprises a first time specification (TA20) of at least one time point and / or at least one time interval, wherein the first time specification (TA20) is related to the second time domain; - wherein the gateway (30) has means for determining a second time specification (TA10) related to the first time domain according to the received first request (42) taking into account a time offset (58) related to a reference time point (TRef); - wherein the second request (43) forwarded to the first field bus (10) comprises a second time specification (TA10) associated with the first time domain.

16. The gateway according to claim 14 or 15, - in , The first confirmation message (45) received from the first field bus (10) comprises a third time specification (TB10) of at least one time point and / or at least one time interval, wherein the third time specification (TB10) is related to the first time domain; - wherein the gateway (30) has means for determining a fourth time specification (TB20) related to the second time domain from the received first confirmation message (45) taking into account a time offset (58) related to a reference time point (TRef); and - wherein the second confirmation message (46) forwarded to the second field bus (20) comprises a fourth time specification (TB20) associated with the second time domain.

17. The gateway according to claim 14 or 15, further comprising: include: - means for determining a temporal overlap (OL1, OL2) of a first time slot (50) set by a first field bus for transmitting time-sensitive data in the first field bus (10) and a second time slot (52) set by a second field bus (20) for transmitting time-sensitive data in the second field bus (20); - means for receiving time-sensitive data from a first user device (14a) of a first field bus (10), wherein the time-sensitive data comprises a second user device identifier (ID22') during an overlap (OL1, OL2) of a first time slot (50) and a second time slot (52); - means for determining an identifier (ID22) of a second user equipment (22) based on a second user equipment identifier (ID22') during an overlap (OL1, OL2) of a first time slot (50) and a second time slot (52); and - means for conveying time-sensitive data received during an overlap (OL1, OL2) of a first time slot (50) and a second time slot (52) to a second user equipment (22).