1. Field of the Invention
The invention relates to an automation device and method for operating the automation device, which includes a CPU module that is configured to effect read or write access to local peripherals that are each provided with two interface modules that are each wired up in ring form to an input/output controller, where peripheral access operations are executed via one of the rings or via both rings, and where a redundancy manager that is provided for each ring is used to logically interrupt the respective ring in a normal mode and to initiate ring reconfiguration for this ring in the event of a physical ring interruption.
2. Description of the Related Art
Methods and automation devices are known in the field of automation engineering, and to increase the availability of the communication link between the input/output controllers (I/O controllers) of an automation unit and the local peripheral units (local peripheral, I/O devices), the link is of redundant design, and a media redundancy protocol (MRP) is also provided. In normal mode, the respective redundancy manager or respective MRP manager logically interrupts the respective ring, where the redundancy manager is able to form part of the respective input/output controller and has two interfaces (two ports) for data transmission. The logical ring interruption prevents the information transmitted from the CPU module of the automation unit to the peripheral units, e.g., messages, packets or data, from looping in the respective ring, such as on account of an erroneous peripheral address. This means that the respective ring wiring logically represents a linear structure based on the respective ring interruption.
It may now arise that between two peripheral units, for example, one of the ring wiring elements is physically interrupted or one of the peripheral units has failed, and therefore the redundancy manager is no longer able to receive the test information supplied to the ring via one port at its other port. In this case, the redundancy manager initiates reconfiguration of the communication path by indicating the changed topology or the changed linear structure to the peripheral units. The redundancy manager then uses both interfaces or uses both ports to transmit the information, which means that the information is transmitted in opposite directions. During what is known as a dead time, which represents the period of this ring reconfiguration or the period of the “training” with respect to the new linear structure, the CPU module is unable to effect read or write access to the peripheral units, which has a disruptive effect on the control of a technical process that needs to be controlled.
It is therefore an object of the invention to provide an automation device and a method that is used to reduce the dead time on account of a physical interruption in the ring wiring or on account of a unit that has failed.
This and other objects and advantages are achieved in accordance with the invention by providing an automation device and method in which the automation device particularly has a large volume of project data, i.e., a large number of peripheral units, in which one or more ring reconfigurations so that long dead times can usually be expected, where the CPU module is able to effect read or write access to the peripheral units during this actual ring reconfiguration.
In one exemplary embodiment of the invention, a user prescribes, in the course of project planning for the local peripherals, whether in the event of the physical ring interruption the peripheral access operations are executed via the other ring. By way of example, the user prescribes that peripheral access operations are meant to be effected by the other ring only for “time-critical” peripherals.
In a further embodiment of the invention, a high-availability automation device is implemented. Here, the device has two automation units that each have a CPU module and two input/output controllers, these input/output controllers each being wired up in ring form to one of the interface modules of the local peripherals. One of these automation units is the leader in respect of the peripheral access operations, which means that process initial values or write access operations are accomplished only by one of the two automation units. Only in the event of one automation unit failing does the other automation unit undertake control of the technical process and execute the peripheral access operations.
Other objects and features of the present invention will become apparent from the following detailed description considered in conjunction with the accompanying drawings. It is to be understood, however, that the drawings are designed solely for purposes of illustration and not as a definition of the limits of the invention, for which reference should be made to the appended claims. It should be further understood that the drawings are not necessarily drawn to scale and that, unless otherwise indicated, they are merely intended to conceptually illustrate the structures and procedures described herein.
The invention and the refinements and advantages thereof are explained in more detail below with reference to the drawing, which illustrates an exemplary embodiment of the invention and in which:
The elements that are the same in
It should be understood that the automation units 2, 3 have further modules, e.g., modules 23, 24, 25, 33, 34, 35, which may be in the form of analog and/or digital input/output modules, in the form of communication modules or in the form of further modules that are suitable for the operation of the respective automation unit 2, 3. Furthermore, it should be understood that the respective CPU module 2c, 3c may be configured to undertake the tasks of the two input/output controllers or master modules 21, 22, 31, 32, which entails a higher burden for these CPU modules 2c, 3c, however.
It is subsequently assumed that the automation unit 2 is operated as a master automation unit and is therefore the leader with respect to the control of the technical process (process control). By contrast, the automation unit 3 operates as a reserve automation unit, with both automation units 2, 3 processing the same control program for the process control, but access to the peripherals 4, 5 being affected only by the master automation unit 2. The automation unit 3 effects read or write access to the peripherals 4, 5 only if the automation unit 2 has failed, which is indicated to the automation unit 3 via synchronization lines 6, 7. Here, the automation unit 3 undertakes mastership for the process control.
For each of the rings R1, R2 of the automation device 1, at least one redundancy manager is provided. In the present exemplary embodiment, the automation device 1 has redundancy managers R21, R22, R31, R32, which are part of the respective input/output controller 21, 22, 31, 32 of the master automation unit and the reserve automation unit 2, 3. The redundancy manager R21 of the master automation unit 2 logically interrupts the ring R1 and the redundancy manager R22 logically interrupts the ring R2, which is illustrated in the drawing via shaded squares. Based on these logical interruptions in the rings R1, R2, two linear structures are provided in a logical terms. The redundancy managers R31, R32 of the reserve automation unit 3 logically short the rings R1, R2, which means that the information to be transmitted via the rings R1, R2 can be forwarded. These redundancy managers R31, R32 logically interrupt the rings R1, R2 only if the automation unit 3 has undertaken mastership following failure of the automation unit 2.
It is subsequently assumed that the CPU module 2c of the automation unit 2 accesses the peripherals 4, 5 via the input/output controller 21, the ring R1 and the interface modules 41, 51. As a result, only the information or data transmitted via the ring R1 are regarded as valid. The fact that the data transmitted via the ring R1 are rated as valid is indicated by the input/output controller 21 to these interface modules 41, 51 via an identifier provided for this purpose in the data or data stream transmitted via the ring R1. By contrast, the data transmitted by the ring R2 are rated as invalid, which the input/output controller 22 indicates to these interface modules 42, 52 likewise via an identifier provided for this purpose in the data transmitted via this ring R2. In addition, the redundancy manager R21 uses the interface S21 of the input/output controller 21 and uses the ring R1, for example, at prescribed intervals of time to transmit test data that the redundancy manager R21 uses to check the continuity of the ring R1.
In the event of the interface S22 of the input/output controller 21 receiving these test data, this indicates that the connection is still active, which means that the ring R1 is physically uninterrupted. In the same way, the redundancy manager R22 checks the continuity of the ring R2, where it is subsequently assumed that the ring R2 is uninterrupted.
In the event of ring R1 being physically interrupted, on the other hand, e.g., on account of wire breakage at a point denoted by X in the drawing, the test data are not received at the interface S22, which indicates a physical ring interruption. Here, the redundancy manager R21 of the automation unit 2 initiates ring reconfiguration, with the redundancy manager R21, the input/output controller 21 or the CPU module 2c immediately activating the input/output controller 22. Based on this activation, the subsequent peripheral access operations are effected via the input/output controller 22, the ring R2 and the interface modules 42, 52, i.e. the data transmitted via the ring R2 are regarded as valid for further processing. The fact that these data that are now transmitted by the ring R2 are valid is again indicated by the input/output controller 22 to the interface modules 42, 52 via an identifier provided for this purpose in the data or data stream transmitted by the ring R2. By contrast, the data transmitted by the ring R1 are rated as invalid, which the input/output controller 21 indicates to the interface modules 41, 51 likewise via an identifier provided for this purpose in the data transmitted by this ring R1. Based on the peripheral access made possible in this manner via the ring R2 during or before termination of the reconfiguration of the ring R1, the dead time is shortened.
During the peripheral access operations that are to be executed by the ring R2, the redundancy manager R21 reconfigures the ring R1 which, as explained, means that the redundancy manager R21 “trains” the automation unit 3 and the peripheral units 4, 5 for the new linear structure in a conventional manner. This indicates to these units 3, 4, 5 that for the ring R1 the access operations occur in opposite directions, which is indicated by dashed arrows P1, P2 in the drawing.
Whether, following the ring reconfiguration of the ring R1, the data transmitted via the new linear structure in the directions P1 and P2 (new connection via linear structure “active”) or the data transmitted via the ring R2 (connection via ring 2 “active”) can be rated as valid is again indicated to the units 3, 4, 5 via an appropriate identifier in the data stream to be transmitted, in the manner described.
The method further comprises logically interrupting, by a redundancy manager provided for each individual ring (R1, R2) of the two rings, a respective ring (R1, R2) in a normal mode and initiating ring reconfiguration for the respective ring (R1, R2) in an event of a physical ring interruption, as indicated in 320.
The peripheral access operations are now executed for at least one of the local peripherals (4, 5) via another ring (R2) of the two individual rings, as indicated in step 330.
Next, the peripheral access operations for at least one of the local peripherals (4, 5) are executed via the other (R2) of the two individual rings in an event of the ring reconfiguration being initiated for one of the rings (R1), as indicated in step 340.
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.
Number | Date | Country | Kind |
---|---|---|---|
13195546 | Dec 2013 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
7944818 | Barthel | May 2011 | B2 |
20020196735 | Hayes | Dec 2002 | A1 |
20040223503 | Lynch | Nov 2004 | A1 |
20050010843 | Iwamitsu | Jan 2005 | A1 |
20070047472 | Florit | Mar 2007 | A1 |
20070053298 | Ke | Mar 2007 | A1 |
20090059947 | Barthel | Mar 2009 | A1 |
20110249551 | Rollins | Oct 2011 | A1 |
Number | Date | Country |
---|---|---|
4242438 | Jun 1994 | DE |
2034668 | Mar 2009 | EP |
2224642 | Sep 2010 | EP |
Number | Date | Country | |
---|---|---|---|
20150154130 A1 | Jun 2015 | US |