Method for the emergency shutdown of a bus system, and bus system

11720508 · 2023-08-08

Assignee

Inventors

Cpc classification

International classification

Abstract

In a method for the emergency shutdown of a bus system, and a bus system, having a master module and bus subscribers disposed in series, the master module and the bus subscribers sending data packets to one another with the aid of a data line, the method has the temporally consecutive method steps: in a first method step, a bus subscriber and/or the master module detect(s) an error status, in a second method step, the bus subscriber and/or the master module send(s) an emergency signal to all bus subscribers and to the master module, in a third method step, a further bus subscriber receives the emergency signal, immediately forwards it to an adjacent bus subscriber and simultaneously evaluates it, and in a fourth method step, the further bus subscriber shuts itself down automatically.

Claims

1. A bus system, comprising: a master module; and bus subscribers arranged in series between the master module and a last one of the bus subscribers, a single first bus subscriber being arranged immediately downstream of the master module, each bus subscriber between the first bust subscriber and the last bus subscriber having a single one of the bus subscribers being arranged immediately upstream and a signal one of the bus subscribers being arranged immediately downstream; wherein each bus subscriber arranged between the first bus subscriber and the last one of the bus subscribers is adapted to receive an emergency signal transmitted by a first immediately adjacent bus subscriber, to immediately forward the emergency signal to a second immediately adjacent bus subscriber, and to automatically shut down in response to the emergency signal.

2. The bus system according to claim 1, wherein the first bus subscriber is adapted to receive the emergency signal from the master module, to immediately forward the emergency signal to a second bus subscriber, and to automatically shut down in response to the emergency signal.

3. The bus system according to claim 1, wherein the master module is adapted to receive the emergency signal from the first bus subscriber and to automatically shut down in response to the emergency signal.

4. The bus system according to claim 1, wherein the last one of the bus subscribers is adapted to receive the emergency signal from an immediately adjacent bus subscriber and to automatically shut down in response to the emergency signal.

5. The bus system according to claim 1, wherein each bus subscriber between the first bus subscriber and the last one of the bus subscribers is connected to an upstream immediately adjacent bus subscriber by a first data line and to a downstream immediately adjacent bus subscriber by a second data line.

6. The bus system according to claim 1, wherein the first bus subscriber is connected to the master module by a first data line and a downstream immediately adjacent bus subscriber by a second data line.

7. The bus system according to claim 1, wherein the last one of the bus subscribers is connected to an upstream immediately adjacent bus subscriber by a second data line.

8. The bus system according to claim 5, wherein the first data line and the second data line include plug connectors connected to respective bus subscribers.

9. The bus system according to claim 1, wherein each bus subscriber is adapted to detect an error status and to transmit the emergency signal in response to the detection of the error status.

10. The bus system according to claim 1, wherein the master module is adapted to detect an error status and to transmit the emergency signal in response to the detection of the error status.

11. The bus system according to claim 1, wherein the bus subscribers include a drive, an electronic component, and/or a drive converter for an electric motor.

12. The bus system according to claim 1, wherein each bus subscriber includes an electronic circuit adapted to interrupt a data transmission to at least one immediately adjacent bus subscriber.

13. The bus system according to claim 1, wherein the master module is adapted to send a request to the first bus subscriber to log in to the master module, and the first bus subscriber is adapted to log in to the master module in response to the request and to forward the request to an immediately adjacent downstream bus subscriber.

14. The bus system according to claim 13, wherein each bus subscriber downstream of the first bus subscriber and between the first bus subscriber and the last one of the bus subscribers is adapted to log in to the master module in response to the request and to forward the request to an immediately adjacent downstream bus subscriber.

15. The bus system according to claim 14, wherein the last one of the bus subscribers is adapted to log in to the master module in response to the request.

16. The bus system according to claim 1, wherein the master module is adapted to assign a bus address to the first bus subscriber, and each bus subscriber between the first bus subscriber and the last one of the bus subscribers is adapted to increment an assigned bus address and forward the incremented bus address to a downstream immediately adjacent bus subscriber.

17. The bus system according to claim 16, wherein the first bus subscriber is adapted to log in to the master module with the assigned bus address and each other bus subscriber is adapted to log in to the master module with a respective incremented bus address.

18. The bus system according to claim 1, wherein the master module is adapted to connect to a predetermined maximum number of bus subscribers.

19. The bus system according to claim 18, wherein the master module is adapted to abort an initialization of the bus system in response to receiving a log in request from a bus subscriber exceeding the predetermined maximum number of bus subscribers.

20. The bus system according to claim 9, wherein each bus subscriber is adapted to interrupt a data transmission and/or a pause in a data transmission in response to the detection of the error status and to transmit the emergency signal in response to the detection of the error status after the interruption of the data transmission and/or the pause in the data transmission.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a schematic view of a bus system according to an example embodiment of the present invention.

(2) FIG. 2 shows the time characteristic of data packets (3, 4) on a data bus.

(3) FIG. 3 shows the time characteristic of data packets (3, 4) and an emergency signal on the data bus in a first case example.

(4) FIG. 4 shows the time characteristic of data packets (3, 4) and an emergency signal on the data bus in a second case example.

DETAILED DESCRIPTION

(5) The bus system according to an example embodiment of the present invention has a master module M and bus subscribers (S1, S2, S3, S4), which are disposed in series and connected to one another. The bus system has a first bus subscriber S1 disposed downstream from master module M. The bus system has a second bus subscriber S2 disposed downstream from first bus subscriber S1, first bus subscriber S1 being situated upstream from second bus subscriber S2. Second bus subscriber S2 is disposed upstream from a third bus subscriber S3, and third bus subscriber S3 is situated downstream from second bus subscriber S2. Third bus subscriber S3 is disposed upstream from a fourth bus subscriber S4, and fourth bus subscriber S4 is disposed downstream from third bus subscriber S3.

(6) A bus subscriber (S1, S2, S3, S4) situated downstream from another bus subscriber (S1, S2, S3, S4) is situated at a greater distance from master module M than the other bus subscriber (S1, S2, S3, S4) in the direction of the series arrangement. The other bus subscriber (S1, S2, S3, S4), which is disposed at a shorter distance from master module M than the bus subscriber (S1, S2, S3, S4) in the direction of the series arrangement, is located upstream from the bus subscriber (S1, S2, S3, S4).

(7) For example, the bus system is an industrial plant that has various devices as bus subscribers (S1, S2, S3, S4), such as drives or electronic components, e.g., drive converters for electric motors.

(8) The data bus has a first data line 1 and a second data line 2, which in each case serially connect the bus subscribers (S1,S2, S3, S4) and master module M to one another.

(9) With the aid of first data line 1, master module M sends data packets (3, 4) such as control commands to the bus subscribers (S1, S2, S3, S4). With the aid of second data line 2, the bus subscribers (S1, S2, S3, S4) send data packets (3, 4) such as status information to master module M.

(10) Each bus subscriber (S1, S2, S3, S4) has a first interface and a second interface, which are, for example, arranged as plug connector parts in each case. Each data line (1, 2) has at least one data cable. Each data cable has a first mating plug connector part and at least one second mating plug connector part for a data transmission between the bus subscribers (S1,S2, S3, S4) along the respective data line (1, 2).

(11) As a result, each bus subscriber (S1, S2, S3, S4) is able to be connected to a second plug connector part of an upstream bus subscriber (S1, S2, S3, S4) using a first plug connector part and the respective data cable, and is able to be connected by a second plug connector part and the respective data cable to a first plug connector part of a downstream bus subscriber (S1, S2, S3, S4).

(12) The respective data cable of first data line 1 and the respective data cable of second data line 2 may be guided in a shared cable sheath. A supply line and/or a ground lead for the bus subscribers (S1, S2, S3, S4) may be disposed in this cable sheath as well.

(13) Each bus subscriber (S1, S2, S3, S4) has a switch, in particular an electronic circuit, which is connected to the respective data line (1, 2). The switch may be used to interrupt the data transmission along the respective data line (1, 2).

(14) Each bus subscriber (S1, S2, S3, S4) has a time-measurement device, in particular a timer. The time-measurement device maybe integrated into the electronic circuit of the bus subscriber (S1, S2, S3, S4).

(15) Using the electronic circuit, the data transmission along the respective data line (1, 2) is therefore able to be interrupted after a predefined time has elapsed.

(16) Each bus subscriber (S1, S2, S3, S4) has a logic circuit. The logic circuit may be integrated into the electronic circuit of the bus subscriber (S1, S2, S3, S4).

(17) Using the logic circuit, data packets on the data bus are able to be evaluated, and the sender of a data packet, in particular, is identifiable.

(18) In the event that a bus subscriber (S1, S2, S3, S4) is inactive, a data packet (3, 4) is forwarded without interruption and without a time delay through the inactive bus subscriber (S1, S2, S3, S4) to the downstream or upstream bus subscriber (S1, S2, S3, S4). A data packet (3, 4) passes through an inactive bus subscriber (S1, S2, S3, S4) without obstruction.

(19) The data bus may be implemented in a digital form.

(20) For the initialization of the bus system, master module M sends a request to log in to master module M to the bus subscribers (S1, S2, S3, S4) situated downstream. An active bus subscriber (S1, S2, S3, S4) disposed downstream from master module M logs in to master module M and forwards the request for the login to master module M to bus subscribers (S1, S2, S3, S4) downstream from it. The logged in bus subscriber (S1, S2, S3, S4) then waits for a predefined period of time to see whether a bus subscriber (S1, S2, S3, S4) downstream from it logs in to master module M.

(21) If no downstream bus subscriber (S1, S2, S3, S4) logs in to the master module, then the last logged in bus subscriber (S1,S2, S3, S4) closes the bus system as soon as the predefined period of time has elapsed, by connecting first data line 1 and second data line 2 to each other, in particular short-circuiting them. A data packet (3, 4) that is transmitted with the aid of first data line 1 from master module M to the bus subscribers (S1, S2, S3, S4) is thus forwarded to second data line 2 at the final bus subscriber (S1, S2, S3, S4) and routed back to the master module.

(22) The last bus subscriber (S1, S2, S3, S4) is the particular bus subscriber (S1, S2, S3, S4) that logs in last to master module M and has no active downstream bus subscribers (S1, S2, S3, S4).

(23) The request to log in to master module M is routed through an inactive bus subscriber (S1, S2, S3, S4) without this subscriber itself logging in to master module M.

(24) After the bus system has been closed, a release is granted by a superordinate control or by an operator and the bus system begins its operation.

(25) In the event that a bus subscriber (S1, S2, S3, S4) logs in late, i.e. after the predefined period of time following the login of the last bus subscriber (S1, S2, S3, S4) has elapsed, then this bus subscriber (S1, S2, S3, S4) sends a data packet (3, 4) to master module M. If a release has already been granted, this data packet (3, 4) is stopped by an upstream bus subscriber (S1, S2, S3, S4) that is logged in to master module M and is not forwarded to master module M.

(26) As soon as the release has been revoked, a data packet (3, 4) of the late bus subscriber (S1, S2, S3, S4) is forwarded to master module M and the late bus subscriber (S1, S2, S3, S4) is admitted to the bus system.

(27) In the event that the late bus subscriber (S1, S2, S3, S4) has no downstream bus subscribers (S1, S2, S3, S4) that are logged in to master module M, then it becomes the new last bus subscriber (S1, S2, S3, S4) and closes the bus system after waiting out the predefined period of time for the login of a bus subscriber (S1, S2, S3, S4).

(28) The predefined period of time for the login of a bus subscriber (S1, S2, S3, S4) is able to be adapted to the bus subscribers (S1, S2, S3, S4). The period of time may be selected such that bus subscribers (S1, S2, S3, S4) that have a longer initialization time are securely logged in to master module M.

(29) During the initialization of the bus system, bus addresses for the bus subscribers (S1, S2, S3, S4) are assigned automatically. For this purpose, master module M sends the bus address “1” to first bus subscriber S1. First bus subscriber S1 logs in to master module M using this bus address and increments the bus address by 1 and forwards it to its downstream bus subscriber (S1, S2, S3, S4). The downstream bus subscriber (S1, S2, S3, S4) logs in to master module M using the incremented bus address, i.e. bus address “2” in this instance, increments this bus address by 1 again and forward sit to the bus subscriber (S2, S3, S4) downstream from it.

(30) In an effort to restrict the number of bus subscribers (S1, S2, S3, S4) in the bus system, a bus subscriber (S1, S2, S3,S4) assigned a bus address that is greater than the maximally allowed number of bus subscribers (S1, S2, S3, S4) will not further increment this bus address but forwards the same bus address to its downstream bus subscriber (S1, S2, S3, S4), which uses this bus address to log in to master module M. As soon as master module M receives a bus address that is greater than the maximally allowed number of bus subscribers (S1, S2, S3, S4), master module M aborts the initialization of the bus system and transmits an error report to a control superordinate to master module M.

(31) If a bus subscriber (S1, S2, S3, S4) that is not yet active, i.e. an inactive bus subscriber (S1, S2, S3, S4), receives a bus address from a bus subscriber (S1, S2, S3, S4) upstream from it or from master module M, then this bus address is looped through the inactive bus subscriber (S1, S2, S3, S4) without being incremented, and assigned to a downstream bus subscriber (S1, S2, S3, S4).

(32) FIGS. 2 through 4 show the time characteristic of data packets 3 that are transmitted with the aid of a respective data line (1, 2). Each data packet 3 has a predefined length that is a function of the number of bus subscribers (S1, S2,S3, S4) of the bus system.

(33) The data transmission is interrupted for a predefined period of time between two temporally successive data packets 3, which means that two temporally successive data packets 3 are temporally spaced apart with the aid of a transmission pause 6.

(34) As soon as a bus subscriber (S1, S2, S3, S4) or master module M detects an error, data packet 4 transmitted at that instant is immediately interrupted and an emergency signal 5 is transmitted by the respective bus subscriber (S1, S2, S3, S4) or by master module M, as illustrated in FIG. 3. This emergency signal 5 causes an immediate shutdown of all bus subscribers (S1, S2, S3, S4).

(35) The interrupted data packet 4 is immediately terminated and not further processed by the bus subscribers (S1, S2, S3, S4).

(36) If a bus subscriber (S1, S2, S3, S4) or master module M detects an error during a transmission pause 6, then transmission pause 6 will be interrupted and an emergency signal 5 be sent by the respective bus subscriber (S1, S2, S3,S4) or by master module M, as illustrated in FIG. 4. This emergency signal 5 causes an immediate shutdown of all bus subscribers (S1, S2, S3, S4).

(37) The respective bus subscriber (S1, S2, S3, S4) transmits emergency signal 5 on both data lines (1, 2). In other words, emergency signal 5 is transmitted from the respective bus subscriber (S1, S2, S3, S4) in the direction of master module M on the second data line and is transmitted from the respective bus subscriber (S1, S2, S3, S4) away from master module M on first data line 1.

(38) The respective bus subscribers (S1, S2, S3, S4) immediately process the emergency signal 5 and at the same time forward it to the downstream bus subscriber (S1, S2, S3, S4) so that the bus subscribers (S1, S2, S3, S4) shut down immediately. In other words, emergency signal 5 is not first stored and processed but immediately forwarded to all bus subscribers (S1, S2, S3, S4) and to master module M.

(39) The emergency signal 5 may have a temporally shorter length, in particular signal length, than the data packets (3, 4) and/or transmission pause 6.

LIST OF REFERENCE CHARACTERS

(40) M master module

(41) S1 first bus subscriber

(42) S2 second bus subscriber

(43) S3 third bus subscriber

(44) S4 fourth bus subscriber

(45) 1 first data line

(46) 2 second data line

(47) 3 data packet

(48) 4 data packet

(49) 5 emergency signal

(50) 6 transmission pause