Redundant Automation System and Method for Operating the Redundant Automation System
20230229131 · 2023-07-20
Inventors
Cpc classification
International classification
Abstract
In order to provide a method for operating a redundant automation system (100) for controlling a technical process, it is proposed to operate a two-out-of-three system with three subsystems, wherein - a comparison means (V1, V2, V3) is cyclically operated in each subsystem (1, 2, 3) and compares the first, second and third output data (A1, A2, A3) with one another, and the respective comparison means (V1, V2, V3) are operated in such a manner that - during each comparison in which the result is that all output data (A1, A2, A3) are approximately the same, no further action is carried out, and - during a comparison in which deviations between the output data are determined, that subsystem (1, 2, 3) in which the deviations of its own output data (A1, A2, A3) from the other output data (A1, A2, A3) are the greatest is identified as faulty by means of a majority decision (ME).
Claims
1-9. (canceled)
10. A method for operating a redundant automation system for controlling a technical process, a first subsystem, a second subsystem, a third subsystem and an output device for the process being operated in a communications network such that communication paths between them are utilized to exchange data, the method comprising: forwarding, by the first subsystem with a first control program with a first program cycle, first output data to the output device in a cycle-oriented manner via a peripheral protocol, an active first application relationship being established between the first subsystem and the output device; calculating, in parallel to the first subsystem, by one of (i) the second subsystem with a second control program with a second program cyclesecond output data and (ii) the third subsystem with a third control program with a third program cycle third output data in readiness for the assumption of control of the technical process; and establishing a passive second application relationship between the second subsystem and the output device and establishing a passive third application relationship between the third subsystem and the output device; wherein the first, second and third subsystems are operated such that the first, second and third subsystems have knowledge of one another via respective calculated output data; wherein the second subsystem sends a second output acknowledgement, and the third subsystem sends a third output acknowledgement to the first subsystem; wherein the first subsystem forwards the first output data to the output device only when the second output acknowledgement and third output acknowledgement have arrived in the first subsystem; wherein in each subsystem of the first, second and third subsystems a comparator is cyclically operated, which compares the first, second and third output data with one another and a respective comparator are operated in such that no further action is performed for each comparison in which all output data are the same as a result; wherein in a comparison in which deviations between items of output data are established, that subsystem of the first, second and third subsystems is recognized as being faulty via a majority decision in which deviations of its own output data from other output data are greatest, and on the basis of this result; wherein in an event that the first subsystem has been identified as being faulty, the second application relationship is transferred from the passive state into an active state and the first application relationship is correspondingly transferred from the active state into a passive state, and from then on the second output data is provided for the process via the output device; wherein the second and the third subsystems follow the first subsystem in time and the first subsystem implements exchanges of data via the communication paths asynchronously in time; wherein a first follow-up system is formed from the first subsystem and the second subsystem and a second follow-up system is formed from the first subsystem and the third subsystem; wherein synchronization data for the first follow-up system and the second follow-up system is identical and is transmitted by the first subsystem via multicast-based communication.
11. The method as claimed in claim 10, wherein the second subsystem sends a second cycle acknowledgement and the third subsystem sends a third cycle acknowledgement to the first subsystem, and a next new first program cycle is started in the first subsystem only when all acknowledgements have arrived.
12. The method as claimed in claim 10, wherein the communication of the first, second and third subsystems occurs via the communications network in accordance with Open Platform Communications United Architecture or OPC UA Time Sensitive Networking.
13. The method as claimed in claim 11, wherein the communication of the first, second and third subsystems occurs via the communications network in accordance with Open Platform Communications United Architecture or OPC UA Time Sensitive Networking.
14. The method as claimed in claim 10, wherein the communication of the first, second and third subsystems to the output device for a Profinet network is configured with a corresponding peripheral protocol.
15. The method as claimed in claim 11, wherein the communication of the first, second and third subsystems to the output device for a Profinet network is configured with a corresponding peripheral protocol.
16. The method as claimed in claim 12, wherein the communication of the first, second and third subsystems to the output device for a Profinet network is configured with a corresponding peripheral protocol.
17. The method as claimed in claim 10, wherein at least one subsystem of the first, second and third subsystems is provided in an IT infrastructure as a virtual subsystem formed as a service.
18. The method as claimed in claim 10, wherein in an event that the second subsystem forwards the output data via the active second application relationship to the output device, the third subsystem now sends the third output acknowledgement and the third cycle acknowledgement to the second subsystem and the second subsystem transmits the second output data to the output device only when the third output acknowledgement and the third cycle acknowledgement have arrived at the second subsystem.
19. A redundant automation system for controlling a technical process, the redundant automation system comprising: a first subsystem; a second subsystem; a third subsystem; an output device, the first subsystem, the second subsystem, the third subsystem and the output device being interconnected via a communications network; and communication paths which are configured between the first second and third subsystems for exchanging data; wherein the first subsystem is configured with a first control program with a first program cycle to output first output data via an active first application relationship to the output device in a cycle-oriented manner; wherein the second subsystem is configured with a second control program with a second program cycle in readiness to provide second output data for the output device via a second application relationship, wherein the third subsystem with a third control program with a third program cycle is configured in readiness to provide third output data for the output device via a third application relationship, wherein the first, second and third subsystems are configured to mutually provide respective calculated output data; wherein the second subsystem includes a second acknowledgement output device which is configured to send a second output acknowledgement and the third subsystem includes a third acknowledgement output device which is configured to send a third output acknowledgement; wherein the first subsystem include a release mechanism which is configured to pass on the first output data to the output device only when the second output acknowledgement and the third output acknowledgement have arrived in the first subsystem, wherein each of the first, second and third subsystems additionally includes a comparator which is configured to cyclically compare the first, second and third output data with one another and, and in an event of a comparison in which a result is that all the output data is the same, no further action is performed, and in an event of a comparison in which deviations between the items of output data are established, a subsystem of the first, second and third subsystems, in which the deviations of its own output data from the other output data are greatest, is recognized as being faulty by via a majority decision, a deviation detector is provided for this purpose; wherein the first subsystem is further configured to transfer the first application relationship from an active state into a passive state in the event that the first subsystem has been recognized as being faulty; wherein the second subsystem is further configured to transfer the second application relationship from the passive state into an active state, whereby from now on the second output data is made available via the output device for the process, a first follow-up system being formed from the first subsystem and the second subsystem, and a second follow-up system being formed from the first subsystem and the third subsystem; and wherein the first subsystem is configured to provide synchronization data for the first follow-up system and the second follow-up system via multicast-based communication.
20. The redundant automation system as claimed in claim 19, wherein the second acknowledgement output device is configured to send a second cycle acknowledgement to the first subsystem and the third acknowledgement output device is configured to send a third cycle acknowledgement to the first subsystem and the first subsystem is configured to start a new first program cycle only when all the acknowledgements have arrived.
21. The redundant automation system as claimed in claim 19, wherein at least one subsystem is arranged in an IT infrastructure as a virtual subsystem formed as a service.
22. The redundant automation system as claimed in claim 20, wherein at least one subsystem is arranged in an IT infrastructure as a virtual subsystem formed as a service.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The drawing shows an exemplary embodiment of the invention, in which:
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS
[0043]
[0044] The first subsystem 1 is formed as a master and accordingly the first subsystem 1 can output first output data A1 with a first control program P1 with a first program cycle Z1 in a cycle-oriented manner via an active first application relationship AR1 to the output device IO-Dev.
[0045] The second subsystem 2 is provided with a second control program P2 with a second program cycle Z2 and is in readiness, namely in a slave function, to provide second output data A2 for the output device IO-Dev via a second application relationship AR2.
[0046] The third subsystem 3 is provided with a third control program P3 with a third program cycle Z3 and is likewise in readiness to provide third output data A3 for the output means IO-Dev via a third application relationship AR3, where the three subsystems 1,2,3 are furthermore configured to provide their calculated output data A1,A2,A3 to one another via the communication paths KP12, KP13, KP23.
[0047] The second and the third subsystem 2,3 follow the first subsystem 1 in time and the first subsystem 1 exchanges the required data asynchronously in time via the communication paths KP12, KP13, where a first follow-up system N12 is formed from the first subsystem 1 and the second subsystem 2 and a second follow-up system N13 are formed from the first subsystem 1 and the third subsystem 3, and where the necessary synchronization data for the first follow-up system N12 and the second follow-up system N13 are identical and therefore advantageously have to be transmitted only once via a multicast-based communication from the first subsystem 1 to the other subsystems 2,3.
[0048] The embodiment of the subsystems 1,2,3 will be discussed in more detail with reference to
[0049] However, as in the now prevailing configuration of the redundant automation system 100, the first subsystem 1 has the leading control role for the technical process, and the second subsystem 2 and the third subsystem 3 each send their second output acknowledgement AQ2 or their third output acknowledgement AQ3 to the first subsystem 1 via the second acknowledgement output device QAM2 or the third acknowledgement output device QAM3.
[0050] As shown in
[0051] In order to detect a possible malfunction, each subsystem 1,2,3 according to
[0052] However, in the event of a comparison in which deviations between the output data A1,A2,A3 are determined, the subsystem 1,2,3, in which the deviation of its own output data A1,A2,A3 from the other output data A1,A2,A3 is greatest, is recognized as being faulty via a majority decision ME.
[0053] For this purpose, there is a deviation detector AEM, as shown in
[0054]
[0055] The second line T2 shows the deviation 1,-,1. The third line shows the deviation -,0,1. This results in a deviation frequency AH in the second line for the second subsystem 2, since a deviation from 1 exists twice, which in total yields the valence 2. Thus, based on the majority decision ME, it is determined that the second subsystem 2 must be regarded as faulty. Program scenarios would now occur in order to switch off the faulty subsystem, although the first subsystem 1 still has master functionality, the second subsystem 2 is switched off such that it cannot function as a redundant subsystem in the event of failure of the first subsystem 1, now only the third subsystem 3 could function as a redundant subsystem to the failed first subsystem 1.
[0056] In the event that the first subsystem 1 is considered to be faulty, the deviation frequency AH would be found in the first line T1 of the first subsystem 1.
[0057]
[0058] According to
[0059]
[0060] The method comprises forwarding, by the first subsystem 1 with a first control program P1 with a first program cycle Z1, first output data A1 to the output device IO-Dev in a cycle-oriented manner via a peripheral protocol PN, as indicated in step 710. Here, an active first application relationship AR1 is established between the first subsystem 1 and the output device IO-Dev for this purpose.
[0061] Next, in parallel to the first subsystem 1, by either (i) the second subsystem 2 with a second control program P2 with a second program cycle Z2 second output data A2 or (ii) the third subsystem 3 with a third control program P3 with a third program cycle Z3 third output data A3 is calculated in readiness for the assumption of control of the technical process, as indicated in step 720.
[0062] Next, a passive second application relationship AR2 is established between the second subsystem 2 and the output device IO-Dev and a passive third application relationship AR3 is established between the third subsystem 3 and the output device (IO-Dev), as indicated in step 730.
[0063] In accordance with the method, the first, second and third subsystems 1,2,3 are operated such that the first, second and third subsystems 1,2,3 have knowledge of one another via respective calculated output data A1, A2, A3.
[0064] In accordance with the method, the second subsystem 2 sends a second output acknowledgement AQ2, and the third subsystem 3 sends a third output acknowledgement AQ3 to the first subsystem 1.
[0065] Furthermore, the first subsystem 1 forwards the first output data A1 to the output device IO-Dev only when the second output acknowledgement AQ2 and third output acknowledgement AQ3 have arrived in the first subsystem 1.
[0066] In accordance with the method, moreover, in each subsystem of the first, second and third subsystems 1,2,3, a comparator V1,V2,V3 is cyclically operated, which compares the first, second and third output data A1,A2,A3 with one another and a respective comparator V1,V2,V3 are operated such that no further action is performed for each comparison in which all output data A1, A2, A3 are the same as a result.
[0067] In accordance with the method, in a comparison in which deviations between items of output data are established, that subsystem of the first, second and third subsystems 1,2,3 is recognized as being faulty via a majority decision ME in which deviations of its own output data A1,A2,A3 from other output data A1,A2,A3 are greatest, and on the basis of this result.
[0068] In accordance with the method, in an event that the first subsystem 1 has been identified as being faulty, the second application relationship AR2 is transferred from the passive state into an active state and the first application relationship AR1 is correspondingly transferred from the active state into a passive state, and from then on the second output data A2 is provided for the process via the output device IO-Device.
[0069] In accordance with the method, the second and the third subsystems 2,3 follow the first subsystem 1 in time and the first subsystem 1 implements exchanges of data via the communication paths KP12,KP13 asynchronously in time.
[0070] In accordance with the method, a first follow-up system N12 is formed from the first subsystem 1 and the second subsystem 2 and a second follow-up system N13 is formed from the first subsystem 1 and the third subsystem 3.
[0071] In accordance with the method, synchronization data for the first follow-up system N12 and the second follow-up system N13 is identical and is transmitted by the first subsystem 1 via multicast-based communication.
[0072] Thus, while there have been shown, described and pointed out fundamental novel features of the invention as applied to a preferred embodiment thereof, it will be understood that various omissions and substitutions and changes in the form and details of the methods described and the devices illustrated, and in their operation, may be made by those skilled in the art without departing from the spirit of the invention. For example, it is expressly intended that all combinations of those elements and/or method steps which perform substantially the same function in substantially the same way to achieve the same results are within the scope of the invention. Moreover, it should be recognized that structures and/or elements and/or method steps shown and/or described in connection with any disclosed form or embodiment of the invention may be incorporated in any other disclosed or described or suggested form or embodiment as a general matter of design choice. It is the intention, therefore, to be limited only as indicated by the scope of the claims appended hereto.