|Publication number||US6968242 B1|
|Application number||US 09/707,604|
|Publication date||Nov 22, 2005|
|Filing date||Nov 7, 2000|
|Priority date||Nov 7, 2000|
|Also published as||CA2396658A1, EP1334412A2, WO2002039198A2, WO2002039198A3|
|Publication number||09707604, 707604, US 6968242 B1, US 6968242B1, US-B1-6968242, US6968242 B1, US6968242B1|
|Inventors||Nan Shan Hwu, Jay Ward, David L. Kryger|
|Original Assignee||Schneider Automation Inc.|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (18), Referenced by (22), Classifications (6), Legal Events (3)|
|External Links: USPTO, USPTO Assignment, Espacenet|
The subject matter of the present application is related to the following commonly assigned applications, U.S. patent application Ser. No. 09/612,636, filed on Jul. 7, 2000, entitled “A Method And Apparatus For An Active Standby Control System On A Network” and U.S. patent application Ser. No. 09/707,690, filed simultaneously with this patent application, entitled, “A Method And Apparatus For An Active Standby Control System On A Network.” The contents of these Applications are expressly incorporated herein by reference.
The present invention relates to a control system. More particularly, the present invention relates to a control system utilizing a backup configuration of controllers on a network.
Controllers such as programmable logic controllers (PLC) have been implemented in duplex or back-up system configurations where downtime of a system cannot be tolerated. Such a control system delivers high reliability through redundancy. Generally, the duplex configuration incorporates a pair of PLCs assembled in a hot or active standby, or back-up, configuration wherein one PLC is operating in a primary mode and the other PLC is functioning in a secondary or standby/backup mode. The primary controller runs an application by scanning a user program to control and monitor a remote IO network. The other, secondary, controller acts as the active standby controller. The standby controller does not run the application and it does not operate the remote IO. The standby controller is updated by the primary controller with each scan. The standby controller is then ready to assume control of the control system within one scan if the primary controller fails to operate or is removed from operation.
The primary and secondary controllers are interchangeable and can be swapped or switched when desired. Either controller can be placed in the primary state. The active standby configuration requires the non-primary controller to be placed in the standby mode to secure the system's redundancy. The controllers continuously communicate with each other to ensure the operability of the control system. The communication among the controllers is used to determine if a swap of the controllers should be initiated due to a system failure or by election of an operator.
Factory automation systems are increasingly being integrated with communication networks. Control systems are being implemented on networks for remote monitoring and control of devices, processes, etc. System failures involving the primary mode controller that can shut down the control system are avoided by having a back-up controller readily available in hot/active standby mode to replace the failing primary mode controller.
Signal communication between device modules on a network requires network identifiers, i.e., Internet Protocol address, Media Access Control address; to be assigned to these devices throughout the network. Problems arise when the network device or controller fails and must be replaced. The failing primary controller on a network cannot be readily exchanged with a standby controller because the network identifier assigned to the network device, specifically the standby controller, is not readily associated with the primary controller.
Other drawbacks exist due to the physical structure of the control system. The control system utilizes a backplane for operably connecting modules for communicating throughout the network. Generally, data transfers are sent from a central processing unit (CPU) of the primary controller to a network interface module of the primary controller via the primary controller's backplane. A 10 Mb/sec fiber optic cable communicably links the pair of controllers wherein data flows between the network interface module of the primary controller and the network interface module of the secondary controller. From the secondary controller's network interface module, the data must again travel through a backplane to reach the CPU of the secondary controller. Communication between selected network modules involving the backplane hampers the transfer of data and adversely affects the performance of the data transfer. Due to the relatively slow backplane interface, this configuration is inadequate when faster data transfer rates on the control system are desired.
The present invention is provided to solve these and other problems.
The present invention is directed to a method and an apparatus for exchanging controllers of a control system configured in an active standby, duplex or redundant set-up. The configuration of the control system increases the rate and reliability of the data transfer between the active and standby controllers. It is an object of this invention to provide an active standby control system integrated on a communication network capable of replacing a controller without significantly disrupting the performance of the control system or the network.
One embodiment of the present invention is directed to a method of providing an active standby control system. A first (primary) and a second (secondary) controller, each controller having an operating state, are operably connected to each other and to a network. A network identifier, i.e., Internet Protocol address (IP), Media Access Control address (MAC); is associated with each controller. The operating state of each controller is sensed wherein the network identifier associated with each controller is determined by the operating state of each respective controller.
The control system operates normally until a failure in the primary mode controller is detected or a controller exchange is selected by an operator. Upon detecting a primary mode controller failure, the secondary mode controller configured in active standby is substituted in place of the failed primary mode controller. The network identifier initially associated with the original primary mode controller is associated with the newly substituted primary controller. Thus the network identifier of the control system's primary mode controller remains the same regardless of which controller is functioning as the primary mode controller. The exchange of the controllers is accomplished without significantly disrupting the performance of the overall control system by substantially suspending or delaying the network's operation. Accordingly, the associated network identifiers of the controllers are also exchanged. Alternatively, any combination of IP and MAC addresses of the controllers can be exchanged.
Yet another embodiment of the present invention is directed to an active standby system for a control system. The active standby system comprises a first and a second controller. Each controller has an operating state. A high speed fiber optic network cable operably connects the first and second controllers for transferring data between the controllers at a rate of at least 100 Mb/s. A network identifier is assigned to each controller and is responsive to the operating state of the respective controllers. Each controller comprises: a processor; a co-processor; an operating system executed by the processor; and, a co-operating system executed by the co-processor wherein the operating system and the co-operating system cooperate to transfer data between the first and second controllers.
A further embodiment of the present invention includes remote IO modules such as sensors, relays, gauges, valves, message displays, switches, limit switches, proximity switches, motor starters, motor controllers and any other like device as well as traditional IO modules for control systems; operably connected to the control system.
Other features and advantages of the invention, which are believed to be novel and nonobvious, will be apparent from the following specification taken in conjunction with the accompanying drawings in which there is shown a preferred embodiment of the invention. Reference is made to the claims for interpreting the full scope of the invention which is not necessarily represented by such embodiment.
While this invention is susceptible of embodiments in many different forms, there is shown in the drawings and will herein be described in detail preferred embodiments of the invention with the understanding that the present disclosure is to be considered as an exemplification of the principles of the invention and is not intended to limit the broad aspect of the invention to the embodiments illustrated.
Controllers have been integrated with control systems in an active, hot standby or backup configuration wherein the primary controller can be swapped or exchanged by operator personnel with a readily available backup controller when a failure to the primary controller is detected. Factory automation networks allow operator personnel to monitor the control system from a remote site. In an active standby configuration, a pair of controllers, preferably programmable logic controllers, are arranged in communication with each other. One of the controllers is designated a primary controller and actively monitors and controls a network while the other controller functions in a hot standby mode for backing up the primary controller. If the primary controller fails or is taken out of service, the backup controller will be swapped in its place without significantly disrupting network operations. An additional concern for a network is the network identifier associated with each network device. Each individual device on the network is assigned a network identifier, preferably an Internet Protocol (IP) address. Thus, the exchange of controllers on the network also requires the exchange of their respective network identifiers.
Existing control systems as shown in
The present invention significantly improves data transfer rates between the controllers by incorporating a higher rated fiber optic cable 17 and eliminating a significant portion of data transfers over the backplane. Data is transmitted from the primary to the active standby CPU over the 100 Mb/s fiber optic cable 17, preferably utilizing Ethernet 100 Mb/s.
The high end CPU 26 shown in
The direction of the data transfer is shown by the arrows in the
Specifically, the OS code initiates all hot-standby activity; prepares and controls the transfer of data to the CoPro shared memory (primary controller); retrieves data from the CoPro's shared memory and places it into the appropriate memory location (standby controller); interacts with the remote IO (RIO) head 16 for active standby diagnostics; and controls serial and MB+ address changes on the controller.
The CoPro code builds messages for transmission on the Ethernet connection (primary controller); processes incoming data messages and puts data in shared memory (standby controller); monitors the health of the Ethernet communication; initiates the healthy communication message (primary controller); monitors the active standby health communication message; and is responsible for all inter-station communication, i.e., change state, application program download requests, etc.
The transfer of data from the primary controller to the standby controller is preferably by blocks and includes: state RAM (located variables); all unlocated global variables; all instances of DFB and EFB data; SFC variable area and system bits and words. It is also possible to upload the configuration and application program from the primary controller and download it to the standby controller, thus providing an identical image and enabling the standby controller to take over as the primary controller.
The main processor 30 communicates with the co-processor 28 at the beginning of every scan. If the co-processor 28 reports any error, or does not respond within a predetermined period, the primary controller will attempt to transfer control to the standby controller through the RIO link 18. If the standby controller responds, the primary controller releases control and the standby controller will operate in stand-alone mode. If the standby controller does not respond to the primary controller's request to assume control, the primary controller will operate in stand-alone mode and continue to scan the IO.
When a controller has an error, it can report the error to the other controller by sending a message to the other controller through either the fiber optic cable 17 or the RIO link 18. The controllers 12 can also identify a “failure to respond error” by detecting a time-out during the link activity. To ensure that the standby controller can detect the error as soon as possible, the primary controller is responsible for keeping the links active. This is accomplished by transmitting a health communication message to the standby controller every 10 milliseconds when no information is being sent via the fiber optic cable 17; and every 5 ms if no communication is required with any IO drop 24 or RIO link 18. If the standby controller does not receive the message in the predetermined time, it will attempt to determine the cause of the failure and assume control if necessary.
Each controller 12 has three operating states, i.e., primary, secondary and offline. In the primary state, the controller 12 is running and exchanging IO data over the remote IO network 23. In the secondary state, the controller 12 is running, but is not exchanging IO data over the remote network 23. The primary controller can exit the primary state either due to a hardware failure or a self-check failure within the controller 12. The state of the secondary controller 12 will automatically transition to the primary state if the primary mode controller 12 leaves the primary state. When the primary controller 12 changes from primary to secondary or offline, the controllers 12 will swap their respective network identifiers, preferably IP addresses, and the new primary controller 12 will resume scanning. When the controllers 12 exchange IP addresses, it appears to the remote nodes 24 as if the primary controller has been reset.
In addition, operator personnel can instruct the control system 10 to change the state of the primary control module 12. A control module 12 in the offline state cannot enter the primary state without first going through the secondary state. The allowable hot standby state transitions for the controllers 12 are: one controller is in the primary state and the other controller is in the secondary state; one controller is in the primary state and the other controller is in the offline state; and both controllers are in the offline state.
When the controller 12 changes from secondary to primary mode, the controllers will exchange their respective network identifiers within ten to fifteen milliseconds. The exchange of network identifiers requires the controller to perform various cleanup activities. When a swap occurs, the primary will reset the IO scanner's connection prior to exchanging the IP addresses. This will minimize the time required by the new primary IO scanner to establish a connection with a remote device 24. The time to reset the IO scanner's connection is in the order of several milliseconds. The IO scanner will establish new connections and start scanning in approximately 200 milliseconds. Alternatively, a reverse address resolution protocol (RARP) request can be broadcast by the primary controller to discover its IP address. In this case, the primary controller broadcasts its physical address and a RARP server replies with the primary controller's IP address.
For the redundant control system to function properly, the primary and secondary controllers must be solving an identical logic program, which is updated on every scan by a data transfer of state RAM between the two controllers. By default, the standby controller is set to go offline if a logic mismatch is detected between the programs of the standby and primary controllers. A controller swap will not occur if the non-primary controller is offline. An operator of the control system can select to override the system default for a logic mismatch and thus allow a swap between controllers 12 to occur if a logic mismatch exists between the controllers.
Under normal operating conditions, both controllers 12 have the same application program loaded. System checks are in place to detect if there is a logic mismatch. A logic mismatch can occur when the application program is initially the same on both the primary and secondary controller, but an on-line change has occurred to the program of one of the controllers. A logic mismatch can also occur when the primary and standby controllers have different applications from the onset of the control system's execution. The system's default provides that when a mismatch exists, the standby controller is placed in the off-line state and a swap of the controllers is not allowed. However, there are situations when it is desirable to allow a logic mismatch to exist and to continue to operate the system in the active standby configuration. It is important to note that if the settings are configured to ignore a logic mismatch and a swap of the controllers is executed, the standby controller will assume the role of the primary controller and will execute a different application program from the previous controller 12.
Once an active standby control system is operating, it is normally not shut down, even for periodic maintenance. However, there are conditions where the user desires to modify the application program without disrupting the control system. One situation in which a user may desire to ignore a logic mismatch between the controllers is during on-line editing of one of the controller's programs. As is readily apparent, any edits executed on-line will immediately trigger a logic mismatch between the controllers, therefore the settings on the controller must be set accordingly to allow the difference between the two programs. After the edits have been made, the user can either use an application transfer feature or the processing unit 19 to reload the standby controller with the edited primary program.
The following steps are provided as an exemplification of the on-line editing sequence and are not to be used as a limitation to the present invention as claimed and disclosed within this application. The logic mismatch feature is enabled to allow the standby controller to remain on-line in the event that a logic mismatch between the controllers is detected. The user can now make any edits or modifications to the application program of the standby controller. After completion of the edits, the new program is tested by initiating a switch-over of the controllers. If unsuccessful, another switch-over can be initiated to return to the original program. If the edits to the program work as expected, an application transfer can be executed to synchronize the programs between the controllers. Finally, the logic mismatch feature is disabled. Generally, it will not matter whether edits to the program application are first made to the primary controller or the standby controller. However, any edits made to the application program of the primary controller are immediately executed.
Another situation where it is desirable to ignore a logic mismatch is when a systematic shutdown process is implemented in the control system. The systematic shutdown process requires the primary controller to be configured to control and monitor the normal operation of the control system and the standby controller is configured to control a systematic shutdown of the control system in the event of a failure to the primary controller. When a problem with the primary controller occurs, the controllers will swap and the systematic shutdown procedure of the new controller will be executed to shut down the control system. Thus, in this type of control system configuration, a logic mismatch exists between the controllers, yet it is undesirable to place the standby controller in an off-line mode.
Some controller application programs are written wherein the programmer controls the logical and physical storage of data. The check for a logic mismatch for these types of programs examines both the data and the location of the data. Other controller programs are written wherein the programmer only controls the logical storage of the data and not the physical storage of the data. In these types of programs, the storage of the data is dynamic and controlled by the platform of which the program is run. Therefore, the detection of a logic mismatch will not include examining the physical location of the stored data.
Other situations where it is desirable to ignore a logic mismatch exists where support of off-line modified projects are being downloaded to the standby controller or when getting up to date process data transferred from the active controller.
A transfer application feature provides the user with the ability to configure the standby controller from the primary controller. The transfer application copies the full program and ensures that the controllers have identical configurations. The transfer is accomplished over the communication link, preferably a fiber optic cable 17, operably connecting the control processing units of each controller 12. The user requests the transfer through the standby controller, preferably at a front panel keypad. The complete application program and data, including state RAM, will be copied from the primary controller to the standby controller. The standby controller will then validate the transferred program and if valid, the CPU will automatically start. The user can specify the operating mode to be executed after a program transfer to either “run” or “off-line.” The transfer can be executed using multiple controller scans to minimize the per scan impact on the primary controller. During the transfer, the control system is not considered redundant because the standby controller is not capable of assuming control if the primary controller fails.
Scan and transfer times of the controllers can be reduced by configuring a portion of RAM as an area not to be included in the transfer of data between the controllers. Any area of data designated as a non-transfer area will not be included during a transfer of state RAM data from the primary to the standby controller. The system operator has flexibility in determining how much or how little state RAM is selected for transfer. However, state RAM that is associated with critical IO functions should be transferred in every scan. The operator can also select how much data gets transferred in all scans and how much gets transferred in pieces over multiple scans.
The controllers' executive programs are also upgradeable without having to shutdown the control system. During the upgrade, the control system is not considered to be in a redundant configuration. If the primary controller should fail prior to the upgrade being complete, the standby controller will not be available to gain control as the primary controller.
While specific embodiments have been illustrated and described, numerous modifications come to mind without significantly departing from the spirit of the invention and the scope of protection is only limited by the scope of the accompanying claims.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US4872106 *||Feb 4, 1987||Oct 3, 1989||New Forney Corp.||Industrial process control system with back-up data processors to take over from failed primary data processors|
|US4958270 *||Jan 23, 1989||Sep 18, 1990||Honeywell Inc.||Method for control data base updating of a redundant processor in a process control system|
|US5008805 *||Aug 3, 1989||Apr 16, 1991||International Business Machines Corporation||Real time, fail safe process control system and method|
|US5148433||Mar 13, 1989||Sep 15, 1992||Square D Company||Transfer network interface|
|US5313386 *||Jun 11, 1992||May 17, 1994||Allen-Bradley Company, Inc.||Programmable controller with backup capability|
|US5367646 *||Jul 15, 1992||Nov 22, 1994||Bull S.A.||Universal device for coupling a computer bus to a controller of a group of peripherals|
|US5526489 *||Mar 19, 1993||Jun 11, 1996||3Com Corporation||System for reverse address resolution for remote network device independent of its physical address|
|US5777874 *||Feb 12, 1996||Jul 7, 1998||Allen-Bradley Company, Inc.||Programmable controller backup system|
|US5832228 *||Jul 30, 1996||Nov 3, 1998||Itt Industries, Inc.||System and method for providing multi-level security in computer devices utilized with non-secure networks|
|US5912814 *||May 7, 1997||Jun 15, 1999||Allen-Bradley Company, Llc||Redundant multitasking industrial controllers synchronized data tables|
|US5966304 *||Apr 29, 1997||Oct 12, 1999||Allen-Bradley Company, Llc||Redundant automation controller permitting replacement of components during operation|
|US5997166 *||Jun 18, 1997||Dec 7, 1999||Allen-Bradley Company, Llc||Redundant industrial controller storing module and chassis level redundancy status|
|US6049825 *||Dec 15, 1997||Apr 11, 2000||Fujitsu Limited||Method and system for switching between duplicated network interface adapters for host computer communications|
|US6097882 *||Jun 30, 1995||Aug 1, 2000||Digital Equipment Corporation||Method and apparatus of improving network performance and network availability in a client-server network by transparently replicating a network service|
|US6542510 *||Jun 8, 1999||Apr 1, 2003||Sony Corporation||Network communication system|
|US6584019 *||May 26, 2000||Jun 24, 2003||Micron Technology, Inc.||Leakage detection in flash memory cell|
|US6615324 *||Jan 7, 2000||Sep 2, 2003||Cygnal Integrated Products, Inc.||Embedded microprocessor multi-level security system in flash memory|
|US6640314||Dec 3, 1999||Oct 28, 2003||Schneider Automation||Redundant automation system|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US7139239 *||Oct 5, 2004||Nov 21, 2006||Siemens Building Technologies, Inc.||Self-healing control network for building automation systems|
|US7330473 *||Sep 4, 2002||Feb 12, 2008||Rockwell Automation Technologies, Inc.||System and methodology providing network data exchange between industrial control components|
|US7437596||Oct 4, 2006||Oct 14, 2008||Siemens Building Technologies, Inc.||Self-healing control network for building automation systems|
|US7453800 *||Oct 30, 2001||Nov 18, 2008||Fujitsu Limited||Communications apparatus and congestion control method|
|US7877625||Jun 27, 2008||Jan 25, 2011||Invensys Systems, Inc.||Efficient architecture for interfacing redundant devices to a distributed control system|
|US7958348 *||Jul 14, 2004||Jun 7, 2011||Nagravision S.A.||Method for securing an electronic certificate|
|US8122288 *||Jan 6, 2010||Feb 21, 2012||Fujitsu Limited||Redundant system, control apparatus, and control method|
|US8132127||Mar 25, 2009||Mar 6, 2012||Rockwell Automation Technologies, Inc.||System and methodology providing adaptive interface in an industrial controller environment|
|US8510402||Aug 20, 2008||Aug 13, 2013||Schneider Automation Inc.||Management of redundant addresses in standby systems|
|US8516296||Jan 4, 2011||Aug 20, 2013||Invensys Systems, Inc.||Efficient architecture for interfacing redundant devices to a distributed control system|
|US20030002517 *||Oct 30, 2001||Jan 2, 2003||Ryo Takajitsuko||Communications apparatus and communications control method|
|US20040064553 *||Jul 18, 2003||Apr 1, 2004||Kjellberg Rikard M.||Computer network solution and software product to establish error tolerance in a network environment|
|US20040153714 *||Sep 9, 2003||Aug 5, 2004||Kjellberg Rikard M.||Method and apparatus for providing error tolerance in a network environment|
|US20050015587 *||Jul 14, 2004||Jan 20, 2005||Philippe Stransky||Method for securing an electronic certificate|
|US20060074502 *||Oct 5, 2004||Apr 6, 2006||Mcfarland Norman R||Self-healing control network for building automation systems|
|US20070244573 *||Oct 4, 2006||Oct 18, 2007||Siemens Building Technologies, Inc.||Self-Healing Control Network For Building Automation Systems|
|US20090228122 *||Mar 25, 2009||Sep 10, 2009||Rockwell Automation Technologies, Inc.||System and methodology providing adaptive interface in an industrial controller environment|
|US20100049717 *||Feb 25, 2010||Ryan Michael F||Method and systems for sychronization of process control servers|
|US20100049871 *||Feb 25, 2010||Schneider Automation Inc.||Management of Redundant Addresses in Standby Systems|
|US20100218032 *||Jan 6, 2010||Aug 26, 2010||Fujitsu Limited||Redundant system, control apparatus, and control method|
|US20110099416 *||Apr 28, 2011||Mendu Krishna R||Efficient Architecture for Interfacing Redundant Devices to a Distributed Control System|
|US20130024015 *||Feb 1, 2012||Jan 24, 2013||Byung Hoon Yoo||Method for controlling building automatic controll device|
|U.S. Classification||700/82, 714/11, 714/4.11|
|Nov 7, 2000||AS||Assignment|
Owner name: SCHNEIDER AUTOMATION INC., MASSACHUSETTS
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:HWU, NAN SHAN;WARD, JAY;PICON, GERARD;AND OTHERS;REEL/FRAME:011285/0125
Effective date: 20000823
|May 19, 2009||FPAY||Fee payment|
Year of fee payment: 4
|Mar 13, 2013||FPAY||Fee payment|
Year of fee payment: 8