WO2000018063A2 - Reseau ainsi qu'appareil de couplage pour la liaison de deux segments dans un tel reseau - Google Patents

Reseau ainsi qu'appareil de couplage pour la liaison de deux segments dans un tel reseau Download PDF

Info

Publication number
WO2000018063A2
WO2000018063A2 PCT/DE1999/003037 DE9903037W WO0018063A2 WO 2000018063 A2 WO2000018063 A2 WO 2000018063A2 DE 9903037 W DE9903037 W DE 9903037W WO 0018063 A2 WO0018063 A2 WO 0018063A2
Authority
WO
WIPO (PCT)
Prior art keywords
segment
telegram
telegrams
received
coupling device
Prior art date
Application number
PCT/DE1999/003037
Other languages
German (de)
English (en)
Other versions
WO2000018063A3 (fr
Inventor
Dieter BRÜCKNER
Jürgen SEITER
Michael Tremel
Original Assignee
Siemens Aktiengesellschaft
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Siemens Aktiengesellschaft filed Critical Siemens Aktiengesellschaft
Publication of WO2000018063A2 publication Critical patent/WO2000018063A2/fr
Publication of WO2000018063A3 publication Critical patent/WO2000018063A3/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L2001/0092Error control systems characterised by the topology of the transmission link
    • H04L2001/0094Bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L2001/0092Error control systems characterised by the topology of the transmission link
    • H04L2001/0097Relays

Definitions

  • the invention relates to a network according to the preamble of claim 1 and to a coupling device for connecting two segments in such a network according to the preamble of claim 10.
  • Networks in which several subscribers are connected to one another for data transmission are already generally known. Since a network with only one bus is limited in terms of the number of nodes and bus length by physical conditions and logical determinations, the network is divided into several segments that are connected to one another via coupling devices, so-called repeaters. A coupling device is connected to the bus segments with a transceiver on each side and is used essentially for bidirectional signal regeneration between the two segments. To secure the data transmission, it is known, for example, from the rtp seminar “Bus systems” in “Control engineering practice", 1984, Issue 2, pages S5 to S8, to provide telegrams with control information.
  • a subscriber who sends the telegram to the network adds this control information to the telegram, while another subscriber who receives the telegram compares it with self-generated control information and detects a transmission error in the event of deviations.
  • a fault in a segment of the network leads to faulty telegrams at the receiver, which can be recognized by the receiver as faulty telegrams on the basis of the control information.
  • Sporadic errors on a segment which simulate the transmission of a telegram, as well as disturbed telegrams, are forwarded to all other segments of the network. Faults thus spread throughout the network and may take up a large part of the transmission capacity. In the worst case, interference coupling on a segment can block the entire network.
  • the invention has for its object to provide a network and a coupling device for connecting two segments in such a network, by which the spread of interference is avoided on the entire network.
  • the new network and the new coupling device for connecting two segments in such a network have the features specified in the characterizing part of claim 1 and in the characterizing part of claim 17, respectively.
  • Advantageous further developments of the invention are described in the subclaims.
  • the invention has the advantage that dynamic disturbances, e.g. B. short spikes, as well as permanent interference, which are coupled to a segment of a network, do not reduce the transmission capacity of other segments of the same network. Segmentation, in which the forwarding of disturbed telegrams from a disturbed segment to neighboring segments is prevented in a simple manner from propagation of disturbances across several segments.
  • dynamic disturbances e.g. B. short spikes
  • permanent interference which are coupled to a segment of a network
  • the forwarding of telegrams via a coupling device can be blocked in one direction regardless of whether the forwarding of telegrams in the opposite direction is enabled or also blocked.
  • This has the advantage that participants, in particular slaves in a token network, connect to the network behind a disturbed segment are connected, can continue to follow the token circulation and thus double token formation on the segment cut off from the network is avoided. Slaves continue to respond to calls from a master, so that telegrams for the qualitative evaluation of the second segment are available even after the transmission direction has been blocked.
  • the permanent token transmission is avoided when a master is disconnected from a token network.
  • a monitoring mechanism which is particularly easy to use is obtained if the means for detecting a corruption of the telegram are designed such that an error is detected if a signal level in a received telegram is maintained for longer than a predefinable time. In this case, it is advantageously used that all transmission protocols for networks have to change levels after certain times.
  • the monitoring mechanism can be used advantageously, in that an error is detected if the signal level in a received telegram remains at a low level for 13 consecutive bit times.
  • PROFIBUS DP such a character can never occur in the undisturbed case because of the stop bit with high level. It must therefore have been falsified by a malfunction.
  • a monitoring mechanism can be used in a simple manner, in which the number of characters contained in a received telegram is compared with a predeterminable maximum number.
  • the number of characters in a telegram is practically limited for all transmission protocols and can therefore be checked for a predefinable limit.
  • the PROFIBUS DP protocol only allows telegrams with a maximum of 255 characters, so that a telegram with more than preferably 262 characters can only occur in the event of a fault.
  • An additional control information that a first coupling device, which forwards a telegram from a first segment to a second segment, independently of any control information that may be present on the first segment, adds it to a telegram sent to the second segment and thus by a second Coupling device connected to the second segment can be checked, has the advantage that a clear localization of the point of origin of the fault up to the faulty segment is made possible.
  • a telegram can be supplemented with control information regardless of the transmission protocol used on other segments. Telegrams that were transmitted on the first segment without complex control information, for example only with a parity bit, such as with PROFIBUS DP, are supplemented by the additional control information in the second segment to increase the transmission security.
  • This monitoring of the transmission quality detects faulty telegrams and can be excluded from further processing.
  • supplementing the telegram with control information requires that a pause between two telegrams is greater than the time required to send the control information. Since always between telegrams
  • the control information can advantageously be generated at the same time as the telegram is received if a CRC (Cyclic Redundancy Check) check character is used as the control information and after the end of the telegram to the second Segment is sent. There is therefore no time delay in the transmission in a coupling device by generating control information for the telegram received in each case and comparing it with the control information received with the telegram, and by generating new control information for the transmitted telegram.
  • CRC Cyclic Redundancy Check
  • CRC test character with a length of 5 bits has proven to be a good compromise between security in error detection and the additionally required data transmission volume.
  • Such a CRC test mark can be used with particular advantage in a fieldbus of the type of PROFIBUS DP.
  • the telegram can easily be supplemented by an additional stop bit, after which the control information follows immediately. This means that there is no need for a transmission pause between the telegram and the control information, and little additional transmission time is required to expand the telegram with control information.
  • the recipient of the telegram is a coupling device that generates control information for a telegram received on the second segment, compares the generated control information with received control information and indicates an error if the control information differs, it can be read directly on the receiver whether the telegram is over the relevant segment was transferred correctly.
  • the display can take place by optical means, for example an LED, or by electrical means, for example by leading a signal to an electrical connection contact which can be wired to an operating and monitoring station.
  • a telegram for the error message can be generated, which is transmitted to a central reporting station via the network. However, this presupposes that the coupling device itself receives access authorization to the network and can be addressed on the network.
  • the network can be automatically reset to the basic state in an advantageously simple manner by releasing the blocking of the forwarding of telegrams again when a predefinable number of error-free telegrams has been received on the second segment.
  • the occurrence of a permanent block for forwarding telegrams via a coupling device can be avoided by removing the block if the transmission quality on the second segment is checked by special telegrams that pass through the second segment from the first coupling device to the second coupling device and vice versa, a good transmission quality results.
  • Telegrams are received, it can be assumed that no nodes are connected to the segment. In this case, the blocking of the forwarding of telegrams was triggered by temporary interference coupling.
  • FIG. 1 shows a network with electrical signal transmission on three segments
  • FIG. 2 shows a section of a network with partly electrical and optical signal transmission
  • FIG. 3 shows a telegram structure with an attached CRC test character
  • FIG. 4 shows a block diagram of a coupling device
  • 5 shows a block diagram of a channel of a coupling device
  • FIG. 6 shows a flow diagram of a segment decoupling
  • FIG. 7 shows a flow diagram of a segment coupling with transmission of special telegrams
  • FIG. 8 shows a network with the structure of an optical double ring.
  • the network of Figure 1 is divided into three segments 1, 2 and 3. Participants 4 and 5 are connected to segment 1, participants 7 and 8 are connected to segment 3.
  • the segments 1 and 2 are connected by a repeater 9 as a first coupling device, the segments 2 and 3 by a repeater 10 as a second coupling device.
  • a data transfer according to the protocol of the PROFIBUS DP is processed on the segments 1 and 3.
  • Telegrams that are to be transmitted from segment 1 to segment 3 are provided in the first coupling device 9 with a CRC check mark which is read as control information for checking a correct transmission of the telegram via the segment 2 in the second coupling device 10 and with a reference to the received CRC test character is compared.
  • the network in FIG. 2 contains segments 11, 12 and 13, on which data are transmitted with electrical signals, and segments 14, 15, 16 and 17 with optical transmission. It only a section of the network is shown. Further coupling devices or subscribers, not shown for reasons of clarity, can be located on the segments 14 and 17. Participants 18, 19 and 20 are connected to coupling devices 21, 22 and 23 by segments 11, 12 and 13, respectively.
  • the segments 14, 15, 16 and 17 with optical signal transmission have an optical waveguide for each transmission direction. For segment 14 these are the optical fibers 141 and 142, for segment 15 the optical fibers 151 and 152, for segment 16 the optical fibers 161 and 162 and for segment 17 the optical fibers 171 and 172.
  • the segments 11, 12 and 13 are in this exemplary embodiment according to built up to the RS485 specification, and data is transferred according to the protocol of the PROFIBUS DP. Accordingly, only one parity bit is used on segments 11, 12 and 13 to secure data transmission. Telegrams are transmitted to segments 14, 15, 16 and 17, each of which is supplemented with control information consisting of a CRC test character with a length of 5 bits.
  • FIG. 3 shows the structure of a telegram with an attached CRC test character, as can be used in the networks according to FIGS. 2 and 3.
  • the check mark is added to the telegram to avoid dynamic errors, e.g. B. to find a loose contact on an optical connector, a cold solder joint or excessive attenuation of an optical fiber, and to obtain a clear location of the fault location.
  • This measure checks the transmission of a telegram from one coupling device to another, which represents the next recipient of the telegram.
  • a CRC check mark is only generated for segments 14, 15, 16 and 17 with optical signal transmission and checked in the next receiver in each case.
  • an error counter is increased by one and decreased by one if it matches. If the error counter a predeterminable limit value, preferably limit value 4, has been reached, a forwarding of telegrams from the disturbed segment to neighboring segments is blocked. On the other hand, no CRC test mark is appended to the telegrams on segments 11, 12 and 13 with electrical signal transmission according to the RS485 specification. This means that there is no need to deviate from the protocol in accordance with PROFIBUS DP on these segments.
  • the end of the telegram can be determined using a TLU (telegram length unit). In the case of disturbed telegrams, this can possibly be excluded by the disturbance in the case of a telegram according to the PROFIBUS DP protocol. So that the attached CRC test mark can be evaluated in any case and not misinterpreted as part of the disturbed telegram, the end of the telegram must be reliably recognized even in the event of faults. In the exemplary embodiment shown, an additional stop bit is inserted between the end of the telegram according to the PROFIBUS DP protocol and the start of the CRC test character.
  • the end of the telegram of any telegram can be recognized in the receiver.
  • the end of the telegram is recognized by the fact that after the last character no new start bit is detected, but another stop bit follows.
  • the CRC test character is always attached in synchronism with the telegram characters. For this reason, a started character is supplemented to eleven bit times even in the event of faults, and the eleven-bit character grid of a telegram is thus simulated.
  • a response telegram can appear on the same segment as early as eleven bit times after the end of an undisturbed telegram.
  • a receive lock has been implemented that prevents an RXD machine from restarting for the duration of the CRC test character after each telegram end.
  • FIG. 4 shows the rough structure of the coupling devices 21, 22 and 23 in FIG. 2.
  • a channel is provided for each segment that can be connected to the coupling device.
  • the two channels 41 and 42 are designed for optical signal transmission, the channels 43 and 44 for electrical signal transmission on the respective segment.
  • the coupling device 22 is connected, for example, in such a way that the signals from the optical waveguide 152 of the segment 15 via transceivers (not shown) with lines 45 to the channel 41, and the signals from the optical waveguide 161 of the segment 16 via trans not shown.
  • DC- with lines 46 on the channel 42 and the electrical lines of the segment 12 are guided via transceivers, not shown, with lines 47 on the channel 43.
  • the channel 44 is not used and can be switched off separately from the other channels 41, 42 and 43 to reduce the energy consumption.
  • no segment is connected to lines 48 of the channel 44.
  • a path controller 49 and a switching matrix 50 ensure the distribution of a received telegram to the connected segments. You activate only one of the channels 41 ... 44 at any time, which remains selected until the end of the telegram. This is also the case when signals arrive on several channels at the same time.
  • channels 43 and 44 which are designed for electrical signal transmission, a received signal is transmitted on all segments except the segment "which is connected to the currently active receiving channel.
  • a parameterization can be used to determine Whether a received signal should also be sent back on the segment of the currently active receiving channel or not.Sending the received telegram back on the segment of the currently active receiving channel corresponds to the formation of an echo.As long as the data rate of the telegram is not yet recognized, path control prevents it 49 the forwarding of received signals to the connected segments, for example in the coupling device 22 in FIG. 2, lines 52, 53 and 54 of the optical waveguide 151 of the segment 15, the optical waveguide 162 of the segment 16 or the via transceivers not shown in FIG electrical cables of the segment 12 (see Figure 2). There is no segment on lines 55. The signals that are carried on lines 45 ...
  • the lines 52 ... 55 each physically consist of at least two electrical lines, which are provided for a TXD or RTS signal.
  • lines 58 and 59 are returned from the output of switching matrix 50 to channels 41 and 42, respectively.
  • the signals on lines 58 and 59 are evaluated in channels 41 and 42 and then, if necessary, given on lines 52 and 53.
  • path controller 49 recognizes from an RTS signal supplied by channel 43 on line 60, which is generated on the basis of the received signal on line 47 from channel 43, that a telegram from segment 12 is being received.
  • the switching matrix 50 is then replaced by the path Controller 49 set such that the received telegram is routed to lines 58 and 59. Since no echo formation is set for segment 12 with " electrical signal transmission " , the telegram is not forwarded to lines 54.
  • a channel for identifying the telegram is stored in channels 41 and 42 and the telegram is stored on lines 52 and 53 respectively connected segments 15 and 16.
  • the echo generated by the neighboring coupling device 21 of the telegram output on lines 52 is received via line 45 from channel 41, it can be identified as an echo of this telegram by means of the stored character for identifying the telegram and is no longer output on lines 56 and 57 through channel 41.
  • the echo generated by the adjacent coupling device 23 is also removed from the network.
  • the pause between a sent telegram and the arrival of a response telegram can be determined by means of a slot time determination 51.
  • FIG. 5 shows a block diagram of channels 41 and 42 from FIG. 4.
  • a line 61 feeds a received signal from a connected segment to a so-called RXD machine 62 and a CRC check 63.
  • line 61 corresponds to one of lines 45 in FIG. 4.
  • the signal regenerated with RXD machine 62 becomes one So-called TXD machine 66 is supplied, which on the one hand generates an RTS and a TXD signal on lines 67 and, on the other hand, an RTS and TXD signal on lines 68.
  • Lines 67 and 68 are connected to the switching matrix 50 in the block diagram according to FIG.
  • a telegram is output on lines 67, which has been supplemented by a CRC generator 69 by a CRC check mark.
  • the telegram is forwarded on lines 68 without a CRC test character, so that the received telegram is output unchanged and is compatible with a transmission protocol which is connected to the respective segment " subscriber.
  • lines 70 are provided which are connected, for example in the case of channel 41 in FIG. 4, to lines 58 to which the switching matrix 50 forwards the received telegram.
  • the output of an AND gate 76 is connected, using the example of channel 41 in FIG. 4, to lines 52 for transmitting the TXD signal.
  • An RTS signal is passed on by line 83 directly from switch 73 to lines 52.
  • a segmentation logic 71 controls a blocking of the forwarding of disturbed telegrams to the connected segments and, for this purpose, supplies a blocking signal on a line 72 to the switch 73 and the switch 64.
  • FIG. 5 Further function blocks in FIG. 5 are a device 74 for the telegram start test, a delay element 75, a device 77 for telegram length determination (TLU), a device 86 for activity check and a device 78 for ring monitoring, the functions of which will be explained in more detail later.
  • TLU telegram length determination
  • the channels 43 and 44 are basically similar to the channels 41 and 42. However, the CRC check 63, the switch 73 and parts of the segmentation logic 71 are omitted, since a CRC check mark and an exchange of special telegrams do not occur on the segments with electrical signal transmission according to the PROFIBUS DP protocol.
  • the received telegram is additionally routed to the CRC check 63 (FIG. 5), in which a CRC check mark is formed for the received telegram and compared with the received CRC check mark .
  • the start delimiter of the received telegram is evaluated by the device 77 for determining the telegram length and the telegram length is determined. It supplies the CRC check 63 and the RXD machine 62 with a signal on lines 84 and 85, respectively, which indicates the end of the telegram.
  • the CRC check 63 thus recognizes that only a stop bit 34 (FIG. 3) and the CRC test character follow, and reads the CRC test character attached to the received telegram, which it needs for comparison with the self-generated CRC test character. After the comparison has been carried out, what is received
  • Switching matrix 50 ( Figure 4) with lines 58 is looped through to the lines 70 ( Figure 5), channel 41 sends via lines 52 on the optical fiber 151 of the segment 15, which is provided for data transmission in the opposite direction, the received telegram with a CRC test marks newly formed in the CRC generator 69 as control information.
  • the CRC test symbol is also checked in the activated receiving channel of the coupling device 21, which receives the echo telegram, in order to detect faults on the optical waveguide 151 in the opposite transmission direction.
  • the switch 64 is opened so that the received echo telegram corresponds to the timely transmission process does not interfere. If the transmission on segment 15 was undisturbed, the new CRC check mark matches the discarded one, otherwise it does not.
  • the path controller 49 in which transmission directions can be preset, also sends the telegram to the other outputs of the coupling device, in accordance with the respective protocol of the connected segment, with or without a supplemented CRC test mark.
  • a telegram supplemented by the CRC check mark is sent to segment 16 and a telegram to segment 12 without an additional CRC check mark.
  • the switches 64 and 73 in the channels of a coupling device also make it possible to decouple a faulty segment from the network as a measure of error handling, so that faults cannot burden the entire network.
  • the disturbance can thus advantageously be limited to the disturbed segment of the network.
  • the transmission and reception paths are each carried out separately.
  • a segment is decoupled, ie when the forwarding of telegrams from a disturbed segment is interrupted via a coupling device into further segments connected to the coupling device, both transmission directions are advantageously blocked.
  • neither telegrams from segment 15 into segments 12 or 16, nor telegrams from segments 12 or 16 into segment 15 are transmitted. This is particularly advantageous if the last of the segments in a series of segments connected in series, a so-called optical line, is disturbed by optical signal transmission.
  • segment 16 is the last segment of the optical line. If a malfunction occurs on the optical waveguide 162 of segment 16 in the network structure thus obtained, the forwarding of telegrams received on segment 16 to segment 13 is blocked. An active subscriber 20 therefore no longer receives any telegrams on segment 13, on which data transmission is carried out according to the PROFIBUS DP protocol.
  • a master that no longer detects any activity on the network begins to send a token to itself and to query other participants on the network. This is referred to as sending a permanent token.
  • both directions of transmission are advantageously blocked at the same time when a segment is decoupled with optical signal transmission. Both transmission directions are only activated again when the bi-directional functionality of the segment has been determined by exchanging special telegrams via the decoupled segment.
  • the two transmission directions cannot be operated independently of one another on the segments 11, 12 and 13 with electrical signal transmission, since only a single transmission medium with an ability for bidirectional transmission is used.
  • the case that the transmission is disturbed in one direction and not in the other direction is therefore extremely rare in practice.
  • a simultaneous blocking of both transmission directions is on the Segments 11, 12 and 13 are therefore not carried out.
  • the coupling device 22 can still send telegrams into the disturbed segment 12 without having to fear that the network is blocked.
  • a sporadic fault for example on segment 12, therefore leads to a decoupling of the segment for only a few telegrams and does not separate a passive subscriber from the network for a longer period of time.
  • the FIFO memory 65 in FIG. 5 is used to compensate for bit-time fluctuations which can arise, for example, as a result of quartz inaccuracies in the data transmission. If four bits are written into the FIFO memory 65, this begins with the output of the first bits.
  • the memory depth of the FIFO memory 65 is nine bits.
  • the TXD machine 66 rigidly reads out the bits stored in the FIFO memory 65 at intervals of one bit.
  • the RTS signal (request to send) controls the data flow direction of the transceiver of the respective channel and becomes active four bit times before the first start bit of the telegram.
  • the RTS signal is switched inactive again by the TXD machine 66 at the end of the last stop bit.
  • the ring monitor 78 consists of a number of monitoring mechanisms which can detect circling telegrams, telegram fragments or interference couplings in a connection of coupling devices to an optical single-fiber ring or to an optical double ring and eliminate them by interrupting the ring.
  • the network structure in FIG. 2, for example, is referred to as an optical single-fiber ring.
  • An optical double ring is obtained by connecting the optical fibers 141 and 142 from segment 14 to the optical fibers 171 and 172 from segment 17, respectively.
  • a monitoring mechanism implemented in the ring monitor 78 is a low-bit monitor which outputs an error signal if the data signal is at an active level, here the low level, for 13 consecutive bit times.
  • an active level here the low level
  • the causes of such a fault can be, for example, extraneous light coupling or a defective coupling device.
  • Another monitoring mechanism is a transmission time monitoring, which issues an error signal if more than 262 characters are counted in a telegram.
  • the PROFIBUS DP protocol limits a telegram to a maximum of 255 characters, so that a telegram with more than 262 characters can only occur in the event of a fault. This can be caused by a defective active participant in the respective segment or a dynamic interference coupling to the segment.
  • a start bit and telegram length check is carried out as a monitoring mechanism.
  • a counter is incremented by two if an invalid start delimiter or a valid start delimiter with an unsuitable telegram length is detected.
  • the counter is decremented by one for each error-free telegram until it has reached zero again.
  • the start bit and telegram length check outputs an error signal if the counter reading exceeds a predefinable number. With this, errors are recognized in which the telegram has been falsified by a defective node or interference coupling.
  • a repeat error test as a further monitoring mechanism is intended to prevent a formally valid telegram from circling forever in an optical single-fiber ring if the device 74 for the initial telegram test is no longer able to extract the telegram from the optical single-fiber ring.
  • the repeat error test contains a counter that is incremented by one if the second character of a telegram just received matches that of the previous telegram or if a single-character telegram is received. In the event of inequality, the counter is set to zero, as is when a telegram is newly fed into the monitored single-fiber ring. In the latter case, the Direction 74 for the telegram start test active again.
  • the repeat error test also outputs an error signal if the counter reading exceeds a predefinable number.
  • the repeat error test detects, for example, interference in an open optical fiber or in the transceiver.
  • the switch 64 interrupts the forwarding of received telegrams for echo filtering and is triggered by the device 74 for the telegram start test with a signal on a line 81. In the event of a fault that was detected by the ring monitor 78, the switch 64 can also be opened by the ring monitor 78. The switch 64 is closed again only while the segment is in the idle state in the transmission and reception direction.
  • All monitoring mechanisms can be activated individually or in combination with one another by parameterization.
  • each optical channel In an interconnection of coupling devices to form an optical ring, each optical channel must remove the telegrams it has fed into the ring from the ring so that there are no perpetually circulating telegrams.
  • the device 74 for the telegram start test therefore remembers a character from up to 32 transmitted telegrams, which enables the optical channel to recognize the telegrams it has fed into the optical ring and by opening the switch 64, as already described above, from Take ring.
  • the received telegrams are constantly compared with the transmitted telegram beginnings already stored in the device 74 for the telegram start test. If the received telegram start matches the oldest entry, it is deleted.
  • the device 74 for telegram opening test blocks opening of the transmission of received telegrams until all entries are deleted and the end of the telegram, the beginning of which matches the last entry, has been reached. If more than 32 entries are to be stored in device 74 for the telegram start test, device 74 reports an overflow to ring monitor 78. The ring monitor 78 then interrupts the transmission and reception of telegrams on the optical channel for a ring circulation time.
  • the received telegrams to the RXD machine 62 are delayed in such a way that they only arrive at the device 74 for the telegram start test when an identifier of the original telegram, via which line, is received via the line 70 the received telegram represents the echo in which device 74 for the telegram start test was registered.
  • the sequence can be maintained in the device 74: first send a telegram and save the identifier of the telegram, then wait for the echo and recognize it as an echo on the basis of the identifier.
  • the activity check device 86 monitors activities on the connected segment. If no bus activity can be determined for a predeterminable period of time, this is reported by a signal on a line 82 to the segmentation logic 71, which then triggers a decoupling of the relevant segment. Monitoring is carried out with a counter, which is reset with every signal change on line 61 and otherwise counts continuously. If a predetermined counter reading is exceeded, the message signal is output to the segmentation logic 71 and the counter reading is reset.
  • the predeterminable period of time the maximum possible signal propagation time in the network between the most distant bus users must be taken into account in order not to limit the network expansion due to a time threshold that is too small. Each of the following events can trigger a segment to be decoupled:
  • a received CRC check character is not adapted to the received message or there is a stop bit error in a received message character
  • optical signal level on the optical waveguide has fallen below a minimum value; this is indicated to the segmentation logic 71 by a level measuring device by means of a signal 120,
  • the memory that is provided in the device 74 for the telegram start test runs over more than 32 sent telegrams without receiving a valid echo, 4. no activity is detected on the reception line 61 for a predefinable monitoring time or 5.
  • a Monitoring mechanism of the ring monitoring 78 detects errors in a received telegram.
  • the basic sequence of a segment decoupling is explained using the flow diagram in FIG. 6 using the example of a fault on segment 15 in FIG. 2.
  • the sequence control is in a basic state 90, in which the switch 64 is closed. If an event causes a segment to be decoupled, the basic state 90 is first left and a transition is made to a wait state 91, in which the switch 64 is opened and a forwarding of received telegrams to connected segments 12 and 16 is blocked. An error is displayed, an error message via the signaling contact is not yet given.
  • a predeterminable minimum segment duration is waited for, which is preferably greater than the time threshold of a timer in the device for activity check, which monitors transmission pauses on the connected segment and, if exceeded, triggers a segment decoupling.
  • state 92 is referred to as a first check, and the longer the waiting time in state 91, the less the influence of low frequency dynamic disruptions to the network
  • the waiting time for segments connected in series with coupling devices determines how long the line is at least interrupted after a disruption.
  • switches 64 and 73 are open. There is therefore no echo and the forwarding of received telegrams is blocked. However, the RXD machine 62, the device 77 for determining the telegram length and the CRC check 63 remain active in order to carry out an assessment of the transmission quality on the basis of received telegrams and to inform the segmentation logic 71 of the result of the assessment via the lines 79 and 80.
  • the wait state 91 there is already a reaction to received special telegrams and the wait state 91 is exited in order to be able to react to special telegrams from the neighboring coupling device 21, which is itself already in the first check state 92.
  • 22 bit times are waited, which correspond to compliance with the telegram minimum interval of eleven bit times and an end of a character that may have just started, before the first special telegram is sent in first check state 92.
  • one reason for the segment decoupling may be that a timer for monitoring transmission activities on the segment has a predefinable maximum idle time has exceeded. The reasons for this can in turn be a break in the optical waveguide or a failure of the neighboring coupling device. Another option for addressing this time monitoring is to switch off all active participants in the network. The separated segment can therefore be in order if the maximum idle time is exceeded or it can also be faulty. Before an error message is output, the segment in question is therefore checked by exchanging special telegrams in the first check state 92.
  • the coupling devices connected to the segment change to a cyclic check state 93, in which they cyclically try to transmit special telegrams and simultaneously activate an LED and a signaling contact to indicate an error.
  • the signaling contact can be wired to an operator control and monitoring station to generate an error message. This measure enables automatic visualization of a fault. If error-free transmission of special telegrams occurs in both directions, the system changes to the basic state 90 and segment 15 is automatically coupled to the network again.
  • the special telegrams implement a hand-shake process which ensures that the locks in both coupling devices 21 and 22 on segment 15 are released at the same time. This advantageously prevents only one transmission direction from being activated at certain times.
  • the segment therefore allows bidirectional transmission immediately after coupling. If there is no data traffic on the segment afterwards, the timer responds again to monitor the maximum idle time and an exchange of special telegrams is initiated again without issuing an error message.
  • the exchange of special telegrams in the first check state 92 is indicated by a flashing LED and thus serves as an operating display as long as there is no data traffic on the segment 15.
  • cyclic check state 93 an error is indicated by the LED lighting continuously and an error message via the message given contact. The segment decoupling is maintained in this state. In cyclic check status, 93 special telegrams are sent to the faulty segment at predefinable cyclical intervals and a check is carried out.
  • the cyclic check state 93 returns to the basic state 90 and the error message is withdrawn.
  • two special telegrams ST1 and ST2 were introduced, which are sent cyclically until the segment is reconnected.
  • the special telegrams differ from the useful telegrams that are transmitted in the network so that they cannot be interpreted as such.
  • a parity bit with a polarity opposite to the parity bit in the case of useful telegrams is used for the telegram characters.
  • the special telegram ST1 is used for the cyclical initiation of a check of the segment, while the special telegram ST2 is sent as confirmation for a correct telegram transmission.
  • the special telegrams are provided with a CRC test mark to check the transmission quality.
  • the flowchart in FIG. 7 illustrates the process of segment coupling with the transmission of special telegrams.
  • the vertical areas corresponding to the wait state 91, the first check state 92 and the cyclic check state 93 in FIG. 6 are marked by vertical lines on the right side in FIG.
  • a transition is made to a state 100 in which a timer for monitoring a minimum segmentation time is started. If the timer has expired, a change is made to a state 101 and a special telegram ST1 is sent. The progress of the timer is marked by a state transition arrow 102. State 101 is also entered according to an arrow 103 when a special telegram ST1 or a special telegram ST2 is received has been. After sending a special telegram ST1 in state 101, the timer for monitoring the minimum segmentation time is reset and started again when changing to state 104.
  • an arrow 110 changes to state 105, which represents the start of the cyclic check. If, on the other hand, a special telegram ST2 sent by an adjacent coupling device has arrived within the monitoring time, this means that the reception and transmission paths of the segment are in order, and an arrow 111 changes to a state 112 in which the segment is coupled again , ie the forwarding of received telegrams to neighboring segments is enabled. In state 105, which was assumed after the timer had expired, the coupling device again sends a special telegram ST1 to the disturbed segment.
  • a cycle timer is then reset and a transition is made to a state 113 in which the cycle timer is monitored.
  • the monitoring time of the cycle timer defines the cycle duration with which special telegrams are sent to the segment. If the cycle duration has expired without the receipt of a special telegram, the state 105 is returned to in accordance with an arrow 114. If, on the other hand, a special telegram ST1 sent by an adjacent coupling device has been received, a transition to a state 116 takes place according to an arrow 115, in which a special telegram ST2 is sent to the neighboring coupling device is sent. The cycle timer is then reset and the state of the cycle timer is monitored again in a state 117.
  • State 105 is returned to in accordance with an arrow 118.
  • Receiving a special telegram ST2 sent by an adjacent coupling device in state 117 means that the reception and transmission path of the segment are in order again, and an arrow 119 transfers to state 112, in which the cyclic check has ended and the segment is coupled again.
  • State 112 corresponds to the basic state 90 in FIG. 6.
  • the hand shake procedure shown with special telegrams ST1 and ST2 automatically reconnects a disturbed segment in a simple manner after the disturbances have disappeared.
  • Segments that have to comply with a certain protocol for example according to PROFIBUS DP, that does not allow special telegrams are released again without such a hand shake procedure.
  • the segments 11, 12 and 13 are such segments.
  • the faulty segment is also decoupled by the respective coupling device in the event of an error, ie the forwarding of telegrams that were received on the faulty segment 11, 12 or 13 is blocked.
  • the retimer's FIFO memory is cleared. After a parameterizable minimum segmentation time has elapsed, a monitoring timer and a telegram counter are started.
  • the transmission to the disturbed segment remains activated in order to prevent the formation of subnetworks which, as already described above, could result in a double token formation, for example.
  • the forwarding of telegrams received, for example, on the segments 15 or 16 to the segment 12 thus remains even in the case of a disturbed segment 12 and is independent of whether the forwarding of Telegrams in the opposite direction is blocked.
  • Monitoring mechanisms check the received signal of the faulty segment. The monitoring timer is reset and restarted each time a signal is received. If no further telegrams are received within the monitoring time, then there are probably no nodes connected to the segment and a temporary interference coupling was triggered. The segment can therefore be coupled again. If a predeterminable number of error-free telegrams were received in succession before the monitoring time expired, the segment is coupled again as soon as the segment in the sending and receiving direction is in the idle state.
  • subscribers 201 ... 206 are each connected to coupling devices 221 ... 226 by segments 211 ... 216 with electrical signal transmission, on which data is transmitted according to the PROFIBUS DP protocol.
  • the coupling devices 221 ... 226 are connected in pairs by segments 231 ... 236 with optical signal transmission, so that an optical double ring is formed, as shown in FIG.
  • the segments 231 ... 236 have optical fibers 241 ... 246 or optical fibers 251 ... 256 which can be operated independently of one another for each transmission direction.
  • the principle of operation of the optical double ring is that telegrams that are fed in by a subscriber via a segment with electrical signal transmission are simultaneously forwarded by the coupling device into both connected segments with optical signal transmission.
  • a telegram that the subscriber 201 sends to the coupling device 221 via the segment 211 is forwarded by the coupling device 221 to the coupling device 222 both with the optical fiber 251 of the segment 231 and to the coupling device 226 with the optical fiber 246 of the segment 236.
  • the telegram sent by subscriber 201 is thus duplicated.
  • the two circulating, completely identical telegrams are subsequently recognized as identical telegrams by the coupling device 224, at which they meet due to the transit time, and are taken from the optical double ring.
  • the device 74 (see FIG. 5) is used for the telegram start test, which stores a character for identifying transmitted telegrams, in order to prevent telegrams that circulate forever, as was already described above.
  • the telegrams rotating in opposite directions are also removed from the optical double ring when the two telegrams meet in a segment with optical signal transmission, that is to say not directly at a coupling device.
  • segment 236 has been decoupled due to interference from coupling devices 221 and 226, a telegram from subscriber 201 is only forwarded to segment 231 by coupling device 221 and is therefore not duplicated.
  • a disturbed segment Before a disturbed segment is re-coupled with optical signal transmission, it can also happen that of the two identical telegrams circulating in the opposite direction in the optical double ring, some on the coupling device, which blocks the forwarding of telegrams to the disturbed segment, are deleted, while the telegrams, which have a longer transit time to the opposite coupling device on the disturbed segment, still on the way. In this case, the balance of identical telegrams rotating in opposite directions is disturbed. If, due to an imbalance of circulating telegrams, a disturbed segment was reconnected after the disturbance ceased to exist, circling telegrams can arise in the optical double ring, which can be recognized and eliminated, but disturb the entire network until they are eliminated.
  • a simple way of avoiding the occurrence of such circulating telegrams is to activate a segment after the fault has disappeared at a time when no telegrams are on the network.
  • this state is certainly a little later when an active node directed a so-called GAP query to a node that does not exist in the network.
  • active nodes with GAP queries carry out cyclical checks as to whether new nodes have been connected to the network and want to participate in data traffic. With each GAP query, the querying subscriber waits for a response with which the new subscriber, if he has meanwhile been connected to the network, reports.
  • the so-called slot time If the querying subscriber does not receive a response within a predefinable time, the so-called slot time, it assumes that the polled subscriber cannot be reached on the network.
  • the slot time is dimensioned such that it is greater than the longest possible time delay between the query and response telegram. It results from the sum of the runtimes of the query telegram to the queried subscriber and the response telegram to the querying subscriber between the most distant subscribers plus a delay in response from the queried subscriber and a security surcharge.
  • the coupling devices 221 ... 226 require certain monitoring mechanisms, e.g. B. for the determination of the monitoring time in the device 86 (see FIG. 5) for the activity check, information about the network expansion.
  • One way of communicating this information to the coupling devices would be to set parameters over the network. However, this possibility would be associated with a high outlay, since the coupling device would have to appear as a separate, addressable subscriber when configuring the network.
  • Another option would be to make the network expansion on the coupling devices manually adjustable or readable. However, this option would be prone to errors and would involve a great deal of effort when installing the network.
  • the network expansion in the coupling devices could be preset by a default value, which, however, would have to be designed for the maximum permissible network expansion and would be unnecessarily large in the respective application in a network.
  • the slot devices 221 ... 226 advantageously measure the slot time during the operation of the network.
  • the slot time contains information about the network expansion, so that complex parameterization of the coupling devices with regard to the network expansion can be omitted.
  • the slot time T s is parameterized in the participants as follows:
  • T s T + 2 [L tot - - ⁇ - 5 + 2 N ⁇ - ⁇ + V Tsdx + 20 T ⁇ Bi
  • Tsdx the maximum possible delay time after which a called subscriber must respond to a request telegram
  • T B it ⁇ the time duration of a bit at the data rate set in each case.
  • the slot time is thus configured in such a way that it is at least twice as long as would actually be necessary for the network expansion.
  • the slot time is then also greater than the maximum delay in an optical line at which the optical double ring in FIG. 8 is split up, for example if a fault is detected on segment 236 and segment 236 is decoupled.
  • the coupling devices involved must wait for a GAP query from an active subscriber and then wait for half the slot time to elapse. After receipt of a GAP query telegram, half the slot time must also be waited for, since a GAP query to a participant in the network would send the reply telegram to the coupling device before half the slot time. If no reply telegram arrives at the coupling device within half the slot time after a GAP query, it must have been a GAP query to a non-existent subscriber and there are certainly no telegrams in the network.
  • the coupling devices 221 ... 226 can only measure the slot time in the case of GAP queries by active subscribers to subscribers not present in the network, the HSA (Highest Station Address) of the active subscribers is configured such that GAP queries are received during operation at least one non-existent participant. So that the slot time is determined exclusively on the basis of such GAP queries, the measurements are carried out only between two call telegrams with acknowledge or between a call telegram with acknowledge and a token telegram. In order for the measured slot times to be automatically adjusted when the network changes or for incorrect measurements to be corrected, the slot time measurements are carried out continuously during operation. The measurement is carried out with a slot time counter, which is the number of bit times between the end of a telegram
  • the determined slot time is stored in a slot time flag in the slot time determination 51 (see FIG. 4).
  • the slot time flag in the coupling devices is set to a default value that corresponds to the highest adjustable value. After each valid measurement, the slot time marker is overwritten with the new measured value.
  • Active participants are participants who are in the logical token ring of the network and thus accept the token and can forward it to the next active participant in the logical token ring.
  • the respective token holder is authorized to send to the network.
  • passive participants cannot accept the token. They only send response telegrams when they have been requested by a token holder by means of a request telegram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Réseau ainsi qu'appareil de couplage pour la liaison de deux segments dans un tel réseau. Ledit appareil comporte des moyens (63, 64, 73, 78) destinés à reconnaître une altération d'un télégramme par des perturbations sur un segment (16) et à interdire la transmission sur un autre segment (17) de télégrammes reçus sur un segment perturbé (16). On évite ainsi la propagation des perturbations d'un segment dans l'ensemble du réseau.
PCT/DE1999/003037 1998-09-22 1999-09-22 Reseau ainsi qu'appareil de couplage pour la liaison de deux segments dans un tel reseau WO2000018063A2 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE1998143448 DE19843448A1 (de) 1998-09-22 1998-09-22 Netzwerk sowie Koppelgerät zur Verbindung zweier Segmente in einem derartigen Netzwerk
DE19843448.0 1998-09-22

Publications (2)

Publication Number Publication Date
WO2000018063A2 true WO2000018063A2 (fr) 2000-03-30
WO2000018063A3 WO2000018063A3 (fr) 2000-07-06

Family

ID=7881848

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/DE1999/003037 WO2000018063A2 (fr) 1998-09-22 1999-09-22 Reseau ainsi qu'appareil de couplage pour la liaison de deux segments dans un tel reseau

Country Status (2)

Country Link
DE (1) DE19843448A1 (fr)
WO (1) WO2000018063A2 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19960859A1 (de) * 1999-12-16 2001-07-05 Trw Automotive Electron & Comp Entkopplungseinheit für Bussysteme
DE10026124A1 (de) 2000-05-26 2001-11-29 Bayerische Motoren Werke Ag Schaltungsanordnung für ein Kraftfahrzeug

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5491687A (en) * 1994-09-28 1996-02-13 International Business Machines Corporation Method and system in a local area network switch for dynamically changing operating modes

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1989008354A1 (fr) * 1988-03-03 1989-09-08 Siemens Aktiengesellschaft Procede de commande et/ou de controle, circuits de mise en oeuvre du procede

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5491687A (en) * 1994-09-28 1996-02-13 International Business Machines Corporation Method and system in a local area network switch for dynamically changing operating modes

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
STEWEN C: "OPTIMUM FIBER OPTIC NETWORKING FOR PROFIBUS" ENGINEERING AND AUTOMATION,DE,SIEMENS AKTIENGESELLSCHAFT, BERLIN, Bd. 17, Nr. 3/04, 1. Mai 1995 (1995-05-01), Seiten 13-14, XP000533392 ISSN: 0939-2068 *

Also Published As

Publication number Publication date
WO2000018063A3 (fr) 2000-07-06
DE19843448A1 (de) 2000-03-23

Similar Documents

Publication Publication Date Title
EP2274655B1 (fr) Procédé, système et coupleur de bus pour l'échange de données entre un réseau de recouvrement et un réseau sous-jacent
EP0403763B1 (fr) Méthode et système d'interconnexion de calculateurs ou de réseaux de calculateurs
EP2700017B1 (fr) Procédé et dispositif pour la transmission de données en série avec codage de données à commutation
EP0144403B1 (fr) Procede et dispositif pour le transfert d'informations dans une boucle de donnees
EP0570338B1 (fr) Procédé et dispositif pour la surveillance et la protection d'accès dans les réseaux de communication
DE19728061A1 (de) Verfahren und System zur Steuerung der Nutzung von Satelliten-Übertragungskapazität in terrestrischen Netzen
EP0290894B1 (fr) Méthode de diffusion des tables d'adresses actuelles sur un réseau comportant "n" boucles
EP1121785B1 (fr) Reseau et appareil de couplage pour la connexion de deux segments dans un tel reseau
EP1116360B1 (fr) Reseau et appareil de couplage pour la connexion de deux segments dans un tel reseau
EP1181790A2 (fr) Reseau et appareil de couplage pour relier deux segments dans un reseau de ce type et noeuds de reseau
DE69628841T2 (de) Übertragungsverfahren über einen optischen bus mit gleichzeitig verschiedenen datenraten
WO2000018063A2 (fr) Reseau ainsi qu'appareil de couplage pour la liaison de deux segments dans un tel reseau
WO2000018062A2 (fr) Reseau ainsi qu'appareil de couplage pour la liaison de deux segments dans un tel reseau
DE4005087C1 (en) Connector unit for domestic power installation - has adaptor for specific function allowing data transmission via bus and data lines
DE3939631C2 (fr)
DE4021361C2 (de) Redundantes Datenübertragungssystem
DE10032597B4 (de) Buswächtereinheit für einen Netzknoten eines zeitgetriggerten Datenkommunikationsnetzes
EP1329057B1 (fr) Procédé permettant l'access a un bus de données entre des unites electronicques en communication
DE10216920A1 (de) Verfahren und Vorrichtung zur Überprüfung einer Überwachungsfunktion eines Bussystems und Bussystem
EP1550267A2 (fr) Procede de transformation d'un procede pour le fonctionnement d'un reseau ainsi que des abonnes pour appliquer le procede
EP1303080B1 (fr) Procédure de communication à travers un bus entre un serveur de données et au moins un récepteur
EP0392246B1 (fr) Système de surveillance et de commande pour systèmes de transmission d'informations numériques avec maître et maître de substitution
EP0491062B1 (fr) Procédé de surveillance d'un service d'installations de transmission de la technique de télécommunication électrique et dispositif de mise en oeuvre du procédé
EP3492999A1 (fr) Procédé destiné au fonctionnement d'un système de communication, système de communication et dispositif de communication
DE4135684A1 (de) Uebertragungssystem

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): US

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
AK Designated states

Kind code of ref document: A3

Designated state(s): US

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

122 Ep: pct application non-entry in european phase