Safety controller with simplified interface
40 claims: 3 independent, 37 dependent
- 1A safety controller comprising:a primary (18a) and partner (18b) Independent controller communicating on a communication bus;a communication interface (52) for receiving safety program information from a user to the primary controller;a transfer program executable on the primary and partner controller to automatically load the safety program information received by the primary controller via the communications bus to the partner controller;and a synchronization program executable by the primary and partner controller to execute the safety program information on the primary and partner controller and compares execution of the safety program information and to enter a safety state when this execution differs;characterized in that the communication interface is adapted to confirm the existence of the partner controller having the transfer and synchronization program and is adapted to receive safety program information only when the confirmed partner controller is communicating with the primary controller on the communications bus.
- 7The safety controller of claim to wherein the transfer program transfers the safety program information in portions and receives an acknowledgement for each portion.
- 24A method of operating a safety controller having a primary (18a) and partner (18b) independent controller communicating on a communication bus comprising the steps of:a1) confirming the existence of the partner controller having a transfer and synchronization program to receive safety program information only when the confirmed partner controller is communicating with the primary controller on the communications bus a2) receiving the safety program information from a user to the primary controller;b) transferring the safety program information received by the primary controller via the communications bus to the partner controller;and c) executing the safety program information on the primary and partner controller and comparing execution of the safety program information to enter a safety state when this execution differs.
Independent claims3
89 paragraphs in 4 sections, as filed
0001--
0002--
BACKGROUND OF THE INVENTION
0003The present invention relates to industrial controllers used for real-time control of industrial processes, and in particular to "high reliability" or "safety" industrial controllers appropriate for use in devices intended to protect human life and health.
0004Industrial controllers are special-purpose computers used in controlling industrial processes. Under the direction of a stored, controlled program, an industrial controller examines a series of inputs reflecting the status of the controlled process and changes a series of outputs controlling the industrial process. The inputs and outputs may be binary, that is, on or off, or analog, providing a value within a substantially continuous range. The inputs may be obtained from sensors attached to the controlled process, and the outputs may be signals to actuators on the controlled process.
0005"Safety systems" are systems intended to ensure the safety of humans working in the environment of an industrial process. Such systems may include the electronics associated with emergency-stop buttons, light curtains, and other machine lockouts. Traditionally, safety systems have been implemented by a set of redundant circuits separate from the industrial control system used to control the industrial process with which the safety system is associated. Such safety systems have been "hardwired" from switches and relays including specialized "safety relays" which provide comparison of redundant signals and internal checking of fault conditions such as welded or stuck contacts.
0006Hard-wired safety systems using duplicate wiring have proven cumbersome in practice because of the difficulty of installing and connecting hardwired components and duplicate sets of wiring, particularly in complex control applications, and in part because of the difficulty of troubleshooting and maintaining a hard-wired system whose logic can be changed only by re-wiring.
0007For this reason, there has been considerable interest in developing industrial controllers that may implement safety systems using programs simulating the operation of the physical components in hard-wired safety systems. Industrial controllers are not only easier to program but may provide reduced installation costs by eliminating long runs of redundant wiring in favor of a high speed serial communication network and by providing improved troubleshooting capabilities. <patcit id="pcit0001" dnum="US37359202P" dnum-type="L"><text>U.S. Patent applications 60/373,592 filed April 18, 2002</text></patcit>; <patcit id="pcit0002" dnum="US10034387P" dnum-type="L"><text>10/034,387 filed December 27, 2001</text></patcit>; <patcit id="pcit0003" dnum="US09667145P" dnum-type="L"><text>09/667,145 filed September 21 2000</text></patcit>; <patcit id="pcit0004" dnum="US09666438P" dnum-type="L"><text>09/666,438 filed September 21, 2000</text></patcit>; and <patcit id="pcit0005" dnum="US09663824P" dnum-type="L"><text>09/663,824 filed September 18, 2000</text></patcit>, assigned to the assignee of the present invention, describe the implementation of safety systems using industrial controller architectures.
0008High reliability can be obtained in an industrial controller system by employing two industrial controllers which simultaneously execute the same control program and compare their operations to detect faults. Configuring a dual controller system requires work by the operator who must now ensure not only that a first control program is correctly installed and running in a primary controller but that an identical control program has been loaded into a partner controller and that the two controllers are communicating to operate in synchrony. Editing of the program in the primary controller is complicated by the need to ensure that the identical editing is performed on the program in the partner controller. The work required to configure and maintain the dual controller system is normally in addition to work required to configure and maintain a separate standard controller devoted to standard control tasks separate from the tasks of the safety system. Personnel working on both systems must learn two sets of procedures and protocols.
0009These complexities and costs can deter the use of industrial control systems for safety applications.
0010<patcit id="pcit0006" dnum="US6104971A"><text>US 6 104 971 A</text></patcit> improves a control apparatus in such a manner that the programming of several programmable memory units, which are assigned to control units, is always simple and can be carried out free of error. A second interface is provided in which programs and data received via a first interface can be transmitted from a first control unit to a second control unit. These programs and data are provided for storage in a second programmable memory unit for storing programs and data for the second control unit. The second programmable memory unit is assigned to the second control unit. The first control unit is in a position to selectively store new programs and/or data transmitted to it via the first interface into the memory unit assigned to it or to transmit to another control unit for storage in the memory unit assigned thereto. For this reason, all programs and data, which are to be stored inside memory units within the control apparatus, can be transmitted by the first interface to the first control unit. This interface is designed to connect an external apparatus. By providing only a single interface, which is designed to connect an external apparatus, it is therefore precluded that error programming occurs by connecting an external programming apparatus to an incorrect interface.
SUMMARY OF THE INVENTION
0011It is the object of the present invention to improve prior art systems. This object is solved by the subject matter of the independent claims. Preferred embodiments are defined by the dependent claims.
0012The present invention provides an improved interface for a dual controller safety system in which the user interacts with a single apparent controller in a manner similar to a user's interaction with a standard industrial control system. A single control program is downloaded to or edited on the apparent controller and is received by a primary controller of the dual controller pair. The primary controller automatically confirms the existence of a partner controller, forwards a copy of the control program to the partner controller, and coordinates synchronous execution of the control program with the partner controller. In one embodiment in which both standard control tasks and safety control tasks can be executed on the same industrial control system, the controller pair distinguishes safety tasks from standard tasks to properly allocate them among the primary and partner controllers.
0013Specifically, the present invention provides a safety controller having a first and second independent controller communicating on a communication bus, including, for example, a network, backplane or serial link. A communication interface receives safety program information from a user at the first controller. A transfer program executable on the primary and partner controller automatically loads the safety program information received by the first controller to the partner controller. A synchronization program executable by the primary and partner controller executes the safety program information on the primary and partner controller and compares execution of the safety program information to enter a safety state when this execution differs.
0014Thus, it is one aspect of the invention to provide the user with a simple and familiar "single controller" interface when using a dual controller safety system. It is a further object of the invention to provide a simple mechanism for ensuring that both controllers have the same control information.
0015The communication interface may confirm the existence of a partner controller and receive the safety program information only when the partner controller is communicating with the primary controller on the communication bus.
0016It is thus another aspect of the invention to automatically confirm the existence of the proper components for a safety control system before accepting safety program information.
0017The transfer program may transfer safety program information from the primary controller to the partner controller and return an acknowledgment from the partner controller to the primary controller indicating that the transfer was complete and correct.
0018Thus it is another aspect of the invention to automatically ensure integrity in the transfer process.
0019The primary controller may hold an identification value indicating to a user device, such as a programming terminal having safety program information, that the primary controller may receive safety program information. The partner controller does not hold the identification value.
0020Thus, it is another aspect of the invention to provide a simple and unambiguous method of automatically identifying the primary controller to receive program information such as may be detected by a programming tool without user involvement.
0021The safety program information may also hold an identification value indicating that it is part of a safety application and the transfer program may check this identification value to automatically load only the safety program information into the partner controller.
0022Thus it is another aspect of the invention to allow a safety dual controller system to accept both safety program information and standard program information and to properly allocate this information between two controllers in a manner invisible to the user.
0023The primary controller and partner controller may be contained in independent housings separately attachable to a communication bus.
0024Thus, it is another aspect of the invention to provide a migration path from a standard control system to a safety dual controller system by the addition of a partner controller in a separate housing while providing a constant programming environment to the user.
0025The housing of the primary controller may include a user accessible switch defining operation of the safety controller in a "run" and "program" state, whereas the housing of the second unit need not include the user accessible switch. The transfer program may communicate the "run" and "program" state to the partner controller and the synchronization program may execute the safety program information in the primary and partner controller according to the "run" and "program" states.
0026Thus it is another aspect of the invention to provide a single-controller view both via the communication bus and with respect to manually operated switches on the housings.
0027The second housing may hold fewer components than the first housing to provide limited functionality.
0028Thus is another aspect of the invention to provide for a cost savings to the user in implementing safety systems by eliminating redundant features of the controllers that do not contribute to high reliability.
0029These particular aspects and advantages may apply to only some embodiments falling within the claims and thus do not define the scope of the invention.
BRIEF DESCRIPTION OF THE FIGURES
0030<figref idref="f0001">Fig. 1</figref> is a simplified perspective view of a dual controller system suitable for use with the present invention including a primary and partner controller communicating on a backplane and a programming terminal communicating with the primary controller on a dedicated interface;
0031<figref idref="f0002">Fig. 2</figref> is an electrical schematic representation of the primary and partner controllers of <figref idref="f0001">Fig. 1</figref>;
0032<figref idref="f0002">Fig. 3</figref> is logical representation of the primary and secondary controllers of <figref idref="f0002">Fig. 2</figref> showing the allocation of safety tasks and standard tasks;
0033<figref idref="f0003">Fig. 4</figref> is a representation of a processing unit suitable for the primary and partner controllers showing a processor with a memory protection unit and connected memory;
0034<figref idref="f0003">Fig. 5</figref> is a flowchart of a transfer program executed in the primary controller for receiving programming instructions and data;
0035<figref idref="f0004">Fig. 6</figref> is a functional diagram of an operating system used by the primary and partner controllers of <figref idref="f0002">Fig. 3</figref> such as provides a task list for scheduling tasks for execution, the task list indicating whether the task is a safety or standard task;
0036<figref idref="f0004">Fig. 7</figref> is a flow chart showing execution of the safety task on the primary and partner controllers;
0037<figref idref="f0005">Fig. 8</figref> is a flowchart similar to that at <figref idref="f0004">Fig. 7</figref> showing execution of a standard task on the primary and partner controllers;
0038<figref idref="f0005">Fig. 9</figref> is a representation of two regularly scheduled tasks for checking the memory lock and comparing variables between the primary and partner controllers;
0039<figref idref="f0005">Fig. 10</figref> is data flow chart showing the synchronization of input data per one step of <figref idref="f0004">Fig. 7</figref> using a two-stage buffer to ensure uniformity of asynchronous input values;
0040<figref idref="f0005">Fig. 11</figref> is a simplified view of <figref idref="f0002">Fig. 3</figref> showing the effect of asymmetrical loading of standard and safety program information in preventing corruption of standard program information by the safety program; and
0041<figref idref="f0005">Fig. 12</figref> is a figure similar to that of <figref idref="f0005">Fig. 11</figref> showing the effect of asymmetrical loading of standard and safety program information in preventing the standard program from undetected modification of safety program information.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
0042"High reliability" and "safety" systems are those that guard against the propagation of erroneous data or signals by detecting error or fault conditions and signaling their occurrence and/or entering into a predetermined fault state. High reliability systems may be distinguished from high availability systems which attempt to remain operating after some level of failure. The present invention may be useful in both systems, however, and therefore, as used herein, high reliability and safety should not be considered to exclude high availability systems that provide safety operation.
0043Referring to <figref idref="f0001">Fig. 1</figref>, a dual controller safety system 10 suitable for use with the present invention provides a chassis 12 into which a set of control modules 14 may be inserted according to the needs of the particular control application. Each of the modules 14 provides an electrical connector 24 at its rear (not shown) that may connect with a corresponding connector 24' on the front surface of a backplane 26 forming a rear wall of the chassis 12. The connectors 24' are joined by conductive traces so that modules 14 may be freely inserted into the chassis 12 to interconnect on the backplane 26 according to methods well known in the art.
0044The control modules 14 may generally include a power supply 16, a network module 20 and one or more input/output (I/O) modules 22, a primary controller 18a, and a partner controller 18b.
0045The power supply 16 may provide a source of regulated power over power conductors of the backplane 26 to the other modules 14 while the network module 20 provides a connection between communication conductors of the backplane 26 and a high speed serial network 34 such as an Ethernet or the like. The network 34 which may communicate with a remote chassis 12' (not shown) and other modules 14 including I/O modules 22 and other controllers 18. Both the backplane 26 and the network 34 (and interfaces thereto) may support a safety protocol such as that described in <patcit id="pcit0007" dnum="US373592P" dnum-type="L"><text>U.S. Patent application 60/373,592</text></patcit> referenced above.
0046The I/O modules 22 may communicate with various sensors and actuators 44a and 44b on a controlled process 40. The controlled process 40 may include standard processes 42 such as those of controlling factory equipment or the like, and safety processes 46 related to a safety applications where sensors and actuators 44a are those associated with the standard processes 42 and sensors and actuators 44b are associated with the safety processes 46. As will be described, the dual controller safety system 10 allows execution of both safety control and standard control programs sharing some of the same hardware.
0047The primary controller 18a and partner controller 18b each provide at least one independent processor and memory for executing a control program. Independent does not require that processor and memories be physically separated, however, that is preferred. In the preferred embodiment, the primary controller 18a and the secondary controller 18b are contained in separate housings, each independently attachable to the backplane 26. In this case, primary controller 18a includes a key switch 28 according to conventions known in the art that allows the primary controller 18a to be placed in a "run" or "programming" mode or other states that may be desirably controlled manually. The primary controller 18a also includes a serial communication port 30 such as an RS-232 port that allows it to communicate directly with a programming terminal 32. The programming terminal 32 may include standard programming tools modified for this application as will be described below.
0048The secondary controller does not include either the key switch 28 or the communications port 30 and may have other cost saving omissions.
0049Alternatively, the primary controller 18a and partner controller 18b may be placed in one housing provided the independence of the internal processing units to be described is maintained. The primary controller 18a and partner controller 18b may alternatively be in separate racks 12 connected by a high speed serial link.
0050Referring now to <figref idref="f0002">Fig. 2</figref>, primary controller 18a may include an interface circuit 50 communicating via connector 24 with the backplane 26 and an interface circuit 52 communicating with the port 30, both connected by an internal bus 54 to a processing unit 56. Either interface circuits 50 or 52 may be used to receive programming information from the programming terminal 32 shown in <figref idref="f0001">Fig. 1</figref> and interface circuit 50 may be used to communicate between primary controller 18a and partner controller 18b or any of the other modules for the communication of safety data, safety program information or other signals as will be described.
0051The internal bus 54 also connects with key switch 28 so that the key switch 28 (as well as each of the interface circuits 50 or 52) may be monitored by the processing unit 56.
0052The processing unit 56 includes a processor 58 and a memory 60, the processor 58 communicating directly with the memory 60 by means of a memory bus 57 separate from the internal bus 54 with the memory 60. Multiple processors may also be used. Memory may be a combination of volatile and non-volatile memory. In a multiprocessor system, each processor may have dedicated memory as well as shared memory. The memory 60 holds programs for an operating system and for a number of control tasks designated as either safety tasks or standard tasks. The operating system provides for the scheduling of tasks so that each task is executed in its entirety prior to the next task being invoked, however, other conventional operating systems may also be used. The memory 60 also holds I/O data received from and transmitted to the I/O modules 22. In addition, the memory 60 includes a fixed identification number 62 indicating that it is part of a primary controller 18a and suitable for execution of standard and safety tasks and for direct communication with a user and stored in non-volatile memory.
0053The partner controller 18b is similar to primary controller 18a but has a reduced part count eliminating interface circuit 52 and key switch 28, but providing an interface circuit 50, a processor 58, and a memory 60 all similar to those of primary controller 18a. An important exception is that partner controller 18b holds an identification number 66 in its memory indicating that it is a partner controller 18b incapable of operating alone or executing standard tasks. The memory 60 of the partner controller 18b also holds programs for an operating system and for a number of safety control tasks only. Together the programs held by the memories 60 of primary controller 18a and the partner controller 18b provide a number of system programs including a transfer and synchronization program as will be described below. As will be understood in the art, the division of the following program functions between the primary controller 18a and partner controller 18b or as between tasks and the operating system may be varied provided the described functions are maintained.
0054A typical I/O module 22 or network module 20 may include a first interface circuit 50 communicating over internal bus 54 with processing unit 56 and second interface circuitry 61 providing for I/O signals or communication signals as have been described.
0055Referring now to <figref idref="f0001">Figs. 1</figref> and <figref idref="f0002">3</figref>, a user may operate the programming terminal 32 to enter a series of program instructions 70 here represented as rungs in a ladder logic program of a type well known in the art. The instructions may be grouped together into a task 72 representing a set of instructions that are logically executed together and which may be scheduled according to the operating system which implements multi-task scheduling methods as are generally understood in the art. Each of the instructions 70 includes variables 76 representing input and output values corresponding generally to the states of sensors and actuators 44a and 44b or internal program values. These variables 76 may have initial values that will be recorded with the task 72. The instructions may include "safety instructions" specific to safety applications that can only be executed within a safety task.
0056During the generation of the task 72, a programming tool on the programming terminal 32 will prompt the user to identify each of the variables 76 as a safety variable or a standard variable and the task 72 as either a safety task or a standard task. This status will be embedded in a file 73 holding the task 72 as a safety identifier 78 associated with the task and variable scoping identifiers 80 in the variable definitions portion of the file 73. Note that the present invention allows variables 76 within either a safety task 72 or standard task 72 to be designated either as standard variables 76 or a safety variable 76. A compiling program of standard design enforces this variable isolation such that standard tasks 72 may read but not write the safety variables 76 and safety tasks 72 may neither read nor write standard variables 76. Additional hardware and architectural support for this scoping is also provided as will be described below.
0057Referring now to <figref idref="f0002">Fig. 3</figref>, primary controller 18a will execute both standard tasks 72a associated with standard processes 42, and also safety tasks 72b associated with safety processes 46 using a single processing unit 56 operating in time division multiplex
0058In this regard, the primary controller 18a will hold both standard data 76a and safety data 76b in the same physical memory 60 accessible by the processor 58 but in different regions 84 of the memory 60, one region 84a reserved for standard data 76a and one region 84b reserved for safety data 76b as will be described. In order to provide for hardware variable scoping, as will be described, certain of the standard variables 76a from region 84a may be also copied into the region 84b allocated for safety variables 76 as indicated by arrow 77.
0059The partner controller 18b contains only the safety tasks 72b and the safety data 76b in physical memory 60 including those copied values of the standard data 76a as has been described.
0060Referring now to <figref idref="f0003">Fig. 4</figref>, the processor 58 of both the primary controller 18a and partner controller 18b incorporates a memory protection unit (MPU) 81 of a type known in the art. The MPU (81) controls access by the processor 58 to memory 60 over the memory bus 57 through the use of hardware incorporated into the circuitry of the processor 58. Generally the MPU 81 employs an internal register 82 listing in entries 85 regions 84 of the memory 60 as may be flexibly defined and designating each region either as a read/write region (R/W) indicating that the region may be read or written to by the processor 58 or a read only region (R) designating that the data of this region may only be read by the processor 58 or unused indicated by an (X) indicating that this memory may be neither written to nor read from. Originally, all memory 60 is marked as a neither read nor write area indicated by (X). Access to the memory is controlled by hardware that physically prevents reading or writing according to the register settings.
0061Referring now to <figref idref="f0003">Fig. 5</figref> and <figref idref="f0001">Fig. 1</figref>, when a control program comprised of a number of tasks 72 is completed, it may be downloaded to the primary controller 18a only of the dual controller safety system 10 from the programming terminal 32 or another source by means of port 30 or network 34. The programming terminal 32 identifies the primary controller 18a by means of the identification number 62 contained in memory 60 of the primary controller 18a and opens a connection with that primary controller 18a. The primary controller 18a must be in the program mode as indicated by key switch 28 or from the programming terminal 32.
0062Referring also to <figref idref="f0004">Fig. 6</figref>, at this time each task 72 is loaded into a task queue 86 used by the operating system 73a of the primary controller 18a to schedule each task 72 for execution using scheduling techniques well known in the art of multitasking operating systems. The task queue 86 indicates that the task 72 is a standard task or a safety task. A transfer program 90 in the primary controller 18a identifies each task 72 as a safety task or a standard task at decision block 92 based on the safety identifier 78.
0063The transfer program 90 in the primary controller 18a then receives each task 72 for downloading. If the task 72 is a standard task, then at process block 94, a region 84a of memory 60 in the primary controller 18a is cleared and at process block 96 the task is loaded into that region 84a. In the present invention, the regions 84a will be initially designated read or write in the register 82 for the MPU 81.
0064Referring again to <figref idref="f0003">Fig. 5</figref>, if at decision block 92, the task being received is a safety task, then at process block 98, the primary controller 18a attempts to confirm that there is a partner controller 18b by establishing a link between the primary controller 18a and the partner controller 18b by opening necessary connections on the backplane 26 or on the network 34 (for remote controllers 18) confirming that the partner controller 18b is working and has the necessary operating system 73b and is not otherwise linked to another primary controller 18a. The confirmation process of block 98 works with a corresponding process block 100 in the partner controller 18b.
0065If partnership is verified, each controller 18a and 18b records this relationship and partner controller 18b enters the safety task 72b in a task queue similar to that of task queue 86. Unlike the task queue 86, however, the task queue of the partner controller 18b will contain only safety tasks and the operating system 73b will schedule safety tasks only in response to the schedule followed by the operating system 73a. Generally, for real time control, each safety task 72b and standard task 72a is scheduled to be repeatedly executed at no less than a predetermined period to provide for suitable response time needed for control applications.
0066At succeeding process blocks 102 and 104 executed in the primary controller 18a and partner controller 18b, respectively, regions 84b in memory 60 in each of the primary controller 18a and partner controller 18b is cleared for the receipt of the safety task 72b. The regions 84b will be initially designated read only in the register 82 for the MPU 81 of the primary controller 18a and partner controller 18b.
0067At process block 106 and 108 executed in the primary controller 18a and partner controller 18b, respectively, the safety task 72b is accepted from the programming terminal 32 at the primary controller 18a and forwarded to the partner controller 18b as indicated by arrow 110 to be accepted by the partner controller 18b per process block 108 which replies with an acknowledgment signal 112 indicating that the task 72b has been properly received, being complete and correct. Generally, the safety task 72b is transmitted in portions and these process blocks 106 and 108 are repeated as indicated by the next loop of process block 114 for the primary controller 18a and 116 for the partner controller 18b until all portions are transmitted.
0068Once the safety task 72b has been fully received at the primary controller 18a and transmitted without error to the partner controller 18b, the transfer program is done as indicated by process block 118 and awaits possible loading of an additional task. Any errors in these blocks results in an error condition being reported to the user and the safety program being prevented from executing.
0069As a result of the transfer process, the tasks loaded into the primary controller 18a and secondary controller 18b are identical, and therefore if the user needs to upload the tasks, this may be accomplished with communication solely with the primary controller 18a as is done with a conventional controller. A similar procedure is used for program portions describing incremental on line editing of the tasks, that is, the user communicates with the primary controller 18a and the editing information is passed along to the secondary controller 18b by the primary controller 18a.
0070Referring now to <figref idref="f0004">Fig. 7</figref>, upon completion of the loading of the necessary standard tasks 72a and safety tasks 72b , the dual controller safety system 10 may be placed in a "run" mode, for example, through the use of key switch 28 shown in <figref idref="f0001">Fig. 1</figref> which communicates this state to the partner controller 18b by a message over the backplane 26 whose transmission is indicated by process block 120 executed in primary controller 18a and whose reception is indicated by process block 122 executed in partner controller 18b.
0071At a first process block 124, executed by the operating system 73 a of the primary controller 18a, the primary controller 18a schedules either a safety task 72b or standard task 72a for execution. Generally the operating system of 73b of partner controller 18b follows the scheduling by primary controller 18a and needs to provide fewer functions than the operating system 73a.
0072Assuming a safety task 72b is selected per task select block 124, the operating system 73a begins a synchronization program 121 starting with the forwarding of a message 127 to the operating system 73b of partner controller 18b indicating that a safety task 72b is about to be executed so that the operating system 73b can find that task 72b in its task queue 86 as indicated by process block 126.
0073The operating system 73a and 73b then proceed to succeeding process blocks 128 and 130, respectively, where the registers 82 of the MPUs 81 for the memory region 84b holding the tasks 72b and its variables 76 are checked to ensure that these regions 84b are correctly in read only mode. If the regions 84b of the memories 60 are not in the read only mode, this indicates a problem with the previous locking of the memory upon conclusion of a safety task and an error is generated and further execution is suspended until the user corrects the problem.
0074If the lock check of process blocks 128 and 130 indicates that the regions 84b were locked (e.g., in read only status), then the regions 84b are unlocked (e.g., moved to read/write status) and operating systems 73a and 73b proceed to process blocks 132 and 134, respectively. This unlocking step could alternatively be performed by the safety task itself as a first step so long as task execution is not interrupted by the operating system.
0075At these process blocks, the inputs for the safety tasks 72b representing input values of the safety variables 76 are synchronized for each of the primary controllers 18a and partner controller 18b.
0076Referring momentarily to <figref idref="f0005">Fig. 10</figref>, generally input values 76b are received solely by primary controller 18a asynchronously through interface circuit 50 to be held in asynchronous buffer 140 formed as part of memory 60. This buffer 140 may fill up in an ordered manner according to a scan conducted asynchronously with task scheduling by the operating system 73a or may fill up on a random basis according to changes in input variables 76 that trigger a communication of messages to the primary controller 18a. In the present invention, it is necessary that the input variables 76 exist as identical copies in the memories 60 of the primary controller 18a and partner controller 18b. This synchronization is accomplished by an ordered read out of buffer 140 simultaneously into clean buffers 142 and 144 in primary controllers 18a and partner controller 18b, respectively, during process blocks 132 and 134. In this process, all input data flows from the primary controller 18a to the partner controller 18b so as to eliminate any possibility that different input variables 76 would be in the controllers 18a and 18b as might occur if input variables 76 were communicated directly to each of the primary controller 18a and partner controller 18b separately.
0077This same procedure allows "forcing" of inputs to be synchronized between the primary controller 18a and the secondary controller 18b. The primary controller 18a places the forced inputs into the buffer 140 with a tag to prevent them from being overwritten, and the forced input is naturally conveyed to the secondary controller 18b.
0078Referring again to <figref idref="f0004">Fig. 7</figref>, upon completion of the synchronization of inputs, as indicated by process blocks 146 and 148, the operating systems 73a and 73b execute the safety tasks 72b independently in the primary controller 18a and partner controller 18b, respectively, without further synchronization. This provides for extremely rapid execution of the safety tasks 72a without undue communication delays.
0079At succeeding process blocks 150 and 152, in the primary controller 18a and partner controller 18b, respectively, primary controller 18a sends its output variables to partner controller 18b and partner controller 18b sends its output variables to primary controller 18a in a cross-checking process. Each of the primary controller 18a and partner controller 18b then compares its own output values to those computed by the other controller. If there is an error, a safety state is entered, otherwise each primary controller 18a and partner controller 18b proceeds to respective process blocks 154 and 156 where they generate a combined output value set for transmission over the network 134 or backplane 26 according to a high reliability protocol. The safety state, as is understood in the art, invokes a set of predefined output values and ceases operation of the control process notifying the operator of an error.
0080In the present invention, a series of combined data words are generated containing a convenient block of output values computed by primary controller 18a and a complement of the same output values computed by partner controller 18b.
0081After completion of the generation of the output word described by process blocks 154 and 156, the safety task 72b is complete and the operating system locks the region 84b of memory 60 back to read only mode as indicated by process blocks 158 and 160 and proceeds to the next task as scheduled. Alternatively, the locking could be performed by the finals step of the safety task itself, so long as task execution is not interrupted by the operating system.
0082Referring to <figref idref="f0004">Figs. 6</figref> and <figref idref="f0005">8</figref>, if at process block 124 of <figref idref="f0004">Fig. 7</figref>, the task select block selects a standard task 72a, then the operating system 73a simply begins execution of that task on primary controller 18a by reading of the input variables 76 as indicated by process block 162. Execution of the standard task indicated by process block 164 and transmission of output values as indicated by process block 166. Each of these steps is well understood in the art. The partner controller 18b does not execute the standard task but waits for another safety task. The transmission of outputs needs not observe the safety protocol as described.
0083Referring now to <figref idref="f0005">Fig. 9</figref>, the operating system 73a and 73b of primary controller 18a and partner controller 18b may periodically execute two additional standard tasks, for example, once every few hours. The first task indicated by process block 170 is a standard task that attempts to write data from each safety task identified by task queue 86. If the write fails, for example, by generating an exception, the task completes successfully. Otherwise, if the write is successful, a safety state may be invoked or an error reported to the user because memory lock was not in place.
0084The second task 172 provides a comparison at periodic intervals of the internal safety variables 76b that form neither inputs nor outputs of the standard processes 42 and 46, between primary controller 18a and partner controller 18b to check that they are in fact identical, even if the output variables may not show any deviation between the execution of the safety tasks 72a. The variables to be compared are buffered while execution of other tasks is stopped.
0085Referring now to <figref idref="f0005">Fig. 11</figref>, software scoping of variables between safety task 72b and standard tasks 72a is augmented by the architecture of the present invention. If, for example, safety tasks 72b in primary controller 18a and partner controller 18b, attempt to read or write from memory regions 82a associated with standard tasks 72a and standard variables 76a, the safety task 72b in partner controller 18b will be unable to access the address which will not exist in the partner controller 18b. This failure will either result in an exception, if an erroneous value is read, or will result in a discrepancy between the values retrieved by the tasks 72b producing an error in their ultimate outputs. If standard task information were in both of the primary controller 18a and partner controller 18b, such a failure would operate symmetrically and might not be detected.
0086Referring to <figref idref="f0005">Fig. 12</figref>, conversely, if a standard task 72a attempts to write from memory regions 82b holding safety task 72b or safety variables 76b, it will be blocked by the MPU or if it does successfully write, it will write only to region 82b associated with primary controller 18a and not to region 82b associated with partner controller 18b. Again, this asymmetrical writing will result in a change in one of the programs 72b only that will result in a difference in the output variables compared at block 150 and 152 of <figref idref="f0004">Fig. 7</figref>.
0087The present invention can be part of a "safety system" used to protect human life and limb in the industrial environment. Nevertheless, the term "safety" as used herein is not a representation that the present invention will make an industrial process safe or that other systems will produce unsafe operation. Safety in an industrial process depends on a wide variety of factors outside of the scope of the present invention including: design of the safety system, installation, and maintenance of the components of the safety system, and the cooperation and training of individuals using the safety system. Although the present invention is intended to be highly reliable, all physical systems are susceptible to failure and provision must be made for such failure.
0088It is specifically intended that the present invention not be limited to the embodiments and illustrations contained herein, but include modified forms of those embodiments including portions of the embodiments and combinations of elements of different embodiments as come within the scope of the following claims.
0089In summary, a safety controller with redundant controllers, each executing safety tasks and comparing their results, provides an improved interface in which a user interacts with a single processor and the second processor is invisible. The interacting processor provides for the transmission of programs and variables to both processors when they are safety tasks and coordinates synchronization of the two programs and comparison of their operation all without additional user input.
Contents4
5 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| EP3629114B1 | Cited by | European Patent Office (EPO) | Examiner |
| EP1291744A2 | Cites | European Patent Office (EPO) | – |
| WO0137058A1 | Cites | World Intellectual Property Organization (WIPO) | – |
| US6104971A | Cites | United States of America | – |
| US6170044B1 | Cites | United States of America | – |
10 members in 2 offices; this record represents the family
Priority claims2
| Document | Office | Kind | Date |
|---|---|---|---|
| 663864 | United States of America | – | |
| 66386403 | United States of America | A |
Members10
| Document | Office | Kind | |
|---|---|---|---|
| EP1515205A2 | European Patent Office (EPO) | A2 | |
| US2005060508A1 | United States of America | A1 | |
| EP1517203A2 | European Patent Office (EPO) | A2 | |
| US2005091410A1 | United States of America | A1 | |
| EP1515205A3 | European Patent Office (EPO) | A3 | |
| US7228390B2 | United States of America | B2 | |
| US7328370B2 | United States of America | B2 | |
| EP1517203A3 | European Patent Office (EPO) | A3 | |
| EP1517203B1This record | European Patent Office (EPO) | B1 | |
| EP1515205B1 | European Patent Office (EPO) | B1 |
59 legal events, as 4 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Opt-out of the competence of the unified patent court (upc) registeredP01 | P01 | EP | |
| Gb: european patent ceased through non-payment of renewal feeCeasedGBPC | GBPC | EP | |
| Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal feeWithdrawnR119 | R119 | DE | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Opposition rejectedOpposition27O | 27O | EP | |
| Opposition rejectedOppositionORIGINAL CODE: 0009273PLBN | PLBN | EP | |
| Communication despatched that opposition was rejectedOppositionORIGINAL CODE: EPIDOSNREJ1PLCK | PLCK | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: OPPOSITION REJECTEDSTAA | STAA | EP | |
| Appeal procedure closedAppealORIGINAL CODE: EPIDOSNNOA9OAPBU | APBU | EP | |
| Epo decision maintaining patent unamended now finalR100 | R100 | DE | |
| Opposition filed (corrected)OppositionR26 | R26 | EP | |
| Opposition data, opponent's data or that of the opponent's representative modifiedOppositionORIGINAL CODE: 0009299OPPOPLAB | PLAB | EP | |
| Fee paymentPLFP | PLFP | FR | |
| Fee paymentPLFP | PLFP | FR | |
| Fee paymentPLFP | PLFP | FR | |
| Date of receipt of statement of grounds of appeal recordedAppealORIGINAL CODE: EPIDOSNNOA3OAPBQ | APBQ | EP | |
| Fee paymentPLFP | PLFP | FR | |
| Appeal reference modifiedAppealORIGINAL CODE: EPIDOSCREFNOAPAH | APAH | EP | |
| Appeal reference deletedAppealORIGINAL CODE: EPIDOSDREFNOAPAW | APAW | EP | |
| Date of receipt of notice of appeal deletedAppealORIGINAL CODE: EPIDOSDNOA2OAPAY | APAY | EP | |
| Appeal reference recordedAppealORIGINAL CODE: EPIDOSNREFNOAPBM | APBM | EP | |
| Date of receipt of notice of appeal recordedAppealORIGINAL CODE: EPIDOSNNOA2OAPBP | APBP | EP | |
| Opposition filed (corrected)OppositionR26 | R26 | EP | |
| Opposition data, opponent's data or that of the opponent's representative modifiedOppositionORIGINAL CODE: 0009299OPPOPLAB | PLAB | EP | |
| Opposition filed (corrected)OppositionR26 | R26 | EP | |
| Opposition filed (corrected)OppositionR26 | R26 | EP | |
| Opposition data, opponent's data or that of the opponent's representative modifiedOppositionORIGINAL CODE: 0009299OPPOPLAB | PLAB | EP | |
| Opposition data, opponent's data or that of the opponent's representative modifiedOppositionORIGINAL CODE: 0009299OPPOPLAB | PLAB | EP | |
| Reply of patent proprietor to notice(s) of opposition receivedOppositionORIGINAL CODE: EPIDOSNOBS3PLBB | PLBB | EP | |
| Opposition filed (corrected)OppositionR26 | R26 | EP | |
| Opposition data, opponent's data or that of the opponent's representative modifiedOppositionORIGINAL CODE: 0009299OPPOPLAB | PLAB | EP | |
| Opposition filed against patentOppositionR026 | R026 | DE | |
| Opposition filedOpposition26 | 26 | EP | |
| Notice of opposition and request to file observation + time limit sentOppositionORIGINAL CODE: EPIDOSNOBS2PLAX | PLAX | EP | |
| Opposition filedOppositionORIGINAL CODE: 0009260PLBI | PLBI | EP | |
| Dpma publication of mentioned ep patent grantGrantedR096 | R096 | DE | |
| Designated contracting statesAK | AK | EP | |
| European patent grantedGrantedFG4D | FG4D | GB | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| Grant fee paidORIGINAL CODE: EPIDOSNIGR3GRAS | GRAS | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOSNIGR1GRAP | GRAP | EP | |
| Information provided on ipc code assigned before grantRIC1 | RIC1 | EP | |
| Information provided on ipc code assigned before grantRIC1 | RIC1 | EP | |
| Designation fees paidAKX | AKX | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Information provided on ipc code assigned before grantRIC1 | RIC1 | EP | |
| Information provided on ipc code assigned before grantRIC1 | RIC1 | EP | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 1517203
- Application
- 40209470
Titles3
- German
- Sicherheitssteuerung mit vereinfachter Schnittstelle
- English
- Safety controller with simplified interface
- French
- Commande de sécurité avec une interface simplifiée
Classification
- CPC, 7
- G05B9/03
- G05B19/0426
- G05B19/0428
- G05B2219/23294
- G05B2219/23295
- G05B2219/24186
- G05B2219/24187
- IPC, 2
- G05B19 042
- G05B9 03
Designated states3
- Contracting states, 3
- Germany
- France
- United Kingdom
