WO2022064654A1 - 冗長化システム、制御方法及びプログラム - Google Patents

冗長化システム、制御方法及びプログラム Download PDF

Info

Publication number
WO2022064654A1
WO2022064654A1 PCT/JP2020/036388 JP2020036388W WO2022064654A1 WO 2022064654 A1 WO2022064654 A1 WO 2022064654A1 JP 2020036388 W JP2020036388 W JP 2020036388W WO 2022064654 A1 WO2022064654 A1 WO 2022064654A1
Authority
WO
WIPO (PCT)
Prior art keywords
cpu unit
unit
control
expansion
system cpu
Prior art date
Application number
PCT/JP2020/036388
Other languages
English (en)
French (fr)
Inventor
吉徳 津野
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2020/036388 priority Critical patent/WO2022064654A1/ja
Priority to JP2021518802A priority patent/JP6925570B1/ja
Publication of WO2022064654A1 publication Critical patent/WO2022064654A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements

Definitions

  • This disclosure relates to redundant systems, control methods and programs.
  • Patent Document 1 performs a process of resetting the control system in which the abnormality has occurred and removing the abnormality in the control system when a temporary abnormality occurs in the control system controlled by the redundant system due to noise or the like. In the meantime, it is disclosed that continuous control is performed by the other control system and the system is normally restored as a redundant system.
  • the purpose of the present disclosure is to provide a redundant system that can shorten the time from the occurrence of an expansion cable abnormality in one system to the restoration as a redundant system.
  • the redundancy system controls a control system CPU unit that controls a controlled device, a standby CPU unit that can control the controlled device in place of the control CPU unit, and a standby CPU unit. It is equipped with a system CPU unit and a standby system CPU unit and a plurality of expansion base units connected in a string via an expansion cable, and the expansion base units are connected to each other via a multiplexed expansion cable and are a control system.
  • the CPU unit detects the occurrence of a communication error of the extension cable used among the multiplexed additional cables
  • the standby CPU unit that controls instead of the control CPU unit is the control CPU unit.
  • the restart is instructed, and the control system CPU unit sets another extension cable among the multiplexed extension cables in the communication path.
  • the figure which shows the structure of the redundancy system which concerns on Embodiment 1 of this disclosure The figure which shows the structure of the basic base unit which concerns on Embodiment 1 of this disclosure.
  • the figure which shows the structure of the CPU unit which concerns on Embodiment 1 of this disclosure The figure which shows the structure of the routing table which concerns on Embodiment 1 of this disclosure.
  • a flowchart showing an example of the operation of the system switching process by the CPU unit according to the first embodiment of the present disclosure A flowchart showing an example of the operation of the restart process by the CPU unit according to the first embodiment of the present disclosure.
  • the redundancy system 1000 is, for example, a control system that acquires a sensor value from a sensor and controls a machine tool based on the sensor value.
  • the redundancy system 1000 includes a control device 1a, a control device 1b, a control device 2a, and a control device 2b.
  • the control device 1a and the control device 1b are communicably connected by a tracking cable TC.
  • the control device 1a and the control device 2a are communicably connected by an extension cable C11.
  • the control device 1b and the control device 2a are communicably connected by the extension cable C12.
  • control device 2a and the control device 2b are communicably connected by the extension cable C21 and the extension cable C22.
  • the control device 2b and another control device are communicably connected by the extension cable C31 and the extension cable C32.
  • the other control device may be communicably connected to another control device by an extension cable.
  • control device 1a and the control device 1b may be collectively referred to as the control device 1 below.
  • control device 2a and the control device 2b may be collectively referred to as the control device 2. The same applies to other configurations described later.
  • control device 1 is duplicated by the control device 1a and the control device 1b. Further, in the redundant system 1000, the extension cable C21 and the extension cable C22 duplicate the extension cable connecting the control device 2a and the control device 2b. Further, in the redundant system 1000, each control device 2 is connected in series to the control device 1.
  • the control device 1 includes a basic base unit 10, a CPU unit 11, and a power supply unit 12.
  • the redundancy system 1000 includes a control device 1a and a control device 1b, and the CPU unit 11a of the control device 1a and the CPU unit 11b of the control device 1b are connected by a tracking cable TC, so that the control device 1 is duplicated. ing.
  • the CPU unit 11 and the power supply unit 12 are connected to a slot (not shown) provided in the basic base unit 10.
  • the CPU unit 11 controls a sensor and a machine tool connected to the I / O unit of the control device 1 or the control device 2.
  • the CPU unit 11 communicates with another CPU unit 11 connected by the tracking cable TC. Further, as will be described in detail later, the CPU unit 11 switches the output connector used in the expansion base unit 20 by transmitting a switching control signal to the expansion base unit 20.
  • the power supply unit 12 supplies electric power to the basic base unit 10 and the CPU unit 11.
  • the control device 1 may include a plurality of power supply units 12. Further, the I / O unit may be connected to the slot of the basic base unit 10. Details of the configuration of the CPU unit 11 will be described later.
  • the basic base unit 10 communicates with a unit connected to a slot (not shown), and communicates with an expansion base unit 20 connected by an expansion cable.
  • the basic base unit 10 includes an output connector 101.
  • the extension cable C11 is connected to the output connector 101a of the basic base unit 10a, and the extension cable C12 is connected to the output connector 101b of the basic base unit 10b. Details of the configuration of the basic base unit 10 will be described later.
  • control device 1 can control the sensor and the machine tool connected to the I / O unit 21 of the control device 2.
  • the control device 2 includes an expansion base unit 20, an I / O unit 21, and a power supply unit 22.
  • the I / O unit 21 and the power supply unit 22 are connected to a slot (not shown) provided in the expansion base unit 20.
  • the I / O unit 21 is communicably connected to a sensor and a machine tool (not shown).
  • the power supply unit 22 supplies electric power to the expansion base unit 20 and the I / O unit 21.
  • the expansion base unit 20 communicates with a unit connected to a slot (not shown) and communicates with another base unit connected by an expansion cable.
  • the control device 1 can communicate with the control device 2 and control the sensor and the machine tool connected to the I / O unit 21.
  • the control device 2 may include a plurality of I / O units 21 or a plurality of power supply units 22. Sensors and machine tools are examples of controlled devices according to the present disclosure.
  • the expansion base unit 20 includes an input connector 201, an input connector 202, an output connector 211, and an output connector 212.
  • the expansion cable C11 is connected to the input connector 201a
  • the expansion cable C12 is connected to the input connector 202a
  • the expansion cable C21 is connected to the output connector 211a
  • the expansion cable C22 is connected to the output connector 212a.
  • the extension cable C21 is connected to the input connector 201b
  • the extension cable C22 is connected to the input connector 202b
  • the extension cable C31 is connected to the output connector 211b
  • the extension cable C32 is connected to the output connector 212b. That is, each expansion base unit 20 is connected in series. Further, since the expansion base unit 20a is connected to the basic base unit 10a and the basic base unit 10b described later, each expansion base unit 20 is connected in series to the basic base unit 10.
  • the expansion base unit 20 By providing the expansion base unit 20 with two input connectors and two output connectors, it is possible to duplicate the expansion cable for connecting the expansion base units 20 to each other. Further, since the expansion base unit 20 includes two input connectors, two duplicated control devices 1, that is, the control device 1a and the control device 1b can be connected to the expansion base unit 20a. Details of the configuration of the expansion base unit 20 will be described later.
  • the expansion base unit 20 is an example of the expansion base unit according to the present disclosure.
  • the expressions "input” and “output” here are based on the signal flow from the base unit in the front stage to the expansion base unit in the rear stage. Therefore, the connector used for communication with the base unit in the front stage is an "input connector”, and the connector used for communication with the expansion base unit in the rear stage is an “output connector”.
  • the “base unit in the previous stage” may be either a basic base unit or an expansion base unit.
  • FIG. 2 shows the configuration of the basic base unit 10a as a representative
  • the configuration of the basic base unit 10b is also the same.
  • the basic base unit 10 includes an output connector 101, one or more slots 102, and a bus BB.
  • the output connector 101 and the slot 102 are communicably connected to the bus BB.
  • the output connector 101 is communicably connected to the input connector of the expansion base unit 20a in the subsequent stage via an expansion cable.
  • the output connector 101a is communicably connected to the input connector 201a of the subsequent expansion base unit 20a via the expansion cable C11.
  • the slot 102 is a slot connected to the bus BB and to which units such as the CPU unit 11 and the power supply unit 12 can be connected.
  • the slot 102 communicatively connects the connected unit and the bus BB.
  • the CPU unit 11 connected to the slot 102 communicates with the expansion base unit 20a via the bus BB, the output connector 101, and the expansion cable. Further, the CPU unit 11 also communicates with the expansion base unit 20 in the stage after the expansion base unit 20a via each expansion base unit 20 in the stage before the expansion base unit 20.
  • the CPU unit 11 includes a control unit 110, a first communication unit 115, a second communication unit 116, and a storage unit 117.
  • the first communication unit 115 is a communication interface that can be inserted into the slot 102, for example.
  • the second communication unit 116 is a communication interface into which, for example, a tracking cable TC can be inserted.
  • the storage unit 117 stores the control program executed by the control unit 110. Further, the storage unit 117 functions as a work memory when the control unit 110 executes the control program.
  • the storage unit 117 includes, for example, a ROM (ReadOnlyMemory) for storing a control program and a RAM (RandomAccessMemory) that functions as a work memory.
  • the storage unit 117 stores the determination result of normality / abnormality of the expansion cable
  • the CPU unit 11 stores the routing table 118 for confirming the abnormality content of the expansion cable and setting the normal expansion cable in the communication path.
  • FIG. 4 shows an example of the routing table 118.
  • FIG. 4 shows an example of the routing table 118.
  • the column of the extension cable Cx1 determination result stores the normal / abnormal determination results of the extension cables C11, C21, and Cn1 in order from the top, and "normal”, “abnormal”, and “abnormal”, respectively. It is stored as “normal”.
  • the normal / abnormal determination results of the extension cables C12, C22, and Cn2 are stored in order from the top, and are stored as "normal", "normal", and "normal”, respectively. ..
  • the normal / abnormal determination is performed when the CPU unit 11 is started, when a predetermined time has elapsed, when an error occurs, and the like, and the determination result is stored.
  • control unit 110 reads out and executes the control program stored in the storage unit 117.
  • the control unit 110 includes, for example, a processor such as an MPU (Micro Processing Unit) or a CPU (Central Processing Unit).
  • MPU Micro Processing Unit
  • CPU Central Processing Unit
  • the control unit 110 communicates with each unit connected to the basic base unit 10 and the expansion base unit 20 via the first communication unit 115.
  • the control unit 110 particularly communicates with the I / O unit 21 connected to the expansion base unit 20 and controls the sensor and the machine tool connected to the I / O unit 21.
  • control unit 110 monitors the state of the other CPU unit 11 via the second communication unit 116, and when both itself and the other CPU unit 11 are in the normal state, communicates with the other CPU unit 11. , Only one of itself and the other CPU unit 11 is adjusted to communicate with each unit via the first communication unit 115.
  • control unit 110 functions as an abnormality determination unit 111, an abnormality location detection unit 112, a switching control unit 113, and a restart processing unit 114 by executing the control program.
  • the abnormality determination unit 111 determines whether or not there is an abnormality in the communication between the CPU unit 11 and another unit.
  • the other units include not only the units connected to the basic base unit 10 but also the units connected to each expansion base unit 20 in the subsequent stage after the basic base unit 10.
  • the determination of whether or not there is an abnormality in communication is, for example, whether or not a response is returned from the transmission target I / O unit 21 when the CPU unit 11 transmits a signal to access any of the I / O units 21. Judgment is made by.
  • the abnormality determination unit 112 determines that there is an abnormality in the communication between the CPU unit 11 and another unit, the abnormality determination unit 112 detects which portion of the communication path has an abnormality. How to detect the abnormal part will be described later in the description of the operation of the switching control.
  • the switching control unit 113 determines that the internal communication of the basic base unit 10 has an abnormality
  • the switching control unit 113 determines that the expansion cable connecting the basic base unit 10 and the expansion base unit 20 has an abnormality.
  • it communicates with the other CPU unit 11 and sends a signal instructing the switching of the control system to the other. It is transmitted to the CPU unit 11.
  • the control unit 110 stops communication with each unit via the first communication unit 115.
  • the switching control unit 113 receives a signal instructing switching of the control system from another CPU unit 11, the switching control unit 113 starts communication with each unit via the first communication unit 115.
  • the switching control unit 113 transmits a switching control signal to the expansion base unit 20 in the previous stage among the two expansion base units 20 connected by the expansion cable according to the routing table 118.
  • the output connector used in the expansion base unit 20 is switched, so that communication can be performed via the expansion cable in which no abnormality has occurred among the duplicated expansion cables. can.
  • the restart processing unit 114 instructs one CPU unit of the CPU unit 11a and the CPU unit 11b, which has become a new control system by system switching, to restart the other CPU unit via the tracking cable TC. In response to the restart instruction, restart the other CPU unit that has switched from the control system to the standby system.
  • FIG. 5 shows the configuration of the expansion base unit 20a as a representative, the configurations of the expansion base unit 20b and other base units (not shown) connected to the expansion base unit 20b are the same.
  • the expansion base unit 20 includes an input connector 201, an input connector 202, an output connector 211, an output connector 212, an input control unit 221, an input switching unit 222, an output control unit 231 and an output switching unit 232, one or more slots 290, and a bus B.
  • Slot 290 is communicably connected to bus B.
  • the input switching unit 222 connects one of the input connector 201 and the input connector 202 and the bus B communicably based on the control of the input control unit 221.
  • the output switching unit 232 connects the bus B to one of the output connector 211 and the output connector 212 communicably based on the control of the output control unit 231.
  • Bus B is an internal bus that connects each element inside the expansion base unit 20.
  • the input connector 201 and the input connector 202 are communicably connected to the output connector of the base unit in the previous stage via an expansion cable.
  • the input connector 201a is communicably connected to the output connector 101a of the basic base unit 10a in the previous stage via the expansion cable C11
  • the input connector 202a is connected to the basic base unit 10b in the previous stage via the expansion cable C12. Is communicably connected to the output connector 101b of.
  • the output connector 211 and the output connector 212 are communicably connected to the input connector of the base unit in the subsequent stage via an expansion cable.
  • the output connector 211a is communicably connected to the input connector 201b of the expansion base unit 20b in the subsequent stage via the expansion cable C21
  • the output connector 212a is connected to the amplification base unit 20b in the subsequent stage via the expansion cable C22. It is communicably connected to the input connector 202b of.
  • the input control unit 221 monitors the signals received by the input connector 201 and the input connector 202, identifies the input connector used for communication between the base unit in the previous stage and the bus B, and controls the input switching unit 222 described later. Connect the specified input connector to the bus B. Since the signal received by the input connector differs between the input connector used for the communication and the input connector not used for the communication, the input control unit 221 monitors the signals received by the input connector 201 and the input connector 202. Therefore, the input connector used for communication between the base unit in the previous stage and the bus B can be specified. For example, the input control unit 221 can specify the input connector used for the communication by determining whether the clock signal received by the input connector changes periodically or does not change at all. ..
  • the base unit in the previous stage is one expansion base unit 20
  • only one of the input connector 201 and the input connector 202 is used regardless of which of the two basic base units 10 is used. Is used for communication between the base unit in the previous stage and the bus B.
  • the input switching unit 222 connects the input connector used for communication between the base unit in the previous stage and the bus B and the bus B so as to be communicable, based on the control of the input control unit 221.
  • the input switching unit 222 is described as a switch in FIG. 5, the input switching unit 222 is a switching circuit including a switching element such as a transistor or a relay.
  • the output control unit 231 When the output control unit 231 receives a switching control signal from the base unit in the previous stage via the bus B, the output control unit 231 controls the output switching unit 232 to switch the output connector connected to the bus B.
  • the CPU unit 11 transmits a switching control signal to the expansion base unit 20 in the previous stage of the two expansion base units 20 according to the routing table 118. Therefore, the output control unit 231 can receive the switching control signal from the base unit in the previous stage via the bus B.
  • the expansion base unit 20b only one of the input connector 201b and the input connector 202b is used for communication between the expansion base unit 20a and the expansion base unit 20b.
  • the output switching unit 232 switches the output connector connected to the bus B based on the control of the output control unit 231. That is, the output switching unit 232 connects the output connector of one of the output connector 211 and the output connector 212 and the bus B in a communicable manner based on the switching control signal received from the base unit in the previous stage.
  • the output switching unit 232 is described as a switch in FIG. 5, the output switching unit 232 is a switching circuit including a switching element such as a transistor or a relay.
  • Slot 290 is a slot connected to bus B to which units such as the I / O unit 21 and the power supply unit 22 can be connected.
  • the slot 290 communicatively connects the connected unit and the bus B.
  • the expansion base unit 20 shown in FIG. 6 is realized by, for example, a microcontroller.
  • the same hardware configuration can be adopted for the basic base unit 10.
  • the expansion base unit 20 includes a processor 2001, a memory 2002, and an interface 2003, which are connected to each other via the bus 2000.
  • the processor 2001 is, for example, a processor such as an MPU or a CPU.
  • the processor 2001 executes the control program stored in the memory 2002, the functions of the input control unit 221 and the output control unit 231 of the expansion base unit 20 are realized.
  • the memory 2002 is, for example, a main storage device including a ROM and a RAM.
  • the memory 2002 stores a control program executed by the processor 2001. Further, the memory 2002 functions as a work memory when the processor 2001 executes a control program.
  • the interface 2003 is an input / output interface for connecting the expansion base unit 20 and other units so as to be communicable.
  • the interface 2003 realizes the functions of the input connector 201, the input connector 202, the output connector 211, the output connector 212, and the slot 290.
  • the operation shown in FIG. 7 shows the processing of a system switching instruction when a communication abnormality occurs in the control unit 110 of the CPU unit 11 that operates as a control system.
  • the operation shown in FIG. 7 is an operation by the CPU unit 11a on the basic base unit 10a that operates as a control system CPU unit, and the abnormality determination unit 111 of the CPU unit 11a has an abnormality in communication between the CPU unit 11a and another unit. It is started when it is determined that there is.
  • the abnormality location detection unit 112 of the control unit 110 of the CPU unit 11a determines whether or not the unit on the expansion base unit 20a connected to the basic base unit 10a can be accessed (step S101).
  • the abnormality location detection unit 112 detects the expansion cable C11 connecting the basic base unit 10a and the expansion base unit 20a as an abnormality location (step). S102).
  • the switching control unit 113 of the control unit 110 communicates with the CPU unit 11b from the second communication unit 116, which is a tracking communication unit, via the tracking cable TC, and operates the control system from the CPU unit 11a as a standby CPU unit. An instruction is given to switch to the CPU unit 11b on the unit 10b (step S103). Then, the control unit 110 ends the operation of the system switching instruction.
  • step S101 When the unit on the expansion base unit 20a is accessible (step S101: Yes), the abnormality location detection unit 112 determines whether or not the unit on the expansion base unit 20b connected to the expansion base unit 20a can be accessed. (Step S104).
  • step S104 which expansion cable the CPU unit 11 is using is determined at the initial setting stage, and is stored in the storage unit 117.
  • the abnormality location detection unit 112 currently uses the expansion cable C21 or the expansion cable C22 for connecting the expansion base unit 20a and the expansion base unit 20b.
  • the extension cable used is detected as an abnormal part (step S105).
  • the abnormality location detection unit 112 rewrites the routing table 118 of the storage unit 117 to the effect that the expansion cable is abnormal, and updates the routing table 118 (step S106).
  • the abnormality location detection unit 112 indicates to the routing table 118 of the storage unit 117 that the expansion cable C21 is abnormal. Rewrite and update the routing table 118.
  • the switching control unit 113 communicates with the CPU unit 11b and gives an instruction to switch the control system from the CPU unit 11a to the CPU unit 11b on the basic base unit 10b (step S107). Then, the control unit 110 ends the operation of the system switching instruction processing.
  • step S104 When the unit on the expansion base unit 20b is accessible (step S104: Yes), the control unit 110 further executes the same operation as in steps S104-S107 for each expansion base unit 20 in the subsequent stage.
  • the switching control unit 113 updates the routing table 118, gives an instruction to switch the control system to the CPU unit 11b on the basic base unit 10b, and ends the operation of the system switching instruction processing.
  • the CPU unit 11b When an instruction is given from the second communication unit 116, which is the tracking communication unit, to switch the control system from the CPU unit 11a to the CPU unit 11b on the basic base unit 10b via the tracking cable TC, the CPU unit 11b performs the system switching process. To execute. The operation of this system switching process will be described with reference to FIG.
  • the switching control unit 113 of the control unit 110 of the CPU unit 11b determines whether or not the switching instruction is due to an abnormality in the expansion cable connecting the expansion base units. (Step S201).
  • step S201 If the switching instruction is not due to an abnormality in the expansion cable connecting the expansion base units (step S201: No), the standby system CPU unit 11b is switched to the control system, and control is continued by the CPU unit 11b (step S202). ..
  • the routing table transmitted from the CPU unit 11a to the CPU unit 11b together with the switching instruction is the storage unit 117 of the CPU unit 11b. Update the routing table 118 of (step S203).
  • the CPU unit 11b which is a standby system, is switched to the control system based on the updated routing table 118, and the control is continued by the CPU unit 11b (step S204).
  • the restart processing unit 114 of the control unit 110 of the CPU unit 11b which has become a new control system, instructs the CPU unit 11a to restart via the tracking cable TC (step S205).
  • the routing table 118 stored in the storage unit 117 of the CPU unit 11b is transmitted to the CPU unit 11a via the tracking cable TC.
  • the control unit 110 of the CPU unit 11b ends the system switching process.
  • the control unit 110 of the CPU unit 11a When the control unit 110 of the CPU unit 11a receives a restart instruction from the CPU unit 11b, the control unit 110 starts restarting (step S301). When the restart is performed, the routing table received from the CPU unit 11b is stored in the storage unit 117 of the CPU unit 11a and newly set as the routing table 118 (step S302). Then, the control unit 110 of the CPU unit 11a ends the restart process.
  • the redundancy system 1000 according to the first embodiment has been described above.
  • the control is switched to the normal standby CPU unit 11b via the tracking cable TC.
  • the CPU unit 11b which has become a control system, instructs the CPU unit 11a in which the abnormality has occurred to restart, and transmits the routing table 118 owned by the CPU unit 11a.
  • the extension cables excluding the extension cable in which the abnormality has occurred will start normally as a unified redundant system.
  • the CPU unit 11b which has become a new control system, updates the routing table 118 of the CPU unit 11b by using the routing table received from the CPU unit 11a.
  • the CPU unit 11b may detect an abnormality in the extension cable and update the routing table 118.
  • the routing table of the CPU unit 11a is used by using the routing table received from the newly controlled CPU unit 11b. Updated 118.
  • the CPU unit 11a may detect an abnormality in the extension cable and update the routing table 118.
  • the routing table is held in the basic base unit 10.
  • a routing table may be provided in the expansion base unit 20.
  • the routing table may store information such as the abnormality, the location where the abnormality occurred, and the detection time. By storing this information, it is possible to identify the cause of the abnormality later by using this information.
  • the redundant system is constructed by two CPU units 11a of the control system and the CPU unit 11b of the standby system, but the present invention is not limited to this, and is configured by a plurality of three or more CPU units. You may. In this case, one is a control system CPU unit, and the other CPU unit is a standby system.
  • the number of expansion cables between the expansion base units is two, but the number is not limited to this, and a plurality of three or more cables may be used. Further, although the number of expansion cables is the same among all the expansion base units 20, it may be sufficient to multiplex the cables only among some of the expansion base units 20.
  • the expansion base unit 20 included in the multiplexing section for multiplexing the cable has a plurality of input connectors and a plurality of output connectors, and the expansion included in the non-multiplexing section in which the cable is not multiplexed suffices.
  • the base unit 20 may include at least one input connector and one output connector.
  • the configuration of the CPU unit 11 according to the second embodiment, which is different from the first embodiment, will be described with reference to FIG.
  • the CPU unit 11 according to the second embodiment is different from the first embodiment in that the restart setting table 119 is stored in the storage unit 117.
  • the restart setting table 119 information indicating whether or not to restart the CPU unit 11 in which the abnormality caused by the abnormality shown in the first embodiment is performed as a standby system is set.
  • FIG. 11 shows a configuration example of the restart setting table 119.
  • the restart setting items of the other system reset function for setting whether or not to execute the restart with the other CPU unit 11 in which the abnormality has occurred as the standby system, and the timing for executing the restart are set. Items are provided. In the example of FIG.
  • the other CPU unit in which the abnormality has occurred confirms the restart setting table 119.
  • the other CPU unit executes or does not execute the restart process shown in FIG. 9, depending on the settings in the restart setting table 119.
  • Each setting item in the restart setting table 119 can be arbitrarily set by the user. That is, the restart setting table 119 can be changed by the user's operation to execute the restart or not, and the user can change whether or not the restart is executed.
  • the execution timing setting item of the restart setting table 119 can be set to, for example, "when the bus access is abnormal" in addition to "when the expansion cable is abnormal" shown in the example of FIG. 11.
  • the expansion base unit 20 can be set. It is possible to execute the restart process when an abnormality occurs in the internal bus of.
  • This disclosure can be widely applied to redundant systems.
  • 1,1a, 1b, 2,2a, 2b control device 10,10a, 10b basic base unit, 11,11a, 11b CPU unit, 12,12a, 12b, 22,22a, 22b power supply unit, 20,20a, 20b Expansion base unit, 21,21a, 21b I / O unit, 102,290 slot, 110 control unit, 111 abnormality determination unit, 112 abnormality location detection unit, 113 switching control unit, 114 restart processing unit, 115 first communication unit , 116 second communication unit, 117 storage unit, 118 routing table, 119 restart setting table, 201,201a,201b, 202,202a, 202b input connector, 101,101a, 101b, 211,211a, 211b, 212,212a , 212b output connector, 221 input control unit, 222 input switching unit, 231 output control unit, 232 output switching unit, 1000 redundancy system, 2000 bus, 2001 processor, 2002 memory, 2003 interface, B, BB bus, C11, C12 , C21, C22,

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

冗長化システムは、制御系CPUユニット(11a)、制御系CPUユニット(11a)に代わって制御可能な待機系CPUユニット(11b)、制御系CPUユニット(11a)及び待機系CPUユニット(11b)と増設ケーブル(C11,C12,C21,C22)を介して数珠つなぎに接続される複数の増設ベースユニット(20a,20b)を備える。増設ベースユニット(20a,20b)同士は多重化された増設ケーブル(C21,C22)を介して接続され、制御系CPUユニット(11a)が多重化された増設ケーブル(C21,C22)のうち使用している増設ケーブルの通信異常を検知した際、制御系CPUユニット(11a)に代わって制御する待機系CPUユニット(11b)は制御系CPUユニット(11a)に再起動を指示し、制御系CPUユニット(11a)は別の増設ケーブルを通信路に設定する。

Description

冗長化システム、制御方法及びプログラム
 本開示は、冗長化システム、制御方法及びプログラムに関する。
 稼働系が稼働中に障害を生じた場合に待機系に切り替わり、稼働を維持する冗長化システムが存在する。この冗長化システムにおいて異常が発生した場合、異常が発生した片方のシステムが復旧するまでの間、もう片方のシステムのみで制御を行うことから、異常が発生した片方のシステムが素早く復旧して冗長化システムとして正常に動作することが求められている。
 特許文献1は、冗長化システムで制御を行っている制御系にノイズなどにより一時的な異常が発生した場合、異常が発生した制御系をリセットし制御系内の異常を取り除く処理を行う。その間、もう一方の制御系で継続制御を行い、正常に二重化システムとして復旧することを開示する。
特開平6-223001号公報
 しかし、異常を取り除く処理では、異常が発生した部位の復旧に時間がかかり、その間冗長化システムが維持されない状態が生じる。
 そこで本開示の目的は、上記の事情に鑑み、片方のシステムで増設ケーブル異常が発生してから二重化システムとして復旧するまでの時間を短縮することができる冗長化システムを提供することにある。
 上記の目的を達成するため、本開示に係る冗長化システムは、制御対象機器を制御する制御系CPUユニットと、制御対象機器を制御系CPUユニットに代わって制御可能な待機系CPUユニットと、制御系CPUユニット及び待機系CPUユニットと増設ケーブルを介して数珠つなぎに接続される複数の増設ベースユニットと、を備え、増設ベースユニット同士は、多重化された増設ケーブルを介して接続され、制御系CPUユニットが多重化された増設ケーブルのうち使用している増設ケーブルの通信異常の発生を検知した際に、制御系CPUユニットに代わって制御する待機系CPUユニットは、制御系CPUユニットに対して再起動を指示し、制御系CPUユニットは、多重化された増設ケーブルのうち別の増設ケーブルを通信路に設定する。
 本開示によれば、片方のシステムで増設ケーブル異常が発生してから復旧するまでの時間を短縮することができる。
本開示の実施の形態1に係る冗長化システムの構成を示す図 本開示の実施の形態1に係る基本ベースユニットの構成を示す図 本開示の実施の形態1に係るCPUユニットの構成を示す図 本開示の実施の形態1に係るルーティングテーブルの構成を示す図 本開示の実施の形態1に係る増設ベースユニットの構成を示す図 本開示の実施の形態1に係る増設ベースユニットのハードウェア構成の一例を示す図 本開示の実施の形態1に係るCPUユニットによる系切り替え指示処理の動作の一例を示すフローチャート 本開示の実施の形態1に係るCPUユニットによる系切り替え処理の動作の一例を示すフローチャート 本開示の実施の形態1に係るCPUユニットによる再起動処理の動作の一例を示すフローチャート 本開示の実施の形態2に係るCPUユニットの構成を示す図 本開示の実施の形態2に係る再起動設定テーブルの構成を示す図
 以下、図面を参照しながら、本開示の実施の形態に係る冗長化システムを説明する。各図面においては、同一又は同等の部分に同一の符号を付す。
(実施の形態1)
 図1を参照しながら、実施の形態1に係る冗長化システム1000を説明する。冗長化システム1000は、例えばセンサからセンサ値を取得してセンサ値に基づいて工作機械を制御する制御システムである。冗長化システム1000は、制御装置1aと制御装置1bと制御装置2aと制御装置2bとを備える。制御装置1aと制御装置1bとはトラッキングケーブルTCにより通信可能に接続されている。制御装置1aと制御装置2aとは増設ケーブルC11により通信可能に接続されている。同様に、制御装置1bと制御装置2aとは増設ケーブルC12により通信可能に接続されている。制御装置2aと制御装置2bとは増設ケーブルC21及び増設ケーブルC22により通信可能に接続されている。同様に、制御装置2bと図示しない他の制御装置とは、増設ケーブルC31及び増設ケーブルC32により通信可能に接続されている。当該図示しない他の制御装置は、増設ケーブルによりさらなる他の制御装置と通信可能に接続されていてもよい。
 簡単のため、以下、制御装置1aと制御装置1bとを、総括して制御装置1と呼称することがある。制御装置2a及び制御装置2bについても同様に、総括して制御装置2と呼称することがある。また、後述するその他の構成についても同様である。
 冗長化システム1000においては、制御装置1aと制御装置1bとにより制御装置1が二重化されている。また、冗長化システム1000においては、増設ケーブルC21及び増設ケーブルC22により、制御装置2aと制御装置2bとを接続する増設ケーブルが二重化されている。また、冗長化システム1000においては、各制御装置2は、制御装置1に直列に接続されている。
 制御装置1は、基本ベースユニット10とCPUユニット11と電源ユニット12とを備える。冗長化システム1000が制御装置1aと制御装置1bとを備え、制御装置1aのCPUユニット11aと制御装置1bのCPUユニット11bとがトラッキングケーブルTCにより接続されていることにより、制御装置1が二重化されている。
 CPUユニット11及び電源ユニット12は、基本ベースユニット10が備える図示しないスロットに接続されている。CPUユニット11は、制御装置1又は制御装置2のI/Oユニットに接続されたセンサ及び工作機械を制御する。CPUユニット11は、トラッキングケーブルTCにて接続された他のCPUユニット11と通信する。また、詳細は後述するが、CPUユニット11は、増設ベースユニット20に切り替え制御信号を送信することにより、当該増設ベースユニット20にて使用される出力コネクタを切り替える。電源ユニット12は、基本ベースユニット10及びCPUユニット11に電力を供給する。制御装置1は、電源ユニット12を複数備えてもよい。また、I/Oユニットが基本ベースユニット10のスロットに接続されていてもよい。CPUユニット11の構成の詳細は後述する。
 基本ベースユニット10は、図示しないスロットに接続されたユニットと通信し、増設ケーブルにて接続された増設ベースユニット20と通信する。基本ベースユニット10は、出力コネクタ101を備える。図1では、基本ベースユニット10aの出力コネクタ101aに増設ケーブルC11が接続され、基本ベースユニット10bの出力コネクタ101bに増設ケーブルC12が接続されている。基本ベースユニット10の構成の詳細は後述する。
 制御装置1がこれらのユニットを備えることにより、制御装置1は、制御装置2のI/Oユニット21に接続されたセンサ及び工作機械を制御できる。
 制御装置2は、増設ベースユニット20とI/Oユニット21と電源ユニット22とを備える。I/Oユニット21及び電源ユニット22は、増設ベースユニット20が備える図示しないスロットに接続されている。I/Oユニット21は、図示しないセンサ及び工作機械に通信可能に接続されている。電源ユニット22は、増設ベースユニット20及びI/Oユニット21に電力を供給する。増設ベースユニット20は、図示しないスロットに接続されたユニットと通信し、増設ケーブルにて接続された他のベースユニットと通信する。制御装置2がこれらのユニットを備えることにより、制御装置1は、制御装置2と通信し、I/Oユニット21に接続されたセンサ及び工作機械を制御することができる。制御装置2は、I/Oユニット21を複数備えてもよいし、電源ユニット22を複数備えてもよい。センサ及び工作機械は、本開示に係る制御対象機器の一例である。
 増設ベースユニット20は、入力コネクタ201と入力コネクタ202と出力コネクタ211と出力コネクタ212とを備える。図1では、入力コネクタ201aに増設ケーブルC11が接続され、入力コネクタ202aに増設ケーブルC12が接続され、出力コネクタ211aに増設ケーブルC21が接続され、出力コネクタ212aに増設ケーブルC22が接続されている。同様に、入力コネクタ201bに増設ケーブルC21が接続され、入力コネクタ202bに増設ケーブルC22が接続され、出力コネクタ211bに増設ケーブルC31が接続され、出力コネクタ212bに増設ケーブルC32が接続されている。つまり、各増設ベースユニット20は直列に接続されている。また、増設ベースユニット20aは、後述する基本ベースユニット10a及び基本ベースユニット10bに接続されているので、各増設ベースユニット20は、基本ベースユニット10に直列に接続されている。
 増設ベースユニット20が入力コネクタと出力コネクタとを2つずつ備えることにより、増設ベースユニット20同士を接続する増設ケーブルを二重化できる。また、増設ベースユニット20が入力コネクタを2つ備えることにより、二重化された2つの制御装置1、つまり制御装置1aと制御装置1bとを増設ベースユニット20aに接続できる。増設ベースユニット20の構成の詳細は後述する。増設ベースユニット20は、本開示に係る増設ベースユニットの一例である。
 なお、ここでいう「入力」及び「出力」の表現は、前段のベースユニットから後段の増設ベースユニットへの信号の流れを基準としている。そのため、前段のベースユニットとの通信に使用されるコネクタは「入力コネクタ」であり、後段の増設ベースユニットとの通信に使用されるコネクタは「出力コネクタ」である。なお、「前段のベースユニット」は、基本ベースユニット、増設ベースユニットのいずれの場合もありえる。
 次に、図2を参照しながら、基本ベースユニット10の構成を詳細に説明する。なお、図2では、代表して基本ベースユニット10aの構成を示すが、基本ベースユニット10bの構成も同様のものとなる。
 基本ベースユニット10は、出力コネクタ101と1以上のスロット102とバスBBとを備える。出力コネクタ101及びスロット102は、バスBBに通信可能に接続されている。
 出力コネクタ101は、増設ケーブルを介して後段の増設ベースユニット20aの入力コネクタに通信可能に接続されている。基本ベースユニット10aにおいては、出力コネクタ101aが増設ケーブルC11を介して後段の増設ベースユニット20aの入力コネクタ201aに通信可能に接続されている。
 スロット102は、バスBBに接続され、CPUユニット11、電源ユニット12などのユニットを接続可能なスロットである。スロット102は、接続されたユニットとバスBBとを通信可能に接続する。
 スロット102に接続されたCPUユニット11が、バスBB、出力コネクタ101及び増設ケーブルを介して増設ベースユニット20aと通信する。また、CPUユニット11は、増設ベースユニット20aよりも後段の増設ベースユニット20とも、当該増設ベースユニット20よりも前段にある各増設ベースユニット20を介して通信する。
 次に、図3を参照しながら、CPUユニット11の構成を詳細に説明する。CPUユニット11は、制御部110と第1通信部115と第2通信部116と記憶部117とを備える。
 第1通信部115は、例えばスロット102に挿入可能な通信インタフェースである。第2通信部116は、例えばトラッキングケーブルTCを挿入可能な通信インタフェースである。
 記憶部117は、制御部110が実行する制御プログラムを保存する。また、記憶部117は、制御部110が制御プログラムを実行するときのワークメモリとして機能する。記憶部117は、例えば制御プログラムを保存するROM(Read Only Memory)と、ワークメモリとして機能するRAM(Random Access Memory)とを備える。
 記憶部117は、増設ケーブルの正常・異常の判定結果を格納し、CPUユニット11が増設ケーブルの異常内容を確認して正常な増設ケーブルを通信路に設定するためのルーティングテーブル118を保存する。図4にルーティングテーブル118の例を示す。ルーティングテーブル118の増設ケーブルCx1判定結果の欄には、二重化された増設ケーブルの一方の増設ケーブルCx1(x=1,2…n)の正常・異常の判定結果が格納されており、増設ケーブルCx2判定結果の欄には、二重化された増設ケーブルの他方の増設ケーブルCx2(x=1,2…n)の正常・異常の判定結果が格納されている。図4に示す例において、増設ケーブルCx1判定結果の欄は、上から順番に増設ケーブルC11、C21、Cn1の正常・異常の判定結果が格納されており、それぞれ「正常」、「異常」、「正常」と格納されている。増設ケーブルCx2判定結果の欄は、上から順番に増設ケーブルC12、C22、Cn2の正常・異常の判定結果が格納されており、それぞれ「正常」、「正常」、「正常」と格納されている。正常・異常の判定は、CPUユニット11の起動時、所定時間経過時、エラー発生時等に行われ、判定結果が格納される。
 図3に戻って、制御部110は、記憶部117に保存された制御プログラムを読み出して実行する。制御部110は、例えばMPU(Micro Processing Unit)、CPU(Central Processing Unit)などのプロセッサを備える。制御部110は、制御プログラムを実行することにより、基本ベースユニット10及び増設ベースユニット20に接続された各ユニットと第1通信部115を介して通信する。制御部110は、特に、増設ベースユニット20に接続されたI/Oユニット21と通信し、当該I/Oユニット21に接続されたセンサ及び工作機械を制御する。
 また、制御部110は、第2通信部116を介して他のCPUユニット11の状態を監視し、自身及び他のCPUユニット11のいずれも正常な状態のときには、他のCPUユニット11と通信し、自身と他のCPUユニット11とのいずれか一方のみが第1通信部115を介して各ユニットと通信するように調整する。
 また、制御部110は、制御プログラムを実行することにより、異常判定部111、異常箇所検出部112、切替制御部113、再起動処理部114として機能する。
 異常判定部111は、CPUユニット11と他のユニットとの通信に異常があるか否かを判定する。ここで、他のユニットとは、基本ベースユニット10に接続されたユニットのみではなく、基本ベースユニット10よりも後段の各増設ベースユニット20に接続されたユニットも含む。通信に異常があるか否かの判定は、例えばCPUユニット11がいずれかのI/Oユニット21へアクセスする信号を送信した時に、送信対象のI/Oユニット21から応答が返ってくるか否かにより判定する。
 異常箇所検出部112は、異常判定部111がCPUユニット11と他のユニットとの通信に異常があると判定したとき、通信経路のうちどの箇所に異常があるかを検出する。どのようにして異常箇所を検出するかについては切り替え制御の動作の説明にて後述する。
 切替制御部113は、異常箇所検出部112が、基本ベースユニット10の内部通信に異常があると判定したとき、基本ベースユニット10と増設ベースユニット20とを接続する増設ケーブルに異常があると判定したとき、又は後段の各増設ベースユニット20同士を接続する増設ケーブルのいずれかに異常があると判定したとき、他のCPUユニット11と通信し、制御系の切り替えを指令する信号を当該他のCPUユニット11に送信する。このとき、制御部110は、第1通信部115を介した各ユニットとの通信を停止する。さらに、切替制御部113は、他のCPUユニット11から制御系の切り替えを指令する信号を受信したとき、第1通信部115を介した各ユニットとの通信を開始する。これらの機能により、基本ベースユニット10aと基本ベースユニット10bとのうちいずれか一方のみが増設ベースユニット20aとの通信を行う。つまり、これらの機能により、センサ及び工作機械を制御する制御系が切り替わる。同時に2つの制御系が有効となることはないので、増設ベースユニット20aにおいては、入力コネクタ201aと入力コネクタ202aとのうちいずれか一方のみが基本ベースユニット10と増設ベースユニット20aとの通信に使用される。
 また、切替制御部113は、ルーティングテーブル118にしたがって、増設ケーブルにて接続された2つの増設ベースユニット20のうち前段の増設ベースユニット20に切り替え制御信号を送信する。その結果、増設ベースユニット20同士の通信において、当該増設ベースユニット20にて使用される出力コネクタが切り替わるので、二重化された増設ケーブルのうち異常が生じていない増設ケーブルを経由した通信をすることができる。
 再起動処理部114は、系切り替えにより新たに制御系となったCPUユニット11aとCPUユニット11bの一方のCPUユニットがトラッキングケーブルTCを介して他方のCPUユニットに再起動の指示を行う。再起動指示を受けて、制御系から待機系に切り替わった他方のCPUユニットの再起動を行う
 次に、図5を参照しながら、増設ベースユニット20の構成を詳細に説明する。なお、図5では、代表して増設ベースユニット20aの構成を示すが、増設ベースユニット20b及び増設ベースユニット20bに接続された図示しない他のベースユニットの構成も同様のものとなる。
 増設ベースユニット20は、入力コネクタ201と入力コネクタ202と出力コネクタ211と出力コネクタ212と入力制御部221と入力切替部222と出力制御部231と出力切替部232と1以上のスロット290とバスBとを備える。スロット290は、バスBに通信可能に接続されている。詳細は後述するが、入力切替部222は、入力制御部221の制御に基づき、入力コネクタ201と入力コネクタ202とのいずれか一方とバスBとを通信可能に接続する。同様に、出力切替部232は、出力制御部231の制御に基づき、出力コネクタ211と出力コネクタ212とのいずれか一方とバスBとを通信可能に接続する。バスBは、増設ベースユニット20の内部で各要素を接続する内部バスである。
 入力コネクタ201及び入力コネクタ202は、増設ケーブルを介して前段のベースユニットの出力コネクタに通信可能に接続されている。増設ベースユニット20aにおいては、入力コネクタ201aが増設ケーブルC11を介して前段の基本ベースユニット10aの出力コネクタ101aに通信可能に接続され、入力コネクタ202aが増設ケーブルC12を介して前段の基本ベースユニット10bの出力コネクタ101bに通信可能に接続されている。
 出力コネクタ211及び出力コネクタ212は、増設ケーブルを介して後段のベースユニットの入力コネクタに通信可能に接続されている。増設ベースユニット20aにおいては、出力コネクタ211aが増設ケーブルC21を介して後段の増設ベースユニット20bの入力コネクタ201bに通信可能に接続され、出力コネクタ212aが増設ケーブルC22を介して後段の増幅ベースユニット20bの入力コネクタ202bに通信可能に接続されている。
 入力制御部221は、入力コネクタ201及び入力コネクタ202が受信した信号を監視し、前段のベースユニットとバスBとの通信に使用されている入力コネクタを特定し、後述の入力切替部222を制御して特定した入力コネクタとバスBとを接続する。当該通信に使用される入力コネクタと当該通信に使用されない入力コネクタとでは、入力コネクタが受信する信号が異なるので、入力制御部221は、入力コネクタ201及び入力コネクタ202が受信した信号を監視することにより、前段のベースユニットとバスBとの通信に使用されている入力コネクタを特定できる。例えば、入力制御部221は、入力コネクタが受信するクロック信号が、周期的に変化するものであるか全く変化しないものであるかを判別することによって、当該通信に使用される入力コネクタを特定できる。
 なお、詳細は後述するが、前段のベースユニットが1つの増設ベースユニット20である場合、2つの基本ベースユニット10のいずれであっても、入力コネクタ201と入力コネクタ202とのうちいずれか一方のみが当該前段のベースユニットとバスBとの通信に使用される。
 入力切替部222は、入力制御部221の制御に基づいて、前段のベースユニットとバスBとの通信に使用されている入力コネクタとバスBとを通信可能に接続する。図5では入力切替部222をスイッチとして記載しているが、入力切替部222は、例えばトランジスタ、リレーなどのスイッチング素子を含む切り替え回路である。
 出力制御部231は、バスBを介して前段のベースユニットから切り替え制御信号を受信したとき、出力切替部232を制御して、バスBに接続されている出力コネクタを切り替える。詳細は後述するが、CPUユニット11は、ルーティングテーブル118にしたがって、当該2つの増設ベースユニット20のうち前段の増設ベースユニット20に、切り替え制御信号を送信する。そのため、出力制御部231は、バスBを介して前段のベースユニットから切り替え制御信号を受信することができる。その結果、増設ベースユニット20bにおいては、入力コネクタ201bと入力コネクタ202bとのうちいずれか一方のみが増設ベースユニット20aと増設ベースユニット20bとの通信に使用される。
 出力切替部232は、出力制御部231の制御に基づいて、バスBに接続される出力コネクタを切り替える。つまり、出力切替部232は、前段のベースユニットから受信した切り替え制御信号に基づいて、出力コネクタ211及び出力コネクタ212のうち1の出力コネクタとバスBとを通信可能に接続する。図5では出力切替部232をスイッチとして記載しているが、出力切替部232は、例えばトランジスタ、リレーなどのスイッチング素子を含む切り替え回路である。
 スロット290は、バスBに接続され、I/Oユニット21、電源ユニット22などのユニットを接続可能なスロットである。スロット290は、接続されたユニットとバスBとを通信可能に接続する。
 次に、増設ベースユニット20のハードウェア構成の一例について、図6を参照しながら説明する。図6に示す増設ベースユニット20は、例えばマイクロコントローラにより実現される。なお、基本ベースユニット10についても、同様のハードウェア構成を採用しうる。
 増設ベースユニット20は、バス2000を介して互いに接続された、プロセッサ2001と、メモリ2002と、インタフェース2003とを備える。
 プロセッサ2001は、例えばMPU、CPUなどのプロセッサである。プロセッサ2001が、メモリ2002上に保存された制御プログラムを実行することにより、増設ベースユニット20の入力制御部221及び出力制御部231の機能が実現される。
 メモリ2002は、例えば、ROMとRAMとを含む主記憶装置である。メモリ2002は、プロセッサ2001が実行する制御プログラムを保存する。また、メモリ2002は、プロセッサ2001が制御プログラムを実行する際のワークメモリとして機能する。
 インタフェース2003は、増設ベースユニット20と他のユニットとを通信可能に接続するための入出力インタフェースである。インタフェース2003により、入力コネクタ201、入力コネクタ202、出力コネクタ211、出力コネクタ212及びスロット290の機能が実現される。
 次に、図7、8、9を参照しながら、CPUユニット11による切り替え制御の動作の一例を説明する。図7に示す動作は、制御系として動作するCPUユニット11の制御部110に通信異常が生じた場合の系切り替え指示の処理を示す。図7に示す動作は、制御系CPUユニットとして動作する基本ベースユニット10a上のCPUユニット11aによる動作であり、CPUユニット11aの異常判定部111が、CPUユニット11aと他のユニットとの通信に異常があると判定したときに開始される。
 CPUユニット11aの制御部110の異常箇所検出部112は、基本ベースユニット10aに接続された増設ベースユニット20a上のユニットにアクセス可能か否かを判定する(ステップS101)。
 増設ベースユニット20a上のユニットにアクセス可能でないとき(ステップS101:No)、異常箇所検出部112は、基本ベースユニット10aと増設ベースユニット20aとを接続する増設ケーブルC11を異常箇所として検出する(ステップS102)。
 制御部110の切替制御部113は、CPUユニット11bとトラッキング通信部である第2通信部116からトラッキングケーブルTCを介して通信し、制御系をCPUユニット11aから待機系CPUユニットとして動作する基本ベースユニット10b上のCPUユニット11bへと切り替える指示を行う(ステップS103)。そして制御部110は、系切り替え指示の動作を終了する。
 増設ベースユニット20a上のユニットにアクセス可能であるとき(ステップS101:Yes)、異常箇所検出部112は、増設ベースユニット20aに接続された増設ベースユニット20b上のユニットにアクセス可能か否かを判定する(ステップS104)。
 CPUユニット11がいずれの増設ケーブルを使用しているかは、初期設定の段階でいずれか定められており、記憶部117に記憶されている。増設ベースユニット20b上のユニットにアクセス可能でないとき(ステップS104:No)、異常箇所検出部112は、増設ベースユニット20aと増設ベースユニット20bとを接続する増設ケーブルC21又は増設ケーブルC22のうち、現在使用している増設ケーブルを異常箇所として検出する(ステップS105)。異常である増設ケーブルが検出されると、異常箇所検出部112は、記憶部117のルーティングテーブル118に当該増設ケーブルが異常である旨を書き換え、ルーティングテーブル118を更新する(ステップS106)。例えば、現在用いているケーブルが増設ケーブルC21の場合、当該増設ケーブルC21を異常箇所として検出すると、異常箇所検出部112は、記憶部117のルーティングテーブル118に当該増設ケーブルC21が異常である旨を書き換え、ルーティングテーブル118を更新する。
 切替制御部113は、CPUユニット11bと通信し、制御系をCPUユニット11aから基本ベースユニット10b上のCPUユニット11bへと切り替える指示を行う(ステップS107)。そして制御部110は、系切り替え指示処理の動作を終了する。
 増設ベースユニット20b上のユニットにアクセス可能であるとき(ステップS104:Yes)、制御部110は、さらに後段の各増設ベースユニット20について、ステップS104-S107と同様の動作を実行する。この動作を繰り返すことにより、切替制御部113は、ルーティングテーブル118を更新し、制御系を基本ベースユニット10b上のCPUユニット11bへと切り替える指示を行い、系切り替え指示処理の動作を終了する。
 トラッキング通信部である第2通信部116からトラッキングケーブルTCを介して制御系をCPUユニット11aから基本ベースユニット10b上のCPUユニット11bへと切り替える指示が行われると、CPUユニット11bは、系切り替え処理を実行する。この系切り替え処理の動作を図8を参照しながら説明する。
 CPUユニット11bの制御部110の切替制御部113は、CPUユニット11aからの切り替え指示を受信すると、その切り替え指示が増設ベースユニット間を接続する増設ケーブルの異常によるものであるか否かを判断する(ステップS201)。
 切り替え指示が増設ベースユニット間を接続する増設ケーブルの異常によるものでない場合(ステップS201:No)、待機系であるCPUユニット11bを制御系に切り替え、CPUユニット11bにより制御を継続する(ステップS202)。
 切り替え指示が増設ベースユニット間を接続する増設ケーブルの異常によるものである場合(ステップS201:Yes)、CPUユニット11aから切り替え指示とともにCPUユニット11bに送信されたルーティングテーブルでCPUユニット11bの記憶部117のルーティングテーブル118を更新する(ステップS203)。
 ルーティングテーブル118が更新されると、更新されたルーティングテーブル118に基づき、待機系であるCPUユニット11bを制御系に切り替え、CPUユニット11bにより制御を継続する(ステップS204)。
 新たに制御系となったCPUユニット11bの制御部110の再起動処理部114は、CPUユニット11aに対してトラッキングケーブルTCを介して再起動の指示を行う(ステップS205)。このとき、CPUユニット11bの記憶部117に格納されたルーティングテーブル118をトラッキングケーブルTCを介してCPUユニット11aに送信する。そしてCPUユニット11bの制御部110は、系切り替え処理を終了する。
 トラッキング通信部である第2通信部116からトラッキングケーブルTCを介してCPUユニット11bから基本ベースユニット10a上のCPUユニット11aへ再起動の指示が行われると、CPUユニット11aは、再起動処理を実行する。この再起動処理の動作について図9を参照しながら説明する。
 CPUユニット11aの制御部110は、CPUユニット11bからの再起動指示を受信すると、再起動を開始する(ステップS301)。再起動が行われると、CPUユニット11bから受信したルーティングテーブルをCPUユニット11aの記憶部117に格納してルーティングテーブル118として新たに設定する(ステップS302)。そしてCPUユニット11aの制御部110は、再起動処理を終了する。
 以上、実施の形態1に係る冗長化システム1000を説明した。実施の形態1に係る冗長化システム1000によれば、制御系のCPUユニット11aで異常が発生した場合に、トラッキングケーブルTCを介して正常な待機系のCPUユニット11bに制御を切り替える。制御系となったCPUユニット11bは、異常が発生したCPUユニット11aに再起動を指示し、自身が保有するルーティングテーブル118を送信する。これにより、異常が発生した増設ケーブルを除いた増設ケーブルが一重化された冗長化システムとして正常起動する。
 増設ケーブルが二重化された冗長化システムでは、増設ケーブルの一方が異常、他方が正常であれば、正常である増設ケーブルでアクセス可能である。しかし、制御系が異常の発生した増設ケーブルを通じてアクセスしていた場合、通信異常が発生する。この場合において、異常が発生したシステムを自動で再起動することで、増設ケーブルが一重であったとしてもコピー処理、異常を取り除く処理を行うことなく高速に復旧が可能となる。
(実施の形態1の変形例)
 実施の形態1において、新しく制御系になったCPUユニット11bは、CPUユニット11aから受信したルーティングテーブルを使ってCPUユニット11bのルーティングテーブル118を更新した。これに対して、CPUユニット11bが増設ケーブルの異常検出を行って、ルーティングテーブル118を更新してもよい。
 実施の形態1において、異常により制御系から待機系に変更されたCPUユニット11aが再起動するときに、新しく制御系になったCPUユニット11bから受信したルーティングテーブルを使ってCPUユニット11aのルーティングテーブル118を更新した。これに対して、CPUユニット11aが増設ケーブルの異常検出を行って、ルーティングテーブル118を更新してもよい。
 また、実施の形態1において、ルーティングテーブルは、基本ベースユニット10内に保持されていた。これに限らず、増設ベースユニット20内にルーティングテーブルを設けてもよい。また、ルーティングテーブルには、増設ケーブルの異常を検知した場合に、異常があったこと、異常発生個所、検知時刻などの情報を記憶しておいてもよい。これらの情報を記憶しておくことにより、これらの情報を利用して後々に異常原因を特定することが可能である
 また、実施の形態1においては、制御系のCPUユニット11aと待機系のCPUユニット11bの2台により冗長化システムを構築したが、これに限らず、3台以上の複数のCPUユニットで構成してもよい。この場合、1台が制御系CPUユニットとなり、他のCPUユニットは待機系となる。また、実施の形態1において、増設ベースユニット間の増設ケーブルを2本としたが、これに限らず3本以上の複数本としてもよい。また、全ての増設ベースユニット20の間で増設ケーブルの本数を揃えたが、一部の増設ベースユニット20の間でのみケーブルを多重化すれば十分である場合も考えられる。このような場合、ケーブルを多重化する多重化区間に含まれる増設ベースユニット20が複数の入力コネクタと複数の出力コネクタを備えていればよく、ケーブルを多重化しない非多重化区間に含まれる増設ベースユニット20は、入力コネクタと出力コネクタを少なくとも1つずつ備えていればよい。
(実施の形態2)
 以下、実施の形態2に係る冗長化システム1000を説明する。ただし、実施の形態2において、冗長化システム1000の全体構成は図1に示す実施の形態1の場合と同様である。詳細は後述するが、実施の形態2に係る冗長化システム1000においては、増設ケーブルの異常発生時に、通信異常が生じたCPUユニット11を待機系として再起動するか、異常状態のままとするかをパラメータ設定で任意に選択することができる。
 図10を参照しながら、実施の形態2に係るCPUユニット11の構成のうち実施の形態1と異なる点を説明する。実施の形態2に係るCPUユニット11は、記憶部117に再起動設定テーブル119が格納されている点が実施の形態1と異なる。再起動設定テーブル119は、実施の形態1で示した異常が生じたCPUユニット11を待機系として再起動するか否かを示す情報が設定されている。図11に、再起動設定テーブル119の構成例を示す。再起動設定テーブル119には、異常が生じた他方のCPUユニット11を待機系として再起動を実行するか否かを設定する他系リセット機能の設定項目と、再起動を実行するタイミングを設定する項目が設けられている。図11の例では、他系リセット機能の設定項目として、「実行する」と設定されており、他系リセット機能の実行タイミングの設定項目として、「増設ケーブル異常時」と設定されている。前述した図8、9に示した異常発生時の系切り替え、再起動処理において、新たに制御系となったCPUユニットは、再起動設定テーブル119を確認する。新たに制御系となったCPUユニットは、再起動設定テーブル119の設定に応じて、図8に示す再起動の指示の実行を制御する。また、新たに制御系となったCPUユニットが、再起動設定テーブル119に応じて再起動指示の実行を制御するのではなく、異常が生じた他方のCPUユニットが再起動設定テーブル119の設定に応じて再起動の実行を制御してもよい。新たに制御系となったCPUユニットから再起動指示を受けたときに、異常が生じた他方のCPUユニットは、再起動設定テーブル119を確認する。他方のCPUユニットは、再起動設定テーブル119の設定に応じて、図9に示す再起動処理を実行する、あるいは実行しない。再起動設定テーブル119の各設定項目については、ユーザにより任意に設定可能である。すなわち、再起動設定テーブル119は、ユーザの操作によって、再起動を実行するを実行しないに変更可能であり、ユーザが再起動の実行の有無を変更することができる。
 実施の形態2によれば、片系異常状態の期間を短縮する場合と、異常が発生した原因調査のため、異常のままとしたい場合を任意に選択できる。なお、再起動設定テーブル119の実行タイミングの設定項目について、図11の例に示す「増設ケーブル異常時」以外に、例えば「バスアクセス異常時」と設定することができ、この場合増設ベースユニット20の内部バスに異常が生じた時に再起動処理を実行させることができる。
 本開示は、本開示の広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施の形態は、本開示を説明するためのものであり、本開示の範囲を限定するものではない。つまり、本開示の範囲は、実施の形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の開示の意義の範囲内で施される様々な変形が、本開示の範囲内とみなされる。
 本開示は、冗長化システムに広く適用することができる。
 1,1a,1b,2,2a,2b 制御装置、10,10a,10b 基本ベースユニット、11,11a,11b CPUユニット、12,12a,12b,22,22a,22b 電源ユニット、20,20a,20b 増設ベースユニット、21,21a,21b I/Oユニット、102,290 スロット、110 制御部、111 異常判定部、112 異常箇所検出部、113 切替制御部、114 再起動処理部、115 第1通信部、116 第2通信部、117 記憶部、118 ルーティングテーブル、119 再起動設定テーブル、201,201a,201b,202,202a,202b 入力コネクタ、101,101a,101b,211,211a,211b,212,212a,212b 出力コネクタ、221 入力制御部、222 入力切替部、231 出力制御部、232 出力切替部、1000 冗長化システム、2000 バス、2001 プロセッサ、2002 メモリ、2003 インタフェース、B,BB バス、C11,C12,C21,C22,C31,C32 増設ケーブル、TC トラッキングケーブル。

Claims (6)

  1.  制御対象機器を制御する制御系CPUユニットと、
     前記制御対象機器を前記制御系CPUユニットに代わって制御可能な待機系CPUユニットと、
     前記制御系CPUユニット及び前記待機系CPUユニットと増設ケーブルを介して数珠つなぎに接続される複数の増設ベースユニットと、
     を備え、
     前記増設ベースユニット同士は、多重化された増設ケーブルを介して接続され、
     前記制御系CPUユニットが前記多重化された増設ケーブルのうち使用している増設ケーブルの通信異常の発生を検知した際に、前記制御系CPUユニットに代わって制御する前記待機系CPUユニットは、前記制御系CPUユニットに対して再起動を指示し、
     前記制御系CPUユニットは、前記多重化された増設ケーブルのうち別の増設ケーブルを通信路に設定する、
     冗長化システム。
  2.  前記制御系CPUユニットは、前記待機系CPUユニットが判定した増設ケーブルの異常判定結果に基づいて前記多重化された増設ケーブルの異常内容を確認する、
     請求項1に記載の冗長化システム。
  3.  前記制御系CPUユニットは、増設ケーブルの異常判定を行い、判定結果に基づいて前記多重化された増設ケーブルの異常内容を確認する、
     請求項1に記載の冗長化システム。
  4.  前記制御系CPUユニット及び前記待機系CPUユニットは、前記再起動の実行の有無及び実行のタイミングを設定する再起動設定テーブルを備え、前記再起動設定テーブルの設定に応じて前記制御系CPUユニットによる再起動の処理の実行、あるいは前記待機系CPUユニットによる再起動の指示の実行を制御する、
     請求項1から3のいずれか1項に記載の冗長化システム。
  5.  制御対象機器を制御する制御系CPUユニットと、
     前記制御対象機器を前記制御系CPUユニットに代わって制御可能な待機系CPUユニットと、
     前記制御系CPUユニット及び前記待機系CPUユニットと増設ケーブルを介して数珠つなぎに接続される複数の増設ベースユニットと、
     を備え、前記増設ベースユニット同士が多重化された増設ケーブルを介して接続される冗長化システムを制御する方法であって、
     前記制御系CPUユニットが前記多重化された増設ケーブルのうち使用されている増設ケーブルの通信異常の発生を検知した際に、前記制御系CPUユニットに代わって制御する前記待機系CPUユニットは、前記制御系CPUユニットに対して再起動を指示し、
     前記制御系CPUユニットは、前記多重化された増設ケーブルのうち別の増設ケーブルを通信路に設定する、
     制御方法。
  6.  制御対象機器を制御する制御系CPUユニットと、
     前記制御対象機器を前記制御系CPUユニットに代わって制御可能な待機系CPUユニットと、
     前記制御系CPUユニット及び前記待機系CPUユニットと増設ケーブルを介して数珠つなぎに接続される複数の増設ベースユニットと、
     を備え、前記複数の増設ベースユニットとの間を多重化された増設ケーブルを介して接続される冗長化システムを制御するプログラムであって、
     コンピュータに、
     前記制御系CPUユニットが前記多重化された増設ケーブルのうち使用している増設ケーブルの通信異常の発生を検知した際に、前記制御系CPUユニットに代わって制御する前記待機系CPUユニットは、前記制御系CPUユニットに対して再起動を指示し、
     前記制御系CPUユニットは、前記多重化された増設ケーブルのうち別の増設ケーブルを通信路に設定する、
     処理を実行させるプログラム。
PCT/JP2020/036388 2020-09-25 2020-09-25 冗長化システム、制御方法及びプログラム WO2022064654A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2020/036388 WO2022064654A1 (ja) 2020-09-25 2020-09-25 冗長化システム、制御方法及びプログラム
JP2021518802A JP6925570B1 (ja) 2020-09-25 2020-09-25 冗長化システム、制御方法及びプログラムセット

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2020/036388 WO2022064654A1 (ja) 2020-09-25 2020-09-25 冗長化システム、制御方法及びプログラム

Publications (1)

Publication Number Publication Date
WO2022064654A1 true WO2022064654A1 (ja) 2022-03-31

Family

ID=77364594

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/036388 WO2022064654A1 (ja) 2020-09-25 2020-09-25 冗長化システム、制御方法及びプログラム

Country Status (2)

Country Link
JP (1) JP6925570B1 (ja)
WO (1) WO2022064654A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06332825A (ja) * 1993-05-26 1994-12-02 Nec Corp 自動障害検出システム
JP2007164722A (ja) * 2005-12-16 2007-06-28 Mitsubishi Electric Corp Cpu二重化用ベースユニットおよびcpu二重化システム
JP2014170477A (ja) * 2013-03-05 2014-09-18 Mitsubishi Electric Corp 高可用性システム

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101250024B1 (ko) * 2011-09-21 2013-04-03 엘에스산전 주식회사 네트워크 시스템 및 네트워크 경로 설정방법

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06332825A (ja) * 1993-05-26 1994-12-02 Nec Corp 自動障害検出システム
JP2007164722A (ja) * 2005-12-16 2007-06-28 Mitsubishi Electric Corp Cpu二重化用ベースユニットおよびcpu二重化システム
JP2014170477A (ja) * 2013-03-05 2014-09-18 Mitsubishi Electric Corp 高可用性システム

Also Published As

Publication number Publication date
JPWO2022064654A1 (ja) 2022-03-31
JP6925570B1 (ja) 2021-08-25

Similar Documents

Publication Publication Date Title
JP3882783B2 (ja) プログラマブルコントローラ及びcpuユニット並びに通信ユニット及び通信ユニットの制御方法
CN111585835B (zh) 一种带外管理系统的控制方法、装置和存储介质
WO2022064654A1 (ja) 冗長化システム、制御方法及びプログラム
CN112737844A (zh) 冗余系统中主备切换的方法和装置
JP2003296133A (ja) コントローラ
JP2019214353A (ja) 通信装置及び制御方法
JP5176914B2 (ja) 伝送装置及び冗長構成部の系切替え方法
JP3738378B2 (ja) システム構成設定方法及び伝送装置
JP5299283B2 (ja) 情報処理装置及び情報処理システム並びにそれらの制御方法
JP2616503B2 (ja) アドレス設定装置
JP6833137B1 (ja) 増設ベースユニット、制御装置、制御システム及び制御方法
JP7211173B2 (ja) 通信制御装置、電子機器装置、通信制御方法、及び通信制御プログラム
JP5353273B2 (ja) プロセッサ周辺回路
JP3819177B2 (ja) バックアップメモリ構成方式および通信伝送システム
JP7306983B2 (ja) コントローラ及び施設監視システム
JP3006589B2 (ja) 動作監視ユニット
JP2977705B2 (ja) ネットワーク接続された多重化コンピュータシステムの制御方式
WO2024119777A1 (zh) 框式设备通信链路异常处理方法、框式设备及介质
JP2007026038A (ja) パス監視システム,パス監視方法,およびパス監視プログラム
JP2001256071A (ja) 冗長化システム
JP2591472B2 (ja) プロテクション制御回路
JP4935597B2 (ja) コンピュータ及び通信処理方法
JP4196047B2 (ja) 多重伝送システムの監視制御装置
JP2001268161A (ja) 伝送装置
JP3105025B2 (ja) 二重化制御装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2021518802

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20955248

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20955248

Country of ref document: EP

Kind code of ref document: A1